/* ============================================================
   COSMIC FOUNDATIONS — STYLESHEET
   ============================================================ */

/* VARIABLES */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: #7a6430;
  --bg: #04040a;
  --bg2: #080812;
  --bg3: #0d0d1f;
  --surface: #0e0e1e;
  --surface2: #141428;
  --border: rgba(201,168,76,0.15);
  --border-bright: rgba(201,168,76,0.4);
  --text: #f0ece0;
  --text-dim: #b0aa98;
  --text-muted: #7a7468;
  --white: #f5f2ea;
  --red: #e05050;
  --green: #4eaf7c;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* BASE */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* NOISE OVERLAY */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
#cursor {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: difference;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  transition: all 0.18s ease;
  opacity: 0.5;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  transform: translate(-50%,-50%) scale(1.8);
  opacity: 0.3;
}

/* ============================================================
   STAR FIELD
   ============================================================ */
#starfield {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--d, 3s) ease-in-out infinite var(--delay, 0s);
}
@keyframes twinkle {
  0%,100% { opacity: var(--min-op, 0.1); transform: scale(1); }
  50%      { opacity: var(--max-op, 0.8); transform: scale(1.3); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: linear-gradient(180deg, rgba(4,4,10,0.95) 0%, rgba(4,4,10,0) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span {
  font-style: italic;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.2em;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

/* Cart Button */
.cart-btn {
  background: none; border: 1px solid var(--border-bright);
  color: var(--gold); padding: 8px 20px;
  font-family: 'Syne', sans-serif; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: none; transition: all 0.2s;
  display: flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
}
.cart-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.cart-btn:hover::before { transform: translateX(0); }
.cart-btn:hover { color: var(--bg); }
.cart-btn span, .cart-btn svg { position: relative; z-index: 1; }
.cart-badge {
  background: var(--gold); color: var(--bg);
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; position: relative; z-index: 1;
}

/* Admin nav tab style (used inside admin page) */
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-dim);
  cursor: none; transition: all 0.2s; border-left: 2px solid transparent;
  background: none; border-right: none; border-top: none; border-bottom: none;
  text-align: left; font-family: 'Syne', sans-serif;
}
.admin-nav-item:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(201,168,76,0.04);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 48px 80px;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
  opacity: 0; animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 13px; letter-spacing: 0.15em;
  color: var(--text-dim); margin-bottom: 56px;
  font-weight: 400; text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.8s 0.7s forwards;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center;
  opacity: 0; animation: fadeUp 0.8s 0.9s forwards;
}
.hero-orbit {
  position: absolute;
  border-radius: 50%; border: 1px solid var(--border);
  animation: spin linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--gold); color: var(--bg);
  padding: 14px 40px; font-family: 'Syne', sans-serif;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  font-weight: 600; border: none; cursor: none; transition: all 0.3s;
  position: relative; overflow: hidden;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15); opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-secondary {
  background: none; border: 1px solid var(--border-bright);
  color: var(--gold); padding: 14px 40px;
  font-family: 'Syne', sans-serif;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  font-weight: 500; cursor: none; transition: all 0.3s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.btn-secondary:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }
.btn-full { width: 100%; }

/* ============================================================
   SHOP SECTION
   ============================================================ */
#shop {
  position: relative; z-index: 2;
  padding: 100px 48px;
  max-width: 1400px; margin: 0 auto;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 56px); font-weight: 300;
  color: var(--white); line-height: 1;
}
.section-count {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em;
}

/* Filter Bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-chip {
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); padding: 8px 20px;
  font-family: 'Syne', sans-serif; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: none; transition: all 0.2s;
}
.filter-chip.active,
.filter-chip:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201,168,76,0.06);
}

/* ============================================================
   PRODUCT GRID & CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}
.product-card {
  background: var(--surface);
  position: relative; overflow: hidden;
  cursor: none; transition: all 0.4s;
  border: 1px solid var(--border);
}
.product-card:hover { border-color: var(--border-bright); z-index: 2; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-card:hover .product-overlay { opacity: 1; }
.product-img-wrap {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.product-emoji { font-size: 64px; opacity: 0.6; }
.product-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--bg);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 10px; font-weight: 700;
}
.product-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(4,4,10,0.9) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 24px;
}
.product-quick-add {
  width: 100%; background: var(--gold); color: var(--bg);
  padding: 12px; font-family: 'Syne', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; border: none; cursor: none; transition: all 0.2s;
}
.product-quick-add:hover { background: var(--gold-light); }
.product-info { padding: 24px; }
.product-category {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 8px;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300;
  color: var(--white); margin-bottom: 4px; line-height: 1.2;
}
.product-price {
  font-family: 'DM Mono', monospace;
  font-size: 16px; color: var(--gold);
  margin-top: 12px; letter-spacing: 0.05em;
}
.product-stock {
  font-size: 10px; color: var(--text-muted);
  letter-spacing: 0.1em; margin-top: 4px;
}
.product-stock.low { color: #e08050; }

/* Empty State */
.empty-state {
  grid-column: 1/-1; text-align: center;
  padding: 100px 40px; color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state p { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(4,4,10,0.8); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 5001;
  width: min(480px, 100vw);
  background: var(--bg2);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.drawer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 300; color: var(--white);
}
.drawer-close {
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); width: 36px; height: 36px;
  cursor: none; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-size: 18px;
}
.drawer-close:hover { border-color: var(--gold); color: var(--gold); }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px 32px; }
.drawer-footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px; flex-shrink: 0;
  background: var(--bg2);
}

/* Cart Items */
.cart-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.cart-item-img {
  width: 72px; height: 72px; flex-shrink: 0;
  background: var(--bg3); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--white); font-weight: 300;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-price {
  font-family: 'DM Mono', monospace;
  font-size: 13px; color: var(--gold); margin-top: 4px;
}
.qty-control { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.qty-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); width: 28px; height: 28px;
  cursor: none; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-num {
  font-family: 'DM Mono', monospace;
  font-size: 13px; color: var(--text);
  min-width: 20px; text-align: center;
}
.cart-item-remove {
  background: none; border: none; color: var(--text-muted);
  cursor: none; font-size: 16px; transition: color 0.2s; padding: 4px;
}
.cart-item-remove:hover { color: var(--red); }
.cart-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
}
.cart-total-label {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-dim);
}
.cart-total-amt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; color: var(--gold);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 6000;
  background: rgba(4,4,10,0.9); backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg2); border: 1px solid var(--border);
  max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300; color: var(--white);
}
.modal-close {
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); width: 36px; height: 36px;
  cursor: none; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-size: 18px; flex-shrink: 0;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal-body { padding: 32px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1/-1; }
label {
  display: block; font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px;
}
input, textarea, select {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); color: var(--text);
  padding: 12px 16px; font-family: 'Syne', sans-serif; font-size: 14px;
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold-dim); }
select { cursor: none; }
select option { background: var(--surface2); }
textarea { resize: vertical; min-height: 80px; }
.required-star { color: var(--gold); }

/* ============================================================
   PAYMENT OPTIONS
   ============================================================ */
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  border: 1px solid var(--border); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  cursor: none; transition: all 0.2s; position: relative;
}
.payment-option:hover { border-color: var(--border-bright); }
.payment-option.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.payment-option input[type=radio] { display: none; }
.pay-icon { font-size: 28px; }
.pay-label { font-size: 14px; font-weight: 600; color: var(--white); }
.pay-desc { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.pay-check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--border); margin-left: auto;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.payment-option.selected .pay-check {
  background: var(--gold); border-color: var(--gold);
}
.payment-option.selected .pay-check::after {
  content: '✓'; font-size: 11px; color: var(--bg); font-weight: 700;
}
.pay-instruction {
  background: var(--surface); border: 1px solid var(--border);
  padding: 20px; margin-top: 16px; display: none;
}
.pay-instruction.visible { display: block; }
.pay-number {
  font-family: 'DM Mono', monospace; font-size: 22px;
  color: var(--gold); letter-spacing: 0.1em; margin: 8px 0;
}
.pay-steps { list-style: none; }
.pay-steps li {
  font-size: 12px; color: var(--text-dim);
  padding: 4px 0; padding-left: 16px; position: relative;
}
.pay-steps li::before { content: '→'; position: absolute; left: 0; color: var(--gold); }

/* ============================================================
   CHECKOUT STEPS
   ============================================================ */
.checkout-steps {
  display: flex; align-items: center;
  margin-bottom: 32px;
}
.step {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}
.step.active { color: var(--gold); }
.step.done   { color: var(--green); }
.step-num {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
}
.step-line { flex: 1; height: 1px; background: var(--border); margin: 0 8px; }
.checkout-panel { display: none; }
.checkout-panel.active { display: block; }

/* Order Success */
.success-box { text-align: center; padding: 48px 32px; }
.success-icon { font-size: 56px; margin-bottom: 20px; animation: pop 0.5s ease; }
@keyframes pop {
  0%   { transform: scale(0); }
  80%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 300; color: var(--white); margin-bottom: 12px;
}
.success-msg {
  font-size: 13px; color: var(--text-dim);
  line-height: 1.6; max-width: 340px; margin: 0 auto 32px;
}

/* ============================================================
   PRODUCT DETAIL MODAL
   ============================================================ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.product-detail-img {
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { padding: 32px; }
.pd-category {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 12px;
}
.pd-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; color: var(--white); margin-bottom: 8px;
}
.pd-price {
  font-family: 'DM Mono', monospace;
  font-size: 24px; color: var(--gold); margin-bottom: 20px;
}
.pd-desc { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin-bottom: 24px; }
.pd-stock { font-size: 11px; color: var(--text-muted); margin-bottom: 20px; letter-spacing: 0.1em; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }

/* ============================================================
   ADMIN PAGE
   ============================================================ */
.admin-form { max-width: 600px; }
.img-upload-area {
  border: 1px dashed var(--border); padding: 32px;
  text-align: center; cursor: none; transition: border-color 0.2s;
  margin-bottom: 8px;
}
.img-upload-area:hover { border-color: var(--gold-dim); }
.img-upload-area input { display: none; }
.img-preview-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px; margin-top: 8px;
}
.img-thumb {
  aspect-ratio: 1; background: var(--surface);
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-thumb-remove {
  position: absolute; top: 4px; right: 4px;
  background: rgba(4,4,10,0.8); border: none; color: var(--red);
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; font-size: 12px;
}

/* Orders Table */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th {
  text-align: left; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.orders-table td {
  padding: 16px; border-bottom: 1px solid rgba(201,168,76,0.06);
  font-size: 13px; color: var(--text);
}
.orders-table tr:hover td { background: rgba(201,168,76,0.02); }
.order-status {
  display: inline-block; padding: 3px 10px;
  font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700;
}
.status-pending   { background: rgba(224,128,80,0.15); color: #e08050; }
.status-confirmed { background: rgba(78,175,124,0.15);  color: var(--green); }
.status-delivered { background: rgba(201,168,76,0.15);  color: var(--gold); }
.status-btn {
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); font-size: 10px; padding: 4px 12px;
  cursor: none; letter-spacing: 0.1em; font-family: 'Syne', sans-serif;
  transition: all 0.2s;
}
.status-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Stats Cards */
.stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-bottom: 40px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border); padding: 24px;
}
.stat-label {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px;
}
.stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300; color: var(--gold);
}
.stat-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* Admin Panels */
.admin-panel { display: none; }
.admin-panel.active { display: block; }

/* ============================================================
   TOASTS
   ============================================================ */
#toast-container {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--surface); border: 1px solid var(--border);
  padding: 14px 20px; min-width: 260px;
  display: flex; align-items: center; gap: 12px;
  animation: toastIn 0.3s ease forwards;
  font-size: 13px; color: var(--text);
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 48px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 300;
  color: var(--gold-dim); letter-spacing: 0.1em;
}
.footer-text { font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  #hero, #shop { padding: 100px 20px 60px; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .product-detail { grid-template-columns: 1fr; }
  footer { padding: 32px 20px; flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .drawer { width: 100%; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
