:root{
    --color-border:#cccccc;
    --color-grey:#584040
}

.single-product  {
    .composite_form{
        margin-top: 0px !important;
    }

    .product-subtitle{
        font-size: 16px;
        font-weight: 600;
        color: #111;
    }
    .composite_component{
        padding-top: 10px;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #cdcdcd;

        /* .composited_product_images,
        p.component_section_title,
        .woocommerce-result-count,
        .thumbnail_description,
        .thumbnail_buttons,
        .component_pagination.top,
        .component_description {
            display: none
        } */

        .component_description {
            margin-bottom: 10px;
            p{
                &:last-of-type{
                    margin-bottom: 0px;
                }
            }
        }  

         .composited_product_images,
         p.component_section_title,
         .thumbnail_title,
         .thumbnail_buttons{
            display: none;
         }

         .thumbnail_description{
            padding: 0px;
         }

        .component_title_wrapper{
            .step_title_wrapper {
            margin-bottom: 5px;
            }
            .component_title{
                font-size: 16px;
            }
        }
        .component_inner{ 
            padding-bottom: 0px !important;
        }
        .component_selections{
            display: flex;
            flex-direction: column;
            gap: 10px;

            .component_options{
                order: 2;
            }
            .component_content{
                order: 1;
            }
            .composited_product_title_wrapper {
            padding-top: 0px;
            }
            .component_section_title{
                font-size: 16px;
                margin-bottom: 8px;
                font-weight: 400;
            } 
            .composited_product_title{
                margin-bottom: 0px;
            }
            .component_data{
                float: unset !important;
                width: 100% !important;
                padding: 0 !important;
                .component_wrap{
                    display: flex;
                    gap: 10px; 

                    *{
                        font-size: 14px !important;
                    }
                }  

            } 
        }
        .stock{
            padding-top: 0px !important;
            margin-top: 0px !important;
            border-top: 0px;  
        }
        .stock.available-on-backorder {
            color: #ff6600; /* Change to your preferred color (e.g., #ff0000 for red) */
            font-weight: bold; /* Optional: makes the text bolder */
        }
     
        .component_option_thumbnails_container { 
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 60px));
            gap: 10px; 
        }
        /* .component_option_thumbnail_container{
            margin: 0px !important;
            max-width: 64px;
            width: 64px !important;
            min-width: 64px;
        } */
        .component_option_thumbnail_container:has(.selected) .thumbnail_image{ 
            border-radius: 6px;
        }
        .component_option_thumbnail_link {
            display: block;
            border-radius: 6px;
             border:  1.5px solid var(--color-border);
        }
        .component_option_thumbnail_container:has(.selected) .component_option_thumbnail_link {
            border: 2px solid var(--color-grey);  
            padding: 2px;
        }

        .component_option_thumbnail {
            margin: 0px !important;
        }
     
        .thumbnail_image {
            width: 100% !important;
            padding: 0px !important;

            img{
                border-radius: 6px;
            }
        }
    
        .component_pagination {
            padding: 0px  !important;
        }
      
        .woocommerce-pagination{
            text-align: left;
            margin-bottom: 0px
        }
     
        .select_label{
            font-size: 14px;
        } 

        &:first-child{
            border-top: 1px solid #cdcdcd;
            margin-top: 28px;
        }
       
        .summary_content {
            display: flex;
            justify-content: space-between;

            &::before,
            &::after{
                display: none;
            }
        }
    }

    .dsalv-attributes{
        .dsalv-terms{
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 60px));
            gap: 10px;
            .dsalv-term{
                display: flex; 
                height: 60px;
                width: 60px;
                align-items: center;
                justify-content: center; 
                border-radius: 6px;
                border: 1.5px solid var(--color-border);
                padding: 2px;
                margin: 0px;

                img{
                    border-radius: 6px;
                }
            }
            .dsalv-term.active{
                border: 2px solid var(--color-grey);
                padding: 2px;
            }

        }
    }

        @media (max-width:767px) { 
                .dsalv-attributes{
                    .dsalv-terms{ 
                        .dsalv-term{
                            height: 54px;
                            width: 100%; 
                            aspect-ratio: 1 / 1;
                        }
                    }
                }
                .dsalv-term.dsalv-term-image > span, .dsalv-term.dsalv-term-image > a{
                    height: auto;
                }
                
        }

        @media (max-width:420px) { 
            .dsalv-attributes{
                .dsalv-terms{ 
                    .dsalv-term{
                        height: auto; 
                    }
                }
            } 
        }

      .commercekit-sticky-atc-intersector {
            .composite_price{
                position: absolute;
                top: 11px;
            }
            .composite_wrap{
                padding-top: 10px !important;
            }
            .composite_availability{
                  .stock{
                    padding-top: 5px !important;
                    margin-bottom: 10px !important;
                    border-top: 0px;
                }
            }
        }
    .composite_button {
        background: var(--cart-bg);
        padding: 10px !important;
    }
    .single_add_to_cart_button{
     
    }
    .product{
        .woocommerce-product-details__short-description{
            margin-top: 15px;
        }
        .product-widget{
            display: none;
        }
        .composite_form { 
            padding-top: 20px;
        }
        .swiper-slide-thumb-active{
            border:  1px solid var(--color-border);  
        }   
         .price{
            font-size: 24px !important;
            ins{
                font-weight: 700;
            }
        }
    }

    .full_width .columns-3 ul.component_option_thumbnails_container li.component_option_thumbnail_container {
        width: 60px;
        max-width: 60px;
        position: relative;
    }
    .component_option_thumbnail_container{
        .thumbnail_description {
            
        }
        .thumbnail_price{
            margin-bottom: 0px !important;
        }
    }

    .woocommerce-product-rating{
        margin-bottom: 10px;
    }

    .below-content{
        margin-top: 100px;
    } 
}



    .product-content{
        margin-top: 100px;
        padding-block: 100px;
        background: #FFF;
        position: relative;
        z-index: 1;
    }

   .product-details-wrapper{
    max-width: 1680px !important;
    overflow: unset !important;
        .product-label{
            margin-left: 0px !important;
            left: 0px !important;
        }
   }

    .woocommerce img.pswp__img, 
    .woocommerce-page img.pswp__img{ 
        border-radius: 16px;
    }

    @media (max-width:991px) { 
            .product-content{
                margin-top: 60px;
                padding-block: 60px;
            }
          
        .single-product  {
            .product-subtitle{
                font-size: 16px;
            }
            & .composite_component {
                padding-top: 8px !important; 
                padding-bottom: 8px !important;
                padding-left: 0px;
                padding-right: 0px;

                .component_selections{
                .component_section_title {
                font-size: 14px;
                } 
            }
                    .component_title_text {
                    font-size: 16px;
                }  
                /* .component_option_thumbnail_container{ 
                max-width: 56px;
                width: 56px !important;
                min-width: 56px;
                }  */
                    .component_description{
                    font-size: 14px;
                }

            }
            .below-content{
                margin-top: 60px;
            } 
        }
        .woocommerce img.pswp__img, 
        .woocommerce-page img.pswp__img{
            max-width: 100%; 
        }
    }

    @media (max-width:767px) { 
  
            .product-content{
                margin-top: 30px;
                padding-block: 30px;
            }
        .single-product  {
            .product-subtitle{
                font-size: 14px;
            }
            & .composite_component {  
        
                .component_selections{
                .component_section_title {
                font-size: 12px;
                } 

                .component_data{ 
                    .component_wrap{ 
                        *{
                            font-size: 12px !important;
                        }
                    }
                } 
                }
                    .component_title_text {
                    font-size: 14px;
                } 

            
            
            }
            .product p.stock.in-stock:before, .product p.stock.out-of-stock:before {
                width: 12px;
                height: 12px;
            }
            .below-content{
                margin-top: 30px;
            } 
        }
            .component_option_thumbnails_container { 
                max-width: 100%;
            }
            .related-wrapper,
            .product-content{ 
                padding-left: 15px;
                padding-right: 15px; 
            }
    }

.woocommerce-product-gallery__thumbs {
  margin-top: 15px;
}

.woocommerce-product-gallery__thumbs .flexslider {
  position: relative;
}

.woocommerce-product-gallery__thumbs li {
  cursor: pointer;
  opacity: .6;
}

.woocommerce-product-gallery__thumbs li.flex-active-slide {
  opacity: 1;
}

.woocommerce-product-gallery__thumbs img {
  display: block;
  width: 100%;
}

.woocommerce-product-gallery__thumbs ul.flex-direction-nav { 
    margin-top: -20px;
}
ul.flex-direction-nav {
    margin: -20px 0 0 !important;
}

.geo-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* green badge */
.discount-badge {
    background: #4caf50;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1;
}

/* crossed price */
.was-price {
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

/* current price */
.current-price {
    color: #f5a623; /* adjust to your theme */
    font-weight: 700;
    text-decoration: none;
}
 
.component_option_thumbnail_container {
    max-width: 54px;
    margin: 0px !important;
}

/* Hide zero price text in composite product thumbnails */
.woocommerce div.product .wc-cp-component__product-price:contains("0") {
    display: none;
}
.woocommerce div.product .wc-cp-component__product-price:contains("Free") {
    display: none;
}
   
.comfortel-accordion {

    .accordion-item {
        border-bottom: 1px solid #dfe0dd;
        background: var(--acc-bg);

        .accordion-content {
            padding-top: 0px;

            ul {
                list-style: disc;
                margin-left: 20px;
                li{
                    margin-bottom: 10px;
                    a{
                        color: inherit;
                        text-decoration: underline;
                        font-weight: 500;
                    }
                }
                li a:hover{
                        color: #dc9814;  
                    } 
            }
        }
    }

    .accordion-title {
    width: 100%;
    text-align: left;
    padding: 16px; 
    border: none;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    gap: 10px;
        img{
            max-width: 18px;
        }

        .accordion-caret {
        background: url(../images/carret.svg) no-repeat;
        height: 12px;
        width: 12px;
        background-size: contain;
        background-position: center center;
        margin-top: 2px;
        position: absolute;
        right: 20px;
        }
    }
   
   

    .accordion-title.active  {
        .accordion-caret {
            rotate: 180deg;
        }
    }

    .accordion-content {
    padding: 16px;
    display: none;
    }

    .commentlist {
        .review-item{
            .review-head{
                display: flex;
                justify-content: space-between;
                margin-bottom: 10px;
            }
            .review-author{
                margin-top: 10px;
            }  
        }    
    }
    .review-btn{
            color: inherit;
            border: 1px solid #000;
            border-radius: 5px;
            width: 100%;
            display: block;
            text-align: center;
            padding: 13px;
            font-weight: 600;
            margin-top: 30px; 
        }
}
/* Prevent slider links from navigating before JS intercepts them */
.woocommerce-product-gallery__image a {
    pointer-events: none;
}

.custom-thumb-grid{
    .thumb-grid-close{
        display: none;
    }

  }
@media (max-width:1199px) { 
    .product {
        .product-details-wrapper {
        flex-direction: column;

            .left-product-side {
            max-width: 100%;
            margin-right: 0px;

           
                .custom-thumb-grid.active{
                    display: block;
                    position: fixed;
                    background: #FFF;
                    height: 100% !important;
                    z-index: 99999;
                    top: 0px;
                    left: 0;
                    overflow: scroll;

                    .wc-extra-gallery{
                        grid-template-columns: 1fr;
                        
                        height: 100%;
                        max-height: 100%;

                        a{
                           pointer-events: none;
                        }
                    }

                    .button-wrap {
                        display: none;
                    }

                    .thumb-grid-close{
                        display: block;
                    }
                }
    
                .thumb-grid-close{
                    position: absolute;
                    top: 20px;
                    right: 20px;
                    max-width: 46px;
                    opacity: 0.6;
                    z-index: 10;
                }
            .flex-control-thumbs {
                display: flex;
                flex-wrap: wrap; /* makes multiple rows */
            }
            .flex-control-thumbs li {
                width: 60px;
                margin: 5px;
            }
            /* Make the thumbnail slides behave like proper slides */
          
            .flex-control-thumbs li img {
                display: block;
                width: 100%;
            }
             
            }
            .summary {
                width: 100%;
            }
           
        }
    }

    body.grid-open{
        overflow:hidden;

        .site-header {
            z-index: 0 !important;
        }
    }
   
}
@media (max-width:810px) { 
    .product {
        .product-details-wrapper {
    
            .left-product-side { 
                position: sticky;
                top: 0px;
                z-index: 99999;
                background: #ffff;
                width: 100%;
            } 
           
        }
        .entry-summary{
            margin-top: 10px;
        }
        .woocommerce-product-gallery .flex-control-thumbs li,
        .woocommerce-product-gallery .flex-control-thumbs li img {
            width: 60px;
        }
    }
   
}

@media (max-width: 767px) {
   .product-details-wrapper {
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;

        .summary {
            padding-left: 15px;
            padding-right: 15px;

            h1 {
                margin-bottom: 0px;
            }

        }
        .product-subtitle {
            margin-bottom: 10px;
        }
        .product-label {
            left: 0px !important;
        }
   }
}


.product .woocommerce-product-gallery{
    width: 100%;
    float: unset;
}

 .product .woocommerce-product-gallery .flex-viewport{
    border-radius: 16px;
 }
@media (max-width:1199px) { 
    .product .woocommerce-product-gallery .flex-viewport{
        border-radius: 0px;
    }
}
@media (max-width:992px) { 

    .product .woocommerce-product-gallery{
        margin-bottom: 0px;
        border-top: 2px solid #ddded6;
        border-bottom: 2px solid #ddded6;
    }
    .product .woocommerce-product-gallery .flex-viewport{
        margin-bottom: 0px;
    } 
   
}

.wc-extra-gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;

    /* show only first 2 rows */
    max-height:680px;
    overflow:hidden;

    transition:max-height .3s ease; 

}
@media (max-width:767px) { 
  .wc-extra-gallery{
  
  }

}
.wc-extra-gallery:after{
    content: '';
    position: absolute;
    display: block;
    background: linear-gradient(to bottom, transparent, #f8f8f8);
    position: absolute;
    bottom: 0;
    height: 60px;
    width: 100%;
}

.wc-extra-gallery.no-overlay:after {
    display: none;
}

.wc-extra-gallery-wrapper {
    .wc-extra-gallery{
            position: relative;
        &.expanded{
        max-height:5000px;

        &:after{
            display: none;
        }

        ~   .button-wrap{
            margin-top: 30px;
         }

        }
        img{
            width: 100%;
            height: 100%;
            object-fit: scale-down;
            background: white;
            aspect-ratio: 4 / 3;
        }  
        .wc-gallery-item ,
        .wc-grid-video-player{
            aspect-ratio: 4 / 3;
        }
        .custom-flex-nav__play img{
            width: 70px !important;
            height: 70px !important;
            margin: 100px auto;
            background: transparent !important; 
        } 
         .wc-gallery-item:has(picture) picture {
            border-radius: 16px;
            overflow: hidden;
         }
         .wc-gallery-item:not(picture) img {
            border-radius: 16px;
            overflow: hidden;
         }

      

    }
    .button-wrap{
    margin-top: -100px;
    text-align: center;
    position: relative
    }

    .wc-gallery-toggle{
        background: var(--shbtn-bg);
        color: var(--shbtn-text);
        width: auto;
        padding: 17px 20px ;
        margin: 0 auto;
        transition: all .3s ease-in-out;
        font-weight: 600;
        border-radius: 60px;
        font-size: 14px !important;
        border: 1px solid #584040;
    } 

    .wc-gallery-toggle:hover{
        background: var(--shbtn-bg-hover);
        color: var(--shbtn-text-hover);
        transition: all .3s ease-in-out;   
    }
}

@media (max-width:1199px){ 
.wc-extra-gallery-wrapper {
    display: none;
}

.wc-extra-gallery-wrapper {
    .wc-extra-gallery{
        .wc-gallery-item:not(picture) img {
            border-radius: 0px; 
        }
    }
}

.wc-extra-gallery-wrapper:has(.wc-extra-gallery.expanded){
    display: block;
}

}

 
.summary.entry-summary{
    float: unset;
}

.sticky-summary-wrapper {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.woocommerce-product-rating:not(:first-child) {
    display: none;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    .spec-item {
        display: flex;
        gap: 12px;
        strong {
            width: 35%;
        }
        span{
            width: 65%;
        }
    }
}


.review_form_wrapper,
.single-product .product_meta,
#review_form_wrapper{
    display:none;
}

.review-toggle-btn{
    display:inline-block;
    padding:10px 18px;
    background:#000;
    color:#fff;
    border:none;
    cursor:pointer; 
}

.review-toggle-btn:hover{
    opacity:.85;
}

.product-full-reviews {

    padding-top: 80px;

    .product-details-wrapper {
        display: block;
        max-width: 800px;
    }
    .review-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 36px;
    }
}

li.thumb-view-more {
    border: 1px solid var(--color-border);
    height: 45px;
    display: flex !important;
    button{
        font-size: 12px;
    }
}


@media (max-width:1200px){

.flex-control-thumbs{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:10px;
    padding-bottom:10px;
}

.flex-control-thumbs li{
    flex:0 0 auto;
    width:80px; /* adjust thumbnail size */
}

.flex-control-thumbs::-webkit-scrollbar{
    height:6px;
}

}

.view-more-slide{
    display:flex;
    align-items:center;
    justify-content:center;
}

.view-more-btn{ 
    font-size: 11px;
    text-decoration: underline;
    background: #f8f8f8;
    padding: 7px 9px; 
    color:#686b56;
    border:none;
    cursor:pointer;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    border: 2px solid #cccccc;
}

@media (max-width:767px){ 
    .view-more-btn{
        width: 64px;
        height: 48px;
    } 
}

/* Desktop modal — grid stays inline, becomes full-screen when .active */
@media (min-width: 1200px) {
    .custom-thumb-grid {
        display: block;
    }
 

    .custom-thumb-grid.active {

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 99999;
        overflow-y: scroll;

        .thumb-grid-close {
            display: block;
            position: fixed;
            top: 60px;
            right: 20px;
            width: 46px;
            opacity: 0.6;
            z-index: 100000;
            background: none;
            border: none;
            cursor: pointer;
        }

        .wc-extra-gallery {
            grid-template-columns: 1fr;
            max-height: none;
            height: auto;

            a {
                pointer-events: none;
            }

            img {
                width: 100%;
                height: auto;
                display: block;
            }
        }

        .button-wrap {
            display: none;
        }
    }
}

.product-type-composite .entry-summary .cgkit-as-variation-price {
    display: none;
}  

a.flex-next, a.flex-prev {
   color:#584040 ;
}
a.flex-next:after, a.flex-prev:before {
    opacity: 1;
}
.flex-nav-prev {
    margin-left: 15px;
}
.flex-nav-next {
    margin-right: 15px;
}

.woocommerce-product-gallery:hover a.flex-prev:before {
    left: 0px; 
}
.woocommerce-product-gallery:hover a.flex-next:after{
    right: 0px; 
}
.flex-direction-nav {
    li{
        display: flex;
        align-items: center;
        justify-content: center;
        background: #FFF;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        transition: all .3s ease-in-out;
        border: 1px solid #584040;

        &:hover{
            background: #e4e4e4;
            transition: all .3s ease-in-out;
        }
    }
  
    a{
        font-size: 0px;
    }
    a.flex-next:after, 
    a.flex-prev:before {
        width: 24px;
        height: 24px;
    }
}


@media (max-width:767px){ 
   .flex-direction-nav {
    li{
        height: 32px;
        width: 32px;
    }
    a.flex-next:after, 
    a.flex-prev:before {
        width: 16px;
        height: 16px;
    }
   }
}

/* =====================================================
   NEW EXTRA GALLERY — .wc-new-extra-gallery (Slick)
   ===================================================== */

.wc-new-gallery-wrapper {
    width: 100%;
    position: relative;
}

.wc-new-extra-gallery {
    width: 100%;
}

.wc-new-gallery-slide {
    position: relative;
    overflow: hidden;
}

.wc-new-gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Slick arrow overrides */
.wc-new-extra-gallery .slick-prev,
.wc-new-extra-gallery .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
}

.wc-new-extra-gallery .slick-prev { left: 10px; }
.wc-new-extra-gallery .slick-next { right: 10px; }

/* Dots */
.wc-new-extra-gallery .slick-dots {
    bottom: 12px;
}

.wc-new-extra-gallery .slick-dots li button:before {
    color: #fff;
    opacity: 0.7;
    font-size: 10px;
}

.wc-new-extra-gallery .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #fff;
}

.wc-prod-video-slide{
    position: relative;

    span.wc-video-play-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        background: #000;
        padding: 30px 33px;
        border-radius: 110px;
        opacity: .5;
    }
}

/* =====================================================
   INLINE VIDEO SLIDES — .wc-prod-video-slide
   ===================================================== */

.wc-prod-video-slide {
    position: relative;
}

/* Poster layer */
.wc-prod-video-poster {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.wc-prod-video-poster img {
    width: 100%;
    height: auto;
    display: block;
}

/* Play button — removed, video auto-plays */

/* Video player layer */
.wc-prod-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #000;
}

.wc-prod-video-player iframe,
.wc-prod-video-player video {
    width: 100%;
    height: 100%;
    display: block;
}

/* =====================================================
   CUSTOM FLEX NAV — .custom-flex-nav
   ===================================================== */

.custom-flex-nav {
    width: 100%;
    position: relative; 
    display: none;
    padding-left: 5px;
}

.custom-flex-nav__track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
    padding-bottom: 4px;
    background: #f8f8f8;
}

.custom-flex-nav__track {
    padding-top: 8px;
    padding-bottom: 8px;

    .custom-flex-nav__item--measurement{
        display: none;
    }
    .custom-flex-nav__item--measurement.thumb{
        display: flex;
        img{
            max-width: 34px;
            opacity: .8;
        }
    }
}

.custom-flex-nav__track::-webkit-scrollbar {
    display: none;
}

.custom-flex-nav__item {
    flex: 0 0 auto;
    width: 100px;
    height: 60px;
    border: 2px solid #ccc; 
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, opacity 0.2s ease; 
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    picture{
        display: flex;
    }
}

.custom-flex-nav__item {
    picture{
        height: 100%;
    }
}

@media (max-width:1200px) {
    .custom-flex-nav__item { 
        width: 64px;
        height: 48px;
        border-radius: 4px;
    }
}

.custom-flex-nav__item img { 
    object-fit: scale-down;
    display: block; 
    aspect-ratio: 4 / 3;
}

.custom-flex-nav__item.flex-active {
    border-color: #686b56;
    opacity: 1;
    padding: 2px;
    
}

.custom-flex-nav__item:hover {
    opacity: 1;
}

/* Video indicator */
.custom-flex-nav__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:rgb(255 255 255 / 50%);
    color: #fff;
    font-size: 1.2rem;
    pointer-events: none;
    transition: background 0.2s ease;
}

.custom-flex-nav__item--video:hover .custom-flex-nav__play {
    background:rgb(255 255 255 / 70%);
}

.custom-flex-nav__play img{
    width: 30px;
    height: 30px;
    margin: 10px auto;
}

@media (max-width: 1199px) {
    .custom-flex-nav__item {
        aspect-ratio: 4 / 3;
    }
    .custom-flex-nav {
        display: block;
    }
}
 
/* 
@media (max-width: 767px) {
    .custom-flex-nav__item {
        width: 52px;
        height: 52px;
    }
} */

/* Hide default flexslider thumbnail nav — replaced by .custom-flex-nav */
.woocommerce-product-gallery .flex-control-nav {
    display: none !important;
}

/* =====================================================
   VIDEO ITEMS IN GALLERY GRID
   ===================================================== */

.wc-gallery-item--video {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.wc-gallery-item__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center; 
    color: #fff;
    font-size: 2rem;
    pointer-events: none;
    transition: background 0.2s ease;
}

.wc-gallery-item--video:hover .wc-gallery-item__play {
    background: rgba(0, 0, 0, 0.5);
}
.ginner-container,
.pswp__zoom-wrap{
    transform: unset !important;
    display: flex;
    align-items: center;
    padding: 20px;
}
.pswp__img{ 
    width: auto !important;
    height: auto !important;
    position: unset !important;
    margin: 0 auto;
}

.gslide-media{
    background: #fff;
}

.woocommerce-product-gallery__image {
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: #fff !important;

    img{
        aspect-ratio: 4 / 3 !important;
        object-fit: scale-down;
        background: white;
    }
}


@media (max-width: 992px) {
    .site-header {
        position: sticky !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        transition: transform 0.3s ease;
        /* Visible by default — JS adds .header-scroll-ready before hiding */
        transform: translateY(0);
    }

    /* Only hide/show once JS scroll tracking is active */
    body.header-scroll-ready .site-header {
        transform: translateY(-100%);
    }

    /* Always visible at top */
    body.at-top .site-header {
        transform: translateY(0);
    }

    /* Show when scrolling up */
    body.scroll-up .site-header {
        transform: translateY(0);
    }

    /* Hide when scrolling down */
    body.scroll-down .site-header {
        transform: translateY(-100%);
    }
}
  
.floating-icons{
    position: absolute;
    z-index: 1;
    bottom: 30px;
    display: flex;
    gap: 10px;
    left: 30px;

    button{
        width: 60px;
        background: #FFF;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        transition: all .3s ease-in-out;
        opacity: .6;
        border: 1px solid #584040;
    }
    button:hover{
        opacity: 1;
        transition: all .3s ease-in-out;
    }
    .gallery-measurement {
        img{
            width: 24px;
        }
    }
    .gallery-video {
        img{
            width: 28px;
        }
    }
}

@media (max-width: 992px) {
    .floating-icons{
        display: none;
    }
}

.dsalv-attributes {
    .dsalv-attribute-label {
        font-size: 16px;
        font-weight: 500;
    }
}
  .single-product  {
    .mobile-breadcrumbs {
        display: none;
    }
  }
@media (max-width: 767px) {
    .dsalv-attributes {
        .dsalv-attribute-label {
            font-size: 14px; 
            margin-bottom: 10px;
        }
    }

    .single-product  {
        .archive-header {
            display: none;
        }

        .mobile-breadcrumbs {
            display: block;
            padding-left: 15px;
            font-size: 12px;

            .woocommerce-breadcrumb{
                padding-bottom: 0px;
            }

            p{
                margin-bottom: 0px;
                margin-top: 16px;
            }
        }
    }

}



.site-content:has(.custom-thumb-grid.active) {
    z-index: 99;
}