/*
 * African Luxury E-Commerce - Flagship Visual Design System
 */

/* Google Fonts Import (Removed for offline capability - fonts are now loaded via layouts dynamically) */
/* @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@200;300;400;500;600;700&display=swap'); */

:root {
    /* Color Palette - Updated to new Brand Colors */
    --color-ivory: #faf8f5;       /* Pristine light luxury ivory sand base */
    --color-brown: #6c715d;       /* Sage/olive green primary accent */
    --color-black: #000000;       /* Rich deep black */
    --color-white: #ffffff;       /* Pure white */
    --color-terracotta: #ed1c24;  /* Vivid red highlight / callouts */
    --color-wine: #9b0f13;        /* Elegant velvet crimson red for refined hovers and highlights */
    --color-gold: #6c715d;        /* Sage/olive green accents */
    --color-clay: #6c715d;        /* Sage/olive green secondary */
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-serif-luxury: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* System Spaces */
    --spacing-luxury: 2.5rem;
}

/* Base Styles Override & Scrollbars */
body {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-ivory) 100%) !important;
    color: var(--color-black) !important;
    font-family: var(--font-body);
    font-size: 15px;
    letter-spacing: 0.03em;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Styled Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-white);
}
::-webkit-scrollbar-thumb {
    background: var(--color-brown);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-terracotta);
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-heading);
    color: var(--color-black);
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Elegant Luxury Container overrides */
.bg-ivory {
    background-color: var(--color-ivory) !important;
}

.text-brown {
    color: var(--color-brown) !important;
}

.text-terracotta {
    color: var(--color-terracotta) !important;
}

.text-gold {
    color: var(--color-gold) !important;
}

.text-rating-star {
    color: #ffc107 !important; /* Standard vibrant rating gold */
}

.text-wine {
    color: var(--color-wine) !important;
}

.bg-black-ui {
    background-color: var(--color-black) !important;
    color: var(--color-ivory) !important;
}

.border-luxury {
    border-color: rgba(139, 94, 60, 0.15) !important;
}

/* Premium Editorial Buttons */
.btn-luxury-dark {
    background-color: var(--color-brown);
    color: var(--color-ivory);
    border: 1px solid var(--color-brown);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-luxury-dark:hover {
    background-color: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-ivory);
    transform: translateY(-2px);
}

.btn-luxury-outline {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: 0;
    transition: all 0.35s ease;
}

.btn-luxury-outline:hover {
    background-color: var(--color-black);
    color: var(--color-ivory);
    transform: translateY(-2px);
}

.btn-luxury-accent {
    background-color: var(--color-terracotta);
    color: var(--color-ivory);
    border: 1px solid var(--color-terracotta);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: 0;
    transition: all 0.35s ease;
}

.btn-luxury-accent:hover {
    background-color: var(--color-wine);
    border-color: var(--color-wine);
    color: var(--color-ivory);
}

/* Luxury Editorial Hero Section */
.hero-wrapper {
    position: relative;
    height: 90vh;
    background-color: var(--color-black);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transform: scale(1.05);
    transition: transform 1.8s ease;
}

.hero-wrapper:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(28,28,28,0.2) 0%, rgba(28,28,28,0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 6% 0;
}

/* Luxury Lookbook Card Image Zoom */
.lookbook-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    background-color: var(--color-white) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(107, 112, 92, 0.12) !important;
}

.lookbook-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(107, 112, 92, 0.08) !important;
    border-color: var(--color-gold) !important;
}

.lookbook-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 130%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background-color: #E2D9CF;
}

.lookbook-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.lookbook-card:hover .lookbook-img {
    transform: scale(1.05);
}

/* Badge Styling */
.badge-luxury {
    background-color: var(--color-wine);
    color: var(--color-ivory);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 0;
}

.badge-featured {
    background-color: var(--color-gold);
    color: var(--color-black);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 0;
}

/* Custom Navigation */
.navbar-luxury {
    background-color: rgba(246, 241, 234, 0.95) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(107, 112, 92, 0.12);
    padding: 1.2rem 0;
}

.navbar-luxury .nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-black) !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem !important;
    transition: color 0.3s ease;
}

.navbar-luxury .nav-link:hover {
    color: var(--color-brown) !important;
}

/* Micro Interactions & Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Luxury Form Inputs */
/* Luxury Bespoke Form Inputs */
.form-luxury-control {
    background-color: transparent !important;
    border-width: 0 0 1px 0 !important;
    border-style: solid !important;
    border-color: rgba(28, 28, 28, 0.2) !important;
    border-radius: 0 !important;
    color: var(--color-black) !important;
    padding: 0.8rem 0.4rem !important;
    font-size: 0.9rem !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.form-luxury-control:focus {
    border-color: var(--color-brown) !important;
    padding-left: 0.9rem !important;
    box-shadow: none !important;
}

.form-luxury-label {
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--color-black);
    margin-bottom: 0.4rem;
}

/* Sticky Mobile Add To Cart Container */
@media (max-width: 768px) {
    .mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--color-ivory);
        border-top: 1px solid rgba(28,28,28,0.1);
        padding: 0.8rem 1rem;
        z-index: 1000;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    }
}

/* Accessibility & Luxury Design Contrast Overrides */
.text-black-50 {
    color: rgba(28, 28, 28, 0.7) !important; /* Slightly darker gray for enhanced readability on Ivory background */
}

.text-muted {
    color: rgba(28, 28, 28, 0.55) !important; /* Enhanced readability for secondary parameters */
}

/* High Contrast text colors inside Deep Black containers */
.bg-black-ui .text-secondary {
    color: rgba(246, 241, 234, 0.7) !important;
}

.bg-black-ui .text-muted {
    color: rgba(246, 241, 234, 0.45) !important;
}

.bg-black-ui a.text-secondary:hover {
    color: var(--color-gold) !important;
    transition: color 0.3s ease;
}

/* Premium Translucent Glassmorphic Cards */
.card.bg-light {
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(107, 112, 92, 0.15) !important;
    border-radius: 0 !important;
}

/* Consistent Interactive Size Selectors */
.size-select-btn {
    color: var(--color-black) !important;
    border-color: rgba(28, 28, 28, 0.25) !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.size-select-btn:hover, .size-select-btn.active {
    background-color: var(--color-black) !important;
    color: var(--color-ivory) !important;
    border-color: var(--color-black) !important;
}

.form-control::placeholder {
    color: rgba(28, 28, 28, 0.4) !important;
}

/* Transition improvements on hover triggers */
.hover-elevation {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-elevation:hover {
    transform: translateY(-2px);
    color: var(--color-brown) !important;
}

/* Translucent Editorial Hero Overlay Caption Cards */
.hero-caption-card {
    background-color: rgba(28, 28, 28, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    border-radius: 0 !important;
    padding: 2.2rem !important;
    text-align: left;
}

@media (min-width: 768px) {
    .hero-caption-card {
        padding: 3.5rem !important;
    }
}

/* --- Premium Redesign & Luxury Catalog Refinements --- */

.glass-filter-card {
    background: rgba(214, 204, 194, 0.65) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(107, 112, 92, 0.15) !important;
    border-radius: 0 !important;
    box-shadow: 0 15px 35px rgba(107, 112, 92, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-filter-card:hover {
    box-shadow: 0 20px 45px rgba(107, 112, 92, 0.08) !important;
    border-color: rgba(107, 112, 92, 0.25) !important;
}

/* Luxury Filter Link with Sliding Accent Dot/Line */
.luxury-filter-link {
    color: rgba(28, 28, 28, 0.6) !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: all 0.35s ease;
    display: inline-block;
}

.luxury-filter-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-terracotta);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-filter-link:hover {
    color: var(--color-black) !important;
    padding-left: 4px;
}

.luxury-filter-link:hover::after {
    width: 100%;
}

.luxury-filter-link.active {
    color: var(--color-terracotta) !important;
    font-weight: 600;
    padding-left: 6px;
}

.luxury-filter-link.active::after {
    width: 100%;
    background-color: var(--color-terracotta);
}

/* Styled Elegant Dropdown Sort Select */
.luxury-select-wrapper {
    position: relative;
    display: inline-block;
}

.luxury-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(28, 28, 28, 0.25) !important;
    border-radius: 0 !important;
    padding: 0.25rem 2rem 0.25rem 0.5rem !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-black) !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.luxury-select:focus {
    outline: none !important;
    border-bottom-color: var(--color-gold) !important;
    box-shadow: none !important;
}

.luxury-select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-black);
    pointer-events: none;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.luxury-select-wrapper:hover::after {
    color: var(--color-brown);
}

/* Premium Minimalist Pagination Elements */
.pagination-luxury {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 3.5rem 0 1rem 0;
}

.page-link-luxury {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid rgba(107, 112, 92, 0.25) !important;
    background-color: var(--color-ivory) !important;
    color: var(--color-black) !important;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50% !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 10px rgba(107, 112, 92, 0.02);
}

.page-link-luxury:hover {
    background-color: var(--color-black) !important;
    color: var(--color-ivory) !important;
    border-color: var(--color-black) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(28, 28, 28, 0.15) !important;
}

.page-link-luxury.active {
    background-color: var(--color-brown) !important;
    color: var(--color-ivory) !important;
    border-color: var(--color-brown) !important;
    box-shadow: 0 6px 15px rgba(107, 112, 92, 0.15) !important;
}

.page-link-luxury.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    border-color: rgba(107, 112, 92, 0.15) !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* --- Responsive Luxury Pagination --- */
@media (max-width: 576px) {
    .pagination-luxury {
        gap: 0.35rem !important;
        margin: 2rem 0 1rem 0 !important;
        padding-left: 0 !important;
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .page-link-luxury {
        width: 2.2rem !important;
        height: 2.2rem !important;
        font-size: 0.75rem !important;
    }
}

/* Float tag for featured lookup cards */
.lookbook-floating-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    background: rgba(28, 28, 28, 0.85) !important;
    color: var(--color-white) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.lookbook-floating-badge-secondary {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    background: rgba(90, 30, 42, 0.85) !important;
    color: var(--color-ivory) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(246, 241, 234, 0.15) !important;
}

/* Subtle accent lines on catalogue page */
.editorial-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.editorial-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
}

/* --- Premium Cinematic Header Slider Overhaul --- */

/* Ken Burns slow cinematic background image zoom */
@keyframes kenBurns {
    0% {
        transform: scale(1.05) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-1%, -0.5%);
    }
}

.hero-bg {
    z-index: 1;
}

/* Legibility dark mask overlay placed above image but behind content */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 12, 0.48) !important; /* Solid legibility color overlay across the entire slider campaign photo */
    z-index: 2;
    pointer-events: none;
}

.carousel-item.active .hero-bg {
    animation: kenBurns 12s ease-out forwards;
}

/* Asymmetrical luxury editorial overlay */
.hero-editorial-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12,12,12,0.96) 0%, rgba(12,12,12,0.75) 45%, rgba(12,12,12,0.3) 100%);
    display: flex;
    align-items: center;
    padding-top: 4rem;
    z-index: 3;
}

/* Base utility for ivory text legibility */
.text-ivory {
    color: var(--color-ivory) !important;
}

/* Force bright legibility for typography inside the dark carousel background */
.hero-content-editorial h1,
.hero-content-editorial .hero-title-editorial {
    color: var(--color-white) !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); /* Soft atmospheric drop-shadow to make headers pop beautifully */
}

.hero-content-editorial p,
.hero-content-editorial .hero-text-editorial {
    color: rgba(246, 241, 234, 0.88) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.hero-content-editorial {
    max-width: 680px;
    padding-left: 10%;
    text-align: left;
    margin-bottom: 7.5rem; /* Creates a guaranteed safety zone at the bottom for the absolute indicators */
}

@media (max-width: 768px) {
    .hero-editorial-overlay {
        background: linear-gradient(180deg, rgba(12,12,12,0.45) 0%, rgba(12,12,12,0.92) 100%);
        align-items: center; /* Center vertically on mobile */
        padding-bottom: 6.5rem !important; /* Breathing room for bottom center arrows */
        padding-top: 3.5rem !important;
    }
    .hero-content-editorial {
        padding-left: 5% !important;
        padding-right: 5% !important;
        text-align: center !important;
        margin-bottom: 0 !important; /* Remove bottom margin to let vertical centering balance it */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    .hero-title-editorial {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
    .hero-text-editorial {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 1.8rem !important;
        text-align: center !important;
        max-width: 480px !important;
    }
}

/* Staggered high-fashion entry animations */
.carousel-item .hero-badge-editorial {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.carousel-item .hero-title-editorial {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.carousel-item .hero-text-editorial {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
    letter-spacing: 0.06em;
}

.carousel-item .hero-actions-editorial {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.carousel-item.active .hero-badge-editorial,
.carousel-item.active .hero-title-editorial,
.carousel-item.active .hero-text-editorial,
.carousel-item.active .hero-actions-editorial {
    opacity: 1;
    transform: translateY(0);
}

/* High Contrast Contrast Editorial Campaign Action Buttons */
.hero-content-editorial .btn-luxury-dark {
    background-color: var(--color-gold) !important;
    color: var(--color-black) !important;
    border-color: var(--color-gold) !important;
    font-weight: 600 !important;
}

.hero-content-editorial .btn-luxury-dark:hover {
    background-color: var(--color-ivory) !important;
    border-color: var(--color-ivory) !important;
    color: var(--color-black) !important;
}

.hero-content-editorial .btn-luxury-outline {
    border-color: rgba(246, 241, 234, 0.6) !important;
    color: var(--color-ivory) !important;
}

.hero-content-editorial .btn-luxury-outline:hover {
    background-color: var(--color-ivory) !important;
    color: var(--color-black) !important;
    border-color: var(--color-ivory) !important;
}

/* Custom premium horizontal indicators */
.hero-custom-indicators {
    position: absolute;
    bottom: 2.5rem; /* Lowered safely for neat layout breathing room */
    left: 10%;
    right: 10%;
    z-index: 15;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid rgba(246, 241, 234, 0.15);
    padding-top: 1.5rem;
}

.hero-indicator-item {
    background: none;
    border: none;
    color: rgba(246, 241, 234, 0.4);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: left;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 28%;
}

.hero-indicator-item .ind-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: rgba(246, 241, 234, 0.2);
    transition: all 0.4s ease;
}

.hero-indicator-item .ind-line {
    height: 1px;
    width: 0;
    background-color: var(--color-gold);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-indicator-item:hover {
    color: rgba(246, 241, 234, 0.7);
}

.hero-indicator-item.active {
    color: var(--color-ivory) !important;
}

.hero-indicator-item.active .ind-num {
    color: var(--color-gold) !important;
}

.hero-indicator-item.active .ind-line {
    width: 100%;
}

@media (max-width: 768px) {
    .hero-custom-indicators {
        display: none; /* Hide wide indicators on mobile to prevent clutter */
    }
}

/* Center-aligned edge-inset circular navigation buttons */
.btn-hero-nav-left {
    position: absolute;
    left: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.btn-hero-nav-right {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.btn-hero-nav {
    background: rgba(28, 28, 28, 0.82) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.45) !important; /* Premium gold hairline border */
    color: var(--color-gold) !important; /* Gold arrow symbol for high-end look */
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
}

.btn-hero-nav:hover {
    background-color: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: var(--color-black) !important;
    transform: scale(1.1) !important; /* Scale cleanly from center without vertical translate overrides */
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35) !important;
}

.btn-hero-nav i {
    font-size: 0.85rem;
}

.hero-nav-mobile-container {
    display: none !important;
}

@media (max-width: 768px) {
    .btn-hero-nav-left {
        left: 2%;
    }
    .btn-hero-nav-right {
        right: 2%;
    }
    .btn-hero-nav {
        width: 3rem;
        height: 3rem;
    }
}

/* Premium Cultural Narrative Banner with Parallax Background & Luxury Wine Red Gradient Overlay */
.cultural-narrative-banner {
    position: relative;
    background-image: url('../images/hero_fashion.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important; /* Elegant parallax scroll effect */
    overflow: hidden;
    padding: 3.5rem 0 !important;
}

.cultural-narrative-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.94) 0%, rgba(108, 113, 93, 0.86) 100%) !important; /* Premium brand deep black to sage green gradient overlay */
    z-index: 1;
    pointer-events: none;
}

.cultural-narrative-banner .container {
    position: relative;
    z-index: 2;
}

.cultural-narrative-banner p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Premium Redesigned Editorial Footer */
.footer-luxury {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #171c19 0%, #0d0a09 100%) !important; /* Premium atmospheric dark sage top-down glow */
    color: rgba(246, 241, 234, 0.65) !important;
    font-family: var(--font-body);
    font-weight: 300;
    overflow: hidden;
    border-top: 1px solid rgba(108, 113, 93, 0.15) !important; /* Elegant sage hairline border */
    letter-spacing: 0.03em;
}

.footer-luxury .container {
    position: relative;
    z-index: 2;
}

/* Beautiful Branding Section */
.footer-logo-premium {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-white) !important;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-logo-premium:hover {
    opacity: 0.85;
}

/* Luxury Section Titles - Premium Serif Typography with Fading Theme Underline */
.footer-heading {
    font-family: var(--font-heading) !important; /* Luxurious serif typeface */
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.18em !important;
    color: var(--color-white) !important;
    margin-bottom: 0.5rem !important;
}

.footer-heading-underline {
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-brown) 0%, rgba(108, 113, 93, 0.05) 100%) !important; /* Soft fading horizontal line */
    margin-bottom: 1.8rem;
}

.footer-luxury .text-gold {
    color: var(--color-brown) !important; /* Primary brand accent color for icons */
}

/* Concierge Card True Glassmorphism with Micro-Interactions */
.concierge-card {
    background: rgba(108, 113, 93, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.concierge-card:hover {
    border-color: rgba(108, 113, 93, 0.22) !important; /* Subtle glow response */
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

.concierge-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(108, 113, 93, 0.18) 0%, rgba(108, 113, 93, 0.04) 100%) !important;
    border: 1px solid rgba(108, 113, 93, 0.18) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.concierge-card:hover .concierge-icon-circle {
    border-color: rgba(108, 113, 93, 0.4) !important;
    background: linear-gradient(135deg, rgba(108, 113, 93, 0.25) 0%, rgba(108, 113, 93, 0.08) 100%) !important;
}

/* Elegant Links List with Fluid Micro-Animations */
.footer-nav-list li {
    line-height: 1.5;
}

.footer-link-luxury {
    color: rgba(246, 241, 234, 0.65) !important;
    font-family: var(--font-body);
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
}

.footer-link-luxury i {
    font-size: 0.65rem !important;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: scale(0.9);
}

.footer-link-luxury:hover {
    color: var(--color-white) !important;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(108, 113, 93, 0.25);
}

.footer-link-luxury:hover i {
    color: var(--color-brown) !important;
    opacity: 1;
    transform: translateX(2px) scale(1);
}

/* Premium Redesigned Circular Social Media Buttons */
.footer-social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1px solid rgba(108, 113, 93, 0.4) !important;
    background: linear-gradient(135deg, var(--color-brown) 0%, rgba(108, 113, 93, 0.8) 100%) !important; /* Sage green brand theme accent */
    backdrop-filter: blur(4px);
    color: var(--color-white) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(108, 113, 93, 0.45) !important;
    outline: 1px solid rgba(108, 113, 93, 0.3) !important; /* Luxurious outer glowing ring halo */
    outline-offset: 4px !important;
    text-decoration: none !important;
    transform: translateY(-3px) scale(1.02);
}

.footer-social-circle i {
    font-size: 0.9rem;
    transform: scale(1.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-circle:hover {
    background: linear-gradient(135deg, var(--color-black) 0%, #1a1a1a 100%) !important; /* Elegant black shift on active hover */
    color: var(--color-white) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6) !important;
    outline: 1px solid rgba(255, 255, 255, 0.2) !important;
    outline-offset: 6px !important;
}

.footer-social-circle:hover i {
    transform: scale(1.2); /* Micro-scale on hover, no rotation */
}




/* Editorial Newsletter Section */
.footer-newsletter-cta {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(246, 241, 234, 0.7) !important;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* Premium Linear Gradient Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(246, 241, 234, 0) 0%, rgba(246, 241, 234, 0.08) 50%, rgba(246, 241, 234, 0) 100%) !important;
    width: 100%;
}

/* Legal Bottom Bar Styling */
.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(246, 241, 234, 0.45) !important;
}

.footer-legal-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(246, 241, 234, 0.45) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 1px;
}

.footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: rgba(246, 241, 234, 0.25);
    transition: width 0.35s ease;
}

.footer-legal-link:hover {
    color: var(--color-brown) !important;
}

.footer-legal-link:hover::after {
    width: 100%;
    background-color: var(--color-brown);
}

.footer-legal-sep {
    display: inline-block;
    width: 1px;
    height: 10px;
    background-color: rgba(246, 241, 234, 0.1);
}

@media (max-width: 768px) {
    .footer-bottom {
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* --- Premium Header Luxury Search Bar --- */
.luxury-search-form {
    border-bottom: 1px solid rgba(28, 28, 28, 0.12) !important;
    background: transparent !important;
    padding-bottom: 0.15rem;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.luxury-search-form:focus-within {
    border-color: var(--color-gold) !important;
}

.luxury-search-input {
    background: transparent !important;
    border: none !important;
    color: var(--color-black) !important;
    font-family: var(--font-body);
    font-size: 0.72rem !important;
    font-weight: 400;
    letter-spacing: 0.12em;
    width: 120px;
    outline: none !important;
    box-shadow: none !important;
    padding: 0.1rem 0 !important;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.luxury-search-input:focus {
    width: 180px;
}

.luxury-search-input::placeholder {
    color: rgba(28, 28, 28, 0.45) !important;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
}

.luxury-search-btn {
    background: transparent !important;
    border: none !important;
    color: var(--color-black) !important;
    padding: 0 0.2rem !important;
    cursor: pointer;
    transition: all 0.35s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.luxury-search-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease !important;
}

.luxury-search-btn:hover {
    color: var(--color-gold) !important;
}

.luxury-search-btn:hover i {
    transform: scale(1.15);
}

/* --- Ultra-Premium Search Hub & Advanced Filters Overhaul --- */

/* Live Search Grid Animations */
@keyframes luxuryGridFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.luxury-grid-item {
    animation: luxuryGridFade 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Premium Search Hub Banner */
.search-hub-banner {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(139, 94, 60, 0.12);
    text-align: center;
}

.search-hub-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    color: var(--color-brown);
    text-transform: uppercase;
}

.search-hub-keyword {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 2.4rem;
    letter-spacing: 0.05em;
    color: var(--color-black);
    display: inline-block;
    position: relative;
    margin: 0.5rem 0;
}

.search-hub-keyword::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
}

/* Luxury Advanced Filter Panel */
.luxury-filter-header {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-brown);
    border-bottom: 1px solid rgba(139, 94, 60, 0.12);
    padding-bottom: 0.6rem;
    margin-bottom: 1.5rem;
}

.luxury-filter-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-black);
    display: block;
    margin-bottom: 0.8rem;
}

.luxury-price-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.luxury-price-field {
    position: relative;
    flex: 1;
}

.luxury-price-field span {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(28, 28, 28, 0.4);
}

.luxury-price-input {
    width: 100%;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(28, 28, 28, 0.15) !important;
    border-radius: 0 !important;
    padding: 0.4rem 0.4rem 0.4rem 1.4rem !important;
    font-family: var(--font-body);
    font-size: 0.75rem !important;
    color: var(--color-black) !important;
    transition: all 0.3s ease !important;
}

.luxury-price-input:focus {
    border-bottom-color: var(--color-brown) !important;
    box-shadow: none !important;
}

/* Custom Minimalist Toggle Switch */
.luxury-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
}

.luxury-switch-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(28, 28, 28, 0.6);
    letter-spacing: 0.04em;
}

.luxury-switch-input {
    appearance: none;
    -webkit-appearance: none;
    width: 2.4rem;
    height: 1.2rem;
    background-color: rgba(28, 28, 28, 0.1);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
}

.luxury-switch-input::before {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    background-color: var(--color-ivory);
    border-radius: 50%;
    top: 50%;
    left: 0.1rem;
    transform: translateY(-50%);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.luxury-switch-input:checked {
    background-color: var(--color-terracotta);
}

.luxury-switch-input:checked::before {
    left: 1.3rem;
}

/* Custom Premium Clear Tag */
.active-tag-luxury {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(139, 94, 60, 0.08);
    color: var(--color-brown);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.75rem;
    border-radius: 0;
    text-decoration: none;
    border: 1px solid rgba(139, 94, 60, 0.12);
    transition: all 0.3s ease;
}

.active-tag-luxury:hover {
    background-color: var(--color-black);
    color: var(--color-ivory);
    border-color: var(--color-black);
}

/* Elite Luxury Search Empty State */
.empty-state-luxury {
    border: 1px solid rgba(139, 94, 60, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(16px);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 0 !important;
}

.empty-state-icon {
    font-size: 2.6rem;
    color: var(--color-brown);
    margin-bottom: 1.8rem;
    opacity: 0.85;
}

.empty-state-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.empty-state-desc {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(28, 28, 28, 0.55);
    max-width: 480px;
    margin: 0 auto 2.2rem auto;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

/* Mobile Filter Collapsible Trigger */
.btn-mobile-filter {
    background-color: var(--color-black);
    color: var(--color-ivory);
    border: 1px solid var(--color-black);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    width: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-mobile-filter:hover {
    background-color: var(--color-brown);
    border-color: var(--color-brown);
}

/* --- Fully-Optimized Mobile Layout & Premium Responsiveness Overrides --- */

@media (max-width: 991px) {
    /* Premium Collapsed Mobile Dropdown Menu */
    .navbar-luxury .navbar-collapse {
        background-color: rgba(250, 248, 245, 0.97) !important; /* Premium Ivory Sand */
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(108, 113, 93, 0.12) !important;
        margin-top: 0.8rem;
        padding: 2rem 1.5rem !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
        border-radius: 0 0 16px 16px; /* Elegant rounded bottom corners */
    }
    
    .navbar-luxury .nav-item {
        text-align: center;
        margin: 0;
        border-bottom: 1px solid rgba(108, 113, 93, 0.06); /* Soft hairline separator */
    }
    
    .navbar-luxury .nav-item:last-child {
        border-bottom: none; /* No separator on last item */
    }
    
    .navbar-luxury .nav-link {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.18em !important;
        padding: 1.1rem 0 !important; /* Taller touch targets */
        color: var(--color-black) !important;
        width: 100%;
        display: inline-block;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    
    .navbar-luxury .nav-link:hover {
        color: var(--color-brown) !important;
        padding-left: 8px !important; /* Premium slide-in text shift */
    }
    
    .navbar-luxury .dropdown-menu {
        background-color: rgba(108, 113, 93, 0.03) !important;
        border: none !important;
        text-align: center;
        box-shadow: none !important;
        padding: 0.5rem 0 !important;
        margin-bottom: 0.8rem;
    }
    
    .navbar-luxury .dropdown-item {
        font-size: 0.8rem !important;
        letter-spacing: 0.12em !important;
        padding: 0.8rem 0 !important;
        color: rgba(28, 28, 28, 0.7) !important;
    }

    /* Luxury Minimalist Toggler Button & Hamburger-to-X Animation */
    .navbar-luxury .navbar-toggler {
        padding: 0.5rem;
        transition: transform 0.3s ease;
        border: none !important;
    }
    .navbar-luxury .navbar-toggler:focus {
        box-shadow: none !important;
    }
    .navbar-luxury .navbar-toggler-icon {
        background-image: none !important; /* Remove bootstrap default icon */
        position: relative;
        width: 22px;
        height: 2px;
        background-color: var(--color-black) !important;
        display: inline-block;
        transition: all 0.3s ease;
    }
    .navbar-luxury .navbar-toggler-icon::before,
    .navbar-luxury .navbar-toggler-icon::after {
        content: '';
        position: absolute;
        width: 22px;
        height: 2px;
        background-color: var(--color-black);
        left: 0;
        transition: all 0.3s ease;
    }
    .navbar-luxury .navbar-toggler-icon::before {
        top: -6px;
    }
    .navbar-luxury .navbar-toggler-icon::after {
        top: 6px;
    }
    
    /* Elegant state transition when opened */
    .navbar-luxury .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-color: transparent !important;
    }
    .navbar-luxury .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    .navbar-luxury .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

@media (max-width: 768px) {
    /* Fluid Responsive Typography Clamps */
    .display-1 { font-size: 2.8rem !important; }
    .display-2 { font-size: 2.4rem !important; }
    .display-3 { font-size: 2.0rem !important; }
    .display-4 { font-size: 1.8rem !important; }
    .display-5 { font-size: 1.5rem !important; }
    .display-6 { font-size: 1.3rem !important; }
    
    .editorial-title {
        font-size: 1.8rem !important;
    }
    
    /* Responsive Hero Wrapper Heights */
    .hero-wrapper {
        height: 75vh !important;
        min-height: 520px !important;
    }
    
    /* Responsive text justification override on mobile */
    .text-justify {
        text-align: left !important;
    }
    
    /* Staggered Paddings & Breathing Margins Scale-down */
    .p-5 {
        padding: 1.8rem !important; /* Breathes beautiful space without text squeezing */
    }
    
    .py-5 {
        padding-top: 2.8rem !important;
        padding-bottom: 2.8rem !important;
    }
    
    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    
    /* Premium Centered Navigation for Mobile Hero Carousel */
    .btn-hero-nav-left,
    .btn-hero-nav-right {
        display: none !important;
    }
    .hero-nav-mobile-container {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        position: absolute;
        bottom: 1.8rem;
        left: 0;
        right: 0;
        z-index: 100;
    }
    .btn-hero-nav {
        width: 2.8rem !important;
        height: 2.8rem !important;
        background: rgba(28, 28, 28, 0.75) !important;
        border: 1px solid rgba(246, 241, 234, 0.25) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    .btn-hero-nav i {
        font-size: 0.75rem !important;
    }
    
    /* Centered side-by-side premium hero buttons on mobile */
    .hero-actions-editorial {
        justify-content: center !important;
        width: 100%;
        gap: 0.75rem !important;
    }
    .hero-actions-editorial .btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.78rem !important;
        width: calc(50% - 0.5rem) !important;
        min-width: 120px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Clean up footer bottom layout on mobile */
    .footer-legal-sep {
        display: none !important;
    }
    .footer-legal-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.75rem 1.5rem !important;
        width: 100%;
        margin-top: 0.5rem;
    }
    .footer-copyright {
        margin-bottom: 0.25rem !important;
        text-align: center;
        width: 100%;
    }
    
    /* Quick lookbook cards layout fixes */
    .lookbook-card {
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra-small screens layout optimizations (e.g. iPhone SE) */
    .display-3 { font-size: 1.7rem !important; }
    .display-4 { font-size: 1.6rem !important; }
    .display-5 { font-size: 1.4rem !important; }
    
    .hero-wrapper {
        height: 70vh !important;
        min-height: 480px !important;
    }
    /* Keep action buttons side-by-side and centered */
    .hero-actions-editorial .btn {
        width: calc(50% - 0.4rem) !important;
        min-width: 110px !important;
        padding: 0.65rem 1rem !important;
        font-size: 0.75rem !important;
    }
    .hero-nav-mobile-container {
        bottom: 1.2rem !important;
        gap: 1.2rem !important;
    }
}

/* --- Premium Scroll to Top Action Overrides --- */
.footer-scroll-top-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    border: none !important;
    background-color: var(--color-brown) !important; /* Sage green brand theme accent */
    color: var(--color-ivory) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(108, 113, 93, 0.25);
    z-index: 9999;
    position: fixed !important;
    bottom: 2.2rem !important;
    right: 2.2rem !important;
    left: auto !important;
}

.footer-scroll-top-circle i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.footer-scroll-top-circle:hover {
    background-color: var(--color-black) !important;
    color: var(--color-ivory) !important;
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

.footer-scroll-top-circle:hover i {
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .footer-bottom {
        position: relative !important;
        padding-right: 0 !important; /* Removed absolute scroll spacing */
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .footer-copyright {
        text-align: left !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .footer-scroll-top-circle {
        position: fixed !important;
        bottom: 1.5rem !important;
        right: 1.5rem !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 9999 !important;
    }
}

/* --- Private Registry Call-To-Action Banner --- */
.private-registry-banner {
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0 !important;
    background-color: #0c0908;
    border-top: 1px solid rgba(108, 113, 93, 0.1);
    border-bottom: 1px solid rgba(108, 113, 93, 0.1);
}

.private-registry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12, 12, 12, 0.88) 0%, rgba(12, 12, 12, 0.35) 50%, rgba(12, 12, 12, 0.88) 100%), 
                url('../images/luxury_gown.png') no-repeat center center !important;
    background-size: cover !important;
    background-position: center 30% !important;
    background-attachment: fixed !important; /* Premium parallax scrolling depth */
    z-index: 1;
    pointer-events: none;
    transition: transform 9s cubic-bezier(0.16, 1, 0.3, 1);
}

.private-registry-banner:hover .private-registry-bg {
    transform: scale(1.06); /* Sophisticated atmospheric camera zoom effect */
}

.private-registry-banner .container {
    position: relative;
    z-index: 2;
}

.private-registry-banner h2 {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
}

light-intensity {
    opacity: 0.8;
}

.private-registry-banner p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Custom Branding Logo Styles added by Antigravity */
.brand-logo-header {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}
.brand-logo-header:hover {
    transform: scale(1.05);
}

.brand-logo-footer {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1); /* Pure luxury ivory/white on dark background */
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.brand-logo-footer:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Bolder Font weights for general footer text */
.footer-description,
.footer-newsletter-cta {
    font-weight: 400 !important; /* Prominent readable weight */
}

.footer-copyright {
    font-weight: 500 !important; /* Premium semi-bold legal notice */
}

/* Premium Floating WhatsApp Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 2.0rem;
    left: 2.0rem !important;
    right: auto !important;
    width: 3.0rem;
    height: 3.0rem;
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%) !important; /* Premium brand green gradient */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important; /* Light border */
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.4); /* Glow shadow */
    z-index: 9999;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.whatsapp-float-btn svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: #ffffff !important;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 !important;
    padding: 0 !important;
}

.whatsapp-float-btn:hover {
    background: linear-gradient(135deg, #075e54 0%, #128c7e 100%) !important; /* Darker WhatsApp teal gradient */
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(7, 94, 84, 0.55) !important;
    text-decoration: none !important;
}

.whatsapp-float-btn:hover svg {
    fill: #ffffff !important;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        width: 2.6rem;
        height: 2.6rem;
        bottom: 1.5rem;
        left: 1.5rem !important;
        right: auto !important;
        border-radius: 50% !important;
        padding: 0 !important;
        background: linear-gradient(135deg, #128c7e 0%, #25d366 100%) !important;
    }
    .whatsapp-float-btn svg {
        width: 1.4rem;
        height: 1.4rem;
    }
}

/* ==========================================================================
   PREMIUM CUSTOM BRANDED STAMP & ROTATION ANIMATIONS
   ========================================================================== */
.luxury-stamp-container {
    display: inline-block;
    position: relative;
    user-select: none;
    line-height: 1;
    vertical-align: middle;
}

.luxury-stamp-svg {
    width: 120px;
    height: 120px;
    color: var(--color-brown, #8b5e3c);
    animation: slow-stamp-rotate 28s linear infinite;
    transform-origin: center center;
    display: block;
    will-change: transform;
}

/* Stamp Size Variants */
.luxury-stamp-container.stamp-xs .luxury-stamp-svg {
    width: 50px;
    height: 50px;
}
.luxury-stamp-container.stamp-sm .luxury-stamp-svg {
    width: 80px;
    height: 80px;
}
.luxury-stamp-container.stamp-md .luxury-stamp-svg {
    width: 120px;
    height: 120px;
}
.luxury-stamp-container.stamp-lg .luxury-stamp-svg {
    width: 160px;
    height: 160px;
}

/* Stamp Color Themes */
.luxury-stamp-container.stamp-gold .luxury-stamp-svg {
    color: #c5a880 !important; /* Authentic Luxury Gold */
}
.luxury-stamp-container.stamp-wine .luxury-stamp-svg {
    color: #800020 !important; /* Luxury Royal Wax Seal Burgundy */
}
.luxury-stamp-container.stamp-dark .luxury-stamp-svg {
    color: #1c1c1c !important;
}
.luxury-stamp-container.stamp-light .luxury-stamp-svg {
    color: #f6f1ea !important;
}
.luxury-stamp-container.stamp-muted .luxury-stamp-svg {
    color: rgba(139, 94, 60, 0.45) !important;
}
.luxury-stamp-container.stamp-faint .luxury-stamp-svg {
    color: rgba(139, 94, 60, 0.12) !important; /* Perfect for backgrounds or subtle print watermarks */
}

/* Hardware accelerated smooth rotation */
@keyframes slow-stamp-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Print-specific stylesheet overrides for invoices */
@media print {
    .luxury-stamp-svg {
        animation: none !important;
        transform: none !important;
        /* Force crisp ink printing */
        color: #555555 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* Responsive Justification Utility Class */
.text-justify {
    text-align: justify;
}

/* Premium Responsive Lookbook Card Enhancements */
.lookbook-card-title {
    font-size: 0.95rem !important;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.lookbook-card-price {
    font-size: 0.85rem !important;
    font-weight: 500;
}

.lookbook-card-meta {
    font-size: 0.65rem !important;
    letter-spacing: 0.12em !important;
}

.lookbook-card-btn {
    font-size: 0.7rem !important;
    letter-spacing: 0.08em !important;
    padding: 0.5rem 0.25rem !important;
}

@media (max-width: 768px) {
    .lookbook-card-title {
        font-size: 0.8rem !important;
        min-height: 2.7em !important;
    }
    .lookbook-card-price {
        font-size: 0.75rem !important;
    }
    .lookbook-card-meta {
        font-size: 0.6rem !important;
    }
    .lookbook-card-btn {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.25rem !important;
    }
    /* Reduce card margin on mobile */
    .lookbook-card {
        margin-bottom: 1rem !important;
    }
}

/* Stock Pulse Dot Animation */
.stock-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.animate-pulse {
    animation: pulse-ring 2s infinite ease-in-out;
}
@keyframes pulse-ring {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* --- Premium Redesign Overrides --- */

/* Ken Burns Zoom Effect */
.products-hero-bg {
    animation: kenburns 25s infinite alternate ease-in-out;
    transform-origin: center center;
}
@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Borderless Lookbook Card */
.lookbook-card {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 2.5rem !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.lookbook-card:hover {
    box-shadow: none !important;
    border-color: transparent !important;
    transform: none !important;
}

/* Smooth Image Wrapper */
.lookbook-img-wrapper {
    background-color: #fcfbf7 !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01) !important;
    margin-bottom: 0.75rem !important;
    position: relative;
    overflow: hidden;
}

.lookbook-img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.lookbook-card:hover .lookbook-img {
    transform: scale(1.04) !important;
}

/* Hover Overlay for Add to Bag */
.lookbook-hover-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 6;
}
.lookbook-img-wrapper:hover .lookbook-hover-actions {
    opacity: 1;
    transform: translateY(0);
}
.lookbook-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 21, 17, 0.12);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 4;
    pointer-events: none;
}
.lookbook-img-wrapper:hover::before {
    opacity: 1;
}

/* Premium Button Overlays */
.btn-luxury-hover-add {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    font-family: var(--font-body);
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    border-radius: 0 !important;
    padding: 0.65rem 1rem !important;
    transition: all 0.3s ease !important;
    width: 100%;
}
.btn-luxury-hover-add:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Mobile Quick Add Button */
.btn-luxury-mobile-add {
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
    border: 1px solid var(--color-black) !important;
    font-family: var(--font-body);
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    border-radius: 0 !important;
    padding: 0.55rem 0.5rem !important;
    transition: all 0.3s ease !important;
    width: 100%;
}
.btn-luxury-mobile-add:hover {
    background-color: var(--color-brown) !important;
    border-color: var(--color-brown) !important;
    color: var(--color-ivory) !important;
}

/* Color Transitions for Title */
.lookbook-card-title {
    transition: color 0.35s ease !important;
}
.lookbook-card:hover .lookbook-card-title {
    color: #8b5e3c !important; /* Premium Gold/Warm Brown */
}

/* Stock Pulse Dots */
.stock-pulse-dot.bg-success {
    background-color: #2ec4b6 !important;
    box-shadow: 0 0 6px rgba(46, 196, 182, 0.6);
}
.stock-pulse-dot.bg-gold {
    background-color: #e2b43c !important;
    box-shadow: 0 0 6px rgba(226, 180, 60, 0.6);
}
.stock-pulse-dot.bg-secondary {
    background-color: #b0b0b0 !important;
}
.text-success-muted {
    color: #6c715d !important;
    font-weight: 500;
}

/* Glass Filter Panel Customization */
.glass-filter-card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(139, 94, 60, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01) !important;
}
.glass-filter-card:hover {
    border-color: rgba(139, 94, 60, 0.15) !important;
    box-shadow: 0 15px 35px rgba(139, 94, 60, 0.03) !important;
}
.border-luxury {
    border-color: rgba(139, 94, 60, 0.1) !important;
}
.form-luxury-control {
    background-color: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(28, 28, 28, 0.1) !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}
.form-luxury-control:focus {
    border-bottom-color: var(--color-brown) !important;
    box-shadow: none !important;
}

/* Premium Toolbar */
.luxury-toolbar {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(139, 94, 60, 0.12) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 1rem !important;
}

/* --- Premium Product Card Showcase Redesign --- */

.premium-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 2.5rem;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-product-card:hover {
    transform: translateY(-4px);
}

.premium-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 135%; /* Portrait Aspect Ratio */
    overflow: hidden;
    background-color: #f7f6f2 !important;
    margin-bottom: 1rem;
    border-radius: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01) !important;
}

.premium-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease !important;
    z-index: 1;
}

.premium-img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease !important;
    opacity: 0;
    z-index: 2;
}

/* Hover States for Images */
.premium-product-card:hover .premium-img {
    transform: scale(1.04);
}

.premium-product-card:hover .premium-img-secondary {
    opacity: 1;
    transform: scale(1.04);
}

/* Quick Add Overlay on Desktop */
.premium-quick-add-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.premium-img-wrapper:hover .premium-quick-add-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Transparent dark overlay on hover to make button pop */
.premium-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 21, 17, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 4;
    pointer-events: none;
}

.premium-img-wrapper:hover::before {
    opacity: 1;
}

/* Premium Button Overlay */
.btn-premium-quick-add {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    font-family: var(--font-body);
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    border-radius: 0 !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12) !important;
}

.btn-premium-quick-add:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Mobile Quick Add Button styling */
.btn-premium-mobile-add {
    display: none;
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
    border: 1px solid var(--color-black) !important;
    font-family: var(--font-body);
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    border-radius: 0 !important;
    padding: 0.65rem 0.5rem !important;
    transition: all 0.3s ease !important;
    width: 100%;
    margin-top: 0.75rem;
}

.btn-premium-mobile-add:hover {
    background-color: var(--color-brown) !important;
    border-color: var(--color-brown) !important;
    color: var(--color-ivory) !important;
}

/* Floating Badges */
.premium-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-black) !important;
    color: var(--color-ivory) !important;
    padding: 4px 10px !important;
    font-family: var(--font-body);
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    z-index: 4;
    border-radius: 0 !important;
}

.premium-badge-sale {
    background-color: var(--color-wine) !important;
}

/* Card Details Typography */
.premium-product-meta {
    font-family: var(--font-body);
    font-size: 0.65rem !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
    color: var(--color-brown) !important;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.premium-product-title {
    font-family: var(--font-heading);
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--color-black) !important;
    transition: color 0.35s ease;
}

.premium-product-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.premium-product-card:hover .premium-product-title {
    color: var(--color-wine) !important;
}

.premium-product-price {
    font-family: var(--font-body);
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-black);
}

.premium-product-price .original-price {
    text-decoration: line-through;
    color: #a0a0a0;
    margin-right: 0.5rem;
    font-weight: 400;
    font-size: 0.78rem;
}

.premium-product-price .sale-price {
    color: var(--color-wine) !important;
}

/* Live Stock Pulse Indicator */
.premium-stock-indicator {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.premium-stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.premium-stock-dot.in-stock {
    background-color: #55a630;
    box-shadow: 0 0 6px rgba(85, 166, 48, 0.6);
}

.premium-stock-dot.low-stock {
    background-color: #ff9f1c;
    box-shadow: 0 0 6px rgba(255, 159, 28, 0.6);
}

.premium-stock-dot.sold-out {
    background-color: #8d99ae;
}

.animate-pulse-slow {
    animation: pulse-ring 2s infinite ease-in-out;
}

/* Media Query Adaptations */
@media (max-width: 991px) {
    .btn-premium-mobile-add {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .premium-quick-add-overlay {
        display: none !important;
    }
    
    .premium-img-wrapper:hover::before {
        opacity: 0 !important;
    }
    
    .premium-product-title {
        font-size: 0.95rem !important;
    }
    
    .premium-product-card {
        margin-bottom: 2rem;
    }
}

/* --- Capsule Campaign Cards Redesign --- */

.capsule-campaign-card {
    position: relative;
    width: 100%;
    height: 480px; /* Fixed height for beautiful proportions */
    overflow: hidden;
    border: 1px solid rgba(139, 94, 60, 0.15) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
    background-color: #000000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.capsule-campaign-card:hover {
    border-color: rgba(184, 144, 71, 0.4) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
}

.capsule-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.85) contrast(1.02);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.capsule-campaign-card:hover .capsule-bg-img {
    transform: scale(1.04);
    filter: brightness(0.75) contrast(1.05); /* Slightly darker on hover to make text pop even more */
}

.capsule-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    z-index: 2;
    transition: background 0.4s ease;
}

.capsule-campaign-card:hover .capsule-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.8) 100%) !important;
}

.capsule-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centered */
    align-items: center;     /* Horizontally centered */
    text-align: center;      /* Centered text alignment */
    z-index: 3;
}

.capsule-badge-label {
    font-family: var(--font-body);
    font-size: 0.65rem !important;
    font-weight: 600;
    letter-spacing: 0.25em !important;
    text-transform: uppercase;
    color: #b89047 !important; /* Sage/gold accent color */
    margin-bottom: 1.25rem;
}

.capsule-title {
    font-family: var(--font-heading);
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    line-height: 1.25;
    color: var(--color-ivory) !important;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
    max-width: 440px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.capsule-desc {
    font-family: var(--font-body);
    font-size: 0.82rem !important;
    line-height: 1.8;
    color: rgba(250, 248, 245, 0.8) !important;
    margin-bottom: 2rem;
    max-width: 380px;
    letter-spacing: 0.02em;
}

.btn-capsule {
    background-color: transparent !important;
    color: var(--color-white) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    font-family: var(--font-body);
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
    border-radius: 0 !important;
    padding: 0.85rem 2.2rem !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.btn-capsule:hover {
    background-color: var(--color-white) !important;
    color: var(--color-black) !important;
    border-color: var(--color-white) !important;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 768px) {
    .capsule-campaign-card {
        height: 420px;
    }
    
    .capsule-content {
        padding: 2rem 1.5rem;
    }
    
    .capsule-title {
        font-size: 1.8rem !important;
        margin-bottom: 1rem;
    }
    
    .capsule-desc {
        font-size: 0.78rem !important;
        margin-bottom: 1.75rem;
        max-width: 320px;
    }
    
    .btn-capsule {
        padding: 0.75rem 1.8rem !important;
        font-size: 0.68rem !important;
    }
}



