/*
Theme Name:   	Storefront Child Theme
Author:       	Devotees
Author URI:     http://devotees.nl
Template:     	storefront
Description:  	Custom additions to the Storefront theme
Version:      	1.0.0
Text Domain:  	storefront
*/
/*
 * Add your own custom css below this text.
 */


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.storefront-primary-navigation {
    background:#c7dfb1;
}

.storefront-primary-navigation > .col-full {
   display: flex;
   padding: 0 .5rem;
   width: 100%;
}

.main-navigation {
    width: 100% !important;
    float: none !important;
}

.main-navigation .menu {
   width: 100%;
}

.main-navigation .menu ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.main-navigation li {
   position: initial !important;
    width: auto;
}

.storefront-primary-navigation a {
    color: black !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    display: block;
    transition: color .25s;
}

.storefront-primary-navigation a:hover,
.current-menu-item a {
    color:#862726 !important;
}

.storefront-primary-navigation .sub-menu {
        background:#c7dfb1 !important;
}

.storefront-primary-navigation li a:not(.dev_megamenu a) {
    padding: .5em .75em !important;
}

/* .storefront-primary-navigation .col-full {
    position: relative;
} */

.site-header {
    border-bottom:  0 !important;
}

.woocommerce-active .site-header .site-header-cart {
    position: relative;
}

.woocommerce-active .site-header .site-header-cart * {
    font-family: "Source Sans Pro","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif !important;
    font-weight: 400 !important; 
}

.site-header-cart .widget_shopping_cart, .site-header .product_list_widget li .quantity,
.storefront-primary-navigation .product_list_widget li * {
   color: black !important;
}

.storefront-primary-navigation .product_list_widget li a {
    padding: 0 1.5rem !important;
}

.storefront-primary-navigation .product_list_widget li a.remove,
.storefront-primary-navigation .product_list_widget li a.quantity {
    padding: 0 !important;
}

.site-header-cart .widget_shopping_cart {
    background: white;
    border: 0;
}

.site-header-cart .widget_shopping_cart .buttons, .site-header-cart .widget_shopping_cart .total {
    background: white;
}

.site-header-cart .widget_shopping_cart .buttons, .site-header-cart .widget_shopping_cart .total {
    color: black;
}

.woocommerce-active .site-header .site-header-cart {
    width: 30%;
}

.site-header-cart .cart-contents .count {
    margin-right:.5em;
}

.products:not(.related) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 2em;
}

.products::before {
    display: none !important;
}

.products::after {
    content: "";
    width: calc((100% - 2em) / 3) !important;
    display: flex;
}

.products .product .percentagesale {
    position: absolute;
    top: 2rem;
    left: 0;
    display: inline-block;
    background: #862726;
    color: white;
    padding: .25em .75em;
}


.products .product {
    float: none !important;
    width: calc((100% - 4em) / 3) !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    margin-bottom: 2em !important; 
    
    
    border: 1px solid rgba(71, 31, 79, .2);
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(72, 31, 79, .2);
    background-color: #fff;

}



.products .product .woocommerce-loop-product__link {
    /* max-height: 25em !important; */
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}

.product .woocommerce-loop-product__title {
    margin-bottom: auto;
    padding: 0 .5rem;
}

.product .price {
    padding: 0 .5rem;
}

.custom-category-banner {
    margin-bottom: 2em;
}


.products .product img {
    width: calc(100% - 2rem) !important;
    max-height: 18em !important;
    height: 100% !important;
    display: block;
    margin: 1rem !important;
    object-fit: contain;
    padding: 1rem;
    margin-bottom: 1em !important;
    border-radius: 10px !important;
    border: 1px solid rgba(71,31,79,.2) !important;
}

.products .product .onsale {
    margin: auto;
    width: calc(100% - 2rem);
}

.products .product .button {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

.dev_megamenu {
    position: absolute;
    height: auto;
    z-index: 99999;
    background: white;
    box-sizing: border-box;
    width: 100%;
    right: 0;
    display: none;
    box-shadow: 1px 10px 10px 0px rgba(0,0,0,.15);
}

.dev_megamenu .flexcontainer {
    display: flex;
    margin-left: -.25em;
    position: relative;
    box-sizing: border-box;
}

.variations select#pa_kleur {
    display: none;
}

.dev_subitem .devsublink:not(.dev_submenu a) {
    padding: 1em 0 !important;
    padding-right: 4em !important;
    box-sizing: border-box;
    white-space: nowrap;
    position: relative;
    transition: background .25s, color .25s;
    background: white;
    color: black;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    display: block;
    width: 100%;
    cursor: pointer;
}

.dev_subitem .devsublink:not(.dev_submenu a):first-of-type {
    padding-top: 3rem !important;
}

.dev_subitem .devsublink:not(.dev_submenu a).active {
    background: #F8F8F8;
}

.dev_subitem .devsublink:not(.dev_submenu a)::after {
    content: '';
    position: absolute;
    left: -100vw;
    right: 100%;
    top: 0;
    bottom: 0;
    background: white;
    transition: background .25s;
}

.dev_subitem .devsublink:not(.dev_submenu a).active::after,
.dev_subitem .devsublink:not(.dev_submenu a):hover::after,
.dev_subitem .devsublink:not(.dev_submenu a).active,
.dev_subitem .devsublink:not(.dev_submenu a):hover {
    background: #F8F8F8;
}

.dev_submenu {
    color: black;
    background: #F8F8F8;
    padding: 3em;
    width: 100%;
}

.dev_submenu::after {
    content: '';
    position: absolute;
    right: -100vw;
    left: 100%;
    top: 0;
    bottom: 0;
    background: #F8F8F8;
    transition: background .25s;
}

.dev_mm_subhold {
    display: flex;
    flex-wrap: wrap;
}

.dev_mm_col {
    width: calc(100% / 3);
    padding-right: 4em;
    box-sizing: border-box;
}

.dev_mm_block {
    display: flex;
    flex-direction: column;
    width: calc(100% / 3);
    padding-bottom: 2em;
    padding-right: 2em;
}

.dev_mm_block a {
    padding: 0 !important;
}

.dev_mm_block a:not(.toplvl) {
    font-family: "Source Sans Pro","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif !important;
    font-weight: 400 !important; 
}

a.toplvl {
    font-weight: 700;
    color: #a81727 !important;  
    font-family: "Source Sans Pro","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    margin-bottom: .5em;
}


.kleur-image-options {
    display: flex;
    gap: 6px;
    margin-bottom: 1em;
    margin-left: 6px;
    flex-wrap: wrap;
}
.kleur-swatch {
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.kleur-swatch-inner {
    overflow: hidden;
    border-radius: 100%;
    border: 4px solid transparent;
    border-radius: 100%;
    width: 4em;
    height: 4em;
    transition: transform .25s;
}

.kleur-swatch:hover .kleur-swatch-inner {
    transform: scale(1.25);
}

.kleur-swatch.selected .kleur-swatch-inner {
    outline: 2px solid #a88525;
}

.kleur-tooltip {
    visibility: hidden;
    opacity: 0;
    white-space: nowrap;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 4px 8px;
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.2s;
    font-size: 1em;
    pointer-events: none;
    z-index: 10;
}
.kleur-swatch:hover .kleur-tooltip {
    visibility: visible;
    opacity: 1;
}


.kleur-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-template-template-acf #masthead,
.page-template-template-content #masthead {
    margin-bottom: 0 !important;
}

.dev-content-wrap {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.dev-bgimg {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center top;
    position: absolute;
    z-index: 0;
}

.dev-content-inner {
    z-index: 1;
    position: relative;
    background: white;
    padding: 5rem 10em;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 4rem;
}

.dev-content-inner:not(.uspsection):has(+ .dev-content-inner.uspsection) {
    margin-bottom: 1rem !important;
}

.page-template-template-acf .storefront-breadcrumb {
    margin-bottom: 0rem !important;
}

.nopadd {
    padding: 0 !important;
}

.uspsection {
    padding: 0 !important;
    display: flex;
    background: none;
    color: #28421C;
    justify-content: center;
    margin-bottom: 1rem;
}

.uspsection div {
    text-align: center;
    margin: 1rem;
    font-style: italic;
}

.uspsection div svg {
    height: 1.5rem;
    vertical-align: middle;
    margin-right: .5rem;
}

.catssection {
    background: none;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.catssection::after,
.catssection::before {
    display: none !important;
}

.term-box {
    background: white;
    display: flex;
    width: calc((100% - 3rem) / 4);
    height: auto;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem;
    box-sizing: border-box;
    font-size: 1.1rem;
    color: #28421C !important;
    text-decoration: none !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-align: center;
    
        
    border: 1px solid rgba(71, 31, 79, .2);
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(72, 31, 79, .2);
    background-color: #fff;

}

.term-box .imghold {
    height: 13rem;
    width: 100%;
    display: flex;
    margin-bottom: 1rem;
    margin-bottom: 1em !important;
    border-radius: 10px !important;
    border: 1px solid rgba(71,31,79,.2) !important;

}

.term-box .imghold img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.term-box:hover {
    color: #CCB45F !important;
}

.dev-content-inner-section:last-child {
    margin-top: 0;
}

.dev-content-inner h1 {
    margin-top: -8rem;
    font-size: clamp(2rem, 6.4vw, 5rem);
    color: #CCB45F;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-wrap: balance;

}

.dev-content-inner h1 span {
    display: block;
}

.dev-content-inner h2 {
    margin: 4rem 0;
    font-size: clamp(1.5rem, 6.4vw, 3rem);
    font-weight: 400;
    color: #862726;
}


.dev-content-inner h3 {
    margin: 4rem 0;
    font-size: clamp(1.25rem, 6.4vw, 2rem);
    font-weight: 400;
    text-align: center;
    color: #862726;
}

.dev-content-inner a:not(.button, .wp-block-button__link, a.woocommerce-loop-product__link) {
    color: #862726;
    font-weight: bold;
    text-decoration: underline;
    transition: color .25s;
}

.dev-content-inner a:hover {
    color: #CCB45F;
}

.dev-content-inner a.wp-block-button__link {
    border-radius: 0;
}

.dev-content-inner .wp-block-quote {
    padding: 0;
    border: 0;
    font-style: italic;
    font-weight: bold;
    font-size: 1.25rem;
    color:#28421C;
    margin-bottom: 3rem;
}


.dev-content-inner .wp-block-image {
    margin: 4rem 0;
}


.slogan {
    width: 30%;
    height: auto;
    margin: 4em auto 7em auto;
    z-index: 1;
}


table td, table th {
    padding: .25em .5em !important;
}

table.cart td.actions {
    padding: 0 !important;
}

.footer-widgets {
   padding: 1rem 0;
}

.widget {
   margin: 0;
}

.widget .widget-title {
    padding: .5em 0;
    margin-bottom: .5em;
}

.widget_product_categories ul li:not(ul li ul li) {
    padding: 0;
}

.widget_product_categories ul {
    margin-top: .25em !important;
}

.widget_product_categories ul li {
    margin-bottom: .25em;
}

.widget-area .widget a {
    text-decoration: none !important;
    font-weight: 400 !important;
    color: #862726;
}

.widget_product_categories ul li::before { 
    display: none !important;
}


.productssection {
    padding: 2rem 0;
    text-align: center;
}

.productssection h2:not(.woocommerce-loop-product__title) {
    font-size: 2rem !important;
    font-weight: bold;
    margin: 1rem 0;
    margin-bottom: 2rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.page-template-template-acf h2.woocommerce-loop-product__title {
    margin-top: 1rem;
}

.popsection .products,
.productssection .products {
    padding-bottom: 0;
}

.productssection .products .product {
    width: calc((100% - 6rem) / 4) !important;
    margin-bottom: 0 !important;
    justify-content: flex-end;
}

.productssection .products .product .button {
    margin-top: 1rem !important;
}

.morenew {
    margin-top: 2rem;
    display: inline-block;
    text-decoration: none !important;
}

.morenew svg {
    height: 1.25rem;
    width: auto;
    margin-left: .5rem;
    position: relative;
    top:.2rem;
}

.popsection .flexcontainer {
    width: 100%;
    display: flex;
}

.popsection .flex50 {
    width: 50%;
    padding: 2rem;
    padding-left: 0;
}

.popsection .flex50.popcontent {
    padding-left: 2rem;
}

.popcontent {
    background: #28421C;
    color: white;
    font-size: italic;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.popsection h2:not(.woocommerce-loop-product__title) {
    font-size: 2rem !important;
    color: #862726;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 2rem;
}

.popcontent h2 {
    color: #CCB45F !important;
}

.productssection .button:hover,
.popsection .button:hover {
    color: white !important;
}

.popsection .products .product {
    width: calc((100% - 2rem) / 2) !important;
    margin-bottom: 0 !important;
    justify-content: flex-end;
}

.popsection .products .product .button {
    margin-top: 1rem !important;
}

.site-info {
    padding: 1rem  0 !important;
}

.site-footer {
    padding-bottom: 0 !important;
}

nav.woocommerce-pagination:not(.storefront-sorting .woocommerce-pagination)  {
    display: none !important;
}

.summary .posted_in {
    display: none !important;
}


.single-product .content-area {
    width: 100% !important;
}

.single-product .widget-area#secondary {
    display: none !important;
}

.secondary-navigation ul.menu a svg {
    height: 1.5rem;
    fill:white;
    margin-right:.5rem;
    display: inline-block;
    position: relative;
    top:.4rem;
}

.site-header-cart .cart-contents::after { 
    position: relative !important; 
    top:-.2em !important;
    font-size: 1.5rem !important;
}

.site-header .site-branding  {
   height: 1.25rem;
   width: auto;
}

.custom-logo-link {
   height: 100%;
   width: auto;
}

.site-header .site-branding img {
   height: 100% !important; 
   max-width: none !important;
   width: auto !important;
}

.secondary-navigation .menu a {
   position: relative;
   top:-.4rem;
}


@media (min-width: 1064px) {
   
    .storefront-secondary-navigation.woocommerce-active .site-header .site-branding {
        width: 50%;
        margin-right: 0;
        padding-right: 2rem;
        margin-bottom: 0;
    }
    
    .storefront-secondary-navigation.woocommerce-active .site-header .secondary-navigation {
    width: 30%;
    padding-right: 2rem; 
    margin-right: 0;
    margin-bottom: 0;
    }
    
    .site-header .site-search {
        width: 20%;
        margin-bottom: 0;
    }
    
    #masthead.site-header {
        padding: 0;
    }
    
    #masthead .col-full:not(.storefront-primary-navigation .col-full) {
        display: flex;
        align-items: center;
        padding: 0;
    }

    
}

@media (max-width: 1064px) {
   
      
   .site-search input {
      font-size: 16px !important;
   }

 .storefront-primary-navigation > .col-full {
    display: block;
    position: absolute;
    width: calc(100% - 3rem);
    right: .5rem;
    left: .5rem
 }
    
    header .site-search,
    .site-header-cart,
    .secondary-navigation {
        display: none !important;
    }
    
    .menu-toggle {
        display: block;
    }

    .main-navigation .primary-navigation {
       position: relative;
       width: 100%;
    }
    
    .main-navigation {
       position: relative;
    }
    
    
    #masthead .col-full:not(.storefront-primary-navigation .col-full) {
        display: block;
        padding: 0;
    }
    
    .storefront-secondary-navigation.woocommerce-active .site-header .site-branding {
        width: 60%;
        padding-right: 0;
        height: auto;
        margin-top: .4rem;
        float: none;
    }
    
    .site-header .site-branding img {
         max-width: none;
         width: 100% !important;
         height: auto !important;
     }
    
    button.menu-toggle {
        margin-top: -2.25rem;
    }
    
    .storefront-primary-navigation {
        background:#a81727;
    }
    
    .slogan {
        width: 90%;
        margin: 3em auto;
    }
    
    .dev-content-inner {
        padding: 5em 2em;
        width: auto;
    }

    .dev-content-inner h1 {
        font-size: 2.25rem;
        margin-top: -6.5rem;
    }
    
    .dev-content-inner h3,
    .dev-content-inner h2 {
        font-size: 1.5rem;
        text-align: left;
    }
    
    .dev-content-inner.productssection { 
        padding: 1rem !important;
    }
    
    .productssection .products .product {
        width: calc((100% - 2rem) / 2) !important;
    }
    
    .popsection .flexcontainer,
    .uspsection {
        flex-direction: column;
    }
    
    .term-box {
        width: calc((100% - 1rem) / 2);
    }
    
    .popsection .flex50 {
        width: 100%;
        padding: 1rem;
    }
    
    .popcontent {
        padding-top: 2rem !important;
    }

    .popsection .flex50:nth-of-type(odd){
        order: 1;
    }

    .popsection .flex50:nth-of-type(even){
        order: 0;
    }
    
    
    .primary-navigation {
        position: relative;
        top:0;
        left: 0;
        right: 0;
        display: none;
        background: #c7dfb1;
        padding: 1rem;
        z-index: 100;
        width: 100%;
    }
    
    .main-navigation.toggled .primary-navigation {
        display: flex;
    }
    
    .handheld-navigation {
        display: none !important;
    }
    
    .products .product {
        width: calc((100% - 2em) / 2) !important;
        margin-bottom: 2em !important; 
    }


    .storefront-primary-navigation li a:not(.dev_megamenu a){
        padding-left: 0;
    }
    
    .dev_megamenu {
        position: relative !important;
        z-index: 105;
    }
    
   .dev_subitem .devsublink:not(.dev_submenu a):first-of-type {
        padding-top: 1rem !important;
    }
    
    .dev_subitem .devsublink:not(.dev_submenu a):hover .dev_submenu {
        display: block;
    }
    
    .dev_megamenu .col-full {
        margin: 1rem 0 !important;
    }
    
    .dev_megamenu .flexcontainer {
        flex-direction: column;
        margin-left: 0;
    }
    
    .dev_submenu {
        padding: 0 1rem;
    }
    
    .dev_subitem a {
        padding: 0 1rem !important;
    }
    
    .dev_mm_block {
        position: relative !important;
        width: 50%;
        left: auto !important;
        top: auto !important;
        padding-bottom: .5rem;
        padding-right: .5rem; 
    }
    
    .dev_mm_subhold {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        padding: 0 !important;
        height: auto !important;
        padding-top: 1rem !important;
    }
    
    .dev_subitem .devsublink:not(.dev_submenu a) {
        padding: 1rem !important;
    }
    
    .dev_submenu a.toplvl {
        margin-bottom: 0 !important;
        margin-top: .75rem !important;
    }
    
}

a:focus, input:focus, textarea:focus, button:focus {
    outline: 0 !important;
}
