/* ==========================================================================
   BIGBUYMART — page blocks
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Home slideshow
      Three slides. Each one is a rounded card sitting inside the page gutter,
      never edge to edge, with the picture bleeding to its own right edge.
   -------------------------------------------------------------------------- */
.hero { padding-block: var(--s-5) var(--s-4); }
@media (min-width: 900px) { .hero { padding-block: var(--s-6) var(--s-5); } }

/* The slideshow runs wider than the rest of the page: a bigger container and a
   narrower gutter, so the card reaches further left and right. */
.hero > .wrap { max-width: 1440px; padding-inline: var(--s-4); }
@media (min-width: 900px) { .hero > .wrap { padding-inline: var(--s-5); } }

/* All three slides sit in the same grid cell and cross-fade, so one offer
   dissolves into the next instead of the deck marching past in single file. */
.hero__stage { position: relative; display: grid; }

.slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface); box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: scale(.985);
  pointer-events: none;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), visibility 600ms;
}
.slide.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
@media (min-width: 860px) { .slide { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .slide { transform: none; } }

.slide__txt { position: relative; z-index: 1; padding: var(--s-4); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
@media (min-width: 620px) { .slide__txt { padding: var(--s-5) var(--s-6); } }
@media (min-width: 860px) { .slide__txt { padding: var(--s-7) var(--s-8); } }
.slide__eyebrow {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 3px 9px; border-radius: var(--r-pill); margin-bottom: var(--s-2);
  font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  max-width: 100%; white-space: nowrap; overflow: hidden;
}
.slide__eyebrow svg { width: 14px; height: 14px; }
.slide h1, .slide__h {
  font-family: var(--display); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(1.15rem, .78rem + 1.7vw, 2.25rem); line-height: 1.08;
  margin: 0 0 var(--s-2); max-width: 18ch;
}
@media (min-width: 860px) { .slide h1, .slide__h { margin-bottom: var(--s-3); max-width: 16ch; } }
.slide__lead {
  font-size: var(--fs-xs); color: var(--ink-2); max-width: 44ch; margin-bottom: var(--s-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 620px) { .slide__lead { font-size: var(--fs-sm); -webkit-line-clamp: 3; margin-bottom: var(--s-4); } }
@media (min-width: 860px) { .slide__lead { font-size: var(--fs-md); -webkit-line-clamp: 4; margin-bottom: var(--s-5); } }
.slide__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
/* A phone shows the primary action only: the second button would push the card
   taller than the picture beside it. */
.slide__cta .btn:nth-child(2) { display: none; }
.slide__cta .btn { min-height: 38px; padding: 7px var(--s-4); font-size: var(--fs-sm); }
@media (min-width: 620px) {
  .slide__cta { gap: var(--s-3); }
  .slide__cta .btn:nth-child(2) { display: inline-flex; }
  .slide__cta .btn { min-height: 46px; padding: 11px var(--s-5); font-size: var(--fs-md); }
}
@media (min-width: 860px) { .slide__cta .btn { min-height: 54px; padding: 14px var(--s-7); font-size: var(--fs-lg); } }

.slide__pic { position: relative; min-height: 150px; background: var(--sunk); }
@media (min-width: 620px) { .slide__pic { min-height: 230px; } }
@media (min-width: 860px) { .slide__pic { min-height: 320px; } }
.slide__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__pic--pack { display: grid; place-items: center; padding: var(--s-6); }
.slide__pic--pack { padding: var(--s-3); }
.slide__pic--pack img { position: static; width: auto; max-height: 150px; object-fit: contain; }
@media (min-width: 860px) { .slide__pic--pack { padding: var(--s-6); } .slide__pic--pack img { max-height: 260px; } }

/* Slide colour schemes, set per slide so each one reads differently. */
.slide--navy .slide__txt { background: var(--navy); color: #fff; }
.slide--navy .slide__h, .slide--navy h1 { color: #fff; }
.slide--navy .slide__lead { color: var(--ink-dim); }
.slide--navy .slide__eyebrow { background: rgba(0,0,0,.24); color: #fff; }

.slide--red .slide__txt { background: var(--red-dark); color: #fff; }
.slide--red .slide__h, .slide--red h1 { color: #fff; }
.slide--red .slide__lead { color: #F6CDD3; }
.slide--red .slide__eyebrow { background: rgba(0,0,0,.24); color: #fff; }
.slide--red .slide__pic { background: #fff; }
.slide--red .slide__price b { color: #fff; }
.slide--red .slide__price span { color: #F6CDD3; }

.slide--blue .slide__txt { background: var(--tint-water); color: #fff; }
.slide--blue .slide__h, .slide--blue h1 { color: #fff; }
.slide--blue .slide__lead { color: #E8F4FC; }
.slide--blue .slide__eyebrow { background: rgba(0,0,0,.24); color: #fff; }

.slide__price { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap; }
.slide__price b { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--red); }
.slide__price span { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
@media (min-width: 860px) { .slide__price b { font-size: 2rem; } .slide__price span { font-size: var(--fs-md); } }

/* Phone: picture on top, copy in a bar underneath. The card keeps the exact
   footprint it had side by side (343 x 243 on a 375px screen) - only the parts
   move. The bar takes the height its content needs and the picture takes
   everything left, so the picture wins. */
@media (max-width: 619px) {
  /* Full-screen picture, edge to edge, running up behind the header the way
     Shein does it. The copy sits on the picture instead of under it. */
  .hero { padding-block: 0 var(--s-6); margin-top: calc(-1 * var(--mheader-h)); }
  .hero > .wrap { max-width: none; padding-inline: 0; }
  /* The card keeps the 243px it had, plus exactly what it now hides behind the
     header. It grows upwards, never downwards: its bottom edge sits higher than
     it did before. */
  .hero__stage { height: calc(243px + var(--mheader-h)); }
  .slide {
    grid-template-columns: 1fr; grid-template-rows: 1fr;
    border-radius: 0; box-shadow: none;
  }
  .slide__pic { grid-area: 1 / 1; min-height: 0; }
  .slide__txt {
    grid-area: 1 / 1; align-self: end; z-index: 1;
    display: grid; grid-template-columns: auto 1fr;
    align-content: end; column-gap: var(--s-3);
    padding: 34px var(--s-4) 30px;
  }
  /* The bar fades out of the picture instead of cutting it off. */
  .slide--navy .slide__txt { background: linear-gradient(180deg, rgba(11,28,51,0), rgba(11,28,51,.94) 46%); }
  .slide--red .slide__txt  { background: linear-gradient(180deg, rgba(179,20,40,0), rgba(179,20,40,.94) 46%); }
  .slide--blue .slide__txt { background: linear-gradient(180deg, rgba(11,111,175,0), rgba(11,111,175,.94) 46%); }
  /* The dots move onto the picture: below it they would sit off-screen. */
  .hero__dots { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; z-index: 2; }
  .hero__dot i { background: rgba(255,255,255,.5); }
  .hero__dot.is-on i { background: #fff; }
  /* Full width means the headline runs on one long line instead of three short
     ones, so the 18ch cap has to go. */
  .slide h1, .slide__h {
    grid-row: 1; grid-column: 1 / -1; max-width: none;
    font-size: 1.25rem; margin-bottom: var(--s-1);
  }
  .slide__eyebrow { display: none; }
  /* One line of description, running the full width of the bar. */
  .slide__lead {
    grid-row: 2; grid-column: 1 / -1; max-width: none;
    font-size: 0.875rem; line-height: 1.35; -webkit-line-clamp: 1;
    margin-bottom: var(--s-2);
  }
  /* Button pinned to the right edge, under the copy; the unit price keeps the
     left of that row. */
  .slide__cta { grid-row: 3; grid-column: 2; justify-self: end; align-self: center; }
  /* The label stays on one line: wrapped, it doubles the height of the bar on a
     320px screen and eats into the picture. */
  .slide__cta .btn { min-height: 32px; padding: 5px var(--s-3); font-size: var(--fs-xs); white-space: nowrap; }
  .slide__price { grid-row: 3; grid-column: 1; align-self: center; margin: 0; }
  .slide__price b { font-size: 1rem; }
  .slide__price span { font-size: var(--fs-2xs); }
}

/* --- Tablet and desktop: the same fade ------------------------------------
   The picture runs the whole width of the card and the copy panel dissolves
   into it on its right edge, instead of stopping at a hard column boundary. */
@media (min-width: 620px) {
  .slide { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .slide__pic { grid-area: 1 / 1; }
  .slide__txt {
    grid-area: 1 / 1; justify-self: start; width: min(66%, 700px);
    padding-right: var(--s-8);
  }
  .slide--navy .slide__txt {
    background: linear-gradient(90deg, rgba(11,28,51,.97) 0%, rgba(11,28,51,.93) 52%, rgba(11,28,51,0) 100%);
  }
  .slide--red .slide__txt {
    background: linear-gradient(90deg, rgba(179,20,40,.97) 0%, rgba(179,20,40,.93) 52%, rgba(179,20,40,0) 100%);
  }
  .slide--blue .slide__txt {
    background: linear-gradient(90deg, rgba(11,111,175,.97) 0%, rgba(11,111,175,.93) 52%, rgba(11,111,175,0) 100%);
  }
}
@media (min-width: 860px) {
  .slide__txt { width: min(58%, 760px); }
}

.hero__dots { display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin-top: var(--s-4); }
.hero__box { position: relative; }
.hero__dot {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  background: none; border: 0; border-radius: var(--r-pill);
}
.hero__dot i { display: block; width: 26px; height: 5px; border-radius: var(--r-pill); background: var(--line-3); transition: background var(--t) var(--ease), width var(--t) var(--ease); }
.hero__dot.is-on i { background: var(--navy); width: 38px; }
.hero__arrow {
  display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; place-items: center;
  background: var(--surface); color: var(--navy);
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill); box-shadow: var(--sh-2);
}
@media (min-width: 1100px) { .hero__arrow { display: grid; } }
.hero__arrow:hover { border-color: var(--navy); }
.hero__arrow--prev { left: -14px; }
.hero__arrow--next { right: -14px; }
.hero__arrow svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   2. Service strip
   -------------------------------------------------------------------------- */
/* Full-bleed grey band. No cards: the icons and the text sit straight on it. */
.svcband { background: var(--canvas-2); border-block: 1px solid var(--line); }
/* The four promises need air under them before the first product rail. */
.svcband { margin-bottom: calc(var(--band-gap) * 2.5); }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-4); }
@media (min-width: 900px) { .svc { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-5); } }
.svc__i { display: flex; gap: var(--s-3); align-items: flex-start; }
@media (min-width: 900px) {
  .svc__i + .svc__i { padding-left: var(--s-6); border-left: 1px solid var(--line-2); }
}
.svc__ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; color: var(--red); }
.svc__ico svg { width: 24px; height: 24px; }
.svc__t { font-family: var(--display); font-size: var(--fs-md); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.svc__d { font-size: var(--fs-xs); color: var(--ink-2); margin-top: 2px; line-height: 1.4; }

/* --------------------------------------------------------------------------
   3. Case pricing explainer
   -------------------------------------------------------------------------- */
.case { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .case { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: var(--s-9); } }
.case__pic { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-md); padding: var(--s-6); display: grid; place-items: center; }
.case__pic img { max-height: 240px; width: auto; object-fit: contain; }

.steps { display: grid; gap: var(--s-3); }
.step {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: var(--s-4); align-items: center;
  padding: var(--s-4) var(--s-5); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: var(--r-md);
}
.step--best { border-color: var(--red); border-width: 2px; background: var(--red); color: #fff; }
.step__q { font-family: var(--display); font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.03em; color: var(--navy); min-width: 2.4ch; }
.step--best .step__q { color: #fff; }
.step__l { font-size: var(--fs-md); font-weight: 700; }
.step__s { font-size: var(--fs-sm); color: var(--ink-2); }
.step__p { text-align: right; }
.step__p b { display: block; font-family: var(--display); font-size: var(--fs-lg); font-weight: 800; }
.step__p span { font-size: var(--fs-sm); color: var(--ink-2); font-weight: 700; }
.step--best .step__s, .step--best .step__p span { color: #FDECEE; }

/* --------------------------------------------------------------------------
   4. Countdown
   -------------------------------------------------------------------------- */
.deal { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .deal { grid-template-columns: minmax(0,1fr) 300px; gap: var(--s-8); } }
.clock { display: flex; gap: var(--s-2); }
.clock__u { flex: 1 1 0; min-width: 68px; padding: var(--s-4) var(--s-2); background: rgba(0,0,0,.20); border: 1.5px solid rgba(255,255,255,.34); border-radius: var(--r-sm); text-align: center; }
.clock__n { display: block; font-family: var(--display); font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.clock__l { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #FDECEE; margin-top: 6px; }
.clock--done { font-weight: 800; color: #fff; }

/* --------------------------------------------------------------------------
   5. ZIP checker
   -------------------------------------------------------------------------- */
.zip { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.zip input {
  flex: 1 1 150px; min-width: 0; min-height: 48px; padding: 11px var(--s-4);
  background: var(--surface); border: 2px solid var(--line-3); border-radius: var(--r-sm);
  font-size: var(--fs-base); font-weight: 700; letter-spacing: .06em;
}
.zip input:focus { border-color: var(--navy); }
.zipout { margin-top: var(--s-3); }
.zipout:empty { display: none; }

/* --------------------------------------------------------------------------
   6. Collection page
   -------------------------------------------------------------------------- */
/* Navy band, red headline, everything else white. */
.phead { background: var(--navy); color: #fff; }
.phead__in { padding-block: var(--s-6) var(--s-7); }
.phead h1 { margin-bottom: var(--s-3); color: var(--red); }
.phead__lead { color: #fff; font-size: var(--fs-lg); max-width: 62ch; }
.phead__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

/* On the navy the badges read as outlines, except the one that was blue. */
.phead .pill--info {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.55);
}
.phead .pill--out { background: var(--red); color: #fff; border-color: var(--red); }

.subnav { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-5); }
.phead .tag { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.phead .tag:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.phead .tag.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.phead .tag .n { color: #D6E2EE; }
.phead .tag.is-on .n { color: #FDECEE; }

.shop { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1000px) { .shop { grid-template-columns: 246px minmax(0,1fr); gap: var(--s-7); } }

.filters { display: none; }
@media (min-width: 1000px) {
  .filters { display: block; position: sticky; top: calc(var(--header-h) + 16px);
             background: var(--surface); border: 1.5px solid var(--line-2);
             border-radius: var(--r-md); padding: var(--s-5); }
}
.fgroup { border-bottom: 1px solid var(--line); padding-bottom: var(--s-4); margin-bottom: var(--s-4); }
.fgroup:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.fgroup > h3 { font-family: var(--text); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-2); }
.fgroup ul { list-style: none; margin: 0; padding: 0; }
.fgroup li { margin: 0; }
.check { display: flex; align-items: center; gap: var(--s-3); min-height: 42px; padding: 3px 0; cursor: pointer; font-size: var(--fs-md); }
.check input { width: 19px; height: 19px; accent-color: var(--navy); flex: none; margin: 0; }
.check .n { margin-left: auto; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 700; }
.check:hover { color: var(--navy); }

.toolbar { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding-bottom: var(--s-4); margin-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.toolbar__n { font-size: var(--fs-md); color: var(--ink-2); }
.toolbar__n strong { color: var(--ink); }
.sel { position: relative; display: inline-flex; }
.sel select {
  appearance: none; min-height: 46px; padding: 8px 40px 8px var(--s-4);
  background: var(--surface); border: 2px solid var(--line-3); border-radius: var(--r-sm);
  font-size: var(--fs-md); font-weight: 700; cursor: pointer;
}
.sel::after { content: ""; position: absolute; right: 15px; top: 50%; width: 11px; height: 7px; transform: translateY(-50%); pointer-events: none; background: var(--ink-2); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.fbtn { display: inline-flex; }
@media (min-width: 1000px) { .fbtn { display: none; } }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.chips:empty { display: none; }

.pager { display: flex; justify-content: center; align-items: center; gap: var(--s-2); margin-top: var(--s-8); flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 46px; min-height: 46px; padding: 0 var(--s-3); display: inline-grid; place-items: center;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  font-weight: 800; color: var(--ink); text-decoration: none; background: var(--surface);
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager [aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .off { opacity: .4; pointer-events: none; }

/* --------------------------------------------------------------------------
   7. Product page
   -------------------------------------------------------------------------- */
.pdp { display: grid; gap: var(--s-6); align-items: start; padding-top: var(--s-2); }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s-8); } }
@media (min-width: 1200px) { .pdp { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); } }

.gal { position: relative; }
@media (min-width: 900px) { .gal { position: sticky; top: calc(var(--header-h) + 20px); } }
.gal__main { position: relative; aspect-ratio: 1 / 1; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-md); padding: var(--s-7); display: grid; place-items: center; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; }
.gal__tags { position: absolute; top: var(--s-4); left: var(--s-4); display: flex; flex-wrap: wrap; gap: 6px; }
.gal__th { display: flex; gap: var(--s-2); margin-top: var(--s-3); overflow-x: auto; padding-bottom: 4px; }
.gal__t { width: 74px; height: 74px; flex: none; padding: 6px; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; }
.gal__t img { width: 100%; height: 100%; object-fit: contain; }
.gal__t[aria-current="true"] { border-color: var(--navy); border-width: 2px; }

.pdp__brand { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; font-size: var(--fs-sm); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--blue-ink); text-decoration: none; }
.pdp__brand:hover { color: var(--navy); }
.pdp h1 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); margin-block: var(--s-3) var(--s-2); }
.pdp__native { color: var(--ink-3); font-size: var(--fs-md); }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-3); }

.buybox { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-md); padding: var(--s-5); margin-top: var(--s-5); }
.buybox__row { display: flex; align-items: baseline; gap: var(--s-4); flex-wrap: wrap; }
.buybox__p { font-family: var(--display); font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--red); }
.buybox__u { font-size: var(--fs-md); font-weight: 800; color: #fff; background: var(--navy); border: 1.5px solid var(--navy); border-radius: var(--r-pill); padding: 6px 14px; }
.buybox__m { font-size: var(--fs-sm); color: var(--ink-2); margin-top: var(--s-3); }
.buybox__save { margin-top: var(--s-3); font-size: var(--fs-md); font-weight: 800; color: var(--red); }

.packs { margin-top: var(--s-5); }
.packs__h { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.packs__h h2 { font-family: var(--text); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.packs__l { display: grid; gap: var(--s-2); }
.pack {
  position: relative; display: grid; grid-template-columns: 22px minmax(0,1fr) auto;
  gap: var(--s-3); align-items: center; padding: var(--s-4);
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-md); cursor: pointer;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.pack:hover { border-color: var(--navy-600); }
.pack input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pack__d { width: 20px; height: 20px; border: 2px solid var(--line-3); border-radius: 50%; display: grid; place-items: center; }
.pack__d::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform var(--t) var(--ease); }
.pack.is-on { border-color: var(--navy); border-width: 2px; background: #fff; padding: calc(var(--s-4) - 0.5px); box-shadow: inset 0 0 0 3px var(--navy-050); }
.pack.is-on .pack__d { border-color: var(--navy); }
.pack.is-on .pack__d::after { transform: scale(1); }
.pack:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.pack__f { font-size: var(--fs-md); font-weight: 800; }
.pack__s { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 1px; }
.pack__n { text-align: right; }
.pack__n b { display: block; font-family: var(--display); font-size: var(--fs-lg); font-weight: 800; }
.pack__n span { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.pack__best { position: absolute; top: -10px; right: var(--s-4); padding: 3px 9px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: var(--r-pill); }
.pack--out { opacity: .62; }
.pack--out .pack__f { text-decoration: line-through; }

.buyrow { display: flex; gap: var(--s-3); align-items: stretch; margin-top: var(--s-5); flex-wrap: wrap; }
.buyrow .btn { flex: 1 1 200px; }

.perks { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.perk { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-md); }
.perk svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--navy); }
.perk b { display: block; }
.perk span { color: var(--ink-2); font-size: var(--fs-sm); }

.acc { border-top: 1px solid var(--line); margin-top: var(--s-6); }
.acc__i { border-bottom: 1px solid var(--line); }
.acc__b {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  width: 100%; min-height: 58px; padding: var(--s-3) 0; background: none; border: 0; text-align: left;
  font-family: var(--display); font-size: var(--fs-lg); font-weight: 800; color: var(--ink);
}
.acc__b svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); transition: transform var(--t) var(--ease); }
.acc__b[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc__p { display: none; padding-bottom: var(--s-4); }
.acc__p.is-open { display: block; }

.sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: calc(var(--z-header) - 1);
  background: var(--surface); border-top: 1.5px solid var(--line-2);
  box-shadow: 0 -6px 20px -8px rgba(14,32,51,.18);
  transform: translateY(110%); transition: transform var(--t-slow) var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky.is-on { transform: none; }
.sticky__in { display: flex; align-items: center; gap: var(--s-4); padding-block: var(--s-3); }
.sticky img { width: 44px; height: 44px; flex: none; object-fit: contain; }
.sticky__t { font-size: var(--fs-sm); font-weight: 800; line-height: 1.2; }
.sticky__p { font-size: var(--fs-sm); color: var(--ink-2); }
.sticky__m { min-width: 0; display: none; }
@media (min-width: 560px) { .sticky__m { display: block; } }
.sticky .btn { margin-left: auto; flex: none; }

/* --------------------------------------------------------------------------
   8. Editorial pages
   -------------------------------------------------------------------------- */
.dochead { background: var(--navy); color: #fff; }
.dochead__in { padding-block: var(--s-8); }
.dochead h1 { color: #fff; }
.dochead p { color: var(--ink-dim); margin-top: var(--s-3); max-width: 62ch; }

.faq__i { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 62px; padding: var(--s-3) 0; background: none; border: 0; text-align: left;
  font-family: var(--text); font-size: var(--fs-lg); font-weight: 700; color: var(--ink);
}
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); transition: transform var(--t) var(--ease); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { display: none; padding-bottom: var(--s-4); max-width: 70ch; color: var(--ink-2); }
.faq__a.is-open { display: block; }

.howto { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.howto li { counter-increment: n; position: relative; padding-left: 50px; margin-bottom: var(--s-5); }
.howto li::before {
  content: counter(n); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--navy); color: #fff; border-radius: var(--r-pill);
  font-family: var(--display); font-weight: 800; font-size: var(--fs-md);
}
.howto b { display: block; font-size: var(--fs-lg); margin-bottom: 3px; }
.howto p { color: var(--ink-2); margin: 0; }

.stats { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-4); } }
.stat { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-md); padding: var(--s-5); }
.stat__n { font-family: var(--display); font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1; }
.stat__l { font-size: var(--fs-sm); color: var(--ink-2); margin-top: var(--s-2); }

/* --------------------------------------------------------------------------
   9. Search
   -------------------------------------------------------------------------- */
.sform { display: flex; gap: var(--s-2); max-width: 620px; }
.sform input {
  flex: 1 1 auto; min-height: 54px; padding: 11px var(--s-4);
  background: var(--surface); border: 2px solid var(--line-3); border-radius: var(--r-sm);
  font-size: var(--fs-lg); color: var(--ink);
}
.sform input:focus { border-color: var(--navy); }


/* --------------------------------------------------------------------------
   10. Flash offer band
   -------------------------------------------------------------------------- */
.flash { background: var(--red); color: #fff; }
.flash h2 { color: #fff; }
.flash p { color: #FDECEE; }
.flash__pc {
  display: inline-block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.75rem, 2rem + 3.4vw, 4.5rem); line-height: .95;
  letter-spacing: -.045em; margin-bottom: var(--s-2);
}
.flash__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: var(--r-pill); margin-bottom: var(--s-4);
  background: rgba(0,0,0,.22); color: #fff;
  font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.flash__eyebrow svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   11. Flash offer
       Centred on the page, not a full-width band. Headline plus clock, nothing
       else: no button, because the whole block is the link.
   -------------------------------------------------------------------------- */
.flashband { background: transparent; }
.flashbar {
  display: flex; flex-direction: column; align-items: center; gap: var(--s-4);
  max-width: 640px; margin-inline: auto; text-align: center;
  padding: var(--s-6) var(--s-5);
  /* Filled, not outlined: white on white read as the same block as the grey
     band above it. */
  background: var(--red); border: 4px solid var(--red); border-radius: var(--r-lg);
  color: #fff; text-decoration: none;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
a.flashbar:hover { box-shadow: var(--sh-2); transform: translateY(-2px); color: #fff; }
.flashbar__msg { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; justify-content: center; margin: 0; font-size: var(--fs-md); }
.flashbar__msg b { font-weight: 800; }
.flashbar__pc {
  font-family: var(--display); font-weight: 800; font-size: 2.4rem;
  letter-spacing: -.045em; line-height: 1; color: #fff; flex: none;
}
.flashbar .clock { gap: var(--s-2); justify-content: center; }
.flashbar .clock__u {
  min-width: 62px; padding: var(--s-2) var(--s-3);
  background: var(--navy-900); border: 0; border-radius: var(--r-sm);
}
.flashbar .clock__n { font-size: var(--fs-2xl); color: #fff; }
.flashbar .clock__l { font-size: 9px; margin-top: 3px; color: #A9C0D6; }
.flashbar .clock--done { margin: 0; color: var(--red); }

/* --------------------------------------------------------------------------
   12. Buy more, spend less
   -------------------------------------------------------------------------- */
.bulk {
  display: grid; gap: var(--s-5);
  background: var(--navy-900); color: #fff;
  border-radius: var(--r-lg); padding: var(--s-6);
}
@media (min-width: 860px) {
  .bulk { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s-8); padding: var(--s-7); align-items: center; }
}
.bulk h2 { color: #fff; margin-bottom: var(--s-3); }
.bulk__txt p { color: var(--ink-dim); font-size: var(--fs-md); margin-bottom: var(--s-5); }
.bulk__steps { display: grid; gap: var(--s-2); }
.bulk__step {
  display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: var(--s-3);
  align-items: center; padding: var(--s-3) var(--s-4);
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--r-sm);
}
.bulk__q {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.14); color: #fff;
  font-family: var(--display); font-size: var(--fs-lg); font-weight: 800;
}
.bulk__l { font-size: var(--fs-md); font-weight: 700; color: #fff; }
.bulk__p { font-size: var(--fs-sm); font-weight: 800; color: var(--ink-dim); text-align: right; }
.bulk__step--best { background: var(--red); border-color: var(--red); }
.bulk__step--best .bulk__q { background: rgba(0,0,0,.22); }
.bulk__step--best .bulk__p { color: #fff; }

/* --- Phones: tighter type in the blocks under the slideshow ----------------
   One row for every heading, two at most for the copy under it. On two columns
   a heading like "Up to 46% off when you buy more" cannot hold a single line at
   any readable size, so the strip runs one item per row and the lines run long
   instead of stacking. */
@media (max-width: 619px) {
  /* Two columns on a phone leave about 145px of text per cell, so the type is
     sized to the longest heading - "Up to 18% off when you buy more" - and cut
     with an ellipsis rather than allowed to fall onto a second line. */
  .svc { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3) 8px;
         padding-inline: 8px; }
  .svc__i { gap: 5px; align-items: flex-start; }
  /* Without this the text block refuses to shrink and spills into the cell
     next door, because a nowrap heading sets its minimum width. */
  .svc__i > div { min-width: 0; }
  .svc__ico { width: 16px; height: 16px; margin-top: 1px; }
  .svc__ico svg { width: 16px; height: 16px; }
  .svc__t {
    font-size: 9.5px; line-height: 1.2; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .svc__d {
    font-size: 8.5px; line-height: 1.3; margin-top: 2px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }

  /* Buy more, spend less: smaller cards, one row of copy, the percentage still
     on the right but sitting a little lower than the line it belongs to. */
  .bulk { padding: var(--s-5); gap: var(--s-4); }
  .bulk__txt p { font-size: var(--fs-sm); margin-bottom: var(--s-4); }
  .bulk__txt .btn { min-height: 40px; padding: 8px var(--s-5); font-size: var(--fs-md); }
  .bulk__step {
    grid-template-columns: 32px minmax(0,1fr) auto;
    gap: var(--s-2); padding: 8px var(--s-3);
  }
  .bulk__q { width: 32px; height: 32px; font-size: var(--fs-sm); }
  .bulk__l {
    font-size: var(--fs-sm); line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .bulk__p { font-size: var(--fs-2xs); position: relative; top: 6px; }

  /* Two ways to get your order */
  .howto li { padding-left: 40px; margin-bottom: var(--s-4); }
  .howto b { font-size: var(--fs-md); }
  .howto p { font-size: var(--fs-sm); line-height: 1.45; }

  /* Flash offer: same bar, less of it. */
  .flashbar { gap: var(--s-3); padding: var(--s-4); border-width: 3px; }
  .flashbar__msg { font-size: var(--fs-sm); gap: var(--s-2); }
  .flashbar__pc { font-size: 1.7rem; }
  .flashbar .clock__u { min-width: 52px; padding: 6px var(--s-2); }
  .flashbar .clock__n { font-size: var(--fs-lg); }
  .flashbar .clock__l { font-size: 8px; margin-top: 2px; }
  /* --- Footer: same content, far less height ------------------------------
     Smaller logo, smaller type everywhere, and the padding that was built for
     a desktop column taken back out. */
  .footer { margin-top: var(--s-6); }
  .footer__top { padding-block: var(--s-5); }
  .footer__g { gap: var(--s-4) var(--s-4); }
  .footer__logo img { width: 112px; }
  .footer h3 { font-size: 10px; margin-bottom: var(--s-2); }
  .footer li { font-size: var(--fs-sm); margin-bottom: 0; }
  .footer li a { min-height: 26px; }
  .footer__p { font-size: var(--fs-sm); line-height: 1.45; margin-block: var(--s-2); }
  .footer address { font-size: var(--fs-sm); line-height: 1.5; }
  .footer__bot { padding-block: var(--s-3); font-size: var(--fs-xs); gap: var(--s-2) var(--s-4); }
  .footer__bot a { min-height: 24px; }
  .footer__bot nav { gap: var(--s-2) var(--s-3); }
}
