/*
 * ═══════════════════════════════════════════════════════════════════════════
 * THE EVENING EDIT — For Jill
 * ═══════════════════════════════════════════════════════════════════════════
 *
 * Every pixel is intentional.
 * Every animation tells a story.
 * 1000/100 polish.
 *
 * Design principles:
 * - Warm charcoal backgrounds with champagne gold accents
 * - Elegant typography that breathes
 * - Microdelights on every interaction
 * - Movement that feels natural
 */

/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Evening Palette — Warmer than midnight */
    --bg-deep: #17151a;
    --bg: #1e1c22;
    --bg-elevated: #282530;
    --bg-card: #302d38;
    --bg-hover: #3a3642;
    
    /* Text Colors */
    --text-primary: #f8f5f0;
    --text-secondary: #b5b0a8;
    --text-muted: #7a766e;
    
    /* Accent — Champagne Gold */
    --accent: #d4a574;
    --accent-bright: #e8c49a;
    --accent-soft: rgba(212, 165, 116, 0.12);
    --accent-glow: rgba(212, 165, 116, 0.25);
    
    /* Supporting Colors */
    --rose: #c49898;
    --sage: #98a489;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 128px;
    
    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
    --duration-slower: 0.8s;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-deep);
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--bg-deep);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
}

/* Ambient glow */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: ambient-pulse 8s ease-in-out infinite;
}

@keyframes ambient-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) var(--space-6);
    z-index: 1000;
    background: linear-gradient(180deg, rgba(23, 21, 26, 0.95) 0%, rgba(23, 21, 26, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.logo {
    font-size: 28px;
    line-height: 1;
    transition: transform var(--duration-normal) var(--ease-spring);
}

.logo:hover {
    transform: rotate(15deg) scale(1.15);
}

.nav-links {
    display: flex;
    gap: var(--space-6);
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

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

/* Hero Content */
.hero-content {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-5);
    animation: fade-up 0.8s var(--ease-out) both;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '·';
    opacity: 0.5;
}

.hero-title {
    font-size: clamp(52px, 12vw, 88px);
    color: var(--text-primary);
    margin-bottom: var(--space-5);
    animation: fade-up 0.8s var(--ease-out) 0.1s both;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 50%, var(--rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: var(--space-7);
    animation: fade-up 0.8s var(--ease-out) 0.2s both;
}

.hero-quote {
    padding: var(--space-5) var(--space-6);
    margin: var(--space-7) auto;
    max-width: 440px;
    border-left: 2px solid var(--accent);
    text-align: left;
    background: linear-gradient(90deg, var(--accent-soft), transparent);
    border-radius: 0 8px 8px 0;
    animation: fade-up 0.8s var(--ease-out) 0.3s both;
}

.hero-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 21px;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    line-height: 1.5;
}

.hero-quote cite {
    font-size: 13px;
    color: var(--text-muted);
    font-style: normal;
    letter-spacing: 0.02em;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-7);
    animation: fade-up 0.8s var(--ease-out) 0.4s both;
}

.stat {
    text-align: center;
    transition: transform var(--duration-normal) var(--ease-out);
}

.stat:hover {
    transform: translateY(-4px);
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    transition: color var(--duration-normal) var(--ease-out);
}

.stat:hover .stat-value {
    color: var(--accent);
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Scroll Cue */
.scroll-cue {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    animation: fade-up 0.8s var(--ease-out) 0.6s both;
}

.scroll-cue span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHILOSOPHY SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.philosophy-section {
    padding: var(--space-9) var(--space-6);
    background: var(--bg);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-5);
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-card {
    padding: var(--space-7);
    background: var(--bg-elevated);
    border-radius: 12px;
    text-align: center;
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.philosophy-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.philosophy-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-soft) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-card > * {
    position: relative;
    z-index: 1;
}

.philosophy-icon {
    display: block;
    font-size: 32px;
    margin-bottom: var(--space-4);
    transition: transform var(--duration-normal) var(--ease-spring);
}

.philosophy-card:hover .philosophy-icon {
    transform: scale(1.2) rotate(5deg);
}

.philosophy-card h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.philosophy-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COLLECTION SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.collection-section {
    padding: var(--space-9) var(--space-6);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slower) var(--ease-out);
}

.collection-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.collection-section:nth-child(even) {
    background: var(--bg);
}

.collection-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.collection-title {
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    position: relative;
    display: inline-block;
}

.collection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.collection-desc {
    font-size: 17px;
    color: var(--text-muted);
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT GRID & CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all var(--duration-slow) var(--ease-out);
    opacity: 0;
    transform: translateY(24px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay, 0s);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

/* Heart Button */
.heart-button {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 21, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    font-size: 20px;
    z-index: 10;
    transition: all var(--duration-normal) var(--ease-spring);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.heart-button:hover {
    transform: scale(1.15);
    background: rgba(23, 21, 26, 0.9);
    border-color: var(--accent);
}

.heart-button.hearted {
    animation: heart-pop 0.4s var(--ease-spring);
}

@keyframes heart-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Image Container */
.product-card__link {
    display: block;
}

.product-card__image-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-elevated);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slower) var(--ease-out);
}

.product-card:hover .product-card__image {
    transform: scale(1.03);
}

/* Shimmer overlay for hover */
.product-card__shimmer {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--shimmer-x, 50%) var(--shimmer-y, 50%),
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
    pointer-events: none;
}

.product-card:hover .product-card__shimmer {
    opacity: 1;
}

/* Badge */
.product-card__badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-2) var(--space-3);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

/* Content */
.product-card__content {
    padding: var(--space-5);
}

.product-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-2);
}

.product-card__brand {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.product-card__origin {
    font-size: 11px;
    color: var(--text-muted);
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.2;
    transition: color var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-card__name {
    color: var(--accent-bright);
}

.product-card__description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: var(--space-5);
}

.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--bg-hover);
}

.product-card__price-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.product-card__price {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text-primary);
}

.product-card__material {
    font-size: 11px;
    color: var(--text-muted);
}

/* CTA Button */
.product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all var(--duration-normal) var(--ease-out);
}

.product-card__cta svg {
    transition: transform var(--duration-normal) var(--ease-out);
}

.product-card__cta:hover {
    background: var(--accent);
    color: var(--bg-deep);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.product-card__cta:hover svg {
    transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    padding: var(--space-10) var(--space-6);
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    position: relative;
}

.footer::before {
    content: '✨';
    position: absolute;
    top: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

.footer-message {
    font-family: var(--font-display);
    font-size: 28px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.footer-credit {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-5);
    }
    
    .collection-title {
        font-size: 36px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--space-4);
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════ */

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

.reduced-motion * {
    animation: none !important;
    transition: none !important;
}
/* Cache bust: 1768878889 */


/* ═══════════════════════════════════════════════════════════════════════════
   STATUS (ORDER / PURCHASE STATE)
   ═══════════════════════════════════════════════════════════════════════════ */

.product-card__status {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: var(--space-3);
}

.status-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 12px;
    transition: all var(--duration-normal) var(--ease-out);
}

.status-button:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 165, 116, 0.35);
    color: var(--text-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--text-muted);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.03);
}

.product-card__status[data-status="wishlisted"] .status-dot { background: var(--accent); }
.product-card__status[data-status="considering"] .status-dot { background: var(--accent-bright); }
.product-card__status[data-status="ordered"] .status-dot { background: #8aa7ff; }
.product-card__status[data-status="purchased"] .status-dot { background: #7fd3b7; }
.product-card__status[data-status="owned"] .status-dot { background: #59d38a; }
.product-card__status[data-status="returned"] .status-dot { background: #ff8a8a; }

.status-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 180px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(24, 22, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 50;
}

.status-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.status-option {
    width: 100%;
    text-align: left;
    padding: 10px 10px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 0.02em;
    transition: all var(--duration-fast) var(--ease-out);
}

.status-option:hover {
    background: rgba(212, 165, 116, 0.14);
    color: var(--text-primary);
}


/* ═══════════════════════════════════════════════════════════════════════════
   NAV ACTIONS (Favorites / Orders)
   ═══════════════════════════════════════════════════════════════════════════ */

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

.nav-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    transition: all var(--duration-normal) var(--ease-out);
}

.nav-action:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(212, 165, 116, 0.35);
    color: var(--text-primary);
}

.nav-action__icon {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--accent);
    transform: translateY(-1px);
}

.nav-action__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-action__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    color: var(--bg-deep);
    font-size: 11px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.nav-action__badge.is-visible {
    display: inline-flex;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DRAWERS
   ═══════════════════════════════════════════════════════════════════════════ */

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(440px, 92vw);
    height: 100vh;
    background: rgba(24, 22, 28, 0.92);
    border-left: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 2100;
    transform: translateX(110%);
    transition: transform var(--duration-slower) var(--ease-out);
    display: flex;
    flex-direction: column;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.drawer__title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: -0.01em;
}

.drawer__close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    font-size: 22px;
    transition: all var(--duration-normal) var(--ease-out);
}

.drawer__close:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-1px);
}

.drawer__content {
    padding: 14px 14px 24px;
    overflow: auto;
    flex: 1;
}

.drawer__section {
    margin: 14px 0 18px;
}

.drawer__section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 12px 10px;
}

.drawer-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 10px;
    transition: 
        background 0.22s var(--ease-out),
        border-color 0.22s var(--ease-out),
        transform 0.22s var(--ease-out),
        box-shadow 0.22s var(--ease-out);
    cursor: default;
}

.drawer-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(212,165,116,0.35);
    transform: translateX(4px);
    box-shadow: 
        -4px 0 0 0 var(--gold),
        0 4px 16px rgba(0,0,0,0.15);
}

.drawer-item:active {
    transform: translateX(2px);
}

.drawer-item__img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bg-elevated);
    transition: 
        transform 0.28s var(--ease-out),
        box-shadow 0.28s var(--ease-out);
}

.drawer-item:hover .drawer-item__img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.drawer-item__img--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.25);
    font-size: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.drawer-item__name {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.15;
}

.drawer-item__meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.drawer-item__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.drawer-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    font-size: 12px;
}

.drawer-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--text-muted);
}

.drawer-empty {
    padding: 22px 14px;
    border-radius: 14px;
    border: 1px dashed rgba(255,255,255,0.14);
    color: var(--text-secondary);
    background: rgba(255,255,255,0.02);
    line-height: 1.7;
}


.product-card__status[data-status=""] .status-dot { background: rgba(255,255,255,0.22); }
.product-card__status[data-status=""] .status-label { color: var(--text-muted); }


/* Order actions */
.order-action {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  cursor: pointer;
  transition: 
      transform 0.18s var(--ease-out),
      background 0.18s var(--ease-out),
      border-color 0.18s var(--ease-out),
      box-shadow 0.18s var(--ease-out);
}

.order-action:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.order-action:active {
  transform: translateY(0);
  box-shadow: none;
}

.order-action--cancel {
  border-color: rgba(198,166,255,0.35);
  color: rgba(198,166,255,0.9);
}

.order-action--cancel:hover {
  background: rgba(198,166,255,0.15);
  border-color: rgba(198,166,255,0.5);
}

.order-action--return {
  border-color: rgba(255,160,140,0.35);
  color: rgba(255,180,160,0.9);
}

.order-action--return:hover {
  background: rgba(255,160,140,0.15);
  border-color: rgba(255,160,140,0.5);
}

.order-action--restore {
  border-color: rgba(120,200,120,0.35);
  color: rgba(140,220,140,0.9);
}

.order-action--restore:hover {
  background: rgba(120,200,120,0.15);
  border-color: rgba(120,200,120,0.5);
}

.order-action--keep {
  border-color: rgba(100,180,255,0.35);
  color: rgba(130,200,255,0.9);
}

.order-action--keep:hover {
  background: rgba(100,180,255,0.15);
  border-color: rgba(100,180,255,0.5);
}

.drawer-item__actions {
  display: flex;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ORDERS — Clean, elegant layout
   ═══════════════════════════════════════════════════════════════════════════ */

.orders-group {
  margin-bottom: var(--space-5);
}

.orders-group__title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-3) 0;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.orders-group__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Order card */
.order-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3);
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  transition: background 0.2s var(--ease-out);
}

.order-card:hover {
  background: rgba(255,255,255,0.04);
}

.order-card__img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-elevated);
}

.order-card__body {
  min-width: 0;
}

.order-card__brand {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.order-card__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.35;
}

.order-card__size {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.order-card__subtitle {
  font-size: 11px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 2px;
}

.order-card__specs {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

.order-card__status {
  font-size: 11px;
  text-align: right;
  flex-shrink: 0;
}

.order-card__status--confirmed {
  color: rgba(140, 200, 140, 0.9);
  font-size: 18px;
}

.order-card__status--pending {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Custom orders - compact horizontal layout */
.order-card--custom {
  grid-template-columns: 56px 1fr;
  align-items: flex-start;
}

.order-card--custom .order-card__brand {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.order-card--custom .order-card__status--pending {
  font-weight: 400;
  margin-left: auto;
}


/* ═══════════════════════════════════════════════════════════════════════════
   ORDERS SECTIONS — Expandable categories
   ═══════════════════════════════════════════════════════════════════════════ */

.orders-section {
    margin-bottom: var(--space-3);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.orders-section__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    user-select: none;
    transition: background 0.18s var(--ease-out);
    list-style: none;
}

.orders-section__header::-webkit-details-marker {
    display: none;
}

.orders-section__header:hover {
    background: rgba(255,255,255,0.04);
}

.orders-section__icon {
    font-size: 16px;
    opacity: 0.7;
}

.orders-section__label {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.orders-section__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: rgba(212,165,116,0.15);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
}

.orders-section__chevron {
    font-size: 18px;
    color: var(--text-muted);
    transition: transform 0.22s var(--ease-out);
    transform: rotate(90deg);
}

.orders-section:not([open]) .orders-section__chevron {
    transform: rotate(0deg);
}

.orders-section__content {
    padding: 0 var(--space-3) var(--space-3);
}

.orders-section__content .drawer-item {
    margin-bottom: var(--space-2);
}

.orders-section__content .drawer-item:last-child {
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   UNDO TOAST — Gmail-style floating banner
   ═══════════════════════════════════════════════════════════════════════════ */

.undo-toast {
    position: fixed;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + var(--space-6)));
    z-index: 2000;

    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-5);
    
    background: var(--midnight-deep);
    border: 1px solid rgba(212, 165, 116, 0.25);
    border-radius: 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    
    opacity: 0;
    pointer-events: none;
    transition: 
        transform 0.28s var(--ease-out-expo),
        opacity 0.28s var(--ease-out);
}

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

.undo-toast__btn {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    background: var(--gold);
    color: var(--midnight-deep);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: 
        background 0.18s var(--ease-out),
        transform 0.18s var(--ease-out);
}

.undo-toast__btn:hover {
    background: var(--gold-light);
    transform: scale(1.03);
}

.undo-toast__btn:active {
    transform: scale(0.97);
}

/* Mobile: full-width at bottom */
@media (max-width: 600px) {
    .undo-toast {
        left: var(--space-4);
        right: var(--space-4);
        bottom: var(--space-4);
        transform: translateX(0) translateY(calc(100% + var(--space-4)));
        width: auto;
        justify-content: space-between;
    }
    
    .undo-toast.is-visible {
        transform: translateX(0) translateY(0);
    }
}
