/* ── The storefront ──────────────────────────────────────────────────
   Laid out like vplala.com, photographed through a browser after its age
   gate rather than guessed at: a yellow announcement strip, a tall header
   whose right-hand column stacks three things, a BLACK category bar, a
   full-bleed hero with dots, a brand logo strip, the shoppable video row,
   big collection tiles, then product rows and reviews.

   None of their markup, CSS, images or copy is reused — only the
   arrangement. Every colour is a token; re-skinning is this block. */

:root {
  /* The logo is black and white and nothing else: hand-lettering, smoke,
     a stark circle. So the site is too. The usual move is to pick an
     accent for prices and sale flashes, but an accent this brand does
     not own is an accent somebody invented for it. Hierarchy comes from
     weight, size and INVERSION instead — a sale flash is white on black,
     not red on white. It is harder to do and it is what the mark asks
     for. */
  --ink: #0c0d0f;
  --ink-2: #4a4f57;
  --ink-3: #868d96;
  --line: #e3e5e9;
  --bg: #ffffff;
  --bg-2: #f4f5f6;
  /* "Accent" is now the ink itself. Every rule that reaches for it still
     works; it just stops shouting in a colour the brand has never used. */
  --accent: #0c0d0f;
  --accent-ink: #ffffff;
  --announce: #0c0d0f;       /* black strip, white text — see the header note */
  --announce-ink: #ffffff;
  --navbar: #0c0d0f;
  --navbar-ink: #ffffff;
  --ok: #0f7b4f;             /* kept: a verified tick that is not green is a lie */
  --sold: #d94a3d;
  --warn: #8a5a00;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(21, 24, 29, 0.05), 0 8px 24px rgba(21, 24, 29, 0.06);
  --shadow-lift: 0 2px 6px rgba(21, 24, 29, 0.08), 0 18px 40px rgba(21, 24, 29, 0.12);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --wrap: 1280px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ── Announcement strip ───────────────────────────────────────────── */
.announce {
  position: relative;
  background: var(--announce);
  color: var(--announce-ink);
  font-size: 13.5px;
  font-weight: 600;
}
.announce[hidden] { display: none; }
.announce .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  padding-block: 8px;
  text-align: center;
  /* The dismiss button is positioned over this strip, so the text is kept out
     from under it — on BOTH sides, or centring would push it back under. At
     phone width the sentence wraps instead of running beneath the cross. */
  padding-left: calc(var(--gutter) + 26px);
  padding-right: calc(max(16px, env(safe-area-inset-right, 0px)) + 26px);
}
.announce button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: max(14px, env(safe-area-inset-right, 0px));
  background: none;
  border: 0;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  /* 25x23 with `padding: 2px 6px`, which is under the 24x24 a finger
     needs — and this × sits on every page of the shop. The glyph is the
     same size; the box around it is not. */
  padding: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: inherit;
  opacity: 0.6;
}
.announce button:hover { opacity: 1; }
/* Three bands stack here — black strip, white header, black category bar.
   On a monochrome mark that reads as deliberate rather than as a clash,
   which is why the strip went black rather than keeping a bright colour
   borrowed from the site this layout came from. */
.announce { letter-spacing: .01em; }

/* ── Header ───────────────────────────────────────────────────────── */
header.site { background: #fff; }
header.site .wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding-block: 16px;
}
/* The badge plus a set wordmark, rather than the badge alone. The mark
   already contains the name, but it is hand-lettered inside a circle and
   at 46px none of it can be read — so the circle carries recognition and
   the type beside it carries the name. The same reason the site this
   layout came from sets its own name in type next to its logo. */
.brand { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.brand .mark {
  width: 60px; height: 60px; flex: none;
  /* img/logo.jpg is cropped to the badge itself. It arrived as a
     1000px square with the badge filling 697px of it — 15% white on
     every side, which the circle clip then hid, so the mark rendered
     two thirds of its box and the wordmark looked pushed right by space
     nobody could see. Cropped, the box IS the badge. The clip stays:
     the file is still a square and still has corners. */
  border-radius: 50%;
  object-fit: cover;
  background: #0c0d0f;
}
.brand .words { display: grid; gap: 3px; }
.brand .words b {
  font-weight: 900; font-size: 21px; line-height: 1;
  letter-spacing: -0.03em; text-transform: uppercase;
}
.brand .words em {
  font-style: normal; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.3em; color: var(--ink-3); text-transform: uppercase;
}

.searchbar {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  height: 42px;
  overflow: hidden;
  max-width: 560px;
}
.searchbar:focus-within { border-color: var(--ink-3); background: #fff; }
.searchbar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font: inherit;
  padding: 0 14px;
}
.searchbar button {
  width: 46px;
  height: 100%;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink-2);
  display: grid;
  place-items: center;
}

.headright { display: grid; gap: 7px; justify-items: end; }
.hr-top, .hr-bot { display: flex; align-items: center; gap: 10px; }
.contactpill {
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
}
.contactpill:hover { background: var(--ink); color: #fff; }
.shipline {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.signin { font-size: 13.5px; font-weight: 600; }
.signin:hover { color: var(--accent); }

.iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font-size: 13.5px;
}
.iconbtn:hover { background: var(--bg-2); }
.iconbtn .count {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}

/* ── Black category bar ───────────────────────────────────────────── */
.catbar { background: var(--navbar); color: var(--navbar-ink); }
/* TEN ITEMS, FIVE AND FIVE.
   Left to wrap, flex put eight on the first row and left EMPTY CARTRIDGES
   and CONTACT US stranded on the second — a bar that looks like it ran out
   of room rather than one that was laid out. A grid of five equal columns
   splits it evenly and lines the two rows up with each other.
   Five is a desktop number. The columns drop to three and then two as the
   bar narrows, because "DISPOSABLE CARTRIDGES" is 21 characters and five of
   those do not fit on a phone. */
.catbar .wrap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  /* Each item hugs its own words. A grid item stretches to fill its column
     by default, and `.catbar a` draws the you-are-here underline on its
     own bottom border — so HOME, in a 230px column, drew a 230px white bar
     across the nav instead of a line under the word. */
  justify-items: start;
  gap: 6px 22px;
  padding-block: 13px;
}
@media (max-width: 1040px) { .catbar .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .catbar .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.catbar a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.catbar a:hover { border-bottom-color: var(--announce); }
/* Where you are. The underline is the same one hover draws, so the bar has
   one vocabulary; aria-current is what a screen reader reads. */
.catbar a[aria-current="page"] { border-bottom-color: currentColor; }

/* ── Trending chips ───────────────────────────────────────────────── */
.trending { border-bottom: 1px solid var(--line); background: #fff; }
.trending[hidden] { display: none; }
.trending .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trending .wrap::-webkit-scrollbar { display: none; }
.trending .label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex: none;
}
#chips { display: flex; gap: 8px; }
.chip {
  flex: none;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ── Hero ─────────────────────────────────────────────────────────── */
/* No section padding: the hero is full-bleed, and the inherited 44px top
   and bottom put a grey band above and below the banner. */
.hero { position: relative; background: var(--bg-2); padding-block: 0; }
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 128 / 48;
  position: relative;
  display: grid;
  align-content: center;
  /* The gap and the headline below answer to the viewport HEIGHT as well as
     its width. The max-height caps are what the hero needs so it cannot eat
     a whole short screen; without a vh term in the type, a product slide
     then overflowed them — at 1280x360 its content stack was 293px in a
     281px box, and .slides clips, so the kicker was sliced along the top
     and the Shop now pill along the bottom. A vh term only bites in a short
     window, which is the only place the problem exists. */
  gap: clamp(6px, 1.6vh, 14px);
  padding: 0 clamp(20px, 6vw, 86px);
  color: #fff;
  /* NO min-height. On a flex item, a min-height and an aspect-ratio
     together transfer into `min-width: auto` — 300px x 128/48 is an 800px
     floor — so the slide got pinned wider than the carousel holding it and
     the banner was clipped. The ratio alone gives the height. */
  min-width: 0;
  /* And a ceiling, for the same reason as the narrow one below: in a short
     window 8:3 of a wide viewport is most of the screen. At 1440x900 this
     does nothing (534px); at 1440x600 it holds the hero to 468px instead of
     534px. Banners crop from the top, so a cap takes pixels off the bottom
     of the artwork, not out of the middle of the sentence. */
  max-height: min(78vh, 620px);
}
/* One ratio per breakpoint, so artwork can be cut to fit the box. Above
   800px it is 8:3 and the wide crop is 1600x600; below, it is 4:3 and the
   narrow crop is 1200x896. A box whose ratio is a function of the viewport
   width — which is what a min-height produced — is a box no artwork fits.

   The cap is because 4:3 with no ceiling made the hero 589px tall in an
   800x600 window: 98% of the viewport height, under 421px of announcement
   bar, header, category bar and chips, so the first screen was the top
   third of a poster. */
@media (max-width: 800px) {
  .slide { aspect-ratio: 4 / 3; max-height: min(68vh, 460px); }
}
/* The picture sits behind everything; the scrim sits between it and the
   type. Both are absolutely placed, so the slide's own grid keeps laying
   the text out as if they were not there. The scrim is heavy on the left,
   where the words are, and light on the right, where the product should
   still be visible — rather than an even wash that dulls the whole frame. */
.slide .shotbg { position: absolute; inset: 0; background: #0c0d0f; }
.slide .shotbg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; filter: grayscale(.35); }
.slide .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,13,15,.9) 0%, rgba(12,13,15,.7) 42%, rgba(12,13,15,.25) 100%);
}
.slide > :not(.shotbg):not(.scrim):not(.art) { position: relative; z-index: 1; }

/* ── Banner slides ────────────────────────────────────── */
/* A product slide dims its photograph to 62%, desaturates it and lays a
   near-black gradient over it, so that white HTML type can be read on
   top. Do that to a poster and you have shipped a poster nobody can
   read. A banner therefore keeps its own contrast, and carries no type
   of ours — only the button, which has to be real to be clickable. */
.slide .art { position: absolute; inset: 0; z-index: 0; background: #0b0b0c; }
.slide .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* A BANNER is never cropped: `contain`, not `cover`.

   The max-height ceiling is reached by WIDTH on a wide screen — at 3440px
   the slide is 3425 wide, 8:3 of that is 1284px tall, and the ceiling cuts
   it to 620. With `cover` that threw away 51.7% of the picture and sliced
   "ABOVE RM120" in half. Under the breakpoint the same thing happened the
   other way round: at 800x360 only 41.8% of the narrow crop showed.

   Where the box is a shape neither crop was cut for, the artwork now
   letterboxes against .art's own near-black — which is the colour the
   poster's background already is, so it reads as a centred poster rather
   than as bars. At the two shapes the crops WERE cut for, 8:3 above 800px
   and 4:3 below, contain and cover are the same thing. */
.slide.banner .art img { object-fit: contain; }
.slide.banner { padding: 0; align-content: end; }
/* The floor of that clamp is 34px, not 16px: the carousel dots sit 14px
   from the bottom and the two collided on a phone, the button covering the
   dots it is meant to sit above. The dots cannot move out of the artwork —
   they are white, and below the hero the surface is light. */
.slide.banner .cta { margin: 0 0 clamp(34px, 3.4vw, 40px) clamp(20px, 6vw, 86px); }

.slide .kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.slide h2 {
  margin: 0;
  font-size: clamp(30px, min(5.2vw, 11vh), 62px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 900;
  max-width: 13ch;
  text-wrap: balance;
}
.slide p { margin: 0; font-size: clamp(14px, 1.6vw, 18px); max-width: 38ch; opacity: 0.92; }
/* Below 420px of viewport height — a landscape phone, or a laptop at 250%
   zoom, where 1366x768 becomes 546x255 CSS px — there is no room for a
   paragraph. The vh terms on the gap and the headline bottom out at their
   clamp floors there, and the stack went back to overflowing the box: the
   kicker sliced along the top and the Shop now pill along the bottom. A
   blurb is the first thing to lose; the headline and the button are not. */
@media (max-height: 420px) {
  .slide p { display: none; }
}
.slide .cta {
  justify-self: start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  font-size: 14.5px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
/* THE HOVER USED TO MAKE THE BUTTON DISAPPEAR.
   It set `background: var(--announce)`, which is #0c0d0f, and left `color`
   at var(--ink), which is also dark — a dark button with dark text, sitting
   on hero artwork that is black. Pointing at it erased it. A white chip is
   the one thing that reads on ANY photograph, so it stays white and rises
   instead; the shadow is what says it is a button being pressed. */
.slide .cta:hover,
.slide .cta:focus-visible {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.38);
}
.slide .cta:active { transform: translateY(0); box-shadow: 0 1px 3px rgb(0 0 0 / 0.2); }
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 7px;
}
/* THE DOT IS 9px; THE THING YOU PRESS IS 24. These were 9x9 buttons —
   the whole control, not just the visible mark — which is a third of the
   24x24 a finger needs, on the one thing that changes the picture at the
   top of the shop. The dot is now drawn by ::before inside a transparent
   button big enough to hit, so it looks the same and can be used.
   Vertical padding only on the sides would make them overlap, so the gap
   below absorbs it. */
.dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dots button::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width .18s, background .18s;
}
.dots button[aria-current="true"]::before { background: #fff; width: 22px; }

/* ── Brand strip ──────────────────────────────────────────────────── */
/* The generic `section` rule pads 44px top and bottom, and the wrap below
   pads another 22px — 132px of white around a row 24px tall, which is why
   the strip read as a gap with some names floating in it. The wrap's own
   padding is the one that was meant, so the section's is taken off here. */
.brands { border-bottom: 1px solid var(--line); padding-block: 0; }
.brands .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.brands .wrap::-webkit-scrollbar { display: none; }
.brands span {
  flex: none;
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.brands span:hover { opacity: 1; }
.brands .soon { opacity: 0.3; font-style: italic; }
/* A brand's own mark, where the shop has the file. Height-constrained and
   width-auto, because these arrive as wordmarks of wildly different
   proportions — RELX is a long thin lockup, SP2S has a claw that reaches
   well above and below its letters — and fixing the WIDTH would squash one
   to match the other.
   The files are padded at build time so their wordmark BODIES share a
   height, which is not the same as their boxes sharing one: matched on the
   box, SP2S's letters rendered two thirds the size of ncig's and the row
   looked broken. The height here is the padded canvas, so it is taller than
   the marks themselves appear. */
.brands .blogo {
  flex: none;
  height: clamp(42px, 4.8vw, 58px);
  width: auto;
  max-width: 300px;
  object-fit: contain;
  /* No grayscale filter: the files are already a single ink, cut from
     backgrounds that were black, cyan and white. Two of the five are white
     artwork, and left in their own colours they would be white on the white
     band this strip sits on — invisible. Opacity alone carries the hover. */
  opacity: 0.5;
  transition: opacity 0.15s;
}
.brands .blogo:hover { opacity: 1; }

/* ── Sections ─────────────────────────────────────────────────────── */
section { padding-block: 44px; }
section.tint { background: var(--bg-2); }
.sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.sechead h2 { margin: 0; font-size: clamp(21px, 3vw, 28px); letter-spacing: -0.025em; font-weight: 850; }
.sechead a { font-size: 14px; font-weight: 650; color: var(--accent); white-space: nowrap; }
/* The count that replaced the dead "See all" link. Deliberately not styled
   as a link: it is not one, and making it look clickable is how the dead
   link got there in the first place. */
.sechead .count { font-size: 13.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; letter-spacing: .01em; }

/* The basket’s shipping line. */
.sheet .ship { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.sheet .ship[data-free="true"] { color: var(--ink); font-weight: 650; }

/* A link cannot be disabled, so the no-number case sets aria-disabled and
   kills pointer events. It still looked completely live — full-strength
   black button, normal cursor — so it read as a broken button rather than
   an unavailable one. */
.sheet a.wa[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }

/* And the same for any other link switched off the same way — the footer’s
   WhatsApp link is one. An aria-disabled link that still looks and behaves
   like a live one is worse than no link: the reader taps it and decides the
   site is broken. */
a[aria-disabled="true"] { opacity: .45; pointer-events: none; cursor: not-allowed; }

/* A heading with a rule running out to both sides, as on the real page. */
.ruled {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}
.ruled::before, .ruled::after { content: ""; height: 1px; background: var(--line); }
.ruled h2 {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 27px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 850;
  text-align: center;
}

/* ── Collection tiles ─────────────────────────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tile .fill { position: absolute; inset: 0; }
.tile .fill img { width: 100%; height: 100%; object-fit: cover; }
.tile .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.6)); }
.tile .t {
  position: relative;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.tile .n { position: relative; display: block; font-size: 12.5px; font-weight: 600; opacity: 0.85; margin-top: 4px; letter-spacing: 0.04em; }

/* ── Product grid ─────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}
.row-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(215px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { scroll-snap-align: start; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.card:hover { box-shadow: var(--shadow-lift); border-color: transparent; transform: translateY(-2px); }
.card .shot { position: relative; aspect-ratio: 1; background: var(--bg-2); overflow: hidden; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.2,0.7,0.3,1); }
.card:hover .shot img { transform: scale(1.04); }
/* The second photograph, laid over the first and faded in on hover. It is
   only in the markup when the product HAS a second file, so there is never
   a swap to the same picture — which is a repaint that reads as a flicker.
   Behind a pointer query: on a phone a tap both sets hover and follows the
   link, and a picture changing under a thumb on its way to a product page
   is a glitch, not a feature. */
.card .shot2 { display: none; }
@media (hover: hover) and (pointer: fine) {
  .card .shot2 {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.4s cubic-bezier(0.2,0.7,0.3,1);
    pointer-events: none;
  }
  .card:hover .shot2,
  .card:focus-within .shot2 { opacity: 1; }
}

.badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 9px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
.wish {
  position: absolute; top: 8px; right: 8px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  cursor: pointer; color: var(--ink-2);
}
.wish[aria-pressed="true"], .wish:hover { color: var(--accent); }

/* The whole photograph is the link to the product. It replaced a "Quick
   view" button that sat here and opened the same panel the Quick add
   button opens, so pressing the most obvious thing on a card never took
   anyone to the product's own page. */
.card .shotlink {
  position: absolute; inset: 0;
  display: block;
  /* The focus ring belongs to the card's corner, not to a square over it. */
  border-radius: inherit;
}
.card .shotlink:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.card .body { display: flex; flex-direction: column; gap: 6px; padding: 13px 14px 15px; flex: 1; }
.vendor { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card h3 { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.blurb { font-size: 13px; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stars { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-3); }
.stars .s { color: #f0a500; letter-spacing: 1px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.price .now { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.price .was { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }

.cardfoot { display: flex; gap: 8px; padding: 0 14px 14px; }
.add { flex: 1; height: 38px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 650; cursor: pointer; transition: background .15s; }
.add:hover { background: var(--accent); }
.add[disabled] { background: var(--line); color: var(--ink-3); cursor: not-allowed; }

/* ── The shoppable video strip ────────────────────────────────────── */
.reels {
  display: grid;
  grid-auto-flow: column;
  /* FIXED, not minmax(…, 1fr). With 1fr the cards stretch to fill the row,
     so a strip with two clips in it gave two 600px-wide cards — 1070px tall
     at 9:16, a pair of black monoliths. */
  grid-auto-columns: 196px;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
/* The card is a div holding TWO buttons now: the clip toggle and the buy
   strip. It used to be one button, which made "press the price to open
   the product" depend on where the pointer was — so a keyboard or a
   screen reader, whose press lands on the button itself, could only ever
   toggle the video and could never reach the product. */
.reel {
  display: flex; flex-direction: column;
  border: 0; padding: 0; background: none; text-align: left;
  scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.reel:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.reel .clipbtn { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.reel .clip { position: relative; display: block; aspect-ratio: 9/16; background: #0b0d10; overflow: hidden; }
.reel .clip img, .reel .clip video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
/* OVER the poster, not after it. As a static block the <video> was laid out
   below an <img> that already filled this box, so it played 348px down
   inside overflow:hidden — 196x0 visible pixels, measured, for the whole
   clip. The poster stays underneath so there is no black flash while the
   first frame decodes. */
.reel .clip video { position: absolute; inset: 0; z-index: 1; }
.reel:hover .clip img { transform: scale(1.04); }
.reel .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; pointer-events: none; transition: opacity .2s; }
.reel .play svg { filter: drop-shadow(0 2px 12px rgba(0,0,0,.55)); }
/* While it plays the overlay steps back, but it has to come back on hover:
   pressing the card again is what stops the clip, and a control nobody can
   see is not a control. The glyph becomes a pause mark, because showing a
   play triangle over something that is already playing is a lie. */
.reel .play .bars { display: none; }
.reel.playing .play { opacity: 0; z-index: 2; }
/* :focus-within, because .reel is a div now and can never be :focus-visible
   itself — focus lands on the .clipbtn child. That is what killed this rule
   on the keyboard path: the triangle faded out on play and nothing came
   back, so the only way to see the stop control was to pick up a mouse. */
.reel.playing:hover .play, .reel.playing:focus-within .play { opacity: .92; }
.reel.playing .play .tri { display: none; }
.reel.playing .play .bars { display: block; }
.reel .buy { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; padding: 9px 11px 10px; background: #fff; border: 0; border-top: 1px solid var(--line); width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
/* Both controls have to show where the focus is, since they are now two. */
/* The clip ring goes on .clip, NOT on the button. .clip is a positioned
   child filling the button exactly, and in Blink a positioned descendant
   paints above its ancestor's outline — so the ring was covered everywhere
   except where the border-radius rounds the corner away. Measured: 16
   changed pixels where the buy strip's identical rule gives about 1000. */
.reel .clipbtn:focus-visible { outline: none; }
.reel .clipbtn:focus-visible .clip { outline: 2px solid var(--ink); outline-offset: -2px; }
.reel .buy:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.reel .buy .thumb { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg-2); }
.reel .buy .meta { min-width: 0; }
.reel .buy .n { font-size: 12.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel .buy .p { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; display: flex; gap: 6px; align-items: baseline; }
.reel .buy .p .was { text-decoration: line-through; color: var(--ink-3); }

.reelnav { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.reelnav button {
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--ink-2);
  transition: all .15s;
}
.reelnav button:hover { border-color: var(--ink); color: var(--ink); }

/* ── Reviews ──────────────────────────────────────────────────────── */
.ruled.center { margin-bottom: 14px; }
.ratingline { text-align: center; margin: 0 0 20px; font-size: 14px; color: var(--ink-2); }
.ratingline b { font-size: 18px; color: var(--ink); }
.ratingline .s { color: var(--ok); letter-spacing: 1px; }
.ratingline .verified { margin-left: 8px; color: var(--ok); font-weight: 650; }
.quote {
  margin: 0 auto;
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--ok);
  border-radius: var(--radius);
  padding: 28px 26px 22px;
  text-align: center;
}
.quote p { margin: 0 0 16px; font-size: clamp(16px, 2vw, 21px); line-height: 1.45; letter-spacing: -.01em; }
.quote .s { color: var(--ok); letter-spacing: 2px; font-size: 18px; }
.quote .who { display: block; margin-top: 10px; font-weight: 700; font-size: 14px; }
.quote .what { display: block; margin-top: 12px; font-size: 13.5px; text-decoration: underline; color: var(--ink-2); }

/* Read by a screen reader and by a crawler, not drawn. The storefront
   opens on artwork, so its heading has nowhere to sit on screen. */
.offscreen {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ── Age gate ─────────────────────────────────────────────────────── */
#agegate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: var(--gutter);
  background: rgba(11,13,16,.82);
  backdrop-filter: blur(3px);
}
#agegate[hidden] { display: none; }
.gatecard { width: min(420px, 100%); background: #fff; border-radius: var(--radius); padding: 26px 24px 22px; text-align: center; box-shadow: var(--shadow-lift); }
.gatecard h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.gatecard p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.gatecard .row { display: flex; gap: 10px; }
/* `min-height`, not `height`. "Yes, I am 18 or over" wraps to two lines on
   every phone — 390, 360 and 320 all measured — and two lines want 48px
   inside a box pinned to 44, so the second line sat outside its own pill.
   On the first thing anybody sees of this shop, and on the button that
   lets them in. It grows now, and both buttons stay the same height
   because the row stretches them. */
.gatecard .row button {
  flex: 1;
  min-height: 44px;
  padding: 6px 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; cursor: pointer; font-weight: 650;
  line-height: 1.25;
}
.gatecard .yes { border: 0; background: var(--ink); color: #fff; }
.gatecard .yes:hover { background: var(--accent); }
.gatecard .no { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.gatecard .fine { margin: 14px 0 0; font-size: 12px; color: var(--ink-3); }

/* ── Footer ───────────────────────────────────────────────────────── */
footer.site { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 40px 28px; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 26px; }
footer.site h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
footer.site ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
footer.site a:hover { color: var(--accent); }
footer.site .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ── Quick add sheet ──────────────────────────────────────────────── */
dialog.sheet { border: 0; border-radius: var(--radius); padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-lift); }
dialog.sheet::backdrop { background: rgba(21,24,29,.45); }
.sheet .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.sheet h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.sheet .close { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-3); padding: 0 2px; }
.sheet .inner { padding: 16px 18px; max-height: min(60vh, 440px); overflow: auto; }
/* ── The variant chips ─────────────────────────────────────────────
   A grid, because a disposable comes in fifteen flavours. A flavour that
   is out of stock is struck through rather than hidden: hiding it makes
   the range look smaller than it is and makes somebody ask by message. */
.flavhead { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-3); }
.flavhead b { color: var(--ink); font-weight: 650; }
.flavours { display: flex; flex-wrap: wrap; gap: 8px; }
.flav {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit; font-size: 13.5px; font-weight: 550;
  padding: 9px 13px;
  cursor: pointer;
  position: relative;
}
.flav:hover:not(.out) { border-color: var(--ink-3); }
.flav[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 650; }
.flav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Sold out. The line is drawn rather than text-decoration so it crosses the
   whole chip corner to corner, which is what reads as unavailable at a
   glance; the title attribute and the disabled state say it in words. */
.flav.out { color: var(--ink-3); cursor: default; background: var(--bg-2); }
.flav.out::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 0.6px), var(--sold) calc(50% - 0.6px), var(--sold) calc(50% + 0.6px), transparent calc(50% + 0.6px));
}
.flavnote { margin: 9px 0 0; font-size: 12.5px; color: var(--ink-3); min-height: 1em; }
.flavnote.low { color: var(--warn); font-weight: 600; }
.variants { display: grid; gap: 8px; }
.variant { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.variant:has(input:checked) { border-color: var(--ink); background: var(--bg-2); }
.variant.out { color: var(--ink-3); cursor: default; }
.variant .right { font-size: 12.5px; }
.variant .low { color: var(--warn); font-weight: 600; }
.variant .notify { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12px; background: #fff; cursor: pointer; }
.sheet .foot { display: flex; align-items: center; gap: 10px; padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 17px; }
.qty input { width: 42px; height: 38px; border: 0; text-align: center; font: inherit; outline: none; }

/* ── Basket ─────────────────────────────────── */
/* ── The basket is a drawer, not a card in the middle ─────────────────
   It opened as a centred sheet over whatever you were looking at, which
   is fine for a one-off question and wrong for a basket: a basket is a
   running tally you glance at and dismiss, and a box in the middle of the
   screen makes that feel like leaving the shop.
   Pinned to the right edge, full height, sliding in from off-screen. On a
   phone it takes the whole width, because 420px of drawer on a 390px
   screen is a modal with extra steps. */
dialog.basket {
  width: min(420px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  /* The safe-area insets matter here and nowhere else in this file: the
     drawer is the one thing that touches all four screen edges. */
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
dialog.basket[open] { animation: drawerin 0.26s cubic-bezier(0.2,0.7,0.3,1); }
dialog.basket[open]::backdrop { animation: backdropin 0.26s ease; }
@keyframes drawerin { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes backdropin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  dialog.basket[open], dialog.basket[open]::backdrop { animation: none; }
}
/* The lines scroll; the head and the totals stay put, which is the whole
   point of a drawer with a tall list in it. */
dialog.basket .inner { flex: 1; max-height: none; min-height: 0; }
dialog.basket .head { flex: none; }
dialog.basket .foot, dialog.basket .fine { flex: none; }
.basket .sub { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.bline { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.bline:last-child { border-bottom: 0; }
.bline img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg-2); }
.bline .n { font-size: 14px; font-weight: 650; line-height: 1.3; display: block; }
.bline .k { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; display: block; }
.bline .r { display: flex; align-items: center; gap: 10px; }
.bline .n a { color: inherit; text-decoration: none; }
.bline .k .was { text-decoration: line-through; margin-right: 2px; }
.bline .n a:hover { text-decoration: underline; }
.savedadd {
  height: 32px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 650; cursor: pointer;
}
.savedadd:hover { border-color: var(--ink); }
#saved .fine { margin: 0; padding: 0 18px 18px; font-size: 12px; color: var(--ink-3); }
.bline .amt { font-size: 14px; font-weight: 700; min-width: 68px; text-align: right; }
.bline .rm { border: 0; background: none; cursor: pointer; color: var(--ink-3); font-size: 18px; line-height: 1; padding: 2px 4px; }
.bline .rm:hover { color: var(--accent); }
.basketfoot { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.totals { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink-2); }
.totals b { font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.wa { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 999px; background: #25d366; color: #0b3d20; font-weight: 750; font-size: 15px; }
.wa:hover { background: #1fb955; }
.wa[aria-disabled="true"] { background: var(--line); color: var(--ink-3); pointer-events: none; }

/* The other door. Telegram's own blue, the same pill, stacked under the
   first — two full-width buttons on a phone, not two half-width ones with
   "Order on WhatsApp" broken across two lines inside its own shape. */
.tg {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  background: #229ed9; color: #fff; font-weight: 750; font-size: 15px;
}
.tg:hover { background: #1b87bb; }
.tg[aria-disabled="true"] { background: var(--line); color: var(--ink-3); pointer-events: none; }
.tg[hidden] { display: none !important; }
.basket .fine { margin: 0; padding: 0 18px 18px; font-size: 12px; color: var(--ink-3); }

/* The basket's footer was one flex ROW: subtotal, shipping line, button.
   Putting the shipping line in it gave the button a third of the width — on
   a 390px phone the line wrapped to four lines in a 56px column and "Order
   on WhatsApp" broke in two inside its pill. A column instead, with the
   button full width, which is what a checkout button on a phone should be
   anyway. */
.sheet .foot.basketfoot { flex-direction: column; align-items: stretch; gap: 6px; }
.sheet .foot.basketfoot .totals { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sheet .foot.basketfoot .ship { margin: 0; }
.sheet .foot.basketfoot a.wa { width: 100%; justify-content: center; margin-top: 6px; }


/* ── Reel player ────────────────────────────────────────────────────
   The clip, full size, with the product beside it. The dialog itself is
   the backdrop: it fills the viewport and centres one row. */
dialog.player {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 9, 11, 0.92);
  overflow: hidden;
}
dialog.player::backdrop { background: rgba(8, 9, 11, 0.6); }
.player .pwrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 34px);
  padding: clamp(12px, 2vw, 28px);
}

/* The video and its two chevrons. */
.player .pstage { position: relative; display: grid; place-items: center; }
.player .pscreen {
  position: relative;
  height: min(84dvh, 760px);
  aspect-ratio: 9 / 16;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0d10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.player .pscreen video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Up at the top, down at the bottom, clear of the product strip. */
.player .pnav {
  position: absolute;
  /* ON the clip, not beside it. Outside the stage is exactly where the
     panel sits, so they were half-hidden behind it. */
  right: 12px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  transition: background .15s;
  z-index: 1;
}
.player .pnav:hover { background: rgba(0, 0, 0, 0.7); }
.player .pnav:disabled { opacity: .35; cursor: default; }
.player #player-prev { top: 12px; }
/* Clear of the product strip pinned at the bottom of the clip. */
.player #player-next { bottom: 86px; }

.player .pmute {
  position: absolute; top: 12px; left: 12px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff; cursor: pointer;
}
.player .pmute:hover { background: rgba(0, 0, 0, 0.65); }

/* The product, pinned under the clip. On a phone this is the way to it,
   because the panel beside the video is not shown there. */
.player .pbuy {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center;
  padding: 9px 11px;
  border: 0; border-radius: var(--radius-sm);
  background: rgba(14, 15, 17, 0.82);
  backdrop-filter: blur(6px);
  color: #fff; font: inherit; text-align: left; cursor: pointer;
}
.player .pbuy img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #222; }
.player .pbuy .n { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; }
.player .pbuy .p { display: block; font-size: 13px; margin-top: 2px; opacity: .9; }
.player .pbuy .was { text-decoration: line-through; opacity: .6; margin-right: 5px; }

/* The panel. */
.player .pinfo {
  width: min(360px, 32vw);
  max-height: min(84dvh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
}
/* 4:3, not square: at 900px of viewport the square shot made the panel a
   few pixels taller than its own ceiling, so it grew a scrollbar for them. */
.player .pshot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-2); }
.player .pinfo h3 { margin: 14px 0 6px; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; }
.player .pprice { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.player .pprice .was { text-decoration: line-through; color: var(--ink-3); font-weight: 600; font-size: 14px; margin-right: 6px; }
.player .pvariants { display: grid; gap: 6px; margin-bottom: 14px; }
.player .pqty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }
.player .pdesc { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.player .pinfo .add {
  width: 100%; height: 46px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 750; font-size: 15px; cursor: pointer;
}
.player .pinfo .add:hover { opacity: .9; }
.player .pinfo .fine { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); }

.player .pclose {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  z-index: 2;
}
.player .pclose:hover { background: rgba(255, 255, 255, 0.28); }

/* Below 900px the panel goes and the clip takes the room. The product strip
   pinned under the video is the way to the product there. */
@media (max-width: 900px) {
  .player .pinfo { display: none; }
  .player .pscreen { height: min(80dvh, 720px); }
  .player #player-prev { top: 56px; }
  .player #player-next { bottom: 84px; }
}

/* The nicotine strength, which Who we are, Shipping and the Terms of sale
   all promise is on this page. Stated plainly rather than buried in the
   title: somebody stepping down a strength, or who must not go over 20mg,
   is reading for this one number. */
.buybox .nic {
  margin: 0 0 14px;
  font-size: 14px; color: var(--ink-2);
}
.buybox .nic b {
  display: inline-block; margin-right: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}

/* The strip's pause control, beside its arrows. */
.reelnav .pauseall {
  /* `width: auto` is load-bearing. `.reelnav button` above sets a 42px
     square for the two arrows, and this rule — which is the more specific
     of the two — never said otherwise, so the pill was squeezed to 42px
     and the words "Pause clips" hung out of both sides of it. A rule that
     overrides another has to override every property it means to. */
  width: auto;
  height: 42px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2);
  font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer;
  transition: all .15s;
}
.reelnav .pauseall:hover { border-color: var(--ink-3); color: var(--ink); }

/* Which side of the sea. Two rates, two thresholds; the basket cannot
   total an order without knowing which, so it asks here rather than
   leaving it to the chat. */
.zone { margin: 0 0 10px; padding: 0; border: 0; }
.zone legend {
  padding: 0; margin-bottom: 6px;
  font-size: 12.5px; font-weight: 650; color: var(--ink-2);
}
/* `.who .zoneopt`, not `.zoneopt`. `.who label { display: block }` below is
   two classes to this one's one, so it won — the radio sat centred above
   its own text and the price ran into the name with no space. The same
   shape as `.reelnav button` beating `.pauseall` earlier today: a rule
   that means to override another has to out-specify it, not just come
   after it. */
/* Two rows, not one. Side by side, the no-wrap price took the width it
   needed and left the name the rest, so on a phone "Sabah, Sarawak &
   Labuan" broke across four lines and the two options were different
   heights. Name over price, radio down the left, and it holds at 280px. */
.who .zoneopt {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px; row-gap: 1px;
  margin: 0 0 6px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.who .zoneopt:has(input:checked) { border-color: var(--ink); }
.who .zoneopt input { grid-row: span 2; margin: 0; accent-color: var(--ink); }
.who .zoneopt small { grid-column: 2; font-size: 12px; color: var(--ink-3); }

/* Subtotal, delivery, total. */
.basketfoot .totals { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.basketfoot .totals.sub, .basketfoot .totals.del { font-size: 14px; color: var(--ink-2); }
.basketfoot .totals.grand { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 16px; }

/* Where the parcel goes, under the basket lines. The message used to ask
   the shop to quote delivery "to my address" and carry no address. */
.who { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.who h4 {
  margin: 0 0 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.who label {
  display: block; margin-bottom: 10px;
  font-size: 12.5px; font-weight: 650; color: var(--ink-2);
}
.who input, .who textarea {
  display: block; width: 100%; margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 14px;
  resize: vertical;
}
.who input:focus, .who textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.who .fine { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-3); }

/* The chosen variant, on a basket line. */
.bline .vr {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  border-radius: 999px; background: var(--bg-2);
  font-size: 11.5px; font-weight: 650; color: var(--ink-2);
  vertical-align: 1px;
}


/* ── A product page ─────────────────────────────────────────────────
   Written by the build, so this styles markup that is already in the file
   rather than markup assembled here. */
.crumbs {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 13px;
  color: var(--ink-3);
}
.crumbs .wrap { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; padding-block: 11px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs b { color: var(--ink); font-weight: 650; }

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
  padding-block: clamp(22px, 3.4vw, 46px);
}
.product .gallery { display: grid; gap: 10px; min-width: 0; }
.product .main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-2);
}
.product .thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.product .th {
  width: 72px; height: 72px;
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2); overflow: hidden; cursor: pointer;
}
.product .th[aria-current="true"] { border-color: var(--ink); }
.product .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product .th:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.product .buybox { min-width: 0; }
.product .vendor { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.product h1 {
  margin: 7px 0 10px;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 900;
  text-wrap: balance;
}
.product .price { margin: 0 0 14px; font-size: 22px; font-weight: 800; }
.product .price .was { text-decoration: line-through; color: var(--ink-3); font-weight: 600; font-size: 16px; margin-right: 7px; }
.product .blurb { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.product .pvariants { display: grid; gap: 6px; margin-bottom: 16px; }
.product .pqty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--ink-2); max-width: 320px; }
.product .add {
  width: 100%; max-width: 320px; height: 50px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 750; font-size: 15.5px; cursor: pointer;
}
.product .add:hover { opacity: .9; }
.product .fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); max-width: 46ch; }
.product .fine a { color: var(--ink-2); }
.product .incl { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
.product .incl a { color: var(--ink-2); }

/* The clip, where the product has one. `controls` rather than the strip's
   tap-to-play: on a page about one product there is room for a real player
   and no reason to invent one. */
.pdclip {
  width: min(360px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  background: #0b0d10;
  display: block;
}

/* The card's title is a link to all this now. */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .product { grid-template-columns: minmax(0, 1fr); }
}


/* ── A collection page ──────────────────────────────────────────────
   The plain list is what the build writes and what is on screen until
   assets/shop.js swaps in the cards. It is styled rather than hidden,
   because if the script never arrives it is the page. */
.plainlist { margin: 0; padding: 0 0 0 1.1em; }
.plainlist li { margin: 0 0 0.5em; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.plainlist a { color: var(--ink); text-decoration: none; font-weight: 650; }
.plainlist a:hover { text-decoration: underline; }
#collection { padding-block: clamp(20px, 3vw, 40px); }

/* ── Search ─────────────────────────────────────────────────────────
   `hidden` has to win here. A card is a grid or flex child and a section
   carries its own padding, so the user-agent's display:none for [hidden]
   is overridden by either of them and the thing stays on screen. */
[hidden] { display: none !important; }

.searchnote {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ── Toast ──────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 24px;
  transform: translateX(-50%) translateY(14px);
  background: var(--ink); color: #fff;
  padding: 11px 18px; border-radius: 999px; font-size: 14px;
  box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 60;
}
.toast.on { opacity: 1; transform: translateX(-50%); }

.todo { margin: 14px 0 0; padding: 12px 14px; border: 1px dashed var(--ink-3); border-radius: var(--radius-sm); background: #fff; color: var(--ink-2); font-size: 13.5px; }
.todo b { color: var(--ink); }

/* ── Content pages ──────────────────────────────────────────────────
   Shipping, Terms, Privacy and the rest. They inherit the header and
   footer from index.html; what they need of their own is a readable
   measure and a heading scale, which the storefront never had because the
   storefront has no running text in it. */
.pagehead {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 5vw, 56px);
}
.pagehead h1 {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
  text-wrap: balance;
}
.pagehead .lede {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.5;
  color: var(--ink-2);
}

/* A measure, not a column the width of the screen. */
.prose { max-width: 68ch; padding-block: clamp(26px, 4vw, 48px); }
.prose h2 {
  margin: 2em 0 0.5em;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.35em; font-size: 16.5px; font-weight: 750; }
.prose p { margin: 0 0 1em; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.prose p b, .prose p strong { color: var(--ink); font-weight: 700; }
.prose ul { margin: 0 0 1em; padding-left: 1.15em; }
.prose li { margin: 0 0 0.5em; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.prose li b { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

/* A quiet note at the end of a section, or a date at the top. */
.prose .aside { font-size: 13.5px; color: var(--ink-3); }
/* The shop's address and hours, set from the catalogue. */
.prose .addr, .prose .hours { font-size: 16px; line-height: 1.6; color: var(--ink); }
.prose .chatline { margin: 0.2em 0 1.4em; }

/* A link that stands out as the action on a page of prose. */
.btnlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}
.btnlink:hover { text-decoration: none; opacity: .9; }
.prose a.btnlink { color: var(--accent-ink); text-decoration: none; }

/* A fact the catalogue does not have yet. Deliberately loud: a blank in the
   middle of a sentence reads as a design choice, and this is the one thing
   on these pages that must never read as finished when it is not. */
.unset {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--ink-3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  background: #fff;
}

/* The demo disclaimer in the footer, while the catalogue says demo. */
#demoline { color: inherit; }

/* A page of prose has no hero, so the storefront's 4:3 phone rule for
   .slide must not reach anything here. It does not — .slide only exists in
   the hero — but the pagehead does need its gutter on a phone. */
@media (max-width: 560px) {
  .prose { max-width: none; }
}


@media (max-width: 980px) {
  header.site .wrap { grid-template-columns: auto 1fr; row-gap: 12px; }
  .headright { grid-column: 1 / -1; justify-items: start; }
  .hr-top, .hr-bot { flex-wrap: wrap; }
  .searchbar { grid-column: 1 / -1; order: 3; max-width: none; }
}
@media (max-width: 760px) {
  section { padding-block: 32px; }
  .iconbtn .label, .shipline { display: none; }
  /* `.slide { min-height: 240px }` lived here. It came after the 800px
     block, at equal specificity, so it won below 760px — every phone — and
     the `min-height: 0` up there never did anything. Through
     `min-width: auto` it floored the slide at 320px wide, clipping the
     banner on anything narrower. The ratio sets the height; nothing here
     needs to. */
}

/* ── The category panel ───────────────────────────────────────────────
   Resting on a shelf's name drops the first few things on it.

   ONLY WHERE THERE IS A POINTER. On a phone a tap both opens a hover
   state and follows the link, so a panel would spring open under a thumb
   already on its way somewhere. Gated on a real pointer, a touch reader
   gets exactly what they had before: the link. */
@media (hover: hover) and (pointer: fine) {
  .catbar { position: relative; }
  .catbar .catitem { display: inline-flex; }
  .catbar .megapanel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 40;
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 34px rgb(0 0 0 / 0.14);
    padding: 20px max(16px, env(safe-area-inset-left, 0px)) 22px;
    opacity: 0;
    visibility: hidden;
    /* Opening waits 140ms so sweeping the pointer across the bar on the
       way somewhere else does not flash four panels. Closing is instant,
       because a panel that lingers over what you are trying to reach is
       the thing people hate about these. */
    transition: opacity 0.12s ease, visibility 0s linear 0.12s;
  }
  .catbar .catitem:hover .megapanel,
  .catbar .catitem:focus-within .megapanel {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.12s ease 0.14s, visibility 0s linear 0.14s;
  }
  /* auto-FILL at a capped width, not auto-FIT at 1fr: stretched across
     1280px, six cards became 195px squares and the hover preview stood
     348px tall. Left-aligned too, so a shelf with three things on it does
     not space them across the whole bar. */
  .catbar .megagrid {
    max-width: var(--wrap, 1280px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 148px));
    justify-content: start;
    gap: 20px;
  }
  .catbar .megacard {
    display: grid;
    gap: 7px;
    align-content: start;
    min-width: 0;
    /* `.catbar a` gives every anchor in the bar a 2px underline slot and
       4px of padding. Neither belongs on a card. */
    border-bottom: 0;
    padding: 0;
  }
  .catbar .megashot {
    display: block;
    aspect-ratio: 1;
    background: var(--bg-2, #f4f4f5);
    border-radius: 10px;
    overflow: hidden;
  }
  .catbar .megashot img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .catbar .meganame {
    /* The bar sets nowrap and uppercase on everything inside it, and
       `.catbar a` outranks a bare class, so the first version of this
       inherited both: names were clipped mid-word at one line instead of
       wrapping, and the footer link shouted. Undone explicitly. */
    white-space: normal;
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    /* Two lines, then an ellipsis. A till name runs to 63 characters and
       six of them at full length would push the panel past the fold. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .catbar .megaprice {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0;
  }
  .catbar .megaall {
    display: block;
    width: fit-content;
    max-width: var(--wrap, 1280px);
    margin: 16px auto 0 0;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--ink);
    text-transform: none;
    white-space: normal;
    border-bottom: 0;
  }
  .catbar .megaall:hover { text-decoration: underline; }
  .catbar .megacard:hover .meganame { text-decoration: underline; }
}

/* The brand marks are links now. The anchor carries no decoration of its
   own: the mark inside it already has the opacity and the hover, and an
   underline slot under a picture would push the row off its line. */
.brands .brandlink {
  flex: none;
  display: inline-flex;
  align-items: center;
  border-bottom: 0;
  padding: 0;
}
.brands .brandlink > span {
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.brands .brandlink:hover > span { opacity: 1; }

/* The picture that travels from wherever Add to cart was pressed up to
   the cart. Fixed, so it is positioned against the viewport the click
   was measured in, and pointer-events: none so it cannot swallow a
   second press on its way past. */
.flychip {
  position: fixed;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.3);
  pointer-events: none;
  will-change: transform, opacity;
}
/* The cart answering. Without it the chip lands and nothing acknowledges
   it, which reads as the animation having missed. */
@keyframes cartbump {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
#cartbtn.bumped { animation: cartbump 0.3s cubic-bezier(0.3,0,0.2,1); }
@media (prefers-reduced-motion: reduce) {
  .flychip { display: none; }
  #cartbtn.bumped { animation: none; }
}
