
.product-page {
    display: flex;
    flex-direction: column;
    gap: 150px;
    justify-content: center;
    align-items: center;
}

.screen-reader-text {
    display:none!important;
}

.footer-cta-button {
    display: none;
}


/* ===== PRODUCT LAYOUT ===== */


.product-main {
    align-self: center;
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: var(--GridGap1);
    padding: 0px var(--PaddingSmall);
    max-width: 1840px;
    justify-content: center;
    scroll-margin-top: 150px;
    align-items: flex-start;
}

.left-section {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--PaddingSmall);
    justify-content: space-between;
    

    position: sticky;
    top: var(--PaddingSmall);
}

.left-section .mobile {
    display: none;
}

.right-section {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--PaddingSmall);
    justify-content: space-between;
}

.right-section h1 {
    margin: 0;
}

.product-notice {
    color: #10C316;
}


@media (max-width: 600px) {

    .product-main {
        grid-template-columns: 1fr;
    }

    .left-section {
        position: unset;
        top: unset;
    }

    .left-section .mobile {
        display: block;
    }

    .right-section {
        width: 100%;
        box-sizing: border-box;
        padding: 0px var(--PaddingSmall);

    }



    .product-main .product-price {
        display: none;
    }

    .product-main {
        flex-direction: column;
    }

    .product-accordions {
        margin-top: -50px;

    }


}

/* ===== GALLERY ===== */

/* Gallery wrapper */
.woocommerce-product-gallery {
    width: 100%;
    box-sizing: border-box;
    gap: var(--GridGap2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

a.woocommerce-product-gallery__trigger {
    display: none;
}


/* Main image container */
.woocommerce-product-gallery__image {
    width: 100%;

}

.flex-viewport {
    aspect-ratio: 1.5 / 1;
    border-radius: 10px;
    max-height: 80vh;

}


/* Main image zelf */
.woocommerce-product-gallery__image img {
    width: 100%;
    object-fit: cover;
    display: block;
    height: 100%;
    aspect-ratio: 1.5 / 1;

    border-radius: 10px;

}

.zoomImg{
    border-radius: 10px;

}

.woocommerce-product-gallery__image img:not(.zoomImg) {

}


/* thumbnails */
ol.flex-control-nav.flex-control-thumbs {
    position: relative;
    display: flex;
    gap: var(--GridGap2);
    overflow-x: auto;
    max-width: 100%;

}


ol.flex-control-nav {
    list-style: none;
    counter-reset: none;
    padding-left: 0;
    margin-left: 0;

}

.flex-control-nav img {
    border-radius: 5px;
    height: 80px;
    width: 120px;
    object-fit: cover;

}

img.flex-active {
    border: 1px solid black;
    box-sizing: border-box;
}

@media (max-width: 600px) {

    .woocommerce-product-gallery {
        width: 100vw;
    }

    .woocommerce-product-gallery__image img {
        border-radius: 0px;

    }

    ol.flex-control-nav.flex-control-thumbs {
    padding-left: var(--GridGap2);
    margin: 0;
    }

    .flex-control-nav img {
        width: 60px;
        height: 40px;
    }

    .flex-viewport {
        aspect-ratio: unset;
        height: unset !important;
        min-height: unset;
        border-radius: 0;

    }
}


/*== PRODUCT TITLE --*/


@media (max-width: 600px) {


    .product-title {
        margin: 6px 0px;
    }


}

/* ===== ATTRIBUTES ===== */


.variations select {
    display: none;
}

.label label {
    font-weight: normal;
}

.custom-variation-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}


.custom-variation-button {
    display: flex;
    padding: 0 5px;
    justify-content: center;
    align-items: center;
    gap: 0px;
    flex-shrink: 0;
    border-radius: 5px;
    border: 1px solid #000;
    background: var(--Off-White, #FAF9F6);
    box-sizing: border-box;
    font-weight: 500;
}

.custom-variation-button:hover {
    cursor: pointer;
}

.custom-variation-button--color {
    justify-content: flex-start;
    padding-left: 0;
}


.custom-variation-button.active {

    border: 3px solid #000;
    font-weight: 600;
    box-sizing: border-box;

}

span.color-square {
    border-radius: 5px;
    border: 1px solid black;
    margin-left: -1px;
}

.variations tr {
    display: block;
    margin-bottom: 16px;
}

.variations th.label,
.variations td.value {
    display: block;
    width: 100%;
}

.variations th.label {
    margin-bottom: 8px;
    padding-bottom: 0;
    text-align: start;
}

table.variations {
    width: 100%;
}

button {

}


@media (max-width: 768px) {
    .custom-variation-buttons {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        width: 100%;
    }

    .custom-variation-button {
        font-size: 12px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        
    }

    .custom-variation-button.active {
        border: 2px solid #000;
    }

}

/*===== UPSELL ======*/



/*===== guarantees =====*/




/* ===== PRICE / CART ===== */

.quantity {
    margin: var(--GridGap2) 0;
}

.product-price {
    font-size: 32px;
}

p.stock.in-stock, a.reset_variations {
    display: none!important;    
}

p.stock.out-of-stock {
    text-align: center;
    padding: 15px;
    font-size: 20px;
    font-weight: 500;
    color: #FFF;
    background-color: var(--wc-red);
}

.pi-edd-product, .pi-edd-ajax {
    background: none;
    border: none;
    padding:0;
    text-align: left;
}

.pi-edd-product::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/img/shipping.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}


@media (max-width: 768px) {

    .right-section span.woocommerce-Price-amount.amount {
        font-size: 16px;
        font-style: normal;
        font-weight: 300;
        line-height: 38px;
    }
}

.price {
    margin: 15px 0;
}


.single_add_to_cart_button {
    width: 100%;
    height: 54px;
    background: #e73427;
    color: #fff;
    font-size: 20px;
    border-radius: 5px;
    border: none;
    font-family: 'SpaceGrotesk';
    font-weight: 500;
}



/*==== STICKY ADD TO CART ====*/

.sticky-trigger {
    height: 1px;
}

.sticky-add-to-cart .pi-edd-product {
    display:none;
}

.sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 999;
    box-sizing: border-box;
}

.sticky-add-to-cart.active {
    transform: translateY(0);
}

.sticky-left img.sticky-product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.sticky-middle {
    flex: 1;
    padding: 0 10px;
    font-weight: bold;
    font-size: 1rem;
}

.sticky-right button,
.sticky-right .single_add_to_cart_button {
    background: var(--Red);
    color: #fff;
    border: none;
    padding: 10px 16px !important;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'SpaceGrotesk';
    height: auto;
}

.sticky-add-to-cart .quantity {
    display: none;
}

.sticky-add-to-cart form.cart {
    display: flex;
    gap: 4px;
    align-items: center;
}

.sticky-add-to-cart .input-text {
    max-width: 20px;
}

body.sidecart-open .sticky-add-to-cart,
body.no-scroll .sticky-add-to-cart {
    opacity: 0 !important;
    transform: translateY(100%) !important;
    pointer-events: none;
}


/*==== recommended-products =====*/

.recommended-products {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;

}

.recommended-products-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
}


.recommended-products article {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 16px;
    padding: 9px;
    border-radius: 10px;
    border: 1px solid #000;
    background: var(--Off-White, #FAF9F6);
}

.recommended-products article .right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;


}

.recommended-products article .right a {
    max-height: 34px;
}


.recommended-products article img {
    width: 40%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 10px -2.5px rgba(0, 0, 0, 0.25);
}

.recommended-products .button-small {
    width: auto;
    white-space: nowrap;
}

.recommended-products article h4 {
    color: var(--Red, #E73427);


}


.recommended-products article p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}


/* ===== FAQ / ACCORDIONS ===== */

.product-toggles {
    display: flex;
    flex-direction: column;
    gap: 0;
    /*padding: 0px 20px;*/
    align-self: center;
    width: 100%;
    box-sizing: border-box;
}

.product-toggles .toggle {
    border-bottom: 1px solid var(--Beige, #ccc);
    margin-top: 38px;
    cursor: pointer;
}

.product-toggles h4 {
    margin: 0;
}

.product-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    padding: 3px 0;
}

.product-item.active .product-answer {
    max-height: fit-content; 
    opacity: 1;
    padding: 32px 0;
    transition: max-height 0.3s ease, opacity 0.5s ease;
}

.product-toggles .arrow {
    transition: transform 0.6s ease;
    height: 1.5rem;
    width: 1.3rem;
    align-self: start;
}

.product-item.active .arrow {
    transform: rotate(-180deg);
}


.toggle.faq-item {
    border-bottom: 1px solid var(--Beige, gray);
    margin-top: 16px;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    padding: 0.5rem 30px;
}

.toggle.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.arrow {
    transition: transform 0.6s ease;
    height: 1.5rem;
    width: 1.3rem;
    align-self: start;
}

.toggle.active .arrow {
    transform: rotate(-180deg);
}


.woocommerce-product-attributes-item__label {
    text-align: left;
    padding-right: 30px;
}

  .whats-included-container {
                                    display: flex;
                                    flex-direction: column; 
                                    gap: 6px; 
                                }

                                .whats-included-row {
                                    display: flex;
                                    align-items: center;
                                    gap: 20px;
                                }

                                .whats-included-image img {
                                    aspect-ratio: 1;
                                    object-fit: cover;
                                    max-width: 60px; 
                                    height: auto;
                                    display: block;
                                    border-radius: 5px;
                                }

                                .whats-included-title h4 {
                                    margin: 0;
                                }

/* ===== RECOMMENDED BY ===== */


.recommended-by {
    text-align: start;
    max-width: 1280px;
    align-self: center;
    display: flex;

}

.recommended-title {
    /*margin-bottom: 2rem;*/
    flex: 2;
}

.recommended-logos {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: center;
}

@media (max-width: 768px) {
    .recommended-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.recommended-logos img {
    max-width: 100%;
    height: auto;
}

/* ===== TRUST ICONS ===== */
.trust-icons {
    padding: 20px 12px;
    background-color: var(--Beige);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.trust-item img {
    width: 45px;
    height: 45px;
}

.trust-label {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    color: #000;
}

/* ===== Componenten =====*/

/*product features*/

.features-product {
    display: flex;
    justify-content: space-between;
    gap: 40px;

}

.features-product article {

}

.features-product img {
    height: 384px;

}

.features-product .first {
    flex: 1;

    border-radius: 10px;
    border: 2px solid var(--Softer-Black, #252522);

    padding: 30px;

}

.features-product .second {
    flex: 1;
    border-radius: 10px;
    box-shadow: 0 0 15px -5px rgba(0, 0, 0, 0.25);

}

.features-product .third {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;

    color: var(--Off-White);

}

.features-product .third div {
    border-radius: 10px;
    padding: 30px;
    height: 100%;

    background: var(--Softer-Black, #252522);
}

.features-product .third a {
    min-height: 54px;
    max-height: 54px;
}


.components {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: center;
    gap: 150px;
    /*margin:auto;*/
    width: 100%;
    margin-bottom: 150px;
}


.faq {
    overflow: visible;
}

.faq-right {
}

.product-video video {
    max-width: var(--MaxWidth);
    overflow: visible;
    aspect-ratio: 2/1;
    width: 100%;
    margin-bottom: -155px;
    object-fit: fill;

}

/*===== step by step =====*/


.steps {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    overflow: hidden;
}

.step {
    display: flex;
    flex-direction: row;
    gap: 100px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.step .left {
    display: flex;
    gap: 50px;
}

.number {
    flex: 1;

}

.texts {
    flex: 7;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 10px;
    padding-bottom: 15px;
}

.step video, .step img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    overflow: hidden;
    box-shadow: 0 0 15px -5px rgba(0, 0, 0, 0.25);

}
/*
.img1 {
    rotate: -4deg;
}

.img2 {
    rotate: 5.5deg;
}

.img3 {
    rotate: -2deg;
}

.img4 {
    rotate: -8deg;
}

*/
/*===== floating video link =====*/

.floater-link {
    display: none;
    position: fixed;
    right: 20px; /* distance from left edge */
    top: 50%; /* vertically centered */
    transform: translateY(-50%);
    z-index: 9999; /* stay above content */

    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    background: transparent;
    cursor: pointer;
}

/* Optional hover effect */
.floater-link:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Make SVG responsive */
.floater-link svg {
    width: 100%;
    height: auto;
    display: block;
}




/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .product-main, .product-accordions, .recommended-by {
        padding: 0px;
    }

    .product-video video {
        max-width: 100vw;
        max-height: 56.25vw;
        aspect-ratio: 16 / 9;
        margin-bottom: -80px;
    }


    .floater-link {
        display: none;
    }
}

@media (max-width: 768px) {
    .left-section {
        width: 100%;
    }

    .left-section .mobile {
        padding: 16px;
    }

    .product-page {
        gap: 60px; 
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /*==== mobile steps====*/
    .steps {
        gap: 100px;

    }


    .step {
        min-height: fit-content; /* one step per screen */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }


    .step h3 {
        align-self: flex-start;
    }

    .texts {
        margin-top: 40px;
        text-align: start;
        padding-bottom: 0;
    }

    .step .img {
        width: 100%;
        max-width: 320px;
        height: 300px;
    }


}


@media (max-width: 900px) {

    .features-product {
        padding: 0 var(--GridGap2);
        flex-direction: column;
        gap: 28px;
    }

    .features-product .first {
        padding: 24px;
        border-radius: 5px;

    }

    .features-product img {
        aspect-ratio: 2/1;
        border-radius: 5px;

    }


    .features-product .third {
        gap: 28px
    }

    .features-product .third div {
        padding: 24px;
        border-radius: 5px;


    }

    @media (max-width: 768px) {
         .recommended-products {     
            overflow-x: auto;    
            box-sizing: border-box;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;          
        }

        .recommended-products article {  
    width: 300px;
    min-width: 300px;  
    box-sizing: border-box;
}

.recommended-products {
    scroll-snap-type: x mandatory;
}

.recommended-products article {
    scroll-snap-align: start;
}



    .recommended-products::-webkit-scrollbar{

        display: none;

    }

    .product-accordions {
        max-width: 100vw;
        box-sizing: border-box;
    }

    .components {
        gap: 60px;
        margin-bottom: 0px;
    }

    .attribute-options:not(.pa_color) {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-answer {
        padding: 0;
    }


}


.swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 6px;
    font-size: 0.9rem;
    user-select: none;
    transition: all 0.2s ease;
}

.swatch:hover {
    border-color: #000;
}

.swatch-selected {
    border-color: #000;
    font-weight: bold;
    background-color: #eee;
}


.mobile {
    display: none;
}


@media (max-width: 900px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

}


/* ================ TEMPORARY ====================
========= MAYBE CHANGED/REMOVED LATER ===============*/


.woocommerce-notices-wrapper {
    position: fixed;
    top: 100px;
    z-index: 999;
    margin: 8px;
}
}