/* ══════════════════════════════════════════════════════
   ORTIZA — DESIGN SYSTEM  (Arteriors-Inspired)
   Palette: Black · White · Warm Gold
   Font: Cormorant Garamond (display) + DM Sans (body)
══════════════════════════════════════════════════════ */
@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=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Core palette — luxury black/white */
  --ink:           #0C0C0C;
  --charcoal:      #1A1A1A;
  --carbon:        #2A2A2A;
  --ash:           #3C3C3C;
  --smoke:         #666666;
  --mist:          #999999;
  --border:        #D8D5CF;
  --border-light:  #EDEAE4;
  --bg:            #F7F6F3;
  --bg-warm:       #F2F0EC;
  --white:         #FFFFFF;

  /* Gold accent */
  --gold:          #B08D57;
  --gold-deep:     #8C6E3F;
  --gold-light:    #C9A96E;

  /* Functional aliases (backward compat) */
  --pearl:         #EDEAE4;
  --cream:         #F7F6F3;
  --saffron:       #B08D57;
  --saffron-deep:  #8C6E3F;
  --saffron-light: #C9A96E;
  --forest:        #0C0C0C;
  --forest-light:  #2A2A2A;
  --blush:         #8C6E3F;
  --blush-light:   #C9A96E;
  --sage:          #3C3C3C;
  --teal:          #0C0C0C;
  --success:       #2A6040;
  --warning:       #B08D57;
  --error:         #8C1F1F;

  /* Typography */
  --font-serif:    'Cormorant Garamond', 'DM Serif Display', Georgia, serif;
  --font-sans:     'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing / Radius — minimal, architectural */
  --radius-sm:     2px;
  --radius-md:     4px;
  --radius-lg:     6px;
  --radius-xl:     8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Global mobile safety net (applies to every page) ── */
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; }
table { max-width: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════════ */
.announce {
  background: var(--ink);
  color: rgba(255,255,255,.88);
  text-align: center;
  padding: 11px 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-sans);
}
.announce a { color: var(--gold-light); text-decoration: none; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.vnav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  gap: 0;
  position: sticky;
  top: 0;
  z-index: 800;
}
.vnav-logo { display: flex; align-items: center; margin-right: 56px; flex-shrink: 0; }
.vnav-links { display: flex; gap: 32px; flex: 1; flex-wrap: nowrap; overflow: hidden; }
.vnav-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.vnav-link:hover { color: var(--ink); }
.vnav-link.active { color: var(--ink); border-bottom-color: var(--ink); }
.vnav-right { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.vnav-icon {
  font-size: 15px;
  cursor: pointer;
  color: var(--ash);
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  text-decoration: none;
}
.vnav-cart-badge { position: relative; }
.badge-dot {
  position: absolute;
  top: -5px; right: -7px;
  min-width: 16px; height: 16px;
  background: var(--ink);
  border-radius: 50px;
  font-size: 9px;
  font-weight: 700;
  color: white;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  font-family: var(--font-sans);
}
.vnav-btn {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background .2s, color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.vnav-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ══════════════════════════════════════
   HOMEPAGE SHELL
══════════════════════════════════════ */
.hp { background: var(--white); color: var(--ink); }

/* ── Section header ── */
.sec-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.sec-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: var(--font-sans);
}
.sec-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.sec-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.see-all-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.see-all-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ── Category pills ── */
.hp-cats {
  background: var(--bg);
  padding: 64px 60px;
  position: relative;
  overflow: visible;
}
.cat-slider { overflow: hidden; }
.cat-track { display: flex; gap: 20px; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.cat-item { flex: 0 0 220px; max-width: 220px; }
.cat-pill {
  background: var(--ink);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.cat-pill .img-fluid {
  height: 290px;
  width: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cat-pill:hover .img-fluid { transform: scale(1.05); }
.cat-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.70), transparent 50%);
  z-index: 1;
}
.cp-name {
  position: absolute;
  bottom: 16px; left: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  font-family: var(--font-sans);
}
.cp-link {
  position: absolute;
  bottom: 16px; right: 16px;
  color: var(--gold-light);
  font-size: 16px;
  font-weight: 700;
  z-index: 2;
}

/* Category grid (homepage "Shop by Category") */
.hp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.hp-cat-grid .cat-pill .img-fluid,
.hp-cat-grid .cat-pill .cat-pill-emoji {
  height: 260px; width: 100%; object-fit: cover; display: block;
}
.cat-pill-emoji { display: flex; align-items: center; justify-content: center; font-size: 64px; background: var(--ink); }
@media(max-width: 768px) {
  .hp-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
  .hp-cat-grid .cat-pill .img-fluid,
  .hp-cat-grid .cat-pill .cat-pill-emoji { height: 180px; }
}
@media(max-width: 380px) {
  .hp-cat-grid { grid-template-columns: 1fr; }
}

/* ── Products grid ── */
.hp-products {
  padding: 72px 60px;
  background: var(--white);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}

/* Product Card */
.pc {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  border: none;
  transition: none;
}
.pc:hover { box-shadow: none; transform: none; }
.pc:hover .pc-img img { transform: scale(1.04); }
.pc-img {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  background: var(--white) !important;
  overflow: hidden;
}
.pc-img img { transition: transform .5s ease; }
.pc-badge-wrap {
  position: absolute;
  top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 5px;
  z-index: 2;
}
.pb {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0;
  width: fit-content;
  font-family: var(--font-sans);
}
.pb-blush   { background: var(--ink); color: #fff; }
.pb-saffron { background: var(--gold); color: var(--white); }
.pb-sage    { background: var(--ash); color: #fff; }
.pb-oos     { background: #888; color: #fff; }
.pc-body { padding: 20px; }
.pc-rank { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-family: var(--font-sans); }
.pc-name { font-family: var(--font-serif); font-size: 17px; font-weight: 400; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.pc-desc { font-size: 12px; color: var(--smoke); margin-bottom: 12px; line-height: 1.6; }
.pc-stars { color: var(--gold); font-size: 11px; margin-bottom: 2px; }
.pc-reviews { font-size: 10px; color: var(--mist); margin-bottom: 12px; letter-spacing: 0.06em; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; }
.pc-price { font-size: 16px; font-weight: 600; color: var(--ink); font-family: var(--font-sans); }
.pc-old { font-size: 12px; color: var(--mist); text-decoration: line-through; margin-left: 5px; }

/* ── Add to Cart button ── */
.add-to-cart {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.add-to-cart:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.add-to-cart.loading { opacity: .6; pointer-events: none; }
.add-to-cart.done { background: var(--success); border-color: var(--success); }

/* ── Notify Me ── */
.btn-notify-me {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn-notify-me:hover { background: var(--ink); color: #fff; }

/* ── Affiliate banner ── */
.hp-banner {
  margin: 0 60px 72px;
  background: var(--ink);
  border-radius: 0;
  padding: 64px 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hp-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.08) 0%, transparent 70%);
  right: 100px; top: -180px;
}
.hp-banner-text h3 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hp-banner-text h3 em { font-style: italic; color: var(--gold-light); }
.hp-banner-text p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; }
.hp-banner-stat { text-align: center; position: relative; z-index: 1; }
.hbs-num {
  font-family: var(--font-serif);
  font-size: 72px;
  color: var(--gold-light);
  line-height: 1;
  font-weight: 300;
}
.hbs-pct { font-size: 30px; }
.hbs-label { font-size: 10px; color: rgba(255,255,255,.45); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; font-family: var(--font-sans); }

/* ══════════════════════════════════════
   PRIMARY BUTTONS
══════════════════════════════════════ */
.btn-saffron {
  background: var(--ink);
  color: var(--white) !important;
  border: 1px solid var(--ink);
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background .2s, color .2s, border-color .2s;
  display: inline-block;
}
.btn-saffron:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.btn-outline-w {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: border-color .2s, background .2s;
}
.btn-outline-w:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.bb-footer { background: var(--charcoal); color: var(--white); }

/* ══════════════════════════════════════
   BRAND WORDMARK (text logo — replaces logo.png)
══════════════════════════════════════ */
.brand-wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.brand-wordmark em { font-style: italic; color: var(--gold); }
/* On dark sidebars / footers */
.brand-wordmark.on-dark { color: var(--white); }

.bb-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.bb-footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.bb-footer-links a {
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  font-family: var(--font-sans);
  transition: color .15s;
}
.bb-footer-links a:hover { color: var(--ink); }
.bb-footer-logo img { width: 150px; filter: brightness(0); }
.bb-footer-logo .brand-wordmark { font-size: 22px; }

.bb-footer-middle {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 60px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.bb-footer-left h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.bb-footer-left h3 span { font-size: 13px; color: rgba(255,255,255,.35); margin-left: 10px; font-family: var(--font-sans); font-weight: 400; }
.bb-social-icons {
  display: flex;
  gap: 2px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  margin-bottom: 20px;
}
.bb-social-icons a { color: rgba(255,255,255,.45); font-size: 16px; padding: 6px 12px; transition: color .2s; text-decoration: none; }
.bb-social-icons a:hover { color: var(--gold-light); }
.bb-tagline { color: rgba(255,255,255,.35); font-size: 12px; margin-bottom: 8px; letter-spacing: 0.04em; }
.bb-copy { color: rgba(255,255,255,.2); font-size: 11px; }
.bb-footer-right { line-height: 1.7; }
.bb-footer-right p { color: rgba(255,255,255,.35); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 6px; font-family: var(--font-sans); }
.bb-footer-right a { color: var(--white); text-decoration: none; font-size: 14px; display: block; margin-bottom: 24px; transition: color .15s; }
.bb-footer-right a:hover { color: var(--gold-light); }
.bb-footer-right span { color: rgba(255,255,255,.45); font-size: 13px; }

/* Quick-links footer column */
.bb-footer-col p { color: rgba(255,255,255,.35); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 14px; font-family: var(--font-sans); }
.bb-footer-col a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 13px; display: block; margin-bottom: 12px; transition: color .15s; }
.bb-footer-col a:hover { color: var(--gold-light); }

.bb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.25);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.bb-lang { display: flex; align-items: center; gap: 6px; }

/* ══════════════════════════════════════
   PRODUCT DETAIL PAGE
══════════════════════════════════════ */
.pdp { background: var(--white); color: var(--ink); }
.pdp-breadcrumb {
  padding: 14px 60px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  font-size: 11px;
  color: var(--mist);
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
}
.pdp-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 680px;
}
.pdp-gallery {
  background: var(--bg);
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.pdp-main-img {
  background: var(--white);
  border-radius: 0;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.pdp-badges {
  position: absolute;
  top: 18px; left: 18px;
  display: flex; flex-direction: column; gap: 7px;
  z-index: 2;
}
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumb {
  width: 72px; height: 72px;
  border-radius: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s;
}
.pdp-thumb.active { border-color: var(--ink); }
.pdp-thumb:hover  { border-color: var(--gold); }

.pdp-info {
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.pdp-brand { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.pdp-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.pdp-tagline { font-size: 14px; color: var(--smoke); margin-bottom: 20px; line-height: 1.7; }
.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.pdp-stars { color: var(--gold); font-size: 15px; }
.pdp-rating-num { font-size: 14px; font-weight: 700; color: var(--ink); }
.pdp-review-count { font-size: 12px; color: var(--mist); }
.pdp-badge-row { display: flex; gap: 7px; flex-wrap: wrap; }
.pdp-mini-badge {
  background: transparent;
  color: var(--smoke);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.pdp-price {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--ink);
}
.pdp-mrp { font-size: 18px; color: var(--mist); text-decoration: line-through; }
.pdp-off {
  background: var(--gold);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

/* Quantity */
.pdp-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.qty-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smoke); font-family: var(--font-sans); }
.qty-ctrl {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}
.qty-btn {
  width: 38px; height: 38px;
  border: none;
  background: var(--bg);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ash);
  transition: background .15s;
}
.qty-btn:hover { background: var(--border); }
.qty-val { width: 44px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); }

/* Actions */
.pdp-actions { display: flex; gap: 10px; margin-bottom: 28px; }
.btn-atc {
  flex: 1;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  padding: 16px 22px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background .2s, border-color .2s;
}
.btn-atc:hover { background: var(--gold); border-color: var(--gold); }
.btn-buy {
  flex: 1;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 16px 22px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background .2s;
}
.btn-buy:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-wish {
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 0;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, background .15s;
}
.btn-wish:hover { border-color: var(--ink); background: var(--bg); }

/* Delivery */
.pdp-delivery {
  background: var(--bg);
  border-radius: 0;
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdp-del-icon { font-size: 20px; }
.pdp-del-text { font-size: 13px; color: var(--ash); line-height: 1.5; }
.pdp-del-text strong { color: var(--ink); }

/* Aff box */
.pdp-aff-box {
  background: rgba(176,141,87,.05);
  border: 1px dashed rgba(176,141,87,.4);
  border-radius: 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pdp-aff-text { font-size: 13px; color: var(--ash); }
.pdp-aff-text strong { color: var(--ink); font-weight: 700; }
.pdp-aff-earn { font-family: var(--font-serif); font-size: 28px; color: var(--gold); font-weight: 300; }

/* Tabs */
.pdp-tabs { background: var(--white); border-top: 1px solid var(--border-light); }
.pdp-tab-row { display: flex; padding: 0 60px; border-bottom: 1px solid var(--border-light); }
.pdp-tab {
  padding: 16px 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--font-sans);
  transition: color .15s;
}
.pdp-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.pdp-tab-body { padding: 40px 60px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.pdp-ing-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg);
  border-radius: 0;
  padding: 16px;
}
.ing-icon { font-size: 26px; }
.ing-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.ing-benefit { font-size: 11px; color: var(--smoke); }

/* ══════════════════════════════════════
   CHECKOUT
══════════════════════════════════════ */
.checkout { background: var(--bg); color: var(--ink); }
.checkout-steps {
  background: var(--white);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
}
.ck-step { display: flex; align-items: center; gap: 10px; }
.ck-step-num {
  width: 26px; height: 26px;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-sans);
}
.ck-step.done .ck-step-num   { background: var(--success); color: white; }
.ck-step.active .ck-step-num { background: var(--ink); color: white; }
.ck-step:not(.done):not(.active) .ck-step-num { background: var(--border-light); color: var(--mist); }
.ck-step-name { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-family: var(--font-sans); }
.ck-step:not(.done):not(.active) .ck-step-name { color: var(--mist); }
.ck-divider { flex: 1; height: 1px; background: var(--border-light); margin: 0 20px; }

.checkout-body {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  padding: 48px 60px;
  align-items: start;
}
.ck-form-section {
  background: var(--white);
  border-radius: 0;
  padding: 32px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}
.ck-section-title { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-bottom: 28px; display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); }
.ck-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ck-form-full { grid-column: 1/-1; }
.ck-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smoke); margin-bottom: 7px; display: block; font-family: var(--font-sans); }
.ck-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: white;
  transition: border-color .15s;
}
.ck-input:focus { border-color: var(--ink); outline: none; }
.ck-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: white;
  appearance: none;
}
.pay-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
.pay-method {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: border-color .15s, background .15s;
  font-family: var(--font-sans);
}
.pay-method.active { border-color: var(--ink); background: var(--bg); color: var(--ink); }
.pay-method-icon { font-size: 22px; display: block; margin-bottom: 6px; }

/* Order Summary */
.ck-summary {
  background: var(--white);
  border-radius: 0;
  padding: 32px;
  border: 1px solid var(--border-light);
  position: sticky;
  top: 20px;
}
.ck-sum-title { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-bottom: 24px; font-family: var(--font-sans); }
.ck-item { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.ck-item-img {
  width: 64px; height: 64px;
  border-radius: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
  overflow: hidden;
}
.ck-item-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; line-height: 1.3; font-family: var(--font-sans); }
.ck-item-meta { font-size: 11px; color: var(--mist); }
.ck-item-price { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }

.ck-divider-line { border: none; border-top: 1px solid var(--border-light); margin: 20px 0; }
.ck-sum-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; font-family: var(--font-sans); }
.ck-sum-row.total { font-weight: 700; font-size: 16px; margin-top: 14px; }
.ck-sum-row .label { color: var(--smoke); }
.ck-sum-row .value { color: var(--ink); }
.ck-sum-row .save  { color: var(--success); }
.ck-coupon-row { display: flex; gap: 8px; margin-bottom: 20px; }
.ck-coupon-input {
  flex: 1;
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink);
  background: var(--bg);
}
.ck-apply-btn {
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  border: none;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
}
.ck-place-btn {
  width: 100%;
  padding: 17px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  margin-top: 20px;
  transition: background .2s;
}
.ck-place-btn:hover { background: var(--gold); }
.ck-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; color: var(--mist); margin-top: 12px; font-family: var(--font-sans); letter-spacing: 0.06em; }
.ck-aff-discount {
  background: rgba(176,141,87,.06);
  border: 1px solid rgba(176,141,87,.25);
  border-radius: 0;
  padding: 10px 16px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.ck-aff-disc-text { font-size: 12px; color: var(--gold-deep); font-family: var(--font-sans); }

/* ══════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════ */
.user-login {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.auth-left {
  background: var(--ink);
  padding: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.06) 0%, transparent 70%);
  bottom: -240px; right: -200px;
}
.auth-left-logo { font-family: var(--font-serif); font-size: 24px; color: var(--white); margin-bottom: 52px; letter-spacing: 0.04em; }
.auth-left h2 {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.auth-left h2 em { font-style: italic; color: var(--gold-light); }
.auth-left p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 40px; }
.auth-perks { display: flex; flex-direction: column; gap: 14px; }
.auth-perk { display: flex; align-items: center; gap: 14px; font-size: 13px; color: rgba(255,255,255,.65); }
.auth-perk span:first-child { font-size: 18px; }
.auth-right { padding: 72px; display: flex; flex-direction: column; justify-content: center; background: var(--bg); }
.auth-form-title { font-family: var(--font-serif); font-size: 34px; font-weight: 300; color: var(--ink); margin-bottom: 8px; }
.auth-form-sub { font-size: 13px; color: var(--smoke); margin-bottom: 36px; }
.auth-label { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--smoke); display: block; margin-bottom: 8px; font-family: var(--font-sans); }
.auth-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  margin-bottom: 20px;
  transition: border-color .15s;
}
.auth-input:focus { border-color: var(--ink); outline: none; }
.auth-btn {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  margin-bottom: 20px;
  transition: background .2s, border-color .2s;
}
.auth-btn:hover { background: var(--gold); border-color: var(--gold); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-social-btn {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 10px;
  transition: border-color .15s;
}
.auth-social-btn:hover { border-color: var(--ink); }
.auth-switch { font-size: 13px; color: var(--smoke); text-align: center; margin-top: 12px; }
.auth-switch a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }

/* ══════════════════════════════════════
   USER REGISTER PAGE
══════════════════════════════════════ */
.user-reg {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.reg-left {
  background: var(--ink);
  padding: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.reg-left::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.07) 0%, transparent 70%);
  bottom: -220px; right: -200px;
}
.reg-left-logo { font-family: var(--font-serif); font-size: 24px; color: var(--white); margin-bottom: 48px; letter-spacing: 0.04em; }
.reg-left-top { position: relative; z-index: 1; }
.reg-left h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.reg-left h2 em { font-style: italic; color: var(--gold-light); }
.reg-left p { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.75; margin-bottom: 36px; }
.reg-benefits { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.reg-benefit { display: flex; align-items: flex-start; gap: 14px; }
.rb-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.rb-title { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; font-family: var(--font-sans); }
.rb-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.55; }

.reg-right {
  padding: 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  overflow-y: auto;
}
.reg-right h2 { font-family: var(--font-serif); font-size: 32px; font-weight: 300; color: var(--ink); margin-bottom: 6px; }
.reg-sub { font-size: 13px; color: var(--smoke); margin-bottom: 32px; }
.reg-sub a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.reg-full { grid-column: 1/-1; }
.reg-check-row { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 20px; }
.reg-check-text { font-size: 12px; color: var(--smoke); line-height: 1.6; }
.reg-check-text a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.reg-submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  margin-bottom: 16px;
  transition: background .2s, border-color .2s;
}
.reg-submit:hover { background: var(--gold); border-color: var(--gold); }
.reg-submit:disabled { opacity: .6; pointer-events: none; }

/* ══════════════════════════════════════
   AFFILIATE PROGRAM LANDING PAGE
══════════════════════════════════════ */
.aff-prog-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 80px 8% 72px;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.aff-prog-hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.07) 0%, transparent 70%);
  right: -100px; top: -200px;
}
.aff-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; font-family: var(--font-sans); }
.aff-prog-h1 { font-family: var(--font-serif); font-size: clamp(48px, 6vw, 80px); font-weight: 300; color: var(--white); line-height: 1.0; margin-bottom: 20px; letter-spacing: -.02em; position: relative; z-index: 1; }
.aff-prog-h1 em { font-style: italic; color: var(--gold-light); }
.aff-prog-desc { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 32px; max-width: 480px; position: relative; z-index: 1; }
.aff-prog-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; position: relative; z-index: 1; }
.btn-aff-primary {
  display: inline-block;
  padding: 15px 36px;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-aff-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }
.btn-aff-ghost {
  display: inline-block;
  padding: 15px 36px;
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.25);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-aff-ghost:hover { border-color: rgba(255,255,255,.6); color: var(--white); }
.aff-prog-stats { display: flex; gap: 36px; flex-wrap: wrap; position: relative; z-index: 1; }
.ap-stat-num { font-family: var(--font-serif); font-size: 32px; font-weight: 300; color: var(--gold-light); line-height: 1; margin-bottom: 4px; }
.ap-stat-lbl { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35); font-family: var(--font-sans); }

/* Earn card (right side) */
.aff-earn-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,.06);
  padding: 36px;
  position: relative; z-index: 1;
}
.aec-top { text-align: center; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.07); }
.aec-pct { font-family: var(--font-serif); font-size: 100px; font-weight: 300; color: var(--gold-light); line-height: 1; }
.aec-sub { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 8px; font-family: var(--font-sans); }
.aec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.05); }
.aec-item { background: var(--charcoal); padding: 18px 16px; text-align: center; }
.aec-item-icon { font-size: 20px; margin-bottom: 6px; }
.aec-item-val { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 2px; font-family: var(--font-sans); }
.aec-item-lbl { font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); font-family: var(--font-sans); }

/* How it works */
.aff-how { padding: 80px 8%; background: var(--bg); }
.aff-sec-tag { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-family: var(--font-sans); }
.aff-sec-title { font-family: var(--font-serif); font-size: 42px; font-weight: 300; color: var(--ink); line-height: 1.1; margin-bottom: 52px; }
.aff-sec-title em { font-style: italic; color: var(--gold); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%;
  width: 80%;
  height: 1px;
  background: var(--border);
}
.how-step { padding: 0 16px; text-align: center; position: relative; z-index: 1; }
.hs-circle {
  width: 56px; height: 56px;
  background: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 18px;
  border: 4px solid var(--bg);
}
.hs-num { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-family: var(--font-sans); }
.hs-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-family: var(--font-sans); }
.hs-desc { font-size: 12px; color: var(--smoke); line-height: 1.6; }

/* ══════════════════════════════════════
   AFFILIATE SIGNIN PAGE
══════════════════════════════════════ */
.aff-login {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.aff-auth-left {
  background: var(--ink);
  padding: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.aff-auth-left::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.06) 0%, transparent 70%);
  bottom: -240px; right: -200px;
}
.aff-auth-left h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
.aff-auth-left h2 em { font-style: italic; color: var(--gold-light); }
.aff-auth-sub { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.75; margin-bottom: 36px; position: relative; z-index: 1; }
.aff-stats-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.07); margin-bottom: 32px; position: relative; z-index: 1; }
.asm-item { background: var(--charcoal); padding: 20px 16px; text-align: center; }
.asm-val { font-family: var(--font-serif); font-size: 28px; font-weight: 300; color: var(--gold-light); line-height: 1; margin-bottom: 4px; }
.asm-lbl { font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.35); font-family: var(--font-sans); }

.aff-auth-right {
  padding: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.aff-auth-right h2 { font-family: var(--font-serif); font-size: 32px; font-weight: 300; color: var(--ink); margin-bottom: 6px; }
.aff-form { width: 100%; }
.aff-label { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--smoke); display: block; margin-bottom: 7px; font-family: var(--font-sans); }
.aff-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  margin-bottom: 20px;
  transition: border-color .15s;
}
.aff-input:focus { border-color: var(--ink); outline: none; }
.aff-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  margin-bottom: 20px;
  appearance: none;
  transition: border-color .15s;
}
.aff-select:focus { border-color: var(--ink); outline: none; }
.aff-pw-wrap { position: relative; }
.aff-pw-wrap .aff-input { padding-right: 48px; }
.aff-pw-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); margin-top: -10px; background: none; border: none; cursor: pointer; color: var(--mist); font-size: 16px; }
.aff-submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  margin-bottom: 16px;
  transition: background .2s, border-color .2s;
}
.aff-submit:hover { background: var(--gold); border-color: var(--gold); }
.aff-submit:disabled { opacity: .6; pointer-events: none; }
.aff-forgot { display: block; text-align: right; font-size: 11px; color: var(--smoke); text-decoration: none; margin-top: -14px; margin-bottom: 20px; transition: color .15s; }
.aff-forgot:hover { color: var(--ink); }
.aff-status-action { display: flex; align-items: center; justify-content: space-between; background: rgba(176,141,87,.05); border: 1px solid rgba(176,141,87,.2); padding: 12px 16px; margin-bottom: 12px; }
.aff-status-action span { font-size: 12px; color: var(--smoke); }
.aff-status-action a { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); }

/* ── Login tabs (shared across signin pages) ── */
.aff-login-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.aff-login-tab {
  padding: 12px 0;
  margin-right: 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--font-sans);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: color .15s;
}
.aff-login-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.aff-login-panel { display: none; }
.aff-login-panel.active { display: block; }
.aff-otp-step { display: none; }
.aff-otp-step.active { display: block; }

/* ══════════════════════════════════════
   AFFILIATE REGISTER PAGE
══════════════════════════════════════ */
.auth-wrap { background: var(--bg); }
.aff-reg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--white);
}
.aff-reg-left {
  background: var(--ink);
  padding: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
.aff-reg-left::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,87,.07) 0%, transparent 70%);
  bottom: -220px; right: -200px;
}
.arl-badge {
  display: inline-block;
  background: rgba(176,141,87,.15);
  color: var(--gold-light);
  border: 1px solid rgba(176,141,87,.3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 28px;
  font-family: var(--font-sans);
  position: relative; z-index: 1;
}
.arl-h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
.arl-h2 em { font-style: italic; color: var(--gold-light); }
.arl-desc { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.75; margin-bottom: 36px; position: relative; z-index: 1; }
.arl-features { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.arf { display: flex; align-items: center; gap: 12px; }
.arf-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.arf-text { font-size: 13px; color: rgba(255,255,255,.65); }

.aff-reg-right {
  padding: 64px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  overflow-y: auto;
}
.aff-reg-right h3 { font-family: var(--font-serif); font-size: 30px; font-weight: 300; color: var(--ink); margin-bottom: 6px; }
.aff-reg-sub { font-size: 13px; color: var(--smoke); margin-bottom: 28px; }
.aff-reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.aff-reg-full { grid-column: 1/-1; }
.aff-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  margin-bottom: 20px;
  min-height: 90px;
  resize: vertical;
  transition: border-color .15s;
}
.aff-textarea:focus { border-color: var(--ink); outline: none; }
.aff-reg-submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  margin: 20px 0 12px;
  transition: background .2s, border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.aff-reg-submit:hover { background: var(--gold); border-color: var(--gold); }
.aff-reg-submit:disabled { opacity: .6; pointer-events: none; }
.aff-reg-note { font-size: 11px; color: var(--mist); text-align: center; letter-spacing: .06em; margin-top: 8px; font-family: var(--font-sans); }

.ref-box {
  background: rgba(176,141,87,.08);
  border: 1px dashed rgba(176,141,87,.4);
  border-radius: 0;
  padding: 18px 20px;
  margin: 20px auto;
  font-size: 13px;
  color: var(--gold-deep);
  font-family: var(--font-sans);
  font-weight: 600;
  max-width: 320px;
  text-align: center;
}
.ref-box span { display: block; font-family: var(--font-serif); font-size: 22px; color: var(--gold); margin-top: 6px; letter-spacing: 0.08em; }

/* Alert styles */
.alert { padding: 12px 16px; border-radius: 0; font-size: 13px; margin-bottom: 16px; display: none; font-family: var(--font-sans); }
.alert.show, .alert:not(:empty) { display: block; }
.alert-error { background: rgba(140,31,31,.06); border: 1px solid rgba(140,31,31,.3); color: var(--error); }
.alert-success { background: rgba(42,96,64,.06); border: 1px solid rgba(42,96,64,.3); color: var(--success); }
.error { font-size: 11px; color: var(--error); display: block; margin-top: -14px; margin-bottom: 14px; }

/* ══════════════════════════════════════
   USER DASHBOARD
══════════════════════════════════════ */
.udash-main .pc a { text-align: center; }
.udash-main .pc-img { height: 320px; }
.udash-main .pc-img img { height: 100%; }

/* ══════════════════════════════════════
   INGREDIENT CARD (PDP)
══════════════════════════════════════ */
.ingredient-grid .row { margin: 0; }
.ingredient-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 0;
  padding: 20px;
  margin-bottom: 16px;
  transition: border-color .2s;
}
.ingredient-card:hover { border-color: var(--gold); }
.ingredient-image { width: 60px; height: 60px; border-radius: 0; overflow: hidden; margin-bottom: 12px; }
.ingredient-image img { width: 100%; height: 100%; object-fit: cover; }
.ingredient-content h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-family: var(--font-sans); }
.ingredient-content ul { list-style: none; padding: 0; }
.ingredient-content ul li { font-size: 12px; color: var(--smoke); padding: 2px 0; }
.ingredient-content ul li::before { content: '— '; color: var(--gold); font-weight: 700; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media(max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .vnav { padding: 0 28px; }
  .hp-products { padding: 52px 36px; }
  .hp-cats { padding: 40px 36px; }
  .hp-banner { margin: 0 36px 56px; padding: 48px 48px; }
  .bb-footer-middle { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
}
@media(max-width: 900px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-body { grid-template-columns: 1fr; }
  .pdp-gallery { padding: 28px 24px; }
  .pdp-info { padding: 32px 24px; }
  .pdp-tab-row { padding: 0 24px; overflow-x: auto; }
  .pdp-tab-body { padding: 28px 24px; grid-template-columns: 1fr 1fr; }
  .checkout-body { grid-template-columns: 1fr; padding: 28px 20px; }
  .ck-summary { position: static; }
  .bb-footer-middle { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
  .bb-footer-top { padding: 16px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .bb-footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .hp-banner { flex-direction: column; gap: 28px; text-align: center; margin: 0 24px 44px; }
  .user-login { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 48px 32px; }
  .user-reg { grid-template-columns: 1fr; }
  .reg-left { display: none; }
  .reg-right { padding: 48px 32px; }
  .aff-login { grid-template-columns: 1fr; }
  .aff-auth-left { display: none; }
  .aff-auth-right { padding: 48px 32px; }
  .aff-reg { grid-template-columns: 1fr; }
  .aff-reg-left { display: none; }
  .aff-reg-right { padding: 48px 32px; }
  .aff-stats-mini { grid-template-columns: repeat(3,1fr); }
  .aff-prog-hero { grid-template-columns: 1fr; padding: 56px 6% 48px; }
  .aff-earn-card { display: none; }
  .how-steps { grid-template-columns: repeat(3,1fr); gap: 24px; }
  .how-steps::before { display: none; }
  .aff-how { padding: 56px 6%; }
}
@media(max-width: 600px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-products { padding: 36px 16px; }
  .sec-title { font-size: 32px; }
  .hp-cats { padding: 28px 16px; }
  .cat-item { flex: 0 0 160px; max-width: 160px; }
  body { overflow-x: hidden; }
}

/* ════════════════════════════════════════════════════════════
   HOMEPAGE ADVERTISEMENT
════════════════════════════════════════════════════════════ */
.hp-ads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 28px 56px;
  background: var(--bg);
}
.hp-ads:has(.hp-ad:only-child) { grid-template-columns: 1fr; }
.hp-ad {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
  min-height: 120px;
}
.hp-ad img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-ad-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.6));
  color: #fff;
}
.hp-ad-title { font-family: var(--font-serif); font-size: 22px; font-weight: 300; line-height: 1.2; }
.hp-ad-sub { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 4px; }
@media(max-width: 600px) {
  .hp-ads { padding: 20px 16px; gap: 14px; }
}

/* ════════════════════════════════════════════════════════════
   ACCOUNT / DASHBOARD
   User dashboard = LIGHT theme · Affiliate portal = DARK theme.
   Page-specific content styles live inline in each view; this
   section supplies the shared shell, sidebar, cards & primitives
   that every account page depends on.
════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   USER DASHBOARD (light)
───────────────────────────────────────────── */
.user-dash { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: var(--bg); }

/* Sidebar */
.udash-sidebar { background: var(--white); border-right: 1px solid var(--border-light); display: flex; flex-direction: column; padding: 22px 0 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.udash-logo { padding: 0 24px 16px; border-bottom: 1px solid var(--border-light); margin-bottom: 12px; }
.udash-user { display: flex; align-items: center; gap: 12px; padding: 0 24px 16px; margin-bottom: 4px; border-bottom: 1px solid var(--border-light); }
.udash-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.udash-uname { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.udash-email { font-size: 11px; color: var(--smoke); margin-top: 2px; word-break: break-all; }
.udash-nav-grp { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); padding: 14px 24px 8px; }
.udash-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 24px; font-size: 13px; font-weight: 500; color: var(--smoke); text-decoration: none; border-left: 3px solid transparent; transition: all .15s; }
.udash-nav-item:hover { background: var(--bg); color: var(--ink); }
.udash-nav-item.active { background: rgba(176,141,87,.07); color: var(--ink); font-weight: 600; border-left-color: var(--gold); }
.udash-nav-item .ni-icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.udash-nav-item .ni-badge { margin-left: auto; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; border-radius: 100px; padding: 2px 8px; }

/* Mobile sidebar toggle */
.udash-hamburger { display: none; position: fixed; top: 14px; left: 14px; z-index: 200; width: 42px; height: 42px; border: none; border-radius: 8px; background: var(--ink); color: #fff; font-size: 18px; cursor: pointer; }
.udash-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 150; }
.udash-overlay.open { display: block; }

/* Main */
.udash-main { padding: 36px 40px; min-width: 0; }
.udash-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.udash-greet { font-family: var(--font-serif); font-size: 30px; font-weight: 300; color: var(--ink); line-height: 1.2; }
.udash-greet em { font-style: italic; color: var(--gold); }

/* Quick stats */
.udash-quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.uqstat { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px; }
.uqstat-icon { font-size: 24px; margin-bottom: 10px; }
.uqstat-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--smoke); margin-bottom: 6px; }
.uqstat-val { font-family: var(--font-serif); font-size: 30px; font-weight: 300; color: var(--ink); line-height: 1; }

/* Cards / grids */
.udash-mid, .udash-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.udash-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; }
.udash-card-title { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }

/* Recent orders list */
.order-item { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.order-item:last-child { border-bottom: none; }
.oi-img { width: 46px; height: 46px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.oi-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.oi-meta { font-size: 11px; color: var(--smoke); margin-top: 2px; }
.oi-price { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.oi-status { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.oi-status.delivered  { background: #E6F4EE; color: #1A7A52; }
.oi-status.shipped    { background: #E7F0FB; color: #1F5FA8; }
.oi-status.processing { background: #FFF4E0; color: #B07A00; }
.oi-status.cancelled  { background: #FCE8E8; color: #B23030; }

/* Wishlist mini-grid */
.wishlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-item { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border-light); border-radius: 8px; transition: border-color .15s; }
.wl-item:hover { border-color: var(--gold); }
.wl-img { width: 42px; height: 42px; border-radius: 6px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.wl-name { font-size: 12px; font-weight: 600; color: var(--ink); }
.wl-price { font-size: 12px; color: var(--gold-deep); font-weight: 700; margin-top: 2px; }

/* Address cards */
.addr-card { border: 1px solid var(--border-light); border-radius: 8px; padding: 14px 16px; background: var(--bg); }
.addr-label { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.addr-text { font-size: 12px; color: var(--smoke); line-height: 1.6; }

/* ─────────────────────────────────────────────
   AFFILIATE PORTAL (dark)
   (.adash-nav-item, .adash-menu-toggle, .adash-sidebar-overlay,
    .adash-av-text, .adn-notif are defined inline in the layout.)
───────────────────────────────────────────── */
.aff-dash { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: #0F0F0F; color: #CFCFCF; }

/* Sidebar (dark) */
.adash-sidebar { background: var(--charcoal); border-right: 1px solid #222; display: flex; flex-direction: column; padding: 22px 0 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.adash-logo { padding: 0 24px 16px; border-bottom: 1px solid #222; margin-bottom: 6px; }
.adash-logo-sub { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.adash-user { padding: 16px 24px; border-bottom: 1px solid #222; margin-bottom: 6px; }
.adash-uname { font-size: 14px; font-weight: 700; color: #fff; }
.adash-tier { display: inline-block; font-size: 11px; font-weight: 600; color: var(--gold-light); background: rgba(176,141,87,.12); border: 1px solid rgba(176,141,87,.25); border-radius: 100px; padding: 3px 10px; }
.adash-nav-grp { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #555; padding: 14px 24px 8px; }
.adn-icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.adn-badge { font-size: 9px; font-weight: 700; background: var(--gold); color: var(--ink); border-radius: 100px; padding: 2px 7px; }

/* Tier-progress box */
.adash-tier-box { background: rgba(176,141,87,.06); border: 1px solid rgba(176,141,87,.18); border-radius: 10px; padding: 14px 16px; }
.atb-label { font-size: 12px; font-weight: 700; color: var(--gold-light); margin-bottom: 4px; }
.atb-desc { font-size: 11px; color: #888; line-height: 1.5; margin-bottom: 10px; }
.atb-bar-bg { background: #2A2A2A; border-radius: 100px; height: 6px; overflow: hidden; }
.atb-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* Main (dark) */
.adash-main { padding: 32px 36px; min-width: 0; }
.adash-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.adash-greet { font-family: var(--font-serif); font-size: 28px; font-weight: 300; color: #fff; line-height: 1.2; }
.adash-greet em { font-style: italic; color: var(--gold-light); }
.adash-greet-sub { font-size: 12px; color: #888; margin-top: 4px; }
.adash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.adash-btn { padding: 10px 18px; border-radius: 6px; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .04em; cursor: pointer; border: 1px solid transparent; transition: .15s; }
.adash-btn.primary { background: var(--gold); color: var(--ink); }
.adash-btn.primary:hover { background: var(--gold-light); }
.adash-btn.secondary { background: transparent; color: #CFCFCF; border-color: #333; }
.adash-btn.secondary:hover { border-color: var(--gold); color: var(--gold-light); }

/* Stat cards */
.adash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.adash-stat { background: var(--charcoal); border: 1px solid #222; border-radius: 10px; padding: 20px; }
.adash-stat-icon { font-size: 20px; margin-bottom: 10px; }
.adash-stat-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555; margin-bottom: 8px; }
.adash-stat-val { font-family: var(--font-serif); font-size: 28px; font-weight: 300; color: var(--cream); line-height: 1; }
.adash-stat-change { font-size: 11px; font-weight: 600; margin-top: 8px; color: #5ABB7A; }
.adash-stat-change.down { color: #e05a5a; }

/* Cards / tables (dark) */
.adash-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.adash-card, .adash-table-card { background: var(--charcoal); border: 1px solid #222; border-radius: 10px; padding: 22px; }
.adash-card-title { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #222; }
.adash-table { width: 100%; border-collapse: collapse; }
.adash-table th { text-align: left; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555; padding: 0 12px 12px; border-bottom: 1px solid #222; }
.adash-table td { padding: 13px 12px; font-size: 13px; color: #AAA; border-bottom: 1px solid #1E1E1E; }
.adash-table tr:last-child td { border-bottom: none; }
.adash-status { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 10px; font-weight: 700; background: rgba(176,141,87,.12); color: var(--gold-light); }

/* Bar chart */
.adash-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.adash-bar-g { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.adash-bar-set { flex: 1; display: flex; align-items: flex-end; width: 100%; justify-content: center; }
.adash-bar { width: 60%; min-width: 6px; border-radius: 3px 3px 0 0; background: #333; transition: height .3s; }
.adash-bar.earn { background: linear-gradient(180deg, var(--gold-light), var(--gold)); }
.adash-bar-lbl { font-size: 9px; color: #666; }

/* Progress rows */
.adash-prog-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; color: #888; }
.adash-prog-bg { flex: 1; background: #222; border-radius: 100px; height: 6px; overflow: hidden; }
.adash-prog-fill { height: 100%; border-radius: 100px; background: var(--gold); }

/* Legend / chart tabs / perf */
.adash-chart-tabs { display: flex; gap: 6px; }
.adash-chart-tab { padding: 6px 12px; border-radius: 100px; font-size: 11px; font-weight: 600; color: #888; background: #1C1C1C; border: 1px solid #2A2A2A; cursor: pointer; }
.adash-chart-tab.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.adash-legend { display: flex; flex-direction: column; gap: 8px; }
.adash-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #888; }
.adash-legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.adash-perf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adash-perf-card { background: var(--charcoal); border: 1px solid #222; border-radius: 10px; padding: 20px; }
.adash-perf-title { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555; margin-bottom: 8px; }

/* Affiliate-dashboard misc: stat-mini (asm) + recent-feed (arf) */
.asm-item { text-align: center; }
.asm-lbl { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #555; margin-top: 4px; }
.asm-val { font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: var(--cream); }
.arf { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #1E1E1E; }
.arf:last-child { border-bottom: none; }
.arf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.arf-text { font-size: 12px; color: #999; }

/* ─────────────────────────────────────────────
   AFFILIATE AUTH (sign-in / register / reset)
   Light split-panel — mirrors the user auth pages.
───────────────────────────────────────────── */
.aff-login, .aff-reg { background: var(--white); display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.aff-auth-left, .aff-reg-left { background: var(--ink); padding: 72px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.aff-auth-left::before, .aff-reg-left::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(176,141,87,.06) 0%, transparent 70%); bottom: -240px; right: -200px; }
.aff-auth-left h2, .aff-reg-left h2 { font-family: var(--font-serif); font-size: 44px; font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.01em; position: relative; z-index: 1; }
.aff-auth-left h2 em, .aff-reg-left h2 em { font-style: italic; color: var(--gold-light); }
.aff-auth-left p, .aff-reg-left p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 32px; position: relative; z-index: 1; }
.aff-auth-right, .aff-reg-right { padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; background: var(--bg); }
.aff-auth-right h3, .aff-reg-right h2, .aff-reg-right h3 { font-family: var(--font-serif); font-size: 32px; font-weight: 300; color: var(--ink); margin-bottom: 8px; }
.aff-auth-sub, .aff-reg-sub { font-size: 13px; color: var(--smoke); margin-bottom: 28px; line-height: 1.6; }
.aff-form { display: block; }
.aff-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); margin-bottom: 8px; font-family: var(--font-sans); }
.aff-input, .aff-select, .aff-textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 0; font-family: var(--font-sans); font-size: 14px; color: var(--ink); background: var(--white); margin-bottom: 16px; transition: border-color .15s; }
.aff-input:focus, .aff-select:focus, .aff-textarea:focus { border-color: var(--ink); outline: none; }
.aff-textarea { resize: none; height: 90px; line-height: 1.5; }
.aff-submit, .aff-reg-submit { width: 100%; padding: 15px; background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: 0; font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.aff-submit:hover, .aff-reg-submit:hover { background: var(--gold); border-color: var(--gold); }
.aff-reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.aff-reg-full { grid-column: 1 / -1; }
.aff-reg-note { font-size: 11px; color: var(--smoke); margin-top: 14px; line-height: 1.6; }
.aff-forgot { font-size: 12px; }
.aff-forgot a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); }
.aff-otp-step { margin-top: 8px; }
.aff-status-action { margin-top: 16px; font-size: 13px; color: var(--smoke); }
.aff-status-action a { color: var(--ink); font-weight: 600; }
.aff-stats-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; position: relative; z-index: 1; }
.apc-right { text-align: right; }

/* Referral link box (alb-) */
.aff-link-box { background: #161616; border: 1px solid #2A2A2A; border-radius: 10px; padding: 18px; }
.alb-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #666; margin-bottom: 8px; }
.alb-url, .alb-code { font-family: monospace; font-size: 13px; color: var(--gold-light); word-break: break-all; }
.alb-copy { padding: 8px 16px; background: var(--gold); color: var(--ink); border: none; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; }
.alb-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.alb-mini-stat { text-align: center; background: #1C1C1C; border-radius: 8px; padding: 12px; }
.alb-ms-val { font-family: var(--font-serif); font-size: 20px; color: var(--cream); }
.alb-ms-lbl { font-size: 9px; color: #666; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* Marketing copy on auth left panel (arl-) */
.arl-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: rgba(176,141,87,.12); border: 1px solid rgba(176,141,87,.25); border-radius: 100px; padding: 5px 12px; margin-bottom: 18px; }
.arl-h2 { font-family: var(--font-serif); font-size: 30px; font-weight: 300; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.arl-h2 em { font-style: italic; color: var(--gold-light); }
.arl-desc { font-size: 13px; color: #999; line-height: 1.7; margin-bottom: 20px; }
.arl-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.arl-features li { font-size: 13px; color: #CFCFCF; display: flex; align-items: center; gap: 10px; }

/* ── Dashboard responsive ── */
@media(max-width: 900px) {
  .user-dash { grid-template-columns: 1fr; }
  .udash-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; max-width: 82vw; z-index: 160; height: 100%; transform: translateX(-110%); transition: transform .25s ease; }
  .udash-sidebar.open { transform: translateX(0); }
  .udash-hamburger { display: block; }
  .udash-main { padding: 66px 18px 28px; }
  .udash-quick-stats { grid-template-columns: 1fr 1fr; }
  .udash-mid, .udash-bottom { grid-template-columns: 1fr; }

  .aff-dash { grid-template-columns: 1fr; }
  .adash-main { padding: 66px 16px 28px; }
  .adash-stats, .adash-perf { grid-template-columns: 1fr 1fr; }
  .adash-mid { grid-template-columns: 1fr; }
}
@media(max-width: 560px) {
  .udash-quick-stats, .adash-stats, .adash-perf { grid-template-columns: 1fr; }
  .wishlist-grid { grid-template-columns: 1fr; }
  .aff-login, .aff-reg { grid-template-columns: 1fr; margin: 24px 16px; }
  .aff-auth-left, .aff-reg-left { display: none; }
  .aff-reg-grid { grid-template-columns: 1fr; }
}
