/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--ink); color: #fff;
  padding: var(--sp-3) var(--sp-5); border-radius: var(--pill);
}
.skip-link:focus { top: var(--sp-4); }

/* ── Type roles ───────────────────────────────────────────────────────── */
.display { font-family: var(--sans); font-weight: 600; letter-spacing: -0.03em; }
.display em { font-style: normal; font-weight: 400; }

.eyebrow {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; max-width: 46ch; }

.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .eyebrow { color: rgb(255 255 255 / 0.55); }
.section--ink .lede { color: rgb(255 255 255 / 0.72); }

@media (min-width: 900px) {
  .section { padding-block: var(--sp-9); }
  .section--tight { padding-block: var(--sp-8); }
}

.section-head { margin-bottom: var(--sp-6); }
.section-head h2 { font-size: var(--step-3); margin-top: var(--sp-3); }
.section-head .lede { margin-top: var(--sp-4); }

.stack > * + * { margin-top: var(--sp-4); }

/* ── Buttons — solid black pills, one shape for every primary action ──── */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 52px;
  padding: 0 var(--sp-6);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--pill);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.btn:hover:not(:disabled) {
  --btn-bg: var(--signal-deep);
  --btn-bd: var(--signal-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Kept as an alias so every call site does not need editing; black either way. */
.btn--signal { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover:not(:disabled) { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

/* For use on the black sections */
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover:not(:disabled) { --btn-bg: var(--paper-deep); --btn-bd: var(--paper-deep); --btn-fg: var(--ink); }

.btn--sm { min-height: 42px; padding-inline: var(--sp-5); font-size: var(--step--1); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ── Product image ────────────────────────────────────────────────────── */
.swatch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  isolation: isolate;
}

.swatch--photo { background: #fff; }

.swatch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
  transition: transform 0.45s var(--ease);
}
.swatch--sm img { padding: 3%; }

.swatch__vessel {
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  width: 33%;
  aspect-ratio: 1 / 1.72;
  border-radius: 4px 4px 7px 7px;
  background: var(--paper-sink);
}

.swatch__no {
  position: absolute;
  left: var(--sp-3); top: var(--sp-3);
  z-index: 2;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.swatch__flag {
  position: absolute;
  left: var(--sp-3); top: var(--sp-3);
  z-index: 2;
  padding: 4px var(--sp-3);
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.swatch--out::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: rgb(255 255 255 / 0.62);
}
.swatch--sm { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); }

/* ── Save badge ───────────────────────────────────────────────────────── */
.swatch-wrap { position: relative; display: block; }

.badge-save {
  position: absolute;
  right: var(--sp-3); top: var(--sp-3);
  z-index: 2;
  padding: 4px var(--sp-3);
  border-radius: var(--pill);
  background: var(--sale);
  color: #fff;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ── Rating ───────────────────────────────────────────────────────────── */
.rating { display: flex; align-items: center; gap: var(--sp-2); }
.rating__stars { display: inline-flex; gap: 1px; color: var(--star); }
.rating__stars svg { width: 13px; height: 13px; }
.rating__stars .is-empty { color: var(--rule-strong); }
.rating__count { font-size: var(--step--1); color: var(--ink-faint); }

/* ── Product card ─────────────────────────────────────────────────────── */
/* One column on a phone. Most traffic lands here from Instagram and Facebook,
   where a full-width card with a visible Add button converts better than two
   cramped ones. */
.grid-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 460px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }
@media (min-width: 1000px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }

/* Single column: lay the card out sideways so it does not become a tall slab. */
@media (max-width: 459px) {
  .product {
    display: grid;
    grid-template-columns: 108px 1fr;
    grid-template-areas: 'img body' 'img add';
    gap: 0 var(--sp-4);
    align-items: start;
  }
  .product__hit { grid-area: img; }
  .product__body { grid-area: body; padding: var(--sp-1) 0 var(--sp-2); }
  .product__add { grid-area: add; align-self: end; }
  .product .swatch { aspect-ratio: 1 / 1.15; }
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s var(--ease), transform 0.28s var(--ease), border-color 0.28s var(--ease);
}
.product:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
  transform: translateY(-3px);
}
.product:hover .swatch img { transform: scale(1.04); }
.product[disabled] { cursor: not-allowed; opacity: 0.7; }
.product[disabled]:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--rule); }
.product[disabled]:hover .swatch img { transform: none; }

.product__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-2) var(--sp-2);
}
.product__name {
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.product__meta { font-size: var(--step--1); color: var(--ink-faint); }
.product__price { font-weight: 700; font-size: var(--step-1); letter-spacing: -0.02em; }
.product__was { font-weight: 400; font-size: var(--step--1); color: var(--ink-faint); text-decoration: line-through; margin-left: var(--sp-2); }
.product__oos { color: var(--negative); font-weight: 600; }

.product[data-picked='true'] { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.product[data-out='true'] { opacity: 0.65; }

/* The image doubles as a shortcut for adding, so it is a real button — but it
   must not look like one. */
.product__hit {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
}
.product__hit:disabled { cursor: not-allowed; }

/* Always present on touch, where there is no hover to discover it with.
   Desktop keeps it until the card is hovered or focused within, so a
   first-time visitor still sees the action without a mouse move. */
.product__add { margin-top: var(--sp-2); }

@media (hover: hover) and (min-width: 700px) {
  .product__add {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .product:hover .product__add,
  .product:focus-within .product__add,
  .product[data-picked='true'] .product__add {
    opacity: 1;
    transform: translateY(0);
  }
}

.product__tally {
  position: absolute;
  right: var(--sp-3); bottom: var(--sp-3);
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 30px; height: 30px;
  padding-inline: 8px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 700;
  transform: scale(0);
  transition: transform 0.22s var(--ease);
}
.product__tally[data-on='true'] { transform: scale(1); }

/* ── Payment methods ──────────────────────────────────────────────────── */
.paylist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.paylist li {
  display: grid;
  place-items: center;
  height: 26px;
  padding-inline: var(--sp-2);
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.paylist__note { font-size: var(--step--1); color: var(--ink-faint); margin-top: var(--sp-2); }

/* ── Cards ────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.card--flat { background: transparent; box-shadow: none; }

/* ── Pill ─────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px var(--sp-3);
  border-radius: var(--pill);
  background: var(--paper-deep);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
}
.pill--amber, .pill--signal { background: var(--ink); color: #fff; font-weight: 600; }
.pill--live { background: rgb(255 255 255 / 0.14); color: rgb(255 255 255 / 0.9); }

/* ── Marquee announcement bar ─────────────────────────────────────────── */
.promo {
  background: var(--ink);
  color: #fff;
  height: var(--marquee-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.promo__track {
  display: flex;
  flex: none;
  gap: 0;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.promo:hover .promo__track { animation-play-state: paused; }

.promo__group { display: flex; flex: none; }

.promo__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding-inline: var(--sp-5);
  white-space: nowrap;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.promo__item::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.5);
}

/* Two identical groups scroll past; -50% lands the second exactly where the
   first began, so the loop has no visible seam. */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .promo__track { animation: none; justify-content: center; width: 100%; }
  .promo__group:last-child { display: none; }
}

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: var(--sp-5); }

.wordmark { display: flex; align-items: baseline; gap: 0.45em; text-decoration: none; margin-right: auto; }
.wordmark__a {
  font-size: clamp(1.2rem, 1rem + 0.85vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.wordmark__b {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 0.14em;
}

.nav__links { display: none; gap: var(--sp-5); align-items: center; }
@media (min-width: 900px) { .nav__links { display: flex; } }

.nav__link {
  text-decoration: none;
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: var(--sp-2);
  position: relative;
  transition: color 0.16s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current='page']::after { transform: scaleX(1); }

.nav__link--reseller { color: var(--ink); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }
@media (min-width: 900px) { .nav__actions { margin-left: 0; } }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.16s var(--ease);
}
.icon-btn:hover { background: var(--paper-deep); }
.icon-btn svg { width: 21px; height: 21px; }

.icon-btn__count {
  position: absolute;
  top: 5px; right: 4px;
  min-width: 18px; height: 18px;
  padding-inline: 4px;
  display: grid; place-items: center;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.icon-btn__count[data-on='true'] { transform: scale(1); }

.nav__toggle { display: grid; }
@media (min-width: 900px) { .nav__toggle { display: none; } }

.nav__drawer {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: var(--sp-4) 0 var(--sp-6);
}
.nav__drawer[data-open='true'] { display: block; }
@media (min-width: 900px) { .nav__drawer { display: none !important; } }
.nav__drawer a {
  display: block;
  padding: var(--sp-3) 0;
  text-decoration: none;
  font-size: var(--step-1);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
}
.nav__drawer a:last-child { border-bottom: 0; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgb(255 255 255 / 0.7);
  padding-block: var(--sp-8) var(--sp-6);
  margin-top: var(--sp-8);
}
.footer a { color: rgb(255 255 255 / 0.7); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .wordmark__a { color: #fff; }
.footer .wordmark__b { color: rgb(255 255 255 / 0.5); }
.footer .paylist li { background: transparent; border-color: rgb(255 255 255 / 0.25); color: rgb(255 255 255 / 0.8); }

.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer__col h3 {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.45);
  margin-bottom: var(--sp-3);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }

.footer__base {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-5);
  justify-content: space-between;
  align-items: center;
  font-size: var(--step--1);
  color: rgb(255 255 255 / 0.5);
}

/* ── Free-shipping meter ──────────────────────────────────────────────── */
.meter { display: grid; gap: var(--sp-2); }
.meter__track { height: 4px; border-radius: var(--pill); background: var(--paper-sink); overflow: hidden; }
.meter__fill {
  height: 100%; width: 0;
  border-radius: var(--pill);
  background: var(--ink);
  transition: width 0.45s var(--ease);
}
.meter__label { font-size: var(--step--1); color: var(--ink-soft); }
.meter[data-free='true'] .meter__label { color: var(--ink); font-weight: 600; }

/* ── Drawer ───────────────────────────────────────────────────────────── */
.scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgb(10 10 10 / 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease);
}
.scrim[data-open='true'] { opacity: 1; pointer-events: auto; }

/* Full-height sheet on a phone: a partial one left too little room for the
   list once the totals and Checkout were in. */
.drawer {
  position: fixed;
  z-index: 101;
  inset: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.34s var(--ease);
}
.drawer[data-open='true'] { transform: translateY(0); }
.drawer__foot { padding-bottom: max(var(--sp-4), env(safe-area-inset-bottom)); }

@media (min-width: 720px) {
  .drawer {
    inset: 0 0 0 auto;
    width: min(440px, 100%);
    max-height: none;
    border-radius: 0;
    transform: translateX(100%);
  }
  .drawer[data-open='true'] { transform: translateX(0); }
}

.drawer__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--rule);
}
.drawer__head h2 { font-size: var(--step-1); font-weight: 600; margin-right: auto; }

/* The list is what the customer came to check, so it gets the room: it grows,
   the footer never does. min-height:0 lets it actually shrink-to-scroll
   instead of being pushed past the bottom of the drawer. */
.drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: var(--sp-3) var(--sp-5); }
.drawer__foot {
  flex: 0 0 auto;
  border-top: 1px solid var(--rule);
  padding: var(--sp-3) var(--sp-5) var(--sp-4);
  background: var(--surface);
}

.line {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: var(--sp-3);
  align-items: center;
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--rule);
}
.line:last-child { border-bottom: 0; }
.line__info { min-width: 0; }
.line__name { font-weight: 600; font-size: var(--step-0); letter-spacing: -0.015em; }
.line__x { font-weight: 700; color: var(--ink-soft); }
.line__meta { font-size: var(--step--1); color: var(--ink-faint); }

/* Quantity stepper */
.qty {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--rule);
  border-radius: var(--pill);
  padding: 2px;
}
.qty__btn {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: background-color 0.16s var(--ease);
}
.qty__btn:hover { background: var(--paper-deep); }
.qty__btn svg { width: 14px; height: 14px; }
.qty__n { min-width: 1.5em; text-align: center; font-weight: 600; font-size: var(--step--1); }

.totals { display: grid; gap: var(--sp-1); margin-block: var(--sp-3); }
.totals__row { display: flex; justify-content: space-between; font-size: var(--step--1); color: var(--ink-soft); }
.totals__row--grand {
  color: var(--ink); font-weight: 700; font-size: var(--step-1);
  padding-top: var(--sp-2); margin-top: var(--sp-1); border-top: 1px solid var(--rule);
}
.totals__free { color: var(--positive); font-weight: 600; }

/* ── Upsell, compact ──────────────────────────────────────────────────────
   Used inside the order drawer, where every pixel spent here is a pixel taken
   off the list of what the customer actually picked. The full version below
   is for the checkout page, where there is room for it. */
.upsell-slim {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-deep);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.upsell-slim:hover { background: var(--ink); color: #fff; }

.upsell-slim__tag {
  flex: none;
  padding: 3px var(--sp-2);
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.upsell-slim:hover .upsell-slim__tag { background: #fff; color: var(--ink); }

.upsell-slim__txt { font-size: var(--step--1); font-weight: 600; line-height: 1.3; }
.upsell-slim svg { flex: none; width: 15px; height: 15px; margin-left: auto; }

/* ── Upsell, full (checkout page) ─────────────────────────────────────── */
.upsell {
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-3);
}
.upsell__head { display: flex; align-items: center; gap: var(--sp-2); }
.upsell__title { font-weight: 700; font-size: var(--step-0); letter-spacing: -0.015em; }
.upsell__maths { display: flex; align-items: baseline; gap: var(--sp-3); }
.upsell__was { text-decoration: line-through; color: var(--ink-faint); }
.upsell__now { font-size: var(--step-2); font-weight: 700; color: var(--ink); }
.upsell__note { font-size: var(--step--1); color: var(--ink-soft); }

/* ── Empty state ──────────────────────────────────────────────────────── */
.empty { text-align: center; padding: var(--sp-8) var(--sp-4); display: grid; gap: var(--sp-4); justify-items: center; }
.empty p { color: var(--ink-soft); max-width: 34ch; }

/* ── Toast ────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%; bottom: var(--sp-5);
  transform: translate(-50%, 160%);
  z-index: 130;
  background: var(--ink);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--pill);
  font-size: var(--step-0);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: transform 0.32s var(--ease);
}
.toast[data-on='true'] { transform: translate(-50%, 0); }

/* ── Floating WhatsApp ────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 120;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--pill);
  background: var(--whatsapp);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 29px; height: 29px; }

/* Get out of the way of anything the customer is actually transacting with.
   With the order drawer open it was landing squarely on the Total and the
   Checkout button. */
body[data-cart-open='true'] .wa-float {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

/* Sit above the floating order bar rather than on top of it. */
body[data-order-bar='on'] .wa-float { bottom: calc(var(--sp-4) + 128px); }

/* ── Social proof popup ───────────────────────────────────────────────── */
.proof {
  position: fixed;
  left: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 115;
  width: min(320px, calc(100vw - var(--sp-5) * 2));
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform 0.42s var(--ease);
}
.proof[data-on='true'] { transform: translateY(0); }
.proof__img { width: 46px; height: 46px; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-deep); }
.proof__img img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.proof__who { font-size: var(--step--1); font-weight: 600; line-height: 1.3; }
.proof__what { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.3; }
.proof__when { font-size: var(--step--2); color: var(--ink-faint); margin-top: 2px; }
.proof__x {
  align-self: start;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer;
  color: var(--ink-faint); border-radius: var(--pill);
}
.proof__x:hover { background: var(--paper-deep); color: var(--ink); }
.proof__x svg { width: 12px; height: 12px; }

body[data-cart-open='true'] .proof { transform: translateY(140%); }
body[data-order-bar='on'] .proof { bottom: calc(var(--sp-4) + 128px); }

/* On a phone a 320px card and the 54px WhatsApp button cannot both fit on the
   bottom row, so the card stops short of it instead of sliding underneath. */
@media (max-width: 560px) {
  .proof {
    right: calc(var(--sp-4) + 54px + var(--sp-3));
    width: auto;
    max-width: none;
  }
}
