/* ============================================================
   Everything by AB — Design System
   Palette: Wine · Gold · Ivory
   Fonts:   Cormorant Garamond (serif) + Jost (sans)
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --wine:      #5E1B33;
  --wine-deep: #3E1021;
  --wine-mid:  #7A2545;
  --ivory:     #FAF5EE;
  --ivory-2:   #F2E9DC;
  --ivory-3:   #E8DDD0;
  --gold:      #C7A565;
  --gold-soft: #E4D2A6;
  --gold-dark: #9E7D40;
  --charcoal:  #241D1A;
  --muted:     #6B5D54;
  --border:    rgba(36,29,26,.12);
  --green:     #2D7A4F;
  --shadow-sm: 0 4px 16px rgba(62,16,33,.08);
  --shadow-md: 0 12px 36px rgba(62,16,33,.14);
  --shadow-lg: 0 28px 64px rgba(62,16,33,.20);
  --radius:    4px;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Jost', system-ui, sans-serif;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--ivory); color: var(--charcoal); font-family: var(--sans);
  font-weight: 300; overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--sans); }
input, select, textarea { border: 1px solid var(--border); border-radius: var(--radius);
  padding: 11px 14px; font-size: 14px; color: var(--charcoal); background: #fff;
  outline: none; transition: border-color .25s; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--wine); }
label { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 500; color: var(--muted); margin-bottom: 6px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
.eyebrow { font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--wine); font-weight: 500; font-family: var(--sans); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.wrap      { max-width: 1240px; margin: 0 auto; padding: 0 5vw; }
.wrap-sm   { max-width: 780px;  margin: 0 auto; padding: 0 5vw; }
.section   { padding: 90px 0; }
.section-sm{ padding: 60px 0; }
.section-dark { background: var(--wine-deep); }
.section-mid  { background: var(--ivory-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px,3.8vw,46px); color: var(--wine-deep); margin-top: 10px; }
.section-dark .section-head h2 { color: var(--ivory); }
.section-head .desc { max-width: 300px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.section-dark .section-head .desc { color: rgba(250,245,238,.7); }
.view-all-link { font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--wine); border-bottom: 1px solid currentColor; padding-bottom: 3px; cursor: pointer; }
.section-dark .view-all-link { color: var(--gold-soft); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px;
  font-size: 12px; letter-spacing: .10em; text-transform: uppercase; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all .3s ease; white-space: nowrap;
  font-family: var(--sans); font-weight: 400; text-decoration: none; }
.btn-wine   { background: var(--wine); color: #fff; }
.btn-wine:hover   { background: var(--wine-deep); }
.btn-gold   { background: var(--gold); color: var(--wine-deep); font-weight: 500; }
.btn-gold:hover   { background: var(--gold-soft); }
.btn-ghost  { border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover  { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline{ border: 1px solid var(--wine); color: var(--wine); background: transparent; }
.btn-outline:hover{ background: var(--wine); color: #fff; }
.btn-sm     { padding: 8px 18px; font-size: 11px; }
.btn-lg     { padding: 16px 34px; font-size: 13px; }
.btn-full   { width: 100%; justify-content: center; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #962d22; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ── NAV ─────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 5vw; transition: all .4s ease;
}
.site-nav.scrolled, .site-nav.solid {
  background: rgba(250,245,238,.96); backdrop-filter: blur(12px);
  padding: 13px 5vw; box-shadow: 0 1px 0 var(--border);
}
/* Nav logo — image */
.nav-logo { cursor: pointer; display: flex; align-items: center; }
.nav-logo-img {
  height: 40px; width: auto; display: block;
  transition: filter .4s ease, opacity .4s ease;
}
/* Transparent nav (hero) — drop-shadow makes logo pop off dark background */
.site-nav:not(.scrolled):not(.solid) .nav-logo-img {
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.9));
}
/* Solid nav (scrolled / all inner pages) — natural colour */
.site-nav.scrolled .nav-logo-img,
.site-nav.solid    .nav-logo-img { filter: none; }

/* Footer logo — white silhouette on dark wine background */
.footer-logo-img {
  height: 46px; width: auto; display: block;
  filter: brightness(0) invert(1); opacity: .88;
}

/* Admin sidebar logo */
.admin-logo-img {
  height: 32px; width: auto; display: block;
  filter: brightness(0) invert(1); opacity: .82;
  margin-bottom: 8px;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.9); transition: color .3s; padding: 4px 0;
  border-bottom: 1px solid transparent; }
.site-nav.scrolled .nav-links a, .site-nav.solid .nav-links a { color: var(--charcoal); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-bottom-color: currentColor; }
.site-nav.scrolled .nav-links a:hover, .site-nav.solid .nav-links a:hover { color: var(--wine); border-bottom-color: currentColor; }
.nav-right { display: flex; gap: 14px; align-items: center; }
.nav-cart { position: relative; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.9); font-size: 20px; padding: 4px; transition: color .4s; }
.site-nav.scrolled .nav-cart, .site-nav.solid .nav-cart { color: var(--charcoal); }
.nav-cart:hover { color: var(--gold); }
.cart-badge { position: absolute; top: -4px; right: -6px; background: var(--gold);
  color: var(--wine-deep); font-size: 9px; font-weight: 600; width: 17px; height: 17px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px;
  cursor: pointer; color: rgba(255,255,255,.9); transition: color .4s; }
.site-nav.scrolled .nav-toggle, .site-nav.solid .nav-toggle { color: var(--charcoal); }

/* Mobile nav */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--wine-deep);
  z-index: 1000; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--serif); font-size: 30px; color: var(--ivory); letter-spacing: .02em; }
.mobile-nav a:hover { color: var(--gold-soft); }
.mobile-close { position: absolute; top: 24px; right: 5vw; background: none; border: none;
  font-size: 28px; color: rgba(255,255,255,.7); cursor: pointer; }

/* ── HERO ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  animation: heroZoom 20s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.11); } }
.hero-overlay  { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(20,8,15,.08) 0%,rgba(20,8,15,.02) 30%,rgba(20,8,15,.82) 100%); }
.hero-overlay2 { position: absolute; inset: 0; background: radial-gradient(110% 65% at 5% 100%,rgba(94,27,51,.6),transparent 60%); }
.hero-body { position: relative; z-index: 2; width: 100%; padding: 0 5vw 9vh;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-left { color: #fff; }
.hero-left .eyebrow { color: var(--gold-soft); }
.hero-h1 { font-family: var(--serif); font-size: clamp(46px,7vw,90px); font-weight: 500;
  line-height: 1.01; margin-top: 14px; }
.hero-h1 em { font-style: italic; color: var(--gold-soft); }
.hero-sub { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; max-width: 400px; margin-top: 15px; }
.hero-btns { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta { text-align: right; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.85;
  border-right: 1px solid rgba(255,255,255,.25); padding-right: 18px; }

/* Scroll cue */
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue span { color: rgba(255,255,255,.6); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 34px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.scroll-line::after { content: ''; position: absolute; top: -100%; width: 100%; height: 100%;
  background: var(--gold-soft); animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { to { top: 100%; } }

/* ── MARQUEE ────────────────────────────────────────────── */
.marquee { background: var(--wine-deep); padding: 13px 0; overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(199,165,101,.2); border-bottom: 1px solid rgba(199,165,101,.2); }
.marquee-inner { display: inline-flex; gap: 56px; animation: marqueeAnim 30s linear infinite; }
.marquee-inner span { font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--gold-soft); display: inline-flex; align-items: center; gap: 56px; }
.marquee-inner .dot { color: rgba(199,165,101,.4); font-style: normal; font-size: 8px; }
@keyframes marqueeAnim { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PRODUCT CARDS ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 22px; }
.product-grid-sm { grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }

.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease; box-shadow: var(--shadow-sm); }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.p-card-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ivory-3); }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.p-card:hover .p-card-img img { transform: scale(1.06); }

.p-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 2px; font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase; font-weight: 500; font-family: var(--sans); }
.badge-wine   { background: var(--wine); color: #fff; }
.badge-gold   { background: var(--gold); color: var(--wine-deep); }
.badge-green  { background: var(--green); color: #fff; }
.badge-gray   { background: #d0c8c0; color: var(--muted); }
.badge-warning{ background: #fff3cd; color: #856404; }
.badge-info   { background: #d1ecf1; color: #0c5460; }
.badge-purple { background: #e8d5f0; color: #5a1f7a; }
.badge-orange { background: #fde8d8; color: #7a3f00; }
.badge-blue   { background: #d8e8fd; color: #003e7a; }
.badge-pink   { background: #fde8f0; color: #7a003e; }
.badge-teal   { background: #d0f0e8; color: #0c4a3d; }
.badge-red    { background: #f0d8d8; color: #7a0000; }

.p-card-body { padding: 14px 16px 18px; }
.p-card-batch { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.p-card-name  { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--wine-deep); line-height: 1.3; margin-bottom: 7px; }
.p-card-price { font-size: 15px; font-weight: 500; color: var(--wine); }
.p-card-price span { font-size: 12px; color: var(--muted); font-weight: 300; }
.p-card-ship  { font-size: 11.5px; color: var(--muted); margin-top: 4px; margin-bottom: 10px; }

/* MOQ bar */
.moq-wrap  { margin-top: 10px; }
.moq-meta  { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.moq-meta strong { color: var(--wine); }
.moq-bar   { height: 5px; border-radius: 10px; background: var(--ivory-3); overflow: hidden; }
.moq-fill  { height: 100%; border-radius: 10px; background: linear-gradient(90deg,var(--wine-mid),var(--gold)); transition: width .6s ease; }
.moq-fill.full  { background: var(--green); }
.moq-note  { font-size: 10.5px; color: var(--muted); margin-top: 4px; font-style: italic; }

.p-card-actions { display: flex; gap: 8px; margin-top: 12px; }

/* Trending scroll */
.scroll-row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row .p-card { min-width: 230px; flex-shrink: 0; }

/* Cat pills */
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.cat-pill  { padding: 8px 20px; border-radius: 100px; font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; cursor: pointer; border: 1px solid var(--border); color: var(--muted);
  background: #fff; transition: all .25s; font-family: var(--sans); }
.cat-pill:hover, .cat-pill.active { background: var(--wine); color: #fff; border-color: var(--wine); }

/* ── PAGE HEADERS ──────────────────────────────────────── */
.page-header { padding: 110px 5vw 50px; background: var(--ivory); }
.page-header h1 { font-family: var(--serif); font-size: clamp(32px,5vw,52px); color: var(--wine-deep); margin-top: 10px; }
.page-header p  { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Shop toolbar */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.search-box   { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px; background: #fff; flex: 1; max-width: 380px; }
.search-box input { border: none; outline: none; font-size: 13px; padding: 0; background: none; }
.sort-select  { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px;
  font-size: 13px; background: #fff; color: var(--charcoal); cursor: pointer; }

/* ── PRODUCT DETAIL ─────────────────────────────────────── */
.pd-container { padding-top: 90px; }
.pd-breadcrumb { padding: 20px 0 10px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pd-breadcrumb a { color: var(--wine); }
.pd-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding: 40px 0 80px; }
.pd-gallery { position: sticky; top: 90px; }
.pd-main-img { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: var(--ivory-3); }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb  { width: 68px; height: 86px; overflow: hidden; border-radius: 3px; cursor: pointer;
  opacity: .55; border: 2px solid transparent; transition: all .3s; flex-shrink: 0; }
.pd-thumb.active, .pd-thumb:hover { opacity: 1; border-color: var(--gold); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-batch  { font-size: 12px; color: var(--gold-dark); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.pd-name   { font-family: var(--serif); font-size: clamp(24px,3vw,36px); color: var(--wine-deep); line-height: 1.15; margin-bottom: 12px; }
.pd-price  { font-size: 24px; color: var(--wine); font-weight: 500; margin-bottom: 5px; }
.pd-ship   { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.pd-desc   { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 22px; border-top: 1px solid var(--border); padding-top: 18px; }

.pd-options { margin-bottom: 18px; }
.option-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.option-chip  { padding: 7px 14px; border: 1px solid var(--border); border-radius: 2px;
  font-size: 12.5px; cursor: pointer; transition: all .2s; }
.option-chip:hover, .option-chip.selected { background: var(--wine); color: #fff; border-color: var(--wine); }

.qty-row   { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-ctrl  { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-ctrl button { width: 38px; height: 40px; border: none; background: none; font-size: 18px; cursor: pointer;
  color: var(--wine); transition: background .2s; }
.qty-ctrl button:hover { background: var(--ivory-2); }
.qty-ctrl input  { width: 48px; text-align: center; border: none; border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); height: 40px; font-size: 15px; padding: 0; }

.pd-moq-box { background: var(--ivory-2); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.pd-moq-box h4 { font-family: var(--serif); font-size: 16px; color: var(--wine-deep); margin-bottom: 10px; }
.pd-moq-note { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin-top: 10px; }

.pd-shipping-note { background: var(--ivory-3); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px; margin-bottom: 22px; font-size: 13px; color: var(--muted); line-height: 1.65; }

.pd-ctas { display: flex; gap: 10px; }

/* ── CART ─────────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); padding: 12px 16px; border-bottom: 2px solid var(--border); font-weight: 500; }
.cart-table td { padding: 18px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 14px; }
.cart-item-img { width: 66px; height: 86px; border-radius: 3px; overflow: hidden; flex-shrink: 0; background: var(--ivory-3); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info .name { font-family: var(--serif); font-size: 16px; color: var(--wine-deep); margin-bottom: 4px; }
.cart-item-info .meta { font-size: 12px; color: var(--muted); }
.cart-item-flex { display: flex; gap: 14px; align-items: center; }
.cart-qty-ctrl { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 2px; }
.cart-qty-ctrl button { width: 30px; height: 30px; border: none; background: none; cursor: pointer; font-size: 14px; color: var(--wine); }
.cart-qty-ctrl input  { width: 38px; text-align: center; border: none; border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); height: 30px; font-size: 13px; padding: 0; }
.cart-remove { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 16px; padding: 4px; }
.cart-remove:hover { color: #c0392b; }
.cart-summary-box { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 26px; }
.cart-row  { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; }
.cart-row.total { font-size: 18px; font-weight: 500; color: var(--wine-deep); border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
.cart-notice { background: #fffbf0; border: 1px solid var(--gold-soft); border-radius: var(--radius);
  padding: 14px 16px; font-size: 13px; color: #6b4f00; line-height: 1.6; margin: 16px 0; }

/* ── CHECKOUT ─────────────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 50px; align-items: start; padding: 40px 0 80px; }
.checkout-box  { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 30px; }
.checkout-box h3 { font-family: var(--serif); font-size: 22px; color: var(--wine-deep); margin-bottom: 22px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.group-notice { background: #fff8e6; border: 1px solid #f0d888; border-radius: var(--radius);
  padding: 14px 16px; margin: 14px 0; font-size: 13px; line-height: 1.65; color: #6b4f00; }
.group-notice b { color: #4d3800; }
.order-summary-list .os-item { display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid var(--border); font-size: 13.5px; }
.order-summary-list .os-item:last-child { border-bottom: none; }
.paystack-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ── ORDER SUCCESS ──────────────────────────────────────── */
.success-icon { font-size: 64px; margin-bottom: 20px; }
.success-box  { max-width: 600px; margin: 0 auto; text-align: center; padding: 80px 5vw; }
.success-box h1 { font-family: var(--serif); font-size: 42px; color: var(--wine-deep); margin-bottom: 14px; }
.success-box p  { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 30px; }
.order-id-box { background: var(--wine-deep); color: var(--gold-soft); padding: 18px 26px;
  border-radius: var(--radius); font-family: var(--serif); font-size: 22px; margin: 20px 0; display: inline-block; }

/* ── TRACKING ─────────────────────────────────────────────── */
.track-form { max-width: 540px; margin: 0 auto 50px; }
.track-input-row { display: flex; gap: 10px; }
.track-input-row input { border-radius: var(--radius) 0 0 var(--radius); }
.track-input-row .btn { border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; }

.order-card { background: #fff; border-radius: 6px; border: 1px solid var(--border);
  padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.order-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.order-num  { font-family: var(--serif); font-size: 20px; color: var(--wine-deep); }
.order-date { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Status stepper */
.stepper { position: relative; margin: 32px 0 28px; padding-top: 14px; }
.stepper-track { position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--ivory-3); }
.stepper-fill  { height: 2px; background: linear-gradient(90deg,var(--wine),var(--gold)); transition: width .8s ease; }
.stepper-steps { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.step  { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.step-dot   { width: 26px; height: 26px; border-radius: 50%; background: var(--ivory-3);
  border: 2px solid var(--ivory-3); display: flex; align-items: center; justify-content: center;
  font-size: 10px; transition: all .4s ease; }
.step-dot.done    { background: var(--green); border-color: var(--green); color: #fff; }
.step-dot.current { background: var(--wine); border-color: var(--wine); color: #fff;
  box-shadow: 0 0 0 4px rgba(94,27,51,.18); }
.step-label { font-size: 9.5px; text-align: center; color: var(--muted); max-width: 66px; line-height: 1.3; }
.step.done .step-label, .step.current .step-label { color: var(--wine-deep); font-weight: 500; }

.tracking-box { background: var(--ivory-2); border-radius: var(--radius); padding: 18px 20px; margin-top: 22px; }
.tracking-box h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--wine); font-weight: 500; margin-bottom: 8px; }
.tracking-num { font-family: var(--serif); font-size: 20px; color: var(--wine-deep); margin-bottom: 6px; }
.tracking-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  color: var(--wine); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.batch-tag { background: var(--ivory-3); border-left: 3px solid var(--gold); padding: 10px 14px;
  font-size: 13px; color: var(--muted); margin-top: 14px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Status history */
.status-history { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 18px; }
.status-history h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 16px; }
.hist-item { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.hist-item::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: 0;
  width: 1px; background: var(--border); }
.hist-item:last-child::before { display: none; }
.hist-dot  { width: 15px; height: 15px; border-radius: 50%; background: var(--wine); flex-shrink: 0;
  margin-top: 3px; border: 2px solid var(--ivory); }
.hist-dot.old { background: var(--ivory-3); }
.hist-status { font-size: 13.5px; font-weight: 500; color: var(--wine-deep); margin-bottom: 3px; }
.hist-note   { font-size: 12.5px; color: var(--muted); }
.hist-time   { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── ABOUT / CURATOR ─────────────────────────────────────── */
.curator-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.curator-img-wrap { position: relative; }
.curator-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-lg); }
.curator-ribbon { position: absolute; bottom: -24px; left: -24px; background: var(--gold);
  color: var(--wine-deep); padding: 20px 24px; border-radius: 3px; max-width: 200px;
  font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.4;
  box-shadow: var(--shadow-md); }
.quote-mark { font-family: var(--serif); font-size: 88px; line-height: .55; color: var(--gold);
  display: block; margin-bottom: 8px; }
.curator-quote { font-family: var(--serif); font-style: italic;
  font-size: clamp(22px,2.8vw,34px); line-height: 1.4; color: var(--ivory); font-weight: 500; }
.curator-by { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.curator-by-line { width: 44px; height: 1px; background: var(--gold); }
.curator-by-name b { font-family: var(--serif); font-style: italic; font-size: 17px;
  color: var(--gold-soft); display: block; }

/* ── PROMISE STRIP ──────────────────────────────────────── */
.promise-strip { background: var(--wine); color: var(--ivory); padding: 60px 0; }
.promise-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; text-align: center; }
.promise-item  .ic { font-family: var(--serif); font-style: italic; font-size: 28px;
  color: var(--gold); display: block; margin-bottom: 12px; }
.promise-item  h3 { font-size: 18px; color: var(--gold-soft); margin-bottom: 8px; }
.promise-item  p  { font-size: 13.5px; color: rgba(250,245,238,.75); line-height: 1.65; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section { text-align: center; padding: 90px 0; }
.contact-section h2 { font-family: var(--serif); font-size: clamp(32px,5vw,58px); color: var(--wine-deep);
  max-width: 700px; margin: 14px auto 20px; }
.social-links { display: flex; justify-content: center; gap: 26px; margin-top: 44px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.social-links a { color: var(--wine); border-bottom: 1px solid transparent; padding-bottom: 3px; }
.social-links a:hover { border-bottom-color: var(--wine); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--wine-deep); color: rgba(250,245,238,.6); padding: 46px 0 26px; }
.footer-top  { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(199,165,101,.2); }
.footer-logo { font-family: var(--serif); font-size: 22px; color: var(--ivory); font-style: italic; }
.footer-links { display: flex; gap: 28px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 20px; font-size: 11.5px; color: rgba(250,245,238,.4); }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 26px; right: 26px; z-index: 800; width: 54px; height: 54px;
  border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform .3s ease; text-decoration: none;
  font-size: 24px; }
.wa-float:hover { transform: scale(1.08); }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-login-page { min-height: 100vh; background: var(--wine-deep); display: flex; align-items: center; justify-content: center; }
.admin-login-box  { background: var(--ivory); border-radius: 8px; padding: 46px 42px;
  width: min(400px, 90vw); text-align: center; box-shadow: var(--shadow-lg); }
.admin-login-box .logo { font-family: var(--serif); font-size: 26px; color: var(--wine-deep); margin-bottom: 6px; }
.admin-login-box p     { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.admin-login-error     { background: #fde8e8; color: #7a0000; border-radius: var(--radius);
  padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }

/* Admin layout */
.admin-layout   { display: flex; min-height: 100vh; }
.admin-sidebar  { width: 238px; background: var(--wine-deep); flex-shrink: 0;
  position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 200; }
.admin-logo     { padding: 26px 22px 22px; border-bottom: 1px solid rgba(199,165,101,.2); }
.admin-logo .name { font-family: var(--serif); font-size: 18px; color: var(--ivory); }
.admin-logo .role { font-size: 11px; color: rgba(250,245,238,.45); letter-spacing: .05em; margin-top: 3px; }
.admin-nav-item { display: flex; align-items: center; gap: 12px; padding: 13px 22px;
  color: rgba(250,245,238,.65); font-size: 13px; cursor: pointer; transition: all .25s;
  border-left: 3px solid transparent; text-decoration: none; }
.admin-nav-item:hover { color: var(--ivory); background: rgba(255,255,255,.06); }
.admin-nav-item.active { color: var(--gold-soft); border-left-color: var(--gold); background: rgba(199,165,101,.1); }
.admin-nav-item .icon { width: 18px; text-align: center; }
.admin-logout { position: sticky; bottom: 0; background: var(--wine-deep);
  border-top: 1px solid rgba(199,165,101,.15); }
.admin-content { margin-left: 238px; padding: 36px 38px; flex: 1; min-height: 100vh; }
.admin-page-head { margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; }
.admin-page-head h1 { font-family: var(--serif); font-size: 30px; color: var(--wine-deep); }
.admin-page-head p  { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 16px; margin-bottom: 30px; }
.stat-card { background: #fff; border-radius: 6px; border: 1px solid var(--border); padding: 20px 22px; }
.stat-card .stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.stat-card .stat-val   { font-family: var(--serif); font-size: 32px; color: var(--wine-deep); }
.stat-card .stat-sub   { font-size: 12px; color: var(--muted); margin-top: 5px; }
.moq-alert-box { background: #fff3cd; border: 1px solid #f0d888; border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 16px; font-size: 13px; color: #856404; }
.moq-alert-box h4 { font-size: 13px; color: #64490a; margin-bottom: 4px; }

/* Admin tables */
.tbl-wrap  { background: #fff; border-radius: 6px; border: 1px solid var(--border); overflow: hidden; }
.tbl-head  { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px;
  border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.tbl-head h3 { font-family: var(--serif); font-size: 20px; color: var(--wine-deep); }
.tbl-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); padding: 11px 16px; border-bottom: 1px solid var(--border); font-weight: 500; }
.admin-table td { padding: 13px 16px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--ivory); }
.tbl-actions { display: flex; gap: 6px; }
.tbl-btn { padding: 4px 11px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid var(--border); cursor: pointer; background: none;
  font-family: var(--sans); transition: all .2s; }
.tbl-btn:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.tbl-btn.danger:hover { background: #c0392b; border-color: #c0392b; }

/* Admin modals */
.modal-overlay { position: fixed; inset: 0; background: rgba(36,29,26,.65); z-index: 3000;
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: var(--ivory); border-radius: 8px; width: min(680px, 100%);
  max-height: 90vh; overflow-y: auto; padding: 34px; animation: fadeUp .35s ease; }
.modal-box h2 { font-family: var(--serif); font-size: 26px; color: var(--wine-deep); margin-bottom: 22px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.modal-head h2 { margin-bottom: 0; }
.modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); padding: 4px; }
@keyframes fadeUp { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform: translateY(0); } }

/* Toggle */
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.toggle-row label:first-child { font-size: 14px; color: var(--charcoal); text-transform: none; letter-spacing: normal; margin-bottom: 0; }
.toggle { position: relative; width: 44px; height: 24px; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; border-radius: 12px; background: var(--ivory-3); transition: .3s; }
.toggle-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: .3s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + .toggle-slider { background: var(--wine); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Form section */
.form-section { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 18px; }
.form-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--wine); font-weight: 500; margin-bottom: 14px; }

/* Img preview row */
.img-preview-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.img-preview { width: 78px; height: 100px; border-radius: 3px; overflow: hidden;
  border: 1px solid var(--border); position: relative; background: var(--ivory-3); }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-del { position: absolute; top: 3px; right: 3px; background: rgba(36,29,26,.7); color: #fff;
  border: none; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.img-add-row { display: flex; gap: 8px; align-items: center; }
.img-add-row input { flex: 1; border-radius: var(--radius) 0 0 var(--radius); border-right: none; }
.img-add-row .btn  { border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; }

/* Batch card */
.batch-card { background: #fff; border-radius: 6px; border: 1px solid var(--border);
  padding: 22px; margin-bottom: 16px; }
.batch-card-head { display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.batch-card-head .bid { font-family: var(--serif); font-size: 20px; color: var(--wine-deep); }
.batch-card-head .bname { font-size: 13px; color: var(--muted); }
.batch-tracking-row { background: var(--ivory-2); border-radius: 3px; padding: 10px 14px;
  font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* ── UTILITY ────────────────────────────────────────────────── */
.hide { display: none !important; }
.flash { padding: 12px 18px; border-radius: var(--radius); font-size: 13.5px; margin-bottom: 22px; }
.flash.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash.info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ── TOAST ─────────────────────────────────────────────────── */
#toast-container { position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast { padding: 13px 20px; border-radius: var(--radius); font-size: 13.5px;
  color: #fff; background: var(--charcoal); animation: toastIn .35s ease;
  box-shadow: var(--shadow-md); max-width: 340px; }
.toast.success { background: var(--green); }
.toast.error   { background: #c0392b; }
@keyframes toastIn { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform: translateY(0); } }

/* ── EMPTY STATE ────────────────────────────────────────── */
.empty-state { text-align: center; padding: 70px 0; color: var(--muted); }
.empty-state .icon { font-size: 52px; margin-bottom: 16px; }
.empty-state p { font-size: 15px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .admin-sidebar  { width: 200px; }
  .admin-content  { margin-left: 200px; padding: 28px 24px; }
  .pd-grid        { gap: 36px; }
  .checkout-grid  { gap: 30px; }
  .curator-grid   { gap: 50px; }
}
@media (max-width: 860px) {
  .nav-links  { display: none; }
  .nav-toggle { display: block; }
  .hero-meta  { display: none; }
  .pd-grid    { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .curator-grid  { grid-template-columns: 1fr; }
  .curator-ribbon { position: static; margin-top: 18px; max-width: none; }
  .promise-grid  { grid-template-columns: 1fr; gap: 30px; }
  .form-row  { grid-template-columns: 1fr; }
  .admin-sidebar  { width: 100%; height: auto; position: relative; }
  .admin-content  { margin-left: 0; padding: 22px 18px; }
  .admin-layout   { flex-direction: column; }
  .admin-logout   { position: relative; }
}
@media (max-width: 600px) {
  .hero-body   { flex-direction: column; padding-bottom: 7vh; }
  .hero-btns   { flex-direction: column; }
  .pd-ctas     { flex-direction: column; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
  .stepper-steps { gap: 2px; }
  .step-label  { font-size: 8.5px; max-width: 50px; }
  .track-input-row { flex-direction: column; }
  .track-input-row input, .track-input-row .btn { border-radius: var(--radius); }
  .page-header { padding: 90px 5vw 36px; }
  .section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
