html {
    scroll-behavior: smooth;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px !important;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row>* {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.no-gutters {
    margin-left: 0;
    margin-right: 0;
}

.no-gutters>* {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.col {
    flex: 1 0 0%;
}


.col-1 {
    width: 8.333%;
}

.col-2 {
    width: 16.666%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.333%;
}

.col-5 {
    width: 41.666%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.333%;
}

.col-8 {
    width: 66.666%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.333%;
}

.col-11 {
    width: 91.666%;
}

.col-12 {
    width: 100%;
}


@media (min-width: 576px) {
    .col-sm-1 {
        width: 8.333%;
    }

    .col-sm-2 {
        width: 16.666%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-4 {
        width: 33.333%;
    }

    .col-sm-5 {
        width: 41.666%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-7 {
        width: 58.333%;
    }

    .col-sm-8 {
        width: 66.666%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-10 {
        width: 83.333%;
    }

    .col-sm-11 {
        width: 91.666%;
    }

    .col-sm-12 {
        width: 100%;
    }
}


@media (min-width: 768px) {
    .col-md-1 {
        width: 8.333%;
    }

    .col-md-2 {
        width: 16.666%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-4 {
        width: 33.333%;
    }

    .col-md-5 {
        width: 41.666%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-7 {
        width: 58.333%;
    }

    .col-md-8 {
        width: 66.666%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-10 {
        width: 83.333%;
    }

    .col-md-11 {
        width: 91.666%;
    }

    .col-md-12 {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg-1 {
        width: 8.333%;
    }

    .col-lg-2 {
        width: 16.666%;
    }

    .col-lg-3 {
        width: 25%;
    }

    .col-lg-4 {
        width: 33.333%;
    }

    .col-lg-5 {
        width: 41.666%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-7 {
        width: 58.333%;
    }

    .col-lg-8 {
        width: 66.666%;
    }

    .col-lg-9 {
        width: 75%;
    }

    .col-lg-10 {
        width: 83.333%;
    }

    .col-lg-11 {
        width: 91.666%;
    }

    .col-lg-12 {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .col-xl-1 {
        width: 8.333%;
    }

    .col-xl-2 {
        width: 16.666%;
    }

    .col-xl-3 {
        width: 25%;
    }

    .col-xl-4 {
        width: 33.333%;
    }

    .col-xl-5 {
        width: 41.666%;
    }

    .col-xl-6 {
        width: 50%;
    }

    .col-xl-7 {
        width: 58.333%;
    }

    .col-xl-8 {
        width: 66.666%;
    }

    .col-xl-9 {
        width: 75%;
    }

    .col-xl-10 {
        width: 83.333%;
    }

    .col-xl-11 {
        width: 91.666%;
    }

    .col-xl-12 {
        width: 100%;
    }
}

@media (min-width: 1400px) {
    .col-xxl-1 {
        width: 8.333%;
    }

    .col-xxl-2 {
        width: 16.666%;
    }

    .col-xxl-3 {
        width: 25%;
    }

    .col-xxl-4 {
        width: 33.333%;
    }

    .col-xxl-5 {
        width: 41.666%;
    }

    .col-xxl-6 {
        width: 50%;
    }

    .col-xxl-7 {
        width: 58.333%;
    }

    .col-xxl-8 {
        width: 66.666%;
    }

    .col-xxl-9 {
        width: 75%;
    }

    .col-xxl-10 {
        width: 83.333%;
    }

    .col-xxl-11 {
        width: 91.666%;
    }

    .col-xxl-12 {
        width: 100%;
    }
}

.container {
    max-width: 1280px !important;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

body {
    font-family: 'Peyda', sans-serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

.font-gar {
    font-family: 'Peyda', sans-serif;
}

.font-gar-i {
    font-family: 'Peyda', sans-serif !important;
}

.font-gar-i * {
    font-family: 'Peyda', sans-serif !important;
}

.woocommerce * {
    color: black;
}



[multiple]:focus,
[type=date]:focus,
[type=datetime-local]:focus,
[type=email]:focus,
[type=month]:focus,
[type=number]:focus,
[type=password]:focus,
[type=search]:focus,
[type=tel]:focus,
[type=text]:focus,
[type=time]:focus,
[type=url]:focus,
[type=week]:focus,
input:where(:not([type])):focus,
select:focus,
textarea:focus {
    --tw-ring-color: rgba(255, 255, 255, 0) !important;
    border-color: rgba(255, 255, 255, 0) !important;
}




img {
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease-in-out;
}

.zoom:hover {
    scale: 1.03;
}

/* Product Gallery Zoom */
.swiper-slide.cursor-zoom-in {
    overflow: hidden;
    position: relative;
}

.zoom-img {
    transition: scale 0.3s ease, transform-origin 0.1s ease;
    width: 100%;
    height: 100%;
}

/* LightGallery Customization (Optional but improves UX) */
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.9) !important;
}





/* ------------ */

/* custom css area */

/* Wishlist Enhancement */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.added-to-wishlist .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    color: #9D2933 !important;
}

.add-to-wishlist-link:hover .material-symbols-outlined {
    color: #9D2933 !important;
}

/* Wishlist Icon Toggle */
.add-to-wishlist-link .already-added {
    display: none;
}

.add-to-wishlist-link.added-to-wishlist .already-added {
    display: inline;
}

.add-to-wishlist-link.added-to-wishlist .not-added {
    display: none;
}







.faded-border {
    position: relative;
    padding-bottom: 20px;
    /* فضای لازم برای خط */
}

.faded-border::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    /* ضخامت خط */
    background: linear-gradient(to right,
            transparent 0%,
            #1616166c 30%,
            /* رنگ خط وسط */
            #1616166c 70%,
            transparent 100%);
}

.tab-hover {
    position: relative;
    cursor: pointer;
}

.tab-hover::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 9px;
    background-image: url('img/tab-hover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    right: 50%;
    transition: transform 0.3s ease,
        scale 0.3s ease,
        top 0.3s ease,
        bottom 0.3s ease;
    scale: 0;
}

.tab-active {
    position: relative;
}

.tab-active::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 9px;
    background-image: url('img/tab-hover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: translate(50%, 0px);
    right: 50%;
    top: -8px;
    transition: transform 0.3s ease,
        scale 0.3s ease,
        top 0.3s ease,
        bottom 0.3s ease;
}

.tab-hover::before {
    top: -10px;
    transform: translate(50%, 0px);
}

.tab-hover:hover::before {
    top: -8px;
    scale: 1;
}

/* Menu sticky link dot effect */
.menu-item-dot {
    transition: all 0.3s ease;
}

.menu-item-dot:hover {
    color: #161616 !important;
}

.menu-item-dot::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 6px;
    height: 6px;
    background-color: black;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 99;
    pointer-events: none;
    display: block !important;
}

.menu-item-dot:hover::before {
    transform: translateX(-50%) scale(1);
}


#product-card {
    transform: translateY(0px);
    transition: transform 0.3s ease;
}


#product-card:hover #add-to-cart-btn {
    bottom: -35px;
    transition: all 0.3s ease;
}

#product-card:hover #view-details-btn {
    bottom: 10px;
    transition: all 0.3s ease;
}

#product-card:hover #config-wish-like {
    opacity: 1;
    transition: all 0.3s ease;
}

#tabs div {
    background-color: unset !important;
}

#product-card:hover #bottom-product-card-bg {
    background-color: #FFF9ED !important;
}



.btn-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: unset;
    outline: 1px solid black;
}

.btn-hover * {
    transition: all 0.4s ease;
}

.btn-hover:hover * {
    color: white;
    stroke: white;
}

.dark-red-hover:hover {
    background-color: #892029 !important;
}


.btn-hover:hover {
    border: unset;
    outline: unset;
}

.btn-hover::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #9D2933 !important;
    z-index: -1;
    top: 0;
    left: -100%;
    transition: all 0.4s ease;
}

.btn-hover:hover::before {
    left: 0;
}


#logo {
    transition: all 0.7s ease;
}

#logo:hover {
    filter: drop-shadow(0px 0px 20px #9d2933a6);
}

.swiper-button-prev-related,
.swiper-button-prev-product1,
.swiper-button-prev-product2,
.swiper-button-prev-product3,
.swiper-button-prev-product4,
.swiper-button-prev-product5,
.swiper-button-prev-productbest,
.swiper-button-prev-color,
.swiper-button-prev-gallery {
    left: -40px !important;
    background: #ffffff;
    padding: 55px;
    top: 50%;
    transform: translate(0px, -60%);
    border: 1px solid black;
    color: black !important;
    scale: 0.5;
}


.swiper-button-next-related,
.swiper-button-next-product1,
.swiper-button-next-product2,
.swiper-button-next-product3,
.swiper-button-next-product4,
.swiper-button-next-product5,
.swiper-button-next-productbest,
.swiper-button-next-color,
.swiper-button-next-gallery {
    right: -40px !important;
    background: #ffffff;
    padding: 55px;
    top: 50%;
    transform: translate(0px, -60%);
    border: 1px solid black;
    color: black !important;
    scale: 0.5;
}

.swiper-button-next-related:hover,
.swiper-button-next-product1:hover,
.swiper-button-next-product2:hover,
.swiper-button-next-product3:hover,
.swiper-button-next-product4:hover,
.swiper-button-next-product5:hover,
.swiper-button-next-productbest:hover,
.swiper-button-prev-related:hover,
.swiper-button-prev-product1:hover,
.swiper-button-prev-product2:hover,
.swiper-button-prev-productbest:hover,
.swiper-button-prev-product3:hover,
.swiper-button-prev-product4:hover,
.swiper-button-prev-product5:hover,
.swiper-button-next-color:hover,
.swiper-button-prev-color:hover,
.swiper-button-next-gallery:hover,
.swiper-button-prev-gallery:hover {
    background: #9d2933b9 !important;
}






/* Hero Swiper Pagination Styles */
.swiper-pagination-hero {
    bottom: -15px !important;
    padding: 0px 7px !important;
    display: flex;
    gap: 7px;
}

.swiper-pagination-hero .swiper-pagination-bullet {
    width: 100%;
    height: 7px;
    background: rgb(0 0 0 / 11%);
    border-radius: 0;
    margin: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    opacity: 1;
    position: relative;
    overflow: hidden;
}

.swiper-pagination-hero .swiper-pagination-bullet:hover {
    background: rgba(157, 41, 51, 0.3);
}

.swiper-pagination-hero .swiper-pagination-bullet-active {
    background: rgb(0 0 0 / 11%);
}

/* Progress Bar */
.swiper-pagination-hero .swiper-pagination-bullet .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #9d2933;
    transition: none;
}

.swiper-pagination-hero .swiper-pagination-bullet.progress-active .progress-bar {
    animation: progressFill 3.9s linear forwards;
}

@keyframes progressFill {
    to {
        width: 100%;
    }
}

/* Grid Background and Energy Blobs from ux.php */
.grid-bg {
    position: relative;
    background-color: #F9F9F9;
    background-image: linear-gradient(to right, #E5E5E5 1px, transparent 1px),
        linear-gradient(to bottom, #E5E5E5 1px, transparent 1px);
    background-size: 29vh 16vh;
    background-position: center;
    overflow: hidden;
    z-index: 1;
}

/* Base blobs layer */
.blobs-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;

    /* This mask constraints all children to only be visible on the grid lines */
    -webkit-mask-image: linear-gradient(to right, black 1px, transparent 1px),
        linear-gradient(to bottom, black 1px, transparent 1px);
    -webkit-mask-size: 29vh 16vh;
    -webkit-mask-position: center;
    mask-image: linear-gradient(to right, black 1px, transparent 1px),
        linear-gradient(to bottom, black 1px, transparent 1px);
    mask-size: 29vh 16vh;
    mask-position: center;
}

.grid-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    background: linear-gradient(to bottom,
            rgba(54, 54, 54, 0.4) 0%,
            rgba(54, 54, 54, 0.1) 50%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.energy-blob {
    position: absolute;
    width: 40vh;
    height: 40vh;
    background: radial-gradient(circle,
            rgba(54, 54, 54, 1) 0%,
            rgba(54, 54, 54, 0.4) 20%,
            rgba(54, 54, 54, 0.1) 40%,
            transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(1px);
}

.blob-1 {
    animation: maze-1 12s linear infinite;
}

.blob-2 {
    animation: maze-2 15s linear infinite;
    animation-delay: -5s;
}

.blob-3 {
    animation: maze-3 10s linear infinite;
    animation-delay: -2s;
}

.blob-4 {
    animation: maze-4 9s linear infinite;
    animation-delay: -7s;
}

.blob-5 {
    animation: maze-5 13s linear infinite;
    animation-delay: -1s;
}

.blob-6 {
    animation: maze-6 14s linear infinite;
    animation-delay: -4s;
}

.blob-7 {
    animation: maze-7 11s linear infinite;
    animation-delay: -8s;
}

.blob-8 {
    animation: maze-8 16s linear infinite;
    animation-delay: -11s;
}

@keyframes maze-1 {
    0% {
        top: -10vh;
        left: 50%;
    }

    25% {
        top: 32vh;
        left: 50%;
    }

    40% {
        top: 32vh;
        left: calc(50% + 29vh);
    }

    60% {
        top: 64vh;
        left: calc(50% + 29vh);
    }

    75% {
        top: 64vh;
        left: 50%;
    }

    100% {
        top: 120vh;
        left: 50%;
    }
}

@keyframes maze-2 {
    0% {
        top: -10vh;
        left: calc(50% - 29vh);
    }

    20% {
        top: 16vh;
        left: calc(50% - 29vh);
    }

    35% {
        top: 16vh;
        left: 50%;
    }

    50% {
        top: 48vh;
        left: 50%;
    }

    65% {
        top: 48vh;
        left: calc(50% + 29vh);
    }

    80% {
        top: 80vh;
        left: calc(50% + 29vh);
    }

    100% {
        top: 120vh;
        left: calc(50% + 29vh);
    }
}

@keyframes maze-3 {
    0% {
        top: -10vh;
        left: calc(50% + 29vh);
    }

    30% {
        top: 48vh;
        left: calc(50% + 29vh);
    }

    50% {
        top: 48vh;
        left: 50%;
    }

    70% {
        top: 80vh;
        left: 50%;
    }

    100% {
        top: 120vh;
        left: 50%;
    }
}

@keyframes maze-4 {
    0% {
        top: -10vh;
        left: 50%;
    }

    40% {
        top: 64vh;
        left: 50%;
    }

    60% {
        top: 64vh;
        left: calc(50% - 29vh);
    }

    100% {
        top: 120vh;
        left: calc(50% - 29vh);
    }
}

@keyframes maze-5 {
    0% {
        top: -10vh;
        left: calc(50% - 58vh);
    }

    40% {
        top: 48vh;
        left: calc(50% - 58vh);
    }

    60% {
        top: 48vh;
        left: calc(50% - 29vh);
    }

    100% {
        top: 120vh;
        left: calc(50% - 29vh);
    }
}

@keyframes maze-6 {
    0% {
        top: -10vh;
        left: calc(50% + 58vh);
    }

    30% {
        top: 32vh;
        left: calc(50% + 58vh);
    }

    50% {
        top: 32vh;
        left: calc(50% + 29vh);
    }

    100% {
        top: 120vh;
        left: calc(50% + 29vh);
    }
}

@keyframes maze-7 {
    0% {
        top: -10vh;
        left: calc(50% + 29vh);
    }

    20% {
        top: 16vh;
        left: calc(50% + 29vh);
    }

    40% {
        top: 16vh;
        left: calc(50% - 29vh);
    }

    60% {
        top: 64vh;
        left: calc(50% - 29vh);
    }

    100% {
        top: 120vh;
        left: calc(50% - 29vh);
    }
}

@keyframes maze-8 {
    0% {
        top: -10vh;
        left: 50%;
    }

    50% {
        top: 16vh;
        left: 50%;
    }

    70% {
        top: 16vh;
        left: calc(50% + 58vh);
    }

    100% {
        top: 120vh;
        left: calc(50% + 58vh);
    }
}

width: 100%;
}
}


.swiper-pagination-hero2 {
    position: absolute;
    rotate: 90deg;
    width: 250px !important;
    height: 10px !important;
    right: 0px;
    top: 50% !important;
    left: 90% !important;
}

.swiper-pagination-hero2 .swiper-pagination-bullet {
    width: 75px !important;
    height: 7px !important;
    border-radius: 0;
}


.swiper-pagination-hero2 .swiper-pagination-bullet-active {
    background: #9D2933 !important;
}

.blur-mask {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;

    mask: url(#topMask);
    -webkit-mask: url(#topMask);
}

.swiperhero2 svg {
    fill: #fff6f633 !important;
}

#header-desk-2 #logo {
    filter: invert(1);
}

#menu-desktop>ul>li {
    height: 100%;
}

#menu-desktop>ul>li>a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

#menu-desktop>ul>li>a::after {
    content: "";
    position: absolute;
    background-image: url('img/menu-hover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 90px;
    height: 10px;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0px);
    opacity: 0;
    transition: all 0.3s ease;
}

#menu-desktop>ul>li>a:hover::after {
    opacity: 1;
    transition: all 0.3s ease;
}

#menu-desktop>ul>li.menu-item-has-children>a::before {
    content: "";
    position: absolute;
    background-image: url('img/sub-menu-arrow.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 17px;
    height: 17px;
    top: 50%;
    transform: translateY(-50%);
    right: -22px;
}

#menu-desktop>ul>li.menu-item-has-children>a {
    margin-right: 5px;
}

#menu-desktop>ul>li.menu-item-has-children {
    position: relative;
}

#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu {
    content: "";
    position: absolute;
    width: 1050px;
    height: 490px;
    bottom: -265px;
    left: -550px;
    background-color: #FFF9ED;
    transition: all 0.3s ease;
    scale: 0;
    z-index: 10;
    display: flex;
    gap: 80px;
    padding: 40px;
    box-shadow: 0px 0px 12px #0000003d;
}

#menu-desktop>ul>li.menu-item-has-children:nth-child(2)>ul.sub-menu {
    content: "";
    position: absolute;
    width: 150px;
    bottom: -15px;
    left: -90%;
    transform: translateX(-50%);
    background-color: #FFF9ED;
    transition: all 0.3s ease;
    scale: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 21px;
    box-shadow: 0px 0px 12px #0000003d;
}

#menu-desktop>ul>li.menu-item-has-children:nth-child(2):hover>ul.sub-menu {
    bottom: -105px;
    left: 100%;
    scale: 1;
}

#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu::before {
    content: "";
    position: absolute;
    background-image: url('img/mega-back-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 0;
    bottom: 0;
    width: 270px;
    height: 220px;
    z-index: -1;
}

#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu::after {
    content: "";
    position: absolute;
    background-image: url('img/mega-back-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    right: 0;
    top: 0;
    width: 290px;
    height: 240px;
    z-index: -1;
}

#menu-desktop>ul>li.menu-item-has-children:first-child:hover>ul.sub-menu {
    scale: 1;
    bottom: -490px;
    left: -90px;
    transition: all 0.3s ease;
}

#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu>li.menu-item-has-children {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu>li.menu-item-has-children>.sub-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 12px;
}

#menu-desktop li .menu-item-has-children * {
    font-size: 16px !important;
    color: black;
}

#menu-desktop li .menu-item-has-children *:hover {
    color: #9D2933;
    transition: all 0.3s ease;
}

#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu>li.menu-item-has-children>.sub-menu span {
    font-family: 'Lato' !important;
}

#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu>li.menu-item-has-children>.sub-menu li::before {
    content: "";
    position: absolute;
    background-image: url('img/l-hover-mega.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 8px;
    height: 16px;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.5s ease;
}



#menu-desktop>ul>li.menu-item-has-children:nth-child(2) li {
    position: relative;
}

#menu-desktop>ul>li.menu-item-has-children:nth-child(2) li::before {
    content: "";
    position: absolute;
    background-image: url('img/l-hover-mega.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 8px;
    height: 16px;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.5s ease;
}

#menu-desktop>ul>li.menu-item-has-children:nth-child(2) li:hover::before {
    opacity: 1;
}

#menu-desktop>ul>li.menu-item-has-children:nth-child(2) li:hover {
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: #9D2933;
}

#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu>li.menu-item-has-children>.sub-menu li {
    position: relative;
}


#menu-desktop>ul>li.menu-item-has-children:first-child>ul.sub-menu>li.menu-item-has-children>.sub-menu li:hover::before {
    opacity: 1;
}

#menu-desktop>ul>li.menu-item-has-children>ul.sub-menu>li.menu-item-has-children>.sub-menu li:hover span {
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: #9D2933;
}

#menu-desktop>ul>li.menu-item-has-children>ul.sub-menu>li.menu-item-has-children>.sub-menu li:hover {
    transform: translateX(10px);
    transition: all 0.3s ease;
}


.mega-menu-care a {
    position: absolute;
    left: 40px;
    bottom: 40px;
    border: 1px solid rgba(51, 51, 51, 0.342);
    padding: 20px;
    width: 50%;
    text-align: start;
}

.mega-menu-care a span {
    color: #027E83;
}

.mega-menu-care a:hover span {
    color: #9D2933;
    transition: all 0.3s ease;
}

.mega-menu-care a::after {
    content: "";
    position: absolute;
    background-image: url('img/arrow-right.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 17px;
    height: 17px;
    top: 50%;
    transform: translateY(-50%);
    left: 190px;
}

.mega-menu-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('img/mega-menu-img.png');
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 390px;
    height: 260px;
}

.mega-menu-img * {
    color: #9d293300 !important;
}

.swiper-pagination-hero2 {
    right: -90px !important;
    left: unset !important;
}


div.products.row {
    row-gap: 60px;
}

.woocommerce-products-header h1 {
    font-size: 48px;
    position: relative;
    color: white;
}

.woocommerce-products-header h1::after {
    content: "";
    position: absolute;
    background-image: url('img/page-header-right.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 248px;
    height: 105px;
    top: -25%;
    right: -270px;
}

.woocommerce-products-header h1::before {
    content: "";
    position: absolute;
    background-image: url('img/page-header-left.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 248px;
    height: 105px;
    top: -25%;
    left: -270px;
}

.woocommerce-products-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Accordion Styles */
.accardion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Optional: Add an arrow if desired, or just keep it simple as requested */
/* For now, just ensuring it looks clickable */

/* Initially hide the Plus icon because the accordion starts Open */
#for-open {
    display: none;
}

/* Default closed state */
.accardion.ac-closed .accardion-body {
    display: none;
}

.accardion.ac-closed #for-open {
    display: block;
}

.accardion.ac-closed #for-close {
    display: none;
}


/* Custom Price Slider Styling */
.custom-price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #834648;
    cursor: pointer;
    margin-top: -10px;
    /* Adjust based on track height to center */
    pointer-events: auto;
    position: relative;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.custom-price-slider input[type="range"]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border: none;
    border-radius: 50%;
    background: #834648;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Min Handle - Right Arrow */
.custom-price-slider .range-min::-webkit-slider-thumb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23834648'/%3E%3Cpath d='M9 8L13 12L9 16' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.custom-price-slider .range-min::-moz-range-thumb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23834648'/%3E%3Cpath d='M9 8L13 12L9 16' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Max Handle - Left Arrow */
.custom-price-slider .range-max::-webkit-slider-thumb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23834648'/%3E%3Cpath d='M15 8L11 12L15 16' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.custom-price-slider .range-max::-moz-range-thumb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23834648'/%3E%3Cpath d='M15 8L11 12L15 16' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.custom-price-slider input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 100%;
}

.custom-price-slider input[type="range"]:focus {
    outline: none;
}

.custom-price-slider input[type=number]::-webkit-inner-spin-button,
.custom-price-slider input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-price-slider input[type=number] {
    -moz-appearanc: textfield;
}

.ajax_add_to_cart {
    background-color: #9d2933 !important;
    color: aliceblue !important;
    height: 100% !important;
    transition: all 0.3s ease;
}

.ajax_add_to_cart:hover {
    background-color: #892029 !important;
    transition: all 0.3s ease;
}

#add-to-cart-btn:hover a {
    background-color: #892029 !important;
    transition: all 0.3s ease;
}

#shop-top * {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-result-count {
    font-family: lato;
    color: #999999;
}

.woocommerce-ordering {
    display: flex;
}

.orderby {
    background: unset;
    color: black;
}

.orderby:focus {
    outline: none;
}

.woocommerce-breadcrumb .custom-delimiter:last-child {
    color: black !important;
}

.woocommerce-breadcrumb {
    margin: 0 !important;
    display: flex;
    align-items: center;
}







.gallery-slide .swiper-slide {
    height: 600px;
    padding: 20px 100px;
    background: white;
    border: 1px solid #E4D9BF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumb {
    display: flex;
    max-width: 568px;
    padding: 14px;
    margin: 0 !important;
    display: flex;
    align-items: center;
}


.gallery-thumb .swiper-slide {
    width: 142.5px;
    padding: 10px 25px;
    background-color: white;
    border: 1px solid #F1F1F1;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parent-thumbs-gallery {
    border: 1px solid #E4D9BF;
    margin-top: 15px;
    padding: 15px;
}

.summary.entry-summary .product_title {
    font-size: 24px;
    font-family: lato;
    font-weight: 600;
    color: black;
}

.summary.entry-summary {
    width: auto !important;
}

/* ========== Product Single Page Buttons Styles ========== */

/* Share Button Wrapper */
.share-button-wrapper {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button-wrapper:hover {
    background-color: #f5f5f5;
}

/* Share Dropdown */
.share-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 10px;
    z-index: 1000;
    min-width: 200px;
    border-radius: 4px;
}

.share-dropdown a {
    display: block;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.share-dropdown a:hover {
    background-color: #9d2933;
    color: #fff;
}

.share-dropdown .copy-link-button {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 8px 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: #333;
}

.share-dropdown .copy-link-button:hover {
    background-color: #9d2933;
    color: #fff;
    border-color: #9d2933;
}

/* Product Action Buttons (Wishlist & Compare) */
.add-to-wishlist-link,
.add-to-compare-link {
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.add-to-wishlist-link:hover,
.add-to-compare-link:hover {
    color: #9d2933;
}

.add-to-wishlist-link[style*="pointer-events: none"],
.add-to-compare-link[style*="pointer-events: none"] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Added State Styles */
.add-to-wishlist-link.added-to-wishlist,
.add-to-compare-link.added-to-compare {
    color: #9d2933;
    font-weight: bold;
}

/* Button Container Hover Effects */
.add-to-wishlist-link:hover svg path,
.add-to-compare-link:hover svg path {
    stroke: #9d2933;
}

#price-single p.price ins {
    text-decoration: none;
    color: #9d2933;
}

#price-single p.price del {
    position: absolute;
    top: -22px;
    right: -8px;
    font-size: 20px;
    color: #9d2933b0;
}

#price-single p.price {
    font-size: 28px;
    position: relative;
    font-family: lato;
}

.single_add_to_cart_button-cus {
    background-color: #9d2933 !important;
    font-family: lato;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    position: relative;
}

.summary.entry-summary .out-of-stock {
    display: none;
}

.woocommerce-breadcrumb::after {
    content: none !important;
}

.woocommerce-breadcrumb> :last-child {
    font-weight: bold;
}

.woocommerce-breadcrumb {
    font-family: 'Lato';
    font-size: 12px !important;
}

.summary.entry-summary .quantity {
    display: none;
}

.gallery-slide img {
    width: 100%;
}

.woocommerce-breadcrumb {
    color: #515151;
}

.pagination .page-numbers {
    display: flex;
    color: black;
    gap: 12px;
}

.pagination .page-numbers li a,
.pagination .page-numbers li span {
    padding: 10px 17px;
    background: #F7F1E4;
    font-family: lato;
}

.pagination .page-numbers li a:hover,
.pagination .page-numbers li span:hover {
    outline: 1px solid #9d2933;
}

.pagination .page-numbers li span.current {
    background-color: unset;
    outline: 1px solid #9d2933;
}

.pagination .page-numbers li a.prev,
.pagination .page-numbers li a.next {
    padding: 10px 25px;
    margin: 0px 24px;
}

#afra-head {
    position: relative;
}

#afra-head::after {
    content: "";
    position: absolute;
    background-image: url('img/head-after.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 248px;
    height: 105px;
    top: -70%;
    right: -280px;
}

#afra-head::before {
    content: "";
    position: absolute;
    background-image: url('img/head-before.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 248px;
    height: 105px;
    top: -70%;
    left: -280px;
}

#single-hr {
    height: 25px;
    width: 1.5px;
    background-color: rgba(157, 41, 51, 0.2);
    /* Slightly toned down version of theme red */
    margin-left: 12px;
    /* Perfect center for 25px width numbers */
    display: block;
    border: none;
    margin-top: -5px;
    margin-bottom: -5px;
}


/* Table of Contents Styles */
.toc-item.active-toc .toc-number,
.toc-item.active-toc .toc-text {
    color: #9D2933 !important;
}

.toc-item.active-toc .toc-number {
    transform: scale(1.1);
}

.toc-item:hover .toc-text {
    text-decoration: underline;
}

.toc-item {
    transition: all 0.3s ease;
}

.toc-line-wrapper {
    display: flex;
    justify-content: flex-start;
}

.summary.entry-summary {
    margin: 0;
}


/* My Account Navigation */

.woocommerce-MyAccount-navigation-link a:hover,
.woocommerce-MyAccount-navigation-link.is-active a {
    background: #F7F1E4;
}

.woocommerce-MyAccount-navigation-link a {
    display: block;
    padding: 15px 65px;
    font-size: 16px;
    font-family: 'Lato';
    position: relative;
}

.woocommerce-MyAccount-navigation-link.is-active a::after {
    content: "";
    position: absolute;
    background-image: url('img/dashbord-hover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 0;
    bottom: 50%;
    transform: translateY(50%);
    width: 15px;
    height: 100%;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "";
    position: absolute;
    background-image: url('img/dashboard-icon.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 35px;
    bottom: 50%;
    transform: translateY(50%);
    width: 24px;
    height: 24px;
    filter: opacity(0.6);
}

.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "";
    position: absolute;
    background-image: url('img/orders-icon.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 37px;
    bottom: 50%;
    transform: translateY(50%);
    width: 18px;
    height: 18px;
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "";
    position: absolute;
    background-image: url('img/address-icon.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 35px;
    bottom: 50%;
    transform: translateY(50%);
    width: 24px;
    height: 24px;
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "";
    position: absolute;
    background-image: url('img/account-icon.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 36px;
    bottom: 50%;
    transform: translateY(50%);
    width: 21px;
    height: 21px;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "";
    position: absolute;
    background-image: url('img/log-out-icon.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 36px;
    bottom: 50%;
    transform: translateY(50%);
    width: 21px;
    height: 21px;
}

.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    content: "";
    position: absolute;
    background-image: url('img/payment-icon.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 36px;
    bottom: 50%;
    transform: translateY(50%);
    width: 21px;
    height: 21px;
}

.woocommerce-MyAccount-navigation-link--wishlist a::before {
    content: "";
    position: absolute;
    background-image: url('img/wish-icon.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 36px;
    bottom: 50%;
    transform: translateY(50%);
    width: 21px;
    height: 21px;
}

.woocommerce-MyAccount-navigation-link--return a::before {
    content: "";
    position: absolute;
    background-image: url('img/return-icon.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    left: 36px;
    bottom: 50%;
    transform: translateY(50%);
    width: 21px;
    height: 21px;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.woocommerce-MyAccount-navigation-link--dashboard.is-active a::before {
    filter: unset
}

.woocommerce-MyAccount-navigation-link--wishlist.is-active a::before,
.woocommerce-MyAccount-navigation-link--return.is-active a::before,
.woocommerce-MyAccount-navigation-link--edit-address.is-active a::before,
.woocommerce-MyAccount-navigation-link--payment-methods.is-active a::before,
.woocommerce-MyAccount-navigation-link--edit-account.is-active a::before,
.woocommerce-MyAccount-navigation-link--orders.is-active a::before {
    filter: brightness(0);
}



/* -------- */



#add_payment_method table.cart .product-thumbnail,
.woocommerce-cart table.cart .product-thumbnail,
.woocommerce-checkout table.cart .product-thumbnail {
    width: 100px;
}

.woocommerce-cart-form__contents .product-thumbnail img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.woocommerce table.shop_table {
    border: unset;
    margin: 0 -1px 24px 0;
    text-align: center;
    width: 100%;
    border-collapse: unset;
    border-radius: unset;
}


.woocommerce-cart-form__contents tr>td.product-quantity {
    padding: 70px 0;
}

/* New Quantity Box Design */
.woocommerce .quantity .quantity-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Gap between boxes */
    justify-content: center;
}

.woocommerce .quantity .qty-btn {
    display: block;
    width: 32px;
    height: 48px;
    border: 1px solid #D9D9D9;
    background: transparent;
    color: #161616;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 46px;
    transition: all 0.2s;
}

.woocommerce .quantity .qty-btn:hover {
    background-color: #F9F9F9;
    border-color: #A0A0A0;
}

.woocommerce .quantity input.qty {
    width: 60px;
    height: 48px;
    border: 1px solid #D9D9D9;
    background: transparent;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #161616;
    padding: 0;
}

/* Hide spin buttons */
.woocommerce .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce .quantity {
    scale: 0.8;
}

th.product-quantity {
    padding-left: 20px;
}

.woocommerce td.product-name {
    width: 270px;
}

/* Price Styling in Cart */


.woocommerce-cart-form .product-price del .amount {
    display: block;
    font-size: 16px;
    color: #727272;
    text-decoration: line-through;
    opacity: 0.7;
    font-family: 'Lato', sans-serif;
    margin-bottom: 6px;
}

.woocommerce-cart-form .product-subtotal>.amount,
.woocommerce-cart-form .product-price>.amount,
.woocommerce-cart-form .product-price ins {
    display: block;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
}

.wp-block-woocommerce-cart-line-items-block * {
    font-family: 'Lato', sans-serif;
}

.woocommerce-cart-form .product-subtotal>.amount * {
    color: #9D2933 !important;
}

.shop_table td.product-name,
.shop_table th.product-name {
    text-align: start;
}

.coupon-btn {
    border: 1px solid black !important;
}

.cart_totals * {
    border: unset !important;
}

.cart_totals th {
    text-align: start !important;
    padding-left: 0 !important;
}

.cart_totals td {
    text-align: end !important;
    padding-right: 0 !important;
}

.cart_totals th {
    color: #727272 !important;
    font-size: 16px !important;
}

.cart_totals td * {
    font-weight: bold;
}

.checkout-button {
    font-size: 16px !important;
    background-color: #9d2933 !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    margin: 0 !important;
}


.wp-block-woocommerce-empty-cart-block {
    display: none;
}

.woocommerce a.remove {
    background-image: url('img/cart-delete.svg');
    color: #ffffff00 !important;
    height: 32px;
    width: 32px;
    border-radius: unset;
    font-size: 1.8em;
}

.shop_table thead * {
    font-weight: 400 !important;
}

.shop_table thead th {
    padding-bottom: 20px !important;
}

.woocommerce-checkout * {
    color: black;
    font-family: 'Lato', sans-serif;
}

.woocommerce-form-register p,
.woocommerce-form-login p,
.woocommerce-EditAccountForm p,
.woocommerce-additional-fields p,
.woocommerce-billing-fields__field-wrapper p {
    position: relative !important;
}

.woocommerce-form-register p input,
.woocommerce-form-login p input,
.woocommerce-EditAccountForm p input,
.woocommerce-additional-fields p input,
.woocommerce-billing-fields__field-wrapper p input {
    background: unset !important;
    border-radius: 0 !important;
}

.woocommerce-form-register p label,
.woocommerce-form-login p label,
.woocommerce-EditAccountForm p label,
.woocommerce-additional-fields p label,
.woocommerce-billing-fields__field-wrapper p label {
    position: absolute !important;
    top: -20px !important;
    left: 20px !important;
    padding: 0 5px !important;
    background-color: #fffcf6 !important;
    z-index: 2 !important;
}

.woocommerce-EditAccountForm p label {
    background-color: #ffffff !important;
}

.woocommerce-EditAccountForm fieldset p label {
    background-color: #F7F1E4 !important;
}

.woocommerce-billing-fields__field-wrapper span.selection .select2-selection {
    border-radius: 0 !important;
    background: unset !important;
}

.woocommerce-billing-fields__field-wrapper span.selection .select2-selection:focus {
    border-radius: 0 !important;
}

.woocommerce form .form-row {
    padding: 3px;
    margin: 0px 0 30px;
}

.woocommerce-billing-fields h3 {
    margin-bottom: 40px !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}

.woocommerce-additional-fields .notes textarea.input-text {
    background: unset !important;
    border-radius: 0 !important;
}

.woocommerce-additional-fields h3 {
    margin-bottom: 30px !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-top: 20px !important;
}

.woocommerce-checkout-review-order-table thead {
    display: none;
}

.woocommerce-checkout-review-order-table tfoot tr th:first-child,
.woocommerce-checkout-review-order-table tbody tr td:first-child {
    padding-left: 0 !important;
    text-align: start !important;
    padding: 20px 0 !important;
    width: 60% !important;
}

.woocommerce-checkout-review-order-table tfoot tr td:last-child,
.woocommerce-checkout-review-order-table tbody tr td:last-child {
    padding-right: 0 !important;
    text-align: end !important;
}

.woocommerce-checkout-review-order-table tfoot tr td:last-child *,
.woocommerce-checkout-review-order-table tbody tr td:last-child * {
    font-weight: 500 !important;
    font-size: 20px !important;
}

.woocommerce-info {
    border-top: 1px solid #9d2933;
    margin-top: 30px;
}

.order-total .amount * {
    color: #9D2933 !important;
}

.woocommerce-info::before {
    color: #9d2933 !important;
}

.woocommerce-privacy-policy-link {
    color: #027E83;
    text-decoration: underline;
}

#place_order {
    margin-top: 30px !important;
    width: 100% !important;
    border-radius: 0 !important;
    background: #9d2933 !important;
}

.woocommerce-form-coupon-toggle {
    display: none !important;
}

.woocommerce-orders-table * {
    font-family: 'Lato', sans-serif !important;
}

.woocommerce-orders-table__cell-order-actions a {
    background-color: unset !important;
    color: #9d2933 !important;
    position: relative;
    padding: 20px 15px !important;
}

.woocommerce-orders-table__cell-order-actions a::after {
    content: "";
    background-image: url("img/right-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.woocommerce-orders-table__cell-order-actions a:hover::after {
    right: -10px;
}

.woocommerce-Addresses {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: start;
    align-items: start;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    gap: 40px;
}

.woocommerce-Addresses a {
    background: #9d2933;
    color: white;
    padding: 5px 15px;
}

.woocommerce-message {
    border-top-color: #9d2933 !important;
}

.woocommerce-message::before {
    content: "\e015";
    color: #9d2933 !important;
}

.woocommerce-EditAccountForm * {
    font-family: 'Lato', sans-serif !important;
}

.woocommerce-EditAccountForm {
    margin: 30px 0;
}

.woocommerce-EditAccountForm fieldset legend {
    position: absolute;
    top: 17px;
}

.woocommerce-EditAccountForm fieldset {
    background: #F7F1E4;
    padding: 20px 20px;
    position: relative;
    padding-top: 90px;
    margin-bottom: 35px;
}

.woocommerce-EditAccountForm>p:last-child {
    display: flex;
    justify-content: end;
}

.woocommerce-EditAccountForm>p:last-child button:hover {
    background-color: #83222a;
    color: white;
}

.woocommerce-EditAccountForm>p:last-child button {
    padding: 10px 40px;
    background: #9d2933;
    color: white;
    border-radius: 0;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: unset;
    padding: 0;
    margin: 2em 0;
    border-radius: 0;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    position: absolute !important;
    top: unset !important;
    bottom: -10px;
    left: 0 !important;
}

p.woocommerce-LostPassword {
    position: absolute !important;
    right: 0;
    bottom: -10px;
}

.woocommerce-form-register__submit,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    float: unset;
    margin-right: unset !important;
    width: 100%;
    background-color: #9d2933 !important;
    color: white !important;
    border-radius: unset !important;
}

.woocommerce-EditAccountForm fieldset p {
    margin-top: 25px !important;
}

.woocommerce-form-register__submit:hover,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover {
    background-color: #892029 !important;
    color: white !important;
    border-radius: unset !important;
}

.woocommerce .woocommerce-form-login .form-row-cus {
    position: static !important;
}

.woocommerce .woocommerce-form-login {
    position: relative !important;
}

.woocommerce-form-row--wide {
    margin-bottom: 10px !important;
}

.woocommerce-EditAccountForm>p.form-row-wide:last-child {
    margin-top: 20px !important;
}

.woocommerce-form-login>p {
    margin-top: 30px !important;
}

.woocommerce-privacy-policy-text p {
    font-family: lato;
    font-weight: 400;
    color: #0000007a;
    font-size: 14px;
    margin-top: 20px;
}

.swiper-pagination-sizeguide .swiper-pagination-bullet {
    border-radius: 0 !important;
}

.swiper-pagination-sizeguide .swiper-pagination-bullet-active {
    background-color: black !important;
}

.woocommerce-breadcrumb {
    display: flex;
    gap: 10px;
}

.woocommerce-breadcrumb::before {
    content: unset !important;
}

.tab-active {
    color: #9D2933 !important;
}

.woocommerce form .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection {
    border-color: #7ad03a00;
}

.woocommerce-billing-fields__field-wrapper span.selection .select2-selection {
    border: unset !important;
    margin-top: -10px !important;
}

.woocommerce-address-fields__field-wrapper .select2-selection--single {
    border: unset !important;
    background: unset !important;
    margin-top: -10px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    margin: -15px 0 0 !important;
}

.woocommerce form .form-row label {
    color: #727272;
}

.woocommerce-MyAccount-content * {
    font-family: 'lato', 'sans-serif';
}

.dashboard-head,
.dashboard-head * {
    font-family: 'Cormorant Garamond';
}

.mobile-nav * {
    color: black;
    transition: all .3s ease-in-out !important;
}

/* Mobile Menu Styles */
#mobile-sidebar {
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}

#mobile-sidebar.open {
    transform: translateX(0);
}

#mobile-menu-overlay.show {
    display: block;
    opacity: 1;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-list li a {
    display: block;
    padding: 15px 0;
    color: #000;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu-list li a:hover {
    color: #9d2933;
}

/* Submenu toggle styles */
.mobile-menu-list .menu-item-has-children {
    position: relative;
}

.mobile-menu-list .menu-item-has-children>a {
    padding-right: 40px;
}

.mobile-menu-list .menu-item-has-children::after {
    content: "";
    position: absolute;
    right: 0;
    background-image: url('img/arrw-dwn.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.mobile-menu-list .menu-item-has-children.active::after {
    rotate: 180deg;
    top: 0;
}

.mobile-menu-list .sub-menu {
    list-style: none;
    padding-left: 15px;
    display: none;
    padding-bottom: 10px;
}

.mobile-menu-list .menu-item-has-children.active>.sub-menu {
    display: block;
}

/* Icons for leaf items (links without submenus) */
.mobile-menu-list li:not(.menu-item-has-children)>a {
    position: relative;
    padding-right: 40px;
}

.mobile-menu-list .menu-item-has-children li:not(.menu-item-has-children)>a::after {
    content: "arrow_forward";
    font-family: "Material Symbols Outlined";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.8;
}




.mobile-menu-list li.menu-item-has-children.active {
    background-color: transparent;
}

.mobile-menu-list li.menu-item-has-children.active>a {
    color: #9d2933;
}

@media screen and (max-width: 768px) {

    .mega-menu-img,
    .mega-menu-care {
        display: none !important;
    }
}

.mobile-menu-list>li.menu-item>a {
    font-family: 'lato', sans-serif;
}

.mobile-menu-list li.menu-item-has-children ul.sub-menu ul.sub-menu * {
    font-family: 'lato', sans-serif !important;
    font-size: 14px !important;
}

.mobile-menu-list li {
    transition: all .3s ease-in-out !important;
}

/* Mini Cart Redesign */
.woocommerce-mini-cart-item img {
    width: 6rem !important;
    height: 6rem !important;
    object-fit: cover !important;
}

.woocommerce-mini-cart-item .remove_from_cart_button {
    font-size: 1.25rem !important;
    line-height: 1 !important;
}

.woocommerce-mini-cart__footer .view-cart-btn:hover,
.woocommerce-mini-cart__footer .checkout-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.woocommerce-mini-cart-item .variation dt,
.woocommerce-mini-cart-item .variation dd {
    display: inline-block;
    font-size: 0.75rem;
    color: #666;
    margin: 0;
}

.woocommerce-mini-cart-item .variation dt {
    font-weight: bold;
    margin-right: 4px;
}

.woocommerce-mini-cart-item .variation dd p {
    margin: 0;
}

#cart-sidebar.cart-open {
    transform: translateX(0);
}

#cart-overlay.cart-show {
    display: block !important;
    opacity: 1 !important;
}

#cart-side * {
    font-family: 'lato', sans-serif;
}

.woocommerce-mini-cart__buttons .checkout-btn {
    background: #9d2933 !important;
    color: white !important;
    border-radius: 0 !important;
}

.woocommerce-mini-cart__buttons .view-cart-btn {
    background: unset !important;
    border: 1px solid black !important;
    border-radius: unset !important;
}

.mini-cart-thumbnail img {
    width: 100% !important;
    height: 100% !important;
}

.woocommerce a.remove:hover {
    padding: 5px;
}

/* Mobile Cart Redesign */
@media screen and (max-width: 768px) {

    /* Hide Table Header */
    .woocommerce-cart-form__contents thead {
        display: none !important;
    }

    /* Cart Item Card Container */
    .woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item {
        display: block !important;
        border: 1px solid #E4D9BF !important;
        background-color: #fff !important;
        margin-bottom: 20px !important;
        position: relative !important;
        padding: 15px !important;
        border-radius: 0 !important;
    }

    /* Clearfix for the container */
    .woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item::after {
        content: "";
        display: table;
        clear: both;
    }

    /* Remove Button - Absolute Positioning */
    .woocommerce-cart-form__contents td.product-remove {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        width: auto !important;
        padding: 0 !important;
        border: none !important;
        z-index: 10 !important;
    }

    .woocommerce-cart-form__contents td.product-remove a.remove {
        border: 1px solid #027E83 !important;
        color: #027E83 !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 20px !important;
        line-height: 22px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
        background: transparent !important;
        text-decoration: none !important;
    }

    .woocommerce-cart-form__contents td.product-remove a.remove:hover {
        color: #9D2933 !important;
        border-color: #9D2933 !important;
        background: transparent !important;
    }

    /* Thumbnail - Float Left */
    .woocommerce-cart-form__contents td.product-thumbnail {
        display: block !important;
        float: left !important;
        width: 30% !important;
        margin-right: 4% !important;
        padding: 0 !important;
        border: none !important;
    }

    .woocommerce-cart-form__contents td.product-thumbnail img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Product Name - Float Right */
    .woocommerce-cart-form__contents td.product-name {
        display: block !important;
        float: right !important;
        width: 66% !important;
        padding: 0 !important;
        padding-right: 30px !important;
        /* Space for remove button */
        border: none !important;
        text-align: left !important;
    }

    .woocommerce-cart-form__contents td.product-name a {
        font-size: 14px !important;
        margin-bottom: 5px !important;
        display: block !important;
    }

    /* Product Price - Float Right under Name */
    .woocommerce-cart-form__contents td.product-price {
        display: block !important;
        float: right !important;
        width: 66% !important;
        clear: right !important;
        /* Ensure it drops below name */
        padding: 0 !important;
        border: none !important;
        text-align: right !important;
        margin-top: 5px !important;
        margin-bottom: 15px !important;
    }

    .woocommerce-cart-form__contents td.product-price .amount {
        font-weight: normal !important;
        color: #161616 !important;
        font-size: 14px !important;
    }

    .mobile-qty-count {
        font-size: 14px !important;
        color: #666 !important;
    }

    /* Bottom Row - Quantity and Subtotal */
    .woocommerce-cart-form__contents td.product-quantity {
        display: flex !important;
        float: left !important;
        width: 50% !important;
        clear: both !important;
        /* Start new row */
        border: none !important;
        border-top: 1px solid #F7F1E4 !important;
        padding: 15px 0 0 0 !important;
        justify-content: flex-start !important;
        align-items: center !important;
        margin-top: 10px !important;
    }

    .woocommerce-cart-form__contents td.product-subtotal {
        display: flex !important;
        float: left !important;
        width: 50% !important;
        border: none !important;
        border-top: 1px solid #F7F1E4 !important;
        padding: 15px 0 0 0 !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 5px !important;
        margin-top: 10px !important;
    }

    .woocommerce-cart-form__contents td.product-subtotal .amount {
        color: #9D2933 !important;
        font-weight: bold !important;
        font-size: 18px !important;
    }

    .mobile-subtotal-label {
        font-size: 14px !important;
        color: #666 !important;
        font-family: 'Lato', sans-serif !important;
    }

    /* Quantity Input Styling */
    .woocommerce .quantity .quantity-input-wrapper {
        gap: 0 !important;
        margin: 0 !important;
    }

    .woocommerce .quantity {
        scale: 1 !important;
        margin: 0 !important;
    }

    .woocommerce .quantity .qty-btn {
        width: 32px !important;
        height: 32px !important;
        line-height: 30px !important;
        font-size: 16px !important;
    }

    .woocommerce .quantity input.qty {
        width: 40px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item .product-remove {
        top: -5px !important;
        right: -5px !important;
        background: white !important;
    }

    .woocommerce-cart-form__cart-item td::before {
        content: unset !important;
    }


    .woocommerce-cart-form__contents td.product-price ins .amount {
        font-size: 16px !important;
        font-weight: bold !important;
    }

    .woocommerce-cart-form__contents td.product-subtotal>span.woocommerce-Price-amount {
        font-size: 20px !important;
    }

    .woocommerce-cart-form__cart-item .product-name a {
        text-align: start !important;
    }

    .woocommerce-cart-form__cart-item td.product-price {
        margin: 0 !important;
    }

    tr.woocommerce-cart-form__cart-item {
        background-color: unset !important;
    }

    .woocommerce-cart-form__contents td.product-price>span.woocommerce-Price-amount {
        font-weight: bold !important;
        font-size: 16px !important;
        margin-top: 25px;
    }
}

/* Return Page Styles - Redesigned */
.return-page-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    font-family: 'Lato', sans-serif;
    color: #333;
}

.return-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.return-description p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.read-policy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px 25px;
    border: 1px solid #b3404a;
    color: #b3404a !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: capitalize;
    background: transparent;
}

.read-policy-btn:hover {
    background-color: #b3404a;
    color: #fff !important;
}

.return-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.return-form-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
}

.return-form-subtitle {
    font-size: 14px;
    color: #333;
    margin-bottom: 35px;
}

/* Fieldset Styles */
.return-fieldset {
    border: 1px solid #999;
    padding: 0;
    margin-bottom: 25px;
    position: relative;
    background: white;
}

.return-fieldset legend {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 10px;
    margin-left: 10px;
    font-weight: 400;
}

.return-fieldset legend .required {
    color: #b3404a;
    margin-left: 3px;
}

/* Photo Upload Field */
.return-fieldset .photo-upload-container {
    border: 1px dashed #999;
    margin: 15px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.return-fieldset .photo-upload-container:hover {
    border-color: #666;
}

.upload-btn {
    background: transparent;
    border: 1px solid #14b8a6;
    color: #14b8a6;
    padding: 8px 25px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: #14b8a6;
    color: white;
}

.upload-hint {
    font-size: 12px;
    color: #888;
    margin: 10px 15px 15px;
    text-align: center;
}

#uploaded-files-preview {
    display: flex;
    gap: 10px;
    margin: 10px 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.preview-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Textarea Field */
.return-fieldset textarea {
    width: 100%;
    min-height: 120px;
    border: none;
    padding: 15px;
    font-family: 'Lato', sans-serif;
    resize: vertical;
    outline: none;
    font-size: 14px;
    color: #333;
}

.return-fieldset textarea::placeholder {
    color: #999;
}

/* Select/Dropdown Field */
.return-fieldset select {
    width: 100%;
    padding: 15px;
    border: none;
    outline: none;
    background: white;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.return-fieldset select:focus {
    border-color: #666;
}

.return-fieldset select option {
    padding: 10px;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 35px;
    border: 1px solid #999;
    background: transparent;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    text-transform: none;
    color: #333;
    font-size: 14px;
    letter-spacing: 0;
    font-weight: 500;
    cursor: pointer;
}

/* Submit Button */
.submit-return-btn {
    background-color: #9f2b36;
    color: white;
    padding: 12px 50px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.submit-return-btn:hover {
    background-color: #80222b;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

/* Addresses Page Styles */
.addresses-page-container {
    font-family: 'Lato', sans-serif;
    padding: 20px 0;
}

.addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.addresses-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
}

.addresses-description {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.add-address-btn,
.add-address-btn-center {
    background-color: #9f2b36;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.add-address-btn:hover,
.add-address-btn-center:hover {
    background-color: #80222b;
}

.plus-icon {
    font-size: 20px;
    font-weight: 700;
}

/* Addresses Grid */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.address-card {
    border: 1px solid #E4D9BF;
    background: white;
    padding: 25px;
    transition: box-shadow 0.3s;
}

.address-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.address-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.address-type svg {
    width: 24px;
    height: 24px;
    color: #333;
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.address-label {
    font-size: 13px;
    color: #666;
    min-width: 120px;
    flex-shrink: 0;
}

.address-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

/* Empty State */
.addresses-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Address Modal */
.address-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.address-modal.active {
    display: block;
}

.address-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.address-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
}

/* Payment Methods Page Custom Styles */
.payment-method-card {
    transition: all 0.3s ease;
    border-radius: 4px;
}

.payment-method-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Slightly lighter overlay */
    display: none !important;
    /* Force hide by default */
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
    /* Subtle blur */
}

.payment-modal-overlay.active {
    display: flex !important;
}

.payment-modal-content {
    background: #FFF;
    /* White background as per Image 0 */
    width: 95%;
    max-width: 500px;
    /* Narrower width */
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
    font-weight: 400 !important;
    font-family: 'Lato', sans-serif !important;
    /* Designer used Lato for titles in modal */
    font-size: 18px !important;
    color: #161616;
}

.form-info-box {
    background: #F5F5F5;
    border-radius: 2px;
}

/* Stripe Field Refinement to match legend style */
.wc-stripe-elements-field,
.wc-stripe-iban-element-field {
    border: 1px solid #1616164d !important;
    padding: 15px !important;
    border-radius: 0 !important;
    background: transparent !important;
    position: relative;
}

/* Fake legend effect using pseudo-elements for Stripe Gateway */
/* Note: Since we can't easily wrap individual inputs inside Stripe Element, 
   we style the container and use JS or CSS to add labels on border */

.payment-modal-content .payment_method_stripe label[for^="payment_method_stripe"] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #161616;
}

/* Target specific WooCommerce form rows if they are present */
.payment-modal-content .form-row {
    margin-bottom: 20px;
}

.payment-modal-content button#place_order {
    background: #A6303B !important;
    /* Darker red from Image 0 */
    border-radius: 2px;
    text-transform: none;
    font-weight: 500;
}

/* Empty State adjustment */
.empty-payment-methods p {
    font-size: 20px !important;
    color: #757575 !important;
    font-family: 'Lato', sans-serif !important;
}

/* Responsive */
@media (max-width: 768px) {
    .addresses-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .addresses-grid {
        grid-template-columns: 1fr;
    }

    .address-modal-content {
        padding: 25px;
        width: 95%;
    }

    .payment-method-card {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .method-actions {
        width: 100%;
        justify-content: space-between;
    }

    .gallery-slide .swiper-slide {
        height: unset !important;
        padding: 10px 50px;
    }

    .gallery-thumb .swiper-slide {
        padding: 5px 5px;
        height: 65px;
    }

    h1.product_title {
        font-size: 20px;
        font-family: lato;
        font-weight: 600;
        color: black;
        margin-bottom: 30px;
    }

    #price-single p.price del {
        top: -14px;
        right: 50%;
        transform: translateX(50%);
        font-size: 16px;
    }

    #price-single p.price {
        font-size: 24px;
    }

    .woocommerce-products-header h1 {
        font-size: 32px;
    }

    .woocommerce-products-header h1::after {
        width: 80px;
        height: 34px;
        top: 10%;
        right: -90px;
    }

    .woocommerce-products-header h1::before {
        width: 80px;
        height: 34px;
        top: 10%;
        left: -90px;
    }

    #afra-head::after {
        width: 58px !important;
        height: 25px !important;
        top: 15% !important;
        right: -68px !important;
    }

    #afra-head::before {
        width: 58px !important;
        height: 25px !important;
        top: 15% !important;
        left: -68px !important;
    }

}

/* Address Type Selection Radio Buttons */
.address-type-selection {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.address-type-selection .form-row {
    margin: 10px 0 !important;
}

.address-type-selection label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    font-weight: 400;
}

.address-type-selection input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #333;
}

.save-address-btn {
    background-color: #9f2b36 !important;
    color: white !important;
    padding: 12px 40px !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: capitalize !important;
    width: 100%;
    margin-top: 10px !important;
}

.save-address-btn:hover {
    background-color: #80222b !important;
}


/* Address Actions Buttons */
.address-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.edit-address-btn,
.delete-address-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid;
    text-decoration: none;
}

.edit-address-btn {
    background: white;
    color: #333;
    border-color: #ddd;
}

.edit-address-btn:hover {
    background: #f5f5f5;
    border-color: #333;
    color: #333;
}

.delete-address-btn {
    background: white;
    color: #d32f2f;
    border-color: #d32f2f;
}

.delete-address-btn:hover {
    background: #d32f2f;
    color: white;
}

.edit-address-btn svg,
.delete-address-btn svg {
    width: 16px;
    height: 16px;
}

.edit-address-btn {
    display: none !important;
}

.woocommerce-products-header .term-description {
    display: none !important;
}

.woocommerce-breadcrumb {
    flex-wrap: wrap;
}

.filter-mobile-set {
    position: fixed !important;
    width: 100% !important;
    bottom: 0px !important;
    left: 0 !important;
    z-index: 20 !important;
    top: 0 !important;
    background: #FFFCF6 !important;
    overflow: scroll !important;
    margin-top: 140px !important;
    box-shadow: 0px -320px 480px #0000009c;
    display: block !important;
}

.page-top #afra-head::after {
    content: "";
    position: absolute;
    background-image: url('img/page-head-after.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 248px;
    height: 105px;
    top: -70%;
    right: -280px;
}

.page-top #afra-head::before {
    content: "";
    position: absolute;
    background-image: url('img/page-head-before.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 248px;
    height: 105px;
    top: -70%;
    left: -280px;
}


.afra-contact-form__card {
    background: #ffffff57;
    border: 1px solid #e4d9bf;
    padding: 34px 28px 28px;
}

.afra-contact-form__title {
    text-align: center;
    font-family: "Cinzel", serif;
    font-size: 28px;
    color: #1b1b1b;
    margin-bottom: 26px;
}

.afra-contact-form__field {
    position: relative;
    margin-bottom: 35px;
}

.afra-contact-form__label {
    position: absolute;
    top: -9px;
    left: 14px;
    z-index: 2;
    display: inline-block;
    font-family: "Lato", sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: none;
    color: #6d6d6d;
    background: #fffdf9;
    padding: 0 10px;
    margin: 0;
    line-height: 1;
    pointer-events: none;
}

.afra-contact-form__input,
.afra-contact-form__select,
.afra-contact-form__textarea {
    width: 100%;
    border: 1px solid #9a9a9a;
    background: transparent;
    padding: 12px 14px;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    color: #1b1b1b;
    outline: none;
    border-radius: 0;
}

.afra-contact-form__textarea {
    min-height: 220px;
    resize: none;
}

.afra-contact-form__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #3b3b3b 50%),
        linear-gradient(135deg, #3b3b3b 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.afra-contact-form__input:focus,
.afra-contact-form__select:focus,
.afra-contact-form__textarea:focus {
    border-color: #6f6f6f;
}

.afra-contact-form__attach {
    border: 1px solid #9a9a9a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    gap: 12px;
    margin-top: 10px;
}

.afra-contact-form__attach-label {
    font-family: "Lato", sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #3b3b3b;
    white-space: nowrap;
}

.afra-contact-form__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.afra-contact-form__file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b8aa3;
    color: #2b8aa3;
    background: transparent;
    padding: 7px 18px;
    font-family: "Lato", sans-serif;
    font-size: 12px;
    cursor: pointer;
}

.afra-contact-form__submit {
    display: block;
    margin: 20px 0 0 auto;
    background: #9d2933;
    color: #ffffff;
    border: none;
    padding: 10px 44px;
    font-family: "Lato", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .afra-contact-form__card {
        padding: 26px 18px 20px;
    }

    .afra-contact-form__title {
        font-size: 24px;
    }

    .afra-contact-form__textarea {
        min-height: 180px;
    }
}

.parent-active {
    border: 1px solid #9D2933 !important;
    background-color: #FFFCF6 !important;
}

/* Add to Cart Button Logic */
/* Hide SVG when product is added */
.add-to-cart-container:has(.added) svg {
    display: none !important;
}

/* Hide original 'Add to Cart' link when added */
.add-to-cart-container .add_to_cart_button.added {
    display: none !important;
}

/* Show and style 'View Cart' link */
.add-to-cart-container .added_to_cart {
    color: white !important;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    display: flex !important;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}


/* Compare Button Styles */
.add-to-compare-link.added svg path {
    stroke: #9D2933;
    fill: #9D2933;
}

.add-to-compare-link.loading {
    opacity: 0.5;
    pointer-events: none;
}

.view-details-overlay {
    bottom: -50px !important;
    width: 90% !important;
    transition: all 0.3s ease !important;
}

.product-image-wrapper:hover .view-details-overlay {
    bottom: 20px !important;
}



@media screen and (min-width: 768px) {
    .product-remove-btn {
        top: -20px !important;
        left: 20px !important;
        transform: unset !important;
    }

    .product-image-wrapper {
        max-height: 450px !important;
    }
}

.compare-table-container * {
    font-family: "Lato", sans-serif !important;
}

.compare-table-container .sku-label *,
.compare-table-container .description-text * {
    color: #000 !important;
}

.compare-table-container .product-remove-btn *,
.compare-table-container .availability-badge * {
    font-family: 'Material Symbols Outlined' !important;
}

span.product-price-val>span,
span.product-price-val ins {
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-left: 5px !important;
}

.woocommerce-cart-form__cart-item .product-thumbnail a {
    display: block;
    max-height: 105px !important;
}

/* Minicart Scroll Fix */
#cart-sidebar .widget_shopping_cart_content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#cart-sidebar .woocommerce-mini-cart {
    flex: 1;
    overflow-y: auto !important;
    padding-bottom: 20px !important;
    /* Remove the huge margin-bottom and use padding instead if needed, 
       but let's first ensure it can scroll */
    margin-bottom: 0 !important;
}

#cart-sidebar .woocommerce-mini-cart::-webkit-scrollbar {
    width: 4px;
}

#cart-sidebar .woocommerce-mini-cart::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#cart-sidebar .woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: #9D2933;
    border-radius: 10px;
}

.mini-cart-thumbnail a {
    display: block;
    max-height: 140px !important;
    overflow: hidden !important;
}

.size-guide-single {
    position: fixed;
    top: 150px;
    bottom: 0;
    background: white;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    overflow: auto;
}

@media screen and (max-width:767px) {

    .size-guide-single {
        top: 100px;
    }
}

.size-guide-single.close {
    top: 5000px;
}

.text-primary-all * {
    color: #9D2933;
}

/* Responsive Orders Table */
@media screen and (max-width: 991px) {

    table.woocommerce-orders-table,
    .woocommerce-orders-table {
        display: block !important;
        width: 100% !important;
        border: none !important;
    }

    .woocommerce-orders-table thead {
        display: none !important;
    }

    .woocommerce-orders-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-orders-table tr {
        display: block !important;
        margin-bottom: 25px !important;
        background: #fffbf5 !important;
        border: 1px solid #d4c4a1 !important;
        padding: 24px !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .woocommerce-orders-table tbody td,
    .woocommerce-orders-table tbody th {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        text-align: right !important;
        border: none !important;
        padding: 12px 0 !important;
        font-family: 'Lato', sans-serif !important;
        font-size: 15px !important;
        color: #000 !important;
        line-height: 1.4 !important;
        font-weight: normal !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 20px !important;
    }

    .woocommerce-orders-table tbody td::before,
    .woocommerce-orders-table tbody th::before {
        content: attr(data-title) !important;
        float: left !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        font-size: 13px !important;
        color: #1a1a1a !important;
        font-family: 'Lato', sans-serif !important;
        padding-right: 15px !important;
        min-width: 100px !important;
        text-align: left !important;
        display: block !important;
    }

    /* Override Labels specific cells if needed */
    .woocommerce-orders-table__cell-order-number::before,
    .woocommerce-orders-table tbody tr th:first-child::before,
    .woocommerce-orders-table tbody tr td:first-child::before {
        content: "ORDER ID" !important;
    }

    .woocommerce-orders-table__cell-order-total::before {
        content: "TOTAL PRICE" !important;
    }

    /* Order Number Value */
    .woocommerce-orders-table__cell-order-number a,
    .woocommerce-orders-table tbody tr th:first-child a,
    .woocommerce-orders-table tbody tr td:first-child a {
        font-weight: 500 !important;
        color: #008B96 !important;
        font-size: 16px !important;
        text-decoration: none !important;
    }

    /* Date */
    .woocommerce-orders-table__cell-order-date {
        color: #333 !important;
    }

    /* Total Price Value - BOLD */
    .woocommerce-orders-table__cell-order-total {
        font-weight: 700 !important;
    }

    .woocommerce-orders-table__cell-order-total .amount {
        font-weight: 700 !important;
        color: #000 !important;
    }

    /* Status */
    .woocommerce-orders-table__cell-order-status {
        color: #333 !important;
    }

    /* Actions Row */
    .woocommerce-orders-table__cell-order-actions {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 5px !important;
    }

    .woocommerce-orders-table__cell-order-actions::before {
        display: block !important;
        content: "ACTIONS" !important;
    }

    .woocommerce-orders-table__cell-order-actions a.button.view {
        background-color: transparent !important;
        color: #9D2933 !important;
        border: none !important;
        padding: 0 !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-weight: 500 !important;
        text-transform: none !important;
        font-size: 14px !important;
        padding-right: 15px !important;
    }


    .woocommerce-orders-table__cell-order-actions a.button.pay {
        margin-right: 10px !important;
    }

    .woocommerce-orders-table__cell-order-number {
        display: flex !important;
        justify-content: space-between !important;
        border: unset !important;
        padding: 12px 0 !important;
    }

    .woocommerce-orders-table__cell-order-action a.woocommerce-button.view {
        padding-right: 15px !important;
    }

    .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
    .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
        background-color: unset;
    }
}

p.in-stock {
    display: none;
}


@media (prefers-reduced-motion: no-preference) {
    .about-us-animated img {
        animation: floatY 6s ease-in-out infinite;
        will-change: transform;
        transform-origin: center;
    }

    .about-us-animated:nth-child(1) img {
        animation-delay: 0s;
    }

    .about-us-animated:nth-child(2) img {
        animation-delay: 0.6s;
    }

    .about-us-animated:nth-child(3) img {
        animation-delay: 1.2s;
    }

    .about-us-animated:nth-child(4) img {
        animation-delay: 1.8s;
    }

    @keyframes floatY {
        0% {
            transform: translateY(0) scale(1);
        }

        50% {
            transform: translateY(-14px) scale(1.02);
        }

        100% {
            transform: translateY(0) scale(1);
        }
    }
}

/* Smooth floating animation for background patterns */
@keyframes floatY {
    0% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-85px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

.bg-pattern img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: transform 0.6s ease;
}

.float-pattern {
    animation: floatY 12s ease-in-out infinite;
    will-change: transform;
    pointer-events: none;
}

.float-pattern.slow {
    animation-duration: 18s;
}

.float-pattern.reverse {
    animation-direction: reverse;
}

@media (prefers-reduced-motion: reduce) {
    .float-pattern {
        animation: none !important;
    }
}

.about-us-animated:hover img {
    animation-play-state: paused;
}

input {
    font-family: 'Lato', sans-serif !important;
    padding-right: 35px !important;
}

a.product_type_simple.ajax_add_to_cart {
    padding: 6px 0 !important;
    font-family: 'Lato';
    display: flex;
    align-items: center;
    padding-bottom: 7px !important;
}

#waitlist-email {
    color: black !important;
}

.woocommerce-breadcrumb {
    overflow: overlay;
    text-overflow: clip;
    white-space: nowrap;
    display: block;
}

.woocommerce-breadcrumb * {
    margin-right: 5px;
}

@media (min-width:767px) {
    .woocommerce-breadcrumb {
        overflow: visible !important;
    }
}

#wc-stripe-express-checkout-element {
    display: none !important;
}

/* Stock Notifications Modal */
#luma-stock-modal.flex {
    display: flex !important;
}

#luma-stock-modal .animate-fade-in {
    animation: lumaFadeScale 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lumaFadeScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#luma-modal-message {
    border-radius: 4px;
    font-weight: 500;
}

.bg-green-100 {
    background-color: #f0fdf4;
    border: 1px solid #bcf0da;
}

.text-green-700 {
    color: #15803d;
}

.bg-red-100 {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.text-red-700 {
    color: #b91c1c;
}

.bg-gray-100 {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.text-gray-700 {
    color: #374151;
}

.luma-single-notify-wrapper {
    width: 100%;
}

input#luma-modal-email {
    color: black !important;
}

/* Custom Checkbox Styles */
input[type="checkbox"] {
    scale: 0.4;
    -webkit-appearance: none;
    background-color: transparent;
    margin: 0 -12px;
    font: inherit;
    color: currentColor;
    width: 10px;
    height: 35px;
    border: 1px solid #d1d5db;
    display: grid;
    place-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0px;
    border: 1px solid #747474;
}


input[type="checkbox"]:checked {
    background-color: #9D2933;
    border-color: #9D2933;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:hover {
    border-color: #9D2933;
}

select.orderby {
    border: none;
}

input.input-text.qty {
    padding-right: 0 !important;
}

tr.woocommerce-cart-form__cart-item td.product-price {
    height: 60px;
}

.woocommerce a.added_to_cart {
    padding-top: 0 !important;
}