/* Popping Event Hire — design system
   Layout concept: a bright, plain storefront. The red Popping pill owns the header,
   real event photography carries the hero, products sit on clean white cards with
   the per-day price always visible, and a quote bar follows the visitor on mobile. */
:root {
  --red: #d03f2d;          /* existing brand red (Hestia accent + logo) */
  --red-strong: #b3321f;   /* hover / pressed, AA on white */
  --red-soft: #fbe9e6;     /* tinted surfaces, chips */
  --ink: #221b1a;          /* warm charcoal text */
  --muted: #6d625f;
  --paper: #ffffff;
  --sand: #f7f2f0;         /* section ground, warm grey biased to the red */
  --line: #e9dfdc;
  --ok: #2c7a4b; --ok-soft: #e5f3ea;
  --warn: #9a6200; --warn-soft: #fdf1dc;
  --bad: #b3261e; --bad-soft: #fbe7e5;
  --shadow: 0 1px 2px rgba(34, 27, 26, .06), 0 8px 24px rgba(34, 27, 26, .06);
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;  /* brand face on the live site */
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --step--1: .875rem; --step-0: 1rem; --step-1: 1.125rem; --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); --step-4: clamp(2rem, 1.4rem + 2.8vw, 3.25rem);
  --space: clamp(48px, 6vw, 88px);
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #e5553f; --red-strong: #f06a55; --red-soft: #3a1d18;
    --ink: #f3ebe8; --muted: #b6a9a5; --paper: #181312; --sand: #211a18; --line: #3a2f2c;
    --ok: #6cc893; --ok-soft: #173326; --warn: #f0b75a; --warn-soft: #3a2b10; --bad: #ff8a80; --bad-soft: #3d1a17;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --red: #e5553f; --red-strong: #f06a55; --red-soft: #3a1d18;
  --ink: #f3ebe8; --muted: #b6a9a5; --paper: #181312; --sand: #211a18; --line: #3a2f2c;
  --ok: #6cc893; --ok-soft: #173326; --warn: #f0b75a; --warn-soft: #3a2b10; --bad: #ff8a80; --bad-soft: #3d1a17;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; }
a { color: var(--red-strong); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 600 .75rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--red-strong); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.section { padding-block: var(--space); }
.section--sand { background: var(--sand); }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 32px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  border: 2px solid transparent; font: 600 var(--step-0)/1 var(--font-display); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-strong); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: #221b1a; }
.btn--light:hover { background: #f7f2f0; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: var(--step--1); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--red-strong); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); }
.quote-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 16px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); text-decoration: none; font: 600 .9rem/1 var(--font-display); }
.quote-pill .count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--r-pill); background: var(--red); color: #fff; display: inline-grid; place-items: center; font-size: .8rem; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .quote-pill { margin-left: 8px; }
  .menu-btn, .drawer { display: none !important; }
}

/* Hero */
.hero { position: relative; color: #fff; background: #221b1a; overflow: hidden; }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero .wrap { position: relative; padding-block: clamp(56px, 9vw, 120px); display: grid; gap: 22px; }
.hero h1 { max-width: 16ch; color: #fff; }
.hero .lede { color: rgba(255,255,255,.88); }
.hero .eyebrow { color: #ffd1c9; }
.hero-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-areas span { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.14); font-size: .85rem; }

/* Trust strip */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.facts > div { background: var(--paper); padding: 18px 20px; display: grid; gap: 4px; }
.facts strong { font: 600 var(--step-1) var(--font-display); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* Category cards */
.cats { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cat { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.cat:hover { border-color: var(--red); transform: translateY(-2px); }
.cat .ph { aspect-ratio: 1; border-radius: var(--r-sm); background: #f3efed; overflow: hidden; }
.cat .ph img { width: 100%; height: 100%; object-fit: contain; }
.cat b { font: 600 .98rem var(--font-display); }
.cat small { color: var(--muted); }

/* Product grid & cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card .ph { position: relative; aspect-ratio: 1; background: #f3efed; display: block; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { display: grid; gap: 10px; padding: 16px; align-content: start; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--red-strong); }
.card .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 0 16px 16px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--red); color: #fff; font: 600 .75rem/1.4 var(--font-body); }
.chip { justify-self: start; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--sand); color: var(--muted); font-size: .8rem; font-weight: 500; }
.chip--ok { background: var(--ok-soft); color: var(--ok); }
.chip--warn { background: var(--warn-soft); color: var(--warn); }
.chip--bad { background: var(--bad-soft); color: var(--bad); }
.chip--red { background: var(--red-soft); color: var(--red-strong); }
.price { font: 700 var(--step-2)/1 var(--font-display); white-space: nowrap; }
.price small { font: 500 .8rem var(--font-body); color: var(--muted); }
.price s { font-size: .9rem; color: var(--muted); font-weight: 500; margin-right: 6px; }
.price--quote { font-size: var(--step-0); font-weight: 600; color: var(--muted); }
.added { color: var(--ok); font-weight: 600; font-size: .9rem; }

/* Catalogue toolbar */
.toolbar { display: grid; gap: 12px; }
.search { position: relative; }
.search input { width: 100%; min-height: 50px; padding: 0 16px 0 46px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.filter { flex-shrink: 0; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 500; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--muted); display: grid; gap: 12px; justify-items: center; }

/* Product detail */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.pdp { display: grid; gap: 32px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; align-items: start; } .pdp-buy { position: sticky; top: 96px; } }
.gallery { display: grid; gap: 10px; }
.gallery .main { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #f3efed; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 76px; height: 76px; padding: 0; border-radius: var(--r-sm); border: 2px solid var(--line); overflow: hidden; cursor: pointer; background: #f3efed; }
.thumbs button[aria-pressed="true"] { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-buy { display: grid; gap: 20px; }
.buybox { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-md); background: var(--sand); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; border-radius: var(--r-pill); }
.qty input { width: 56px; text-align: center; border: 0; background: none; height: 44px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 500; }
.prose { display: grid; gap: 12px; max-width: 65ch; }
.info-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.info-list svg { color: var(--red); margin-top: 3px; }

/* How it works */
.steps { display: grid; gap: 16px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; display: grid; gap: 8px; padding: 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); align-content: start; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-pill); background: var(--red); color: #fff; font: 700 1rem var(--font-display); }

/* Split / media */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: var(--r-lg); width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.photo-row { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .photo-row { grid-template-columns: repeat(4, 1fr); } }
.photo-row img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); width: 100%; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font: 600 var(--step-0) var(--font-display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 20px 18px; color: var(--muted); display: grid; gap: 8px; max-width: 70ch; }
.faq-group { display: grid; gap: 12px; }

/* Basket */
.basket { display: grid; gap: 28px; }
@media (min-width: 960px) { .basket { grid-template-columns: 1.4fr 1fr; align-items: start; } .basket aside { position: sticky; top: 96px; } }
.line-items { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; background: #f3efed; }
.line .meta { display: grid; gap: 8px; min-width: 0; }
.line .meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.line .controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.summary { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-md); background: var(--sand); }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.note { padding: 14px 16px; border-radius: var(--r-md); background: var(--sand); color: var(--muted); font-size: .92rem; display: grid; gap: 4px; }
.note--warn { background: var(--warn-soft); color: var(--warn); }
.note--ok { background: var(--ok-soft); color: var(--ok); }
.note--bad { background: var(--bad-soft); color: var(--bad); }
.note--red { background: var(--red-soft); color: var(--red-strong); }

/* Forms */
.form { display: grid; gap: 22px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
legend { font: 600 var(--step-1) var(--font-display); margin-bottom: 6px; padding: 0; }
.fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } .fields--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .92rem; }
.field .hint { color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field .error { color: var(--bad); font-size: .85rem; font-weight: 500; }
.req { color: var(--red-strong); }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: var(--paper); font-weight: 500; }
.choice input { accent-color: var(--red); width: 18px; height: 18px; }
.error-summary { padding: 16px 18px; border-radius: var(--r-md); border: 2px solid var(--bad); background: var(--bad-soft); color: var(--bad); display: grid; gap: 6px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary a { color: var(--bad); }
.hp { position: absolute; left: -9999px; }

/* Status / confirmation */
.confirm { display: grid; gap: 20px; max-width: 760px; }
.ref { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: var(--r-sm); background: var(--sand); font: 600 var(--step-1) var(--font-display); letter-spacing: .03em; }
.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 0; border-top: 1px solid var(--line); }
.kv > * { padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.timeline { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.timeline li::before { content: ""; width: 14px; height: 14px; margin: 5px 0 0 7px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.timeline li.done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.now::before { background: var(--red); border-color: var(--red); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--sand), var(--line), var(--sand)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Footer */
.site-footer { background: #1d1716; color: #e9dfdc; padding-block: 56px 32px; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot-grid h4 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #ffb3a7; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #b6a9a5; }
.copyable { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy { border: 1px solid currentColor; background: none; color: inherit; border-radius: var(--r-pill); padding: 2px 10px; font-size: .75rem; cursor: pointer; opacity: .8; }

/* Preview banner */
.preview-banner { background: var(--ink); color: var(--paper); font-size: .85rem; }
.preview-banner .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-block: 8px; }
.preview-banner a, .preview-banner button { color: var(--paper); }

/* Toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 50; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow); font-weight: 500; max-width: calc(100% - 32px); }
@media (min-width: 960px) { .toast { bottom: 28px; } }

/* ---------- Staff console ---------- */
.staff { display: grid; gap: 24px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.tabs a { flex-shrink: 0; padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; gap: 4px; }
.kpi b { font: 700 var(--step-3)/1 var(--font-display); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
table.data th { text-align: left; font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; background: var(--sand); }
table.data th, table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data a { font-weight: 600; }
.panel { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: grid; gap: 14px; background: var(--paper); min-width: 0; }
.panel h3 { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.cols { display: grid; gap: 20px; }
@media (min-width: 1000px) { .cols { grid-template-columns: 1.3fr 1fr; align-items: start; } }
pre.msg { white-space: pre-wrap; background: var(--sand); padding: 16px; border-radius: var(--r-sm); font: .9rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0; overflow-wrap: anywhere; }
.email-frame { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.email-frame .hdr { padding: 12px 16px; background: var(--sand); font-size: .88rem; display: grid; gap: 2px; }
.email-frame .bd { padding: 20px; display: grid; gap: 12px; }
.missing-list { display: flex; flex-wrap: wrap; gap: 6px; }
.status-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.status-steps span { padding: 6px 10px; border-radius: var(--r-pill); font-size: .8rem; border: 1px solid var(--line); color: var(--muted); }
.status-steps span.done { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.status-steps span.now { background: var(--red); color: #fff; border-color: transparent; }

/* Animated hero */
.hero--stage { background: radial-gradient(120% 90% at 80% 10%, var(--red-soft), transparent 60%), var(--paper); color: var(--ink); overflow: hidden; }
.hero--stage .wrap { padding-block: clamp(36px, 6vw, 80px); }
.hero--stage h1 { color: var(--ink); max-width: 15ch; }
.hero--stage .lede { color: var(--muted); }
.hero--stage .eyebrow { color: var(--red-strong); }
.hero--stage .hero-areas span { background: var(--sand); color: var(--ink); border: 1px solid var(--line); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-copy { display: grid; gap: 20px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.05fr; grid-template-areas: "copy stage"; gap: 40px; } .hero-copy { grid-area: copy; } .stage { grid-area: stage; } }
.stage { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1 / .86; justify-self: center; }
.stage-blob { position: absolute; inset: 6% 4% 10% 6%; background: #f6ebe8; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; animation: blob 14s ease-in-out infinite; }
.stage-blob::after { content: ""; position: absolute; width: 22%; aspect-ratio: 1; right: 4%; top: 2%; border-radius: 50%; background: var(--red); opacity: .9; }
.stage-floor { position: absolute; left: 6%; right: 6%; bottom: 3%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34,27,26,.16), transparent); }
.pop { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z); display: block; outline-offset: 4px;
  animation: pop-in .7s cubic-bezier(.2, 1.6, .4, 1) both; animation-delay: calc(.15s + var(--i) * .14s); }
.pop img { width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(34,27,26,.18)); animation: bob 6s ease-in-out infinite; animation-delay: calc(1.4s + var(--i) * -.85s); transition: transform .2s; }
.pop:hover img, .pop:focus-visible img { transform: translateY(-6px) scale(1.04); }
.pop-label { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); white-space: nowrap; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 600 .75rem var(--font-body); opacity: 0; pointer-events: none; transition: opacity .15s; }
.pop:hover .pop-label, .pop:focus-visible .pop-label { opacity: 1; }
.spark { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--red); animation: spark 2.4s ease-out both; }
.spark.s1 { left: 22%; top: 18%; animation-delay: .5s; }
.spark.s2 { left: 84%; top: 34%; width: 8px; height: 8px; animation-delay: .9s; }
.spark.s3 { left: 46%; top: 92%; width: 10px; height: 10px; background: #2c7a4b; animation-delay: 1.2s; }
@keyframes pop-in { 0% { opacity: 0; transform: translateY(40px) scale(.3); } 60% { opacity: 1; transform: translateY(-10px) scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes blob { 0%, 100% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; } 50% { border-radius: 55% 45% 40% 60% / 40% 58% 42% 60%; } }
@keyframes spark { 0% { opacity: 0; transform: scale(0); } 30% { opacity: 1; transform: scale(1.4); } 100% { opacity: .85; transform: scale(1); } }
@media (max-width: 640px) {
  .hero--stage .wrap { padding-block: 24px 28px; }
  .hero-grid { gap: 8px; }
  .stage { max-width: 360px; margin: 0 auto 4px; }
  .pop-label { display: none; }
}

/* Policy pages */
.policy { display: grid; gap: 20px; max-width: 820px; }
.policy-body { max-width: 70ch; }
.policy-body h2 { font-size: var(--step-2); margin-top: 18px; scroll-margin-top: 90px; }
.policy-body h3 { font-size: var(--step-1); margin-top: 6px; }
.policy-body ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.policy-toc { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; }
.policy-toc summary, .policy-changes summary { cursor: pointer; font-weight: 600; }
.policy-toc ol { margin: 10px 0 0; padding-left: 22px; columns: 2 220px; column-gap: 24px; }
.policy-toc li { margin-bottom: 6px; break-inside: avoid; }
.policy-toc .link-btn { text-align: left; font-weight: 500; text-decoration: none; }
.policy-changes ul { margin: 8px 0 0; padding-left: 20px; }
.updated-tag { margin-top: 4px; }
.drawer-legal a { color: var(--muted); }

/* ---------- Phone-first layer (most visitors are on phones) ---------- */
body.no-scroll { overflow: hidden; }
html { -webkit-text-size-adjust: 100%; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }

/* Slide-in menu */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20, 14, 13, .45); opacity: 0; transition: opacity .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--paper); box-shadow: -12px 0 32px rgba(0,0,0,.18);
  display: flex; flex-direction: column; gap: 20px; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 18px;
  transform: translateX(100%); transition: transform .22s ease-out; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head img { height: 46px; width: auto; }
.drawer-links { display: grid; }
.drawer-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font: 600 1.15rem var(--font-display); }
.drawer-links a svg { color: var(--muted); }
.drawer-links a[aria-current="page"] { color: var(--red-strong); }
.drawer-cats { display: grid; gap: 10px; }
.drawer-cats > div { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-cats .chip { text-decoration: none; padding: 8px 12px; font-size: .88rem; color: var(--ink); }
.drawer-contact { display: grid; gap: 10px; margin-top: auto; }
.drawer-contact p { font-size: .85rem; text-align: center; }

/* Bottom bar: navigation or the page's main action */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0,0,0,.07); padding-bottom: env(safe-area-inset-bottom, 0px); }
.mbar--tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.mbar--tabs a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 0 6px; min-height: 58px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; }
.mbar--tabs a.on { color: var(--red-strong); }
.mbar-count { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.mbar--action { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.mbar--action .btn { min-height: 50px; flex: 1; max-width: 230px; }
.mbar-price { display: grid; line-height: 1.15; color: var(--ink); text-decoration: none; }
.mbar-price b { font: 700 1.2rem var(--font-display); }
.mbar-price small { color: var(--muted); font-size: .78rem; }
body.has-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 960px) { .mbar { display: none; } body.has-bar { padding-bottom: 0; } }

.map-img { width: 100%; height: auto; border-radius: var(--r-lg); aspect-ratio: auto !important; object-fit: contain !important; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); background: #f3efed; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
details.more summary { cursor: pointer; color: var(--red-strong); font-weight: 600; padding: 6px 0; }
.card-spec { font-size: .9rem; }

@media (max-width: 959px) {
  .quote-pill { padding: 0 10px 0 12px; }
  .preview-banner .banner-long { display: none; }
  .preview-banner .wrap { padding-block: 6px; font-size: .78rem; flex-wrap: nowrap; }
  .preview-banner .wrap > a { display: none; } /* staff link lives in the menu on phones */
  .preview-banner .wrap > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 46px; }
  .pdp-buy .buybox .btn--block { display: none; } /* the bottom bar carries Add to quote */
  .summary--request { order: -1; }
  .summary--request .timeline, .summary--request .next-h { display: none; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  :root { --space: 40px; }
  h1 { font-size: clamp(1.85rem, 7.6vw, 2.4rem); }
  .lede { font-size: 1.02rem; }
  .section { padding-block: var(--space); }
  .stack-lg { gap: 24px; }
  /* hero */
  .hero .wrap { padding-block: 40px 32px; gap: 16px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-ctas .btn { padding: 0 12px; font-size: .95rem; }
  .hero-areas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .hero-areas span { flex-shrink: 0; }
  /* facts 2x2 */
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 14px; }
  .facts strong { font-size: 1rem; }
  .facts .muted { font-size: .84rem; line-height: 1.4; }
  /* categories as a swipe row */
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 10px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .cats .cat { flex: 0 0 38%; scroll-snap-align: start; padding: 10px; gap: 6px; }
  /* product grid: two per row */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card .body { padding: 10px 10px 6px; gap: 6px; }
  .card .body .chip, .card-spec { display: none; }
  .card h3 { font-size: .95rem; line-height: 1.25; }
  .card .foot { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 8px; padding: 0 10px 10px; }
  .card .price { font-size: 1.05rem; }
  .card .price--quote { font-size: .82rem; white-space: normal; }
  .card-add { width: 100%; min-height: 40px; }
  .badge { top: 8px; left: 8px; }
  /* steps as a swipe row */
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .steps li { flex: 0 0 78%; scroll-snap-align: start; }
  /* catalogue toolbar sticks under the header */
  .toolbar { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 15; background: var(--paper); margin-inline: -16px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .search input { min-height: 46px; }
  .filters { scrollbar-width: none; }
  .filter { min-height: 38px; padding: 0 14px; font-size: .9rem; }
  /* product page */
  .pdp { gap: 20px; }
  .slides { margin-inline: -16px; border-radius: 0; }
  .thumbs { display: none; }
  .buybox { padding: 16px; }
  /* forms: 16px text stops iOS zooming into fields */
  .field input, .field select, .field textarea { font-size: 16px; }
  .fields--2, .fields--3 { grid-template-columns: minmax(0, 1fr); }
  .choice { display: grid; }
  .panel { padding: 16px; }
  /* basket lines */
  .line { grid-template-columns: 64px minmax(0, 1fr); padding: 12px; }
  .line img { width: 64px; height: 64px; }
  /* footer */
  .site-footer { padding-block: 40px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .kv { grid-template-columns: minmax(96px, 36%) 1fr; }
}
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 48px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- WordPress-specific additions (appended to site.css by scripts/build_wp.py) ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose img { height: auto; border-radius: var(--r-md); }
.prose a { color: var(--red-strong); }
.alignwide, .alignfull { max-width: 100%; }
.price .per-day, .price small { font: 500 .8rem var(--font-body); color: var(--muted); }
.policy-dates { color: var(--muted); }
.policy-toc a { color: var(--red-strong); text-decoration: none; font-weight: 500; }
.policy-toc a:hover { text-decoration: underline; }
.card[hidden] { display: none !important; }
.popping-app { min-height: 160px; }
.woocommerce-notices-wrapper:empty { display: none; }
.brand img, .drawer-head img, .site-footer .stack img { width: auto; }
.site-footer .stack img { height: 66px; }
/* WooCommerce single-product markup that the theme does not use */
.woocommerce .product .cart, .single_add_to_cart_button { display: none !important; }
.foot-base .staff-link { color: #b6a9a5; text-decoration: none; }
.foot-base .staff-link:hover, .foot-base .staff-link:focus-visible { color: #fff; text-decoration: underline; }
