/* 3rd Floor Meats: light, soft theme.
   Warm cream background, white panels, soft charcoal text, muted mustard accent.
   Keeps the poster touches: tall condensed capitals (Oswald) and rounded product cards.
   Every colour is a variable below, so the palette can be changed in one place.

   The display face must carry Vietnamese. Bebas Neue, used here before, ships only latin and
   latin-ext, so every letter in U+1EA0–U+1EF1 (Ị, Ậ, Ộ, Ữ and most other Vietnamese vowels) fell
   back to a different font mid-word and the headings looked broken. Vietnamese names reach English
   pages too — "Thank you, Nguyễn!" — so this is not something the Vietnamese pages can fix alone. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@400;500;600&display=swap");

:root {
  /* Surfaces */
  --bg: #f7f3ec;               /* page: warm cream */
  --surface: #ffffff;          /* cards, panels, inputs */
  --surface-2: #f1ece3;        /* banners, subtle fills */
  --img-bg: #e4e1dc;           /* behind product photos (they have a grey studio background) */
  --line: #e6dfd3;
  --line-strong: #d6cdbf;      /* input and option borders */

  /* Text */
  --text: #2a2622;             /* soft charcoal, not pure black */
  --display-ink: #2b2219;      /* headline caps: espresso, so they never read as flat black */
  --text-2: #4f4942;           /* body copy */
  --muted: #7d766c;
  --faint: #a59d92;            /* placeholders, inactive steps */

  /* Accent: muted mustard instead of bright yellow */
  --accent: #e8b33a;           /* button and badge fills */
  --accent-hover: #f0c25a;
  --accent-soft: #fbf0d4;      /* tinted backgrounds */
  --accent-ink: #8a6400;       /* accent-coloured TEXT; plain --accent is too light to read on cream */

  --danger: #c4513f;
  --ok: #2f9e5a;
  --ok-soft: #e3f3e8;

  --shadow: 0 10px 28px rgba(60, 40, 10, .10);
  --radius: 14px;
  /* Condensed poster capitals, and it carries Vietnamese (see the note at the top). */
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --footer-h: 44px;            /* used to keep the video box above the sticky footer */
  /* Very light paper grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }   /* anchor links land below the sticky nav */
body {
  /* Column layout so short pages (e.g. sign-in) still push the footer to the bottom of the screen */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 16px/1.6 var(--body);
  color: var(--text);
  /* A warm light spills across the top of the page, so the cream is lit rather than flat. It is a
     page layer, not a box behind the headline: a box shows its edges where the gradient runs out. */
  background:
    radial-gradient(1200px 520px at 22% -80px, rgba(232, 179, 58, .22), transparent 68%) no-repeat,
    var(--bg) var(--grain);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
/* Elements toggled with the hidden attribute must stay hidden even when a rule sets display. */
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.page-title, .section-title, .hero-title, .ws-section-title,
.about-teaser h2, .about-page h2, .b2b-teaser h2,
.empty-state h2, .enquiry-success h2, .modal-info h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .5px;
  /* Vietnamese stacks its marks above the capital — Ế, Ộ, Ử. A line-height of 1 leaves them no
     room: they ride into the line above and the first line is cropped by the top of the box. */
  line-height: 1.12;
  text-transform: uppercase;
}
.page-title { font-size: 56px; text-align: center; margin-bottom: 36px; }
.section-title { font-size: 48px; }
/* The kicker carries the brand colour as a solid chip, so the block has somewhere bright to land
   before the eye reaches the headline. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(232, 179, 58, .35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent-ink);
  opacity: .55;
  flex-shrink: 0;
}

/* Depth without filling the glyphs: a gradient clipped to text is painted only inside the box, so
   anything that reaches past it — exactly what a Vietnamese mark does — is left unpainted and the
   letter loses its top. On a Vietnamese-first site that technique is not worth its look, so the
   caps keep a solid ink, warmed a shade from the body copy, and the depth comes from the accent
   rule above and the bar below. */
.page-title, .section-title, .ws-section-title,
.about-teaser h2, .about-page h2, .b2b-teaser h2,
.empty-state h2, .enquiry-success h2, .modal-info h2 {
  color: var(--display-ink);
  /* Letterpress: a hairline of paper-white along the top edge, then a warm shadow falling away.
     Unlike a clipped fill this follows the glyph, so the marks keep theirs too. */
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .8),
    0 3px 16px rgba(90, 62, 16, .18);
}

/* The two headlines that open a page take a mustard ghost offset behind the caps — a duotone the
   way a poster is printed slightly out of register. It is a shadow, so it traces the marks too. */
.page-title, .shop-intro .section-title {
  text-shadow:
    2px 3px 0 rgba(232, 179, 58, .5),
    0 12px 30px rgba(90, 62, 16, .16);
}

/* Over the video the headline needs the opposite: a dark shadow to hold it off the footage. */
.hero-title { text-shadow: 0 2px 4px rgba(0, 0, 0, .35), 0 10px 40px rgba(0, 0, 0, .45); }

/* An accent bar under the headline, the way a poster sets one, with a highlight that drifts along
   it now and then so the block is never completely still. */
@keyframes sheen {
  0%, 55% { background-position: -140% 0; }
  100%    { background-position: 240% 0; }
}
.page-title::after, .shop-intro .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 40%, #fff3d2 52%, var(--accent-hover) 64%, var(--accent) 100%);
  background-size: 240% 100%;
  box-shadow: 0 3px 12px rgba(232, 179, 58, .4);
  animation: sheen 5s ease-in-out infinite;
}
.page-title::after { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 12px 26px;
  font: 700 13px var(--body);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn-light { background: var(--accent); color: var(--text); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--surface); border-color: var(--text); color: var(--text); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Motion ----------
   Everything here is decoration: the page is complete and readable before a frame runs, and all of
   it is switched off for visitors who ask for less movement. */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.shop-intro > *, .hero-inner > *, .banner > * {
  animation: rise .6s cubic-bezier(.22, .61, .36, 1) backwards;
}
.shop-intro > *:nth-child(2), .hero-inner > *:nth-child(2) { animation-delay: .08s; }
.hero-inner > *:nth-child(3) { animation-delay: .16s; }
.hero-inner > *:nth-child(4) { animation-delay: .24s; }

/* The tiles arrive one after another, left to right, so the grid assembles itself. */
.category-grid > * { animation: rise .55s cubic-bezier(.22, .61, .36, 1) backwards; }
.category-grid > *:nth-child(1) { animation-delay: .05s; }
.category-grid > *:nth-child(2) { animation-delay: .10s; }
.category-grid > *:nth-child(3) { animation-delay: .15s; }
.category-grid > *:nth-child(4) { animation-delay: .20s; }
.category-grid > *:nth-child(5) { animation-delay: .25s; }
.category-grid > *:nth-child(6) { animation-delay: .30s; }
.category-grid > *:nth-child(7) { animation-delay: .35s; }
.category-grid > *:nth-child(8) { animation-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Sticky top nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  padding: 10px 28px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.topnav a { color: var(--text-2); transition: color .2s ease; }
.topnav a:hover { color: var(--text); }
/* The mark is the only brand signal on the home page, so it is given room to read as one. */
.topnav .topnav-logo { margin-right: auto; flex-shrink: 0; }
.topnav .topnav-logo img {
  height: 48px;
  width: auto;
  transition: transform .25s ease, filter .25s ease;
}
.topnav .topnav-logo:hover img {
  transform: scale(1.04) rotate(-1deg);
  filter: drop-shadow(0 4px 10px rgba(60, 40, 10, .18));
}
.topnav .topnav-b2b { color: var(--text); background: var(--accent); padding: 7px 14px; border-radius: 999px; }
.topnav .topnav-b2b:hover { color: var(--text); background: var(--accent-hover); }
.topnav .topnav-lang { display: inline-flex; gap: 6px; align-items: center; flex-shrink: 0; }
.topnav .topnav-lang a { font-size: 12px; letter-spacing: .5px; padding: 2px 5px; border-radius: 5px; }
.topnav .topnav-lang a.is-active { color: var(--text); background: var(--surface-2, rgba(255,255,255,.08)); }

/* ---------- Inner-page banner ---------- */
.banner {
  text-align: center;
  padding: 34px 16px 30px;
  background: var(--surface-2) var(--grain);
  border-bottom: 1px solid var(--line);
}
.banner a { display: inline-block; }
.banner-logo {
  height: 116px;
  width: auto;
  margin: 0 auto;
  transition: transform .3s ease;
}
.banner a:hover .banner-logo { transform: scale(1.03); }
.banner .tagline {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* ---------- Video band (home) ---------- */
/* Stays dark: it sits on a video, so the text is white over a soft dark tint. */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #2a2622 url("../image/hero-poster.jpg") center / cover;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,24,18,.78) 0%, rgba(30,24,18,.5) 55%, rgba(30,24,18,.2) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px;
}
/* Over the video the mark needs its own shadow to separate from the footage. */
.hero-logo {
  height: 146px;
  width: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .45));
}
.hero-title { font-size: clamp(52px, 8vw, 104px); max-width: 760px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.88); max-width: 520px; margin: 18px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust-item {
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item strong {
  display: block;
  font: 400 26px/1.12 var(--display);
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--display-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 2px 10px rgba(90, 62, 16, .12);
}
/* A short accent rule under each claim, so the band reads as three cards rather than three lines. */
.trust-item strong::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin: 10px auto 8px;
  border-radius: 2px;
  background: var(--accent);
}
.trust-item span { font-size: 13px; color: var(--muted); }
.trust-item { transition: background .3s ease; }
.trust-item:hover { background: var(--accent-soft); }

/* ---------- Layout ---------- */
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}
.section-head { text-align: center; margin-bottom: 34px; }
.section-head .eyebrow { margin-bottom: 12px; }

/* ---------- Home: categories first ---------- */
/* The client wants visitors to see what 3FM sells straight away, so the home page opens
   with a short intro and the category grid; the video story band comes further down. */
.home-shop { padding-top: 36px; }
.shop-intro {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 24px;
}

.shop-intro .eyebrow { margin-bottom: 14px; }
.shop-intro .section-title { font-size: 56px; }
.shop-intro-sub { max-width: 420px; color: var(--muted); font-size: 15px; }
.shop-intro-sub a { color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.hero-story { min-height: min(62vh, 560px); }

/* ---------- Category grid (home) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--img-bg);
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(60,40,10,.06);
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease;
}
.category-item:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(60, 40, 10, .18); }
.category-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1), filter .4s ease;
}
.category-item:hover img { transform: scale(1.09); filter: saturate(1.08) brightness(1.04); }

/* A band of light crosses the tile once, the way it would over a glossy print. */
.category-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .26) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .9s cubic-bezier(.22, .61, .36, 1);
}
.category-item:hover::before { transform: translateX(130%); }
.category-overlay {   /* soft dark fade at the bottom so the white label stays readable on the photo */
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 16px 16px;
  background: linear-gradient(transparent, rgba(30,24,18,.72));
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .4s ease, padding-bottom .4s cubic-bezier(.22, .61, .36, 1);
}
/* The fade deepens and the text rides up together, so the name comes forward as a block. */
.category-item:hover .category-overlay {
  background: linear-gradient(transparent, rgba(30, 24, 18, .88));
  padding-bottom: 22px;
}
.category-overlay .label {
  font: 400 30px/1.12 var(--display);
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
  transition: transform .35s ease, color .3s ease;
}
/* The same warming a product name gets, in the shade that reads on a photo. */
.category-item:hover .label { transform: translateY(-3px); color: var(--accent); }
.category-tagline {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.85);
  transition: color .4s ease;
}
.category-item:hover .category-tagline { color: #fff; }
.category-item::after {   /* accent underline grows on hover */
  content: "";
  position: absolute;
  left: 16px;
  bottom: 10px;
  z-index: 1;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(232, 179, 58, .7);
  transition: width .45s cubic-bezier(.22, .61, .36, 1);
}
.category-item:hover::after { width: 56px; }

/* ---------- B2B teaser (home) ---------- */
.b2b-teaser {
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  color: var(--text);
  padding: 56px 24px;
}
.b2b-teaser-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.b2b-teaser h2 { font-size: 54px; margin: 6px 0 10px; }
.b2b-teaser p { color: var(--text-2); max-width: 560px; }
.b2b-teaser .btn { white-space: nowrap; }

/* ---------- About teaser (home) ---------- */
.about-teaser { padding: 80px 24px; }
.about-teaser-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-teaser img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.about-teaser h2 { font-size: 54px; margin-bottom: 18px; }
.about-teaser p { color: var(--text-2); margin-bottom: 16px; }
.about-teaser .btn { margin-top: 8px; }

/* ---------- Category page ---------- */
/* A pill, like the category tabs below it, so going back looks like something you press. The arrow
   is drawn here rather than written into the markup: it is decoration, and it has to move on its
   own while the words stay put. */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.back-link::before {
  content: "\2190";
  font-size: 15px;
  line-height: 1;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.back-link:hover {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(232, 179, 58, .3);
}
.back-link:hover::before { transform: translateX(-5px); }
.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.category-tabs a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-2);
}
.category-tabs a:hover { border-color: var(--line-strong); color: var(--text); }
.category-tabs a.active { background: var(--accent); border-color: var(--accent); color: var(--text); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
/* Rounded white card: photo on top, bold caps name, soft price pill */
.product-card {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  padding: 0 0 20px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(60, 40, 10, .16);
  border-color: var(--accent);
}
.product-card .product-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  background: var(--img-bg);
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
}
.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1), filter .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); filter: saturate(1.06); }
/* The same band of light as the category tiles, so the two grids behave alike. */
.product-card .product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .3) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .9s cubic-bezier(.22, .61, .36, 1);
}
.product-card:hover .product-img::after { transform: translateX(130%); }
.product-card .cat { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 14px 12px -8px; }
.product-card .name {
  font: 400 28px/1.12 var(--display);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 16px 12px 6px;
  min-height: 1.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--display-ink);
  transition: color .3s ease;
}
.product-card:hover .name { color: var(--accent-ink); }
.product-card .size { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.price {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  padding: 6px 16px;
  border-radius: 999px;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.product-card:hover .price {
  background: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(232, 179, 58, .4);
}
.details-link {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  background: none;
  border: 0;
  padding: 1px 0 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s ease;
}
/* The rule under it draws itself out from the middle instead of sitting there. */
.details-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transition: left .35s ease, right .35s ease;
}
.details-link:hover, .product-card:hover .details-link { color: var(--text); }
.details-link:hover::after, .product-card:hover .details-link::after { left: 0; right: 0; }
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 56px 16px;
}
.empty-state h2 { font-size: 40px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); }
.empty-state a:not(.btn) { color: var(--accent-ink); font-weight: 600; }   /* keep button text dark */
.category-desc {
  max-width: 700px;
  margin: 56px auto 0;
  text-align: center;
  font-size: 17px;
  color: var(--text-2);
}
.category-desc:empty { display: none; }

/* ---------- Product popup ---------- */
.product-modal {
  border: 0;
  padding: 0;
  width: min(880px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  overflow: auto;   /* scroll inside the popup on short screens */
  box-shadow: 0 24px 60px rgba(40,30,20,.25);
}
.product-modal::backdrop { background: rgba(40,30,20,.45); backdrop-filter: blur(3px); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
/* The image fills the row height, so a long description never gets cut off. */
.modal-body { min-height: 460px; }
.modal-img { position: relative; background: var(--img-bg); }
.modal-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 40px 34px; display: flex; flex-direction: column; align-items: flex-start; }
.modal-info .cat { color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.modal-info h2 { font-size: 52px; margin: 6px 0 4px; }
.modal-info .size { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.modal-info p { color: var(--text-2); margin-bottom: 22px; }
.modal-info .price { margin-bottom: 22px; }
.modal-info .btn { margin-top: auto; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: #fff; border-color: var(--line-strong); }
.modal-close:focus:not(:focus-visible) { outline: none; }

/* ---------- About page ---------- */
.about-page { max-width: 760px; }
.about-page .hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 44px; }
.about-page section { margin-bottom: 44px; }
.about-page h2 { font-size: 40px; margin-bottom: 14px; }
.about-page p { color: var(--text-2); margin-bottom: 16px; }
.about-page p a { color: var(--accent-ink); font-weight: 600; }

/* ---------- Wholesale page ---------- */
.wholesale-page { max-width: 1040px; }
.wholesale-intro { text-align: center; color: var(--text-2); max-width: 660px; margin: -12px auto 56px; font-size: 17px; }
.ws-section-title { font-size: 40px; text-align: center; margin-bottom: 24px; }
.ws-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 64px; }
.ws-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.ws-card h3 { font: 400 26px/1.12 var(--display); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; color: var(--text); }
.ws-card p { font-size: 14px; color: var(--muted); }
.ws-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 64px; counter-reset: step; }
.ws-steps li {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  font-size: 14px;
  color: var(--muted);
}
.ws-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font: 400 44px/1.12 var(--display);
  color: var(--accent);
  margin-bottom: 10px;
}
.ws-steps strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }

.enquiry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.enquiry-form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--muted); align-self: center; }
.form-note a { color: var(--accent-ink); }
.enquiry-success { display: none; text-align: center; padding: 24px 0; }
.enquiry-success h2 { font-size: 48px; margin-bottom: 12px; }
.enquiry-success p { color: var(--text-2); margin-bottom: 8px; }
.enquiry-success a:not(.btn) { color: var(--accent-ink); }
.enquiry-success .btn { margin-top: 12px; }
.enquiry.sent .enquiry-form { display: none; }
.enquiry.sent .enquiry-success { display: block; }

/* ---------- Form fields (wholesale, checkout, tracking) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
fieldset.field { border: 0; }
.field label, .field legend {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-2);
}
.field .req { color: var(--danger); }
.optional { text-transform: none; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.field input, .field select, .field textarea, .auth-input {
  width: 100%;
  font: 16px var(--body);   /* 16px stops iOS zooming into the field */
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
}
.field input, .field select { height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .auth-input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus, .auth-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,179,58,.25);
}
.field input:disabled, .auth-input:disabled { background: var(--surface-2); color: var(--muted); }
.field.invalid input, .field.invalid select, .field.invalid .auth-input { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 12.5px; display: none; }
.field.invalid .error { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  user-select: none;
}
.checks label:hover { border-color: var(--muted); }
.checks input { display: none; }
.checks label:has(input:checked) { background: var(--accent); color: var(--text); border-color: var(--accent); }

/* ---------- Shared small text ---------- */
.auth-sub { color: var(--muted); margin-top: -8px; }   /* sub-heading under page titles */
.auth-sub strong { color: var(--text); }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn.danger { color: var(--danger); }
.order-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent-ink); }
.order-status.ok { background: var(--ok-soft); color: var(--ok); }
.order-status.muted { background: var(--surface-2); color: var(--muted); }

/* ---------- Floating video player ---------- */
.video-widget {
  position: fixed;
  right: 20px;
  bottom: calc(var(--footer-h) + 16px);   /* sit above the sticky footer */
  width: 300px;
  aspect-ratio: 16 / 9;
  background: #2a2622;
  border-radius: 12px;
  border: 3px solid var(--surface);
  box-shadow: 0 12px 32px rgba(40,30,20,.25);
  z-index: 30;   /* below the sticky nav and footer (40) */
  overflow: hidden;
}
.video-widget video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-widget video.portrait { object-fit: contain; }
.vw-controls {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: linear-gradient(rgba(0,0,0,.5), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.video-widget:hover .vw-controls, .video-widget:focus-within .vw-controls { opacity: 1; }
.vw-controls button { background: none; border: 0; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.vw-controls .vw-close { margin-left: auto; font-size: 24px; }
.vw-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.vw-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.video-reopen {
  position: fixed;
  right: 20px;
  bottom: calc(var(--footer-h) + 16px);
  z-index: 30;
  background: var(--accent);
  color: var(--text);
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: 700 12px var(--body);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* ---------- Sticky footer ---------- */
footer {
  position: sticky;
  bottom: 0;
  z-index: 40;
  text-align: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .6px;
  color: var(--text-2);
}
footer a { color: var(--accent-ink); font-weight: 600; }
footer a:hover { color: var(--text); }
.footer-sep { margin: 0 10px; color: var(--line-strong); }

/* ---------- Cart & checkout ---------- */
/* Cart icon in the top nav */
.topnav .topnav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background .3s ease, box-shadow .3s ease;
}
/* While the cart holds something it stops being a quiet icon: the way out of the shop has to be
   the brightest thing in the bar, or people add items and then look for the checkout. */
.topnav .topnav-cart.has-items {
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(232, 179, 58, .45);
}
.topnav .topnav-cart.has-items:hover { background: var(--accent-hover); }
.cart-count {
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
}

/* Add / quantity controls on product cards and in the popup */
.card-actions { margin: 14px 14px 0; display: flex; justify-content: center; }
.add-btn { width: 100%; padding: 10px 16px; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 150px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.qty-stepper button {
  width: 40px;
  height: 38px;
  border: 0;
  background: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
}
.qty-stepper button:hover { background: var(--accent-soft); }
.qty-stepper span { padding: 0 6px; white-space: nowrap; }
.card-actions .qty-stepper { width: 100%; }
.weight-note { font-size: 13px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 10px; margin: 0 0 16px; }
.modal-actions { margin-top: auto; width: 100%; max-width: 280px; }
.modal-actions .qty-stepper { width: 100%; }
.modal-call { margin-top: 12px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.modal-call:hover { color: var(--text); }

/* "Added to cart" message */
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--footer-h) + 18px);
  z-index: 60;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(40,30,20,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.cart-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cart-toast a { margin-left: 10px; font-weight: 700; color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* The toast is where people are looking the moment they add something, so checkout is offered
   right there as a button rather than another underlined link. */
.cart-toast .toast-cta {
  display: inline-block;
  margin-top: 2px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  transition: background .25s ease;
}
.cart-toast .toast-cta:hover { background: var(--accent-hover); }

/* Shared checkout layout */
.checkout-page { max-width: 1080px; padding-top: 32px; }
.checkout-page .page-title { text-align: left; margin-bottom: 24px; }
/* Left-aligned here, so the accent bar starts at the text rather than centring under it. */
.checkout-page .page-title::after { margin-left: 0; margin-top: 12px; }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 22px; counter-reset: s; }
.checkout-steps li {
  counter-increment: s;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
}
.checkout-steps li::before { content: counter(s) ". "; }
.checkout-steps li:not(:last-child)::after { content: "\2014"; color: var(--line-strong); margin-left: 8px; }
.checkout-steps li.current { color: var(--accent-ink); }
.checkout-steps li.done { color: var(--text-2); }
.checkout-steps a:hover { color: var(--text); }
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }

/* Cart lines */
.cart-lines { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr auto 130px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--img-bg); }
.cart-line-name { font: 400 26px/1.12 var(--display); letter-spacing: .5px; text-transform: uppercase; }
.cart-line-meta { font-size: 13px; color: var(--muted); margin: 4px 0 6px; }
.cart-line-total { text-align: right; font-weight: 700; }
.cart-line .qty-stepper { min-width: 0; }
.cart-line .qty-stepper button { width: 34px; height: 34px; }

/* Order summary box */
.summary {
  position: sticky;
  top: 74px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.summary h2 { font: 400 32px/1.12 var(--display); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.summary-items { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; }
.summary-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); padding: 3px 0; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.summary-row.muted { color: var(--muted); }
.summary-row span:last-child { white-space: nowrap; text-align: right; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 700; }
.summary .weight-note { margin: 12px 0 0; }
.summary-btn { width: 100%; margin-top: 16px; padding: 14px; font-size: 14px; }
.summary-link { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.summary-link:hover { color: var(--text); }

/* Checkout form */
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.co-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; }
.co-section > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 28px/1.12 var(--display);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.co-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font: 700 14px var(--body);
}
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.co-note { font-size: 14px; color: var(--muted); }
.co-note a, .signin-hint a { color: var(--accent-ink); font-weight: 600; }
.signin-hint { margin-bottom: 16px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.choice-col { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
}
.choice input { grid-row: 1 / span 2; width: 18px; height: 18px; accent-color: var(--accent-ink); }
.choice strong { font-size: 15px; }
.choice span { font-size: 13px; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.full { grid-column: 1 / -1; }
.check-line { display: flex; gap: 10px; align-items: center; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--accent-ink); }
.vat-fields { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }

/* Order confirmation */
.confirm-head { text-align: center; margin: 8px 0 28px; }
.confirm-head .page-title { text-align: center; margin: 14px 0 10px; }
.confirm-tick {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-size: 32px;
  font-weight: 700;
}
.next-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; list-style: none; margin-bottom: 28px; }
.next-steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
}
.next-steps li.done { border-top-color: var(--accent); }
.next-steps strong { display: block; font-size: 14px; }
.next-steps span { font-size: 13px; color: var(--muted); }
.confirm-details { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; font-size: 15px; }
.confirm-details dt { color: var(--muted); }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }

/* Confirmation page: order number + phone needed to track the order, made impossible to miss */
.track-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "text btn" "codes codes";
  gap: 18px 24px;
  align-items: center;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  color: var(--text);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 28px;
}
.track-card-text { grid-area: text; }
.track-card h2 { font: 400 34px/1.12 var(--display); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
.track-card p { font-size: 14px; color: var(--text-2); }
.track-codes { grid-area: codes; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.track-code {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label btn" "value btn";
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 18px;
}
.track-code-label { grid-area: label; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-ink); }
.track-code-value { grid-area: value; font: 400 40px/1.12 var(--display); letter-spacing: 1.5px; user-select: all; }
.copy-btn {
  grid-area: btn;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--text); }
.track-card-btn { grid-area: btn; white-space: nowrap; }

/* Order tracking (no login) */
.track-page { max-width: 760px; }
.track-form { margin-bottom: 18px; }
.track-form .co-note { margin-bottom: 16px; }
.track-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.track-actions .co-note { margin: 0; }
.track-result > h2, .track-head h2 { font: 400 32px/1.12 var(--display); letter-spacing: .5px; text-transform: uppercase; }
.track-head .order-status { white-space: nowrap; }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.track-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; list-style: none; margin-bottom: 22px; }
.track-steps li {
  padding-top: 10px;
  border-top: 4px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--faint);
}
.track-steps li.done { border-color: var(--accent); color: var(--text-2); }
.track-steps li.current { border-color: var(--accent); color: var(--accent-ink); }
.track-help { margin-top: 18px; }
.track-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.track-row .btn { height: 48px; }
.track-row .field.invalid + .btn { margin-bottom: 25px; }   /* stay level with the input when the error shows */
.track-count { margin: 4px 0 12px; font-weight: 600; }
.track-result { margin-bottom: 14px; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .ws-grid, .ws-steps { grid-template-columns: repeat(2, 1fr); }
  .about-teaser-inner { gap: 36px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root { --footer-h: 40px; }
  main { padding: 40px 16px 64px; }
  .page-title { font-size: 42px; margin-bottom: 26px; }
  .section-title { font-size: 40px; }

  .topnav { gap: 14px; padding: 8px 14px; font-size: 11px; letter-spacing: .4px; }
  .topnav .topnav-logo img { height: 38px; }
  .topnav .topnav-b2b { padding: 6px 10px; }
  .topnav a { white-space: nowrap; }
  .topnav .topnav-long { display: none; }   /* "Track order" -> "Track" to fit phones */
  /* The logo already links home, so drop the duplicate "Shop" link on phones. */
  .topnav a[href="index.html"]:not(.topnav-logo) { display: none; }

  .banner { padding: 16px; }
  .banner-logo { height: 72px; }
  .banner .tagline { display: none; }   /* the sticky nav already carries the brand on phones */

  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(rgba(30,24,18,.45), rgba(30,24,18,.8)); }
  .hero-inner { padding: 48px 18px 52px; }
  .hero-logo { height: 100px; margin-bottom: 18px; }
  .hero-sub { font-size: 16px; }
  .trust-item { padding: 14px 6px; }
  .trust-item strong { font-size: 19px; }
  .trust-item span { display: none; }

  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .home-shop { padding-top: 22px; }
  .shop-intro { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .shop-intro .section-title { font-size: 42px; }
  .shop-intro-sub { font-size: 14px; }
  .category-overlay { padding: 36px 12px 12px; }
  .category-overlay .label { font-size: 24px; }
  .category-tagline { display: none; }   /* too long for half-width tiles */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .name { font-size: 22px; }

  .b2b-teaser { padding: 44px 18px; }
  .b2b-teaser-inner { flex-direction: column; align-items: flex-start; }
  .b2b-teaser h2, .about-teaser h2 { font-size: 42px; }
  .about-teaser { padding: 56px 18px; }
  .about-teaser-inner { grid-template-columns: 1fr; gap: 28px; }

  .ws-grid, .ws-steps, .enquiry-form { grid-template-columns: 1fr; }
  .enquiry { padding: 24px 18px; }

  .modal-body { grid-template-columns: 1fr; }
  .modal-body { min-height: 0; }
  .modal-img { aspect-ratio: 4 / 3; }
  .modal-info { padding: 24px 20px; }
  .modal-info h2 { font-size: 40px; }


  .video-widget { width: 190px; right: 12px; bottom: calc(var(--footer-h) + 10px); }
  .vw-controls { opacity: 1; }
  .video-reopen { right: 12px; bottom: calc(var(--footer-h) + 10px); }

  footer { padding: 11px 10px; font-size: 12px; letter-spacing: .3px; white-space: nowrap; }
  footer .footer-site { display: none; }   /* visitors are already on the website */
  .checkout-page { padding-top: 22px; }
  .checkout-page .page-title { font-size: 40px; margin-bottom: 18px; }
  .cart-line { grid-template-columns: 64px 1fr; grid-template-areas: "img info" "qty total"; gap: 10px 14px; padding: 14px; }
  .cart-line img { grid-area: img; width: 64px; height: 64px; }
  .cart-line-info { grid-area: info; }
  .cart-line .qty-stepper { grid-area: qty; justify-self: start; }
  .cart-line-total { grid-area: total; align-self: center; }
  .cart-line-name { font-size: 22px; }
  .co-section { padding: 18px 16px 20px; }
  .co-fields, .choice-row { grid-template-columns: 1fr; }
  .next-steps { grid-auto-flow: row; }
  .track-card { grid-template-columns: 1fr; grid-template-areas: "text" "codes" "btn"; padding: 20px 18px; gap: 16px; }
  .track-card h2 { font-size: 28px; }
  .track-codes { grid-template-columns: 1fr; }
  .track-code-value { font-size: 34px; }
  .track-card-btn { width: 100%; }
  .track-steps { grid-auto-flow: row; }
  .track-steps li { border-top: 0; border-left: 4px solid var(--line); padding: 2px 0 2px 10px; }
  .confirm-details { grid-template-columns: 1fr; gap: 2px; }
  .confirm-details dd { margin-bottom: 10px; }
  .card-actions { margin: 12px 10px 0; }
  .qty-stepper { min-width: 0; }
  .qty-stepper button { width: 34px; }
  .qty-stepper span { font-size: 12px; }
  .footer-sep { margin: 0 6px; }
}

/* ---------- Small phone ---------- */
@media (max-width: 400px) {
  /* "Our Story" is still reachable from the About section and the footer. */
  .topnav a[href="about.html"] { display: none; }
  footer .footer-label { display: none; }   /* phone number alone is clear enough */
  .product-card .name { font-size: 20px; }
}

/* ---- Laravel site additions ---- */
/* Spam trap on forms: off-screen, never seen by people. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-alert { background: color-mix(in srgb, var(--danger) 10%, transparent); border: 1px solid var(--danger);
  color: var(--danger); border-radius: 10px; padding: 12px 16px; margin: 0 0 18px; font-weight: 500; }
.summary-item small { color: var(--text-2); }
/* Products with several packs: one row per pack in the popup. */
.variant-list { display: grid; gap: 10px; width: 100%; }
.variant-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--line); }
.variant-row > div:first-child { display: grid; gap: 2px; }
.variant-row span { color: var(--text-2); font-size: 14px; }
