/*
Theme Name: Divi Child Theme
Theme URI: http://yourwebsite.com
Description: Child Theme For Divi
Author: Your Name
Author URI: http://yourwebsite.com
Version: 1.0.0
Template: Divi
*/

:root {
    --primary: #ed1c24;
    --secondary: #d3d3d3;
    --neutral: #222222;
    --neutral-dark: #141414;
    --body-color: #fff;
    --primary-font: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    --nav-font: 'Fjalla One', Helvetica, Arial, Lucida, sans-serif;
    --container-width: 1440px;
}

/* Single Product */
.inner {
    width: 80%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2% 0;
}

.angled-header-wrapper {
    width: 100%;
    height: 50px;
    border-bottom: 4px solid var(--primary);
    margin-top: 3%;
}

.angled-header-wrapper.left {
    background-image: linear-gradient(90deg, var(--primary) 50%, #000 50% 100%);
}

.angled-header-wrapper.right {
    background-image: linear-gradient(90deg,#000 50%,var(--primary) 50% 100%);
}

.angled-header-wrapper .inner {
    position: relative;
    background: var(--primary);
    padding: 12px 0 10px !important;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.angled-header-wrapper.left .inner {
    background-position: right top -4px;
}

.angled-header-wrapper.right .inner {
    background-position: left top -4px;
}

.angled-header-wrapper h2 {
    margin: 0;
    padding: 0;
    color: #fff;
}

.angled-header-wrapper.right h2 {
    text-align: right;
}

.angled-header-content-wrapper {
    width: 100%;
    background: var(--neutral);
    padding: 3% 0;
    margin-bottom: 3%;
}

.angled-header-content-wrapper .inner {
    display: grid;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(4, 1fr);
    padding: 2% 0 !important;
    gap: 5.5%;
}

.product-feature {
    position: relative;
    text-align: center;
}

.product-feature h3 {
    font-size: 18px;
}

.product-feature p {
    line-height: 1.4;
}

.product-feature img {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding-bottom: 1rem;
}

/* Woo Category text listing */
.cat-listing {
    display: flex;
    flex-direction: column;
}

.cat-listing a:hover, .cat-listing span:hover {
    color: var(--secondary) !important;
}

.cat-listing .product-name {
    color: var(--body-color);
}

/* custom header */
#main-header {
    background: #000;
    width: 100%;
}
#main-header .container {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 10px 0;
}
#swaphogg-header {
    display: flex;
}
.et_header_style_left .logo_container {
    position: relative;
}
#header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}
#et-secondary-nav, #et-secondary-menu {
    display: flex !important;
    flex-wrap: wrap;
}
#et-secondary-nav .menu-item {
    background: var(--primary);
    padding: 10px 20px;
    margin-bottom: 10px;
}
#et-secondary-nav .menu-item:hover {
    opacity: 0.9;
}
#et-secondary-nav .menu-item a, a.menu-item {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
}
a.menu-item:hover, a.current-menu-item {
    color: var(--primary);
}
#header-cta-container, #main-nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
#top-menu-nav {
    padding: 15px 0;
}

#et-secondary-menu .et-cart-info {
	display: none !important;
}

#et-info {
	float: right;
	padding-top: 10px;
}

#et-info-phone {
	margin-left: 13px;
	margin-right: 0;
}

.et_mobile_menu {
	background-color: #222222 !important;
}

.et_mobile_menu li a {
	font-family: var(--nav-font);
	text-transform: uppercase;
}
	
.et_header_style_left .logo_container {
    height: 95px;
    width: 250px;
	padding-bottom: 10px;
}

.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container {
	padding-top: 0;
}

#et_top_search {
    padding-bottom: 15px;
}

form.et-search-form {
    margin-top: 57px;
    background: #000 !important;
    height: 60px;

}
span.et_close_search_field {
    top: 30px;
}
.mobile_menu_bar {
    display: none;
}
.hidden {
    display: none;
}

/* Media Queries */
@media (max-width: 1140px) {
    #et_mobile_nav_menu {
        display: block;
    }
    #et_mobile_nav_menu .mobile_nav {
        display: flex;
        align-items: center; 
        margin-left: 20px;
    }
    #top-menu-nav {
        display: none;
    }
    #swaphogg-header {
        flex-direction: column;
    }
    #header-cta-container {
        justify-content: center;
    }
    #header-right {
        flex-direction: row;
        justify-content: space-between;
    }
    #header-cta-container, #main-nav-container {
        width: auto;
    }
    #main-nav-container {
        align-items: flex-start;
    }
    .mobile_nav.closed .et_mobile_menu,
    .mobile_nav.opened .et_mobile_menu {
        transition: all 1s ease-in-out;
    }
    .mobile_nav.closed .et_mobile_menu {
        height: 0;
        opacity: 0
    }
    .mobile_nav.opened .et_mobile_menu {
        height: auto;
        opacity: 1;
        position: absolute;
        top: 168px;
    }
    .et_header_style_left .logo_container, 
    .et_header_style_left .logo_container img {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .et_header_style_left #logo {
       max-width: 80%; 
    }
    .et_header_style_left .et-search-form {
        width: 100% !important;
        max-width: 100% !important;
    }
    form.et-search-form {
        margin-top: 150px;
    }
    .et_search_outer {
        right: 0 !important;
    }
    span.et_close_search_field {
        top: 150px;
    }
    #logo {
        max-height: 95%;
    }
    
    #et_top_search {
        margin: 10px 0 0;
        padding-bottom: 0;
    }
    
    #et-secondary-nav .menu-item {
        padding: 10px;
    }
    .mobile_menu_bar {
        display: block;
        margin-left: 15px;
    }
    #et-secondary-nav, #et-secondary-menu {
        display: flex !important;
    }
}
@media (max-width: 980px) {
    .angled-header-content-wrapper .inner {
        grid-template-columns: repeat(2, 1fr);
    }
    #et_search_icon:before {
        top: -3px;
    }
}

@media (max-width: 767px) {
    #et-info-phone {
        display: none;
    }
    #header-right {
        flex-direction: column;
        justify-content: center;
    }
    .mobile_nav.opened .et_mobile_menu {
        top: 200px;
    }
    .angled-header-wrapper {
        height: max-content;
    }

    .angled-header-wrapper.left .inner {
        background-position: right top 0;
    }

    .angled-header-wrapper.right .inner {
        background-position: left top 0;
    }

    .angled-header-wrapper h2 {
        font-size: 18px;
    }

    .angled-header-content-wrapper .inner {
        grid-template-columns: 1fr;
    }

}

