/* ==========================================================================
   SAPPHERE DESIGN SYSTEM & STYLE ARCHITECTURE - MOBILE FIRST BOUTIQUE
   ========================================================================== */

/* Design Tokens & Variables - Rebranded for SAPPHERE */
:root {
    --bg-color: #3a0000;                  /* Deep Royal Burgundy / Wine Red */
    --bg-secondary: #4a0000;              /* Dark Velvet Red */
    --bg-dark-section: #0A0A0A;           /* Matte Black */
    --bg-card: rgba(50, 5, 5, 0.72);      /* Deep Wine Velvet Glassmorphism */
    --text-primary: #F8F4EF;              /* Elegant Ivory White */
    --text-secondary: #c9b1a5;            /* Muted Ivory Rose */
    --gold: #D4AF37;                      /* Soft Metallic Gold */
    --gold-dark: #b59223;                 /* Muted Gold */
    --gold-glow: rgba(212, 175, 55, 0.15); /* Soft Golden Hover Glow */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --border: rgba(212, 175, 55, 0.2);
    --border-hover: rgba(212, 175, 55, 0.5);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --satin-bg: url('./assets/satin_bg.jpg');
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    background-color: var(--bg-color);
    background-image: var(--satin-bg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    overflow-y: auto !important; /* Always allow vertical scroll */
    scroll-behavior: auto;
    transition: background-color 0.8s ease;
    height: auto !important;
}

/* Standard default system cursor is used for high user-friendliness */
body {
    cursor: default;
}

a, button, .magnetic-btn, .canvas-grab-area, .form-input, .btn-option {
    cursor: pointer;
}

/* Lenis Smooth Scroll Configuration */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overflow: clip;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* Custom Thin Elegant Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-section);
}

::-webkit-scrollbar-thumb {
    background: #250000;
    border-radius: 3px;
    border: 1px solid var(--bg-dark-section);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Typography Base */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem; /* Mobile-first small margins */
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr; /* Mobile single column */
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr; /* Mobile single column */
    gap: 3rem;
}

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

/* Satin Fabric Site-Wide Overlay – darkens texture for readability, vignette edges */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 0, 0, 0.52) 0%,
        rgba(20, 0, 0, 0.38) 40%,
        rgba(10, 0, 0, 0.55) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Interactive Ambient Glow Backing */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.06) 0%, rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
    transition: background var(--transition-slow);
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.8rem; /* Mobile-optimized spacing */
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.03);
}

/* Background Canvas Layer */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Cinematic Loader Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loader-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark-section);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
}

.loader-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
}

.loader-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
    letter-spacing: 0.4em;
    padding-left: 0.4em;
    opacity: 0;
    transform: translateY(20px);
}

.loader-bar-container {
    width: 130px;
    height: 1px;
    background-color: rgba(212, 175, 55, 0.1);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background-color: var(--gold);
    transition: width 0.1s ease;
}

.loader-percentage {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0;
}

/* Premium Navigation Header */
.luxury-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 1.5rem; /* Mobile spacing */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(74, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.brand-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    font-weight: 300;
    color: var(--text-primary);
}

.nav-links {
    display: none; /* Hidden on mobile */
}

.btn-menu {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.5rem 1.2rem;
    font-size: 0.65rem;
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    background: rgba(10, 10, 10, 0.6);
    transition: var(--transition-medium);
}

.btn-menu:hover {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Scroll Container */
.scroll-container {
    position: relative;
    z-index: 2;
}

/* Generic Section Styles */
section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    overflow: visible; /* Allow content to breathe — never clip section overflow */
}

.section-tag {
    font-size: 0.7rem;
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* SECTION 1: HERO — Cinematic Split Layout */
.hero-section {
    height: 100vh;
    min-height: 600px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    overflow: hidden;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.05) 0%, rgba(10,0,0,0.45) 100%);
    pointer-events: none;
    z-index: 2;
}

/* ---- Split Hero Layout & Grid ---- */
.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    text-align: left;
}

/* Fade animation for scroll — JS adds is-visible, but elements are visible by default as fallback */
.cinematic-fade {
    opacity: 1;  /* Visible by default — JS will animate from 0 if GSAP loads */
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* JS-driven: hide initially only when JS is ready to animate */
body.js-ready .cinematic-fade {
    opacity: 0;
    transform: translateY(20px);
}
body.js-ready .cinematic-fade.is-visible {
    opacity: 1;
    transform: none;
}


@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    .hero-text-col {
        align-items: flex-start;
    }
    .hero-image-col {
        justify-content: flex-end;
    }
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.hero-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.hero-image-frame {
    position: relative;
    width: 280px;
    height: 320px;
    padding: 0.6rem;
    background: rgba(30, 2, 2, 0.45);
    border: 1px solid var(--border);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: var(--transition-slow);
    display: block !important;
    visibility: visible !important;
}

.hero-image-frame:hover {
    border-color: var(--gold);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.25);
}

.hero-jewel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.hero-img-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.hero-image-frame:hover .hero-img-sweep {
    left: 150%;
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle {
    font-size: 0.7rem;
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 8vw, 4.8rem);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 1.4rem;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold);
}

.hero-description {
    max-width: 600px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Primary gold CTA button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 0.9rem 2.2rem;
    font-size: 0.72rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--bg-dark-section);
    background-color: var(--gold);
    transition: var(--transition-medium);
    text-decoration: none;
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

/* Scroll indicator */
.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.scroll-icon {
    width: 18px;
    height: 30px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    position: relative;
}

.scroll-dot {
    width: 3px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ---------- Responsive Adjustments ---------- */
/* Hero text scaling and visual layout adjustments for mobile */
@media (max-width: 767px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 7rem 0 3rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-text-col {
        align-items: center;
        order: 1;
    }
    .hero-image-col {
        justify-content: center;
        order: 2;
        display: flex !important;
    }
    .hero-image-frame {
        width: 220px;
        height: 260px;
        display: block !important;
        visibility: visible !important;
    }
    .hero-jewel-img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 6rem 0 2.5rem;
    }
    .hero-headline {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
    }
    .hero-description {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.6rem;
    }
    .hero-actions .btn-primary {
        width: 100%;
        max-width: 280px;
    }
    .hero-image-frame {
        width: 190px;
        height: 230px;
        display: block !important;
    }
}

@media (max-width: 403px) {
    .hero-section {
        padding: 5.5rem 0 2rem;
    }
    .hero-headline {
        font-size: 2rem;
    }
    .hero-image-frame {
        width: 170px;
        height: 200px;
    }
    .container {
        padding: 0 1rem;
    }
}

/* Jewel cards responsive grid */
#jewels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    justify-items: center;
    padding: 0 1rem;
}

/* Fade-in animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Adjust jewel card layout for mobile */
@media (max-width: 600px) {
    .jcard {
        width: 100%;
        max-width: 260px;
    }
    .jcard img {
        height: auto;
        max-height: 200px;
    }
}

/* SECTION 2: PRODUCT STORE BOUTIQUE */
.store-section {
    background-color: transparent;
    padding: 6rem 0;
    text-align: center;
}

/* Mobile-first Product Grid: single vertical card column on small viewports */
.product-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    margin-top: 3.5rem;
    padding-bottom: 1rem;
}

.product-card {
    width: 100%;
    max-width: 300px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.2rem;
        margin-top: 3.5rem;
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }
    .product-card {
        flex: 1 1 auto;
        min-width: auto;
        scroll-snap-align: none;
    }
}

.product-visual {
    width: 100%;
    height: 280px;
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
    overflow: hidden;
    background: var(--bg-dark-section);
}

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

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.55rem;
    font-family: var(--font-sans);
    letter-spacing: 0.15em;
    color: var(--bg-dark-section);
    background-color: var(--gold);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.product-info {
    padding-top: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-rating {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.product-excerpt {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    padding-top: 1rem;
}

.product-price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 400;
}

.product-actions {
    display: flex;
    gap: 0.6rem;
}

.btn-quick-view {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.6rem 1rem;
    font-size: 0.65rem;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.btn-quick-view:hover {
    border-color: var(--gold);
    color: var(--text-primary);
}

.btn-whatsapp-buy {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 0.6rem 1.4rem;
    font-size: 0.65rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--bg-dark-section);
    background-color: var(--gold);
    transition: var(--transition-medium);
}

.btn-whatsapp-buy:hover {
    background-color: transparent;
    color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* SECTION 3: HERITAGE STORYTELLING */
.heritage-section {
    background-color: var(--bg-dark-section);
}

.heritage-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.heritage-inner-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    margin-bottom: 1.5rem;
}

/* SECTION 4: 3D INTERACTIVE CUSTOM CUSTOMIZATION (Atelier) */
.interactive-section {
    background-color: var(--bg-dark-section);
}

.interactive-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.interactive-visual-area {
    width: 100%;
    height: 380px; /* Capped for compact mobile screens */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.canvas-grab-area {
    width: 320px;
    height: 320px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grab-indicator {
    pointer-events: none;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.circle-svg {
    width: 120px;
    height: 120px;
    animation: pulseCircle 4s ease-in-out infinite;
}

.customizer-options {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.customizer-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.option-title {
    font-size: 0.65rem;
    font-family: var(--font-sans);
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.option-selectors {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-option {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.btn-option.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

/* SECTION 5: TRUST GRID SYSTEM */
.trust-section {
    background-color: transparent; /* Satin from body shows through */
    padding: 6rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile single column */
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.trust-card {
    padding: 2rem;
    border-left: 2px solid var(--gold);
    background: rgba(91, 0, 0, 0.4);
}

.trust-title {
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.trust-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* SECTION 6: RESERVE / CONTACT */
.reserve-section {
    background-color: transparent; /* Satin from body shows through */
    justify-content: center;
}

.reserve-bg-blur {
    position: absolute;
    width: 600px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.reserve-content {
    width: 100%;
    max-width: 800px;
    z-index: 2;
    border: 1px solid var(--border);
}

.booking-form {
    margin-top: 2.5rem;
}

.form-row {
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-medium);
}

.text-area {
    resize: none;
}

.form-label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-medium);
}

.form-input:focus {
    border-bottom-color: rgba(255,255,255,0.15);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition-medium);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -1.2rem;
    font-size: 0.58rem;
    color: var(--gold);
}

.form-input:focus ~ .form-line {
    width: 100%;
}

.form-action {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-submit {
    border: 1px solid var(--gold);
    border-radius: 50px;
    padding: 1rem 3rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--bg-dark-section);
    background-color: var(--gold);
    transition: var(--transition-medium);
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* FOOTER STYLING */
.luxury-footer {
    background-color: var(--bg-dark-section);
    border-top: 1px solid var(--border);
    padding: 5rem 1.5rem 2.5rem 1.5rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 2rem;
    letter-spacing: 0.25em;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 0.78rem;
    max-width: 250px;
}

.footer-heading {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
    padding-left: 2px;
}

.footer-bottom {
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.25);
}

/* ==========================================================================
   PREMIUM CUSTOMER SERVICE - WHATSAPP FLOATING WIDGET
   ========================================================================== */
.whatsapp-floating-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-trigger-btn {
    width: 52px;
    height: 52px;
    background-color: #25D366; /* authentic WhatsApp green */
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-trigger-btn:hover {
    transform: scale(1.08);
}

.whatsapp-svg-icon {
    width: 24px;
    height: 24px;
}

.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--gold);
    color: var(--bg-dark-section);
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #25D366;
    animation: bounceBadge 2.5s infinite;
}

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

.whatsapp-chat-card {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 290px;
    background: var(--bg-dark-section);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.whatsapp-chat-card.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-card-header {
    background: var(--bg-color);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.chat-avatar-group {
    position: relative;
    margin-right: 0.8rem;
    width: 38px;
    height: 38px;
}

.chat-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
}

.chat-avatar-status {
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 2px solid var(--bg-color);
}

.chat-brand-info {
    display: flex;
    flex-direction: column;
}

.chat-brand-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
}

.chat-brand-status {
    font-size: 0.62rem;
    color: #25D366;
}

.btn-close-chat {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.chat-card-body {
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(74, 0, 0, 0.15) 0%, rgba(10, 10, 10, 0.9) 100%);
    min-height: 120px;
}

.chat-msg {
    background: rgba(91, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.05);
    border-radius: 0 8px 8px 8px;
    padding: 0.8rem;
    position: relative;
}

.chat-msg-time {
    font-size: 0.55rem;
    color: var(--text-secondary);
    position: absolute;
    right: 0.8rem;
    top: 0.4rem;
}

.chat-msg-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-secondary);
    padding-top: 0.3rem;
}

.chat-card-footer {
    padding: 1rem 1.2rem;
    background: var(--bg-dark-section);
}

.chat-connect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #25D366;
    border-radius: 4px;
    padding: 0.7rem 0;
    font-size: 0.68rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: white;
}

/* ==========================================================================
   MOBILE QUICK-VIEW BOTTOM DRAWER SHEET
   ========================================================================== */
.quickview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quickview-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.quickview-drawer {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 420px;
    height: auto;
    max-height: 85vh;
    background: rgba(20, 2, 2, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    z-index: 1001;
    transform: translate(-50%, -30%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.quickview-drawer.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.drawer-drag-line {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0.8rem auto 0 auto;
}

.drawer-header {
    padding: 1.2rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.drawer-title {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.btn-drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1;
}

.drawer-body {
    padding: 1.8rem;
}

.drawer-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile single column */
    gap: 2rem;
}

.drawer-visual {
    width: 100%;
    height: 250px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.drawer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-rating {
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.drawer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.drawer-sub-heading {
    font-size: 0.72rem;
    font-family: var(--font-sans);
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.drawer-care {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.drawer-specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.drawer-spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    padding-bottom: 0.4rem;
}

.drawer-spec-lbl {
    color: var(--text-secondary);
}

.drawer-spec-val {
    color: var(--gold);
    font-weight: 500;
}

.drawer-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.drawer-price {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
}

.btn-drawer-submit {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 0.8rem 1.8rem;
    font-size: 0.7rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--bg-dark-section);
    background-color: var(--gold);
}

/* ==========================================================================
   RESPONSIVE SCALING - DESKTOP UPGRADES
   ========================================================================== */

@media (min-width: 768px) {
    .container {
        padding: 0 4rem;
    }
    
    .luxury-header {
        padding: 1.8rem 4rem;
    }
    
    .brand-logo {
        font-size: 1.8rem;
    }
    
    .nav-links {
        display: flex;
        gap: 3rem;
    }

    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
    
    .grid-3 {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 4rem;
    }

    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        text-align: left;
        gap: 3rem;
    }
    .hero-text-col {
        align-items: flex-start;
    }
    .hero-actions {
        justify-content: flex-start;
    }
    .hero-image-frame {
        width: 360px;
        height: 360px;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .hero-logo-frame {
        width: 320px;
        height: 320px;
    }
    
    /* 2 columns product layout on desktops */
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .interactive-visual-area {
        height: 550px;
    }
    
    .canvas-grab-area {
        width: 450px;
        height: 450px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    /* 3 columns product layout on ultra-wides */
    .product-grid {
        grid-template-columns: 1fr 1fr; /* Keep 2 column clean large editorial */
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   JEWELS CATALOG SECTION
   ========================================================================== */

/* Mobile Navigation Hamburger Toggle Button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 105;
    padding: 0;
}
.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: var(--transition-medium);
}
/* Hamburger animation to X */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay Menu */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 102;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    width: 100%;
}
.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    transition: var(--transition-fast);
}
.mobile-nav-link:hover {
    color: var(--gold);
    transform: scale(1.05);
}
.mobile-nav-link.admin-mobile-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--gold);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
}
.mobile-nav-link.admin-mobile-link:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
}
.mobile-chat-btn {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
}

/* Responsive displays for navigation header items */
.nav-toggle { display: flex; }
.nav-actions { display: none; } /* Hidden on mobile */

@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .nav-actions { display: flex; align-items: center; }
}

/* Jewels Section wrapper */
.jewels-section {
    background: transparent;
    padding: 5rem 0 4rem;
    min-height: auto;
}

/* Filter tab bar */
.jewels-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin: 2rem 0 2.5rem;
}

.jewel-filter-btn {
    background: rgba(30,0,0,0.55);
    border: 1px solid rgba(212,175,55,0.22);
    border-radius: 25px;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 0.48rem 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}
.jewel-filter-btn:hover,
.jewel-filter-btn.active {
    background: var(--gold);
    color: #0a0000;
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

/* Product grid — 2-column on mobile, 3 on tablet, 4 on desktop */
.jewels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 600px) {
    .jewels-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}
@media (min-width: 900px) {
    .jewels-grid { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
}

/* Individual product card */
.jcard {
    background: rgba(25,2,2,0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(212,175,55,0.14);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
                border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.jcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,175,55,0.3);
    border-color: rgba(212,175,55,0.35);
}

/* Card image */
.jcard-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0c0101;
}
.jcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.jcard:hover .jcard-img {
    transform: scale(1.09);
}

/* Badges */
.jcard-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--font-sans);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.28rem 0.62rem;
    border-radius: 12px;
    text-transform: uppercase;
    z-index: 2;
}
.jcard-badge.sale {
    background: #c0392b;
    color: #fff;
}
.jcard-badge.bestseller {
    background: var(--gold);
    color: #0a0000;
}
.jcard-badge.new {
    background: #1a7a4a;
    color: #fff;
}

/* Card body text */
.jcard-body {
    padding: 0.85rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.3rem;
}
.jcard-cat {
    font-size: 0.6rem;
    font-family: var(--font-sans);
    letter-spacing: 0.12em;
    color: var(--gold);
    text-transform: uppercase;
    margin: 0;
}
.jcard-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.25;
    margin: 0.15rem 0 0;
}
.jcard-stars {
    font-size: 0.68rem;
    color: #f5a623;
    letter-spacing: 0.02em;
}
.jcard-stars span {
    color: var(--text-secondary);
    font-size: 0.6rem;
}

/* Price row */
.jcard-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.3rem;
}
.jcard-price {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
}
.jcard-original {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.7;
}

/* Buy Now button */
.jcard-buy-btn {
    display: block;
    margin-top: auto;
    padding-top: 0.85rem;
    background: linear-gradient(135deg, #9b1a2b 0%, #6b0000 100%);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 0.65rem 0.5rem;
    text-decoration: none;
    transition: var(--transition-fast);
}
.jcard-buy-btn:hover {
    background: var(--gold);
    color: #0a0000;
    border-color: var(--gold);
    box-shadow: 0 4px 18px rgba(212,175,55,0.35);
}

/* Hidden card state for filters */
.jcard.hidden {
    display: none;
}

/* WhatsApp CTA Banner at bottom of catalog */
.jewels-cta-banner {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(60,5,5,0.85) 0%, rgba(20,0,0,0.9) 100%);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    padding: 1.8rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    backdrop-filter: blur(16px);
}
.jewels-cta-banner p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
}
.jewels-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.jewels-cta-btn:hover {
    background: #128C7E;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    transform: translateY(-2px);
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   CART DRAWER & OVERLAY STYLES
   ========================================================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1008;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    height: 100vh;
    background: var(--bg-dark-section);
    border-left: 1px solid var(--border);
    z-index: 1009;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.active {
    transform: translateX(0);
}
.cart-drawer .drawer-drag-line {
    display: none;
}
.cart-drawer .drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1.8rem;
}
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-right: 0.5rem;
}
/* Scrollbar styling for container */
.cart-items-container::-webkit-scrollbar {
    width: 4px;
}
.cart-items-container::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.15);
    border-radius: 2px;
}
.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 1rem;
}
.cart-item-img-wrap {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.08);
}
.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-info {
    flex: 1;
}
.cart-item-name {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.cart-item-price {
    font-size: 0.85rem;
    color: var(--gold);
}
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.cart-qty-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.cart-qty-btn:hover {
    background: var(--gold);
    color: var(--bg-dark-section);
}
.cart-qty-num {
    font-size: 0.85rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    min-width: 15px;
    text-align: center;
}
.cart-remove-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}
.cart-remove-btn:hover {
    color: #ff4a4a;
}
.cart-empty-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 3rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        height: 85%;
        top: auto;
        bottom: 0;
        border-left: none;
        border-top: 1px solid var(--border);
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
    }
    .cart-drawer.active {
        transform: translateY(0);
    }
    .cart-drawer .drawer-drag-line {
        display: block;
    }
    .cart-mobile-btn {
        display: flex !important;
    }
}
@media (min-width: 769px) {
    .cart-mobile-btn {
        display: none !important;
    }
}

/* Flipkart/Amazon 3x3 Mobile Layout Grid for Jewels Catalog */
@media (max-width: 768px) {
    .jewels-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0 0.25rem !important;
    }
    .jcard-badge {
        font-size: 0.4rem !important;
        padding: 0.15rem 0.35rem !important;
        top: 4px !important;
        left: 4px !important;
    }
    .jcard-body {
        padding: 0.4rem !important;
        gap: 0.15rem !important;
    }
    .jcard-cat {
        font-size: 0.45rem !important;
        letter-spacing: 0.05em !important;
        display: none !important; /* Hide category label to save vertical space on mobile */
    }
    .jcard-name {
        font-size: 0.62rem !important;
        line-height: 1.15 !important;
        height: 2.3em !important; /* Fixed height for 2 lines to align cards */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .jcard-stars {
        font-size: 0.45rem !important;
        display: none !important; /* Hide rating stars to reduce clutter on 3x3 grid */
    }
    .jcard-price-row {
        gap: 0.25rem !important;
        margin-top: 0.1rem !important;
        flex-wrap: wrap !important;
    }
    .jcard-price {
        font-size: 0.72rem !important;
    }
    .jcard-original {
        font-size: 0.55rem !important;
    }
    .jcard-buy-btn {
        padding: 0.4rem 0.1rem !important;
        font-size: 0.5rem !important;
        margin-top: 0.3rem !important;
        border-radius: 4px !important;
    }
}

/* ==========================================================================
   CATEGORY GRID SECTION (Same for Mobile, Tablet, Laptop, and all devices)
   ========================================================================== */
.category-grid-container {
    padding: 1.5rem 0 2.5rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.cat-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.cat-card-full {
    grid-column: span 2;
    aspect-ratio: 2.1 / 1;
}
.cat-card-half {
    grid-column: span 1;
    aspect-ratio: 1 / 1.15;
}
.cat-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.cat-card:hover .cat-card-img {
    transform: scale(1.03);
}
.cat-card-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #ffffff;
    color: #000000;
    padding: 6px 14px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
