/* ═══════════════════════════════════════════════════════════════
   SILVER STORE — Design System
   Luxury Gift & Laser Engraving Store
   
   Dark / Premium / Minimal / High-End
   Inspired by luxury jewelry & watch brands
   ═══════════════════════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
    /* ─── Brand Colors ─── */
    --clr-bg:            #0A0A0A;
    --clr-bg-deep:       #050505;
    --clr-surface:       #111111;
    --clr-surface-2:     #1A1A1A;
    --clr-surface-3:     #222222;
    --clr-border:        #2A2A2A;
    --clr-border-light:  #333333;

    --clr-silver:        #C0C0C0;
    --clr-silver-dark:   #8A8A8A;
    --clr-silver-light:  #E0E0E0;
    --clr-gold:          #D4AF37;
    --clr-gold-light:    #E8C94A;
    --clr-gold-dark:     #B8941E;
    --clr-gold-muted:    rgba(212, 175, 55, 0.15);

    --clr-text:          #FFFFFF;
    --clr-text-secondary:#AAAAAA;
    --clr-text-muted:    #777777;
    --clr-text-dim:      #555555;

    --clr-success:       #4ECDC4;
    --clr-success-muted: rgba(78, 205, 196, 0.15);
    --clr-warning:       #D4AF37;
    --clr-error:         #C0392B;
    --clr-error-muted:   rgba(192, 57, 43, 0.15);
    --clr-info:          #5DADE2;

    /* ─── Typography ─── */
    --font-display:      'Cairo', sans-serif;
    --font-body:         'Cairo', sans-serif;
    --font-mono:         'IBM Plex Mono', monospace;

    --text-hero:         clamp(2.5rem, 6vw, 5rem);
    --text-hero-sub:     clamp(1rem, 2.5vw, 1.5rem);
    --text-h1:           clamp(1.75rem, 4vw, 3rem);
    --text-h2:           clamp(1.4rem, 3vw, 2rem);
    --text-h3:           clamp(1.1rem, 2vw, 1.5rem);
    --text-h4:           1.125rem;
    --text-body:         1rem;
    --text-body-sm:      0.9375rem;
    --text-small:        0.875rem;
    --text-caption:      0.75rem;
    --text-overline:     0.6875rem;

    --weight-light:      300;
    --weight-regular:    400;
    --weight-medium:     500;
    --weight-semibold:   600;
    --weight-bold:       700;
    --weight-black:      900;

    /* ─── Spacing ─── */
    --sp-2xs:            0.125rem;
    --sp-xs:             0.25rem;
    --sp-sm:             0.5rem;
    --sp-md:             1rem;
    --sp-lg:             1.5rem;
    --sp-xl:             2rem;
    --sp-2xl:            3rem;
    --sp-3xl:            4rem;
    --sp-4xl:            6rem;
    --sp-section:        clamp(4rem, 10vh, 8rem);

    /* ─── Layout ─── */
    --container-max:     1280px;
    --container-narrow:  900px;
    --container-wide:    1440px;
    --sidebar-width:     260px;
    --navbar-height:     72px;

    /* ─── Borders ─── */
    --radius-xs:         2px;
    --radius-sm:         4px;
    --radius-md:         6px;
    --radius-lg:         8px;
    --radius-xl:         12px;
    --radius-pill:       100px;
    --radius-circle:     50%;

    /* ─── Shadows ─── */
    --shadow-subtle:     0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm:         0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-card:       0 4px 24px rgba(0, 0, 0, 0.35);
    --shadow-elevated:   0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold:       0 0 30px rgba(212, 175, 55, 0.12);
    --shadow-gold-lg:    0 0 60px rgba(212, 175, 55, 0.08);
    --shadow-inset:      inset 0 1px 0 rgba(255, 255, 255, 0.03);

    /* ─── Glass ─── */
    --glass-bg:          rgba(255, 255, 255, 0.02);
    --glass-bg-hover:    rgba(255, 255, 255, 0.04);
    --glass-border:      rgba(255, 255, 255, 0.05);
    --glass-blur:        blur(24px);

    /* ─── Motion ─── */
    --ease-luxury:       cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth:       cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-bounce:       cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in:           cubic-bezier(0.4, 0, 1, 1);
    --ease-out:          cubic-bezier(0, 0, 0.2, 1);
    --dur-fast:          150ms;
    --dur-base:          300ms;
    --dur-slow:          600ms;
    --dur-slower:        900ms;

    /* ─── Z-Index ─── */
    --z-dropdown:        100;
    --z-sticky:          200;
    --z-fixed:           300;
    --z-overlay:         400;
    --z-modal:           500;
    --z-toast:           600;
}

/* ═══════════════════════════════════════════════════════════════
   2. CSS RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-weight: var(--weight-regular);
    font-size: var(--text-body);
    line-height: 1.7;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ─── Selection ─── */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--clr-text);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--clr-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--clr-border-light);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-silver-dark);
}

/* ─── Links ─── */
a {
    color: var(--clr-silver);
    text-decoration: none;
    transition: color var(--dur-base) var(--ease-smooth);
}
a:hover {
    color: var(--clr-gold);
}

/* ─── Images ─── */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ─── Lists ─── */
ul, ol {
    list-style: none;
}

/* ═══════════════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
.text-hero {
    font-size: var(--text-hero);
    font-weight: var(--weight-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--clr-text);
}

.text-hero-sub {
    font-size: var(--text-hero-sub);
    font-weight: var(--weight-light);
    line-height: 1.5;
    color: var(--clr-silver);
    letter-spacing: 0.02em;
}

h1, .h1 {
    font-size: var(--text-h1);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2, .h2 {
    font-size: var(--text-h2);
    font-weight: var(--weight-semibold);
    line-height: 1.3;
}

h3, .h3 {
    font-size: var(--text-h3);
    font-weight: var(--weight-semibold);
    line-height: 1.4;
}

h4, .h4 {
    font-size: var(--text-h4);
    font-weight: var(--weight-medium);
    line-height: 1.4;
}

.text-body { font-size: var(--text-body); }
.text-body-sm { font-size: var(--text-body-sm); }
.text-small { font-size: var(--text-small); }
.text-caption { font-size: var(--text-caption); }

.text-overline {
    font-size: var(--text-overline);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clr-gold);
}

.text-silver { color: var(--clr-silver); }
.text-gold { color: var(--clr-gold); }
.text-muted { color: var(--clr-text-muted) !important; }
.text-dim { color: var(--clr-text-dim); }
.text-mono { font-family: var(--font-mono); }

.section-title {
    text-align: center;
    margin-bottom: var(--sp-3xl);
}
.section-title .text-overline {
    display: block;
    margin-bottom: var(--sp-sm);
}
.section-title h2 {
    margin-bottom: var(--sp-md);
}
.section-title p {
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Decorative line under headings ─── */
.title-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--clr-gold);
    margin: var(--sp-md) auto 0;
}
.title-line.start {
    margin-right: 0;
    margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════
   4. LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}
.container-narrow {
    max-width: var(--container-narrow);
}
.container-wide {
    max-width: var(--container-wide);
}

.section {
    padding: var(--sp-section) 0;
}
.section-sm {
    padding: var(--sp-3xl) 0;
}

/* ═══════════════════════════════════════════════════════════════
   5. BUTTONS — Custom (No Bootstrap defaults)
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    padding: 0.75rem 2rem;
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-luxury);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    background: none;
    color: var(--clr-text);
}

/* Primary — Gold border, transparent bg */
.btn-primary {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
    background: transparent;
}
.btn-primary:hover {
    background: var(--clr-gold);
    color: var(--clr-bg);
    box-shadow: var(--shadow-gold);
}
.btn-primary:active {
    transform: scale(0.98);
}

/* Primary Filled — Gold bg */
.btn-primary-filled {
    background: var(--clr-gold);
    color: var(--clr-bg);
    border-color: var(--clr-gold);
}
.btn-primary-filled:hover {
    background: var(--clr-gold-light);
    border-color: var(--clr-gold-light);
    box-shadow: var(--shadow-gold);
    color: var(--clr-bg);
}

/* Secondary — Silver border */
.btn-secondary {
    border-color: var(--clr-border-light);
    color: var(--clr-silver);
    background: transparent;
}
.btn-secondary:hover {
    border-color: var(--clr-silver);
    background: rgba(192, 192, 192, 0.08);
    color: var(--clr-text);
}

/* Ghost — No border, underline on hover */
.btn-ghost {
    padding: 0.5rem 0;
    border: none;
    color: var(--clr-silver);
    position: relative;
}
.btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--clr-gold);
    transition: width var(--dur-base) var(--ease-luxury);
}
.btn-ghost:hover {
    color: var(--clr-gold);
}
.btn-ghost:hover::after {
    width: 100%;
}

/* Icon button */
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-circle);
    border: 1px solid var(--clr-border);
    color: var(--clr-silver);
    background: transparent;
    font-size: 1.125rem;
}
.btn-icon:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
    background: var(--clr-gold-muted);
}

/* Button sizes */
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-caption);
}
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--text-body);
}

/* WhatsApp button */
.btn-whatsapp {
    border-color: #25D366;
    color: #25D366;
    background: transparent;
}
.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.15);
}

/* Danger button */
.btn-danger {
    border-color: var(--clr-error);
    color: var(--clr-error);
}
.btn-danger:hover {
    background: var(--clr-error);
    color: #fff;
}

/* Success button */
.btn-success {
    border-color: var(--clr-success);
    color: var(--clr-success);
}
.btn-success:hover {
    background: var(--clr-success);
    color: var(--clr-bg);
}

/* Button loading state */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}
.btn.loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: var(--radius-circle);
    animation: spin 0.6s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════
   6. CARDS — Custom
   ═══════════════════════════════════════════════════════════════ */
.card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
    overflow: hidden;
    transition: all var(--dur-base) var(--ease-luxury);
    position: relative;
}
.card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.card-body {
    padding: var(--sp-lg);
}
.card-body-lg {
    padding: var(--sp-xl);
}

/* Glass card variant */
.card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

/* Stat card for dashboard */
.card-stat {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
    padding: var(--sp-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--dur-base) var(--ease-luxury);
}
.card-stat::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-gold), transparent);
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease-smooth);
}
.card-stat:hover::before {
    opacity: 1;
}
.card-stat:hover {
    border-color: rgba(212, 175, 55, 0.2);
}
.card-stat .stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-gold-muted);
    color: var(--clr-gold);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    margin-bottom: var(--sp-md);
}
.card-stat .stat-value {
    font-family: var(--font-mono);
    font-size: var(--text-h2);
    font-weight: var(--weight-bold);
    color: var(--clr-text);
    line-height: 1.2;
    margin-bottom: var(--sp-2xs);
}
.card-stat .stat-label {
    font-size: var(--text-small);
    color: var(--clr-text-muted);
}
.card-stat .stat-change {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2xs);
    font-size: var(--text-caption);
    font-family: var(--font-mono);
    margin-top: var(--sp-sm);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}
.card-stat .stat-change.up {
    color: var(--clr-success);
    background: var(--clr-success-muted);
}
.card-stat .stat-change.down {
    color: var(--clr-error);
    background: var(--clr-error-muted);
}

/* ═══════════════════════════════════════════════════════════════
   7. PRODUCT CARD — Luxury
   ═══════════════════════════════════════════════════════════════ */
.product-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
    overflow: hidden;
    position: relative;
    transition: all var(--dur-slow) var(--ease-luxury);
}
.product-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: var(--shadow-gold-lg);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--clr-bg-deep);
}
.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slower) var(--ease-luxury);
}
.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-card .product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.7) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease-smooth);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--sp-lg);
}
.product-card:hover .product-overlay {
    opacity: 1;
}
.product-card .product-overlay .btn {
    transform: translateY(8px);
    opacity: 0;
    transition: all var(--dur-base) var(--ease-luxury);
    transition-delay: 100ms;
}
.product-card:hover .product-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

/* Favorite button on product card */
.product-card .product-fav {
    position: absolute;
    top: var(--sp-md);
    left: var(--sp-md);
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-circle);
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-smooth);
    font-size: 0.875rem;
}
.product-card .product-fav:hover,
.product-card .product-fav.active {
    color: var(--clr-gold);
    border-color: var(--clr-gold);
    background: rgba(212, 175, 55, 0.15);
}

/* Badge on product card */
.product-card .product-badge {
    position: absolute;
    top: var(--sp-md);
    right: var(--sp-md);
    z-index: 2;
    padding: 3px 10px;
    font-size: var(--text-overline);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--clr-gold);
    color: var(--clr-bg);
    border-radius: var(--radius-xs);
}

.product-card .product-info {
    padding: var(--sp-lg);
}
.product-card .product-category {
    font-size: var(--text-overline);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: var(--sp-xs);
}
.product-card .product-name {
    font-size: var(--text-body);
    font-weight: var(--weight-medium);
    color: var(--clr-text);
    margin-bottom: var(--sp-sm);
    line-height: 1.4;
}
.product-card .product-name a {
    color: inherit;
}
.product-card .product-name a:hover {
    color: var(--clr-gold);
}
.product-card .product-price {
    font-family: var(--font-mono);
    font-size: var(--text-h4);
    font-weight: var(--weight-semibold);
    color: var(--clr-gold);
}
.product-card .product-price .currency {
    font-size: var(--text-small);
    font-weight: var(--weight-regular);
    color: var(--clr-text-muted);
    margin-right: var(--sp-2xs);
}
.product-card .product-execution {
    font-size: var(--text-caption);
    color: var(--clr-text-dim);
    margin-top: var(--sp-xs);
}

/* ═══════════════════════════════════════════════════════════════
   8. FORM INPUTS — Custom
   ═══════════════════════════════════════════════════════════════ */
.form-group {
    margin-bottom: var(--sp-lg);
    position: relative;
}
.form-label {
    display: block;
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
    color: var(--clr-silver);
    margin-bottom: var(--sp-sm);
    letter-spacing: 0.02em;
}
.form-label .required {
    color: var(--clr-gold);
    margin-right: 2px;
}

.form-control {
    width: 100%;
    padding: 0.875rem var(--sp-md);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--clr-text);
    background: var(--clr-surface);
    border: none;
    border-bottom: 1px solid var(--clr-border);
    border-radius: 0;
    outline: none;
    transition: all var(--dur-base) var(--ease-smooth);
    appearance: none;
    -webkit-appearance: none;
}
.form-control:focus {
    border-bottom-color: var(--clr-gold);
    box-shadow: 0 1px 0 var(--clr-gold);
    background: var(--clr-surface-2);
}
.form-control::placeholder {
    color: var(--clr-text-dim);
}

/* Floating label variant */
.form-floating {
    position: relative;
}
.form-floating .form-control {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}
.form-floating .form-label {
    position: absolute;
    top: 50%;
    right: var(--sp-md);
    transform: translateY(-50%);
    transition: all var(--dur-base) var(--ease-luxury);
    pointer-events: none;
    margin: 0;
    color: var(--clr-text-dim);
}
.form-floating .form-control:focus ~ .form-label,
.form-floating .form-control:not(:placeholder-shown) ~ .form-label {
    top: 0.5rem;
    transform: translateY(0);
    font-size: var(--text-caption);
    color: var(--clr-gold);
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Select custom */
.form-select {
    width: 100%;
    padding: 0.875rem var(--sp-md);
    padding-left: 2.5rem;
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--clr-text);
    background: var(--clr-surface);
    border: none;
    border-bottom: 1px solid var(--clr-border);
    border-radius: 0;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    transition: all var(--dur-base) var(--ease-smooth);
}
.form-select:focus {
    border-bottom-color: var(--clr-gold);
    box-shadow: 0 1px 0 var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════════════
   9. OPTION SELECTORS — Custom (pill-style)
   ═══════════════════════════════════════════════════════════════ */
.option-selector {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
}

.option-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
    color: var(--clr-text-muted);
    background: transparent;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-luxury);
    user-select: none;
    position: relative;
}
.option-pill:hover {
    border-color: var(--clr-silver-dark);
    color: var(--clr-text);
}
.option-pill.active {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
    background: var(--clr-gold-muted);
    box-shadow: var(--shadow-gold);
}
.option-pill input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Price modifier badge on pills */
.option-pill .price-mod {
    font-size: var(--text-caption);
    font-family: var(--font-mono);
    color: var(--clr-text-dim);
    margin-right: var(--sp-xs);
}
.option-pill.active .price-mod {
    color: var(--clr-gold-dark);
}

/* Color picker */
.color-option {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-circle);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-smooth);
    position: relative;
    padding: 0;
    outline: none;
}
.color-option:hover {
    transform: scale(1.15);
}
.color-option.active {
    border-color: var(--clr-gold);
    box-shadow: 0 0 0 2px var(--clr-bg), 0 0 0 4px var(--clr-gold);
}
.color-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* ═══════════════════════════════════════════════════════════════
   10. NAVBAR — Premium
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: var(--z-fixed);
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    padding: 0 var(--sp-xl);
    transition: all var(--dur-base) var(--ease-smooth);
}

/* Transparent state (on hero) */
.navbar--transparent {
    background: transparent;
}

/* Solid state (after scroll) */
.navbar--solid {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
}

.navbar__inner {
    width: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}
.navbar__logo img {
    height: 36px;
    width: auto;
}
.navbar__logo-text {
    font-size: 1.25rem;
    font-weight: var(--weight-bold);
    color: var(--clr-text);
    letter-spacing: 0.05em;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
}
.navbar__link {
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
    color: var(--clr-text-secondary);
    letter-spacing: 0.03em;
    position: relative;
    padding: var(--sp-xs) 0;
}
.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--clr-gold);
    transition: width var(--dur-base) var(--ease-luxury);
}
.navbar__link:hover,
.navbar__link.active {
    color: var(--clr-text);
}
.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}

/* Notification badge */
.navbar__badge {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: var(--weight-bold);
    background: var(--clr-gold);
    color: var(--clr-bg);
    border-radius: var(--radius-circle);
}

/* Mobile hamburger */
.navbar__hamburger {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.navbar__hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--clr-silver);
    transition: all var(--dur-base) var(--ease-luxury);
    transform-origin: center;
}
.navbar__hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.navbar__hamburger.active span:nth-child(2) {
    opacity: 0;
}
.navbar__hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Mobile menu ─── */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--clr-bg-deep);
    border-left: 1px solid var(--clr-border);
    z-index: calc(var(--z-fixed) + 1);
    padding: var(--sp-3xl) var(--sp-xl) var(--sp-xl);
    transition: right var(--dur-slow) var(--ease-luxury);
    overflow-y: auto;
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-base) var(--ease-smooth);
}
.mobile-menu__overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu__link {
    display: block;
    padding: var(--sp-md) 0;
    font-size: var(--text-h4);
    font-weight: var(--weight-medium);
    color: var(--clr-text-secondary);
    border-bottom: 1px solid var(--clr-border);
}
.mobile-menu__link:hover,
.mobile-menu__link.active {
    color: var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════════════
   11. HERO — Cinematic
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img,
.hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--sp-xl);
}
.hero__overline {
    display: inline-block;
    font-size: var(--text-overline);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: var(--sp-lg);
    position: relative;
}
.hero__overline::before,
.hero__overline::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--clr-gold);
    opacity: 0.5;
}
.hero__overline::before { right: calc(100% + 16px); }
.hero__overline::after { left: calc(100% + 16px); }

.hero__title {
    font-size: var(--text-hero);
    font-weight: var(--weight-black);
    line-height: 1.1;
    margin-bottom: var(--sp-lg);
    color: var(--clr-text);
}

.hero__subtitle {
    font-size: var(--text-hero-sub);
    font-weight: var(--weight-light);
    color: var(--clr-silver);
    margin-bottom: var(--sp-2xl);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: var(--sp-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--sp-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
    color: var(--clr-text-dim);
    font-size: var(--text-caption);
    letter-spacing: 0.1em;
}
.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--clr-gold), transparent);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--clr-gold);
    animation: scrollDown 2s var(--ease-smooth) infinite;
}

/* ═══════════════════════════════════════════════════════════════
   12. COLLECTION CARDS — Asymmetric layout
   ═══════════════════════════════════════════════════════════════ */
.collections-grid {
    display: grid;
    gap: var(--sp-md);
}
/* Asymmetric: first row = 1 large + 2 small stacked */
.collections-grid--asym {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
}
.collections-grid--asym .collection-card:first-child {
    grid-row: 1 / 3;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xs);
    cursor: pointer;
    min-height: 240px;
}
.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slower) var(--ease-luxury);
}
.collection-card:hover img {
    transform: scale(1.05);
}
.collection-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.1) 60%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--sp-xl);
    transition: all var(--dur-base) var(--ease-smooth);
}
.collection-card:hover .collection-card__overlay {
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(212, 175, 55, 0.05) 60%
    );
}
.collection-card__title {
    font-size: var(--text-h3);
    font-weight: var(--weight-semibold);
    color: var(--clr-text);
    margin-bottom: var(--sp-2xs);
}
.collection-card__count {
    font-size: var(--text-small);
    color: var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════════════
   13. PROCESS STEPS — Design Your Gift
   ═══════════════════════════════════════════════════════════════ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3xl);
    position: relative;
}
/* Golden connecting line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 16.66%;
    left: 16.66%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}
.process-step__number {
    font-family: var(--font-mono);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: var(--weight-black);
    color: var(--clr-surface-2);
    line-height: 1;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    user-select: none;
}
.process-step__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-circle);
    color: var(--clr-gold);
    font-size: 1.25rem;
    margin: 0 auto var(--sp-lg);
    position: relative;
    z-index: 1;
    transition: all var(--dur-base) var(--ease-smooth);
}
.process-step:hover .process-step__icon {
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-gold);
}
.process-step__title {
    font-size: var(--text-h4);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--sp-sm);
    color: var(--clr-text);
}
.process-step__desc {
    font-size: var(--text-small);
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   14. PORTFOLIO — Masonry
   ═══════════════════════════════════════════════════════════════ */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-2xl);
    flex-wrap: wrap;
}
.portfolio-filter {
    padding: 0.5rem 1.5rem;
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
    color: var(--clr-text-muted);
    background: transparent;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-luxury);
}
.portfolio-filter:hover {
    border-color: var(--clr-silver-dark);
    color: var(--clr-text);
}
.portfolio-filter.active {
    border-color: var(--clr-gold);
    background: var(--clr-gold);
    color: var(--clr-bg);
}

.portfolio-grid {
    columns: 3;
    column-gap: var(--sp-md);
}
.portfolio-item {
    break-inside: avoid;
    margin-bottom: var(--sp-md);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xs);
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform var(--dur-slower) var(--ease-luxury);
}
.portfolio-item:hover img {
    transform: scale(1.04);
}
.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease-smooth);
}
.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   15. TESTIMONIALS — Premium
   ═══════════════════════════════════════════════════════════════ */
.testimonial-section {
    text-align: center;
    position: relative;
}
.testimonial-quote-mark {
    font-size: 6rem;
    line-height: 1;
    color: var(--clr-gold);
    opacity: 0.15;
    font-family: Georgia, serif;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    user-select: none;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--sp-3xl) var(--sp-xl);
}
.testimonial-card__text {
    font-size: var(--text-h3);
    font-weight: var(--weight-light);
    color: var(--clr-silver-light);
    line-height: 1.8;
    margin-bottom: var(--sp-2xl);
    font-style: italic;
}
.testimonial-card__stars {
    display: flex;
    justify-content: center;
    gap: var(--sp-2xs);
    margin-bottom: var(--sp-md);
    color: var(--clr-gold);
    font-size: 1rem;
}
.testimonial-card__name {
    font-size: var(--text-body);
    font-weight: var(--weight-semibold);
    color: var(--clr-text);
}
.testimonial-card__image {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    margin: 0 auto var(--sp-sm);
    border: 1px solid var(--clr-border);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--sp-md);
    margin-top: var(--sp-xl);
}
.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-circle);
    background: var(--clr-border);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-smooth);
}
.testimonial-dot.active {
    background: var(--clr-gold);
    width: 24px;
    border-radius: var(--radius-pill);
}

/* ═══════════════════════════════════════════════════════════════
   16. ORDER TIMELINE — Custom
   ═══════════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    padding-right: var(--sp-2xl);
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 7px;
    bottom: 0;
    width: 1px;
    background: var(--clr-border);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--sp-xl);
    padding-right: var(--sp-xl);
}
.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item__dot {
    position: absolute;
    right: calc(-1 * var(--sp-2xl) + 1px);
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: var(--radius-circle);
    background: var(--clr-surface);
    border: 2px solid var(--clr-border);
    z-index: 1;
    transition: all var(--dur-base) var(--ease-smooth);
}
.timeline-item.completed .timeline-item__dot {
    background: var(--clr-gold);
    border-color: var(--clr-gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}
.timeline-item.current .timeline-item__dot {
    background: var(--clr-gold);
    border-color: var(--clr-gold);
    animation: pulse-gold 2s ease-in-out infinite;
}
.timeline-item.pending .timeline-item__dot {
    background: var(--clr-surface);
    border-color: var(--clr-border);
}

.timeline-item__status {
    font-size: var(--text-body);
    font-weight: var(--weight-medium);
    color: var(--clr-text);
    margin-bottom: var(--sp-2xs);
}
.timeline-item.pending .timeline-item__status {
    color: var(--clr-text-dim);
}
.timeline-item__meta {
    font-size: var(--text-caption);
    color: var(--clr-text-muted);
}
.timeline-item__note {
    font-size: var(--text-small);
    color: var(--clr-text-muted);
    margin-top: var(--sp-xs);
    padding: var(--sp-sm);
    background: var(--clr-surface);
    border-right: 2px solid var(--clr-gold);
    border-radius: var(--radius-xs);
}

/* ═══════════════════════════════════════════════════════════════
   17. TAGS — Colored badges
   ═══════════════════════════════════════════════════════════════ */
.tag {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2xs);
    padding: 2px 10px;
    font-size: var(--text-overline);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}
/* Tag colors are set inline via style="--tag-color: #XXX" */
.tag {
    color: var(--tag-color, var(--clr-gold));
    background: color-mix(in srgb, var(--tag-color, var(--clr-gold)) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--tag-color, var(--clr-gold)) 30%, transparent);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2xs);
    padding: 4px 12px;
    font-size: var(--text-caption);
    font-weight: var(--weight-medium);
    border-radius: var(--radius-pill);
    white-space: nowrap;
}
.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: var(--radius-circle);
    background: currentColor;
}

/* ═══════════════════════════════════════════════════════════════
   18. TABLES — Premium (for admin)
   ═══════════════════════════════════════════════════════════════ */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
}
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th {
    padding: var(--sp-md) var(--sp-lg);
    font-size: var(--text-small);
    font-weight: var(--weight-semibold);
    color: var(--clr-text-muted);
    text-align: right;
    background: var(--clr-surface);
    border-bottom: 1px solid var(--clr-border);
    white-space: nowrap;
    letter-spacing: 0.03em;
}
.table td {
    padding: var(--sp-md) var(--sp-lg);
    font-size: var(--text-small);
    color: var(--clr-text);
    border-bottom: 1px solid var(--clr-border);
    vertical-align: middle;
}
.table tbody tr {
    transition: background var(--dur-fast) var(--ease-smooth);
}
.table tbody tr:hover {
    background: var(--clr-surface);
}
.table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive table → cards on mobile */
@media (max-width: 768px) {
    .table-responsive-cards thead {
        display: none;
    }
    .table-responsive-cards tbody tr {
        display: block;
        background: var(--clr-surface);
        border: 1px solid var(--clr-border);
        border-radius: var(--radius-xs);
        margin-bottom: var(--sp-md);
        padding: var(--sp-md);
    }
    .table-responsive-cards td {
        display: flex;
        justify-content: space-between;
        padding: var(--sp-sm) 0;
        border-bottom: 1px solid var(--clr-border);
    }
    .table-responsive-cards td:last-child {
        border-bottom: none;
    }
    .table-responsive-cards td::before {
        content: attr(data-label);
        font-weight: var(--weight-medium);
        color: var(--clr-text-muted);
        margin-left: var(--sp-md);
    }
}

/* ═══════════════════════════════════════════════════════════════
   19. FOOTER — Premium
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--clr-bg-deep);
    border-top: 1px solid var(--clr-border);
    padding: var(--sp-4xl) 0 var(--sp-xl);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    opacity: 0.3;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-3xl);
    margin-bottom: var(--sp-3xl);
}
.footer__brand p {
    color: var(--clr-text-muted);
    font-size: var(--text-small);
    margin-top: var(--sp-md);
    max-width: 300px;
    line-height: 1.8;
}

.footer__title {
    font-size: var(--text-small);
    font-weight: var(--weight-semibold);
    color: var(--clr-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--sp-lg);
    position: relative;
    padding-bottom: var(--sp-sm);
}
.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 1px;
    background: var(--clr-gold);
}

.footer__link {
    display: block;
    padding: var(--sp-xs) 0;
    font-size: var(--text-small);
    color: var(--clr-text-muted);
    transition: all var(--dur-base) var(--ease-smooth);
}
.footer__link:hover {
    color: var(--clr-gold);
    padding-right: var(--sp-sm);
}

.footer__bottom {
    padding-top: var(--sp-xl);
    border-top: 1px solid var(--clr-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-md);
}
.footer__copyright {
    font-size: var(--text-caption);
    color: var(--clr-text-dim);
}
.footer__social {
    display: flex;
    gap: var(--sp-sm);
}

/* ═══════════════════════════════════════════════════════════════
   20. PRODUCT GALLERY — Luxury
   ═══════════════════════════════════════════════════════════════ */
.product-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--sp-md);
    direction: ltr; /* thumbnails on left side */
}
.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}
.product-gallery__thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all var(--dur-base) var(--ease-smooth);
}
.product-gallery__thumb:hover,
.product-gallery__thumb.active {
    opacity: 1;
    border-color: var(--clr-gold);
}
.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery__main {
    position: relative;
    overflow: hidden;
    background: var(--clr-bg-deep);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
    aspect-ratio: 1 / 1;
}
.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--dur-slow) var(--ease-luxury);
}

/* ═══════════════════════════════════════════════════════════════
   21. PRICE DISPLAY
   ═══════════════════════════════════════════════════════════════ */
.price-display {
    display: flex;
    align-items: baseline;
    gap: var(--sp-sm);
}
.price-display__current {
    font-family: var(--font-mono);
    font-size: var(--text-h1);
    font-weight: var(--weight-bold);
    color: var(--clr-gold);
}
.price-display__currency {
    font-size: var(--text-body);
    font-weight: var(--weight-regular);
    color: var(--clr-text-muted);
}
.price-display__old {
    font-family: var(--font-mono);
    font-size: var(--text-body);
    color: var(--clr-text-dim);
    text-decoration: line-through;
}

/* ═══════════════════════════════════════════════════════════════
   22. LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-base) var(--ease-smooth);
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.lightbox__close {
    position: absolute;
    top: var(--sp-xl);
    left: var(--sp-xl);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-circle);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-smooth);
}
.lightbox__close:hover {
    background: rgba(255,255,255,0.2);
}
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════════
   23. ALERTS / FLASH MESSAGES
   ═══════════════════════════════════════════════════════════════ */
.alert {
    padding: var(--sp-md) var(--sp-lg);
    border-radius: var(--radius-xs);
    font-size: var(--text-small);
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
    border: 1px solid;
}
.alert-success {
    background: var(--clr-success-muted);
    border-color: rgba(78, 205, 196, 0.3);
    color: var(--clr-success);
}
.alert-error {
    background: var(--clr-error-muted);
    border-color: rgba(192, 57, 43, 0.3);
    color: var(--clr-error);
}
.alert-warning {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--clr-gold);
}
.alert-info {
    background: rgba(93, 173, 226, 0.1);
    border-color: rgba(93, 173, 226, 0.3);
    color: var(--clr-info);
}

/* ═══════════════════════════════════════════════════════════════
   24. PAGINATION
   ═══════════════════════════════════════════════════════════════ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-xs);
    margin-top: var(--sp-2xl);
}
.pagination__item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-small);
    font-family: var(--font-mono);
    color: var(--clr-text-muted);
    background: transparent;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-smooth);
}
.pagination__item:hover {
    border-color: var(--clr-silver-dark);
    color: var(--clr-text);
}
.pagination__item.active {
    background: var(--clr-gold);
    border-color: var(--clr-gold);
    color: var(--clr-bg);
}

/* ═══════════════════════════════════════════════════════════════
   25. BREADCRUMB
   ═══════════════════════════════════════════════════════════════ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    padding: var(--sp-lg) 0;
    font-size: var(--text-caption);
    color: var(--clr-text-dim);
}
.breadcrumb a {
    color: var(--clr-text-dim);
}
.breadcrumb a:hover {
    color: var(--clr-gold);
}
.breadcrumb__sep {
    color: var(--clr-border);
    font-size: 10px;
}
.breadcrumb__current {
    color: var(--clr-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   26. TABS
   ═══════════════════════════════════════════════════════════════ */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: var(--sp-xl);
}
.tab {
    padding: var(--sp-md) var(--sp-xl);
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
    color: var(--clr-text-muted);
    cursor: pointer;
    position: relative;
    transition: color var(--dur-base) var(--ease-smooth);
    border: none;
    background: none;
}
.tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--clr-gold);
    transform: scaleX(0);
    transition: transform var(--dur-base) var(--ease-luxury);
}
.tab:hover {
    color: var(--clr-text);
}
.tab.active {
    color: var(--clr-gold);
}
.tab.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   27. MODAL
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-base) var(--ease-smooth);
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform var(--dur-base) var(--ease-luxury);
}
.modal-overlay.open .modal {
    transform: translateY(0);
}
.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-lg) var(--sp-xl);
    border-bottom: 1px solid var(--clr-border);
}
.modal__title {
    font-size: var(--text-h4);
    font-weight: var(--weight-semibold);
}
.modal__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--clr-text-muted);
    cursor: pointer;
    font-size: 1.25rem;
}
.modal__close:hover {
    color: var(--clr-text);
}
.modal__body {
    padding: var(--sp-xl);
}
.modal__footer {
    display: flex;
    justify-content: flex-start;
    gap: var(--sp-sm);
    padding: var(--sp-lg) var(--sp-xl);
    border-top: 1px solid var(--clr-border);
}

/* ═══════════════════════════════════════════════════════════════
   28. EMPTY STATE
   ═══════════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: var(--sp-4xl) var(--sp-xl);
}
.empty-state__icon {
    font-size: 3rem;
    color: var(--clr-border-light);
    margin-bottom: var(--sp-lg);
}
.empty-state__title {
    font-size: var(--text-h3);
    font-weight: var(--weight-medium);
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-sm);
}
.empty-state__desc {
    font-size: var(--text-small);
    color: var(--clr-text-dim);
    margin-bottom: var(--sp-xl);
}

/* ═══════════════════════════════════════════════════════════════
   29. LOADING / SKELETON
   ═══════════════════════════════════════════════════════════════ */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--clr-surface) 25%,
        var(--clr-surface-2) 50%,
        var(--clr-surface) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-xs);
}

/* Spinner */
.spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--clr-border);
    border-top-color: var(--clr-gold);
    border-radius: var(--radius-circle);
    animation: spin 0.8s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════
   30. CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
    text-align: center;
    padding: var(--sp-section) var(--sp-xl);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(192, 192, 192, 0.03) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section__title {
    font-size: var(--text-h1);
    font-weight: var(--weight-bold);
    margin-bottom: var(--sp-md);
    position: relative;
}
.cta-section__desc {
    font-size: var(--text-body);
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-2xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-section__actions {
    display: flex;
    justify-content: center;
    gap: var(--sp-md);
    flex-wrap: wrap;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   31. FILE UPLOAD
   ═══════════════════════════════════════════════════════════════ */
.file-upload {
    border: 1px dashed var(--clr-border);
    border-radius: var(--radius-sm);
    padding: var(--sp-2xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease-smooth);
    position: relative;
}
.file-upload:hover {
    border-color: var(--clr-gold);
    background: var(--clr-gold-muted);
}
.file-upload.dragover {
    border-color: var(--clr-gold);
    background: var(--clr-gold-muted);
}
.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.file-upload__icon {
    font-size: 2rem;
    color: var(--clr-text-dim);
    margin-bottom: var(--sp-md);
}
.file-upload__text {
    font-size: var(--text-small);
    color: var(--clr-text-muted);
}
.file-upload__hint {
    font-size: var(--text-caption);
    color: var(--clr-text-dim);
    margin-top: var(--sp-sm);
}

/* ═══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--dur-slow) var(--ease-luxury);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }
.stagger-6 { transition-delay: 600ms; }

.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--clr-silver) 0%,
        var(--clr-text) 50%,
        var(--clr-silver) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.gold-glow {
    box-shadow: var(--shadow-gold);
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--clr-border);
    margin: var(--sp-xl) 0;
}
.divider-gold {
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    opacity: 0.3;
}

/* Hide/Show */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

/* Text alignment */
.text-center { text-align: center; }
.text-start { text-align: right; } /* RTL */
.text-end { text-align: left; }   /* RTL */

/* Margin helpers */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mb-2xl { margin-bottom: var(--sp-2xl); }

/* Gap helpers */
.gap-xs { gap: var(--sp-xs); }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.gap-lg { gap: var(--sp-lg); }
.gap-xl { gap: var(--sp-xl); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 992px) {
    .navbar__links { display: none; }
    .navbar__hamburger { display: flex; }
    
    .collections-grid--asym {
        grid-template-columns: 1fr 1fr;
    }
    .collections-grid--asym .collection-card:first-child {
        grid-row: auto;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--sp-2xl);
    }
    .process-steps::before { display: none; }
    
    .portfolio-grid {
        columns: 2;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-gallery {
        grid-template-columns: 1fr;
    }
    .product-gallery__thumbs {
        flex-direction: row;
        order: 1;
        overflow-x: auto;
    }
    .product-gallery__main {
        order: 0;
        aspect-ratio: 4/3;
    }
}

/* Mobile */
@media (max-width: 576px) {
    :root {
        --sp-section: 3rem;
        --navbar-height: 60px;
    }
    
    .container {
        padding: 0 var(--sp-md);
    }
    
    .hero__content {
        padding: 0 var(--sp-md);
    }
    .hero__overline::before,
    .hero__overline::after {
        display: none;
    }
    
    .collections-grid--asym {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        columns: 1;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-2xl);
    }
    
    .testimonial-card__text {
        font-size: var(--text-body);
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Fixed bottom CTA on product page */
    .product-actions-fixed {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: var(--z-sticky);
        background: var(--clr-surface);
        border-top: 1px solid var(--clr-border);
        padding: var(--sp-md);
        display: flex;
        gap: var(--sp-sm);
    }
    .product-actions-fixed .btn {
        flex: 1;
    }
}
