.block-accordion .wp-block-details summary::after {
    content: '';
    border-bottom: 2px solid;
    border-right: 2px solid;
    content: '';
    display: block;
    height: 0.5em;
    position: absolute;
    right: 0;
    top: 45%;
    transform: translateY(-50%) rotate(45deg);
    width: 0.5em;
}

.block-accordion .wp-block-details[open] summary::after {
    top: 50%;
    transform: translateY(-50%) rotate(-135deg);
}

/**/

[data-carousel-item] {
    position: absolute;
    top: 0;
    left: 100%; /* Start offscreen to the right */
    width: 100%;
    /* height: 100%; */
    transition: transform 0.5s ease-in-out, visibility 0s 0.5s; /* Smooth slide transition with visibility delay */
    visibility: hidden; /* Hide items initially */
}

[data-carousel-item].active {
    left: 0; /* Move into view */
    transform: translateX(0);
    visibility: visible;
    z-index: 1;
    transition: transform 0.5s ease-in-out, visibility 0s 0s; /* No delay on visibility for the active slide */
}

[data-carousel-item].prev {
    left: 0;
    transform: translateX(-100%);
    z-index: 0;
    visibility: hidden;
}

[data-carousel-item].next {
    left: 0;
    transform: translateX(100%);
    z-index: 0;
    visibility: hidden;
}


.woocommerce-product-gallery,
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    width: 100% !important;
    max-width: 100% !important;
}

/* Make sure images are responsive */
.woocommerce-product-gallery img {
    max-width: 100%;
    height: auto;
}

/* Make thumbnails look better */
.woocommerce-product-gallery ol.flex-control-nav {
    margin-top: 10px !important;
    padding: 0 !important;
}

.woocommerce-product-gallery ol.flex-control-nav li {
    margin-right: 10px !important;
    margin-bottom: 10px !important;
}

/* Fix lightbox z-index if needed */
.pswp {
    z-index: 9999 !important;
}

.single-product div.product .product_title{
    color: #383938;
    font-family: "Playfair Display";
    font-size: 30px;
    font-style: normal;
    font-weight: 800;
    line-height: 38px; /* 126.667% */
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    max-width: 100%;
}

.single-product .price{
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 18px;
}

.single-product .price ins{
    color: #383938 !important;
    font-family: "Playfair Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    line-height: 60px; /* 125% */
    letter-spacing: -0.48px;
    text-decoration: none;
}

.single-product .price del{
    color:  #6B7280;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
    text-decoration-line: line-through;
    opacity: 1;
}

.single-product .woocommerce-product-details__short-description{
    color: #6B7280;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    margin: 24px 0;
    padding-top: 24px;
    border-top: solid 1px rgba(0, 0, 0, 0.10);
}

.single-product .woocommerce-breadcrumb{
    color: #383938;
    font-family: Lato;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 18px */
}

.single-product div.product form.cart .button{
    border-radius: 4px;
    color: #FFF;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 21px */
    padding: 10px 25px;
    background:#176BB6;
}

.single-product main > .woocommerce-breadcrumb{
    display: none;
}

.single-product .quantity .qty{
    border-radius: 4px;
    border: 1px solid #176BB6;
    color: #176BB6;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 21px */
    padding: 10px 20px;
    width: 80px;
    height: 41px;
}

.single-product div.product form.cart div.quantity{
    margin-right: 12px;
}

.single-product .sku_wrapper{
    display: none;
}

.single-product .product-content{
    padding-top: 15px;
}

.single-product .posted_in,
.single-product .tagged_as,
.single-product .custom-product-meta{
    color: #6B7280;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.single-product .posted_in a,
.single-product .custom-product-meta a,
.single-product .tagged_as a{
    overflow: hidden;
    color: #F99F1B;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
    text-decoration-line: underline !important;
}

.single-product span.onsale{
    width: 49px;
    height: 49px;
}

.single-product header.bg-primary{
    background-color: transparent;
}

.single-product div.product div.images .flex-control-thumbs li{
    width: 20%;
}

.single-product .product-footer-section{
    background:  #F7F7F2;
}

.related.products,
.same-brand.products{
    padding: 96px 0;

}

.single-product .product-footer-section h2{
    color: #383938;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    line-height: 60px; /* 125% */
    letter-spacing: -0.48px;
    margin-bottom: 60px;
}

.single-product .product-footer-section h2 span{
    color: #F99F1B;
}

.single-product ul.products li.product .woocommerce-loop-product__title,
.woocommerce.archive ul.products li.product .woocommerce-loop-product__title{
    color: #383938;
    font-family: "Playfair Display";
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 36px; /* 180% */
    letter-spacing: -0.2px;
    text-align: left;
    margin: 0;
    padding: 0;
}

.single-product ul.products li.product .view-more-button,
.woocommerce.archive ul.products .button{
    color: #176BB6;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 21px */
    border-radius: 4px;
    border: 1px solid #176BB6 !important;
    padding: 10px 20px;
    background-color: transparent;
    margin-top: 0;
}

.single-product .product_meta {
    display: flex;
    flex-direction: column;
}

.similar-collection{
    background-color: #fff !important;
}

.similar-collection:not(ul){
    padding: 0;
}

.woocommerce.archive ul.products li.product .price{
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 18px;
}

.woocommerce ul.products li.product .related-product-wrapper .price,
.woocommerce.archive ul.products li.product .price{
    display: flex;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .related-product-wrapper .price ins,
.woocommerce.archive ul.products li.product .price ins{
    font-size: 30px;
    line-height: 38px; /* 126.667% */
    letter-spacing: -0.3px;
    color: #383938;
}

.woocommerce.archive ul.products li.product .price ins{
    font-family: "Playfair Display";
    text-decoration: none;
}

.woocommerce ul.products li.product .related-product-wrapper .price del,
.woocommerce.archive ul.products li.product .price del{
    font-size: 16px;
    line-height: 150%; /* 24px */
    text-decoration-line: line-through;
    color: #6B7280;
}

.woocommerce ul.products li.product .related-product-wrapper .product-short-description,
.woocommerce.archive ul.products li.product .product-short-description{
    color: #6B7280;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    margin-bottom: 10px;
}

.archive .woocommerce-breadcrumb{
    display: none;
}

.category-custom-header{
    position: relative;
}

.category-custom-header .category-text{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-left: 15px;
    padding-right: 15px;
}

.category-custom-header .category-text .category-title{
    color:  #fff;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 64px;
    font-style: normal;
    font-weight: 800;
    line-height: 80px; /* 125% */
    margin-bottom: 30px;
}

.category-custom-header .category-text .category-description{
    color:  #FFF;
    text-align: center;
    font-size: 20px;
}

.category-custom-header .category-image{
    position: relative;
}

.category-custom-header .category-image:before{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.category-custom-header .category-image img{
    height: 600px;
    width: 100%;
    object-fit: cover;
}

.archive.woocommerce main > .container{
    padding-top: 30px;
}

.archive.woocommerce ul.products{
    padding-top: 45px;
}

.archive.woocommerce .woocommerce-pagination{
    padding-bottom: 50px;
}

.archive.woocommerce header{
    background-color: #fff;
}


/* WooCommerce Pagination Styling */
nav.woocommerce-pagination {
    margin-top: 4rem !important;
    display: flex !important;
    justify-content: center !important;
}

nav.woocommerce-pagination ul.page-numbers {
    margin: 0;
    display: flex;
    gap: .25rem;
    font-size: 1.125rem;
    list-style: none;
    padding-left: 0;
    border: none;
}

nav.woocommerce-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
    border: none;
}

/* Standard page numbers */
nav.woocommerce-pagination ul.page-numbers li .page-numbers {
    display: flex !important;
    height: 2.5rem !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: .25rem !important;
    border: 1px solid rgb(209, 213, 219) !important;
    background-color: white !important;
    padding: 0 .75rem !important;
    line-height: 1.25 !important;
    color: rgb(107, 114, 128) !important;
    text-decoration: none;
}

nav.woocommerce-pagination ul.page-numbers li .page-numbers:hover {
    background-color: rgb(243, 244, 246) !important;
    color: rgb(55, 65, 81) !important;
}

/* Current page styling */
nav.woocommerce-pagination ul.page-numbers li .page-numbers.current {
    background-color: rgb(235, 245, 255) !important;
    color: rgb(28, 100, 242) !important;
}

nav.woocommerce-pagination ul.page-numbers li .page-numbers.current:hover {
    background-color: rgb(225, 239, 254) !important;
    color: rgb(26, 86, 219) !important;
}

/* Dots styling */
nav.woocommerce-pagination ul.page-numbers li .page-numbers.dots {
    border: none !important;
    background: transparent !important;
}

/* Next button styling */
nav.woocommerce-pagination ul.page-numbers li .next.page-numbers {
    width: 40px !important;
    font-size: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg%20aria-hidden%3D'true'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20fill%3D'none'%20viewBox%3D'0%200%206%2010'%3E%3Cpath%20stroke%3D'currentColor'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%20stroke-width%3D'2'%20d%3D'm1%209%204-4-4-4'%3E%3C/path%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    text-indent: -9999px;
    overflow: hidden;
}

/* Previous button styling */
nav.woocommerce-pagination ul.page-numbers li .prev.page-numbers {
    width: 40px !important;
    font-size: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg%20aria-hidden%3D%22true%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%206%2010%22%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M5%201%201%205l4%204%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    text-indent: -9999px;
    overflow: hidden;
}

.woocommerce.archive ul.products li.product .onsale{
    width: 49px;
}

.category-custom-header .category-text .category-description{
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.wp-block-woocommerce-product-collection .wc-block-product-template li h3{
    font-size: 16px !important;
    line-height: 150%;
    color: var(--wp--preset--color--text-primary)
}

.archive #primary{
    overflow: hidden;
}


@media (max-width:767px){
    .category-custom-header .category-text .category-description{
        font-size: 16px;
    }

    .single-product .product-footer-section h2{
        font-size: 36px;
    }

    .related.products,
    .same-brand.products{
        padding: 50px 0;

    }

    .category-custom-header .category-text .category-title{
        font-size: 2.25rem;
        font-weight: 800;
        line-height: 46px;
    }

    .woocommerce.archive .woocommerce-ordering{
        float: none;
    }

    .woocommerce.archive .woocommerce-ordering select{
        width: 100%;
    }

}


@media (max-width:500px){
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product{
        width: 100%;
    }
}