:root {
  --bg: #07140c;
  --card: #fffdf8;
  --wash: #0c1c12;
  --ink: #14261a;
  --mute: #4a6354;
  --line: #1f3d28;
  --leaf: #4ade80;
  --leaf-2: #22c55e;
  --deep: #031008;
  --cream: #ecfdf3;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(0,0,0,.28);
  --gold: #4ade80;
  --ok: #4ade80;
  --danger: #fb7185;
  --header-h: 58px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html.js body { opacity: 1; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(34,197,94,.2), transparent 60%),
    var(--bg);
  color: var(--cream);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 {
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h3 { font-size: 1.05rem; }
.wrap {
  width: min(1180px, calc(100% - 20px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.graffiti {
  display: none;
  position: fixed;
  top: 0; bottom: 0;
  width: 112px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: #031008;
}
.graffiti img {
  width: 112px;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.graffiti-l { left: 0; box-shadow: inset -16px 0 22px rgba(0,0,0,.55); }
.graffiti-r { right: 0; box-shadow: inset 16px 0 22px rgba(0,0,0,.55); }
@media (min-width: 1024px) {
  .graffiti { display: block; }
  .graffiti-l { background: #031008 url("../img/weed/rail-left.svg") center / cover no-repeat; }
  .graffiti-r { background: #031008 url("../img/weed/rail-right.svg") center / cover no-repeat; }
  .shop-main, .foot, .foot-vine {
    padding-left: 112px;
    padding-right: 112px;
  }
}

.haze-bar, .foot-vine {
  height: 22px;
  background: var(--deep) url("../img/weed/vine.svg") repeat-x center / auto 22px;
}
.haze-bar { border-bottom: 1px solid #14532d; }
.foot-vine { border-top: 1px solid #14532d; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--leaf); color: #04140c; padding: 8px 12px; border-radius: 10px;
}
.skip:focus { left: 12px; z-index: 80; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 800;
}
.lead, .sub, .meta { color: #bbf7d0; }
.page-pad .lead, .page-pad .meta, .auth-card .lead { color: var(--mute); }

.ico { display: block; flex: 0 0 auto; }
.brand-mark .ico { color: #052e16; }

.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.bar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-areas: "menu brand cart";
  gap: 8px;
  align-items: center;
  min-height: var(--header-h);
  padding: 8px 0 6px;
}
.bar > .menu-btn { grid-area: menu; display: grid; }
.bar > .brand { grid-area: brand; }
.bar > .tools { grid-area: cart; justify-self: end; }
.brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; min-width: 0; justify-content: center;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--leaf-2); color: #052e16;
  display: grid; place-items: center; font-weight: 800; flex: 0 0 36px;
}
.brand-txt {
  min-width: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}
.brand-txt strong {
  display: block;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-txt small {
  display: block;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #86efac;
  font-weight: 700;
}
.search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--leaf-2);
  border-radius: 8px; padding: 2px 2px 2px 14px;
}
.search input {
  flex: 1; border: 0; background: transparent; min-width: 0;
  padding: 10px 0; outline: none; color: #14261a;
}
.search button {
  width: 42px; height: 40px; border: 0; border-radius: 6px;
  background: var(--leaf-2); color: #04140c;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.tools { display: flex; align-items: center; gap: 2px; }
.tools .desk-search { display: none; width: min(280px, 32vw); margin: 0 8px 0 0; }
button.tool-link {
  border: 0; background: transparent; font: inherit; cursor: pointer;
}
.tool-link {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-width: 44px; min-height: 44px; padding: 4px 6px;
  text-decoration: none; color: #fff; font-size: .68rem; font-weight: 650;
  border-radius: 10px;
}
.tool-link:hover { background: #0a2414; }
.search-hit span, .hit-cart span { display: none; }
.tool-link .badge, .hit-cart .badge {
  position: absolute; top: 0; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--leaf); color: #04140c;
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
  font-style: normal;
}
.desk-only { display: none; }
.nav-row { display: none; min-height: 0; background: #07140c; padding: 0; }
.navcats {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 0; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.navcats::-webkit-scrollbar { display: none; }
.navcats a {
  flex: 0 0 auto; white-space: nowrap;
  padding: 10px 12px; color: #d1fae5; text-decoration: none;
  font-size: .82rem; font-weight: 650;
}
.navcats a:hover { color: var(--leaf); }
.hit {
  width: 44px; height: 44px; padding: 0; border: 1px solid #14532d;
  border-radius: 10px; background: #0a2414; color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.hit:hover { border-color: var(--leaf); color: var(--leaf); }

@media (min-width: 981px) {
  .bar > .menu-btn { display: none; }
  .bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand . tools";
    gap: 12px;
  }
  .bar > .tools { grid-area: tools; }
  .tools .desk-search { display: flex; }
  .search-hit { display: none; }
  .search-hit span, .hit-cart span, .desk-only span { display: block; }
  .tool-link { min-width: 52px; }
  .desk-only { display: flex; }
  .brand { justify-content: flex-start; }
  .nav-row { display: flex; }
}

.search-sheet {
  position: fixed; inset: 0; z-index: 95;
  pointer-events: none; visibility: hidden;
}
.search-sheet.on { pointer-events: auto; visibility: visible; }
.search-sheet-bg {
  position: absolute; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; transition: opacity .28s ease;
}
.search-sheet.on .search-sheet-bg { opacity: 1; }
.search-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--card); color: var(--ink);
  border-radius: 18px 18px 0 0;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(0,0,0,.35);
  transform: translateY(108%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.search-sheet.on .search-sheet-panel { transform: none; }
.search-sheet-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 0 0 12px;
}
.search-sheet-top .hit { background: #f4f1e6; color: var(--ink); border-color: #c5d5c8; }
.sheet-search { width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--leaf-2); color: #04140c;
  padding: 12px 16px; border: 0; border-radius: 10px;
  font-weight: 800; font-size: .9rem; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #86efac; }
.btn.ghost {
  background: #fff; color: #14261a; border: 1px solid #c5d5c8;
}
.btn.gold { background: var(--leaf); color: #04140c; }
.btn.wide { width: 100%; }
.btn:focus-visible, .search input:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #86efac; outline-offset: 2px;
}

.hero-shop {
  position: relative; overflow: hidden;
  width: 100%; min-height: 460px;
  background: #052e16; margin: 0 0 8px; z-index: 1;
  border-bottom: 1px solid #14532d;
}
.hero-track { position: relative; min-height: 460px; }
.hero-slide {
  position: absolute; inset: 0; min-height: 460px; background: #052e16;
}
.hero-slide[hidden] { display: none !important; }
.hero-slide img, .hero-shop-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.78) saturate(1.12) contrast(1.06);
}
.hero-shop-copy {
  position: absolute; z-index: 3; left: 28px; bottom: 40px;
  padding: 22px 26px; max-width: min(38rem, 88%);
  color: #fff;
  background: linear-gradient(180deg, rgba(3,16,8,.4), rgba(3,16,8,.78));
  border: 1px solid rgba(74, 222, 128, .5);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}
.hero-shop-copy h1, .hero-shop-copy h2 {
  margin: 0 0 8px; color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}
.hero-shop-copy p { margin: 0 0 14px; color: #d1fae5; }
.hero-dots {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 12px;
  display: flex; gap: 8px; justify-content: center; margin: 0;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 99px; border: 0;
  background: rgba(187, 247, 208, .45); padding: 0; cursor: pointer;
}
.hero-dots button.on { width: 28px; background: var(--leaf); }

.shop-main { min-height: 60vh; position: relative; z-index: 2; }
.shop-sec { padding: 32px 0; }
.section-head { margin-bottom: 16px; }
.section-head .kicker { margin: 0 0 6px; }
.section-head h2, .page-head h1 { color: var(--cream); }
.local-strip,
.local-strip-8 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.howto-ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: how;
}
.howto-ol li {
  background: linear-gradient(180deg, #0c1c12, #07140c);
  border: 1px solid #14532d;
  border-radius: 16px;
  padding: 16px 16px 16px 44px;
  position: relative;
  counter-increment: how;
  min-height: 140px;
}
.howto-ol li::before {
  content: counter(how);
  position: absolute;
  left: 14px; top: 14px;
  color: var(--leaf);
  font-weight: 800;
}
.howto-ol strong { display: block; color: var(--cream); margin: 0 0 6px; }
.howto-ol p { margin: 0; color: #bbf7d0; font-size: .9rem; }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.journal-grid .note {
  background: #0c1c12;
  border: 1px solid #14532d;
  border-radius: 16px;
  padding: 14px;
}
.journal-grid h3 { margin: 0 0 8px; font-size: 1rem; }
.journal-grid p { margin: 0; color: #bbf7d0; font-size: .9rem; }
.split-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split-copy article {
  background: #0c1c12;
  border: 1px solid #14532d;
  border-radius: 16px;
  padding: 18px;
}
.split-copy h2 { color: var(--cream); }
@media (max-width: 980px) {
  .howto-ol, .local-strip-8, .journal-grid, .split-copy { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .howto-ol, .local-strip-8, .journal-grid, .split-copy { grid-template-columns: 1fr; }
}
.local-strip article {
  background: linear-gradient(180deg, #0c1c12, #07140c);
  border: 1px solid #14532d;
  border-radius: 16px;
  padding: 16px;
  min-height: 120px;
}
.local-strip strong { display: block; color: var(--leaf); margin: 0 0 6px; }
.local-strip p { margin: 0; color: #bbf7d0; font-size: .9rem; }

.cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.cat {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  min-height: 188px;
  box-shadow: var(--shadow);
  border: 1px solid #14532d;
}
.cat:hover { border-color: var(--leaf); transform: translateY(-2px); }
.cat-photo { width: 100%; height: 188px; object-fit: cover; filter: saturate(1.15); }
.cat-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(3,16,8,.92));
  font-weight: 800; letter-spacing: .04em;
}
.cat-ico { display: none; }
.cat-hero {
  margin: 0 0 18px; border-radius: 18px; overflow: hidden;
  border: 1px solid #14532d; max-height: 280px;
}
.cat-hero img { width: 100%; height: 280px; object-fit: cover; }
.page-pad { padding: 18px 0 40px; }
.page-head { margin: 0 0 18px; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: .84rem; color: #86efac; margin: 0 0 14px;
}
.crumbs a { color: var(--leaf); text-decoration: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.pcard {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.pcard:hover { border-color: var(--leaf); }
.pcard a.thumb {
  display: block; background: #0c1c12; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none;
}
.pcard img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.pcard .pad { padding: 12px 14px 14px; display: grid; gap: 6px; flex: 1; }
.pcard h3 { font-size: .95rem; margin: 0; min-height: 2.6em; }
.pcard h3 a {
  text-decoration: none; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pack { font-size: .82rem; color: var(--mute); margin: 0; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.mrp { color: var(--mute); text-decoration: line-through; font-size: .86rem; }
.off {
  font-size: .72rem; font-weight: 800; color: #04140c;
  background: var(--leaf); border-radius: 999px; padding: 2px 8px;
}
.stars { color: #16a34a; font-size: .82rem; margin: 0; }
.star-n { color: #52525b; font-weight: 600; }
.stock-pill { margin: 0; font-size: .75rem; font-weight: 700; }
.stock-pill.in { color: #15803d; }
.stock-pill.out { color: #b91c1c; }
.pcard .btn { margin-top: auto; min-height: 40px; }
.wa-buy { margin-top: 8px; width: 100%; }
.pdp-buy .wa-buy { width: auto; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.trust-row article {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 16px;
}
.trust-row strong { display: block; margin: 0 0 6px; }
.trust-row p { margin: 0; color: var(--mute); font-size: .88rem; }

.seo-copy { color: #bbf7d0; max-width: 48rem; }
.seo-copy h2 { color: var(--cream); }
.seo-copy p { margin: 0 0 1rem; }
.seo-copy a { color: var(--leaf); font-weight: 700; }

.pdp {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: start;
}
.gallery {
  background: #0c1c12; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; position: sticky; top: 86px;
}
.gallery img { width: 100%; height: 420px; object-fit: cover; }
.pdp-buy {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: grid; gap: 10px;
}
.pdp-buy h1 { color: var(--ink); margin: 0 0 4px; font-size: 1.7rem; line-height: 1.15; }
.pdp-buy .price { font-size: 1.7rem; }
.pdp-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.pdp-chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: #ecfdf3; border: 1px solid #bbf7d0;
  color: #14532d; font-size: .78rem; font-weight: 750;
}
.stock { color: #15803d; font-weight: 700; }
.stock.out { color: var(--danger); }
.buy-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 4px;
}
.buy-actions .btn { min-height: 48px; flex: 1; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid #c5d5c8; border-radius: 10px; overflow: hidden; background: #fff; color: var(--ink);
}
.qty button { width: 40px; height: 48px; border: 0; background: #f4f1e6; cursor: pointer; color: var(--ink); }
.qty input { width: 52px; border: 0; text-align: center; background: #fff; font-weight: 700; color: var(--ink); }
.packs { display: flex; flex-wrap: wrap; gap: 8px; }
.pack-opt {
  border: 1px solid #c5d5c8; background: #fff; color: var(--ink);
  border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 650;
}
.pack-opt.on { border-color: #16a34a; background: #ecfdf3; color: #14532d; }
.promises {
  list-style: none; margin: 16px 0 0; padding: 12px 0 0;
  display: grid; gap: 12px; border-top: 1px solid #d7e3d4;
}
.promises li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--mute); }
.promises .ico { color: #16a34a; margin-top: 3px; }
.promises strong { color: var(--ink); display: block; font-size: .95rem; }
.promises small { display: block; font-size: .86rem; line-height: 1.5; }
.pdp-extra {
  margin: 22px 0 8px; background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.pdp-extra h2 { color: var(--ink); margin: 0 0 10px; }
.pdp-extra p { color: var(--mute); }
.pdp-block { margin: 0 0 8px; }
.review-sum {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 16px; margin: 0 0 16px;
  background: #ecfdf3; border: 1px solid #bbf7d0; border-radius: 14px;
}
.review-sum .big { font-size: 2rem; font-weight: 800; color: #14532d; line-height: 1; }
.review-sum p { margin: 0; color: #166534; }
.review-list { display: grid; gap: 12px; }
.review {
  margin: 0; padding: 16px; background: #f4f1e6;
  border: 1px solid #d7e3d4; border-radius: 14px;
}
.review-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.review-head strong { color: var(--ink); }
.review .stars { margin: 4px 0 8px; }
.review p { margin: 0; color: var(--ink); }
.review .who { margin-top: 10px; font-size: .78rem; color: var(--mute); font-weight: 650; }
.related-sec { margin: 8px 0 28px; }
.related-sec .section-head h2 { color: var(--cream); }
.related-sec .grid { margin-top: 4px; }
.note {
  background: #f4f1e6; border: 1px solid #d7e3d4; border-radius: 12px; padding: 14px 16px; margin: 0 0 10px;
}
.note .who { font-size: .78rem; text-transform: uppercase; color: var(--mute); }

.faq-block { margin: 16px 0 8px; }
.faq-block h2 { color: var(--cream); }
.page-pad .faq-block h2 { color: var(--cream); }
.pdp-extra .faq-block h2 { color: var(--ink); }
.faq-list {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card);
}
details.faq { border-bottom: 1px solid #d7e3d4; background: var(--card); }
details.faq:last-child { border-bottom: 0; }
details.faq summary {
  cursor: pointer; font-weight: 650; list-style: none;
  padding: 14px 16px; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq[open] summary { color: #15803d; }
details.faq p { color: var(--mute); margin: 0; padding: 0 16px 14px; }

.form, .stack { display: grid; gap: 12px; }
.form label, .stack label {
  display: grid; gap: 6px; font-size: .88rem; color: var(--mute); font-weight: 600;
}
input, select, textarea {
  border: 1px solid #c5d5c8; background: #fff; color: var(--ink);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form-card, .auth-card, .empty, .totals, .line, .account-bal {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.form-card, .auth-card { padding: 24px; }
.auth-card, .narrow { width: min(460px, 100%); margin: 0 auto; }
.auth-card h1, .totals h2, .form-card h2 { color: var(--ink); }
.auth-switch { margin: 14px 0 0; }
.auth-switch a { color: #15803d; font-weight: 700; text-decoration: none; }
.cart-layout, .check-layout, .account-grid {
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; align-items: start;
}
.line {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 14px;
  padding: 12px; margin: 0 0 12px; align-items: center;
}
.line img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; background: #0c1c12; }
.line-qty { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.line-qty input[type=number] { width: 64px; }
.line-price { font-weight: 750; }
.totals { padding: 18px; position: sticky; top: 92px; }
.tot-row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; color: var(--mute); }
.tot-pay { color: var(--ink); font-size: 1.05rem; margin-top: 12px; padding-top: 12px; border-top: 1px solid #d7e3d4; }
.totals .btn { margin-top: 8px; }
.totals p.meta { font-size: .88rem; color: var(--mute); }
.empty { padding: 36px; text-align: center; }
.pay-strip { margin: 0 0 12px; }
.pay-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-pill {
  display: inline-flex; padding: 8px 12px; border-radius: 999px;
  border: 1px solid #c5d5c8; background: #f4f1e6; font-size: .78rem; font-weight: 700; color: var(--ink);
}
.err { color: var(--danger); }
.ok { background: #14532d; color: #bbf7d0; padding: 10px 12px; border-radius: 12px; }
.account-bal { padding: 22px; }
.account-bal strong { font-size: 2rem; color: #14532d; }
.table { width: 100%; border-collapse: collapse; color: var(--ink); }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid #d7e3d4; }

.foot {
  background: var(--deep); color: #a7c4b0;
  padding: 8px 0 28px; position: relative; z-index: 2;
}
.foot a { color: var(--leaf); text-decoration: none; }
.foot-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px; padding: 16px 0;
}
.foot-col { display: flex; flex-direction: column; gap: 6px; }
.foot .meta { color: #86efac; }

.tabbar { display: none; }
.nav-sheet {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none; visibility: hidden;
}
.nav-sheet.on { pointer-events: auto; visibility: visible; }
.nav-sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.nav-sheet-panel {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: min(86vw, 340px); background: #0c1c12; color: var(--cream);
  border-right: 1px solid #14532d;
  padding: 16px 16px 110px; overflow: auto;
  transform: translateX(-104%); transition: transform .25s ease;
}
.nav-sheet.on .nav-sheet-panel { transform: none; }
.nav-sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.nav-sheet-panel .kicker { margin: 16px 0 8px; }
.nav-sheet-panel > a {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 4px; border-bottom: 1px solid #14532d;
  font-weight: 700; text-decoration: none; color: #d1fae5;
}
.drawer {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
}
.drawer.on { pointer-events: auto; }
.drawer-bg { position: absolute; inset: 0; background: rgba(14,27,24,.35); }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(400px, 92vw); background: var(--card); color: var(--ink);
  transform: translateX(104%); transition: transform .28s ease;
  padding: 20px; overflow: auto;
}
.drawer.on .drawer-panel { transform: none; }
.pdp-stick, .cart-stick { display: none; }
.shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.shell aside { background: #052e16; color: #ecfdf8; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.shell aside a { color: #ecfdf8; text-decoration: none; }
.shell main { padding: 28px; background: var(--bg); }

@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .desk-search, .nav-row { display: none !important; }
}
@media (max-width: 720px) {
  .grid, .cats { grid-template-columns: 1fr 1fr; }
  .trust-row, .local-strip, .quotes, .cart-layout, .check-layout, .pdp, .foot-grid, .account-grid, .shell {
    grid-template-columns: 1fr;
  }
  .hero-shop, .hero-track, .hero-slide { min-height: 300px; }
  .hero-shop-copy { left: 12px; right: 12px; bottom: 28px; max-width: none; padding: 16px; }
  .cat-photo { height: 140px; }
  .cat-hero img { height: 180px; }
  .gallery { position: static; }
  .gallery img { height: 280px; }
  .pdp-buy .buy-actions { display: none; }
  .pdp-stick .wa-buy { display: none; }
  .line { grid-template-columns: 72px 1fr; }
  .line-price { grid-column: 2; }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--deep); border-top: 1px solid #14532d;
    padding: 6px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: .62rem; font-weight: 800; color: #a3a3a3; text-decoration: none;
    letter-spacing: .02em; text-transform: uppercase;
    min-height: 48px; justify-content: center;
  }
  .tabbar a.on, .tabbar a:hover { color: var(--leaf); }
  .foot { padding-bottom: 96px; }
  .pdp-stick, .cart-stick {
    position: fixed; left: 8px; right: 8px; bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    z-index: 35;
    display: flex; align-items: center; gap: 8px;
    background: var(--deep); color: #fff;
    border: 1px solid var(--leaf-2);
    border-radius: 12px; padding: 8px 10px;
  }
  .pdp-stick .price { color: #fff; font-size: 1.05rem; padding: 0 6px; }
  .pdp-stick .buy-actions { flex: 1; flex-direction: row; flex-wrap: nowrap; margin: 0; display: flex; }
  .pdp-stick .btn { flex: 1; min-height: 44px; }
  .pdp-stick .btn.ghost, .pdp-stick .qty { display: none; }
  .cart-stick { justify-content: space-between; }
  .cart-stick .btn { min-width: 140px; }
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
  .brand-txt { font-size: 1rem; }
}
