/* =========================================================
   Jersey JOSS — matched to "Website jerseyJoss.pdf"

   Layout model
   - The PDF artboard is 1366pt wide. Every block keeps the PDF's geometry:
     1 PDF point = 1 --u, and --u scales with the page width (capped at 1920px).
   - Blocks have a fixed height (--bh) and their children are absolutely
     placed with --x/--y (and --w/--h when sized), straight from the PDF.
   - Below 761px the canvas model hands over to a normal stacked layout.
   ========================================================= */

@property --x { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --y { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --w { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --h { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --bh { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  --u: calc(100cqw / 1366);

  --black: #000;
  --band: #141414;
  --ink: #231f20;
  --white: #fff;
  --purple: #642d90;
  --violet: #775ba6;
  --magenta: #b05aa2;
  --pink: #eb287b;
  --badge: #ec174f;
  --menu: #0d1e3c;
  --menu-hover: #134184;
  --skip: #ff0000;

  --font-nav: "Archivo", "Arial Narrow", sans-serif;
  --font-display: "Urbanist", "Century Gothic", sans-serif;
  --font-copy: "Source Sans 3", "Myriad Pro", "Segoe UI", sans-serif;
  --font-body: "Barlow", "Acumin Pro", "Segoe UI", sans-serif;
  --font-strong: "Archivo", "Arial", sans-serif;
  --font-impact: Impact, "Anton", "Arial Narrow", sans-serif;
  --font-ui: Calibri, "Carlito", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-copy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Canvas primitives ---------- */
.site {
  position: relative;
  max-width: 1920px;
  margin-inline: auto;
  container-type: inline-size;
  overflow-x: clip;
}

.block {
  position: relative;
  height: calc(var(--bh) * var(--u));
}

.abs {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
}

.sized {
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
}

img.sized {
  object-fit: cover;
}

/* Copy keeps the PDF's exact line breaks on the canvas. */
.ln {
  display: block;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 100;
  height: calc(135 * var(--u));
  background: var(--black);
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}

.header-inner {
  position: relative;
  height: 100%;
}

.brand {
  position: absolute;
  left: calc(158 * var(--u));
  top: calc(2 * var(--u));
  width: calc(218 * var(--u));
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-main {
  position: absolute;
  left: calc(568 * var(--u));
  top: calc(37 * var(--u));
  display: grid;
  grid-template-columns:
    calc(174 * var(--u))
    calc(189 * var(--u))
    calc(135 * var(--u))
    calc(125 * var(--u));
  font-family: var(--font-nav);
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-block;
  font-size: calc(26.4 * var(--u));
  line-height: calc(34 * var(--u));
  font-weight: 500;
  font-stretch: 76%;
  white-space: nowrap;
}

.nav-item.categories > .nav-link {
  width: calc(156 * var(--u));
  height: calc(35.5 * var(--u));
  padding-left: calc(11 * var(--u));
  border: 1px solid transparent;
  border-bottom: 0;
}

.nav-item.categories:hover > .nav-link,
.nav-item.categories:focus-within > .nav-link {
  border-color: var(--white);
}

.goat-label {
  position: relative;
  display: inline-block;
  letter-spacing: -0.04em;
}

.star {
  position: absolute;
  fill: var(--white);
}

.star--top {
  left: 100%;
  top: calc(-1 * var(--u));
  width: calc(9 * var(--u));
  height: calc(12 * var(--u));
}

.star--bottom {
  left: calc(-8 * var(--u));
  top: calc(25 * var(--u));
  width: calc(12 * var(--u));
  height: calc(9 * var(--u));
}

.dropdown,
.submenu {
  position: absolute;
  background: var(--menu);
  border: 1px solid var(--white);
  font-family: var(--font-ui);
  font-size: calc(18 * var(--u));
  line-height: calc(24 * var(--u));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.dropdown {
  left: 0;
  top: calc(35.5 * var(--u));
  z-index: 50;
  width: calc(156 * var(--u));
  padding: calc(3 * var(--u)) 0 calc(9 * var(--u));
  border-radius: 0 0 calc(5.7 * var(--u)) calc(5.7 * var(--u));
}

.dropdown > li + li {
  margin-top: calc(4 * var(--u));
}

.dropdown > li > a {
  position: relative;
  display: block;
  height: calc(27 * var(--u));
  padding: calc(2.5 * var(--u)) 0 0 calc(11 * var(--u));
  line-height: calc(18 * var(--u));
  white-space: nowrap;
}

.submenu-arrow {
  position: absolute;
  left: calc(140 * var(--u));
  top: 50%;
  width: calc(9 * var(--u));
  height: calc(14 * var(--u));
  transform: translateY(-50%);
  fill: var(--menu);
  stroke: var(--white);
  stroke-width: 0.5;
}

.submenu {
  left: calc(155 * var(--u));
  top: calc(34 * var(--u));
  width: calc(115.4 * var(--u));
  padding: calc(2 * var(--u)) 0 calc(8 * var(--u));
  border-radius: 0 0 calc(5.3 * var(--u)) calc(5.3 * var(--u));
}

.submenu li + li {
  margin-top: calc(2.7 * var(--u));
}

.submenu a {
  display: block;
  height: calc(21.3 * var(--u));
  padding-left: calc(10 * var(--u));
  line-height: calc(18 * var(--u));
  white-space: nowrap;
}

.dropdown a:hover,
.dropdown a:focus-visible,
.dropdown > li:hover > a {
  background: var(--menu-hover);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.55);
}

.submenu a:hover,
.submenu a:focus-visible {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
}

.nav-item.categories:hover > .dropdown,
.nav-item.categories:focus-within > .dropdown,
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
}

.cart-btn {
  position: absolute;
  left: calc(1191 * var(--u));
  top: calc(37 * var(--u));
  width: calc(37 * var(--u));
  height: calc(37 * var(--u));
}

.cart-btn img {
  width: 100%;
  height: 100%;
}

.cart-badge {
  position: absolute;
  left: calc(23 * var(--u));
  top: calc(-5.5 * var(--u));
  display: grid;
  place-items: center;
  width: calc(16.2 * var(--u));
  height: calc(16.2 * var(--u));
  border-radius: 50%;
  background: var(--badge);
  font-family: var(--font-nav);
  font-weight: 550;
  font-stretch: 75%;
  font-size: calc(12.7 * var(--u));
  line-height: 1;
}

.cart-btn.bump .cart-badge {
  animation: bump 0.35s ease;
}

@keyframes bump {
  50% { transform: scale(1.35); }
}

.menu-toggle {
  display: none;
}

/* ---------- Shared typography ---------- */
.t-league {
  font-family: var(--font-nav);
  font-weight: 550;
  font-stretch: 70.5%;
  font-size: calc(57.9 * var(--u));
  line-height: calc(75 * var(--u));
  white-space: nowrap;
}

.t-copy {
  font-family: var(--font-copy);
  font-size: calc(38 * var(--u));
  line-height: calc(45.6 * var(--u));
}

.t-display {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: calc(62.6 * var(--u));
  line-height: calc(73 * var(--u));
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.title-block .t-display {
  letter-spacing: 0.031em;
}

.t-display small {
  margin-left: 0.05em;
  font-size: calc(34 * var(--u));
  letter-spacing: 0.01em;
}

.t-story {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: calc(36.6 * var(--u));
  line-height: calc(46.33 * var(--u));
  letter-spacing: -0.005em;
}

.t-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: calc(28 * var(--u));
  line-height: calc(48 * var(--u));
  letter-spacing: -0.005em;
}

.t-strong {
  font-family: var(--font-strong);
  font-weight: 700;
  font-stretch: 99%;
  font-size: calc(28 * var(--u));
  line-height: calc(37 * var(--u));
  white-space: nowrap;
}

/* ---------- Hero / banner ---------- */
.hero-art,
.banner-art,
.ad-art,
.product-hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- League rows ---------- */
.row--band {
  background: linear-gradient(var(--band), var(--band)) top / 100% calc(360 * var(--u)) no-repeat;
}

.row__tile {
  width: calc(361 * var(--u));
  height: calc(335 * var(--u));
  transition: transform 0.2s ease;
}

.row__tile img {
  width: 100%;
  height: 100%;
}

.row__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: calc(4 * var(--u)) solid var(--white);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.row__tile:hover::after,
.row__tile:focus-visible::after {
  opacity: 1;
}

.row__tile--active::after {
  display: none;
}

/* ---------- Ad ---------- */
.ad__link {
  display: block;
}

.skip-ad {
  width: calc(119.7 * var(--u));
  height: calc(30.2 * var(--u));
  border-radius: 0 0 calc(15 * var(--u)) calc(15 * var(--u));
  background: var(--white);
  color: var(--skip);
  font-family: var(--font-ui);
  font-size: calc(22.5 * var(--u));
  line-height: calc(30.2 * var(--u));
  text-align: center;
}

.skip-ad:hover {
  background: #f1f1f1;
}

/* ---------- "ARE YOU" call-out ---------- */
.dare__title {
  display: flex;
  justify-content: space-between;
  width: calc(478 * var(--u));
  font-family: var(--font-impact);
  font-weight: 400;
  font-size: calc(112.2 * var(--u));
  line-height: calc(168 * var(--u));
  color: var(--magenta);
}

.dare__question {
  font-family: var(--font-impact);
  font-size: calc(59.9 * var(--u));
  line-height: calc(90 * var(--u));
  color: var(--magenta);
  white-space: nowrap;
}

.pill {
  display: grid;
  place-items: center;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.pill:hover {
  transform: translateY(calc(-2 * var(--u)));
  filter: brightness(1.12);
}

.pill--impact {
  font-family: var(--font-impact);
  font-size: calc(24.8 * var(--u));
  line-height: 1;
}

.pill--no {
  background: #161616;
  border: 1px solid var(--white);
}

.pill--dare {
  background: linear-gradient(to right, #642d90 25%, #742a8f 50%, #ae2787 75%, #eb287b 100%);
  border: 1px solid var(--white);
}

.pill--copy {
  font-family: var(--font-copy);
  font-size: calc(26.9 * var(--u));
  line-height: 1;
}

.pill--dark {
  background: var(--black);
  border: calc(2 * var(--u)) solid var(--white);
  color: var(--white);
}

.pill--light {
  background: var(--white);
  border: calc(2 * var(--u)) solid var(--black);
  color: var(--black);
}

/* ---------- Carousel ---------- */
.carousel {
  background: linear-gradient(var(--band), var(--band)) top / 100% calc(566 * var(--u)) no-repeat;
}

.rail {
  position: absolute;
  inset: 0 0 auto;
  height: calc(566 * var(--u));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail-track {
  display: flex;
  gap: calc(59 * var(--u));
  width: max-content;
  padding: calc(27 * var(--u)) calc(54 * var(--u));
}

.card {
  position: relative;
  flex: none;
  width: calc(510 * var(--u));
  height: calc(510 * var(--u));
  scroll-snap-align: start;
  scroll-margin-left: calc(54 * var(--u));
}

.card::before {
  content: "";
  position: absolute;
  inset: calc(-8.5 * var(--u));
  background: linear-gradient(to top right, #642d90 25%, #742a8f 50%, #ae2787 75%, #eb287b 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card img {
  position: relative;
  width: 100%;
  height: 100%;
}

.card__actions {
  position: absolute;
  left: calc(177.1 * var(--u));
  top: calc(388.5 * var(--u));
  display: grid;
  gap: calc(11.9 * var(--u));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.card__actions .pill {
  width: calc(164.7 * var(--u));
  height: calc(42 * var(--u));
}

.card.is-active::before,
.card.is-active .card__actions {
  opacity: 1;
  visibility: visible;
}

.round-btn {
  display: grid;
  place-items: center;
  width: calc(81.6 * var(--u));
  height: calc(81.6 * var(--u));
  border: calc(3 * var(--u)) solid var(--white);
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.round-btn svg {
  width: calc(26 * var(--u));
  height: calc(41 * var(--u));
  fill: none;
  stroke: var(--white);
  stroke-width: 5;
}

.round-btn:hover {
  background: #3a3536;
  transform: scale(1.05);
}

/* ---------- Product ---------- */
.story {
  background: var(--band);
}

.story p + p {
  margin-top: calc(46.33 * var(--u));
}

.size-picker {
  display: flex;
  gap: calc(16.5 * var(--u));
  border: 0;
}

.size-btn {
  width: calc(85.6 * var(--u));
  height: calc(47.5 * var(--u));
  border: calc(2 * var(--u)) solid var(--ink);
  background: var(--white);
  color: var(--black);
  font-family: var(--font-strong);
  font-weight: 700;
  font-stretch: 98%;
  font-size: calc(28 * var(--u));
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.size-btn:hover {
  background: #e9e9e9;
}

.size-btn[aria-pressed="true"] {
  background: var(--magenta);
  color: var(--white);
}

.qty {
  display: grid;
  grid-template-columns: calc(31 * var(--u)) 1fr calc(38.7 * var(--u));
  align-items: center;
  width: calc(184.7 * var(--u));
  height: calc(47.5 * var(--u));
  border: calc(2 * var(--u)) solid var(--ink);
  background: var(--white);
  color: var(--black);
}

.qty button {
  height: 100%;
  color: var(--black);
  font-family: var(--font-copy);
  font-size: calc(28 * var(--u));
  line-height: 1;
}

.qty output {
  text-align: center;
  font-family: var(--font-strong);
  font-weight: 700;
  font-size: calc(28 * var(--u));
}

.add-to-cart {
  width: calc(160.4 * var(--u));
  height: calc(50.1 * var(--u));
  border: calc(2 * var(--u)) solid var(--white);
  border-radius: calc(8 * var(--u));
  background: var(--black);
  font-family: var(--font-strong);
  font-weight: 700;
  font-stretch: 98%;
  font-size: calc(24 * var(--u));
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.add-to-cart:hover {
  background: var(--white);
  color: var(--black);
}

.buy-now {
  width: calc(180 * var(--u));
  height: calc(45.8 * var(--u));
  font-size: calc(29.4 * var(--u));
}

.care-list li::before {
  content: "* ";
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
}

.footer-bg {
  width: 100%;
  height: calc(257 * var(--u));
  object-fit: cover;
}

.footer-links {
  font-family: var(--font-ui);
  font-size: calc(16.7 * var(--u));
  line-height: calc(22.5 * var(--u));
}

.footer-links a:hover,
.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: calc(35.9 * var(--u));
  line-height: calc(39 * var(--u));
  white-space: nowrap;
}

/* =========================================================
   Phones: stacked layout
   ========================================================= */
@media (max-width: 760px) {
  .ln {
    display: inline;
    white-space: normal;
  }

  .block.flow {
    height: auto;
  }

  .flow > .abs,
  .flow .abs.flow-item {
    position: static;
  }

  /* Header */
  .site-header,
  .site-header--overlay {
    position: relative;
    height: auto;
    background: var(--black);
  }

  .header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 72px;
    padding-inline: 16px;
  }

  .brand {
    position: static;
    width: 104px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgb(255 255 255 / 0.4);
    border-radius: 4px;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .cart-btn {
    position: relative;
    left: auto;
    top: auto;
    flex: none;
    width: 37px;
    height: 37px;
  }

  .cart-badge {
    left: 23px;
    top: -6px;
    width: 17px;
    height: 17px;
    font-size: 12.7px;
  }

  .nav-main {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    background: var(--menu);
    border-block: 1px solid var(--white);
  }

  .nav-main.open {
    display: grid;
  }

  .nav-item + .nav-item {
    border-top: 1px solid rgb(255 255 255 / 0.15);
  }

  .nav-link,
  .nav-item.categories > .nav-link {
    display: block;
    width: auto;
    height: auto;
    padding: 12px 20px;
    border: 0;
    font-size: 20px;
    line-height: 1.3;
  }

  .star--top { top: -2px; width: 9px; height: 12px; }
  .star--bottom { left: -8px; top: 17px; width: 12px; height: 9px; }

  .dropdown,
  .submenu {
    position: static;
    display: none;
    width: auto;
    padding: 0;
    border: 0;
    font-size: 17px;
    line-height: 1.4;
    opacity: 1;
    visibility: visible;
    background: #081428;
  }

  .dropdown.open,
  .submenu.open {
    display: block;
  }

  .dropdown > li + li,
  .submenu li + li {
    margin-top: 0;
  }

  .dropdown > li > a,
  .submenu a {
    height: auto;
    padding: 10px 20px 10px 32px;
  }

  .submenu a {
    padding-left: 48px;
  }

  .submenu-arrow {
    left: auto;
    right: 20px;
    width: 9px;
    height: 14px;
  }

  .has-submenu.expanded .submenu-arrow {
    transform: translateY(-50%) rotate(90deg);
  }

  /* Hero art keeps its proportions */
  .hero,
  .product-hero {
    height: auto;
    aspect-ratio: 1366 / 691;
  }

  /* League rows */
  .row {
    padding: 28px 20px 8px;
  }

  .row--band {
    background: var(--band);
    padding-bottom: 28px;
  }

  .row__tile {
    position: relative;
    display: block;
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 361 / 335;
  }

  .row__tile::after {
    border-width: 4px;
  }

  .row__title.t-league {
    margin-top: 16px;
    font-size: 34px;
    line-height: 1.2;
    white-space: normal;
  }

  .row__text.t-copy {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.45;
  }

  /* Ad */
  .ad {
    height: auto;
    padding-bottom: 48px;
  }

  .ad__link {
    position: relative;
    top: auto;
    aspect-ratio: 1366 / 232;
  }

  .ad__link img {
    width: 100%;
    height: 100%;
  }

  .skip-ad {
    left: auto;
    right: 16px;
    top: auto;
    width: 92px;
    height: 28px;
    border-radius: 0 0 12px 12px;
    font-size: 16px;
    line-height: 28px;
  }

  .ad .skip-ad {
    top: calc(100cqw * 232 / 1366);
  }

  /* "ARE YOU" keeps its composition, buttons move into the flow */
  .dare {
    height: auto;
    padding-top: calc(803 * var(--u));
    padding-bottom: 36px;
  }

  .dare__actions {
    position: static;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 12px;
  }

  .dare__actions .pill {
    position: static;
    width: 132px;
    height: 44px;
    font-size: 20px;
  }

  .pill--dare {
    border-width: 1px;
  }

  /* Carousel */
  .carousel {
    height: auto;
    padding: 24px 0;
    background: var(--band);
  }

  .rail {
    position: relative;
    height: auto;
  }

  .rail-track {
    gap: 16px;
    padding: 10px 20px;
  }

  .card {
    width: min(78vw, 360px);
    height: auto;
    aspect-ratio: 1;
    scroll-margin-left: 20px;
  }

  .card::before {
    inset: -6px;
  }

  .card__actions {
    left: 50%;
    top: auto;
    bottom: 14px;
    gap: 8px;
    transform: translateX(-50%);
    opacity: 1;
    visibility: visible;
  }

  .card__actions .pill {
    width: 140px;
    height: 36px;
    font-size: 17px;
  }

  .pill--dark,
  .pill--light {
    border-width: 2px;
  }

  .round-btn {
    width: 44px;
    height: 44px;
    border-width: 2px;
  }

  .round-btn svg {
    width: 14px;
    height: 22px;
  }

  .carousel .rail-next {
    left: auto;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .product-hero .round-btn {
    top: 50%;
    transform: translateY(-50%);
  }

  .product-hero .rail-prev { left: 10px; }
  .product-hero .rail-next { left: auto; right: 10px; }

  .buy-now {
    left: calc(700 * var(--u));
    top: auto;
    bottom: 10px;
    width: 120px;
    height: 34px;
    font-size: 17px;
    transform: translateX(-50%);
  }

  /* Product */
  .title-block {
    padding: 22px 20px 18px;
  }

  .title-block h1.t-display {
    font-size: 26px;
    line-height: 1.25;
    white-space: normal;
  }

  .title-block h1 small {
    display: inline-block;
    font-size: 15px;
  }

  .story {
    padding: 22px 20px;
  }

  .story .t-story {
    font-size: 17px;
    line-height: 1.6;
  }

  .story p + p {
    margin-top: 1em;
  }

  .purchase,
  .details {
    padding: 24px 20px 8px;
  }

  .purchase .t-display {
    font-size: 26px;
    line-height: 1.3;
  }

  .size-picker {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
  }

  .size-btn {
    width: 58px;
    height: 40px;
    border-width: 2px;
    font-size: 17px;
  }

  .buy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
  }

  .qty {
    grid-template-columns: 36px 1fr 36px;
    width: 140px;
    height: 42px;
    border-width: 2px;
  }

  .qty button,
  .qty output {
    font-size: 19px;
  }

  .add-to-cart {
    width: 140px;
    height: 42px;
    border-width: 2px;
    border-radius: 8px;
    font-size: 17px;
  }

  .purchase .t-strong,
  .details .t-strong {
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.4;
    white-space: normal;
  }

  .purchase .t-body,
  .details .t-body {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.7;
  }

  .details .t-strong:first-child {
    margin-top: 0;
  }

  .details .care-list {
    margin-top: 14px;
  }

  /* Footer */
  .site-footer {
    height: auto;
    padding: 28px 20px 32px;
    background: url("../assets/footer-bg.webp") center / cover no-repeat, var(--black);
  }

  .footer-bg {
    display: none;
  }

  .footer-mark {
    width: 52px;
    margin-bottom: 14px;
  }

  .footer-links {
    font-size: 15px;
    line-height: 1.6;
  }

  .footer-contact {
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.5;
    white-space: normal;
  }
}

@media (min-width: 761px) {
  .footer-mark {
    display: none;
  }

  /* Baseline compensation: HTML carries raw PDF text boxes, these offsets
     absorb the vertical-metric differences of the substitute fonts. */
  .t-copy,
  .dare__question {
    translate: 0 calc(2 * var(--u));
  }

  .footer-contact {
    translate: 0 calc(6 * var(--u));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
