/* Gardner 35 Liquor & Smoke — design tokens */
:root {
  /* fixed brand chrome (header/footer) — same in light & dark */
  --chrome-bg: #0c0c0e;
  --chrome-bg-raised: #17171a;
  --chrome-fg: #f5f2e9;
  --chrome-muted: #a8a6a0;
  --chrome-border: #2a2a2d;

  /* content surfaces */
  --color-bg: #ffffff;
  --color-surface: #f7f6f2;
  --color-fg: #18181a;
  --color-muted: #5c5c62;
  --color-border: #e6e4dd;

  /* brand gold accent — one hue, three roles */
  --color-accent: #e3b613;         /* fill: buttons, active states */
  --color-accent-fg: #171509;      /* text/icons drawn on accent fill */
  --color-accent-text: #8a6a0c;    /* accent used as text/links on light bg (AA) */
  --color-accent-text-dark: #f2d24a; /* accent used as text on dark chrome (AA) */

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: 1.2rem;
  --text-h3: 1.35rem;
  --text-h2: 1.9rem;
  --text-h1: 2.75rem;
  --text-display: 3.25rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.10);
  --shadow-md: 0 10px 30px rgb(0 0 0 / 0.18);

  --container: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121214;
    --color-surface: #1a1a1d;
    --color-fg: #efeee9;
    --color-muted: #a3a29c;
    --color-border: #2c2c2f;
    --color-accent-text: #f2d24a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-fg);
  font-size: var(--text-base);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

a { color: var(--color-accent-text); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--chrome-bg-raised);
  color: var(--chrome-muted);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--chrome-border);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
  flex-wrap: wrap;
}
.topbar a { color: var(--chrome-fg); text-decoration: none; }
.topbar a:hover { color: var(--color-accent-text-dark); }
.topbar-hours strong { color: var(--chrome-fg); }

/* ---------- Header ---------- */
header.site-header {
  background: var(--chrome-bg);
  color: var(--chrome-fg);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--chrome-border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-1) 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  text-decoration: none;
}
.brand img { height: 56px; width: auto; }
.brand-name {
  color: var(--chrome-fg);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: 0.02em;
  display: none;
}
.main-nav {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--chrome-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 150ms ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--color-accent-text-dark); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: var(--space-1) 0 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--chrome-bg);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 60;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 0.5rem var(--space-2);
  color: var(--chrome-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible {
  color: var(--color-accent-text-dark);
  background: var(--chrome-bg-raised);
}
.dropdown-menu .dropdown-divider {
  height: 1px;
  margin: 0.4rem 0;
  background: var(--chrome-border);
}

.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--chrome-border);
  color: var(--chrome-fg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--chrome-fg);
  color: var(--chrome-fg);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent-text-dark); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 68vh;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 10 10 / 0.55) 0%, rgb(10 10 10 / 0.75) 55%, rgb(10 10 10 / 0.92) 100%);
  z-index: -1;
}
.hero-inner { max-width: 640px; padding: var(--space-5) 0; }
.eyebrow {
  color: var(--color-accent-text-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--text-sm);
  margin: 0 0 var(--space-1);
}
.hero h1 {
  font-size: var(--text-display);
  line-height: 1.05;
  margin: 0 0 var(--space-2);
}
.hero p {
  font-size: var(--text-lg);
  color: #e7e5df;
  margin: 0 0 var(--space-3);
  max-width: 46ch;
}
.hero-ctas { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ---------- Section rhythm ---------- */
section { padding: var(--space-5) 0; }
.section-head { max-width: 640px; margin: 0 auto var(--space-4); text-align: center; }
.section-head h2 { font-size: var(--text-h2); margin: 0 0 var(--space-1); }
.section-head p { color: var(--color-muted); margin: 0; }
h2, h3 { line-height: 1.2; }

/* ---------- Category tiles ---------- */
.categories { background: var(--color-surface); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.category-card {
  position: relative;
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  background: var(--chrome-bg);
  border: 1px solid var(--chrome-border);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.category-card span {
  position: absolute;
  left: var(--space-2);
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: var(--text-lg);
}

/* photo variant */
.category-card.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}
.category-card.photo:hover img { transform: scale(1.06); }
.category-card.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.05) 35%, rgb(0 0 0 / 0.88) 100%);
}

/* icon variant */
.category-card.icon {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 20%, rgb(227 182 19 / 0.16), transparent 60%),
    var(--chrome-bg);
}
.category-card.icon svg {
  width: 40%;
  height: auto;
  color: var(--color-accent-text-dark);
  stroke-width: 1.3;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 6px 14px rgb(227 182 19 / 0.18));
}
.category-card.icon span {
  position: static;
  color: var(--chrome-fg);
  text-align: center;
}

/* ---------- Promo strip ---------- */
.promo-strip {
  background: var(--chrome-bg);
  color: var(--chrome-fg);
  padding: var(--space-4) 0;
  text-align: center;
}
.promo-strip h2,
.promo-strip .section-head h2 {
  color: var(--color-accent-text-dark);
  font-size: var(--text-h1);
  margin: 0 0 var(--space-1);
  letter-spacing: 0.01em;
}
.promo-strip p,
.promo-strip .section-head p {
  color: var(--chrome-muted);
  margin: 0;
  font-size: var(--text-lg);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ---------- Visit / hours / map ---------- */
.visit { background: var(--color-surface); }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}
.visit-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.visit-card h3 { margin-top: 0; }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.hours-table td { padding: 0.4rem 0; border-bottom: 1px solid var(--color-border); }
.hours-table td:last-child { text-align: right; color: var(--color-muted); }
.hours-note {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-style: italic;
}
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Newsletter ---------- */
.newsletter-row { text-align: center; }
.newsletter-row-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.newsletter-card {
  max-width: 480px;
  flex: 1 1 420px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.form-row { display: flex; gap: var(--space-1); flex-wrap: wrap; margin-bottom: var(--space-1); }
.form-row input,
.form-row select {
  flex: 1 1 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-fg);
}
.form-note { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-1); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--chrome-bg);
  color: var(--chrome-muted);
  padding: var(--space-4) 0 var(--space-2);
  font-size: var(--text-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--chrome-border);
}
.footer-grid img { height: 44px; margin-bottom: var(--space-1); }
.footer-grid h4 {
  color: var(--chrome-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  margin: 0 0 var(--space-1);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { color: var(--chrome-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--color-accent-text-dark); }
.footer-bottom {
  padding-top: var(--space-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  min-height: 38vh;
  align-items: flex-end;
  padding-bottom: var(--space-4);
}
.page-hero .hero-inner { padding: var(--space-4) 0; max-width: 720px; }
.page-hero h1 { font-size: var(--text-h1); }

/* ---------- Story (two-column) ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
}
.story-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-copy h2 { margin-top: 0; }
.story-copy p { color: var(--color-muted); }
.story-copy p + p { margin-top: var(--space-2); }

/* ---------- Values grid ---------- */
.values { background: var(--color-surface); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.value-card {
  background: var(--chrome-bg);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.value-card svg {
  width: 40px;
  height: 40px;
  color: var(--color-accent-text-dark);
  stroke-width: 1.4;
  margin-bottom: var(--space-1);
}
.value-card h3 { color: var(--chrome-fg); font-size: var(--text-lg); margin: 0 0 0.5rem; }
.value-card p { color: var(--chrome-muted); font-size: var(--text-sm); margin: 0; }

/* ---------- Pull quote ---------- */
.pull-quote {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.pull-quote blockquote {
  margin: 0;
  font-size: var(--text-h2);
  line-height: 1.35;
  color: var(--color-fg);
}
.pull-quote blockquote::before { content: "\201C"; color: var(--color-accent-text); }
.pull-quote blockquote::after { content: "\201D"; color: var(--color-accent-text); }
.pull-quote cite {
  display: block;
  margin-top: var(--space-2);
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--chrome-bg);
    flex-direction: column;
    gap: 0;
    padding: var(--space-1) 0;
    border-bottom: 1px solid var(--chrome-border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { display: block; padding: var(--space-1) var(--space-2); }
  .header-actions .btn-primary { display: none; }
  .dropdown-menu {
    display: block;
    position: static;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: var(--chrome-bg-raised);
  }
  .dropdown-menu a { padding-left: var(--space-3); }
  .dropdown-menu .dropdown-divider { display: none; }
  .hero h1 { font-size: var(--text-h1); }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .category-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Lightbox ---------- */
.gallery-grid button.gallery-item {
  all: unset;
  cursor: pointer;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery-grid button.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}
.gallery-grid button.gallery-item:hover img,
.gallery-grid button.gallery-item:focus-visible img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgb(8 8 9 / 0.92);
  padding: var(--space-2);
}
.lightbox.open { display: flex; }
.lightbox-figure {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.lightbox-caption {
  color: var(--chrome-muted);
  font-size: var(--text-sm);
  text-align: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--chrome-bg-raised);
  color: var(--chrome-fg);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover,
.lightbox-close:focus-visible, .lightbox-prev:focus-visible, .lightbox-next:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent-text-dark);
}
.lightbox-close {
  top: var(--space-2);
  right: var(--space-2);
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
}
.lightbox-prev { left: var(--space-2); }
.lightbox-next { right: var(--space-2); }

@media (max-width: 720px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.3rem; }
  .lightbox-close { width: 40px; height: 40px; }
}

/* ---------- Utilities (avoid inline styles for CSP) ---------- */
/* ---------- Homepage hero bar (horizontal, under the nav) ---------- */
.hero-bar {
  background: var(--chrome-bg);
  border-bottom: 1px solid var(--chrome-border);
  padding: var(--space-3) 0;
}
.hero-bar-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.hero-bar-heading { flex: 0 0 auto; max-width: 420px; }
.hero-bar-heading .eyebrow { margin: 0 0 0.2rem; }
.hero-bar-heading h1 {
  font-size: var(--text-h3);
  color: var(--chrome-fg);
  margin: 0;
  line-height: 1.15;
}
.hero-bar-text { flex: 1 1 320px; color: var(--chrome-muted); margin: 0; font-size: var(--text-sm); }
@media (max-width: 780px) {
  .hero-bar-inner { flex-direction: column; align-items: flex-start; }
  .hero-bar-heading { max-width: none; }
}
.hero-bar-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding: var(--space-2) var(--space-2) 0;
  margin-top: var(--space-2);
}
.hero-bar-trust .trust-item { flex: 0 0 auto; white-space: nowrap; }
.hero-bar-trust .trust-item svg { color: var(--color-accent-text-dark); }
.hero-bar-trust .trust-item span { color: var(--chrome-fg); white-space: nowrap; }
@media (max-width: 780px) {
  .hero-bar-trust { justify-content: flex-start; }
  .hero-bar-trust .trust-item { flex: 0 1 45%; }
}
.hero-storefront-2 { background-image: url('Images/web/storefront-2.jpeg'); }
.hero-checkout-counter { background-image: url('Images/web/checkout-counter.jpeg'); }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.mt-3 { margin-top: var(--space-3); }
.promo-strip-lg { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.card-narrow { max-width: 640px; margin: 0 auto; text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Product search ---------- */
.search-bar {
  max-width: 640px;
  margin: 0 auto var(--space-3);
}
.search-bar input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: var(--text-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-fg);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.filter-chip {
  all: unset;
  cursor: pointer;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.filter-chip:hover { border-color: var(--color-accent); color: var(--color-fg); }
.filter-chip.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-fg);
}
.results-meta {
  text-align: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

/* ---------- What's New (Target-style horizontal carousel) ---------- */
.whats-new-category {
  margin-bottom: var(--space-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.whats-new-category:last-child { margin-bottom: 0; }
.whats-new-banner {
  background: var(--chrome-bg);
  padding: var(--space-2) var(--space-3);
}
.whats-new-banner h3,
.whats-new-banner h2 {
  margin: 0;
  text-align: center;
  font-size: var(--text-h3);
  color: var(--chrome-fg);
}

/* ---------- Fall Arrivals ---------- */
#fall-arrivals { padding: var(--space-2) 0 var(--space-4); }
.fall-banner {
  position: relative;
  background: linear-gradient(180deg, var(--chrome-bg-raised), var(--chrome-bg));
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3) var(--space-3);
  overflow: hidden;
}
.fall-banner-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--space-3);
}
.fall-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: var(--text-display);
  color: var(--chrome-fg);
  margin: 0 0 0.4rem;
}
.fall-subtitle { color: var(--chrome-muted); font-size: var(--text-lg); margin: 0; }
.fall-leaf {
  position: absolute;
  color: var(--color-accent);
  opacity: 0.65;
  z-index: 0;
}
.fall-leaf-rust { color: #c76b2c; }
/* All kept within the header zone (roughly top 0-20%) so none render
   behind the opaque tile cards below, which sit at a higher z-index. */
.fall-leaf-1 { top: 2%; right: 12%; width: 64px; height: 64px; transform: rotate(12deg); }
.fall-leaf-2 { top: 14%; right: 1%; width: 30px; height: 30px; transform: rotate(-18deg); }
.fall-leaf-3 { top: 2%; left: 8%; width: 40px; height: 40px; transform: rotate(-22deg); }
.fall-leaf-4 { top: 7%; left: 26%; width: 22px; height: 22px; transform: rotate(30deg); }
.fall-leaf-5 { top: 16%; left: 1%; width: 26px; height: 26px; transform: rotate(15deg); }
.fall-leaf-6 { top: 1%; right: 32%; width: 20px; height: 20px; transform: rotate(-10deg); }
.fall-leaf-7 { top: 15%; right: 16%; width: 26px; height: 26px; transform: rotate(25deg); }
.fall-tiles {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.fall-tile {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  text-decoration: none;
  aspect-ratio: 3 / 4;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.fall-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fall-tile img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.fall-tile img.fall-tile-img-contain { object-fit: contain; padding: var(--space-3) var(--space-2); box-sizing: border-box; }
.fall-tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-2);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 80%);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-base);
}
@media (max-width: 700px) {
  .fall-tiles { grid-template-columns: 1fr; }
  .fall-tile { aspect-ratio: 16 / 10; }
  .fall-title { font-size: var(--text-h1); }
  .fall-leaf-1, .fall-leaf-2, .fall-leaf-3, .fall-leaf-5, .fall-leaf-7 { width: 28px; height: 28px; }
  .fall-leaf-4, .fall-leaf-6 { display: none; }
}

/* ---------- Hot Deals ---------- */
.hot-deals-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.hot-deals-body {
  background: var(--color-surface);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.hot-deals-flyers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}
.hot-deals-flyers img {
  max-width: 260px;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ---------- Tobacco/nicotine warning banner (FDA 21 CFR 1143.3 / K.S.A. 79-3321) ----------
   Federal rule requires "WARNING: This product contains nicotine. Nicotine is an
   addictive chemical." on advertising for covered tobacco products (incl. e-cigarettes),
   in bold sans-serif, black-on-white or white-on-black. Kept as literal black/white
   here (not the site's off-black/off-white tokens) to track the letter of the rule. */
.tobacco-warning { background: #000; padding: var(--space-3) 0; }
.tobacco-warning-text {
  margin: 0;
  text-align: center;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
}
.tobacco-warning-note {
  margin: 0.5rem 0 0;
  text-align: center;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: var(--text-base);
}
@media (max-width: 640px) {
  .tobacco-warning-text { font-size: 1.05rem; }
}

/* ---------- Flyer cards (vapes page) ---------- */
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.flyer-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.flyer-card img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .flyer-grid { grid-template-columns: 1fr; }
}
.whats-new-carousel {
  background: var(--color-surface);
  padding: var(--space-3);
}
.whats-new-track-wrap { position: relative; }
.whats-new-track {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.whats-new-track::-webkit-scrollbar { display: none; }

.whats-new-nav {
  position: absolute;
  top: 42%;
  right: -14px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}
.whats-new-nav:hover { background: var(--color-surface); }
.whats-new-nav svg { width: 18px; height: 18px; color: var(--color-fg); }
.whats-new-nav[hidden] { display: none; }

.whats-new-nicotine-warning {
  background: #000;
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--text-sm);
}
.whats-new-progress {
  height: 4px;
  background: var(--color-border);
  border-radius: 999px;
  margin-top: var(--space-2);
  overflow: hidden;
}
.whats-new-progress-thumb {
  height: 100%;
  width: 20%;
  background: var(--chrome-bg);
  border-radius: 999px;
  transform-origin: left;
  transition: transform 100ms linear;
}

.whats-new-card {
  flex: 0 0 190px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.whats-new-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }

.whats-new-media {
  display: block;
  text-decoration: none;
}
.whats-new-thumb {
  aspect-ratio: 1 / 1;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.whats-new-thumb img { width: 100%; height: 100%; object-fit: cover; }
.whats-new-thumb svg { width: 32%; height: 32%; color: var(--color-border); stroke-width: 1.2; }

.whats-new-body { padding: var(--space-2); flex: 1; display: flex; flex-direction: column; }
.whats-new-dept {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 0.3rem;
}
.whats-new-name {
  font-size: var(--text-sm);
  font-weight: 600;
  margin: 0;
  color: var(--color-fg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.whats-new-cta {
  display: block;
  text-align: center;
  margin: 0.6rem var(--space-2) var(--space-2);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
}
.whats-new-cta:hover { box-shadow: var(--shadow-sm); }

@media (max-width: 640px) {
  .whats-new-card { flex-basis: 150px; }
  .whats-new-nav { display: none; }
}
.product-card {
  display: block;
  text-decoration: none;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-accent);
}
.product-card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--color-surface);
  overflow: hidden;
  padding: var(--space-3) var(--space-2);
  box-sizing: border-box;
}
.product-card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-card-body { display: block; padding: var(--space-2); }
.product-card .product-dept {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 0.4rem;
}
.product-card h3 {
  font-size: var(--text-base);
  margin: 0 0 0.3rem;
  color: var(--color-fg);
}
.product-card .product-size {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
}
.load-more-row { text-align: center; margin-top: var(--space-3); }
.empty-state {
  text-align: center;
  color: var(--color-muted);
  padding: var(--space-4) 0;
}

/* ---------- Product detail ---------- */
.product-detail-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.product-detail-card .product-dept { display: block; margin-bottom: var(--space-1); }
.product-detail-card h1 { margin: 0 0 var(--space-1); }
.product-meta-table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0; }
.product-meta-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); }
.product-meta-table td:first-child { color: var(--color-muted); width: 40%; }
.product-detail-image { width: 100%; border-radius: var(--radius-md); margin-bottom: var(--space-3); }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------- Admin ---------- */
.form-row textarea {
  flex: 1 1 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-fg);
  min-height: 5rem;
  resize: vertical;
}
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: var(--space-2) 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-fg);
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.qr-box {
  display: flex;
  justify-content: center;
  padding: var(--space-2);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin: var(--space-2) 0;
}
.secret-box {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--text-lg);
  letter-spacing: 0.06em;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  text-align: center;
  word-break: break-all;
  margin: var(--space-2) 0;
}
.admin-list { display: flex; flex-direction: column; gap: 0.5rem; }
.admin-list-item {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color 150ms ease;
}
.admin-list-item:hover { border-color: var(--color-accent); }
.admin-list-item .item-name { font-weight: 600; }
.admin-list-item .item-meta { font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); flex-wrap: wrap; }

/* ---------- Trust items (used inside .hero-bar-trust) ---------- */
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}
.trust-item svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-accent-text);
  stroke-width: 1.6;
}
.trust-item span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-fg);
  line-height: 1.2;
}

/* ---------- Category wheel (horizontal scrolling rail) ---------- */
.category-wheel {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--chrome-border) transparent;
  padding-bottom: var(--space-2);
}
.category-wheel::-webkit-scrollbar {
  height: 8px;
}
.category-wheel::-webkit-scrollbar-thumb {
  background: var(--chrome-border);
  border-radius: var(--radius-sm);
}
.category-wheel::-webkit-scrollbar-track {
  background: transparent;
}
.wheel-item {
  flex: 0 0 auto;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  text-align: center;
  scroll-snap-align: start;
}
.wheel-circle {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--chrome-bg);
  border: 2px solid var(--chrome-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 180ms ease, transform 180ms ease;
}
.wheel-item:hover .wheel-circle, .wheel-item:focus-visible .wheel-circle {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}
.wheel-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.wheel-item span {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-fg);
}

/* ---------- Promo cards ---------- */
.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.promo-card {
  display: block;
  text-decoration: none;
  background: var(--chrome-bg);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.promo-card:hover, .promo-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.promo-card svg {
  width: 34px;
  height: 34px;
  color: var(--color-accent-text-dark);
  stroke-width: 1.4;
  margin-bottom: var(--space-2);
}
.promo-card h3 { color: var(--chrome-fg); margin: 0 0 0.4rem; font-size: var(--text-lg); }
.promo-card p { color: var(--chrome-muted); margin: 0 0 var(--space-1); font-size: var(--text-sm); }
.promo-card .promo-cta { color: var(--color-accent-text-dark); font-weight: 700; font-size: var(--text-sm); }

@media (max-width: 860px) {
  .promo-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wheel-item { width: 88px; }
  .wheel-circle { width: 76px; height: 76px; }
}
