/* ================================================================
   HCBNL — Built for Bulk  |  custom.css
   ================================================================
   RULES (enforced forever):
   1. One selector block per component. Dark-mode variant just below.
   2. All colours/spacing use CSS variables — never raw hex in rules.
   3. Numbered §1–§22. New sections go at END, never in-between.
   4. NEVER APPEND — edit the existing numbered section.
   ================================================================ */


/* ────────────────────────────────────────────────────────────────
   §1  DESIGN TOKENS
──────────────────────────────────────────────────────────────── */
:root {
  --gold:      #d4a64a;
  --gold-dk:   #b8922f;
  --gold-tint: rgba(212,166,74,.14);

  --bg:        #ffffff;
  --bg-card:   #ffffff;
  --bg-subtle: #f5f5f5;
  --bg-input:  #ffffff;
  --text:      #111111;
  --text-muted:#777777;
  --border:    #e5e5e5;

  --sh-xs: 0 1px 4px  rgba(0,0,0,.06);
  --sh-sm: 0 2px 10px rgba(0,0,0,.07);
  --sh:    0 4px 22px rgba(0,0,0,.10);
  --sh-lg: 0 10px 42px rgba(0,0,0,.14);

  --nav-h: 68px;
  --bot-h: 60px;

  --r-lg: 14px;
  --r:    10px;
  --r-sm:  7px;

  --font: 'DM Sans', sans-serif;
  --t: 0.2s ease;
}
body.dark-mode {
  --bg:        #111111;
  --bg-card:   #1c1c1c;
  --bg-subtle: #242424;
  --bg-input:  #1e1e1e;
  --text:      #e8e8e8;
  --text-muted:#888888;
  --border:    #303030;
  --sh-xs: 0 1px 4px  rgba(0,0,0,.35);
  --sh-sm: 0 2px 10px rgba(0,0,0,.40);
  --sh:    0 4px 22px rgba(0,0,0,.50);
  --sh-lg: 0 10px 42px rgba(0,0,0,.65);
}


/* ────────────────────────────────────────────────────────────────
   §2  RESET & BASE
──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  padding-top: var(--nav-h);
  padding-bottom: calc(var(--bot-h) + env(safe-area-inset-bottom, 0px));
  transition: background-color var(--t), color var(--t);
}
/* Home page: hero sits flush under transparent navbar */
body.page-home { padding-top: 0; }
@media (min-width: 992px) { body { padding-bottom: 0; } }

img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--text); }
p  { color: var(--text-muted); margin-bottom: 0; }
.text-gold  { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }


/* ────────────────────────────────────────────────────────────────
   §3  NAVBAR
──────────────────────────────────────────────────────────────── */
.navbar {
  height: var(--nav-h);
  padding-top: 0; padding-bottom: 0;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1050;
  transition: background-color var(--t), border-color var(--t);
}
body.dark-mode .navbar {
  background-color: #111111 !important;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0; text-decoration: none; white-space: nowrap;
}
.navbar-brand-image {
  width: 42px; height: 42px;
  object-fit: contain;
  filter: brightness(0);            /* dark logo on light bg */
  flex-shrink: 0;
  transition: filter var(--t);
}
body.dark-mode .navbar-brand-image {
  filter: brightness(0) invert(1);  /* white logo on dark bg */
}
.navbar-brand-text {
  color: #111111; font-size: 17px; font-weight: 700; line-height: 1.2;
  transition: color var(--t);
}
body.dark-mode .navbar-brand-text { color: #fff; }
.navbar-brand-text small {
  display: block; font-size: 8.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--gold); margin-top: 1px;
}
body.dark-mode .navbar-brand-text small {
  font-weight: 500;
  color: var(--gold);
}
.navbar-nav .nav-link {
  color: rgba(17,17,17,.78); font-size: 14.5px; font-weight: 500;
  padding: 6px 15px; border-radius: var(--r-sm);
  transition: color var(--t);
}
body.dark-mode .navbar-nav .nav-link { color: rgba(255,255,255,.78); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold); }

.nav-icon-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(0,0,0,.07); border: none; border-radius: 50%;
  color: #111; font-size: 16px;
  cursor: pointer; flex-shrink: 0;
  text-decoration: none;
  transition: background var(--t), color var(--t);
}
body.dark-mode .nav-icon-btn {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.nav-icon-btn:hover,
.nav-icon-btn:focus { background: rgba(0,0,0,.14); color: #111; outline: none; }
body.dark-mode .nav-icon-btn:hover,
body.dark-mode .nav-icon-btn:focus { background: rgba(255,255,255,.17); color: #fff; }

.cart-count {
  position: absolute; top: -3px; right: -3px;
  min-width: 16px; height: 16px; padding: 0 3px;
  background: var(--gold); color: #000;
  font-size: 9px; font-weight: 700;
  border-radius: 8px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

.nav-account-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(0,0,0,.07); border-radius: 50%;
  color: #111; font-size: 17px; flex-shrink: 0;
  text-decoration: none; transition: background var(--t), color var(--t);
}
.nav-account-link:hover { background: rgba(0,0,0,.14); color: #111; }
body.dark-mode .nav-account-link { background: rgba(255,255,255,.08); color: #fff; }
body.dark-mode .nav-account-link:hover { background: rgba(255,255,255,.17); color: #fff; }

.nav-user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #000;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.2);
  cursor: pointer; flex-shrink: 0;
}
.nav-user-btn {
  background: none; border: none;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 0;
}
.nav-user-btn::after { display: none; }
.nav-user-name { color: #111; font-size: 13px; font-weight: 600; }
body.dark-mode .nav-user-name { color: #fff; }

.dropdown-menu {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--sh-lg);
  padding: 8px 0; min-width: 210px;
}
.dropdown-user-info {
  display: block; padding: 6px 16px 10px;
  font-size: 11px; color: var(--text-muted);
  border-bottom: 1px solid var(--border); margin-bottom: 4px;
}
.dropdown-item {
  padding: 9px 16px; font-size: 13px; color: var(--text);
  display: flex; align-items: center; gap: 10px;
  transition: background var(--t);
}
.dropdown-item:hover { background: var(--bg-subtle); color: var(--text); }
.dropdown-item.text-danger { color: #dc3545; }
.dropdown-item.text-danger:hover { background: #fff5f5; }
body.dark-mode .dropdown-item.text-danger:hover { background: #2a1212; }


/* ────────────────────────────────────────────────────────────────
   §4  MOBILE BOTTOM NAV
──────────────────────────────────────────────────────────────── */
.mobile-bottom-nav {
  display: flex; position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--bot-h) + env(safe-area-inset-bottom, 0px));
  background: #111; border-top: 1px solid #222; z-index: 1040;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  /* Chrome on iOS needs explicit -webkit- prefix for safe-area */
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
@supports (padding-bottom: constant(safe-area-inset-bottom)) {
  .mobile-bottom-nav {
    height: calc(var(--bot-h) + constant(safe-area-inset-bottom));
    padding-bottom: constant(safe-area-inset-bottom);
  }
}
@media (min-width: 992px) { .mobile-bottom-nav { display: none !important; } }

.bottom-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; padding: 6px 0; position: relative;
  text-decoration: none; color: rgba(255,255,255,.45);
  font-size: 9px; font-weight: 600; transition: color var(--t);
}
/* ↓ ICON SIZE: change font-size here to make bottom nav icons bigger/smaller */
.bottom-item i { font-size: 22px; font-weight: 900; -webkit-text-stroke: 0.4px currentColor; }
.bottom-item.active, .bottom-item:hover { color: var(--gold); }
.cart-count-mobile {
  position: absolute; top: 4px; right: calc(50% - 20px);
  width: 15px; height: 15px;
  background: var(--gold); color: #000;
  font-size: 8px; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}


/* ────────────────────────────────────────────────────────────────
   §5  MOBILE ACCOUNT SLIDE-UP SHEET
   BUG FIX: JS adds/removes "open" class on .mob-acct-sheet (the
   outer wrapper). CSS transitions MUST be scoped to that selector.
──────────────────────────────────────────────────────────────── */
.mob-acct-backdrop {
  position: fixed; inset: 0; z-index: 2999;
  background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mob-acct-sheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 3000; pointer-events: none;
}
/* Trigger states via the parent .mob-acct-sheet.open */
.mob-acct-sheet.open                    { pointer-events: all; }
.mob-acct-sheet.open .mob-acct-backdrop { opacity: 1; pointer-events: all; }
.mob-acct-sheet.open .mob-acct-panel    { transform: translateY(0); }

.mob-acct-panel {
  position: relative; z-index: 3000;
  background: var(--bg-card);
  border-radius: 18px 18px 0 0;
  padding: 14px 20px max(28px, env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.32,1,.23,1);
}
.mob-acct-handle {
  width: 36px; height: 4px; background: var(--border);
  border-radius: 2px; margin: 0 auto 16px;
}
.mob-acct-user    { text-align: center; margin-bottom: 12px; }
.mob-acct-avatar, .mob-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: #000;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
}
.mob-acct-name  { font-weight: 700; font-size: 15px; color: var(--text); }
.mob-acct-email { font-size: 12px; color: var(--text-muted); }
.mob-acct-actions { border-top: 1px solid var(--border); margin-top: 10px; }
.mob-acct-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 0;
  border: none; border-bottom: 1px solid var(--border);
  background: none; color: var(--text);
  font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; font-family: var(--font);
  transition: color var(--t);
}
.mob-acct-btn:last-child  { border-bottom: none; }
.mob-acct-btn:hover       { color: var(--gold); }
.mob-acct-signout         { color: #dc3545 !important; }
.mob-acct-signout:hover   { color: #a82020 !important; }


/* ────────────────────────────────────────────────────────────────
   §6  SEARCH OVERLAY — fully theme-responsive
   INPUT background is set explicitly to var(--bg-card), NOT
   "transparent", because browsers can inject white on transparent
   inputs in dark mode (iOS Safari, some Chromium versions).
──────────────────────────────────────────────────────────────── */
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.60);
  align-items: flex-start; justify-content: center;
  padding-top: 78px;
}
.search-overlay.open,
.search-overlay.active { display: flex; }

.search-container {
  width: min(580px, calc(100vw - 20px));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.search-input-row {
  display: flex; align-items: center;
  padding: 0 14px; border-bottom: 1px solid var(--border);
}
.search-input-icon { color: var(--text-muted); font-size: 15px; flex-shrink: 0; }

#searchInput,
.search-container input[type="text"] {
  flex: 1; border: none; outline: none;
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font); font-size: 15px; padding: 15px 12px;
  -webkit-appearance: none;
}
#searchInput::placeholder,
.search-container input[type="text"]::placeholder { color: var(--text-muted); }

.search-close-btn {
  background: none; border: none; color: var(--text-muted);
  font-size: 17px; padding: 8px; cursor: pointer; flex-shrink: 0;
  transition: color var(--t);
}
.search-close-btn:hover { color: var(--text); }

.search-results {
  padding: 6px 0; max-height: 380px; overflow-y: auto;
  background: var(--bg-card);
}
.search-spinner { padding: 18px; text-align: center; }
.search-empty   { padding: 16px; font-size: 13px; color: var(--text-muted); }

.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; color: var(--text);
  text-decoration: none; transition: background var(--t);
}
.search-result-item:hover { background: var(--bg-subtle); }
.search-result-img-wrap {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--bg-subtle); overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.search-result-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info  { flex: 1; min-width: 0; }
.search-result-name  { font-weight: 600; font-size: 13px; color: var(--text); line-height: 1.3; }
.search-result-cat   { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.search-result-price { font-size: 12px; color: var(--gold); font-weight: 700; margin-top: 2px; }
.search-see-all {
  display: block; padding: 12px 16px; font-size: 13px;
  color: var(--gold); border-top: 1px solid var(--border);
  background: var(--bg-card); text-decoration: none;
  transition: background var(--t);
}
.search-see-all:hover { background: var(--bg-subtle); }
mark { background: rgba(212,166,74,.22); border-radius: 2px; padding: 0 2px; color: inherit; }


/* ────────────────────────────────────────────────────────────────
   §7  HERO CAROUSEL
   body.page-home removes top padding so carousel occupies y=0.
   No negative-margin tricks — clean, predictable on all browsers.

   Backward-compatible aliases (.hero-slide, .hcbnl-carousel-wrap)
   map to the new names so existing HTML works without touching it.
──────────────────────────────────────────────────────────────── */
.hcbnl-hero-wrap,
.hcbnl-carousel-wrap { width: 100%; overflow: hidden; position: relative; }

/* Each slide */
.hcbnl-slide,
.hero-slide {
  position: relative;
  display: block; width: 100%; height: 540px;
  overflow: hidden; background: #1a1a2e;
}
@media (max-width: 767px) {
  .hcbnl-slide, .hero-slide { height: 430px; }
}
@media (min-width: 1400px) {
  .hcbnl-slide, .hero-slide { height: 620px; }
}

/* Hero photo — fills the slide absolutely, no layout impact */
.hcbnl-slide__img,
.hero-slide-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hcbnl-slide__img--desk, .hero-slide-desktop { display: block; }
.hcbnl-slide__img--mob,  .hero-slide-mobile  { display: none;  }
@media (max-width: 767px) {
  .hcbnl-slide__img--desk, .hero-slide-desktop { display: none;  }
  .hcbnl-slide__img--mob,  .hero-slide-mobile  { display: block; }
}

/* Gradient scrim */
.hcbnl-slide__scrim,
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.22) 60%, transparent 100%);
}

/* Caption — above the bottom, clear of the mobile bottom nav */
.hcbnl-slide__body,
.hero-caption {
  position: absolute; bottom: 72px; left: 0; right: 0; z-index: 2;
  padding: 0 max(16px, calc((100% - 1200px) / 2 + 24px));
}
@media (max-width: 767px) {
  .hcbnl-slide__body,
  .hero-caption { bottom: 40px; padding: 0 20px; }
}
.hcbnl-slide__body h1, .hero-caption h1 {
  color: #fff; font-size: clamp(26px, 5vw, 56px); font-weight: 700;
  line-height: 1.1; margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.hcbnl-slide__body p, .hero-caption p {
  color: rgba(255,255,255,.88); font-size: clamp(13px, 2vw, 18px);
  margin-bottom: 22px;
}

.btn-hero {
  display: inline-block; background: var(--gold); color: #000;
  font-weight: 700; font-size: 15px; padding: 13px 32px;
  border-radius: var(--r); text-decoration: none;
  transition: background var(--t), transform var(--t);
}
.btn-hero:hover { background: var(--gold-dk); color: #000; transform: translateY(-2px); }

.carousel-indicators {
  bottom: 16px;
  gap: 6px;
  margin: 0;
  align-items: center;
  padding: 0;
}
/* Use !important on every property Bootstrap hardcodes on indicators */
.carousel-indicators [data-bs-target] {
  box-sizing: border-box !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.45) !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  transition: background 0.2s ease, width 0.25s ease, border-radius 0.25s ease !important;
}
/* Active pill — overrides the dot */
.carousel-indicators .active {
  background: var(--gold) !important;
  width: 28px !important;
  border-radius: 4px !important;
}
.carousel-control-prev, .carousel-control-next { display: none !important; }


/* ────────────────────────────────────────────────────────────────
   §8  CATEGORY CARDS
   Prefixed .hcbnl-cat-* (new); old names kept as aliases.
   Add a real <img> as first child when you have photos — the CSS
   handles both gradient-only and photo modes automatically.
──────────────────────────────────────────────────────────────── */
.hcbnl-cat-large, .hcbnl-cat-card,
.category-large,  .category-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); background: #1a1a2e;
  text-decoration: none; cursor: pointer;
}
.hcbnl-cat-large, .category-large { height: 230px; margin-bottom: 14px; }
.hcbnl-cat-card,  .category-card  { height: 148px; }
@media (max-width: 767px) {
  .hcbnl-cat-large, .category-large { height: 190px; }
  .hcbnl-cat-card,  .category-card  { height: 120px; }
}
.hcbnl-cat-grid, .category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Real photo child — absolutely fills its card */
.hcbnl-cat-large > img, .hcbnl-cat-card > img,
.category-large > img,  .category-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.45s ease;
}
.hcbnl-cat-large:hover > img, .hcbnl-cat-card:hover > img,
.category-large:hover  > img, .category-card:hover  > img { transform: scale(1.06); }

/* Gradient / icon fallback */
.hcbnl-cat-bg, .cat-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hcbnl-cat-scrim, .category-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.04) 0%, rgba(0,0,0,.60) 100%);
}
.hcbnl-cat-label, .category-label {
  position: absolute; bottom: 14px; left: 16px; z-index: 2;
  color: #fff; font-weight: 700; font-size: 15px;
  text-shadow: 0 1px 5px rgba(0,0,0,.5);
}
@media (max-width: 767px) {
  .hcbnl-cat-label, .category-label { font-size: 12px; bottom: 10px; left: 12px; }
}


/* ────────────────────────────────────────────────────────────────
   §9  PRODUCT CARDS (shop grid)
──────────────────────────────────────────────────────────────── */
.product-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
}
.product-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }

.product-img-wrap {
  display: block; width: 100%;
  aspect-ratio: 1 / 1;          /* perfect square — same ratio every card */
  overflow: hidden; background: var(--bg-subtle);
  flex-shrink: 0; position: relative;
}

.product-img {
  width: 100%; height: 100%;
  object-fit: contain;           /* full product visible, no crop */
  padding: 10px;                 /* small breathing room */
  display: block;
  transition: transform 0.3s ease;
}
.product-img-wrap:hover .product-img { transform: scale(1.05); }

.product-info { padding: 12px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 6px;
}

/* Pricing row */
.product-pricing { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; flex-wrap: wrap; }
.product-price   { color: var(--gold); font-weight: 800; font-size: 16px; }
.product-old-price {
  font-size: 12px; color: var(--text-muted);
  text-decoration: line-through;
}

/* Add to Cart / Out of Stock button */
.btn-add-cart {
  display: block; width: 100%;
  margin-top: 10px; padding: 9px 0;
  background: var(--gold); color: #000;
  border: none; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700;
  font-family: var(--font); cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  text-align: center; letter-spacing: .2px;
}
/* Light mode — gold minimalist gradient */
body:not(.dark-mode) .btn-add-cart {
  background: linear-gradient(135deg, #e8b923 0%, #d4a64a 55%, #c8920e 100%);
  color: #1a0e00;
  border: none;
  box-shadow: 0 1px 6px rgba(212,166,74,.35), inset 0 1px 0 rgba(255,255,255,.22);
}
body:not(.dark-mode) .btn-add-cart:hover {
  background: linear-gradient(135deg, #d4a64a 0%, #c8920e 55%, #b87e00 100%);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(212,166,74,.5);
}
.btn-add-cart:hover    { background: var(--gold-dk); transform: translateY(-1px); }
.btn-add-cart:disabled { opacity: .5; cursor: not-allowed; background: var(--text-muted); color: var(--bg); transform: none; box-shadow: none; }


/* ────────────────────────────────────────────────────────────────
   §10  PRODUCT DETAIL — IMAGE GALLERY
   NEW namespace: .hcbnl-gallery-* avoids any collision.
   Old names (.product-img-outer, .product-main-img, etc.) are
   kept as aliases so product.html needs no HTML changes.

   DESIGN:
   • Outer box uses aspect-ratio:1/1 — height derives from width.
   • Image uses position:absolute with explicit inset, NOT inset
     shorthand (iOS Safari < 14 doesn't support inset shorthand).
   • Mobile caps max-height so the image doesn't eat the viewport.
──────────────────────────────────────────────────────────────── */
.hcbnl-gallery-outer,
.product-img-outer {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-subtle);
  border-radius: var(--r-lg);
}
@media (max-width: 767px) {
  .hcbnl-gallery-outer,
  .product-img-outer { max-height: 75vw; }
}
/* Fallback for aspect-ratio-unaware browsers */
@supports not (aspect-ratio: 1 / 1) {
  .hcbnl-gallery-outer::before,
  .product-img-outer::before {
    content: ''; display: block; padding-top: 100%;
  }
}

/* Main image — fills outer absolutely */
.hcbnl-gallery-main,
.product-main-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;  /* NOT inset — iOS compat */
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}

/* Thumbnail strip */
.hcbnl-thumb-track,
.product-thumb-track {
  display: flex; flex-direction: row;
  gap: 10px; overflow-x: auto; overflow-y: hidden;
  padding: 10px 2px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.hcbnl-thumb-track::-webkit-scrollbar,
.product-thumb-track::-webkit-scrollbar { display: none; }

.hcbnl-thumb,
.product-thumb {
  flex: 0 0 68px; width: 68px; height: 68px;
  border-radius: var(--r-sm); object-fit: cover;
  cursor: pointer; border: 2px solid transparent;
  background: var(--bg-subtle); scroll-snap-align: start;
  display: block;
  transition: border-color 0.15s;
}
.hcbnl-thumb:hover, .hcbnl-thumb.active,
.product-thumb:hover, .product-thumb.active { border-color: var(--gold); }


/* ────────────────────────────────────────────────────────────────
   §11  FORMS & INPUTS
──────────────────────────────────────────────────────────────── */
.form-control, .form-select {
  background-color: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); color: var(--text);
  font-family: var(--font); font-size: 14px; padding: 10px 14px;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus, .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint);
  background-color: var(--bg-input); color: var(--text); outline: none;
}
.form-label       { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.input-group-text { background: var(--bg-subtle); border-color: var(--border); color: var(--text-muted); }


/* ────────────────────────────────────────────────────────────────
   §12  BUTTONS
──────────────────────────────────────────────────────────────── */
.btn {
  font-family: var(--font); font-weight: 600; font-size: 14px;
  border-radius: var(--r-sm); padding: 10px 20px;
  transition: all var(--t); cursor: pointer;
}
.btn-warning { background-color: var(--gold); border-color: var(--gold); color: #000 !important; }
.btn-warning:hover { background-color: var(--gold-dk); border-color: var(--gold-dk); }
.btn-dark    { background-color: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.btn-dark:hover { background-color: #333; border-color: #333; }
.btn-outline-dark { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline-dark:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.btn-outline-dark[data-category], .btn-dark[data-category] { border-radius: 20px; font-size: 13px; padding: 6px 16px; }
.btn-dark[data-category], button[data-category].active {
  background: var(--gold) !important; border-color: var(--gold) !important; color: #000 !important;
}
[data-payment]        { transition: all var(--t); }
[data-payment].active { background: var(--gold) !important; border-color: var(--gold) !important; color: #000 !important; }


/* ────────────────────────────────────────────────────────────────
   §13  BOOTSTRAP CARD OVERRIDE
──────────────────────────────────────────────────────────────── */
.card        { background: var(--bg-card); border-color: var(--border); border-radius: var(--r-lg); color: var(--text); }
.card-header { background: var(--bg-subtle); border-color: var(--border); }
.card-body   { color: var(--text); }


/* ────────────────────────────────────────────────────────────────
   §14  CART
──────────────────────────────────────────────────────────────── */
.cart-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 72px; height: 72px; border-radius: var(--r); object-fit: cover; flex-shrink: 0; background: var(--bg-subtle); }
.cart-item-name  { font-weight: 600; font-size: 14px; color: var(--text); }
.cart-item-price { color: var(--gold); font-weight: 700; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 7px;
  border: 1.5px solid var(--border); background: var(--bg-card); color: var(--text);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color var(--t);
}
.qty-btn:hover { border-color: var(--gold); }
.btn-cart-remove {
  background: none; border: none; color: #dc3545;
  font-size: 16px; cursor: pointer; padding: 4px; transition: color var(--t);
}
.btn-cart-remove:hover { color: #a82020; }
.cart-summary-card { background: var(--bg-subtle); border-radius: var(--r-lg); padding: 20px; border: 1px solid var(--border); }


/* ────────────────────────────────────────────────────────────────
   §15  CHECKOUT
──────────────────────────────────────────────────────────────── */
.checkout-card { background: var(--bg-card); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--border); box-shadow: var(--sh-xs); }
.checkout-section-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }


/* ────────────────────────────────────────────────────────────────
   §16  MY ORDERS
──────────────────────────────────────────────────────────────── */
.order-card { background: var(--bg-card); border-radius: var(--r-lg); border: 1px solid var(--border); padding: 16px; margin-bottom: 12px; transition: box-shadow var(--t); }
.order-card:hover { box-shadow: var(--sh); }
.status-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; text-transform: capitalize; }
.status-pending   { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-shipped   { background: #d4edda; color: #155724; }
.status-delivered { background: #c3e6cb; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }


/* ────────────────────────────────────────────────────────────────
   §17  ACCOUNT PAGE
──────────────────────────────────────────────────────────────── */
.account-page-section { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px 60px; }
.account-page-card { background: var(--bg-card); border-radius: var(--r-lg); box-shadow: var(--sh); border: 1px solid var(--border); padding: 30px 26px; width: 100%; max-width: 440px; }
.auth-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.auth-tab { flex: 1; background: none; border: none; padding: 10px; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--t); font-family: var(--font); }
.auth-tab.active { color: var(--text); border-color: var(--gold); }
.social-clean.google-sign-in { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--bg-input); border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 10px; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; font-family: var(--font); transition: border-color var(--t); }
.social-clean.google-sign-in:hover { border-color: var(--gold); }
.divider-clean { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; margin: 14px 0; }
.divider-clean::before, .divider-clean::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.forgot-link { font-size: 12px; color: var(--gold); }
.login-btn { width: 100%; background: var(--gold); color: #000; border: none; border-radius: var(--r-sm); font-weight: 700; font-size: 15px; padding: 12px; cursor: pointer; font-family: var(--font); transition: background var(--t); }
.login-btn:hover { background: var(--gold-dk); }
.profile-avatar { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); color: #000; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.profile-action-btn { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; transition: color var(--t); }
.profile-action-btn:hover { color: var(--gold); }
.profile-action-btn i:first-child { font-size: 18px; width: 22px; }
.logout-page-btn { background: none; border: 1.5px solid #dc3545; color: #dc3545; border-radius: var(--r-sm); padding: 10px 20px; font-weight: 600; font-size: 14px; cursor: pointer; width: 100%; font-family: var(--font); transition: all var(--t); }
.logout-page-btn:hover { background: #dc3545; color: #fff; }
.profile-tabs { display: flex; background: var(--bg-subtle); border-radius: var(--r); padding: 3px; margin-bottom: 20px; }
.profile-tab { flex: 1; background: none; border: none; padding: 8px 4px; font-size: 12px; font-weight: 600; color: var(--text-muted); border-radius: var(--r-sm); cursor: pointer; font-family: var(--font); transition: all var(--t); }
.profile-tab.active { background: var(--bg-card); color: var(--text); box-shadow: var(--sh-xs); }
.referral-card { background: var(--bg-subtle); border-radius: var(--r); padding: 18px; border: 1px solid var(--border); }
.referral-code-box { display: flex; align-items: center; justify-content: space-between; background: var(--bg-card); border: 1.5px dashed var(--gold); border-radius: var(--r-sm); padding: 10px 14px; font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--text); }


/* ────────────────────────────────────────────────────────────────
   §18  REVIEWS
──────────────────────────────────────────────────────────────── */
.star-picker { display: flex; gap: 6px; font-size: 24px; cursor: pointer; }
.star-pick   { color: var(--border); cursor: pointer; transition: color 0.1s; }
.star-pick.bi-star-fill { color: var(--gold); }
.review-card { padding: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 12px; }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #000; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }


/* ────────────────────────────────────────────────────────────────
   §19  FOOTER
──────────────────────────────────────────────────────────────── */
.haiqing-footer { background: #0e0e0e; color: rgba(255,255,255,.60); padding: 52px 0 24px; font-size: 14px; line-height: 1.7; }
body.dark-mode .haiqing-footer { background: #080808; }
.haiqing-footer a { color: rgba(255,255,255,.60); text-decoration: none; transition: color var(--t); }
.haiqing-footer a:hover { color: var(--gold); }
.haiqing-footer p { margin-bottom: 8px; color: rgba(255,255,255,.60); }
.haiqing-footer h6 { color: rgba(255,255,255,.90); font-size: 13px; margin-bottom: 12px; }
.footer-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 17px; transition: background var(--t), color var(--t); }
.footer-social a:hover { background: var(--gold); color: #000; }
@media (max-width: 767px) {
  .haiqing-footer .row > [class*="col-"] { width: 100% !important; flex: 0 0 100%; max-width: 100%; }
}
.footer-toggle { background: none; border: none; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 700; padding: 12px 0; display: flex; width: 100%; align-items: center; justify-content: space-between; cursor: pointer; text-transform: uppercase; letter-spacing: .5px; font-family: var(--font); border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-toggle::after { content: '\F282'; font-family: bootstrap-icons; font-size: 15px; color: rgba(255,255,255,.4); transition: transform var(--t); }
@media (min-width: 768px) { .footer-toggle::after { display: none; } .footer-toggle { pointer-events: none; border-bottom: none; padding: 0 0 12px; } }
.footer-line { border-color: rgba(255,255,255,.10); margin: 20px 0 14px; }
.footer-copy { color: rgba(255,255,255,.28); font-size: 12px; padding-bottom: 4px; }
@media (max-width: 991px) { .haiqing-footer { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); } }


/* ────────────────────────────────────────────────────────────────
   §20  INFO PAGES
──────────────────────────────────────────────────────────────── */
.info-page-content          { line-height: 1.8; }
.info-page-content h5       { margin-top: 28px; margin-bottom: 8px; color: var(--text); }
.info-page-content p        { color: var(--text-muted); }


/* ────────────────────────────────────────────────────────────────
   §21  UTILITY
──────────────────────────────────────────────────────────────── */
.top-padding    { padding-top: 24px; }
.eshop-section  {
  padding: 20px 0 32px;
  position: relative;
  overflow: hidden;
}
/* Confetti canvas — zero layout footprint */
#featuredConfetti {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  display: block;
}
body:not(.dark-mode) #featuredConfetti { opacity: .35; }

/* Fast selling section — fire icon */
.fast-selling-icon {
  color: #ff6b35 !important;
  animation: fire-flicker 1.2s ease-in-out infinite !important;
}
@keyframes fire-flicker {
  0%, 100% { transform: scale(1) rotate(-3deg); opacity: 1; }
  50%       { transform: scale(1.18) rotate(3deg); opacity: .85; }
}
/* Fast selling box — slightly different accent from Easter sales */
body:not(.dark-mode) .fast-selling-box {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 2px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
}
body:not(.dark-mode) .fast-selling-box::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255,107,53,.2) 40%, rgba(255,107,53,.2) 60%, transparent 100%);
}
.spinner-border { color: var(--gold); }
.alert-light    { background: var(--bg-subtle); border-color: var(--border); color: var(--text); }
.qty-control    { display: flex; align-items: center; gap: 10px; }
.qty-value      { font-weight: 700; font-size: 18px; min-width: 28px; text-align: center; color: var(--text); }
.category-section { max-width: 1100px; }


/* ────────────────────────────────────────────────────────────────
   §22  DARK-MODE — Bootstrap component overrides
──────────────────────────────────────────────────────────────── */
body.dark-mode .modal-content    { background: var(--bg-card); border-color: var(--border); }
body.dark-mode .modal-header     { border-color: var(--border); }
body.dark-mode .modal-footer     { border-color: var(--border); }
body.dark-mode .input-group-text { background: var(--bg-subtle); border-color: var(--border); color: var(--text-muted); }
body.dark-mode .alert-light      { background: var(--bg-subtle); border-color: var(--border); color: var(--text); }
body.dark-mode hr                { border-color: var(--border); opacity: 1; }
body.dark-mode .dropdown-divider { border-color: var(--border); }
body.dark-mode .border           { border-color: var(--border) !important; }
body.dark-mode .border-bottom    { border-color: var(--border) !important; }
body.dark-mode .bg-light, body.dark-mode .bg-white { background-color: var(--bg-card) !important; }
body.dark-mode .btn-outline-secondary { border-color: var(--border); color: var(--text-muted); background: transparent; }
body.dark-mode .btn-outline-secondary:hover { background: var(--bg-subtle); color: var(--text); }
body.dark-mode .table { color: var(--text); border-color: var(--border); }
body.dark-mode .table > :not(caption) > * > * { background-color: transparent; color: var(--text); border-color: var(--border); }



/* ────────────────────────────────────────────────────────────────
   §24  PROMO HERO BANNER
──────────────────────────────────────────────────────────────── */
.promo-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
  margin-bottom: 0;
}

/* Aspect ratio: 3:1 desktop, 4:3 mobile */
.promo-banner-inner {
  position: relative;
  width: 100%;
  padding-top: 33.33%;   /* 3:1 */
}
@media (max-width: 767px) {
  .promo-banner-inner { padding-top: 75%; } /* 4:3 */
}

.promo-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s ease;
}
.promo-banner:hover .promo-banner-img { transform: scale(1.02); }

/* Gradient overlay — darker on left for text legibility */
.promo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.08) 100%
  );
}

/* Content */
.promo-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 7%;
  max-width: 560px;
}
.promo-banner-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,166,74,.15);
  border: 1px solid rgba(212,166,74,.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 12px;
  width: fit-content;
}
.promo-banner-title {
  font-size: clamp(20px, 3.5vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}
.promo-banner-sub {
  font-size: clamp(12px, 1.5vw, 16px);
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  line-height: 1.5;
}
.promo-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 14px);
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  width: fit-content;
  transition: background .2s, transform .15s;
}
.promo-banner-btn:hover {
  background: var(--gold-dk);
  color: #111;
  transform: translateY(-1px);
}

/* Fallback gradient when no image is set */
.promo-banner-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Section wrapper for spacing */
.promo-section {
  padding: 40px 0 0;
}
@media (max-width: 767px) { .promo-section { padding: 24px 0 0; } }


/* ────────────────────────────────────────────────────────────────
   §25  CHECKOUT PAYMENT OPTIONS
──────────────────────────────────────────────────────────────── */
.payment-options { display: flex; flex-direction: column; gap: 10px; }

.payment-option {
  display: block;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  background: var(--bg-card);
}
.payment-option:hover { border-color: var(--gold); }
.payment-option.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint);
}
.payment-option-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.payment-icon-wrap {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.payment-info { flex: 1; }
.payment-name {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.payment-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.payment-badge {
  font-size: 10px; font-weight: 700;
  background: #e8f5e9; color: #2e7d32;
  padding: 1px 7px; border-radius: 20px;
  letter-spacing: .3px;
}

/* Radio dot */
.payment-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: border-color .15s;
}
.payment-option.active .payment-radio { border-color: var(--gold); }
.payment-radio-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); opacity: 0; transition: opacity .15s;
}
.payment-option.active .payment-radio-dot { opacity: 1; }

/* Manual bank details box */
.payment-bank-details { }
.payment-bank-inner {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: 13px;
}
.bank-row {
  display: flex; justify-content: space-between;
  padding: 4px 0; color: var(--text);
}
.bank-row span { color: var(--text-muted); }

body.dark-mode .payment-badge { background: rgba(46,125,50,.2); color: #81c784; }
body.dark-mode .payment-bank-inner { background: var(--bg-subtle); }

/* ── Checkout payment instruction notice ── */
.checkout-pay-notice {
  display: flex; align-items: flex-start; gap: 10px;
  background: #ffffff; color: #111111;
  border: 1.5px solid #111111;
  border-radius: var(--r);
  padding: 12px 15px;
  font-size: 13px; line-height: 1.6;
  margin-bottom: 14px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.checkout-pay-notice:hover {
  background: #111111; color: #ffffff;
  border-color: #111111;
}
.checkout-pay-notice:hover .checkout-pay-notice-icon { color: var(--gold); }
.checkout-pay-notice:hover strong { color: var(--gold); }
.checkout-pay-notice-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; color: #111111; }
/* Dark mode */
body.dark-mode .checkout-pay-notice {
  background: #1c1c1c; color: #e8e8e8;
  border-color: var(--gold);
}
body.dark-mode .checkout-pay-notice:hover {
  background: var(--gold); color: #111111;
  border-color: var(--gold);
}
body.dark-mode .checkout-pay-notice:hover .checkout-pay-notice-icon { color: #111111; }
body.dark-mode .checkout-pay-notice:hover strong { color: #111111; }
body.dark-mode .checkout-pay-notice-icon { color: var(--gold); }


/* ────────────────────────────────────────────────────────────────
   §26  BULK PRICING — product page table + cart badges
──────────────────────────────────────────────────────────────── */

/* ── Product page bulk table ── */
.bulk-table-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 8px;
}
.bulk-table-title {
  background: var(--bg-subtle);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.bulk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.bulk-table thead th {
  padding: 9px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.bulk-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.bulk-table tbody tr:last-child td { border-bottom: none; }
.bulk-table .bulk-save { color: #16a34a; font-weight: 600; }
body.dark-mode .bulk-table .bulk-save { color: #4ade80; }

/* Active tier highlight */
.bulk-row.active { background: var(--gold-tint); }
.bulk-row.active td:first-child { font-weight: 700; color: var(--gold); }

.bulk-table-note {
  padding: 8px 14px;
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Cart item bulk styles ── */
.cart-item-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 12px;
  background: var(--bg-card);
}
.cart-item-img {
  width: 76px; height: 76px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}
.cart-item-price { font-size: 12px; color: var(--text-muted); }
.cart-min-hint {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 3px;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.cart-qty-btn {
  width: 30px; height: 30px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-card);
  color: var(--text);
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.cart-qty-btn:hover { border-color: var(--gold); background: var(--gold-tint); }
.cart-qty-val {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.cart-remove-btn {
  margin-left: 4px;
  width: 30px; height: 30px;
  border: 1.5px solid #fecaca;
  border-radius: var(--r-sm);
  background: #fff5f5;
  color: #ef4444;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t);
}
.cart-remove-btn:hover { background: #ef4444; color: #fff; }
body.dark-mode .cart-remove-btn { background: #2a1212; border-color: #7f1d1d; color: #f87171; }
body.dark-mode .cart-remove-btn:hover { background: #ef4444; color: #fff; }

.cart-line-saving {
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
  margin-top: 5px;
}
body.dark-mode .cart-line-saving { color: #4ade80; }

.cart-discount-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: var(--gold-tint);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 1px 7px;
  vertical-align: middle;
  margin-left: 4px;
}
.cart-item-total {
  text-align: right;
  flex-shrink: 0;
  padding-top: 2px;
}
.cart-item-total-val {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.cart-item-original {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 2px;
}

/* ────────────────────────────────────────────────────────────────
   §NEW  BULK DISCOUNT BADGE — modern outline pill
──────────────────────────────────────────────────────────────── */
.bulk-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #c8960c 0%, #e8b923 45%, #c8960c 100%);
  background-size: 200% auto;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
  line-height: 1.5;
  text-transform: uppercase;
  animation: badge-shimmer 3s linear infinite;
  box-shadow: 0 1px 6px rgba(200,150,12,0.35);
}
@keyframes badge-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
body.dark-mode .bulk-discount-badge {
  background: linear-gradient(90deg, #a87400 0%, #d4a64a 45%, #a87400 100%);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 1px 8px rgba(212,166,74,0.4);
}
/* In product page discount info */
#qtyDiscountInfo .bulk-discount-badge { font-size: 13px; padding: 5px 14px; }

/* Bulk table — badge inside table cell */
.bulk-table td .bulk-discount-badge { font-size: 10.5px; padding: 2px 9px; animation: none; }

/* ────────────────────────────────────────────────────────────────
   §NEW  CART QTY — editable input
──────────────────────────────────────────────────────────────── */
.cart-qty-input {
  width: 48px;
  height: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  padding: 0 4px;
  -moz-appearance: textfield;
  outline: none;
  transition: border-color .15s;
}
.cart-qty-input:focus { border-color: var(--gold); }
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ────────────────────────────────────────────────────────────────
   §NEW  OUT OF STOCK — image overlay
──────────────────────────────────────────────────────────────── */
.product-img-wrap.oos-wrap { position: relative; }
.product-img-wrap.oos-wrap .product-img {
  filter: grayscale(30%);
  opacity: 0.55;
}
.oos-overlay-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.38);
  border-radius: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  text-transform: uppercase;
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────────────
   §NEW  BULK DEALS FLASH SALE SLIDER
──────────────────────────────────────────────────────────────── */

/* Section wrapper — bg stays inside container margin flow */
.bulk-deals-section {
  background: transparent;
  padding: 20px 0 24px;
  position: relative;
  overflow: hidden;
}
/* Dark mode inner bg (respects container padding) */
.bulk-deals-inner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a0a00 0%, #0e0e0e 60%, #1a1200 100%);
  border-radius: var(--r-lg);
  z-index: 0;
  margin: 0 0;
}
body:not(.dark-mode) .bulk-deals-inner-bg {
  background: #f4f4f4;
}
.bulk-deals-section .container {
  position: relative;
  z-index: 1;
}
/* Confetti canvas */
#bulkConfetti {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}
body:not(.dark-mode) #bulkConfetti {
  opacity: .45;
}
/* The actual rounded bg box inside the section */
.bulk-deals-box {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(212,166,74,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(180,80,0,.2) 0%, transparent 55%),
    linear-gradient(150deg, #0a0a0a 0%, #111008 40%, #0d0a00 70%, #0a0a0a 100%);
  border-radius: var(--r-lg);
  padding: 20px 20px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212,166,74,.22);
  box-shadow: 0 8px 32px rgba(0,0,0,.45), inset 0 1px 0 rgba(212,166,74,.12);
}
/* Subtle shimmer line across the top */
.bulk-deals-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,166,74,.6) 40%, rgba(212,166,74,.6) 60%, transparent 100%);
  z-index: 2;
}
body:not(.dark-mode) .bulk-deals-box {
  background: #ffffff;
  border-color: #e5e5e5;
  box-shadow: 0 2px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
}
body:not(.dark-mode) .bulk-deals-box::before {
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.06) 40%, rgba(0,0,0,.06) 60%, transparent 100%);
}

/* Header row */
.bulk-deals-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.bulk-deals-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .3px;
  flex-shrink: 0;
}
body:not(.dark-mode) .bulk-deals-title { color: #111; }
/* Stylish promo title font (Abril Fatface) */
.bulk-deals-promo-title {
  font-family: 'Abril Fatface', serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .5px;
}
.bulk-deals-icon {
  color: var(--gold);
  font-size: 20px;
  animation: gift-bounce 1.6s ease-in-out infinite;
}
@keyframes gift-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  40%       { transform: translateY(-4px) scale(1.12); }
  60%       { transform: translateY(-2px) scale(1.06); }
}
@keyframes flash-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .7; transform: scale(1.15); }
}

/* See all link */
.bulk-deals-see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: opacity .2s;
}
.bulk-deals-see-all:hover { opacity: .75; color: var(--gold); }

/* Slider wrapper */
.bulk-deals-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.bulk-deals-track-outer {
  overflow: hidden;
  flex: 1;
  border-radius: 12px;
}
.bulk-deals-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

/* Individual slide card — wider: 1.5 on mobile, 3 on tablet, 4 on desktop */
.bulk-slide-card {
  flex-shrink: 0;
  padding: 0 6px;
  box-sizing: border-box;
  width: calc(100% / 4);      /* desktop ≥992px: 4 cards */
}
@media (max-width: 991px) { .bulk-slide-card { width: calc(100% / 2.5); } }
@media (max-width: 575px)  { .bulk-slide-card { width: calc(100% / 1.6); padding: 0 5px; } }

.bulk-slide-img-wrap {
  display: block;
  position: relative;
  background: var(--bg-card);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-bottom: none;
}
.bulk-slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .3s;
}
.bulk-slide-img-wrap:hover img { transform: scale(1.04); }

/* Discount badge */
.bulk-slide-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: .3px;
  z-index: 2;
}

/* Card info */
.bulk-slide-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(212,166,74,.2);
  border-radius: 0 0 10px 10px;
  padding: 10px 10px 12px;
}
.bulk-slide-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
  line-height: 1.4;
}
.bulk-slide-name:hover { color: var(--gold); }
.bulk-slide-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.bulk-slide-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}
.bulk-slide-old {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.bulk-slide-cart-btn {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 0;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s, opacity .2s, color .2s;
}
body:not(.dark-mode) .bulk-slide-cart-btn {
  background: #e8e8e8;
  color: #222222;
  border: 1px solid #d0d0d0;
}
body:not(.dark-mode) .bulk-slide-cart-btn:hover {
  background: #d4d4d4;
  color: #000;
}
.bulk-slide-cart-btn:hover  { background: #c9992a; }
.bulk-slide-cart-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Arrow buttons */
.bulk-slider-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(20,20,20,.85);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, opacity .2s;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
body:not(.dark-mode) .bulk-slider-arrow {
  border-color: rgba(0,0,0,.15);
  background: rgba(255,255,255,.85);
  color: #111;
}
.bulk-slider-arrow:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.bulk-slider-prev { margin-right: 6px; }
.bulk-slider-next { margin-left: 6px; }

@media (max-width: 575px) {
  .bulk-slider-arrow { display: none; }
  .bulk-deals-track-outer { border-radius: 10px; }
}

/* Carousel dot indicators */
.bulk-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.bulk-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .3s cubic-bezier(.4,0,.2,1), background .3s, border-radius .3s;
  flex-shrink: 0;
}
.bulk-carousel-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--gold);
}
body:not(.dark-mode) .bulk-carousel-dot {
  background: rgba(0,0,0,.18);
}
body:not(.dark-mode) .bulk-carousel-dot.active {
  background: #555;
}

/* Countdown timer */
.bulk-deals-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  background: rgba(212,166,74,.12);
  border: 1px solid rgba(212,166,74,.25);
  border-radius: 8px;
  padding: 5px 12px;
}
/* Light mode: readable dark text on gold-tint bg */
body:not(.dark-mode) .bulk-deals-timer {
  background: rgba(212,166,74,.18);
  border-color: rgba(212,166,74,.4);
}
.timer-label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
body:not(.dark-mode) .timer-label { color: rgba(0,0,0,.5); }
.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 28px;
}
.timer-block span {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
body:not(.dark-mode) .timer-block span { color: var(--gold-dk); }
.timer-block em {
  font-style: normal;
  font-size: 9px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .5px;
}
body:not(.dark-mode) .timer-block em { color: rgba(0,0,0,.4); }
.timer-sep {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  margin: 0 1px;
  padding-bottom: 8px;
  opacity: .7;
}
body:not(.dark-mode) .timer-sep { color: var(--gold-dk); }

/* Mobile: compact timer */
@media (max-width: 575px) {
  .bulk-deals-timer {
    padding: 3px 8px;
    gap: 2px;
    border-radius: 6px;
  }
  .timer-label { display: none; }
  .timer-block { min-width: 20px; }
  .timer-block span { font-size: 13px; }
  .timer-block em { font-size: 7px; }
  .timer-sep { font-size: 11px; padding-bottom: 6px; }
}


/* ────────────────────────────────────────────────────────────────
   §NEW  ADMIN — FLASH SALE PANEL
──────────────────────────────────────────────────────────────── */
.flash-sale-panel {
  background: linear-gradient(135deg, rgba(212,166,74,.07) 0%, rgba(212,166,74,.03) 100%);
  border: 1.5px solid rgba(212,166,74,.25);
  border-radius: 12px;
  overflow: hidden;
}
.flash-sale-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(212,166,74,.15);
  background: rgba(212,166,74,.05);
}
.flash-sale-panel-body {
  padding: 16px 18px;
}
.flash-sale-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.flash-sale-status-badge.live {
  background: rgba(34,197,94,.15);
  color: #22c55e;
  animation: flash-pulse 1.4s ease-in-out infinite;
}


/* ════════════════════════════════════════════════════════════════
   §NEW  FAST SELLING — Modernised UI
   Distinct from bulk-deals: warm orange-red accent, rank badges,
   hot-streak indicator, smoother card feel.
════════════════════════════════════════════════════════════════ */

/* Section outer — no bg color, just spacing */
.fast-selling-section { padding: 6px 0 28px; }

/* The styled box */
.fast-selling-box {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255,107,53,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(212,60,0,.12) 0%, transparent 50%),
    linear-gradient(150deg, #0d0500 0%, #110802 40%, #0d0600 70%, #0a0503 100%);
  border-radius: var(--r-lg);
  padding: 20px 20px 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,107,53,.22);
  box-shadow: 0 8px 32px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,107,53,.15);
}
/* Top shimmer line — orange */
.fast-selling-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,107,53,.7) 40%, rgba(255,107,53,.7) 60%, transparent 100%);
  z-index: 2;
}
/* Light mode overrides */
body:not(.dark-mode) .fast-selling-box {
  background: #ffffff;
  border-color: rgba(255,107,53,.18);
  box-shadow: 0 2px 18px rgba(255,107,53,.1), 0 1px 4px rgba(0,0,0,.04);
}
body:not(.dark-mode) .fast-selling-box::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255,107,53,.25) 40%, rgba(255,107,53,.25) 60%, transparent 100%);
}

/* Confetti canvas inside fast selling */
#fastSellingConfetti {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
body:not(.dark-mode) #fastSellingConfetti { opacity: .3; }

/* Title — all content above canvas */
.fast-selling-box > * { position: relative; z-index: 1; }

/* Fire icon */
.fast-selling-icon {
  color: #ff6b35 !important;
  font-size: 20px;
  animation: fire-flicker 1.2s ease-in-out infinite !important;
  filter: drop-shadow(0 0 4px rgba(255,107,53,.7));
}
@keyframes fire-flicker {
  0%, 100% { transform: scale(1) rotate(-3deg); opacity: 1; }
  50%       { transform: scale(1.18) rotate(3deg); opacity: .85; }
}

/* Section header title — light mode */
body:not(.dark-mode) .fast-selling-box .bulk-deals-title { color: #111; }
body:not(.dark-mode) .fast-selling-box .bulk-deals-see-all { color: #e0660a; }

/* ── Fast Selling product card ── */
.fs-slide-card {
  flex-shrink: 0;
  padding: 0 5px;
  box-sizing: border-box;
}

/* Image wrapper — square, clean, no gap below */
.fs-slide-img-wrap {
  display: block;
  position: relative;
  background: var(--bg-card);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-bottom: none;
  transition: border-color .2s;
  margin-bottom: 0;   /* ensure zero gap to info panel */
}
.fs-slide-img-wrap:hover { border-color: rgba(255,107,53,.4); }
.fs-slide-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .35s ease;
}
.fs-slide-img-wrap:hover img { transform: scale(1.05); }

/* Rank badge — inside the image, top-left corner */
.fs-rank-badge {
  position: absolute;
  top: 6px; left: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35 0%, #e53200 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
  line-height: 1;
}
/* Top 3 — gold/silver/bronze */
.fs-rank-badge[data-rank="1"] { background: linear-gradient(135deg, #ffd700 0%, #e8a800 100%); color: #000; }
.fs-rank-badge[data-rank="2"] { background: linear-gradient(135deg, #c0c0c0 0%, #909090 100%); color: #111; }
.fs-rank-badge[data-rank="3"] { background: linear-gradient(135deg, #cd7f32 0%, #8b4500 100%); color: #fff; }

/* Discount badge — inside image, top-right */
.fs-discount-badge {
  position: absolute;
  top: 6px; right: 6px;
  background: #e53935;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  z-index: 3;
  letter-spacing: .2px;
}

/* Heat bar — bottom edge of image */
.fs-heat-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ffd600);
  transform-origin: left;
  transform: scaleX(var(--heat, 0.7));
  z-index: 3;
  border-radius: 0 2px 0 0;
}

/* Card info section */
.fs-slide-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(255,107,53,.25);
  border-radius: 0 0 12px 12px;
  padding: 9px 10px 11px;
}
.fs-slide-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  line-height: 1.35;
}
.fs-slide-name:hover { color: #ff6b35; }

/* Price row */
.fs-slide-prices {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 7px;
}
.fs-slide-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}
.fs-slide-old {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Inventory bar — replaces "X sold" text, silent visual only */
.fs-inv-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255,107,53,.13);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 7px;
}
.fs-inv-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff6b35 0%, #ffd600 100%);
  transition: width .4s ease;
}

/* Cart button */
.fs-cart-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6b35 0%, #e53200 100%);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 0;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s, transform .15s, box-shadow .15s;
  letter-spacing: .2px;
  box-shadow: 0 2px 8px rgba(255,107,53,.35);
}
.fs-cart-btn:hover {
  background: linear-gradient(135deg, #e55c28 0%, #c42b00 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,107,53,.5);
}
.fs-cart-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: var(--text-muted);
}

/* Light-mode card tweaks */
body:not(.dark-mode) .fs-slide-info {
  border-color: rgba(255,107,53,.12);
  border-top-color: rgba(255,107,53,.2);
}
body:not(.dark-mode) .fs-slide-price { color: var(--gold-dk); }

/* Section separator line */
.fast-selling-section + .eshop-section { padding-top: 28px; }
