/* ==========================================
   1. Root Variables & Reset
   ========================================== */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #fafafa;
    --text-primary: #111111;
    --text-muted: #777777;
    --font-script: 'Pinyon Script', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --swiper-theme-color: #bfadad;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: var(--font-script);
    /* letter-spacing: 0.05em; */
    /* text-transform: uppercase; */
}

.brand-logo-script {
    font-family: var(--font-script);
    font-size: 5rem;
    font-weight: 400;
    text-align: center;
    color: #000;
    margin: 0;
    position: fixed;
    margin-left: 60px;
    
}

.site-branding img {
    max-height: 145px;
    width: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: -150px ;
    margin-top: -50px;
    margin-left: -58%;
}

/* ==========================================
   2. Header & Mobile Navigation
   ========================================== */
.delevaux-header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-light);
    border-bottom: 1px solid #eaeaea;
    /* height: 90px; */
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.25rem 3rem;
}

.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #111;
    font-size: 1.55rem;
    line-height: unset;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.1em; */
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #000;
    color: #fff;
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle & Off-Canvas Drawer */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
}

.mobile-menu-toggle span {
    display: block;
    height: 1.5px;
    width: 100%;
    background-color: #000;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--bg-light);
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 4px 0 20px rgba(0,0,0,0.05);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 1.5rem;
}

.mobile-nav-list a {
    font-family: var(--font-script);
    font-size: 1.35rem;
    /* text-transform: uppercase; */
    text-decoration: none;
    color: var(--text-primary);
    /* letter-spacing: 0.05em; */
}

.drawer-divider {
    height: 1px;
    background-color: #e5e5e5;
    margin: 2rem 0;
}

.mobile-cart-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.drawer-footer {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}




/* ==========================================
   Navigation Dropdown Menu Styling
   ========================================== */

/* 1. Reset Menu Positioning & Display */
.delevaux-header .nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.delevaux-header .nav-menu > li {
    position: relative !important; /* Context for absolute dropdown */
    padding: 1.5rem 0 !important;
}

.delevaux-header .nav-menu > li > a {
    /* text-transform: uppercase !important; */
    /* letter-spacing: 0.12em !important; */
    font-family: var(--font-script);
    font-size: 1.45rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    /* text-decoration: none !important; */
    transition: color 0.2s ease !important;
}

.delevaux-header .nav-menu > li:hover > a {
    color: #666666 !important;
}

/* 2. Sub-menu (Dropdown Container) Initialization */
.delevaux-header .nav-menu .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 180px !important;
    background: #ffffff !important;
    padding: 0.75rem 0 0.75rem 0.5rem !important;
    margin: 0 !important;
    list-style: none !important;
    
    /* Smooth Hover Animation */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s !important;
    
    z-index: 999 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    border-radius: 4px !important;
}

/* Hover trigger to open dropdown */
.delevaux-header .nav-menu li:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* 3. Sub-menu Item Bullet Formatting (Matching Screenshot) */
.delevaux-header .nav-menu .sub-menu li {
    display: flex !important;
    align-items: center !important;
    padding: 0.35rem 1rem !important;
    margin: 0 !important;
}

.delevaux-header .nav-menu .sub-menu li a {
    position: relative !important;
    /* text-transform: uppercase !important; */
    /* letter-spacing: 0.1em !important; */
    font-family: var(--font-script);
    font-size: 1.28rem !important;
    font-weight: 400 !important;
    color: #222222 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s ease !important;
}

/* Small bullet ring before sub-item */
.delevaux-header .nav-menu .sub-menu li a::before {
    content: '' !important;
    display: inline-block !important;
    width: 4px !important;
    height: 4px !important;
    border: 1px solid #333333 !important;
    border-radius: 50% !important;
    margin-right: 0.6rem !important;
    flex-shrink: 0 !important;
}

.delevaux-header .nav-menu .sub-menu li a:hover {
    color: #666666 !important;
}

/* Remove bullet points from dropdown sub-menu items */
.delevaux-header .nav-menu .sub-menu li a::before {
    display: none !important;
}

/* Adjust padding for clean left-alignment */
.delevaux-header .nav-menu .sub-menu {
    padding: 0.75rem 0 !important;
}

.delevaux-header .nav-menu .sub-menu li {
    padding: 0.4rem 1.25rem !important;
}

/* ==========================================
   Mobile Drawer Sub-menu Styling
   ========================================== */

/* Remove bullets and default list padding from mobile lists */
.mobile-drawer ul,
.mobile-drawer li,
.mobile-drawer .sub-menu {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Sub-menu indent and spacing */
.mobile-drawer .sub-menu {
    margin-top: 0.5rem !important;
    margin-bottom: 0.75rem !important;
    padding-left: 1rem !important; /* Slight indentation instead of bullets */
}

/* Remove any pseudo-element bullets */
.mobile-drawer li a::before {
    display: none !important;
}

.mobile-drawer .sub-menu li a {
    font-size: 1.5rem !important;
    opacity: 0.85 !important;
    /* text-transform: uppercase !important; */
    /* letter-spacing: 0.1em !important; */
}

/* ==========================================
   Header Icons & Cart Badge Styling
   ========================================== */

.header-icons {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
}

.header-icons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.header-icons a:hover {
    opacity: 0.65 !important;
    transform: translateY(-1px) !important;
}

.header-icons svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
}

/* Cart Counter Pill Badge */
.header-icons .cart-icon {
    position: relative !important;
    padding-right: 0.25rem !important;
}

.header-icons .cart-count {
    position: absolute !important;
    top: -6px !important;
    right: -10px !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    min-width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 2px !important;
}



/* ==========================================
   Slide-out Cart Drawer Layout
   ========================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #eaeaea;
}

.cart-drawer-header h3 {
    margin: 0;
    font-size: 1.9rem;
    /* letter-spacing: 0.12em; */
    /* text-transform: uppercase; */
    font-weight: 500;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    color: #1a1a1a;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.75rem;
}



/* ==========================================
   3. Home Page Sections (Hero, Sliders, Testimonials)
   ========================================== */
.hero-product-slider-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    background-color: #000;
}

.heroProductSwiper {
    width: 100%;
    height: 100%;
}

.hero-product-slide {
    position: relative;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}

.hero-product-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.75rem;
}

.hero-product-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    margin: 0 0 1rem;
    /* letter-spacing: 0.05em; */
    color: #ffffff;
}

.hero-product-price {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-product-price del {
    opacity: 0.6;
    margin-right: 0.5rem;
}

.hero-product-price ins {
    text-decoration: none;
}

.btn-luxury {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    background: transparent;
}

.btn-luxury:hover {
    background-color: #ffffff;
    color: #000000;
}

.hero-swiper-button-next,
.hero-swiper-button-prev {
    color: #ffffff;
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
}

.hero-swiper-button-next { right: 2rem; }
.hero-swiper-button-prev { left: 2rem; }

.section-header {
    padding: 4rem 1rem 2rem;
}

.section-title {
    font-family: var(--font-script);
    font-size: 2.25rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.1em; */
    margin: 0 0 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.category-slider-section {
    padding: 4rem 10%;
}

.cat-image-wrapper {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.cat-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-image-wrapper:hover img {
    transform: scale(1.05);
}

.testimonial-card {
    text-align: center;
    padding: 3rem 1rem;
}

.testimonial-card .quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 1rem;
}

/* ==========================================
   4. Shop / Archive Category Page
   ========================================== */
.delevaux-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.delevaux-shop-header {
    text-align: left;
    margin-bottom: 2rem;
}

.delevaux-shop-header .shop-title {
    font-family: var(--font-script);
    font-size: 3.5rem;
    /* letter-spacing: 0.1em; */
    /* text-transform: uppercase; */
    font-weight: 300;
    margin: 0;
    color: #000000;
}

.shop-utility-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.shop-sorting select {
    background: transparent;
    border: 1px solid #e5e5e5;
    padding: 0.5rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
}

.delevaux-shop-container {
    padding: 0;
}

.delevaux-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 1.5rem;
}

/* Product Card Styling */
.product-image-container {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #f7f7f7;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.product-image-container .secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image-container:hover .secondary-img {
    opacity: 0.7;
        

}

.product-image-container:hover .primary-img {
    opacity: 0.7;
       

}

.luxury-product-card .product-title {
    margin: 1rem 0 0.4rem;
    font-size: 1.9rem;
    font-family: var(--font-script);
    /* letter-spacing: 0.1em; */
    /* text-transform: uppercase; */
}

.luxury-product-card .product-title a {
    color: #111111 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.luxury-product-card .product-title a:hover {
    color: var(--text-muted) !important;
}

.luxury-product-card .product-price {
    font-size: 0.9rem;
    font-weight: 300;
    color: #111111;
}

.luxury-product-card .product-price del {
    color: #999999;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.luxury-product-card .product-price ins {
    text-decoration: none;
    font-weight: 400;
}

/* ==========================================
   5. Single Product Page
   ========================================== */
.delevaux-single-product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.luxury-single-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.product-summary-wrapper {
    position: sticky;
    top: 120px;
}

.product-sku-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.product-sku-cat a {
    color: inherit;
    text-decoration: none;
}

.product-summary-wrapper .product-title {
    font-family: var(--font-script);
    font-size: 2.75rem;
    /* letter-spacing: 0.05em; */
    /* text-transform: uppercase; */
    font-weight: 300;
    margin: 0 0 1rem;
    line-height: 1.1;
}

.product-price-box {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #111;
}

.product-price-box del {
    color: #a0a0a0;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.product-price-box ins {
    text-decoration: none;
}

.product-short-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2.5rem;
}

.product-action-form form.cart {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.product-action-form .quantity input.qty {
    width: 60px;
    height: 52px;
    border: 1px solid #d5d5d5;
    background: transparent;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
}

.product-action-form .single_add_to_cart_button {
    flex: 1;
    height: 52px;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.product-action-form .single_add_to_cart_button:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.product-gallery-wrapper {
    width: 100%;
}

.productMainSwiper {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #fafafa;
    margin-bottom: 1rem;
}

.productMainSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productThumbsSwiper {
    height: 90px;
    box-sizing: border-box;
}

.productThumbsSwiper .swiper-slide {
    width: 20%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.productThumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-bottom: 2px solid #000;
}

.productThumbsSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.luxury-details-accordions {
    border-top: 1px solid #e5e5e5;
}

.accordion-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 1.2rem 0;
}

.accordion-item summary {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-icon::after {
    content: '+';
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.2rem;
}

.accordion-item[open] .accordion-icon::after {
    content: '—';
}

.accordion-body {
    padding-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555555;
}

/* ==========================================
   6. Global Media Queries
   ========================================== */
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-container {
        grid-template-columns: auto 1fr auto;
        padding: 1rem 1.5rem;
    }

    .site-branding {
        text-align: center;
    }

    .brand-logo-script {
        font-size: 3rem;
    }

    .delevaux-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
             .site-branding img {
        margin-left: 30px;
    }
}

@media (max-width: 992px) {
    .luxury-single-product {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-summary-wrapper {
        position: static;
    }
          .site-branding img {
        margin-left: 30px;
    }
}

@media (max-width: 768px) {
    .hero-product-slider-section {
        height: 70vh;
    }

    .hero-product-title {
        font-size: 2.25rem;
    }

    .hero-swiper-button-next,
    .hero-swiper-button-prev {
        display: none;
    }
        /* .site-branding img {
        margin-left: 30px;
    } */
}

@media (max-width: 640px) {
    .delevaux-product-grid {
        grid-template-columns: 1fr;
    }
    .site-branding img {
        margin-left: 30px;
    }
}


/* Force hide PhotoSwipe Lightbox elements completely */
.pswp,
.pswp__bg,
.pswp__scroll-wrap,
.pswp__ui {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Ensure gallery container stays bounded */
.product-gallery-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.productMainSwiper .gallery-img-container {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #fafafa;
}

.productMainSwiper .gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================
   3-Column Footer Styling
   ========================================== */
.site-footer {
    background-color: #fcfcfc;
    border-top: 1px solid #eaeaea;
    color: #333333;
    padding-top: 4rem;
    font-size: 0.85rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem 4rem 3rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
}

/* Headings */
.footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111111;
}

/* Column 1: Brand & Socials */
.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo img,
.footer-logo .custom-logo {
    max-height: 140px;
    width: auto;
    display: block;
}

.footer-logo-link {
    text-decoration: none;
}

.footer-tagline {
    color: #666666;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.footer-socials a {
    color: #111111;
    transition: opacity 0.3s ease;
}

.footer-socials a:hover {
    opacity: 0.6;
}

/* Column 2: Categories Nav */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-list a {
    text-decoration: none;
    color: #555555;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

.footer-nav-list a:hover {
    color: #000000;
}

/* Column 3: Store Info & Payment Cards */
.store-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.store-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #555555;
    margin: 0;
    line-height: 1.4;
}

.store-info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #111111;
}

.store-info-item a {
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-info-item a:hover {
    color: #000000;
}

/* Payments Badges */
.footer-payments {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
}

.payment-cards-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.card-badge {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #444;
    background-color: #fff;
    user-select: none;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid #eaeaea;
    padding: 1.5rem 3rem;
    font-size: 0.75rem;
    color: #777777;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-legal-links a {
    color: #777777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #111111;
}

.footer-legal-links .sep {
    font-size: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem 3rem 1.5rem;
    }

    .footer-bottom {
        padding: 1.5rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

/* Dynamic Payment Badges & Icons */
.payment-cards-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.card-badge {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #333333;
    background-color: #ffffff;
    user-select: none;
    text-transform: uppercase;
}

/* Style WooCommerce payment gateway image icons */
.card-badge-icon img {
    max-height: 24px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 2px 5px;
    background-color: #ffffff;
}

/* ==========================================
   Testimonials Redesign & Trust Styling
   ========================================== */
.testimonials-section {
    padding: 6rem 10%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-header .section-title {
    font-size: 3rem;
    /* letter-spacing: 0.25em; */
    /* text-transform: uppercase; */
    font-weight: 500;
    margin-bottom: 3rem;
    color: #111111;
}

.testimonial-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.testimonial-content {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-left: calc(1vw+50px); */
}

/* Star Rating */
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
    color: #c5a059; /* Elegant Gold */
    font-size: 1.1rem;
}

.testimonial-stars .star.empty {
    color: #e0e0e0;
}

/* Quote */
.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    font-family: Georgia, serif;
    line-height: 1.7;
    color: #222222;
    margin: 0 0 1.75rem 0;
}

/* Author Info & Verified Badge */
.testimonial-author-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.testimonial-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: #444444;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background-color: #f0f7f2;
    color: #2d7a46;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 600;
}

/* Swiper Dots Adjustment */
.testimonial-pagination {
    position: relative !important;
    margin-top: 2.5rem !important;
}

.testimonial-pagination .swiper-pagination-bullet  {
    background: #bbb;
    opacity: 0.5;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: #111;
    opacity: 1;
}



/* ==========================================
   Header Consistency Fix (Single Product & CPTs)
   ========================================== */
header,
.site-header,
#masthead {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
}

/* Enforce Flex Layout Alignment Across All WooCommerce Templates */
header .header-container,
.site-header .header-inner,
.site-header nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 0rem 2rem !important;
    float: none !important;
}

/* Prevent WooCommerce Body Classes from Overriding Navigation */
.single-product header,
.single-product .site-header,
.woocommerce-page header {
    /* background-color: #ffffff !important; */
    display: block !important;
}

.single-product nav.main-navigation,
.single-product .nav-menu {
    /* display: flex !important; */
    align-items: center !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Absolute / Centered Logo Fix if Logo uses absolute positioning */
.single-product .site-logo,
.woocommerce-page .site-logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 1rem !important;
    z-index: 10 !important;
}

/* Reset WooCommerce Single Product Container Collisions */
.single-product div.product {
    margin-top: 2rem !important;
    clear: both !important;
}


/* ==========================================
   Modern Luxury Cart (Card Layout & Smooth UI)
   ========================================== */
.delevaux-cart-page {
    padding: 3.5rem 0 6rem 0;
    background-color: #f8f9fa;
    color: #1a1a1a;
    min-height: 75vh;
}

.cart-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cart-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.cart-header .page-title {
    font-size: 3.2rem;
    /* letter-spacing: 0.15em; */
    /* text-transform: uppercase; */
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

/* Ensure Parent Container Uses Explicit Flex Alignment */
.woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    float: none !important;
    width: 100% !important;
}

/* 1. Left Side: Cart Form (70%) */
.woocommerce .woocommerce-cart-form {
    flex: 0 0 66% !important;
    max-width: 66% !important;
    width: 66% !important;
    float: left !important;
    order: 1 !important;
    margin-bottom: 0 !important;
}

/* 2. Right Side: Cart Totals (30%) */
.woocommerce .cart-collaterals {
    flex: 0 0 31% !important;
    max-width: 31% !important;
    width: 31% !important;
    float: right !important;
    order: 2 !important;
    margin-top: 0 !important;
}

.woocommerce .cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
    background-color: #ffffff;
    padding: 2.25rem;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

/* Clear Floats Inside Form */
.woocommerce-cart-form::after {
    content: "";
    display: table;
    clear: both;
}

/* ==========================================
   Table Column & Header Alignments
   ========================================== */
.woocommerce table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 1rem !important;
    width: 100% !important;
    border: none !important;
    margin-bottom: 1rem !important;
    table-layout: fixed;
    background: transparent;
}

.woocommerce table.shop_table thead {
    border: none;
}

.woocommerce table.shop_table th {
    color: #777777;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    padding: 0 1rem 0.5rem 1rem;
    text-align: left;
    border: none !important;
}

/* Table Column Width Distribution */
.woocommerce table.shop_table th.product-remove,
.woocommerce table.shop_table td.product-remove {
    width: 6%;
    text-align: center;
}

.woocommerce table.shop_table th.product-thumbnail,
.woocommerce table.shop_table td.product-thumbnail {
    width: 16%;
}

.woocommerce table.shop_table th.product-name,
.woocommerce table.shop_table td.product-name {
    width: 34%;
    text-align: left;
}

.woocommerce table.shop_table th.product-price,
.woocommerce table.shop_table td.product-price {
    width: 14%;
    text-align: left;
}

.woocommerce table.shop_table th.product-quantity,
.woocommerce table.shop_table td.product-quantity {
    width: 15%;
    text-align: left;
}

.woocommerce table.shop_table th.product-subtotal,
.woocommerce table.shop_table td.product-subtotal {
    width: 15%;
    text-align: right;
}

/* Product Card Row Styling with Hover Elevation */
.woocommerce table.shop_table tr.cart_item {
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.woocommerce table.shop_table tr.cart_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

/* Rounded Corners for First and Last Cells in Each Card */
.woocommerce table.shop_table tr.cart_item td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-left: 1px solid #eaeaea;
}

.woocommerce table.shop_table tr.cart_item td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid #eaeaea;
}

.woocommerce table.shop_table tr.cart_item td {
    padding: 1.25rem 1rem;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    vertical-align: middle;
    color: #444444;
    font-size: 0.95rem;
}

/* Product Elements */
.woocommerce table.shop_table td.product-thumbnail img {
    width: 75px;
    height: 95px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    display: block;
}

.woocommerce table.shop_table td.product-name a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: #555555;
}

.woocommerce table.shop_table a.remove {
    color: #bbbbbb !important;
    font-size: 1.3rem;
    line-height: 1;
    display: inline-block;
    transition: all 0.2s ease;
}

.woocommerce table.shop_table a.remove:hover {
    color: #e63946 !important;
    background: transparent !important;
    transform: scale(1.15);
}

/* Modern Quantity Input */
.woocommerce .quantity .qty {
    background-color: #f8f9fa;
    color: #1a1a1a;
    border: 1px solid #dddddd;
    border-radius: 8px;
    width: 60px;
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s ease;
}

.woocommerce .quantity .qty:focus {
    border-color: #1a1a1a;
    background-color: #ffffff;
}

/* Coupon & Actions Bar */
.woocommerce table.shop_table td.actions {
    padding-top: 1.5rem !important;
    background: transparent !important;
    border: none !important;
}

.woocommerce table.shop_table td.actions .coupon {
    display: flex;
    gap: 0.6rem;
    float: left;
}

.woocommerce table.shop_table td.actions .coupon input[type="text"] {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    color: #1a1a1a;
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.woocommerce table.shop_table td.actions .coupon input[type="text"]:focus {
    border-color: #1a1a1a;
}

.woocommerce table.shop_table td.actions .button {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce table.shop_table td.actions .button:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-1px);
}

/* Sidebar Styling */
.woocommerce .cart_totals h2 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 0.85rem;
}

.woocommerce .cart_totals table.shop_table {
    border-spacing: 0 !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce .cart_totals table.shop_table tr th {
    color: #666666;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.9rem 0;
    width: auto;
    background: transparent !important;
}

.woocommerce .cart_totals table.shop_table tr td {
    color: #1a1a1a;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.9rem 0;
    text-align: right;
    width: auto;
    background: transparent !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 1.15rem 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Mobile Fallback */
@media (max-width: 992px) {
    .woocommerce .woocommerce-cart-form,
    .woocommerce .cart-collaterals {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        float: none !important;
            overflow-y: scroll;
    }
    .woocommerce .cart-collaterals {
        margin-top: 2.5rem !important;
    }
    .woocommerce {display: block !important;}
    header .header-container {

    padding: 1rem 2rem !important;

}
}

/* ==========================================
   Shipping Calculator & "Change Address" Fix
   ========================================== */

/* Toggle Link ("Change address 🚚") */
.woocommerce-shipping-calculator a.shipping-calculator-button {
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-top: 0.4rem;
    border-bottom: 1px dashed #1a1a1a;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.woocommerce-shipping-calculator a.shipping-calculator-button:hover {
    color: #555555 !important;
    border-bottom-color: #555555;
}

/* Calculator Form Container */
.woocommerce-shipping-calculator .shipping-calculator-form {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Form Paragraph Wrappers */
.woocommerce-shipping-calculator .shipping-calculator-form p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Form Labels & Required Stars */
.woocommerce-shipping-calculator .shipping-calculator-form label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #666666;
    margin-bottom: 0.3rem;
}

.woocommerce-shipping-calculator .shipping-calculator-form .required {
    color: #e63946;
    text-decoration: none;
}

/* Input Fields & Select Dropdowns */
.woocommerce-shipping-calculator input[type="text"],
.woocommerce-shipping-calculator select,
.woocommerce-shipping-calculator .select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 40px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 0 0.85rem !important;
    font-size: 0.85rem !important;
    color: #1a1a1a !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.woocommerce-shipping-calculator input[type="text"]:focus,
.woocommerce-shipping-calculator select:focus {
    border-color: #1a1a1a !important;
    background-color: #ffffff !important;
}

/* Select2 Dropdown Alignment Fix (if active) */
.woocommerce-shipping-calculator .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    padding-left: 0 !important;
    color: #1a1a1a !important;
}

.woocommerce-shipping-calculator .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}

/* Update Button */
.woocommerce-shipping-calculator button[name="calc_shipping"] {
    width: 100% !important;
    background-color: #f0f0f0 !important;
    color: #1a1a1a !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    padding: 0.7rem 0 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 0.5rem !important;
    /* transition: all 0.25 ease !important; */
}

.woocommerce-shipping-calculator button[name="calc_shipping"]:hover {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border-color: #1a1a1a !important;
}

/* ==========================================
   Notice Wrapper Structural Lock
   ========================================== */
.cart-notices-wrapper,
.woocommerce-notices-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    clear: both !important;
    float: none !important;
    margin-bottom: 1.5rem !important;
}

/* Hide Default WooCommerce Notice Output Inside .woocommerce flex container if duplicated */
.woocommerce > .woocommerce-notices-wrapper,
.woocommerce > .woocommerce-message,
.woocommerce > .woocommerce-info,
.woocommerce > .woocommerce-error {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: -1 !important; /* Force to top if dynamically injected inside .woocommerce */
    margin-bottom: 2rem !important;
}

/* Notice Card Styling */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #eaeaea !important;
    border-left: 4px solid #1a1a1a !important;
    border-radius: 8px !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.85rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

/* ==========================================
   Product Card Rounded Corner Fix
   ========================================== */
.woocommerce table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 1rem !important;
    width: 100% !important;
    border: none !important;
    table-layout: fixed;
    background: transparent !important;
}

/* Remove Background from Row and Set Transparent Defaults */
.woocommerce table.shop_table tr.cart_item {
    background-color: transparent !important;
    transition: all 0.3s ease;
    /* display: inline-flex; */
}

/* Move the White Background to Individual Cells */
.woocommerce table.shop_table tr.cart_item td {
    background-color: #ffffff !important;
    padding: 1.25rem 1rem;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    vertical-align: middle;
    color: #444444;
    font-size: 0.95rem;
}

/* Apply Rounded Corners & Outer Borders ONLY to Outer Edges */
.woocommerce table.shop_table tr.cart_item td:first-child {
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    border-left: 1px solid #eaeaea !important;
}

.woocommerce table.shop_table tr.cart_item td:last-child {
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    border-right: 1px solid #eaeaea !important;
}

/* Smooth Card Hover Elevation Across All Cells */
.woocommerce table.shop_table tr.cart_item:hover td {
        background-color: transparent !important;

    border-color: #dcdcdc;
}

.woocommerce table.shop_table tr.cart_item:hover {
        background-color: transparent !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

/* ==========================================
   Delevaux Luxury Checkout Layout & Fixes
   ========================================== */
.delevaux-checkout-page {
    font-family: var(--font-sans);
    padding: 3.5rem 0 6rem 0;
    background-color: #f8f9fa;
    color: #1a1a1a;
    min-height: 75vh;
}

.checkout-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.checkout-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.checkout-header .page-title {
    font-size: 3.2rem;
    /* letter-spacing: 0.15em; */
    /* text-transform: uppercase; */
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

/* Fix Block & Shortcode Wrapper Widths */
.checkout-content-wrapper,
.wp-block-woocommerce-checkout-fields-block,
.wc-block-checkout {
    width: 100% !important;
    max-width: 100% !important;
}

/* 2-Column Flex Grid for Checkout */
.woocommerce-checkout,
.wp-block-woocommerce-checkout-fields-block {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* Top Prompts (Coupon & Login) */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.login {
    flex: 0 0 100% !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    padding: 1.25rem 1.5rem !important;
    margin-bottom: 1.5rem !important;
    box-sizing: border-box !important;
}

/* Left Column: Customer Details Form (65%) */
.woocommerce-checkout #customer_details,
.wc-block-checkout__main {
    flex: 0 0 64% !important;
    width: 64% !important;
    max-width: 64% !important;
    float: left !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 16px !important;
    padding: 2.25rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

/* Right Column: Order Review Box (33%) */
.woocommerce-checkout #order_review,
.wc-block-checkout__sidebar {
    flex: 0 0 33% !important;
    width: 33% !important;
    max-width: 33% !important;
    float: right !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 16px !important;
    padding: 2.25rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #order_review_heading {
    display: none !important;
}

/* Section Headings */
.woocommerce-checkout h3,
.wc-block-checkout__title {
    font-family: var(--font-sans);
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 0.85rem !important;
}

/* Input Fields & Overlapping Label Fix */
.woocommerce-checkout .form-row,
.wc-block-components-text-input {
    position: relative !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
    clear: both !important;
}

.woocommerce-checkout label,
.wc-block-components-text-input label {
    display: block !important;
    position: relative !important;
    transform: none !important;
    font-family: var(--font-sans);
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
    color: #555555 !important;
    margin-bottom: 0.4rem !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.wc-block-components-text-input input {
    width: 100% !important;
    height: 44px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #dddddd !important;
    border-radius: 8px !important;
    padding: 0 0.85rem !important;
    font-size: 0.88rem !important;
    color: #1a1a1a !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.wc-block-components-text-input input:focus {
    border-color: #1a1a1a !important;
    background-color: #ffffff !important;
}

/* Half-Width Fields (First / Last Name) */
.woocommerce-checkout .form-row-first {
    width: 48% !important;
    float: left !important;
    clear: none !important;
}

.woocommerce-checkout .form-row-last {
    width: 48% !important;
    float: right !important;
    clear: none !important;
}

/* Order Summary Table */
.woocommerce-checkout table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 1.5rem !important;
    background: transparent !important;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    padding: 0.85rem 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 0.88rem !important;
    background: transparent !important;
}

.woocommerce-checkout table.shop_table th {
    color: #666666 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

.woocommerce-checkout table.shop_table td {
    color: #1a1a1a !important;
    font-weight: 600 !important;
    text-align: right !important;
}

/* Place Order Button */
.woocommerce-checkout #place_order,
.wc-block-components-checkout-place-order-button {
    display: block !important;
    width: 100% !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 1.15rem 0 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.woocommerce-checkout #place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
    background-color: #333333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive Fallback */
@media (max-width: 992px) {
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review,
    .wc-block-checkout__main,
    .wc-block-checkout__sidebar {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }
    
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
    }
    .woocommerce table.shop_table tr.cart_item {
    display: table-row;
}
}


/* ==========================================
   Ultra-Wide Screen Alignment Fix
   ========================================== */

/* 1. Global Page Layout Centering */
/* body, 
.delevaux-checkout-page,
.delevaux-cart-page {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
} */

/* 2. Main Wrapper Containment */
main.delevaux-checkout-page,
main.delevaux-cart-page {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 3. Lock Checkout Inner Containers */
.checkout-container,
.cart-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}

/* 4. Fix WooCommerce Content Flow */
.checkout-content-wrapper,
.cart-content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* 5. Force Desktop 2-Column Grid Ratio */
@media (min-width: 993px) {
    .woocommerce-checkout {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .woocommerce-checkout #customer_details {
        flex: 0 0 62% !important;
        width: 62% !important;
        max-width: 62% !important;
    }

    .woocommerce-checkout #order_review {
        flex: 0 0 35% !important;
        width: 35% !important;
        max-width: 35% !important;
        position: sticky !important;
        top: 2rem !important;
    }
}

/* 6. Footer Center Alignment Lock */
footer,
.site-footer,
.delevaux-footer {
    width: 100% !important;
    /* max-width: 1280px !important; */
    margin: 0 auto !important;
    box-sizing: border-box !important;
}


/* ==========================================
   WooCommerce Alerts & Prompts Overhaul
   ========================================== */

/* 1. Remove Double Card Wrapping on Coupon/Login Containers */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
    box-shadow: none !important;
}

/* 2. Global Alert Banner Container Styling (.woocommerce-info, .woocommerce-error, .woocommerce-message) */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-notice {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #eaeaea !important;
    border-left: 3px solid #1a1a1a !important;
    border-radius: 12px !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.25rem !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

/* Reset WooCommerce default pseudo-element offset */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 1.1rem !important;
    color: #1a1a1a !important;
    flex-shrink: 0 !important;
}

/* Error/Notice Specific Left Borders */
.woocommerce-error {
    border-left-color: #e63946 !important;
}

.woocommerce-error::before {
    color: #e63946 !important;
}

/* 3. Link Styles inside Alerts ("Click here to login", etc.) */
.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
    color: #1a1a1a !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    transition: opacity 0.2s ease !important;
}

.woocommerce-info a:hover,
.woocommerce-message a:hover,
.woocommerce-error a:hover {
    opacity: 0.75 !important;
}

/* 4. Payment Box "No Payment Methods Available" Fix */
.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment p.woocommerce-info {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-left: 3px solid #1a1a1a !important;
    border-radius: 10px !important;
    padding: 1rem 1.15rem !important;
    margin-top: 0.5rem !important;
    font-size: 0.82rem !important;
    color: #555555 !important;
}

/* Ensure Text Inside Banner Flexes Properly */
.woocommerce-info > *,
.woocommerce-message > *,
.woocommerce-error > * {
    display: inline !important;
}


/* ==========================================
   Payment Box & Place Order Alignment Fixes
   ========================================== */

/* 1. Outer Payment Container Layout & Spacing */
.woocommerce-checkout #payment {
    background: #f4f4f6 !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-top: 1.5rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevents button overflow */
}

/* 2. "No Payment Methods" Info Card Alignment */
.woocommerce-checkout #payment ul.payment_methods + div.payment_box,
.woocommerce-checkout #payment p.woocommerce-info,
.woocommerce-checkout #payment div.woocommerce-info {
    display: flex !important;
    align-items: flex-start !important; /* Top align multiline text with icon */
    gap: 0.85rem !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e2e8 !important;
    border-left: 4px solid #1a1a1a !important;
    border-radius: 10px !important;
    padding: 1rem 1.15rem !important;
    margin: 0 0 1.5rem 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    color: #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

/* Reset Pseudo Icon Position & Dimensions */
.woocommerce-checkout #payment p.woocommerce-info::before,
.woocommerce-checkout #payment div.woocommerce-info::before {
    position: static !important;
    display: inline-block !important;
    margin: 0.15rem 0 0 0 !important; /* Slight top push to level with first text line */
    padding: 0 !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    color: #1a1a1a !important;
    flex-shrink: 0 !important;
}

/* 3. Privacy Policy & Terms Text Container */
.woocommerce-checkout #payment .place-order {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    color: #555555 !important;
    margin-bottom: 1.25rem !important;
}

/* Privacy Link Styling */
.woocommerce-checkout #payment .woocommerce-privacy-policy-text a {
    color: #1a1a1a !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    transition: opacity 0.2s ease !important;
}

.woocommerce-checkout #payment .woocommerce-privacy-policy-text a:hover {
    opacity: 0.7 !important;
}

/* 4. Full-Width "Place Order" Button Lock */
.woocommerce-checkout #payment #place_order {
    display: block !important;
    width: 100% !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 1.1rem 0 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.16em !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.woocommerce-checkout #payment #place_order:hover {
    background-color: #333333 !important;
    transform: translateY(-1px) !important;
}


/* ==========================================
   Delevaux Luxury My Account Layout
   ========================================== */
.delevaux-account-page {
    padding: 3.5rem 0 6rem 0;
    background-color: #f8f9fa;
    color: #1a1a1a;
    min-height: 75vh;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.account-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}

.account-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.account-header .page-title {
    font-size: 2.2rem;
    /* letter-spacing: 0.15em; */
    /* text-transform: uppercase; */
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

/* Notices Handling */
.account-notices-wrapper {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
}

/* Base WooCommerce Account Layout */
.woocommerce-account .woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* Sidebar Navigation (25% Width Card) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 25% !important;
    width: 25% ;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block !important;
    padding: 0.75rem 1rem !important;
    color: #555555 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background-color: #f4f4f6 !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #e63946 !important;
    margin-top: 0.5rem !important;
    border-top: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
    padding-top: 1rem !important;
}

/* Main Account Content (70% Width Card) */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 0 0 calc(75% - 2.5rem) !important;
    width: calc(75% - 2.5rem) !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 16px !important;
    padding: 2.25rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

/* Headings & Typography */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-family: var(--font-sans);
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 0.85rem !important;
}

/* Input Fields & Form Styling */
.woocommerce-account .form-row {
    margin-bottom: 1.25rem !important;
    width: 100% !important;
}

.woocommerce-account label {
    display: block !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
    color: #555555 !important;
    margin-bottom: 0.4rem !important;
}

.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"] {
    width: 100% !important;
    height: 44px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #dddddd !important;
    border-radius: 8px !important;
    padding: 0 0.85rem !important;
    font-size: 0.88rem !important;
    color: #1a1a1a !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.woocommerce-account input:focus {
    border-color: #1a1a1a !important;
    background-color: #ffffff !important;
}

/* Buttons */
.woocommerce-account button.button,
.woocommerce-account a.button {
    display: inline-block !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.85rem 1.75rem !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.woocommerce-account button.button:hover,
.woocommerce-account a.button:hover {
    background-color: #333333 !important;
    transform: translateY(-1px) !important;
}

/* Login / Register Container Layout (Logged Out State) */
.woocommerce-account .woocommerce #customer_login {
    display: flex !important;
    gap: 2rem !important;
    width: 100% !important;
}

.woocommerce-account .woocommerce #customer_login .col-1,
.woocommerce-account .woocommerce #customer_login .col-2 {
    flex: 1 !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 16px !important;
    padding: 2.25rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

/* Orders Table Styling */
.woocommerce-account table.my_account_orders {
    width: 100% !important;
    border-collapse: collapse !important;
}

.woocommerce-account table.my_account_orders th,
.woocommerce-account table.my_account_orders td {
    padding: 1rem 0.75rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 0.85rem !important;
    text-align: left !important;
}

.woocommerce-account table.my_account_orders th {
    color: #666666 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Responsive Layout */
@media (max-width: 868px) {
 
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content,
    .woocommerce-account .woocommerce #customer_login .col-1,
    .woocommerce-account .woocommerce #customer_login .col-2 {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .woocommerce-account .woocommerce #customer_login {
        flex-direction: column !important;
    }
}

/* ==========================================
   My Account Top Alignment & Sticky Menu Fix
   ========================================== */

/* 1. Flex Container Lock & Top Alignment */
.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important; /* Forces top alignment for both cards */
    justify-content: space-between !important;
    gap: 2.5rem !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    float: none !important;
}

/* Clear default WooCommerce clearing floats on sub-pages */
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
    display: none !important;
}

/* 2. Left Column: Form / Dashboard Content (68%) */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 0 0 68% !important;
    width: 68% !important;
    max-width: 68% !important;
    float: none !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 16px !important;
    padding: 2.25rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

/* 3. Right Column: Sticky Navigation Sidebar (28%) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 28% !important;
    width: 28% !important;
    max-width: 28% !important;
    float: none !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    
    /* Sticky Positioning on Scroll */
    position: sticky !important;
    top: 2rem !important;
    z-index: 10 !important;
}

/* 4. Password Fieldset & Input Styling Fix */
.woocommerce-account fieldset {
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce-account legend {
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 600 !important;
    padding: 0 0.5rem !important;
    color: #1a1a1a !important;
}


/* ==========================================
   Scoped Page Container Fixes (Leaves Homepage Untouched)
   ========================================== */

/* Scope flex centering only to custom WooCommerce pages */
.page-template-checkout-page,
.page-template-my-account-page,
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-account {
    background-color: #f8f9fa;
}

/* Ensure WooCommerce main containers expand full width independently */
.delevaux-checkout-page,
.delevaux-account-page,
.delevaux-cart-page {
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important; /* Prevents body flex bugs on homepage */
}

/* Center inner content wrappers cleanly */
.checkout-container,
.account-container,
.cart-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}


/* ==========================================
   Luxury Slide-Out Mini-Cart UI
   ========================================== */

/* 1. Reset List Layout */
.cart-drawer-body ul.woocommerce-mini-cart {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
}

/* 2. Mini-Cart Item Card Container */
.cart-drawer-body ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 75px 1fr auto !important;
    grid-template-areas: 
        "image details remove" !important;
    align-items: center !important;
    gap: 1rem !important;
    padding-bottom: 1.25rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    position: relative !important;
    margin: 0 !important;
}

/* 3. Product Thumbnail Styling */
.cart-drawer-body ul.woocommerce-mini-cart li img {
    grid-area: image !important;
    width: 75px !important;
    height: 90px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    background-color: #f8f9fa !important;
    margin: 0 !important;
    float: none !important;
}

/* 4. Product Title & Price Details */
.cart-drawer-body ul.woocommerce-mini-cart li a:not(.remove) {
    grid-area: details !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    display: block !important;
    margin-bottom: 0.25rem !important;
}

.cart-drawer-body ul.woocommerce-mini-cart li .quantity {
    font-size: 0.8rem !important;
    color: #666666 !important;
    display: block !important;
    margin-top: 0.25rem !important;
}

/* 5. Modern Remove (×) Button */
.cart-drawer-body ul.woocommerce-mini-cart li a.remove {
    grid-area: remove !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 1.1rem !important;
    color: #999999 !important;
    background: transparent !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    position: static !important;
}

.cart-drawer-body ul.woocommerce-mini-cart li a.remove:hover {
    color: #e63946 !important;
    background-color: #fff0f0 !important;
}

/* 6. Subtotal Footer Area */
.cart-drawer-body p.woocommerce-mini-cart__total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.25rem 0 1rem 0 !important;
    margin: 1.5rem 0 0 0 !important;
    border-top: 1px solid #eaeaea !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #555555 !important;
}

.cart-drawer-body p.woocommerce-mini-cart__total strong {
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

.cart-drawer-body p.woocommerce-mini-cart__total .woocommerce-Price-amount {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

/* 7. Action Buttons (View Cart & Checkout) */
.cart-drawer-body p.woocommerce-mini-cart__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cart-drawer-body p.woocommerce-mini-cart__buttons a.button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.9rem 0 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

/* Primary "Checkout" Button */
.cart-drawer-body p.woocommerce-mini-cart__buttons a.checkout {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid #1a1a1a !important;
    order: 1 !important;
}

.cart-drawer-body p.woocommerce-mini-cart__buttons a.checkout:hover {
    background-color: #333333 !important;
}

/* Secondary "View Cart" Button */
.cart-drawer-body p.woocommerce-mini-cart__buttons a.button:not(.checkout) {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #e0e0e0 !important;
    order: 2 !important;
}

.cart-drawer-body p.woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
    background-color: #f8f9fa !important;
    border-color: #1a1a1a !important;
}

/* Empty Cart State */
.cart-drawer-body p.woocommerce-mini-cart__empty-message {
    text-align: center !important;
    font-size: 0.88rem !important;
    color: #777777 !important;
    padding: 3rem 0 !important;
    margin: 0 !important;
}

/* ==========================================
   Clean Flexbox Alignment for Mini-Cart Items
   ========================================== */

/* 1. Reset List Item to Row Flexbox */
.cart-drawer-body ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative !important;
    padding: 1rem 1.75rem 1rem 0 !important; /* Space on right for 'x' button */
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    gap: 1rem !important;
}

/* 2. Style & Isolate Thumbnail Image */
.cart-drawer-body ul.woocommerce-mini-cart li img {
    width: 65px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    background-color: #f8f9fa !important;
    margin: 0 !important;
    float: none !important;
    flex-shrink: 0 !important;
}

/* 3. Wrap Title and Details into a Middle Flex Block */
.cart-drawer-body ul.woocommerce-mini-cart li a:not(.remove) {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    margin: 0 0 0.25rem 0 !important;
    padding: 0 !important;
    width: auto !important;
}

/* Quantity / Price string aligned right below the title */
.cart-drawer-body ul.woocommerce-mini-cart li .quantity {
    display: block !important;
    font-size: 0.78rem !important;
    color: #777777 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* 4. Position Remove (×) Button on the Far Right */
.cart-drawer-body ul.woocommerce-mini-cart li a.remove {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 1rem !important;
    color: #999999 !important;
    background: transparent !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    margin: 0 !important;
}

.cart-drawer-body ul.woocommerce-mini-cart li a.remove:hover {
    color: #1a1a1a !important;
}


/* ==========================================
   Hero Category Slider Styling
   ========================================== */
.hero-category-slider-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    background-color: #0f0f0f;
}

.heroCategorySwiper {
    width: 100%;
    height: 100%;
}

.hero-category-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-category-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 1.5rem;
    color: #ffffff;
}

.hero-category-content .hero-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.hero-category-content .hero-category-title {
    font-size: clamp(4.5rem, 5vw, 5.5rem);
    font-weight: 400;
    /* letter-spacing: 0.08em; */
    /* text-transform: uppercase; */
    margin: 0 0 1rem 0;
    /* font-family: serif; */
    font-family: var(--font-script);
}

.hero-category-content .hero-category-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ==========================================
   Redesigned Collection Cards & Slider UI
   ========================================== */
.category-slider-section {
    padding: 6rem 10%;
    background-color: #faf9f6;
    box-sizing: border-box;
}

.category-slider-section .section-header {
    margin-bottom: 3.5rem;
}

.category-slider-section .section-title {
    font-size: 3rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.12em; */
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.category-slider-section .section-subtitle {
    color: #666;
    font-size: 0.9rem;
    /* letter-spacing: 0.05em; */
}

/* Outer Wrapper for Swiper + Absolute Arrows */
.category-slider-section .categories-swiper-container-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.categoriesProductsSwiper {
    padding: 1rem 0 3.5rem 0 !important;
}

/* Card Design */
.product-cat-card-modern {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    /* transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; */
}

.product-cat-card-modern:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.cat-card-link {
    display: block;
    position: relative;
    height: 420px;
    text-decoration: none;
}

.cat-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.cat-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-cat-card-modern:hover .cat-image-container img {
    transform: scale(1.06);
}

.cat-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}

.cat-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cat-item-count {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.cat-content-overlay .cat-title {
    font-size: 1.85rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.1em; */
    margin: 0 0 0.75rem 0;
    font-weight: 500;
}

.cat-discover-link {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    transition: gap 0.3s ease, opacity 0.3s ease;
}

.product-cat-card-modern:hover .cat-discover-link {
    gap: 10px;
    opacity: 1;
}

/* Luxury Circular Navigation Arrows */
.category-slider-section .swiper-button-prev,
.category-slider-section .swiper-button-next {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e2dfdb;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    top: 42%;
    margin-top: 0;
}

.category-slider-section .swiper-button-prev:hover,
.category-slider-section .swiper-button-next:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-slider-section .swiper-button-prev::after,
.category-slider-section .swiper-button-next::after {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.category-slider-section .swiper-button-prev:hover::after,
.category-slider-section .swiper-button-next:hover::after {
    color: #ffffff;
}

.category-slider-section .swiper-button-prev {
    left: 0px;
}

.category-slider-section .swiper-button-next {
    right: 0px;
}

/* Swiper Pagination */
.category-slider-section .swiper-pagination-bullet {
    background: #1a1a1a !important;
    opacity: 0.25;
}

.category-slider-section .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px;
    border-radius: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
       .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
        top: unset !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content { 
        width: 100% !important;
        flex: unset !important;
        max-width: 100% !important;
    }
    .category-slider-section .swiper-button-prev,
    .category-slider-section .swiper-button-next {
        /* display: none; */
    }
    .category-slider-section .categories-swiper-container-wrapper {
        padding: 0 15px;
    }
}


/* ==========================================
   Latest Arrivals Swipeable Section Styles
   ========================================== */
.latest-products-section {
    padding: 6rem 10%;
    background-color: #ffffff;
    overflow: hidden;
}

.latest-products-section .section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.latest-products-section .section-title {
    font-size: 2rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.12em; */
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.latest-products-section .section-subtitle {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.latestProductsSwiper {
    padding-bottom: 3.5rem !important; /* Makes room for pagination dots */
}

.latest-products-section .swiper-slide {
    height: auto;
}

.product-card-modern {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #f8f9fa;
    overflow: hidden;
    /* border-radius: 0 8px 8px 0; */
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-modern:hover .product-image-container img {
    transform: scale(1.04);
}

.product-badge.sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-card-details {
    padding: 1.25rem 0.5rem;
    text-align: left;
}

.product-card-details .product-title {
    font-size: 1.9rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.08em; */
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-details .product-price {
    font-size: 0.85rem;
    color: #555555;
}

.product-card-details .product-price ins {
    text-decoration: none;
    font-weight: 600;
    color: #1a1a1a;
    margin-left: 6px;
}

/* Pagination indicator dots styling */
.latest-products-section .swiper-pagination-bullet {
    background: #1a1a1a !important;
    opacity: 0.25;
}
.latest-products-section .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 22px;
    border-radius: 4px;
}

/* ==========================================
   Latest Products Slider UI Styling
   ========================================== */
.latest-products-section {
    padding: 6rem 10%;
    background-color: #ffffff;
}

.latest-products-section .section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.latest-products-section .section-title {
    font-size: 3rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.12em; */
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.latest-products-section .section-subtitle {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.product-card-modern {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-modern:hover {
    transform: translateY(-6px);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 4;
    background-color: #f8f9fa;
    overflow: hidden;
    /* border-radius: 8px; */
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-modern:hover .product-image-container img {
    transform: scale(1.04);
}

.product-badge.sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-card-details {
    padding: 1.25rem 0.5rem;
    text-align: left;
}

.product-card-details .product-title {
    font-size: 1.9rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.08em; */
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-details .product-price {
    font-size: 0.85rem;
    color: #555555;
}

.product-card-details .product-price ins {
    text-decoration: none;
    font-weight: 600;
    color: #1a1a1a;
    margin-left: 6px;
}

/* Pagination container spacing */
.latest-products-section .swiper-pagination {
    position: relative;
    margin-top: 3rem;
}

/* ==========================================
   Three-Column Product Grid Styling
   ========================================== */
.latest-products-grid-section {
    padding: 6rem 5%;
    background-color: #ffffff;
}

.latest-products-grid-section .section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.latest-products-grid-section .section-title {
    font-size: 2rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.12em; */
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.latest-products-grid-section .section-subtitle {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Strict 3-Column CSS Grid */
.products-three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive collapse on mobile */
@media (max-width: 900px) {
    .products-three-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .products-three-column-grid {
        grid-template-columns: 1fr;
    }
}

/* Card item styles */
.product-card-modern {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-modern:hover {
    transform: translateY(-6px);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #f8f9fa;
    overflow: hidden;
    /* border-radius: 8px; */
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-modern:hover .product-image-container img {
    transform: scale(1.04);
}

.product-badge.sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-card-details {
    padding: 1.25rem 0.5rem;
    text-align: left;
}

.product-card-details .product-title {
    font-size: 1.9rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.08em; */
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-details .product-price {
    font-size: 0.85rem;
    color: #555555;
}

.product-card-details .product-price ins {
    text-decoration: none;
    font-weight: 600;
    color: #1a1a1a;
    margin-left: 6px;
}

/* ==========================================
   Related Products Swipeable Section Styles
   ========================================== */
.related-products-section {
    padding: 6rem 5% 4rem 5%;
    background-color: #faf9f6;
    border-top: 1px solid #eaeaea;
    margin-top: 4rem;
}

.related-products-section .section-header {
    /* margin-bottom: 3.5rem; */
    text-align: center;
}

.related-products-section .section-title {
    font-size: 2rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.12em; */
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.related-products-section .section-subtitle {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.relatedProductsSwiper {
    padding-bottom: 3.5rem !important;
}

.related-products-section .swiper-slide {
    height: auto;
}

/* Pagination indicator dots styling */
.related-products-section .swiper-pagination-bullet {
    background: #1a1a1a !important;
    opacity: 0.25;
}
.related-products-section .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 22px;
    border-radius: 4px;
}



/* ==========================================
   Luxury Related Products UI Enhancements
   ========================================== */
.related-products-section {
    padding: 5rem 5% 4rem 5%;
    background-color: #faf9f6;
    border-top: 1px solid #eaeaea;
    margin-top: 5rem;
}

.relatedProductsSwiper {
    padding: 1rem 0 3.5rem 0 !important;
    max-width: 1320px;
    margin: 0 auto;
}

/* Modern Product Card Container */
.related-products-section .product-card-modern {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0efeb;
}

.related-products-section .product-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.related-products-section .product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Image Wrapper with Aspect Ratio */
.related-products-section .product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #f4f4f4;
}

.related-products-section .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.related-products-section .product-card-modern:hover .product-image-container img {
    transform: scale(1.05);
}

/* Sale Badge UI */
.related-products-section .product-badge.sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

/* Card Details Typography */
.related-products-section .product-card-details {
    padding: 1.25rem 1rem;
    text-align: left;
}

.related-products-section .product-card-details .product-title {
    font-size: 1.95rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-products-section .product-price {
    font-size: 0.9rem;
    color: #555555;
}

.related-products-section .product-price ins {
    text-decoration: none;
    font-weight: 600;
    color: #1a1a1a;
}

/* Pagination Bullets Alignment */
.related-products-section .swiper-pagination {
    bottom: 0px !important;
}

.related-products-section .swiper-pagination-bullet {
    background: #1a1a1a !important;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.related-products-section .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px;
    border-radius: 4px;
}


/* ==========================================
   Product Slider 3-Column Swipe Styles
   ========================================== */
.related-products-section {
    padding: 6rem 5% 4rem 5%;
    background-color: #faf9f6;
    border-top: 1px solid #eaeaea;
    margin: 0 auto;
    margin-top: 4rem;
    /* width: 100%; */
    overflow: hidden;
}

.related-products-section .section-header {
    margin-bottom: -1.5rem;
    text-align: center;
}

.related-products-section .section-title {
    font-size: 2.7rem;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.12em; */
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.related-products-section .section-subtitle {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.relatedProductsSwiper {
    padding-bottom: 3.5rem !important;
    max-width: 1400px;
    margin: 0 auto;
}

.related-products-section .swiper-slide {
    height: auto;
}

/* Pagination indicator dots styling */
.related-products-section .swiper-pagination-bullet {
    background: #1a1a1a !important;
    opacity: 0.25;
}

.related-products-section .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 22px;
    border-radius: 4px;
}

/* Force Swiper slides to divide evenly into columns */
.relatedProductsSwiper .swiper-wrapper {
    display: flex;
}

.relatedProductsSwiper .swiper-slide {
    flex-shrink: 0;
    box-sizing: border-box;
    /* Fallback width if JS calculates late */
    width: calc(33.333% - 20px); 
}

/* Ensure images maintain clean card proportions */
.related-products-section .product-card-modern {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

/* Fix Swiper slide widths for 3-column layout */
.relatedProductsSwiper .swiper-wrapper {
    display: flex !important;
}

.relatedProductsSwiper .swiper-slide {
    /* width: calc(33.333% - 20px) !important; */
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}



/* Custom Styled Swiper Navigation Arrows */
.related-products-section .swiper-button-prev,
.related-products-section .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    top: 45%;
}

.related-products-section .swiper-button-prev:hover,
.related-products-section .swiper-button-next:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.related-products-section .swiper-button-prev::after,
.related-products-section .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.related-products-section .swiper-button-prev:hover::after,
.related-products-section .swiper-button-next:hover::after {
    color: #ffffff;
}

.related-products-section .swiper-button-prev {
    left: -22px;
}

.related-products-section .swiper-button-next {
    right: -22px;
}

/* Ensure Swiper applies the custom spaceBetween gap correctly */
.relatedProductsSwiper .swiper-slide {
    margin-right: var(--swiper-slide-gap, 0px);
    box-sizing: border-box;
}

/* ==========================================
   Responsive Mobile Fix for Single Product
   ========================================== */

/* 1. Force the main product layout container to stack vertically on mobile */
.luxury-single-product {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
    padding: 1rem;
    box-sizing: border-box;
}

/* 2. Ensure gallery and summary wrappers take full width on mobile */
.luxury-single-product .product-gallery-wrapper,
.luxury-single-product .product-summary-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

/* 3. Make sure images stay responsive inside the gallery swiper */
.luxury-single-product .gallery-img-container img {
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
}

/* 4. Fix Add-to-Cart form layout for mobile screens */
.luxury-single-product .product-action-form form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.luxury-single-product .product-action-form .quantity {
    margin: 0;
}

.luxury-single-product .product-action-form button.single_add_to_cart_button {
    flex: 1;
    min-width: 160px;
    padding: 14px 20px;
    box-sizing: border-box;
}

/* 5. Desktop breakpoint: revert back to side-by-side grid */
@media (min-width: 992px) {
    .luxury-single-product {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
        padding: 3rem 5%;
        max-width: 1400px;
        margin: 0 auto;
    }


}
/* ==========================================
   Mobile Gallery & Layout Stabilization
   ========================================== */
.luxury-single-product .product-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
} 

/* Fix main image container aspect ratio and prevent collapse */
.luxury-single-product .productMainSwiper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fbfbfb;
}

.luxury-single-product .productMainSwiper .swiper-slide {
    width: 100%;
    height: auto;
}

.luxury-single-product .gallery-img-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f4f4f4;
}

.luxury-single-product .gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   Single Product Gallery Fixes for Multiple Images
   ========================================== */

/* Main Gallery Wrapper Layout */
.luxury-single-product .product-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Main Image Swiper Viewport */
.luxury-single-product .productMainSwiper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fcfcfc;
    border: 1px solid #eee;
}

.luxury-single-product .gallery-img-container {
    width: auto;
    aspect-ratio: 1 / 1; /* Keeps images cleanly square/uniform */
    overflow: hidden;
}

.luxury-single-product .gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail Swiper Fixes (Horizontal Scroll/Row) */
.luxury-single-product .productThumbsSwiper {
    width: 100%;
    height: 80px;
    box-sizing: border-box;
}

.luxury-single-product .productThumbsSwiper .swiper-slide {
    width: 75px !important;
    height: 80px;
    opacity: 0.5;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.luxury-single-product .productThumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #1a1a1a;
}

.luxury-single-product .productThumbsSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Ensure thumbnail strip displays properly underneath without spacing bugs */
.luxury-single-product .productThumbsSwiper {
    width: 100%;
    height: 70px;
    margin-top: 5px;
}

.luxury-single-product .productThumbsSwiper .swiper-slide {
    width: 60px !important;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.6;
    cursor: pointer;
    border: 1px solid #ddd;
}

.luxury-single-product .productThumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #1a1a1a;
}

.luxury-single-product .productThumbsSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

/* ==========================================
   Latest Arrivals Luxury Navigation Arrows
   ========================================== */
.latest-products-section {
    width: 100%;
    padding: 5rem 10%;
    background-color: #ffffff;
    box-sizing: border-box;
}

.latest-products-section .latest-swiper-container-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px; /* Space for absolute arrows */
    box-sizing: border-box;
}

.latestProductsSwiper {
    padding: 1rem 0 3.5rem 0 !important;
}

/* Luxury Circular Button Styling */
.latest-products-section .swiper-button-prev,
.latest-products-section .swiper-button-next {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e2dfdb;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    top: 42%;
    margin-top: 0;
}

.latest-products-section .swiper-button-prev:hover,
.latest-products-section .swiper-button-next:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Arrow Icon Customization */
.latest-products-section .swiper-button-prev::after,
.latest-products-section .swiper-button-next::after {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.latest-products-section .swiper-button-prev:hover::after,
.latest-products-section .swiper-button-next:hover::after {
    color: #ffffff;
}

/* Precise positioning outside or at the edges */
.latest-products-section .swiper-button-prev {
    left: 0px;
}

.latest-products-section .swiper-button-next {
    right: 0px;
}

/* Hide arrows cleanly on mobile screens where touch swipe is preferred */
@media (max-width: 768px) {
    .latest-products-section .swiper-button-prev,
    .latest-products-section .swiper-button-next {
        /* display: none; */
    }
    .latest-products-section .latest-swiper-container-wrapper {
        padding: 0 15px;
    }
}

