/* ----------------------------------------------------------------
   AURA LUXURY JEWELLERY - STYLE DESIGN SYSTEM
------------------------------------------------------------------- */

/* 1. ROOT DEFINITIONS & VARIABLES */
:root {
    --bg-obsidian: #080808;
    --bg-charcoal: #121212;
    --bg-slate: #1a1a1a;
    --bg-gold-light: rgba(212, 175, 55, 0.05);
    
    --gold: #d4af37;
    --gold-light: #f5e1a4;
    --gold-dark: #8a630f;
    --gold-gradient: linear-gradient(135deg, #8a630f 0%, #d4af37 50%, #f5e1a4 100%);
    --gold-shimmer: linear-gradient(90deg, transparent, rgba(245, 225, 164, 0.3), transparent);
    
    --text-white: #fafafa;
    --text-muted: #a5a5a5;
    --text-dark: #121212;
    
    --glass-bg: rgba(18, 18, 18, 0.75);
    --glass-border: rgba(212, 175, 55, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.87);
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.2s ease;
}

/* 2. BASE RESET & SCROLLBAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-obsidian);
    color: var(--text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

/* Luxury Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Responsive Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border: none;
    font-weight: 600;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: var(--gold-shimmer);
    transform: skewX(-20deg);
    transition: 0.7s;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold-gradient);
    color: var(--text-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* Typography elements */
.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.text-white {
    color: var(--text-white);
}

.title-gold-line {
    width: 60px;
    height: 1.5px;
    background: var(--gold-gradient);
    margin: 15px auto 0;
}

/* 3. DYNAMIC LUXURY NAVIGATION */
.luxury-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.luxury-nav.scrolled {
    height: 75px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.brand-logo-svg {
    width: 42px;
    height: 42px;
    transition: var(--transition-smooth);
}

.brand-logo-container:hover .brand-logo-svg {
    transform: rotate(45deg) scale(1.08);
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-title-main {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--text-white);
    line-height: 1.1;
    transition: var(--transition-smooth);
}

.brand-subtitle-sub {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--gold);
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
    transition: var(--transition-smooth);
}

.brand-logo-container:hover .brand-title-main {
    color: var(--gold-light);
    letter-spacing: 6px;
}

.footer-brand-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
}

.footer-brand-logo-svg {
    transition: var(--transition-smooth);
}

.footer-brand-logo-wrap:hover .footer-brand-logo-svg {
    transform: rotate(45deg) scale(1.1);
}

.gold-dot {
    color: var(--gold);
}

/* ===================================================================
   UNIQUE LUXURY ANIMATIONS ENGINE
   =================================================================== */

/* --- LUXURY PRELOADER --- */
#luxury-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-obsidian);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease;
}

#luxury-preloader.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 300px;
    width: 100%;
}

.preloader-logo-svg {
    width: 80px;
    height: 80px;
    animation: breatheLotus 2.5s infinite ease-in-out;
}

@keyframes breatheLotus {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    }
    50% {
        transform: scale(1.1) rotate(15deg);
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
    }
}

.preloader-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preloader-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--text-white);
    line-height: 1.2;
}

.preloader-subtitle {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 8px;
    color: var(--gold);
    text-transform: uppercase;
    margin-top: 5px;
}

.preloader-loader-bar {
    width: 150px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-top: 15px;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--gold-gradient);
    box-shadow: 0 0 8px var(--gold);
    animation: fillProgress 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* --- 3D TILT & GOLD GLARE STYLING --- */
.collection-card, .product-card {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out, border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.collection-card::before, .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 120px at var(--glare-x, -999px) var(--glare-y, -999px), rgba(245, 225, 164, 0.12) 0%, transparent 80%);
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.collection-card:hover::before, .product-card:hover::before {
    opacity: 1;
}

/* --- AMBIENT DRIVING GOLD SPARKLES --- */
.hero-overlay {
    position: absolute;
    overflow: hidden;
}

.ambient-particle {
    position: absolute;
    pointer-events: none;
    background: radial-gradient(circle, #ffffff 10%, #d4af37 60%, transparent 100%);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.95), 0 0 15px rgba(245, 225, 164, 0.5);
    border-radius: 50%;
    opacity: 0;
    animation: driftSparkle 6s linear infinite;
    z-index: 5;
}

@keyframes driftSparkle {
    0% {
        transform: translateY(0) scale(0) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: var(--max-opacity, 0.8);
    }
    85% {
        opacity: var(--max-opacity, 0.8);
    }
    100% {
        transform: translateY(-450px) scale(var(--target-scale, 1.3)) rotate(360deg);
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    padding: 10px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
    color: var(--text-white);
}

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

.custom-link {
    color: var(--gold-light);
}

.badge {
    background: var(--gold-gradient);
    color: var(--text-dark);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 4px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 3px rgba(212, 175, 55, 0.2); }
    100% { box-shadow: 0 0 12px rgba(212, 175, 55, 0.7); }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    position: relative;
    padding: 8px;
    transition: var(--transition-smooth);
}

.action-btn:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--gold-gradient);
    color: var(--text-dark);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    font-size: 1.5rem;
}

/* 4. SEARCH OVERLAY */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.close-search-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition-smooth);
}

.close-search-btn:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.search-box {
    width: 80%;
    max-width: 600px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--gold);
    padding: 10px 0;
}

.search-box input {
    background: transparent;
    border: none;
    width: 100%;
    color: var(--text-white);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    outline: none;
    letter-spacing: 1px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.search-submit {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition-smooth);
}

.search-submit:hover {
    transform: translateX(5px);
}

/* 5. CINEMATIC HERO SECTION */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 10%;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: kenBurns 20s infinite alternate cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes kenBurns {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.65) 50%, rgba(8, 8, 8, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-sub {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    color: var(--gold);
}

.scroll-mouse {
    width: 22px;
    height: 38px;
    border: 1.5px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    margin-bottom: 10px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 1.6s infinite;
}

@keyframes scrollWheelAnim {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* 6. CURATED COLLECTIONS */
.collections-section {
    padding: 120px 0;
    background-color: var(--bg-obsidian);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.collection-card {
    height: 480px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.card-bg-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.1) 0%, rgba(8, 8, 8, 0.9) 100%);
    transition: var(--transition-smooth);
}

.card-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.card-count-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gold-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.card-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.card-cta {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.collection-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

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

.collection-card:hover .card-overlay {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.2) 0%, rgba(8, 8, 8, 0.95) 100%);
}

.collection-card:hover .card-name {
    color: var(--gold-light);
}

.collection-card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}

/* 7. UNIQUE FEATURE: INTERACTIVE CONFIGURATOR */
.configurator-section {
    padding: 120px 0;
    background-color: var(--bg-charcoal);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.configurator-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.config-visual-panel {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-card {
    background: var(--bg-slate);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    width: 100%;
    max-width: 500px;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: var(--glass-shadow);
}

.config-live-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(8, 8, 8, 0.6);
    padding: 6px 12px;
    border: 1px solid var(--glass-border);
}

.jewelry-svg-canvas {
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sparkling animation particles */
@keyframes sparkleAnim {
    0%, 100% { opacity: 0.1; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.sparkle {
    animation: sparkleAnim 3s infinite;
}
.s1 { animation-delay: 0.2s; }
.s2 { animation-delay: 0.8s; }
.s3 { animation-delay: 1.5s; }
.s4 { animation-delay: 2.2s; }

/* Shimmer animation stars in center gem */
@keyframes shimmerStarAnim {
    0%, 100% { transform: scale(0.9) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.15) rotate(90deg); opacity: 1; }
}

.shimmer-star {
    transform-origin: 200px 165px;
    animation: shimmerStarAnim 4s infinite alternate ease-in-out;
}

.customizer-details-overlay {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 15px;
}

#customizer-item-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-white);
}

.customizer-item-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
}

.config-controls-panel {
    display: flex;
    flex-direction: column;
}

.config-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.config-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.config-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.control-group {
    margin-bottom: 30px;
}

.control-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.control-label strong {
    color: var(--gold);
    margin-left: 5px;
}

.options-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.option-btn {
    background: var(--bg-slate);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
}

.option-btn:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255,255,255,0.02);
}

.option-btn.active {
    border-color: var(--gold);
    background: var(--bg-gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
}

.yellow-gold-dot { background: radial-gradient(circle, #ffe399, #d4af37); }
.white-gold-dot { background: radial-gradient(circle, #ffffff, #b3b7bb); }
.rose-gold-dot { background: radial-gradient(circle, #ffcbd1, #b76e79); }

.diamond-dot { background: radial-gradient(circle, #ffffff, #e1f5fe); box-shadow: 0 0 8px #ffffff; }
.emerald-dot { background: radial-gradient(circle, #a5d6a7, #1b5e20); box-shadow: 0 0 8px #1b5e20; }
.ruby-dot { background: radial-gradient(circle, #ff8a80, #c62828); box-shadow: 0 0 8px #c62828; }
.sapphire-dot { background: radial-gradient(circle, #80deea, #0d47a1); box-shadow: 0 0 8px #0d47a1; }

.size-selectors {
    display: flex;
    gap: 10px;
}

.size-btn {
    background: var(--bg-slate);
    border: 1px solid rgba(255,255,255,0.08);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.size-btn:hover {
    border-color: var(--gold);
}

.size-btn.active {
    background: var(--gold);
    color: var(--text-dark);
    border-color: var(--gold);
    font-weight: 600;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.config-actions {
    margin-top: 20px;
}

/* 8. CATALOG / SHOPPING SECTION */
.catalog-section {
    padding: 120px 0;
    background-color: var(--bg-obsidian);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.filter-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 24px;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 50px;
}

.filter-tab:hover {
    color: var(--text-white);
    border-color: var(--gold);
}

.filter-tab.active {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Product Card */
.product-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.p-visual {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: var(--bg-slate);
}

.p-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.p-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition-smooth);
}

.p-action-btn {
    background: var(--text-white);
    border: none;
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.p-action-btn:hover {
    background: var(--gold);
    color: var(--text-dark);
    transform: scale(1.1);
}

.p-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(8,8,8,0.7);
    border: 1px solid var(--glass-border);
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 4px 10px;
    text-transform: uppercase;
}

.p-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.p-category {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.p-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-white);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-quick);
}

.p-title:hover {
    color: var(--gold-light);
}

.p-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 15px;
}

.p-price {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
}

.stars {
    display: flex;
    gap: 3px;
    color: var(--gold);
}

.star-filled {
    width: 14px;
    height: 14px;
    fill: var(--gold);
}

.product-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

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

.product-card:hover .p-overlay {
    opacity: 1;
}

/* 9. STORYTELLING & METRICS */
.story-section {
    padding: 120px 0;
    background-color: var(--bg-charcoal);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text-column {
    display: flex;
    flex-direction: column;
}

.story-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 15px;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.25;
    margin-bottom: 25px;
}

.story-gold-divider {
    width: 80px;
    height: 2px;
    background: var(--gold-gradient);
    margin-bottom: 30px;
}

.story-para {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
}

.metrics-row {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 30px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--gold-light);
    font-weight: 400;
}

.metric-lbl {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 5px;
}

.story-visual-column {
    position: relative;
    display: flex;
    justify-content: center;
}

.story-img-card {
    width: 100%;
    max-width: 480px;
    height: 520px;
    position: relative;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.story-img-border {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--gold);
    z-index: -1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.story-img-card:hover .story-img {
    transform: translate(-10px, 10px);
}

.story-img-card:hover .story-img-border {
    transform: translate(10px, -10px);
}

/* 10. VOICE OF ADORNMENT - TESTIMONIALS SLIDER */
.testimonials-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-charcoal) 0%, var(--bg-obsidian) 100%);
}

.testimonial-slider-wrap {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
    text-align: center;
    padding: 0 40px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.quote-icon {
    font-size: 2rem;
    color: var(--gold-dark);
    margin-bottom: 25px;
    display: inline-block;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-white);
    line-height: 1.6;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.endorser-name {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
}

.endorser-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.slider-arrow {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: var(--gold);
    color: var(--text-dark);
    border-color: transparent;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slide-dot.active {
    background: var(--gold);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--gold);
}

/* 11. LUXURY FOOTER */
.luxury-footer {
    background: #040404;
    border-top: 1px solid var(--glass-border);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    letter-spacing: 4px;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.06);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.footer-link {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-quick);
}

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

.footer-newsletter-col {
    display: flex;
    flex-direction: column;
}

.newsletter-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.newsletter-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    width: 100%;
    padding: 8px 0;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.25);
}

.newsletter-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-smooth);
}

.newsletter-btn:hover {
    transform: translateX(3px);
}

.newsletter-success {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 500;
    display: none;
    margin-top: 5px;
    animation: fadeIn 0.5s forwards;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 30px;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: var(--transition-quick);
}

.footer-bottom-links a:hover {
    color: var(--gold-light);
}

/* 12. SHOPPING CART DRAWER (DYNAMIC) */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 480px;
    height: 100vh;
    background: var(--bg-charcoal);
    border-left: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 300;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-smooth);
}

.cart-close-btn:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Cart Items inside Drawer */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 20px;
    animation: slideIn 0.3s forwards ease-out;
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: var(--bg-slate);
    border: 1px solid rgba(255,255,255,0.06);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-white);
}

.cart-item-meta {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.quantity-controller {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    margin-top: 8px;
    width: max-content;
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    width: 30px;
    height: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition-quick);
}

.qty-btn:hover {
    color: var(--gold);
}

.qty-num {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0 4px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
}

.remove-cart-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    transition: var(--transition-quick);
}

.remove-cart-item:hover {
    color: #e57373;
}

/* Empty bag state inside drawer */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60%;
    text-align: center;
}

.empty-icon {
    width: 60px;
    height: 60px;
    color: var(--gold-dark);
    margin-bottom: 20px;
}

.empty-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
}

.cart-footer {
    padding: 30px;
    background: var(--bg-slate);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.summary-val.text-gold {
    color: var(--gold);
    font-weight: 500;
}

.total-row {
    font-size: 1.2rem;
    color: var(--text-white);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.total-row .summary-val {
    color: var(--gold-light);
    font-weight: 600;
    font-size: 1.4rem;
}

/* 13. INTERACTIVE GENERAL MODALS (QUICK VIEW & CHECKOUT) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.modal-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    max-width: 900px;
    width: 90%;
    position: relative;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    transform: scale(0.9);
}

.modal-card.scale-in {
    transform: scale(0.9);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 8px;
    z-index: 5;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

/* Quick View Inner Grid */
.quick-view-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    max-height: 85vh;
    overflow-y: auto;
}

.qv-visual-wrap {
    height: 520px;
    background: var(--bg-slate);
}

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

.qv-details-wrap {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.qv-category-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.qv-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 15px;
}

.qv-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.qv-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.qv-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 20px;
}

.qv-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.qv-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-slate);
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 25px;
}

.spec-item {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.spec-item strong {
    color: var(--text-white);
    font-weight: 500;
    margin-right: 5px;
}

.qv-size-selector {
    margin-bottom: 25px;
}

.qv-size-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.qv-sizes-row {
    display: flex;
    gap: 10px;
}

.qv-size-btn {
    background: var(--bg-slate);
    border: 1px solid rgba(255,255,255,0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-white);
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition-quick);
}

.qv-size-btn:hover {
    border-color: var(--gold);
}

.qv-size-btn.active {
    background: var(--gold);
    color: var(--text-dark);
    font-weight: 600;
}

/* Checkout Modal Styling */
.checkout-modal {
    max-width: 600px;
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-main-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
}

.checkout-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 15px;
}

.checkout-luxury-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
    margin-bottom: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.address-group {
    grid-column: span 1;
}

.form-lbl {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.form-input {
    background: var(--bg-slate);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    transition: var(--transition-quick);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.card-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.card-icon {
    position: absolute;
    left: 16px;
    color: var(--gold-dark);
    width: 18px;
    height: 18px;
}

.card-input {
    padding-left: 48px;
    width: 100%;
}

.checkout-summary-block {
    background: var(--bg-slate);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chk-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.chk-summary-row.border-top {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 12px;
    margin-top: 5px;
    font-size: 0.95rem;
    color: var(--text-white);
}

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

/* Success step */
.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.success-step-wrapper {
    text-align: center;
    padding: 20px 0;
    animation: scaleUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUp {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-gold-seal {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    animation: pulseSeal 2s infinite alternate;
}

.seal-icon {
    width: 40px;
    height: 40px;
    color: var(--text-dark);
}

@keyframes pulseSeal {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
    100% { transform: scale(1.06); box-shadow: 0 0 35px rgba(212, 175, 55, 0.7); }
}

.success-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
}

.success-subtitle {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
}

.success-details-card {
    background: var(--bg-slate);
    border: 1px solid var(--glass-border);
    padding: 25px;
    max-width: 420px;
    margin: 30px auto;
    border-radius: 4px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.success-info-row {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.success-info-row strong {
    color: var(--text-white);
    font-weight: 500;
}

.certificate-no {
    font-family: monospace;
    letter-spacing: 0.5px;
    color: var(--gold-light);
}

.success-note {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Success Confetti Animation */
.gold-confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1002;
    pointer-events: none;
    display: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: fallConfetti 4s linear forwards;
}

@keyframes fallConfetti {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}


/* 14. RESPONSIVENESS AND DEVICES OVERRIDE */

@media (max-width: 1200px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .collection-card {
        height: 420px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .configurator-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .config-visual-panel {
        order: 1;
    }
    
    .config-controls-panel {
        order: 2;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .story-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .story-visual-column {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-view-grid {
        grid-template-columns: 1fr;
    }
    
    .qv-visual-wrap {
        height: 380px;
    }
    
    .qv-details-wrap {
        padding: 30px;
    }
    
    .cart-drawer {
        width: 100vw;
        right: -100vw;
    }
}

@media (max-width: 768px) {
    .luxury-nav {
        height: 75px;
    }
    
    .luxury-nav.scrolled {
        height: 65px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--bg-obsidian);
        border-top: 1px solid var(--glass-border);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 99;
        transition: var(--transition-smooth);
    }
    
    .luxury-nav.scrolled .nav-links {
        top: 65px;
        height: calc(100vh - 65px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-item {
        font-size: 1.2rem;
    }
    
    .nav-brand {
        order: 2;
    }
    
    .nav-actions {
        order: 3;
        gap: 10px;
    }
    
    .hero-section {
        padding-left: 24px;
        padding-right: 24px;
        justify-content: center;
        text-align: center;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(8, 8, 8, 0.85) 0%, rgba(8, 8, 8, 0.95) 100%);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-desc {
        font-size: 0.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .collection-card {
        height: 380px;
    }
    
    .config-title {
        font-size: 2.2rem;
    }
    
    .story-title {
        font-size: 2.2rem;
    }
    
    .metrics-row {
        gap: 20px;
    }
    
    .metric-num {
        font-size: 1.8rem;
    }
    
    .testimonial-slider-wrap {
        padding: 0 10px;
    }
    
    .quote-text {
        font-size: 1.3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkout-modal {
        width: 95%;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .visual-card {
        height: 360px;
    }
    
    .jewelry-svg-canvas {
        width: 100%;
        height: 100%;
    }
    
    #customizer-item-title {
        font-size: 0.95rem;
    }
    
    .customizer-item-price {
        font-size: 0.95rem;
    }
}
