/*
 Theme Name:   markantshop.nl
 Theme URI:    https://markantshop.nl
 Description:  Kodea child theme 
 Author:       Kodea
 Author URI:   https://markantshop.nl
 Template:     kodea-shop
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  pvcvloeren
*/

:root {
    --font-primary: 'Lato', sans-serif !important;
    --font-secondary: 'Roboto', sans-serif !important;
    --text-color: #4e4e4e;
    --color-nav-primary:  var(--color-text-color);
    --color-secondary-dark: #181818;
}

body {
    font-family: var(--font-secondary);
    font-weight: 300;
}



@media screen and (max-width: 992px) {
    .header__logo-col {
        order: 1;
    }

    .header__search-col {
        order:3;
    }
    
    .header__actions {
        order: 2;
    }
    
}


.offcanvas-user-points,
.header-user-points {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff; /* past bij de witte iconen */
    background: #D74038;
    padding: .5rem .75rem;
    margin-left: 0.75rem;
    border-radius: 30px;
}

@media screen and (max-width: 992px) {
    .header-user-points {
        display: none;
        visibility: hidden;
    }
}

.offcanvas-user-points .points-label,
.header-user-points .points-label {
    letter-spacing: 0.02em;
}

.offcanvas-user-points .points-count,
.header-user-points .points-count {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 0.15rem 0.5rem;
    color: #fff;
    font-weight: 600;
}

.points-chip__icon i,
.offcanvas-points-chip__icon i {
    font-size: 1.25rem; /* adjust as needed */
    line-height: 1;
    margin-right: 0.4rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: bold;
    font-style: normal;
}

.section__title {
    position: relative;
    font-weight: bold;
    text-align: left !important;
    color: var(--text-color) !important;
    padding-bottom: 30px;
}

.section__title::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
    bottom: 0;
    left: 0;
    backface-visibility: hidden;
}


.copyright {
    background-color: #fff !important;
    color: var(--text-color) !important;
}

/**
 * HOVERS 
 */ 
.navigation__cta:hover {
    background-color: #292929 !important;
}

.cart_totals .cart-subtotal td {
    text-align: right !important;
}

@media screen and ( min-width: 992px ) {
    .navigation {
        border-bottom: 1px solid #efefef;
    }
}

.widget_price_filter .ui-slider .ui-slider-handle,
.widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--color-secondary) !important;
}

.li.product h3, 
li.product .woocommerce-loop-product__title, 
li.product .woocommerce-loop-category__title {
    min-height: 61px;
}


/** 
 * SHOP PAGE
 */
.products.columns-4 {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-inline: -1rem;
}

@media screen and ( max-width: 768px ) {
    .products.columns-4 {
        flex-direction: column;
        margin-inline: 0;
    }
}

.wc-img-wrapper {
    position: relative;
    overflow: hidden;
}

.products img {
    width: 100%;
    overflow: hidden;
}

.products .wc-img-wrapper {
    width: 100%;
}

li.product a .wc-img-wrapper {
    aspect-ratio: 1/1;
    overflow: hidden;
}

li.product a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    max-height: initial;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
}

@media screen and (max-width: 768px) {
    .woocommerce ul.products[class*='columns-'] li.product, .woocommerce-page ul.products[class*='columns-'] li.product {
        margin: 0 !important;
        float: none !important;
        width: 100% !important;
    }
}

.top-bar li {
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

/**
 * Footer 
 */ 
.footer {
    background: #292929 !important;
}

.sidebar {
    padding-top: 0 !important;
}

/**
 * Styling the cart 
 */ 
.cart-collaterals {
    border: 1px solid #efefef;
}

body.woocommerce-cart, 
body.woocommerce-checkout, 
.woocommerce-checkout {
    background: #fff !important;
}

.form-checkout-wrapper {
    padding: 0 !important;
}

.process__steps {
    display: none;
    visibility: hidden;
    margin: 0 !important;
    height: 0 !important;
}

.cart-list__item  {
    border: 1px solid #efefef;
}

.cart-list__item + .cart-list__item {
    margin-top: 20px;
    margin-bottom: 20px;
}

.payment-logos {
    display: none;
    visibility: hidden;
}

.products .price {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #EA3A3A;
    color: #fff !important;
    border-radius: 15px;
    padding: .2rem .4rem
}

/**
 * Main product container 
 */ 
.products__grid {
    margin-top: 16px;
}

.mainproduct {
    display: block;
}


.mainproduct:hover  {
    text-decoration: none !important;
}

.mainproduct__container {
    border-radius: 15px;
    overflow: hidden;
}

.mainproduct__price {
    font-size: 18px !important;
    color: #fff;
    margin-bottom: 0 !important;
}

@media screen and ( max-width: 768px ) {
    .mainproduct__image:before {
        opacity: .75 !important;
        transform: rotate(90deg);
    }
}



/**
 * Detail page 
 */  
.summary .product_title {
    margin-bottom:  0 !important;
}
 
.summary .price {
    margin-top: 0 !important;
    font-size: 18px !important;
    color: var(--color-primary) !important;
}

/**
 * Kod Product Gallery 
 */  
.kod-product-gallery {
    position: relative;
    aspect-ratio: 1/1;
    margin-bottom: 2rem;
}

.kod-product-gallery__image img {
    position: absolute;
    object-fit: cover;
    width: 100%;  
    height: 100%;
}

.kod-product-gallery .swiper-button-next,
.kod-product-gallery .swiper-button-prev {
    color: #fff;
    background-color:var(--color-primary);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    --swiper-navigation-size: 18px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.kod-product-gallery .swiper-button-next:hover,
.kod-product-gallery .swiper-button-prev:hover {
    background-color: var(--color-primary);
}


/**
 * Style shipping 
 */ 
 .woocommerce-shipping-methods ul {
    margin-left: 16px !important;
 }
 
.woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.woocommerce-shipping-methods li label {
    line-height: 1;
}
