/* ─── ZEBBAIN GROUP — DESIGN SYSTEM ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

/* ── TOKENS ────────────────────────────────────────────────────────────────── */
:root {
  --c-deep:    #1A1714;
  --c-cream:   #FAF8F5;
  --c-warm:    #F2EDE6;
  --c-gold:    #C5A55A;
  --c-gold-l:  #D4B86E;
  --c-tan:     #C4B9A8;
  --c-med:     #5C5245;
  --c-neutral: #9B8E7A;
  --c-border:  #E5DDD2;
  --c-success: #4A7C59;
  --c-error:   #B94040;
  --c-warn:    #B87320;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Outfit', system-ui, sans-serif;

  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --max-w: 1200px;
  --radius: 2px;
  --transition: 150ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 300ms cubic-bezier(0,0,0.2,1);
}

/* ── RESET ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--c-cream);
  color: var(--c-deep);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--c-deep);
  background: #fff;
}
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
.font-serif { font-family: var(--font-serif); }
h1,h2,h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.caption {
  font-size: 0.75rem;
  color: var(--c-neutral);
  line-height: 1.5;
}
.body-sm { font-size: 0.875rem; }
.body-lg { font-size: 1.125rem; }

/* ── LAYOUT ─────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section { padding: var(--space-3xl) 0; }
.section--sm { padding: var(--space-2xl) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-lg); }
.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-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-gold);
  color: var(--c-deep);
  border: 2px solid var(--c-gold);
}
.btn-primary:hover {
  background: var(--c-gold-l);
  border-color: var(--c-gold-l);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(197,165,90,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--c-deep);
  border: 1px solid var(--c-tan);
}
.btn-secondary:hover {
  border-color: var(--c-deep);
  background: var(--c-warm);
}
.btn-ghost {
  background: transparent;
  color: var(--c-med);
  border: 1px solid var(--c-border);
  padding: 8px 16px;
}
.btn-ghost:hover { border-color: var(--c-tan); background: var(--c-warm); }
.btn-dark {
  background: var(--c-deep);
  color: var(--c-cream);
  border: 2px solid var(--c-deep);
}
.btn-dark:hover { background: var(--c-med); border-color: var(--c-med); }
.btn-sm { padding: 8px 16px; font-size: 0.6875rem; }
.btn-lg { padding: 16px 32px; font-size: 0.875rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn--loading { position: relative; color: transparent; }
.btn--loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  color: var(--c-deep);
}

/* ── FORMS ──────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-med);
}
.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-deep);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.15);
}
.form-input.error { border-color: var(--c-error); }
.form-error { font-size: 0.75rem; color: var(--c-error); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* ── HEADER ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.header-logo {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-deep);
}
.header-logo span { color: var(--c-gold); }
.header-nav { display: flex; align-items: center; gap: var(--space-xl); }
.header-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-med);
  transition: color var(--transition);
}
.header-nav a:hover, .header-nav a.active { color: var(--c-deep); }
.header-actions { display: flex; align-items: center; gap: var(--space-md); }
.currency-toggle {
  display: flex;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.currency-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-neutral);
  background: transparent;
  transition: all var(--transition);
}
.currency-btn.active {
  background: var(--c-gold);
  color: var(--c-deep);
}
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-deep);
  transition: all var(--transition);
}
.cart-btn:hover { border-color: var(--c-tan); background: var(--c-warm); }
.cart-badge {
  min-width: 18px;
  height: 18px;
  background: var(--c-gold);
  color: var(--c-deep);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-badge:empty, .cart-badge[data-count="0"] { display: none; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--c-deep); }

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-deep);
  color: var(--c-cream);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(196,185,168,0.2);
}
.footer-brand-name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--c-cream); margin-bottom: var(--space-md); }
.footer-brand-name span { color: var(--c-gold); }
.footer-tagline { color: var(--c-tan); font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--space-md); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col a { font-size: 0.875rem; color: var(--c-tan); transition: color var(--transition); }
.footer-col a:hover { color: var(--c-cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-lg); }
.footer-copy { font-size: 0.75rem; color: var(--c-neutral); }
.footer-legal { display: flex; gap: var(--space-lg); }
.footer-legal a { font-size: 0.75rem; color: var(--c-neutral); transition: color var(--transition); }
.footer-legal a:hover { color: var(--c-tan); }

/* ── CART DRAWER ─────────────────────────────────────────────────────────────── */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(26,23,20,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--c-cream);
  z-index: 201;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-title { font-family: var(--font-serif); font-size: 1.375rem; }
.drawer-close { color: var(--c-neutral); transition: color var(--transition); padding: 4px; }
.drawer-close:hover { color: var(--c-deep); }
.drawer-items { flex: 1; overflow-y: auto; padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); }
.cart-item { display: flex; gap: var(--space-md); padding-bottom: var(--space-md); border-bottom: 1px solid var(--c-border); }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); background: var(--c-warm); flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 500; font-size: 0.9375rem; margin-bottom: 4px; }
.cart-item-price { font-size: 0.875rem; color: var(--c-med); }
.cart-item-controls { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm); }
.qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--c-deep);
  transition: all var(--transition);
}
.qty-btn:hover { border-color: var(--c-gold); background: var(--c-warm); }
.qty-value { font-size: 0.875rem; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-remove { margin-left: auto; font-size: 0.75rem; color: var(--c-neutral); cursor: pointer; transition: color var(--transition); }
.cart-item-remove:hover { color: var(--c-error); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); color: var(--c-neutral); text-align: center; padding: var(--space-xl); }
.cart-empty-icon { font-size: 3rem; opacity: 0.3; }
.drawer-footer { padding: var(--space-lg); border-top: 1px solid var(--c-border); }
.drawer-subtotal { display: flex; justify-content: space-between; margin-bottom: var(--space-lg); font-size: 0.9375rem; }
.drawer-subtotal strong { font-family: var(--font-serif); font-size: 1.25rem; }

/* ── PRODUCT CARDS ───────────────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-lg); }
.product-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: all var(--transition-slow);
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 30px 60px rgba(26,23,20,0.1); }
.product-card-img {
  aspect-ratio: 4/3;
  background: var(--c-warm);
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.product-card:hover .product-card-img img { transform: scale(1.03); }
.product-card-body { padding: var(--space-md); }
.product-card-name { font-weight: 500; font-size: 0.9375rem; margin-bottom: 6px; }
.product-card-price { font-family: var(--font-serif); font-size: 1.125rem; margin-bottom: var(--space-md); }
.product-card-price .currency { font-size: 0.875rem; font-weight: 400; margin-right: 2px; }

/* ── CATEGORY FILTERS ────────────────────────────────────────────────────────── */
.filter-row { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-med);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-pill:hover { background: var(--c-warm); border-color: var(--c-tan); }
.filter-pill.active { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-deep); }

/* ── SKELETON ────────────────────────────────────────────────────────────────── */
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.skeleton {
  background: var(--c-border);
  border-radius: var(--radius);
  animation: pulse 1.8s ease-in-out infinite;
}
.skeleton-card { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.skeleton-img { aspect-ratio: 4/3; background: var(--c-warm); animation: pulse 1.8s ease-in-out infinite; }
.skeleton-body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); }
.skeleton-line { height: 14px; background: var(--c-border); border-radius: 2px; animation: pulse 1.8s ease-in-out infinite; }
.skeleton-line.short { width: 60%; }
.skeleton-line.med { width: 80%; }

/* ── PROGRESS TRACKER ────────────────────────────────────────────────────────── */
.progress-tracker { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; padding-bottom: var(--space-md); }
.progress-stage { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 80px; position: relative; }
.progress-stage::before {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(50% + 16px);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--c-border);
}
.progress-stage:last-child::before { display: none; }
.progress-stage.completed::before { background: var(--c-gold); }
.progress-stage.active::before { background: var(--c-gold); }
.progress-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.progress-stage.completed .progress-dot { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-deep); }
.progress-stage.active .progress-dot { border: 2px solid var(--c-gold); color: var(--c-gold); animation: progress-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
@keyframes progress-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.progress-label {
  margin-top: 8px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-neutral);
  text-align: center;
}
.progress-stage.completed .progress-label { color: var(--c-gold); }
.progress-stage.active .progress-label { color: var(--c-deep); font-weight: 700; }

/* ── PROGRESS TIMELINE ───────────────────────────────────────────────────────── */
.progress-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-entry { display: flex; gap: var(--space-md); padding: var(--space-md) 0; position: relative; }
.timeline-entry::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: var(--c-border); }
.timeline-entry:last-child::before { display: none; }
.timeline-dot { width: 24px; height: 24px; background: var(--c-gold); border-radius: 50%; flex-shrink: 0; position: relative; z-index: 1; }
.timeline-content { flex: 1; }
.timeline-date { font-size: 0.75rem; color: var(--c-neutral); margin-bottom: 4px; }
.timeline-stage { font-size: 0.875rem; font-weight: 600; color: var(--c-deep); margin-bottom: 4px; }
.timeline-note { font-size: 0.875rem; color: var(--c-med); line-height: 1.6; }

/* ── BANK DETAILS CARD ───────────────────────────────────────────────────────── */
.bank-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  background: var(--c-warm);
}
.bank-card-title { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: var(--space-md); }
.bank-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--c-border); font-size: 0.875rem; }
.bank-row:last-child { border-bottom: none; }
.bank-row dt { color: var(--c-neutral); font-weight: 400; }
.bank-row dd { font-weight: 600; color: var(--c-deep); text-align: right; }

/* ── LEAD TIME BADGE ─────────────────────────────────────────────────────────── */
.lead-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(197,165,90,0.12);
  color: var(--c-gold);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ── TOAST ───────────────────────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: var(--space-lg); right: var(--space-lg); z-index: 500; display: flex; flex-direction: column; gap: var(--space-sm); }
.toast {
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--c-deep);
  color: var(--c-cream);
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(26,23,20,0.2);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: toast-in 0.3s ease;
  max-width: 320px;
}
.toast.success { background: var(--c-success); }
.toast.error   { background: var(--c-error); }
.toast.warning { background: var(--c-warn); }
@keyframes toast-in { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toast-out { to { transform: translateY(100%); opacity: 0; } }
.toast.removing { animation: toast-out 0.3s ease forwards; }

/* ── PAGE HERO ───────────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1A1714 0%, #2C251F 60%, #3A2F26 100%);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(26,23,20,0.55);
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; padding: var(--space-lg); }
.page-hero-overline { margin-bottom: var(--space-md); }
.page-hero h1 { color: var(--c-cream); margin-bottom: var(--space-lg); }
.page-hero-sub { font-size: 1.125rem; color: #F2EDE6; line-height: 1.7; margin-bottom: var(--space-xl); max-width: 560px; margin-left: auto; margin-right: auto; }
.page-hero-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: var(--space-xl); left: 50%; transform: translateX(-50%); color: var(--c-tan); animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── PAGE HEADERS (inner pages) ──────────────────────────────────────────────── */
.page-header {
  background: var(--c-warm);
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--c-border);
}
.page-header .overline { display: block; margin-bottom: var(--space-sm); }
.page-header h1 { font-size: clamp(1.75rem, 4vw, 3rem); }

/* ── BREADCRUMB ──────────────────────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--c-neutral); margin-bottom: var(--space-md); }
.breadcrumb a { color: var(--c-neutral); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--c-deep); }
.breadcrumb-sep { color: var(--c-border); }

/* ── MODALS ──────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,23,20,0.6);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--c-cream);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: var(--space-xl);
  position: relative;
  transform: translateY(16px);
  transition: transform var(--transition-slow);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: var(--space-md); right: var(--space-md); color: var(--c-neutral); transition: color var(--transition); }
.modal-close:hover { color: var(--c-deep); }
.modal-title { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: var(--space-lg); }

/* ── TABLES ──────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th { text-align: left; padding: 10px 16px; border-bottom: 2px solid var(--c-border); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-neutral); white-space: nowrap; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--c-border); color: var(--c-deep); vertical-align: middle; }
.data-table tr:hover td { background: var(--c-warm); }
.data-table tr:last-child td { border-bottom: none; }

/* ── STATUS BADGES ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-gold    { background: rgba(197,165,90,0.15); color: #8a6d2a; }
.badge-green   { background: rgba(74,124,89,0.15);  color: var(--c-success); }
.badge-blue    { background: rgba(50,90,150,0.12);  color: #3a5a8a; }
.badge-neutral { background: var(--c-warm); color: var(--c-neutral); }
.badge-red     { background: rgba(185,64,64,0.12);  color: var(--c-error); }

/* ── ADMIN SIDEBAR ───────────────────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--c-deep);
  color: var(--c-cream);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(196,185,168,0.15);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}
.sidebar-brand span { color: var(--c-gold); }
.sidebar-brand sub { display: block; font-family: var(--font-sans); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-neutral); margin-top: 2px; }
.sidebar-nav { padding: var(--space-md) 0; flex: 1; }
.sidebar-nav-label { padding: var(--space-sm) var(--space-md); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-neutral); }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px var(--space-md);
  font-size: 0.875rem;
  color: var(--c-tan);
  transition: all var(--transition);
}
.sidebar-link:hover { color: var(--c-cream); background: rgba(197,165,90,0.1); }
.sidebar-link.active { color: var(--c-gold); background: rgba(197,165,90,0.12); border-right: 2px solid var(--c-gold); }
.sidebar-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-main { flex: 1; background: var(--c-warm); min-width: 0; }
.admin-topbar {
  background: var(--c-cream);
  border-bottom: 1px solid var(--c-border);
  padding: 0 var(--space-xl);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-page { padding: var(--space-xl); }
.admin-page-title { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: var(--space-xl); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-md); margin-bottom: var(--space-xl); }
.stat-card { background: var(--c-cream); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-lg); }
.stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-neutral); margin-bottom: var(--space-sm); }
.stat-value { font-family: var(--font-serif); font-size: 2rem; color: var(--c-deep); }
.stat-card.highlight { border-left: 3px solid var(--c-gold); }

/* ── PHOTO UPLOADER ──────────────────────────────────────────────────────────── */
.drop-zone {
  border: 2px dashed var(--c-tan);
  border-radius: var(--radius);
  padding: var(--space-xl);
  text-align: center;
  color: var(--c-neutral);
  transition: all var(--transition);
  cursor: pointer;
}
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--c-gold); background: rgba(197,165,90,0.05); }
.drop-zone-icon { font-size: 2rem; margin-bottom: var(--space-sm); opacity: 0.4; }
.upload-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-sm); margin-top: var(--space-md); }
.upload-thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--c-warm); }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb-remove {
  position: absolute; top: 4px; right: 4px;
  background: rgba(26,23,20,0.7);
  color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}
.upload-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(197,165,90,0.3); }
.upload-progress-bar { height: 100%; background: var(--c-gold); transition: width 0.3s; }

/* ── CHECKOUT ────────────────────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: var(--space-xl); align-items: start; }
.checkout-section { background: var(--c-cream); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-xl); margin-bottom: var(--space-lg); }
.checkout-section-title { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--c-border); }
.order-summary { background: var(--c-cream); border: 1px solid var(--c-border); border-radius: var(--radius); padding: var(--space-xl); position: sticky; top: 88px; }
.summary-items { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-lg); }
.summary-item { display: flex; justify-content: space-between; font-size: 0.875rem; }
.summary-divider { border: none; border-top: 1px solid var(--c-border); margin: var(--space-md) 0; }
.summary-total { display: flex; justify-content: space-between; }
.summary-total-label { font-weight: 600; }
.summary-total-value { font-family: var(--font-serif); font-size: 1.375rem; }

/* ── ANIMATIONS ──────────────────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.4s ease forwards; }

/* ── HELPERS ─────────────────────────────────────────────────────────────────── */
.text-gold    { color: var(--c-gold); }
.text-neutral { color: var(--c-neutral); }
.text-med     { color: var(--c-med); }
.text-error   { color: var(--c-error); }
.text-success { color: var(--c-success); }
.text-center  { text-align: center; }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.divider { border: none; border-top: 1px solid var(--c-border); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--space-2xl) 0; }
  .page-hero { min-height: 80vh; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .toast-container { left: var(--space-md); right: var(--space-md); }
  .toast { max-width: 100%; }
}

/* ── MOBILE NAV DRAWER ───────────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--c-deep);
  z-index: 400;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--space-lg);
  gap: var(--space-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close { align-self: flex-end; color: var(--c-tan); margin-bottom: var(--space-lg); }
.mobile-nav a { font-family: var(--font-serif); font-size: 1.5rem; color: var(--c-cream); border-bottom: 1px solid rgba(196,185,168,0.2); padding-bottom: var(--space-md); display: block; }
.mobile-nav a:hover { color: var(--c-gold); }

/* ── PRINT ───────────────────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cart-drawer, .drawer-overlay { display: none; }
}
