/* ==========================================================================
   VASTRA HERITAGE - LUXURY INDIAN COUTURE & FASHION DESIGN SYSTEM (2026)
   Aesthetic: Royal Haute Couture, Editorial Spacing, Glassmorphism, Micro-Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-dark: #0f1013;
    --primary-darker: #07080a;
    --primary-charcoal: #181a1f;
    
    --primary-gold: #c59b27;
    --primary-gold-dark: #9e7a17;
    --primary-gold-light: #ecd38c;
    --primary-gold-pale: #faf4e6;
    
    --gold-glow: rgba(197, 155, 39, 0.28);
    --gold-gradient: linear-gradient(135deg, #c59b27 0%, #ecd38c 40%, #c59b27 80%, #9e7a17 100%);
    --gold-gradient-subtle: linear-gradient(135deg, rgba(197, 155, 39, 0.12) 0%, rgba(236, 211, 140, 0.05) 100%);
    --gold-shimmer: linear-gradient(90deg, #c59b27 0%, #fef3c7 50%, #c59b27 100%);

    --bg-warm: #fcfaf7;
    --bg-cream: #f6f1e8;
    --bg-card: #ffffff;
    
    --border-color: #ede4d8;
    --border-subtle: #f0eae1;
    --border-gold-subtle: rgba(197, 155, 39, 0.25);

    --text-primary: #121316;
    --text-secondary: #4a4d55;
    --text-muted: #7e828d;
    --text-gold: #b3881e;

    --festive-maroon: #7a1226;
    --festive-emerald: #0b4f35;
    --festive-sapphire: #142a52;
    --discount-red: #d92d20;

    /* Typography */
    --font-royal: 'Cinzel', Georgia, serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows & Elevation */
    --shadow-sm: 0 2px 8px rgba(15, 16, 19, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 16, 19, 0.06);
    --shadow-lg: 0 16px 48px rgba(15, 16, 19, 0.09);
    --shadow-luxury: 0 20px 50px -15px rgba(15, 16, 19, 0.12);
    --shadow-gold: 0 10px 30px -8px rgba(197, 155, 39, 0.35);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-arch: 140px 140px 18px 18px;
    --radius-pill: 9999px;
}

/* Base resets & typography */
body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-warm);
    overflow-x: hidden;
    letter-spacing: -0.01em;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.font-royal {
    font-family: var(--font-royal) !important;
    letter-spacing: 0.08em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f1ede8;
}
::-webkit-scrollbar-thumb {
    background: #c59b27;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9e7a17;
}

/* Text Gradient & Shimmer */
.text-gradient-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gold { color: var(--primary-gold) !important; }
.text-gold-dark { color: var(--primary-gold-dark) !important; }
.text-maroon { color: var(--festive-maroon) !important; }
.text-emerald { color: var(--festive-emerald) !important; }

/* Luxury Backgrounds */
.bg-warm { background-color: var(--bg-warm) !important; }
.bg-cream { background-color: var(--bg-cream) !important; }
.bg-dark-custom { background-color: var(--primary-dark) !important; }
.bg-charcoal { background-color: var(--primary-charcoal) !important; }
.bg-gold-gradient { background: var(--gold-gradient) !important; }
.bg-gold-pale { background-color: var(--primary-gold-pale) !important; }

/* Glassmorphism Classes */
.glass-nav {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(197, 155, 39, 0.2) !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-luxury);
}

.glass-dark {
    background: rgba(15, 16, 19, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 155, 39, 0.25);
    color: #ffffff;
}

.glass-pill {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    border-radius: var(--radius-pill);
}

/* Header & Announcement Ticker */
.announcement-bar {
    background: linear-gradient(90deg, #07080a 0%, #1a150a 50%, #07080a 100%);
    color: #f1ede5;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid rgba(197, 155, 39, 0.35);
    position: relative;
    overflow: hidden;
}

.announcement-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 211, 140, 0.15), transparent);
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    40%, 100% { left: 150%; }
}

.brand-logo-text {
    font-family: var(--font-royal);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
}
.brand-logo-text span {
    color: var(--primary-gold);
}
.brand-logo-text:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .brand-logo-text {
        font-size: 1.05rem;
        letter-spacing: 0.05em;
    }
}

/* Ensure navbar list stays strictly in one single horizontal line */
.navbar-expand-lg .navbar-nav {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center;
}

.nav-link-custom {
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.45rem 0.65rem !important;
    position: relative;
    white-space: nowrap !important;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}
@media (min-width: 1200px) {
    .nav-link-custom {
        padding: 0.45rem 0.82rem !important;
        font-size: 0.84rem;
    }
}
.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--primary-gold) !important;
}
.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.nav-link-custom:hover::after, .nav-link-custom.active::after {
    width: 60%;
}

/* Icon Buttons */
.btn-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.btn-icon-circle:hover {
    background: var(--primary-dark);
    color: var(--primary-gold-light);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 16, 19, 0.15);
}

.badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold-gradient);
    color: #07080a;
    font-size: 0.68rem;
    font-weight: 800;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Luxury Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: #07080a !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #d4af37 0%, #fae69e 50%, #c59b27 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 155, 39, 0.4);
    color: #000000 !important;
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary-gold) !important;
    border: 1.5px solid var(--primary-gold);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.85rem;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: #07080a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.25);
}

.btn-luxury-dark {
    background: var(--primary-dark);
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.85rem;
    transition: all 0.3s ease;
}
.btn-luxury-dark:hover {
    background: #000000;
    color: var(--primary-gold-light) !important;
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   ROYAL SPLIT-STAGE HAUTE COUTURE HERO CAROUSEL
   Aesthetic: Palace Jharokha Arch, Dynamic Tab Selector, Editorial Gold Typography
   ========================================================================== */

.hero-royal-stage {
    position: relative;
    min-height: 88vh;
    background: radial-gradient(circle at 85% 40%, rgba(197, 155, 39, 0.18) 0%, transparent 65%),
                radial-gradient(circle at 15% 85%, rgba(122, 18, 38, 0.12) 0%, transparent 50%),
                linear-gradient(180deg, #090a0d 0%, #12141a 60%, #0a0b0e 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    padding: 3.5rem 0 2.5rem 0;
}

.hero-ambient-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(197, 155, 39, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

.hero-text-pane {
    position: relative;
    z-index: 3;
    padding-right: 1.5rem;
}

.hero-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-royal);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-gold-light);
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.hero-counter-badge .counter-current {
    font-size: 1.35rem;
    color: var(--primary-gold);
    text-shadow: 0 2px 10px rgba(197, 155, 39, 0.4);
}

.hero-counter-badge .counter-divider {
    width: 28px;
    height: 1px;
    background: var(--gold-gradient);
}

.hero-royal-title {
    font-family: var(--font-royal);
    font-size: clamp(2.3rem, 4.8vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.hero-royal-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 700;
}

.hero-royal-subtitle {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 540px;
}

/* Palace Arch Image Stage */
.hero-visual-pane {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-arch-canvas {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 560px;
    border-radius: 200px 200px 24px 24px;
    overflow: hidden;
    border: 2px solid rgba(197, 155, 39, 0.5);
    box-shadow: 0 0 0 1px rgba(197, 155, 39, 0.2),
                0 30px 60px -12px rgba(0, 0, 0, 0.85),
                0 0 40px rgba(197, 155, 39, 0.2);
    background: #181a1f;
}

.hero-arch-canvas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 12s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.02);
}

.carousel-item.active .hero-arch-canvas img {
    transform: scale(1.1);
}

.hero-arch-canvas::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(9, 10, 13, 0.8) 100%);
    pointer-events: none;
}

/* Floating Glass Badges */
.hero-floating-badge-top {
    position: absolute;
    top: 24px;
    left: -15px;
    z-index: 4;
    background: rgba(12, 14, 18, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 155, 39, 0.4);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.1rem;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    animation: floatCard 5s ease-in-out infinite;
}

.hero-floating-badge-bottom {
    position: absolute;
    bottom: 30px;
    right: -15px;
    z-index: 4;
    background: rgba(12, 14, 18, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 155, 39, 0.4);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
    animation: floatCard 6s ease-in-out infinite reverse;
}

/* Interactive Slide Navigation Tabs */
.hero-tabs-strip {
    display: flex;
    gap: 12px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-tab-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.65rem 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-width: 130px;
    flex: 1 1 120px;
}

.hero-tab-item:hover {
    background: rgba(197, 155, 39, 0.1);
    border-color: rgba(197, 155, 39, 0.4);
    transform: translateY(-2px);
}

.hero-tab-item.active {
    background: rgba(197, 155, 39, 0.15);
    border-color: var(--primary-gold);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.2);
}

.hero-tab-item .tab-num {
    font-family: var(--font-royal);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary-gold);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 2px;
}

.hero-tab-item .tab-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.hero-tab-item.active .tab-title {
    color: var(--primary-gold-light);
}

.hero-tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.hero-tab-item.active .hero-tab-progress {
    width: 100%;
}

/* Arrow Controllers */
.hero-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(12, 14, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(197, 155, 39, 0.4);
    color: var(--primary-gold-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.hero-arrow-btn:hover {
    background: var(--primary-gold);
    color: #07080a;
    border-color: var(--primary-gold);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(197, 155, 39, 0.4);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* Temple Arch Category Cards */
.heritage-arch-card {
    display: block;
    position: relative;
    border-radius: var(--radius-arch);
    overflow: hidden;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-align: center;
    padding-bottom: 1.25rem;
}

.heritage-arch-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.heritage-arch-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 130%;
    overflow: hidden;
    border-radius: 138px 138px 0 0;
    background: var(--bg-cream);
}

.heritage-arch-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.heritage-arch-card:hover .heritage-arch-img-wrap img {
    transform: scale(1.08);
}

.heritage-arch-title {
    font-family: var(--font-royal);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.15rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.heritage-arch-card:hover .heritage-arch-title {
    color: var(--primary-gold);
}

.heritage-arch-count {
    font-size: 0.76rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* High-Fashion Luxury Product Cards */
.product-card-luxury {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-luxury:hover {
    border-color: rgba(197, 155, 39, 0.4);
    box-shadow: 0 16px 36px -10px rgba(15, 16, 19, 0.12), 0 0 0 1px rgba(197, 155, 39, 0.15);
    transform: translateY(-5px);
}

.product-media-wrap {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 fashion aspect ratio */
    overflow: hidden;
    background: #f7f5f2;
}

.product-img-primary, .product-img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
}

.product-img-secondary {
    opacity: 0;
    z-index: 1;
}

.product-card-luxury:hover .product-img-primary {
    transform: scale(1.05);
}

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

/* Floating Action Bar on Product Hover */
.product-quick-actions {
    position: absolute;
    bottom: 14px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 3;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-luxury:hover .product-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-quick-action {
    flex: 1;
    background: rgba(15, 16, 19, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    padding: 0.55rem 0.75rem;
    text-align: center;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.btn-quick-action:hover {
    background: var(--primary-gold);
    color: #07080a;
    border-color: var(--primary-gold);
}

.btn-quick-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.btn-quick-icon:hover {
    background: var(--primary-dark);
    color: var(--primary-gold);
    transform: scale(1.08);
}

/* Badge System */
.badge-luxury {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--primary-dark);
    color: var(--primary-gold-light);
    border: 1px solid rgba(197, 155, 39, 0.4);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.badge-discount, .card-badge-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: var(--discount-red);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 10px rgba(217, 45, 32, 0.25);
}

.wishlist-heart-btn, .card-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.wishlist-heart-btn:hover, .card-wishlist-btn:hover {
    background: #ffffff;
    color: var(--discount-red);
    transform: scale(1.12);
}
.wishlist-heart-btn.active, .card-wishlist-btn.active {
    color: var(--discount-red);
    background: #ffffff;
}

/* Product Info */
.product-card-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-brand {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.55rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s ease;
}
.product-card-title:hover {
    color: var(--primary-gold);
}

.product-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin-top: auto;
}

.price-current {
    font-family: var(--font-royal);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.price-mrp {
    font-size: 0.84rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-off-chip {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--discount-red);
    background: rgba(217, 45, 32, 0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

/* Weaving Heritage & Craftsmanship Showcase */
.heritage-story-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
}
.heritage-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.heritage-story-card:hover {
    box-shadow: var(--shadow-luxury);
    transform: translateY(-4px);
    border-color: rgba(197, 155, 39, 0.35);
}
.heritage-story-card:hover::before {
    opacity: 1;
}

.craft-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-md);
    background: var(--primary-gold-pale);
    border: 1px solid var(--border-gold-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold-dark);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}
.heritage-story-card:hover .craft-icon-wrap {
    transform: scale(1.08) rotate(3deg);
    background: var(--gold-gradient);
    color: #07080a;
}

/* Offcanvas Cart Drawer & Modals */
.cart-drawer {
    width: 440px !important;
    max-width: 92vw;
    background: #ffffff;
    border-left: 1px solid var(--border-gold-subtle);
}

.cart-drawer-header {
    background: #0f1013;
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(197, 155, 39, 0.3);
}

.cart-item-row {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-drawer-footer {
    background: #ffffff;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 14px rgba(15, 16, 19, 0.05);
}

/* Sticky Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 16, 19, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(197, 155, 39, 0.3);
    z-index: 1040;
    padding: 0.5rem 0;
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    body {
        padding-bottom: 64px;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 10px;
    transition: color 0.2s ease;
}
.mobile-nav-item i {
    font-size: 1.15rem;
}
.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--primary-gold-light);
}
.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    top: -6px;
    width: 22px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: var(--radius-pill);
}

/* Footer Haute Couture */
.footer-vastra {
    background: #090a0c;
    color: #c8cacf;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(197, 155, 39, 0.25);
    position: relative;
}

.footer-vastra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 280px;
    height: 1px;
    background: var(--gold-gradient);
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--primary-gold);
}

.footer-title {
    font-family: var(--font-royal);
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    position: relative;
    padding-bottom: 0.65rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary-gold-light);
    transform: translateX(4px);
}

/* Toast Notifications */
.toast-container-custom {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1090;
}

/* ==========================================================================
   PAGE LOAD WITHOUT REFRESH - HAUTE COUTURE TRANSITIONS & TOP LOADER
   ========================================================================== */

.page-top-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    z-index: 999999;
    box-shadow: 0 0 12px rgba(197, 155, 39, 0.9), 0 0 5px #ecd38c;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, width 0.35s ease;
}

.page-top-loader.htmx-request {
    opacity: 1;
    width: 80%;
    transition: width 0.6s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.main-content-fade {
    animation: contentFadeIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes contentFadeIn {
    from {
        opacity: 0.88;
        transform: translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   CATEGORY RELATED CONTENT & ROYAL BANNER STYLES
   ========================================================================== */

.category-royal-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(197, 155, 39, 0.35);
    box-shadow: 0 12px 36px rgba(15, 16, 19, 0.12);
}

@media (max-width: 767.98px) {
    .category-royal-banner {
        padding: 2rem 1.25rem;
        border-radius: var(--radius-md);
    }
}

.category-pill-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.category-pill-strip::-webkit-scrollbar {
    height: 4px;
}
.category-pill-strip::-webkit-scrollbar-thumb {
    background: rgba(197, 155, 39, 0.3);
    border-radius: 4px;
}

.category-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.category-pill-link:hover {
    background: var(--primary-gold-pale);
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-1px);
}

.category-pill-link.active {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}

.category-craft-card {
    background: linear-gradient(135deg, #fdfbf7 0%, #f6f0e4 100%);
    border: 1px solid rgba(197, 155, 39, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-luxury);
}

/* ==========================================================================
   FRONTEND SIDEBAR & STICKY ASIDE SCROLLING SYSTEM
   ========================================================================== */

/* Desktop Shop Filter Sidebar - independent scrollable viewport container */
.shop-filter-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 124px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 155, 39, 0.45) rgba(240, 234, 225, 0.3);
}

.shop-filter-sidebar::-webkit-scrollbar {
    width: 6px;
}

.shop-filter-sidebar::-webkit-scrollbar-track {
    background: rgba(240, 234, 225, 0.3);
    border-radius: 6px;
}

.shop-filter-sidebar::-webkit-scrollbar-thumb {
    background: rgba(197, 155, 39, 0.4);
    border-radius: 6px;
    transition: background 0.2s ease;
}

.shop-filter-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Sticky header inside scrollable filter sidebar */
.shop-filter-header-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: -1.5rem;
    background: #ffffff;
    z-index: 5;
    margin: -1.5rem -1.5rem 1.25rem -1.5rem;
    padding: 1.25rem 1.5rem 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

/* Inner filter lists (Categories, Brands) scroll styling */
.filter-list-scroll {
    max-height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 155, 39, 0.35) transparent;
}

.filter-list-scroll::-webkit-scrollbar {
    width: 4px;
}

.filter-list-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.filter-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(197, 155, 39, 0.35);
    border-radius: 4px;
}

.filter-list-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Sticky sidebar scrolling utility for Cart, Checkout, etc. */
.sticky-sidebar-scroll {
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 155, 39, 0.45) rgba(240, 234, 225, 0.3);
}

.sticky-sidebar-scroll::-webkit-scrollbar {
    width: 5px;
}

.sticky-sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sticky-sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(197, 155, 39, 0.4);
    border-radius: 4px;
}

.sticky-sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Offcanvas Drawers Scroll Optimization */
.offcanvas-body {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 155, 39, 0.4) transparent;
}

.offcanvas-body::-webkit-scrollbar {
    width: 5px;
}

.offcanvas-body::-webkit-scrollbar-track {
    background: transparent;
}

.offcanvas-body::-webkit-scrollbar-thumb {
    background: rgba(197, 155, 39, 0.4);
    border-radius: 4px;
}

/* ==========================================================================
   Product Overview Showcase Smooth Zoom & Luxury Lightbox System
   ========================================================================== */
.product-zoom-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    background-color: #ffffff;
    user-select: none;
    touch-action: pan-y;
}

.product-zoom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    will-change: transform, transform-origin;
}

.product-zoom-container.is-zoomed .product-zoom-img {
    transform: scale(2.25);
}

/* Floating Zoom Hint */
.product-zoom-hint {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 4;
    background: rgba(15, 16, 19, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.product-zoom-container.is-zoomed .product-zoom-hint {
    opacity: 0;
    transform: translateY(6px);
}

/* Floating Fullscreen / Lightbox Expand Button */
.btn-zoom-expand {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-zoom-expand:hover {
    background: #ffffff;
    color: var(--primary-gold);
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.3);
}

/* Active Thumbnail Highlights */
.gallery-thumb-item {
    transition: all 0.2s ease;
    border: 2px solid transparent !important;
}

.gallery-thumb-item:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.gallery-thumb-item.active-thumb {
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 0 2px var(--primary-gold), 0 4px 14px rgba(197, 155, 39, 0.3);
}

/* Fullscreen Luxury Lightbox Modal */
.product-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 8, 10, 0.95);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    z-index: 1090;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-header {
    padding: 1.15rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10;
}

.lightbox-title {
    font-family: var(--font-royal);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    color: var(--primary-gold-light);
    margin: 0;
}

.lightbox-controls {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-lightbox-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-lightbox-control:hover {
    background: var(--primary-gold);
    color: #07080a;
    border-color: var(--primary-gold);
    transform: scale(1.08);
}

.lightbox-viewport {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: grab;
    padding: 1.5rem;
}

.lightbox-viewport:active {
    cursor: grabbing;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
    user-select: none;
}



