/* ===========================================================
   TS LUXE — Core Stylesheet
   White / gold / black luxury theme
   =========================================================== */

:root {
  --bg: #ffffff;
  --surface: #f8f4ea;
  --surface-strong: #f0e9d8;
  --ink: #17140f;
  --muted: #6f6a5c;
  --gold: #b8862c;
  --gold-light: #d7ab4a;
  --gold-dim: #8c6a22;
  --black: #111111;
  --line: rgba(184, 134, 44, 0.28);

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.9em;
  display: inline-block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
  margin: 3rem 0;
  opacity: 0.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-dim);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--gold); color: #fff; }
.btn-solid { background: var(--gold); color: #fff; }
.btn-solid:hover { background: var(--gold-dim); border-color: var(--gold-dim); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-danger { border-color: #b23b3b; color: #b23b3b; }
.btn-danger:hover { background: #b23b3b; color: #fff; }
.btn-ghost { border-color: rgba(17,20,17,0.18); color: var(--ink); }
.btn-ghost:hover { background: rgba(17,20,17,0.05); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.logo span { color: var(--gold); }
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo { height: 56px; width: auto; max-width: 190px; display: block; object-fit: contain; }
.main-nav { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--gold); }
.header-icons { display: flex; align-items: center; gap: 20px; }
.icon-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.05rem;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 0 0 0 30%; background: var(--surface); flex-direction: column; padding: 100px 30px; transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
}

/* Below this width the bottom nav bar takes over navigation entirely,
   so the hamburger menu is hidden rather than duplicating it. */
@media (max-width: 760px) {
  .nav-toggle { display: none !important; }
  .main-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 28px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(184,134,44,0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 820px;
  margin: 0 auto 0.5em;
  line-height: 1.15;
}
.hero p { max-width: 560px; margin: 0 auto 2em; color: var(--muted); }

.hero--photo {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 28px;
  background: #111;
}
.hero--photo .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero--photo .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35), rgba(10,10,10,0.6));
}
.hero--photo .hero-content { position: relative; z-index: 1; }
.hero--photo h1, .hero--photo .eyebrow { color: #fff; }
.hero--photo p { color: rgba(255,255,255,0.82); }

/* ---------- Section headers ---------- */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(17,20,17,0.08); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}
.product-media img, .product-media video {
  width: 100%; height: 100%;
}
.product-media img { object-fit: cover; }
.product-media video { object-fit: contain; background: #000; }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold); color: #fff;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 9px;
}
.product-info { padding: 18px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-dim); margin-bottom: 6px; }
.product-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; }
.product-price { color: var(--gold); font-weight: 600; margin-top: auto; padding-top: 10px; }
.product-info .btn { margin-top: 14px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; padding: 60px 0; }
.pd-media-main { aspect-ratio: 1/1; background: #000; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); position: relative; }
.pd-media-main img, .pd-media-main video { width: 100%; height: 100%; }
.pd-media-main img { object-fit: cover; }
.pd-media-main video { object-fit: contain; background: #000; }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-thumb { width: 72px; height: 72px; border: 1px solid var(--line); cursor: pointer; overflow: hidden; background: #000; position: relative; }
.pd-thumb.active { border-color: var(--gold); }
.pd-thumb img, .pd-thumb video { width: 100%; height: 100%; }
.pd-thumb img { object-fit: cover; }
.pd-thumb video { object-fit: contain; background: #000; }

.media-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transition: opacity 0.2s ease;
}
.media-play-icon.hidden { opacity: 0; }
.media-play-icon svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }

/* ---------- Product variations ---------- */
.variant-group { margin-bottom: 20px; }
.variant-group-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-option {
  padding: 9px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 0.82rem; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.variant-option:hover { border-color: var(--gold); }
.variant-option.selected { border-color: var(--gold); background: var(--gold); color: #fff; }
.pd-info .product-cat { margin-bottom: 10px; }
.pd-info h1 { font-size: 2.1rem; }
.pd-price { font-size: 1.4rem; color: var(--gold); margin: 14px 0 20px; }
.pd-desc { color: var(--muted); margin-bottom: 26px; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); }
.qty-control button { background: none; border: none; color: var(--ink); width: 36px; height: 40px; cursor: pointer; font-size: 1rem; }
.qty-control input { width: 44px; text-align: center; background: none; border: none; color: var(--ink); font-size: 1rem; }
.stock-note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }

@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--gold-dim); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 18px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 16px; }
.cart-item-info img { width: 64px; height: 64px; object-fit: cover; }
.cart-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; }
.cart-remove:hover { color: #b23b3b; }
.cart-summary { max-width: 380px; margin-left: auto; margin-top: 34px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.summary-row.total { color: var(--ink); font-size: 1.2rem; border-bottom: none; padding-top: 16px; }
.summary-row.total span:last-child { color: var(--gold); }
.empty-state { text-align: center; padding: 90px 20px; color: var(--muted); }

@media (max-width: 700px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border: 1px solid var(--line); margin-bottom: 16px; padding: 14px; }
  .cart-table td { border-bottom: none; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .cart-table td::before { content: attr(data-label); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dim); flex-shrink: 0; }
  .cart-table td:first-child::before { display: none; }
  .cart-table td:first-child { justify-content: flex-start; }
  .cart-item-info { flex: 1; }
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; background: #fff;
  border: 1px solid var(--line); color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Google Places autocomplete dropdown — loaded by Google's own script, so we can
   only override what it exposes via these class names. */
.pac-container { font-family: var(--font-body); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(17,20,17,0.15); }
.pac-item { padding: 8px 12px; font-size: 0.88rem; cursor: pointer; }
.pac-item:hover { background: var(--surface); }
.pac-item-query { color: var(--ink); }

/* ---------- Footer (black bookend panel) ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,0.72); border-top: 1px solid var(--line); padding: 60px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--gold-light); margin-bottom: 16px; }
.footer-grid a { display: block; color: rgba(255,255,255,0.6); font-size: 0.9rem; padding: 5px 0; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; color: rgba(255,255,255,0.4); font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  background: var(--gold); color: #fff;
  padding: 14px 22px; font-size: 0.88rem; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: translateY(140%); transition: transform 0.35s ease;
}
.toast.show { transform: translateY(0); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-btn {
  position: fixed; bottom: 26px; left: 26px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn svg { width: 28px; height: 28px; }

/* ---------- Mobile bottom navigation ---------- */
.mobile-bottom-nav {
  display: none;
  position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; z-index: 190;
  width: 100%; box-sizing: border-box;
  background: #ffffff;
  border-top: 1px solid var(--gold);
  padding: 10px 10px calc(8px + env(safe-area-inset-bottom));
  align-items: flex-start; justify-content: space-between;
  box-shadow: 0 -6px 20px rgba(17,20,17,0.06);
}
.mobile-nav-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--muted); flex: 1; min-width: 0; padding-top: 2px;
  transition: color 0.2s ease;
}
.mobile-nav-item svg { width: 22px; height: 22px; flex-shrink: 0; }
.mobile-nav-label { font-size: 0.62rem; letter-spacing: 0.01em; white-space: nowrap; }
.mobile-nav-item.active { color: var(--gold); }
.mobile-nav-center {
  background: var(--gold); color: #fff;
  width: 50px; height: 50px; border-radius: 50%;
  margin-top: -20px; flex: 0 0 50px;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(184,134,44,0.45);
}
.mobile-nav-center:hover, .mobile-nav-center:active { background: var(--gold-dim); }
.mobile-cart-badge {
  position: absolute; top: -3px; right: 14px;
  background: var(--black); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  width: 15px; height: 15px; border-radius: 50%;
  align-items: center; justify-content: center;
  border: 1.5px solid #fff;
}

@media (max-width: 760px) {
  .mobile-bottom-nav { display: flex; }
  body:not(.admin-body) { padding-bottom: 110px; }
  .whatsapp-btn { bottom: 100px; left: 18px; width: 48px; height: 48px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
  .toast { bottom: 100px; }
}

/* While Paystack's own popup is open, hide our fixed UI so nothing can visually
   overlap or intercept taps meant for its modal. */
body.paystack-open .mobile-bottom-nav,
body.paystack-open .whatsapp-btn,
body.paystack-open .toast {
  display: none !important;
}

/* ---------- Misc ---------- */
.loader { text-align: center; padding: 60px; color: var(--muted); }
.badge-status { padding: 3px 10px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid var(--line); }
.badge-status.paid { color: #2f9e5c; border-color: #2f9e5c; }
.badge-status.pending { color: var(--gold-dim); border-color: var(--gold); }
.badge-status.failed { color: #b23b3b; border-color: #b23b3b; }

/* ===========================================================
   Admin panel
   =========================================================== */
.admin-body { background: var(--bg); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 230px; background: var(--black); border-right: 1px solid rgba(255,255,255,0.06);
  padding: 30px 0; flex-shrink: 0;
}
.admin-sidebar .logo { padding: 0 24px 30px; display: block; }
.admin-sidebar nav a {
  display: block; padding: 13px 24px; color: rgba(255,255,255,0.55);
  font-size: 0.88rem; letter-spacing: 0.02em; border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.04); }
.admin-sidebar nav a.active { color: var(--gold-light); border-left-color: var(--gold); background: rgba(184,134,44,0.12); }
.admin-main { flex: 1; padding: 34px 40px; max-width: 1100px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-topbar h1 { font-size: 1.6rem; margin: 0; }
.admin-user { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 14px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); padding: 22px; }
.stat-card .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.stat-card .value { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); }

.admin-table-wrap { background: var(--surface); border: 1px solid var(--line); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.admin-table th { text-align: left; padding: 14px 16px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dim); border-bottom: 1px solid var(--line); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 0.9rem; vertical-align: middle; color: var(--ink); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-thumb { width: 46px; height: 46px; object-fit: cover; background: #000; }
.table-actions { display: flex; gap: 10px; }
.table-actions button, .table-actions a { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.82rem; }
.table-actions button:hover, .table-actions a:hover { color: var(--gold-dim); }

@media (max-width: 760px) {
  .admin-table-wrap { overflow-x: visible; border: none; background: transparent; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; min-width: 0; }
  .admin-table tr { background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; padding: 12px 16px; }
  .admin-table td { border-bottom: none; padding: 7px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: right; }
  .admin-table td::before { content: attr(data-label); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-dim); text-align: left; flex-shrink: 0; }
  .admin-table td:empty { display: none; }
  .admin-table .table-actions { justify-content: flex-end; }
  .modal-box { padding: 22px 18px; }
  .modal-overlay { padding: 16px; }
}

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(17,20,17,0.6); z-index: 300;
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto;
}
.modal-overlay.hidden { display: none; }
.modal-box { background: #fff; border: 1px solid var(--line); max-width: 640px; width: 100%; padding: 32px; box-shadow: 0 20px 60px rgba(17,20,17,0.25); }
.modal-box h3 { margin-bottom: 22px; }
.modal-close { float: right; background: none; border: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; }

.media-upload-zone { border: 1px dashed var(--line); padding: 24px; text-align: center; color: var(--muted); font-size: 0.85rem; cursor: pointer; margin-bottom: 14px; }
.media-upload-zone:hover { border-color: var(--gold); color: var(--ink); }

.variation-card { border: 1px solid var(--line); background: var(--surface); padding: 16px; margin-bottom: 14px; }
.variation-card-header { display: flex; gap: 10px; margin-bottom: 14px; }
.variation-card-header .variation-name { flex: 1; font-family: var(--font-display); font-size: 1rem; }
.variation-card-header .remove-variation {
  background: none; border: 1px solid var(--line); color: var(--muted);
  width: 42px; height: 42px; flex-shrink: 0; cursor: pointer; font-size: 0.9rem;
}
.variation-card-header .remove-variation:hover { border-color: #b23b3b; color: #b23b3b; }
.variation-option-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; padding-left: 4px; }
.variation-option-row .opt-value { flex: 2; }
.variation-option-row .opt-price { flex: 1; max-width: 120px; }
.variation-option-row .remove-option {
  background: none; border: 1px solid var(--line); color: var(--muted);
  width: 36px; height: 36px; flex-shrink: 0; cursor: pointer; font-size: 0.8rem;
}
.variation-option-row .remove-option:hover { border-color: #b23b3b; color: #b23b3b; }
.add-option-btn { margin: 6px 0 0 4px; }

@media (max-width: 480px) {
  .variation-option-row { flex-wrap: wrap; }
  .variation-option-row .opt-value { flex-basis: 100%; }
  .variation-option-row .opt-price { flex: 1; max-width: none; }
}

.settings-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.settings-row .zone-name { flex: 2; }
.settings-row .zone-fee { flex: 1; max-width: 140px; }
.settings-row .remove-zone {
  background: none; border: 1px solid var(--line); color: var(--muted);
  width: 42px; height: 42px; flex-shrink: 0; cursor: pointer; font-size: 0.9rem;
}
.settings-row .remove-zone:hover { border-color: #b23b3b; color: #b23b3b; }

.category-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); padding: 7px 12px; cursor: pointer; font-size: 0.82rem;
  background: #fff;
}
.category-chip input { margin: 0; }
.category-chip.checked { border-color: var(--gold); background: rgba(184,134,44,0.08); }

@media (max-width: 480px) {
  .settings-row { flex-wrap: wrap; }
  .settings-row .zone-name { flex-basis: 100%; }
  .settings-row .zone-fee { flex: 1; max-width: none; }
}
.media-preview-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.media-preview-item { position: relative; width: 84px; height: 84px; background: #000; border: 1px solid var(--line); }
.media-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.media-preview-item video { width: 100%; height: 100%; object-fit: contain; }
.media-preview-item .remove-media { position: absolute; top: -7px; right: -7px; background: #b23b3b; color: #fff; border: none; width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 0.7rem; line-height: 1; }
.media-preview-item .video-tag { position: absolute; bottom: 2px; left: 2px; background: rgba(0,0,0,0.75); color: var(--gold-light); font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 1px 5px; }
.media-preview-item .set-cover-btn { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.78); color: var(--gold-light); border: none; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 2px; cursor: pointer; }
.media-preview-item .set-cover-btn:hover { background: var(--gold); color: #fff; }
.upload-progress { height: 4px; background: rgba(17,20,17,0.08); margin-top: 6px; }
.upload-progress-bar { height: 100%; background: var(--gold); width: 0%; transition: width 0.2s ease; }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 20px; }
.login-box { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); padding: 40px; box-shadow: 0 20px 60px rgba(17,20,17,0.08); }
.login-box .logo { text-align: center; display: block; margin-bottom: 8px; }
.login-box .eyebrow { display: block; text-align: center; margin-bottom: 28px; }
.form-error { color: #b23b3b; font-size: 0.85rem; margin-bottom: 16px; }

@media (max-width: 800px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; align-items: center; padding: 14px 20px; overflow-x: auto; }
  .admin-sidebar .logo { padding: 0 20px 0 0; margin-bottom: 0; }
  .admin-sidebar nav { display: flex; }
  .admin-sidebar nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; padding: 10px 14px; }
  .admin-sidebar nav a.active { border-left-color: transparent; border-bottom-color: var(--gold); }
  .admin-main { padding: 24px 18px; }
}
