﻿/* ==========================================
   Shop Vestiti — Premium Fashion E-Commerce
   Dark Theme with Gold Accents
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-elevated: #1a1a1a;
    --bg-glass: rgba(22, 22, 22, 0.85);
    --bg-input: #1e1e1e;
    --border: #2a2a2a;
    --border-light: #333333;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --gold: #C9A96E;
    --gold-light: #dcc08e;
    --gold-dark: #a88a4e;
    --gold-bg: rgba(201, 169, 110, 0.08);
    --gold-border: rgba(201, 169, 110, 0.2);
    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.1);
    --error: #f87171;
    --error-bg: rgba(248, 113, 113, 0.1);
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.1);
    --info: #60a5fa;
    --info-bg: rgba(96, 165, 250, 0.1);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-gold: 0 4px 20px rgba(201,169,110,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

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

/* ── Utility ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-secondary); }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section-title .gold-line { width: 60px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 2px; }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.navbar.scrolled { background: rgba(10, 10, 10, 0.98); box-shadow: var(--shadow); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.navbar-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--gold); letter-spacing: 2px; }
.navbar-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.navbar-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; position: relative; }
.navbar-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: var(--transition); }
.navbar-links a:hover, .navbar-links a.active { color: var(--text-primary); }
.navbar-links a:hover::after, .navbar-links a.active::after { width: 100%; }
.navbar-actions { display: flex; align-items: center; gap: 20px; }
.navbar-icon { position: relative; cursor: pointer; color: var(--text-secondary); transition: var(--transition); background: none; border: none; font-size: 1.2rem; }
.navbar-icon:hover { color: var(--gold); }
.cart-badge {
    position: absolute; top: -6px; right: -8px;
    background: var(--gold); color: #000;
    font-size: 0.65rem; font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
}
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--border-light);
    cursor: pointer; transition: var(--transition);
    object-fit: cover; background: var(--bg-elevated);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--text-secondary);
}
.user-avatar:hover { border-color: var(--gold); }

/* Mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding-top: 70px; overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(201,169,110,0.04) 0%, transparent 50%);
}
.hero-content { position: relative; text-align: center; max-width: 800px; padding: 40px 24px; }
.hero-badge {
    display: inline-block; padding: 6px 20px; border: 1px solid var(--gold-border);
    border-radius: 20px; font-size: 0.8rem; color: var(--gold); letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 24px; background: var(--gold-bg);
    animation: fadeInDown 0.8s ease;
}
.hero h1 { margin-bottom: 20px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero h1 span { color: var(--gold); }
.hero p { color: var(--text-secondary); font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; animation: fadeInUp 0.8s ease 0.4s both; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border: none; border-radius: var(--radius);
    font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
    cursor: pointer; transition: var(--transition); text-transform: uppercase;
    letter-spacing: 1px; line-height: 1;
}
.btn-primary {
    background: var(--gold); color: #000;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); color: #000; }
.btn-outline {
    background: transparent; color: var(--gold); border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-secondary); padding: 10px 20px; }
.btn-ghost:hover { color: var(--gold); }
.btn-danger { background: var(--error-bg); color: var(--error); border: 1px solid rgba(248,113,113,0.2); }
.btn-danger:hover { background: var(--error); color: #fff; }
.btn-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(52,211,153,0.2); }
.btn-success:hover { background: var(--success); color: #000; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 18px 42px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Cards ── */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: var(--transition);
}
.card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 20px; }

/* Product Card */
.product-card { position: relative; cursor: pointer; }
.product-card .product-image {
    position: relative; aspect-ratio: 3/4; overflow: hidden;
    background: var(--bg-elevated);
}
.product-card .product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-card .product-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; border-radius: 4px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.product-badge.sale { background: var(--error); color: #fff; }
.product-badge.new { background: var(--gold); color: #000; }
.product-card .product-actions {
    position: absolute; top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(10px); transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-glass); backdrop-filter: blur(8px);
    border: 1px solid var(--border); color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition); font-size: 0.9rem;
}
.product-action-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.product-action-btn.wishlisted { color: var(--error); }
.product-info { padding: 16px; }
.product-info .product-category { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.product-info .product-name { font-family: var(--font-display); font-weight: 500; font-size: 1rem; margin-bottom: 8px; color: var(--text-primary); }
.product-info .product-price { display: flex; align-items: center; gap: 8px; }
.product-info .price { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.product-info .price-original { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }
.product-info .product-rating { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 0.8rem; color: var(--warning); }
.product-info .product-rating span { color: var(--text-muted); }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── About Section ── */
.about-section { position: relative; overflow: hidden; }
.about-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 1px; background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; }
.about-stats { display: flex; gap: 40px; margin-top: 32px; }
.about-stat { text-align: center; }
.about-stat .stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.about-stat .stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
    content: ''; position: absolute; inset: 0;
    border: 1px solid var(--gold-border); border-radius: var(--radius-lg);
    pointer-events: none;
}

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 12px 16px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text-primary);
    font-family: var(--font-body); font-size: 0.95rem;
    transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-select { 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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-help { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ── Checkbox & Radio ── */
.checkbox-label, .radio-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; color: var(--text-secondary); }
.checkbox-label input, .radio-label input { display: none; }
.checkbox-custom, .radio-custom {
    width: 18px; height: 18px; border: 2px solid var(--border-light);
    border-radius: 4px; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.radio-custom { border-radius: 50%; }
.checkbox-label input:checked + .checkbox-custom,
.radio-label input:checked + .radio-custom { background: var(--gold); border-color: var(--gold); }
.checkbox-label input:checked + .checkbox-custom::after { content: '✓'; font-size: 0.7rem; color: #000; font-weight: 700; }
.radio-label input:checked + .radio-custom::after { content: ''; width: 8px; height: 8px; background: #000; border-radius: 50%; }

/* ── Tags/Chips ── */
.tag { display: inline-flex; align-items: center; padding: 4px 12px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 20px; font-size: 0.8rem; color: var(--text-secondary); cursor: pointer; transition: var(--transition); }
.tag.active, .tag:hover { background: var(--gold-bg); border-color: var(--gold-border); color: var(--gold); }
.tag .tag-close { margin-left: 6px; cursor: pointer; }

/* ── Alerts / Toasts ── */
.toast-container { position: fixed; top: 80px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
    padding: 14px 20px; border-radius: var(--radius); font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px; min-width: 300px; max-width: 450px;
    animation: slideIn 0.3s ease; box-shadow: var(--shadow-lg);
}
.toast.success { background: var(--success-bg); border: 1px solid rgba(52,211,153,0.3); color: var(--success); }
.toast.error { background: var(--error-bg); border: 1px solid rgba(248,113,113,0.3); color: var(--error); }
.toast.info { background: var(--info-bg); border: 1px solid rgba(96,165,250,0.3); color: var(--info); }
.toast.warning { background: var(--warning-bg); border: 1px solid rgba(251,191,36,0.3); color: var(--warning); }
.toast-close { margin-left: auto; cursor: pointer; background: none; border: none; color: inherit; }

/* ── Modal ── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); max-width: 500px; width: 100%;
    max-height: 90vh; overflow-y: auto; animation: fadeInUp 0.3s ease;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 1.1rem; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }

/* ── Tabs ── */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab {
    padding: 12px 24px; cursor: pointer; font-size: 0.9rem; font-weight: 500;
    color: var(--text-muted); border-bottom: 2px solid transparent;
    transition: var(--transition); background: none; border-top: none; border-left: none; border-right: none;
}
.tab:hover { color: var(--text-secondary); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }

/* ── Badge/Status ── */
.status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-received { background: var(--info-bg); color: var(--info); }
.status-received::before { background: var(--info); }
.status-shipped { background: var(--warning-bg); color: var(--warning); }
.status-shipped::before { background: var(--warning); }
.status-in_transit { background: rgba(168,130,78,0.15); color: var(--gold); }
.status-in_transit::before { background: var(--gold); }
.status-delivered { background: var(--success-bg); color: var(--success); }
.status-delivered::before { background: var(--success); }
.status-cancelled, .status-refunded { background: var(--error-bg); color: var(--error); }
.status-cancelled::before, .status-refunded::before { background: var(--error); }
.status-pending { background: var(--warning-bg); color: var(--warning); }
.status-pending::before { background: var(--warning); }
.status-open { background: var(--info-bg); color: var(--info); }
.status-open::before { background: var(--info); }
.status-in_progress { background: var(--warning-bg); color: var(--warning); }
.status-in_progress::before { background: var(--warning); }
.status-resolved, .status-closed, .status-approved, .status-completed { background: var(--success-bg); color: var(--success); }
.status-resolved::before, .status-closed::before, .status-approved::before, .status-completed::before { background: var(--success); }
.status-rejected { background: var(--error-bg); color: var(--error); }
.status-rejected::before { background: var(--error); }

/* ── Table ── */
.table-wrapper { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--bg-elevated); }
th { padding: 12px 16px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); text-align: left; }
td { padding: 12px 16px; font-size: 0.9rem; border-top: 1px solid var(--border); }
tr:hover { background: rgba(255,255,255,0.02); }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.page-btn {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text-secondary); cursor: pointer; font-size: 0.85rem; transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── Loading ── */
.spinner {
    width: 40px; height: 40px; border: 3px solid var(--border);
    border-top-color: var(--gold); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.loading-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10,10,10,0.8); display: flex;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 16px;
}
.loading-overlay p { color: var(--text-secondary); font-size: 0.9rem; }
.skeleton { background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-card) 50%, var(--bg-elevated) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }

/* ── Footer ── */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.footer-brand + p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }
.footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.8rem; }
.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-form input { flex: 1; padding: 10px 14px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.85rem; }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button { padding: 10px 18px; }

/* ── Page Layout ── */
.page { padding-top: 90px; min-height: 100vh; }
.page-header { padding: 40px 0; text-align: center; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.page-header p { color: var(--text-secondary); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; padding-top: 90px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border-light); }

/* ── Catalog Layout ── */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.filter-sidebar { position: sticky; top: 90px; height: fit-content; max-height: calc(100vh - 110px); overflow-y: auto; }
.filter-group { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.filter-group h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; }
.color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
    width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.4); transition: var(--transition);
    position: relative;
}
.color-swatch:hover, .color-swatch.active { border-color: var(--gold); transform: scale(1.15); }
.color-swatch.active::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: #fff; text-shadow: 0 0 2px #000; }
.color-swatch.unavailable { opacity: 0.3 !important; }
.color-swatch.unavailable::after { content: '✕'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.9rem; font-weight: 900; text-shadow: 0 0 2px #000; }

.size-options { display: flex; flex-wrap: wrap; gap: 6px; }
.size-option {
    padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 0.8rem; cursor: pointer; transition: var(--transition); background: transparent;
    color: var(--text-secondary);
}
.size-option:hover, .size-option.active { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }
.size-option.unavailable { opacity: 0.3 !important; text-decoration: line-through; }

/* ── Product Detail ── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-gallery { display: flex; gap: 12px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; width: 80px; }
.gallery-thumb {
    width: 80px; height: 100px; border-radius: var(--radius-sm); overflow: hidden;
    cursor: pointer; border: 2px solid transparent; transition: var(--transition);
    background: var(--bg-elevated);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { flex: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-elevated); aspect-ratio: 3/4; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-size: 2rem; margin-bottom: 8px; }
.product-detail-info .detail-price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold); margin: 16px 0; }
.product-detail-info .detail-price .original { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; margin-left: 12px; }
.variant-selector { margin: 24px 0; }
.variant-selector h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.add-to-cart-row { display: flex; gap: 12px; margin-top: 24px; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 40px; height: 44px; background: var(--bg-elevated); border: none; color: var(--text-primary); cursor: pointer; font-size: 1.1rem; transition: var(--transition); }
.qty-btn:hover { background: var(--gold); color: #000; }
.qty-value { width: 50px; text-align: center; background: transparent; border: none; color: var(--text-primary); font-size: 1rem; font-weight: 600; }

/* ── Cart Page ── */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; }
.cart-item { display: flex; gap: 16px; padding: 20px; border-bottom: 1px solid var(--border); }
.cart-item-image { width: 100px; height: 130px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--bg-elevated); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 1rem; margin-bottom: 4px; }
.cart-item-info .cart-variant { font-size: 0.85rem; color: var(--text-muted); }
.cart-item-info .cart-price { font-weight: 600; color: var(--gold); margin-top: 8px; }
.cart-item-actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.cart-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.8rem; transition: var(--transition); }
.cart-remove:hover { color: var(--error); }
.cart-summary {
    position: sticky; top: 90px; height: fit-content;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
}
.cart-summary h3 { margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; }
.summary-row.total { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; font-size: 1.1rem; font-weight: 700; }
.summary-row.total .amount { color: var(--gold); }
.free-shipping { font-size: 0.8rem; color: var(--success); margin-top: 8px; }

/* ── Auth Pages ── */
.auth-page { display: flex; min-height: 100vh; }
.auth-visual {
    flex: 1; background: linear-gradient(135deg, #0a0a0a, #1a1510);
    display: flex; align-items: center; justify-content: center; position: relative;
    overflow: hidden;
}
.auth-visual::before {
    content: ''; position: absolute; width: 400px; height: 400px;
    border-radius: 50%; border: 1px solid var(--gold-border);
    animation: pulse-ring 4s ease infinite;
}
.auth-visual::after {
    content: ''; position: absolute; width: 250px; height: 250px;
    border-radius: 50%; border: 1px solid var(--gold-border);
    animation: pulse-ring 4s ease infinite 1s;
}
.auth-form-container {
    flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px;
}
.auth-form { max-width: 420px; width: 100%; }
.auth-form h1 { font-size: 2rem; margin-bottom: 8px; }
.auth-form p { color: var(--text-secondary); margin-bottom: 32px; }
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 24px 0; }
.otp-input {
    width: 50px; height: 56px; text-align: center; font-size: 1.5rem; font-weight: 700;
    background: var(--bg-input); border: 2px solid var(--border); border-radius: var(--radius);
    color: var(--gold); transition: var(--transition);
}
.otp-input:focus { border-color: var(--gold); outline: none; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--text-muted); font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Account Dashboard ── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.account-nav { list-style: none; }
.account-nav li { margin-bottom: 4px; }
.account-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-radius: var(--radius);
    color: var(--text-secondary); font-size: 0.9rem;
    transition: var(--transition);
}
.account-nav a:hover, .account-nav a.active { background: var(--bg-elevated); color: var(--text-primary); }
.account-nav a.active { border-left: 3px solid var(--gold); color: var(--gold); }
.account-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.account-section h2 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

/* ── Admin Panel ── */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 20px; transition: var(--transition);
}
.stat-card:hover { border-color: var(--gold-border); }
.stat-card .stat-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 12px; }
.stat-card .stat-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--text-primary); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.stat-card.gold .stat-icon { background: var(--gold-bg); color: var(--gold); }
.stat-card.green .stat-icon { background: var(--success-bg); color: var(--success); }
.stat-card.blue .stat-icon { background: var(--info-bg); color: var(--info); }
.stat-card.red .stat-icon { background: var(--error-bg); color: var(--error); }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ── Stars ── */
.stars { display: inline-flex; gap: 2px; }
.star { color: var(--border-light); cursor: pointer; transition: var(--transition); }
.star.filled { color: var(--warning); }
.star:hover { transform: scale(1.2); }

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes pulse-ring { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.1); opacity: 0.1; } }
.fade-in { animation: fadeIn 0.5s ease; }
.fade-in-up { animation: fadeInUp 0.6s ease; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .about-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .catalog-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .navbar-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-primary); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
    .navbar-links.open { display: flex; }
    .hamburger { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .catalog-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; display: none; }
    .filter-sidebar.open { display: block; }
    .product-detail { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .account-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .admin-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-info { padding: 10px; }
    .product-info .product-name { font-size: 0.85rem; }
    .cart-item { flex-direction: column; }
    .cart-item-image { width: 100%; height: 200px; }
}
