/* ==========================================================================
   SVANNA & VOW LUXURY GOLD & JEWELLERY DESIGN SYSTEM
   Ultra-Luxury Royal Gold & Pristine White / Ivory Aesthetic
   ========================================================================== */

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

:root {
    /* Pure White & Ivory Luxury Palette */
    --bg-main: #FBF9F5;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFDF9;
    --bg-ivory: #F8F5EE;
    --bg-cream: #F3ECE1;
    --bg-glass: rgba(255, 255, 255, 0.92);

    /* Royal 24K Gold Palette */
    --gold-primary: #C59B27;
    --gold-dark: #996F0E;
    --gold-light: #E8CA65;
    --gold-pale: #FDF9EE;
    --gold-glow: #D4AF37;
    --gold-accent: #E5C07B;
    --gold-gradient: linear-gradient(135deg, #B38728 0%, #D4AF37 35%, #F7E7A9 70%, #AA771C 100%);
    --gold-btn-gradient: linear-gradient(135deg, #D4AF37 0%, #C59B27 60%, #A67C1E 100%);
    --gold-btn-hover: linear-gradient(135deg, #E5C07B 0%, #D4AF37 100%);
    --gold-glow-shadow: 0 4px 20px rgba(197, 155, 39, 0.35);

    /* Borders */
    --border-gold: rgba(197, 155, 39, 0.4);
    --border-gold-glow: #C59B27;
    --border-subtle: #EDE6D8;
    --border-light: #F0EAE1;

    /* Charcoal / Obsidian Text for High Contrast Luxury */
    --text-charcoal: #1C1917;
    --text-body: #332F2C;
    --text-muted: #6E6862;
    --text-gold: #996F0E;
    --text-white: #FFFFFF;

    /* Status Colors */
    --success: #059669;
    --danger: #DC2626;
    --warning: #D97706;
    --blue-action: #1E40AF;
    --blue-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);

    /* Radii & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-soft: 0 8px 25px rgba(180, 150, 90, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px rgba(197, 155, 39, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 16px 36px rgba(197, 155, 39, 0.22), 0 4px 12px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, .font-cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    color: var(--text-charcoal);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

.gold-glow-text {
    color: var(--gold-dark);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-ivory);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* ==========================================================================
   TICKER & SUB-HEADER (Gold & White Theme)
   ========================================================================== */
.top-ticker {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ticker-track {
    display: inline-flex;
    animation: tickerMove 38s linear infinite;
    gap: 2.5rem;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-charcoal);
    font-weight: 600;
}

.ticker-item i {
    color: var(--gold-primary);
}

.ticker-badge {
    background: var(--gold-pale);
    border: 1px solid var(--border-gold);
    color: var(--gold-dark);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   APP HEADER & NAVIGATION (Pure White & Gold Foil Finish)
   ========================================================================== */
.app-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1.5px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(197, 155, 39, 0.08);
}

.header-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Mobile Brand Header */
.brand-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFFFFF 0%, #FBF6EB 100%);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 2px 12px rgba(197, 155, 39, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.3rem;
    position: relative;
}

.brand-text-block h1 {
    font-size: 1.18rem;
    line-height: 1.1;
    margin: 0;
    color: var(--text-charcoal);
    font-weight: 900;
    font-family: 'Cinzel', serif;
}

.brand-text-block p {
    font-size: 0.68rem;
    color: var(--gold-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
}

/* Quick Action Badges (Header WhatsApp, Call, Auth) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon-gold {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid var(--border-gold);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-icon-gold:hover {
    background: var(--gold-btn-gradient);
    color: #FFFFFF;
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow-shadow);
    transform: translateY(-2px);
}

.btn-whatsapp-pulse {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #FFF !important;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.cart-counter {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #DC2626;
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FFFFFF;
}

/* Desktop Navigation Menu */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.6rem;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    color: var(--text-charcoal);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--gold-dark);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after, .desktop-nav a.active::after {
    width: 100%;
}

/* ==========================================================================
   APP TAB BAR (Home, Jewellery, Live Rates, Orders, Bank Info)
   ========================================================================== */
.quick-tabs-bar {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF8 100%);
    border-bottom: 1.5px solid var(--border-gold);
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 40;
    box-shadow: 0 3px 10px rgba(197, 155, 39, 0.08);
    padding: 0 4px;
}

@media (min-width: 992px) {
    .quick-tabs-bar {
        justify-content: center;
        gap: 1.5rem;
        padding: 0 2rem;
    }
    .quick-tab-link {
        flex: 0 1 auto !important;
        min-width: 120px !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 12px 16px !important;
        font-size: 0.84rem !important;
    }
}

.quick-tabs-bar::-webkit-scrollbar {
    display: none;
}

.quick-tab-link {
    flex: 1 0 auto;
    min-width: 68px;
    padding: 9px 6px;
    text-align: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.71rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.quick-tab-link i {
    font-size: 1.08rem;
    color: var(--gold-dark);
    opacity: 0.72;
    transition: var(--transition);
}

.quick-tab-link.active, .quick-tab-link:hover {
    background: #FDF9EE;
    color: #6B1D2F;
    border-bottom: 3px solid #6B1D2F;
    font-weight: 800;
}

.quick-tab-link.active i, .quick-tab-link:hover i {
    color: #6B1D2F;
    opacity: 1;
    transform: translateY(-1px);
}

/* Market Status Ribbon */
.market-status-bar {
    background: #F8F5EE;
    border-bottom: 1px solid var(--border-subtle);
    padding: 6px 1rem;
    font-size: 0.74rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-body);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.pulse-dot.open {
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: blinkOpen 1.8s infinite;
}

.pulse-dot.closed {
    background: #EF4444;
    box-shadow: 0 0 10px #EF4444;
}

@keyframes blinkOpen {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================================================================
   LUXURY BANNER CAROUSEL (White & Gold Luxury Presentation)
   ========================================================================== */
.banner-section {
    padding: 0.5rem 0.5rem 1rem 0.5rem;
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .banner-section {
        padding: 1rem 1rem 1.5rem 1rem;
    }
}

.banner-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(197, 155, 39, 0.16), 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 2px solid var(--border-gold);
    background: #FFFFFF;
}

.banner-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: stretch;
}

.banner-slide {
    min-width: 100%;
    position: relative;
    display: block;
    background: #FFFFFF;
}

.banner-link {
    display: block;
    width: 100%;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1200 / 520;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

@media (max-width: 640px) {
    .banner-img {
        aspect-ratio: 1200 / 540;
        /* Shows the full banner width & height on mobile view perfectly */
    }
}

.banner-link:hover .banner-img {
    transform: scale(1.015);
}

/* Banner Dots / Indicators */
.banner-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(197, 155, 39, 0.35);
    transition: var(--transition);
    cursor: pointer;
}

.indicator-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--gold-btn-gradient);
    box-shadow: 0 0 8px rgba(197, 155, 39, 0.6);
}

/* ==========================================================================
   LIVE BULLION & GOLD RATE CARDS (VOW Reference Style - White Cards)
   ========================================================================== */
.rates-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0.75rem 0.75rem;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0 4px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
}

.section-title i {
    color: var(--gold-primary);
}

.view-all-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--gold-primary);
    transform: translateX(3px);
}

/* Rates Grid */
.rate-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .rate-cards-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.15rem;
    }
}

@media (min-width: 1200px) {
    .rate-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Luxury White & Gold Bullion Card (Direct match to user screenshot) */
.bullion-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.2rem;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
}

.bullion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gold-btn-gradient);
}

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

.bullion-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.65rem;
}

.metal-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gold-pale);
    border: 1.5px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold-dark);
}

.metal-icon-box.silver {
    background: #F1F5F9;
    border-color: #CBD5E1;
    color: #475569;
}

.bullion-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-charcoal);
    line-height: 1.2;
}

.bullion-purity {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.bullion-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 0.85rem;
}

.bullion-price {
    font-size: 1.65rem;
    font-weight: 900;
    color: #E11D48; /* Red/Rose bold live bullion price as in screenshot */
    letter-spacing: -0.5px;
    line-height: 1;
}

.bullion-price.silver-price {
    color: #059669;
}

.bullion-unit {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
}

.bullion-trend {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 6px;
}

.bullion-trend.up {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.bullion-trend.down {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
}

/* Buy / Sell Button (Blue in screenshot, high contrast) */
.btn-bullion-action {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--blue-gradient);
    border: none;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-bullion-action:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

/* Gold Booking Quick Strip */
.bullion-booking-strip {
    background: #FFFFFF;
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    box-shadow: var(--shadow-soft);
}

.booking-stats {
    display: flex;
    gap: 1.5rem;
}

.booking-stat-item {
    font-size: 0.8rem;
    color: var(--text-charcoal);
    font-weight: 600;
}

.booking-stat-item strong {
    color: var(--gold-dark);
    font-weight: 900;
}

/* ==========================================================================
   CATEGORY PILLS (LuxeLoom White & Gold Style)
   ========================================================================== */
.category-pills-wrap {
    padding: 0.5rem 0.75rem 1rem 0.75rem;
    max-width: 1380px;
    margin: 0 auto;
}

.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    padding: 8px 18px;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    color: var(--text-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.category-pill i {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

.category-pill:hover, .category-pill.active {
    background: var(--gold-btn-gradient);
    color: #FFFFFF;
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow-shadow);
}

.category-pill.active i, .category-pill:hover i {
    color: #FFFFFF;
}

/* ==========================================================================
   PRODUCT CARDS GRID (White & Gold Luxury UI)
   ========================================================================== */
.products-section {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0.5rem 0.75rem 2.5rem 0.75rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* Luxury Product Card */
.product-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

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

.product-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: radial-gradient(circle, #FFFFFF 0%, #F8F5EE 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.product-thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumb-wrap img {
    transform: scale(1.08);
}

/* Badges */
.badge-purity {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    color: var(--gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.badge-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #DC2626;
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 12px;
}

.btn-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-subtle);
    color: #6E6862;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.btn-wishlist:hover, .btn-wishlist.active {
    background: #DC2626;
    color: #FFF;
    border-color: #DC2626;
}

.product-info {
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 0.68rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 700;
}

.product-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-charcoal);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.2em;
}

.product-specs {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--gold-dark);
}

.btn-add-quick {
    background: var(--gold-btn-gradient);
    color: #FFFFFF;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 800;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(197, 155, 39, 0.3);
}

.btn-add-quick:hover {
    box-shadow: var(--gold-glow-shadow);
    transform: scale(1.1);
}

/* ==========================================================================
   LUXURY GOLD & WHITE BUTTONS
   ========================================================================== */
.btn-gold {
    background: var(--gold-btn-gradient);
    color: #FFFFFF;
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--gold-glow-shadow);
}

.btn-gold:hover {
    background: var(--gold-btn-hover);
    box-shadow: 0 6px 25px rgba(197, 155, 39, 0.45);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-emerald {
    background: #FFFFFF;
    border: 1.5px solid var(--border-gold);
    color: var(--gold-dark);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-emerald:hover {
    background: var(--gold-pale);
    border-color: var(--gold-primary);
    color: var(--gold-dark);
    transform: translateY(-1px);
}

/* ==========================================================================
   BOTTOM APP NAVIGATION BAR (Mobile Native App Bar - White & Gold)
   ========================================================================== */
.bottom-app-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #FFFFFF;
    border-top: 2px solid var(--border-gold);
    z-index: 1000;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
    box-shadow: 0 -4px 20px rgba(197, 155, 39, 0.18);
}

@media (min-width: 992px) {
    .bottom-app-nav {
        display: none;
    }
}

.bottom-nav-item {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    position: relative;
    transition: var(--transition);
    gap: 3px;
    padding: 4px 0;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    transition: var(--transition);
    color: #78716C;
}

.bottom-nav-item.active {
    color: var(--gold-dark);
}

.bottom-nav-item.active i {
    color: var(--gold-primary);
    transform: translateY(-2px) scale(1.1);
}

/* Slot 3: Center 24K Bullion Rates Button - Perfectly Symmetrical & Centered */
.bottom-nav-item.bottom-nav-center-slot {
    position: relative;
    overflow: visible;
}

.bottom-nav-center-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-btn-gradient);
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -24px;
    margin-bottom: 2px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bottom-nav-center-circle i {
    font-size: 1.25rem;
    color: #FFFFFF !important;
}

.bottom-nav-center-slot span {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--gold-dark);
}

.bottom-nav-center-slot.active .bottom-nav-center-circle,
.bottom-nav-center-slot:hover .bottom-nav-center-circle {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.65);
    border-color: #FDF9EE;
}

.bottom-nav-spacer {
    height: 80px;
    display: block;
}

@media (min-width: 992px) {
    .bottom-nav-spacer {
        display: none;
    }
}

/* ==========================================================================
   MODAL / BOTTOM SHEET (Royal White & Gold Theme - Mobile & Desktop)
   ========================================================================== */
.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2200;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-backdrop-custom.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Bottom Sheet */
@media (max-width: 767px) {
    .modal-backdrop-custom {
        align-items: flex-end;
        padding: 0;
    }

    .bottom-sheet {
        width: 100%;
        max-width: 100%;
        background: #FFFFFF;
        border-top: 3.5px solid var(--gold-primary);
        border-radius: 26px 26px 0 0;
        box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.3);
        padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 20px)) 1.25rem;
        max-height: 88vh;
        max-height: 88dvh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        margin: 0;
    }

    .modal-backdrop-custom.show .bottom-sheet {
        transform: translateY(0);
    }
}

/* Desktop Modal Dialog */
@media (min-width: 768px) {
    .modal-backdrop-custom {
        align-items: center;
        padding: 2rem 1rem;
    }

    .bottom-sheet {
        width: 100%;
        max-width: 530px;
        background: #FFFFFF;
        border: 2px solid var(--border-gold-glow);
        border-radius: 22px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 25px rgba(212, 175, 55, 0.22);
        padding: 2rem 2.25rem;
        max-height: 88vh;
        overflow-y: auto;
        transform: scale(0.95) translateY(15px);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        margin: auto;
    }

    .modal-backdrop-custom.show .bottom-sheet {
        transform: scale(1) translateY(0);
    }
}

.sheet-handle {
    width: 44px;
    height: 5px;
    background: #D1D5DB;
    border-radius: 10px;
    margin: 0 auto 1.25rem auto;
}

@media (min-width: 768px) {
    .sheet-handle {
        display: none;
    }
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.sheet-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-charcoal);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.3px;
}

.sheet-close {
    background: #F3F4F6;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--text-charcoal);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sheet-close:hover {
    background: var(--gold-btn-gradient);
    color: #FFFFFF;
    border-color: var(--gold-primary);
    transform: rotate(90deg);
}

/* Modal Rate Preview Box */
.modal-rate-display {
    background: linear-gradient(135deg, #FFFDF8 0%, #FAF4E4 100%);
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    box-shadow: 0 3px 12px rgba(197, 155, 39, 0.08);
}

.modal-rate-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-rate-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: #B45309;
    font-family: 'Cinzel', serif;
}

/* User Booking Auth / VIP Banner */
.booking-auth-banner {
    background: linear-gradient(135deg, #FFFDF8 0%, #F5E8C7 100%);
    border: 1.5px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.booking-auth-banner.logged-in {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1.5px solid #10B981;
}

.booking-auth-text {
    font-size: 0.8rem;
    color: var(--text-charcoal);
    line-height: 1.35;
    flex: 1;
}

.booking-auth-text strong {
    display: block;
    color: var(--gold-dark);
    font-size: 0.85rem;
}

.booking-auth-banner.logged-in .booking-auth-text strong {
    color: #047857;
}

.booking-auth-btn {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 8px;
    background: var(--gold-btn-gradient);
    color: #FFFFFF !important;
    text-decoration: none;
    border: none;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(197, 155, 39, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.booking-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 155, 39, 0.45);
}

.or-divider-text {
    text-align: center;
    position: relative;
    margin: 12px 0 16px 0;
}

.or-divider-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #E5E7EB;
}

.or-divider-text span {
    position: relative;
    background: #FFFFFF;
    padding: 0 12px;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Form Controls (White & Gold) */
.gold-form-group {
    margin-bottom: 1.1rem;
}

.gold-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-charcoal);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gold-input, .gold-select {
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--text-charcoal);
    padding: 10px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.gold-input:focus, .gold-select:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 10px rgba(197, 155, 39, 0.25);
}

/* Gram Chips & Weight Selection */
.gram-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.gram-chip {
    background: #FFFDF8;
    border: 1.5px solid var(--border-gold);
    color: var(--text-charcoal);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    outline: none;
}

.gram-chip:hover {
    border-color: var(--gold-dark);
    background: var(--gold-pale);
    transform: translateY(-1px);
}

.gram-chip.active {
    background: var(--gold-btn-gradient);
    color: #FFFFFF !important;
    border-color: var(--gold-primary);
    box-shadow: 0 3px 10px rgba(197, 155, 39, 0.35);
}

.qty-input-group {
    display: flex;
    position: relative;
    align-items: center;
}

.qty-input-group .gold-input {
    padding-right: 80px;
    font-size: 1.05rem;
    font-weight: 800;
}

.qty-unit-addon {
    position: absolute;
    right: 14px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold-dark);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calculator Breakdown Box */
.calc-breakdown-box {
    background: var(--gold-pale);
    border: 1.5px dashed var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.1rem;
    margin: 1rem 0;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 5px;
    color: var(--text-body);
}

.calc-row.total {
    border-top: 1.5px solid var(--border-gold);
    padding-top: 8px;
    margin-top: 8px;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--gold-dark);
}

/* Toast Notifications */
.gold-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #FFFFFF;
    border: 2px solid var(--gold-primary);
    color: var(--text-charcoal);
    padding: 11px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(197, 155, 39, 0.35);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Footer Luxury White & Gold Layout */
.luxury-footer {
    background: #FFFFFF;
    border-top: 2px solid var(--border-gold);
    padding: 3rem 1rem 2rem 1rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.02);
}

.footer-container {
    max-width: 1380px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-col h4 {
    color: var(--text-charcoal);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    position: relative;
    padding-bottom: 8px;
    font-weight: 800;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 2.5px;
    background: var(--gold-gradient);
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-dark);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 991px) {
    .luxury-footer {
        padding-bottom: 95px !important;
    }
}

/* ==========================================================================
   ADMIN PANEL SPECIFIC WHITE & GOLD THEME
   ========================================================================== */
.admin-sidebar {
    background: #FFFFFF;
    border-right: 1.5px solid var(--border-gold);
    min-height: 100vh;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: var(--gold-pale);
    color: var(--gold-dark);
    border-left-color: var(--gold-primary);
}

.admin-nav-item i {
    font-size: 1.1rem;
    color: var(--gold-primary);
}

.stat-card-gold {
    background: #FFFFFF;
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.stat-card-gold::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 4rem;
    opacity: 0.05;
    color: var(--gold-primary);
}


/* ==========================================================================
   HERITAGE SMALL LIVE GOLD RATE CARDS (Anjali Jewellers Inspired Strip)
   ========================================================================== */
.small-rates-strip {
    max-width: 1380px;
    margin: 0.75rem auto 1.25rem auto;
    padding: 0 0.75rem;
}

.small-rates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .small-rates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .small-rates-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.85rem;
    }
}

.small-rate-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #FFFBF0 100%);
    border: 1.5px solid var(--border-gold);
    border-top: 3px solid #6B1D2F;
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    box-shadow: 0 4px 14px rgba(197, 155, 39, 0.12);
    transition: var(--transition);
    position: relative;
}

.small-rate-card.silver-card {
    border-top-color: #64748B;
    background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
}

.small-rate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 155, 39, 0.22);
    border-color: var(--gold-primary);
}

.small-rate-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.small-rate-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: #6B1D2F;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.small-rate-card.silver-card .small-rate-title {
    color: #334155;
}

.small-rate-badge {
    font-size: 0.62rem;
    font-weight: 800;
    background: #FDF9EE;
    border: 1px solid var(--border-gold);
    color: var(--gold-dark);
    padding: 2px 6px;
    border-radius: 10px;
}

.small-rate-price {
    font-size: 1.22rem;
    font-weight: 900;
    color: var(--text-charcoal);
    font-family: 'Cinzel', serif;
    line-height: 1.2;
}

.small-rate-price span {
    font-size: 0.72rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text-muted);
}

.small-rate-sub {
    font-size: 0.69rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.small-rate-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.64rem;
    font-weight: 800;
    color: #059669;
}

.small-rate-live-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* Heritage Maroon Purity Badge */
.badge-purity {
    background: rgba(107, 29, 47, 0.9) !important;
    color: #FFFDF8 !important;
    border: 1px solid rgba(212, 175, 55, 0.6) !important;
}


/* ==========================================================================
   MOBILE VIEW POLISH (App-Like Heritage Luxury Experience)
   ========================================================================== */
@media (max-width: 640px) {
    .small-rates-strip {
        margin: 0.5rem auto 0.9rem auto;
        padding: 0 0.6rem;
    }

    .small-rates-grid {
        gap: 0.5rem;
    }

    .small-rate-card {
        padding: 0.65rem 0.7rem;
        border-radius: 12px;
    }

    .small-rate-title {
        font-size: 0.68rem;
    }

    .small-rate-price {
        font-size: 1.05rem;
    }

    .small-rate-sub {
        font-size: 0.63rem;
    }

    .products-section {
        padding: 0.5rem 0.6rem 1.5rem 0.6rem;
    }

    .products-grid {
        gap: 0.65rem !important;
    }

    .product-info {
        padding: 0.65rem !important;
    }

    .product-title {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
    }

    .product-price {
        font-size: 0.98rem !important;
    }
}
