/* ==================================================================
   Z&B — Jewellery Portal
   Design tokens: warm charcoal + cream ground, antique gold hairline,
   three muted gem-toned accents to wayfind Men / Women / Pets.
   Display face: Cormorant Garamond (engraved, high-contrast serif)
   Body/utility face: Jost (geometric, quiet)
   ================================================================== */

:root {
  --ink:        #17130f;
  --ink-soft:   #2a251f;
  --cream:      #f6f1e6;
  --cream-dim:  #ece4d2;
  --paper:      #fffdf8;
  --gold:       #a9834f;
  --gold-bright:#c9a45c;
  --line:       rgba(169, 131, 79, 0.35);

  --men:        #3c4a3a;
  --men-tint:   #eef1ea;
  --women:      #6e2a3b;
  --women-tint: #f5eaec;
  --pets:       #a9673a;
  --pets-tint:  #f7ede2;
  --kids:       #2f6a72;
  --kids-tint:  #e9f2f2;
  --gemstones:      #5b3a7a;
  --gemstones-tint: #f1ecf7;

  --radius: 2px;
  --maxw: 1180px;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  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; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 10px;
}

p { margin: 0 0 1em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--paper);
}
.btn-gold:hover { background: transparent; color: var(--gold); }

.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* -------------------- Header -------------------- */

.site-header {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid rgba(246, 241, 230, 0.12);
}

.announce {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 10px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.03em;
  color: var(--cream);
}
.brand .brand-mark { color: var(--gold); }

.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold-bright); border-color: var(--gold-bright); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(246,241,230,0.3);
  padding: 9px 14px;
  border-radius: var(--radius);
}
.cart-link:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.cart-count {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border-radius: 50%;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}

.nav-toggle { display: none; }

/* -------------------- Hero -------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 164, 92, 0.25);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero p.lede {
  font-size: 17px;
  color: var(--cream-dim);
  max-width: 460px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 380px; }

/* -------------------- Section picker (three doors) -------------------- */

.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ink);
}
.door {
  position: relative;
  padding: 64px 36px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
  transition: padding .25s ease;
}
.door:hover { padding-bottom: 78px; }
.door.men   { background: linear-gradient(160deg, #232a22, var(--men)); }
.door.women { background: linear-gradient(160deg, #2c1219, var(--women)); }
.door.pets  { background: linear-gradient(160deg, #2a1a0d, var(--pets)); }
.door.kids  { background: linear-gradient(160deg, #12292c, var(--kids)); }
.door.gemstones { background: linear-gradient(160deg, #261a33, var(--gemstones)); }

.door .door-icon { position: absolute; top: 32px; right: 32px; opacity: 0.5; width: 46px; height: 46px; }
.door h3 { font-size: 30px; margin-bottom: 6px; }
.door p { color: rgba(246,241,230,0.78); margin-bottom: 18px; font-size: 14px; }
.door .door-link {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold-bright); color: var(--gold-bright);
  padding-bottom: 3px; align-self: flex-start;
}

/* -------------------- Generic sections -------------------- */

.section { padding: 76px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 34px; margin: 0; }
.section-head .view-all { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

/* -------------------- Product grid & cards -------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.product-thumb {
  aspect-ratio: 1 / 1;
  background: var(--cream-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-thumb svg { width: 55%; height: 55%; opacity: 0.85; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge-sale {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--paper);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--radius);
}
.product-info { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.product-name { font-family: var(--font-display); font-size: 20px; margin: 0; }
.product-material { font-size: 12px; color: #6b6255; }
.product-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; padding-top: 10px; }
.price-now { font-size: 17px; font-weight: 600; }
.price-was { font-size: 13px; color: #9b9284; text-decoration: line-through; }
.product-card .btn { margin-top: 12px; }

/* -------------------- Filter bar -------------------- */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 32px;
}
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft); background: var(--cream);
}
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.sort-select {
  font-family: var(--font-body); font-size: 13px; padding: 9px 12px;
  border: 1px solid var(--line); background: var(--cream); border-radius: var(--radius);
}

/* -------------------- Section hero banners -------------------- */

.section-banner { padding: 64px 0 0; }
.section-banner .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.section-banner .copy .eyebrow { color: var(--banner-accent, var(--gold)); }
.section-banner h1 { font-size: 46px; }
.section-banner .art { display: flex; justify-content: center; }
.section-banner .art svg { width: 100%; max-width: 320px; }

.section-banner.men   { --banner-accent: var(--men); background: var(--men-tint); }
.section-banner.women { --banner-accent: var(--women); background: var(--women-tint); }
.section-banner.pets  { --banner-accent: var(--pets); background: var(--pets-tint); }
.section-banner.kids  { --banner-accent: var(--kids); background: var(--kids-tint); }
.section-banner.gemstones { --banner-accent: var(--gemstones); background: var(--gemstones-tint); }

/* -------------------- Product detail -------------------- */

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; }
.pd-gallery { background: var(--paper); border: 1px solid var(--line); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.pd-gallery svg { width: 60%; height: 60%; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 72px; height: 72px; padding: 0; background: var(--paper); border: 1px solid var(--line); cursor: pointer; overflow: hidden; flex-shrink: 0; }
.pd-thumb img, .pd-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--gold); border-width: 2px; }
.pd-info .eyebrow { }
.pd-info h1 { font-size: 38px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.pd-price-row .price-now { font-size: 24px; }
.pd-meta { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.pd-meta li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd-meta li span:first-child { color: #6b6255; text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.qty-row input { width: 64px; padding: 10px; border: 1px solid var(--line); text-align: center; font-family: var(--font-body); }
.stock-note { font-size: 13px; color: var(--men); }
.stock-note.low { color: var(--women); }

.address-list { display: flex; flex-direction: column; gap: 10px; }
.address-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.address-option input { margin-top: 3px; width: auto; }
.address-manage-list { list-style: none; padding: 0; margin: 0 0 20px; }
.address-manage-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.breadcrumb { font-size: 12px; letter-spacing: 0.05em; color: #6b6255; margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--gold); }

/* -------------------- Cart page -------------------- */

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6b6255; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 20px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item-name { font-family: var(--font-display); font-size: 19px; }
.cart-item-thumb { width: 64px; height: 64px; background: var(--cream-dim); display: flex; align-items: center; justify-content: center; }
.cart-item-thumb svg { width: 60%; height: 60%; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-main { display: flex; gap: 16px; align-items: center; }
.qty-form { display: flex; gap: 8px; align-items: center; }
.qty-form input { width: 56px; padding: 8px; border: 1px solid var(--line); text-align: center; }
.remove-link { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--women); border-bottom: 1px solid transparent; }
.remove-link:hover { border-color: var(--women); }

.cart-summary { background: var(--paper); border: 1px solid var(--line); padding: 28px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 18px; font-family: var(--font-display); }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state svg { width: 90px; margin: 0 auto 20px; opacity: 0.5; }

/* -------------------- Checkout / forms -------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6255; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper);
  font-family: var(--font-body); font-size: 14px; border-radius: var(--radius);
}
textarea { resize: vertical; min-height: 110px; }
.field { margin-bottom: 18px; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: 14px; }
.alert-success { background: var(--men-tint); color: var(--men); border: 1px solid var(--men); }
.alert-error { background: var(--women-tint); color: var(--women); border: 1px solid var(--women); }

/* -------------------- About strip / trust bar -------------------- */

.trust-bar { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 30px; text-align: center; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: none; }
.trust-item h4 { font-size: 14px; letter-spacing: 0.05em; margin-bottom: 6px; }
.trust-item p { font-size: 13px; color: #6b6255; margin: 0; }

/* -------------------- Footer -------------------- */

.site-footer { background: var(--ink); color: var(--cream-dim); padding: 60px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h5 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: var(--cream-dim); }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand { font-family: var(--font-display); font-size: 24px; color: var(--cream); margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(246,241,230,0.12); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: #a99a86; flex-wrap: wrap; gap: 10px; }

/* -------------------- Responsive -------------------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .doors { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: none; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: none; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: 78%; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 90px 28px; gap: 24px; transform: translateX(100%); transition: transform .25s ease; z-index: 50; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav-toggle span { width: 22px; height: 2px; background: var(--cream); display: block; }
  .hero h1 { font-size: 38px; }
  .section-banner .container { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .header-row { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==================================================================
   Auth pages (login / signup) — customer + admin
   ================================================================== */

.auth-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 36px;
}
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card .sub { color: #6b6255; font-size: 14px; margin-bottom: 28px; }
.auth-card .switch { text-align: center; margin-top: 20px; font-size: 13px; color: #6b6255; }
.auth-card .switch a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* ==================================================================
   Admin panel
   ================================================================== */

.admin-body { background: var(--cream); }

.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }

.admin-sidebar {
  background: var(--ink);
  color: var(--cream-dim);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
}
.admin-brand { font-family: var(--font-display); font-size: 22px; color: var(--cream); margin-bottom: 4px; }
.admin-brand span { color: var(--gold-bright); }
.admin-role { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 30px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: auto; }
.admin-nav a {
  padding: 11px 12px;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  color: var(--cream-dim);
}
.admin-nav a:hover { background: rgba(246,241,230,0.06); color: var(--cream); }
.admin-nav a.active { background: var(--gold); color: var(--ink); font-weight: 600; }
.admin-sidebar .view-site { margin-top: 30px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-bright); border-top: 1px solid rgba(246,241,230,0.12); padding-top: 20px; }

.admin-main { padding: 36px 44px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; gap: 16px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 30px; margin: 0; }
.admin-topbar .actions { display: flex; gap: 12px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.stat-card { background: var(--paper); border: 1px solid var(--line); padding: 22px; }
.stat-card .num { font-family: var(--font-display); font-size: 32px; }
.stat-card .label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6255; }

.admin-panel { background: var(--paper); border: 1px solid var(--line); padding: 26px; margin-bottom: 30px; }
.admin-panel h2 { font-size: 20px; margin-bottom: 18px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6255; padding: 0 10px 12px; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-thumb { width: 44px; height: 44px; background: var(--cream-dim); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; vertical-align: middle; margin-right: 10px; }
.admin-thumb svg { width: 60%; height: 60%; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-actions a, .row-actions button { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 14px; border-bottom: 1px solid transparent; background: none; border-top:none; border-left:none; border-right:none; padding:0; cursor:pointer; font-family: var(--font-body); }
.row-actions .edit { color: var(--gold); border-color: var(--gold); }
.row-actions .delete { color: var(--women); border-color: var(--women); }

.badge { display: inline-block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge-men { background: var(--men-tint); color: var(--men); }
.badge-women { background: var(--women-tint); color: var(--women); }
.badge-pets { background: var(--pets-tint); color: var(--pets); }
.badge-kids { background: var(--kids-tint); color: var(--kids); }
.badge-gemstones { background: var(--gemstones-tint); color: var(--gemstones); }
.badge-pending { background: #f2ead2; color: #8a6d1c; }
.badge-processing { background: var(--pets-tint); color: var(--pets); }
.badge-shipped { background: var(--men-tint); color: var(--men); }
.badge-delivered { background: #e4f0e9; color: #2b6b47; }
.badge-cancelled { background: var(--women-tint); color: var(--women); }

.upload-drop {
  border: 1px dashed var(--line);
  background: var(--cream);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.upload-preview { width: 84px; height: 84px; background: var(--cream-dim); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.upload-preview svg, .upload-preview img { width: 100%; height: 100%; object-fit: cover; }

.gallery-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.gallery-thumb { position: relative; width: 84px; height: 84px; background: var(--cream-dim); overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-remove {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; line-height: 18px;
  padding: 0; background: rgba(30,26,20,0.75); color: var(--cream); border: none; border-radius: 50%;
  font-size: 14px; cursor: pointer;
}
.gallery-remove:hover { background: var(--women); }

.section-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.section-tabs a { padding: 9px 18px; border: 1px solid var(--line); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; color: var(--ink-soft); }
.section-tabs a.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.alert-info { background: #eef3f6; color: #2b5266; border: 1px solid #2b5266; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: 14px; }

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; margin-bottom: 0; }
  .admin-main { padding: 24px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
