:root {
  --bg: #16130f;
  --surface: #211c16;
  --surface-2: #2a231c;
  --line: #3a3128;
  --text: #f4ede4;
  --muted: #b5a898;
  --accent: #ff6b1a;
  --accent-ink: #1a0d04;
  --gold: #ffb020;
  --ok: #4cc38a;
  --warn: #ffb020;
  --err: #ff6b6b;
  --blue: #4da3ff;
  --radius: 14px;
  --wrap: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffd166; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.r { text-align: right; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* header */
.promo { background: var(--accent); color: var(--accent-ink); font-size: .85rem; font-weight: 650; text-align: center; padding: 6px 0; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(22,19,15,.96); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.search { flex: 1; max-width: 460px; margin-left: auto; }
.search input { width: 100%; }
.cart-link { color: var(--text); text-decoration: none; font-weight: 650; white-space: nowrap; }
.badge { display: inline-block; min-width: 1.5em; padding: 0 .45em; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .8rem; text-align: center; font-weight: 800; }
.main-nav { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.main-nav a:hover { color: var(--text); }

/* forms */
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
input[type=radio], input[type=checkbox] { width: auto; accent-color: var(--accent); }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.has-error input, .has-error select { border-color: var(--err); }
.error { color: var(--err); font-size: .875rem; margin: 6px 0 0; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 18px; }
fieldset[hidden] { display: none; }
legend { font-weight: 750; padding: 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px;
  padding: 12px 22px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: #ff8440; color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-block { display: block; width: 100%; }
.link { background: none; border: 0; color: var(--gold); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

.flash { border-radius: 10px; padding: 12px 16px; margin: 18px 0; font-weight: 600; }
.flash-ok { background: rgba(76,195,138,.12); border: 1px solid rgba(76,195,138,.4); }
.flash-info { background: rgba(77,163,255,.1); border: 1px solid rgba(77,163,255,.35); }
.flash-error { background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.4); }
.note { background: var(--surface); border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 6px; }

/* layout bits */
main { padding-top: 20px; padding-bottom: 56px; min-height: 60vh; }
section { margin: 40px 0; }
.page-head { margin: 10px 0 26px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.prose { max-width: 75ch; }
.prose p, .prose li { color: #e2d8cc; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* hero */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: 36px 0 10px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.usps { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.usps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.usps strong { display: block; }
.usps span { color: var(--muted); font-size: .9rem; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat { display: block; text-decoration: none; color: var(--text); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cat strong { display: block; font-size: 1.2rem; margin-bottom: 6px; }
.cat span { color: var(--muted); display: block; margin-bottom: 12px; font-size: .95rem; }
.cat em { font-style: normal; color: var(--accent); font-weight: 750; }
.cat:hover { border-color: var(--accent); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-img img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--gold); }
.card-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 1.15rem; }
.price-lg { font-size: 1.8rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 750; padding: 2px 8px; border-radius: 99px; margin: 0; }
.tag-in { background: rgba(76,195,138,.15); color: var(--ok); }
.tag-low { background: rgba(255,176,32,.15); color: var(--warn); }
.tag-out { background: rgba(255,107,107,.15); color: var(--err); }
.tag-local { background: rgba(77,163,255,.12); color: var(--blue); margin-top: 8px; align-self: flex-start; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-img img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.add-form { display: flex; gap: 10px; align-items: center; margin: 18px 0; }
.add-form label { margin: 0; }
.add-form input { width: 80px; }
.ship-box { list-style: none; padding: 16px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ship-box li { padding: 6px 0; font-size: .95rem; color: #e2d8cc; }
.ship-box li + li { border-top: 1px dashed var(--line); }
.ship-box .warn { color: var(--warn); }

/* tables / cart */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table td.r, .table th.r { text-align: right; }
.table tfoot th { border-bottom: 0; }
.qty { width: 74px; }
.cart-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; cursor: pointer; font-weight: 400; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(255,107,26,.07); }
.choice input { margin-top: 5px; }
.choice small { display: block; color: var(--muted); }
.choice.disabled { opacity: .55; cursor: not-allowed; }
.choice[hidden] { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 130px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 12px; }
.summary li, .sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sum-row { font-weight: 800; border: 0; }

/* delivery page */
.postcode-check { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: auto 160px auto; gap: 12px; align-items: center; max-width: 640px; }
.postcode-check label { margin: 0; }
.postcode-check p { grid-column: 1 / -1; margin: 0; font-weight: 650; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.suburbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.suburbs div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.suburbs strong { color: var(--accent); margin-right: 8px; }
.suburbs span { color: #e2d8cc; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 75ch; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: #e2d8cc; }
.hours { list-style: none; padding: 0; margin: 0 0 1em; }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 260px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #120f0c; padding: 36px 0 20px; color: var(--muted); font-size: .92rem; }
.site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand { color: var(--text); font-weight: 800; }
.footer-head { color: var(--text); font-weight: 750; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; font-size: .85rem; }

/* age gate */
.age-gate { position: fixed; inset: 0; background: rgba(10,8,6,.92); display: grid; place-items: center; z-index: 50; padding: 16px; }
.age-gate[hidden] { display: none; }
.age-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; max-width: 420px; text-align: center; }
.age-box img { margin: 0 auto 12px; }
.age-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }

@media (max-width: 900px) {
  .hero, .product, .two-col, .checkout { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .usps { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
}
@media (max-width: 560px) {
  .header-row { flex-wrap: wrap; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .cart-link { margin-left: auto; }
  .usps, .row2, .row3, .footer-grid { grid-template-columns: 1fr; }
  .postcode-check { grid-template-columns: 1fr; }
  .table th:nth-child(2), .table td:nth-child(2) { display: none; }
}

/* product gallery */
.gallery { display: grid; gap: 12px; }
.gallery-main { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0d0b09; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery-thumbs { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs a { display: block; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); flex: none; }
.gallery-thumbs a[aria-current="true"] { border-color: var(--accent); }
.gallery-thumbs a:hover { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
