:root {
  --ink: #11100d;
  --paper: #f7f1e7;
  --sea: #167194;
  --sun: #f5bf28;
  --white: #fffdfa;
  --product-field: #bad3d3;
}

@font-face {
  font-family: "Yellowtail";
  src: url("./assets/fonts/Yellowtail-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Bello Script";
  src: url("https://db.onlinewebfonts.com/t/d5bfd2106ebb712542d805ed474a3863.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
}

body.lightbox-open {
  overflow: hidden;
}

body.product-meatlab {
  --product-field: #b8cdd3;
}

body.product-heritage {
  --product-field: #e8cd5b;
}

body.product-raptor {
  --product-field: #ffffff;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.product-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: var(--paper);
  box-shadow: 0 1px 0 rgb(17 16 13 / 0.12);
}

.product-header__logo {
  display: block;
  width: clamp(82px, 8vw, 120px);
}

.product-header__logo img {
  width: 100%;
}

.product-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
}

.product-header__nav a,
.product-cart-button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.product-header__nav a:hover,
.product-cart-button:hover {
  opacity: 0.6;
}

.product-cart-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  border-left: 1px solid rgb(17 16 13 / 0.28);
  border-radius: 0;
  padding: 0 0 0 clamp(14px, 2vw, 24px);
  line-height: 1;
}

.product-cart-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid currentColor;
  background: var(--sun);
  font-size: 0.65rem;
  line-height: 1;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
  gap: clamp(34px, 5vw, 86px);
  min-height: 100vh;
  padding: clamp(104px, 10vh, 126px) clamp(18px, 2.5vw, 42px) clamp(28px, 4vw, 58px);
}

.product-gallery {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: clamp(18px, 2vw, 30px);
}

.product-template .product-info {
  align-self: start;
}

.product-template .product-page {
  row-gap: 18px;
}

.product-back-link--top {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
}

@media (min-width: 961px) {
  .product-template .product-page {
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.72fr);
    gap: clamp(30px, 4vw, 64px);
  }

  .product-template .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 22px);
  }

  .product-template .product-gallery--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-template .product-info {
    position: sticky;
    top: 104px;
  }
}

.product-visual {
  position: relative;
  display: grid;
  min-height: calc(100vh - clamp(132px, 14vh, 172px));
  place-items: center;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 16px;
  background: var(--product-field);
  padding: clamp(42px, 7vw, 110px);
}

.product-visual__flag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  border: 1px solid var(--ink);
  padding: 8px 10px;
  background: var(--sun);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-heritage .product-visual__flag {
  background: var(--sea);
  color: white;
}

.product-template .product-visual {
  background: #f0eee1;
  border: 0;
  border-radius: 0;
  min-height: 0;
  aspect-ratio: auto;
  grid-template-rows: auto auto;
  place-items: stretch;
  padding: 0;
}

.product-template .product-visual img {
  width: 100%;
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  filter: none;
}

.product-raptor .product-visual img {
  background: #ffffff;
  object-fit: contain;
}

.product-template .product-visual__caption {
  position: static;
  margin: 0;
  border-top: 1px solid rgb(17 16 13 / 0.5);
  padding: 11px 2px 2px;
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgb(17 16 13 / 0.16));
  opacity: 0;
  transform: translate(var(--image-x, 0), calc(28px + var(--image-y, 0))) scale(0.96);
  transition: opacity 650ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.is-ready .product-visual img {
  opacity: 1;
  transform: translate(var(--image-x, 0), var(--image-y, 0)) scale(1);
}

.product-gallery__item {
  margin: 0;
  background: #f2eee4;
}

.product-gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-gallery img {
  cursor: zoom-in;
}

.product-gallery img:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: -3px;
}

.product-gallery__item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgb(17 16 13 / 0.5);
  padding: 11px 2px 2px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: clamp(58px, 7vw, 88px) clamp(52px, 8vw, 120px) clamp(28px, 4vw, 52px);
  background: rgb(12 12 11 / 0.98);
  color: white;
}

.product-lightbox--single[open] {
  grid-template-columns: minmax(0, 1fr);
}

.product-lightbox button[hidden] {
  display: none;
}

.product-lightbox[open] {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.product-lightbox::backdrop {
  background: rgb(0 0 0 / 0.88);
}

.product-lightbox figure {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}

.product-lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.product-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-lightbox button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.product-lightbox button:hover,
.product-lightbox button:focus-visible {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--ink);
}

.product-lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
}

.product-visual__caption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: 20px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info {
  align-self: center;
  max-width: 660px;
  padding: clamp(8px, 2vw, 28px) 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms 140ms ease, transform 650ms 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-ready .product-info {
  opacity: 1;
  transform: translateY(0);
}

.product-kicker,
.product-options legend,
.product-specs dt,
.product-specs dd {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-kicker {
  margin: 0 0 clamp(26px, 4vw, 56px);
  color: var(--sea);
  font-weight: 800;
}

.product-template .product-kicker {
  margin-bottom: 20px;
}

.product-template .product-title {
  max-width: none;
  font-family: "Bello Script", "Yellowtail", "Brush Script MT", cursive;
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1;
  text-rendering: optimizeLegibility;
  text-transform: none;
}

.product-template .product-price {
  margin-top: clamp(22px, 3vw, 36px);
}

.product-color {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgb(17 16 13 / 0.24);
  padding: 18px 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-color strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-align: right;
}

.product-color i {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid rgb(17 16 13 / 0.24);
  border-radius: 50%;
  background: #f0eee1;
}

.product-heritage .product-color i {
  background: #cbdcf0;
}

.product-meatlab .product-color i {
  background: #111827;
}

.product-raptor .product-color i {
  background: linear-gradient(90deg, #f2ede4 0 50%, #0c294d 50% 100%);
}

.product-title {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(4rem, 7.3vw, 8.2rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: clamp(28px, 4vw, 54px) 0 0;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 13px;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 800;
}

.product-price span {
  color: rgb(17 16 13 / 0.55);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-copy {
  max-width: 40ch;
  margin: 22px 0 0;
  color: rgb(17 16 13 / 0.68);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.45;
}

.preorder-notice {
  margin-top: 24px;
  border: 1px solid var(--ink);
  border-left: 6px solid var(--sun);
  padding: 15px 16px;
  background: var(--white);
}

.preorder-notice strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preorder-notice p {
  margin: 7px 0 0;
  color: rgb(17 16 13 / 0.7);
  font-size: 0.9rem;
  line-height: 1.45;
}

.product-accordions {
  margin-top: 20px;
  border-top: 1px solid var(--ink);
}

.product-accordions details {
  border-bottom: 1px solid rgb(17 16 13 / 0.3);
}

.product-accordions summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.product-accordions summary::-webkit-details-marker {
  display: none;
}

.product-accordions summary::after {
  content: "+";
  font-size: 1rem;
}

.product-accordions details[open] summary::after {
  content: "-";
}

.product-accordions p,
.product-accordions ul {
  margin: 0;
  padding: 0 0 18px;
  color: rgb(17 16 13 / 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-accordions ul {
  padding-left: 18px;
}

.product-options {
  margin: 30px 0 20px;
  border: 0;
  padding: 0;
}

.product-options legend {
  margin-bottom: 11px;
  font-weight: 800;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-options label {
  cursor: pointer;
}

.size-options input {
  position: absolute;
  opacity: 0;
}

.size-options span {
  display: grid;
  min-width: 48px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  padding: 0 14px;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 150ms ease, color 150ms ease;
}

.size-options input:checked + span {
  background: var(--ink);
  color: white;
}

.size-options input:focus-visible + span {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
}

.size-finder-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
  border: 1px solid var(--sea);
  padding: 13px 16px;
  background: transparent;
  color: var(--sea);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.size-finder-trigger > span:first-child {
  display: grid;
  gap: 2px;
}

.size-finder-trigger small {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.size-finder-trigger > span:last-child {
  font-size: 1.2rem;
  transition: transform 160ms ease;
}

.size-finder-trigger:hover,
.size-finder-trigger:focus-visible {
  background: var(--sea);
  color: white;
}

.size-finder-trigger:hover > span:last-child,
.size-finder-trigger:focus-visible > span:last-child {
  transform: translateX(4px);
}

.size-finder {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}

.size-finder::backdrop {
  background: rgb(17 16 13 / 0.58);
}

.size-finder__panel {
  padding: clamp(22px, 4vw, 38px);
}

.size-finder__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 18px;
}

.size-finder__eyebrow,
.size-finder__measurements label > span,
.size-finder__fit legend {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-finder__eyebrow {
  color: var(--sea);
}

.size-finder__header h2 {
  margin: 4px 0 0;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 7vw, 3.3rem);
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.size-finder__close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.size-finder__intro {
  max-width: 48ch;
  margin: 18px 0;
  color: rgb(17 16 13 / 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.size-finder__units,
.size-finder__fit > div {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

.size-finder__units {
  margin-bottom: 20px;
}

.size-finder__units button {
  border: 1px solid var(--ink);
  padding: 10px 12px;
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.size-finder__units button + button {
  border-left: 0;
}

.size-finder__units button.is-active {
  background: var(--ink);
  color: white;
}

.size-finder__measurements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.size-finder__measurements label {
  display: grid;
  gap: 7px;
}

.size-finder__measurements small {
  color: rgb(17 16 13 / 0.5);
  font: inherit;
}

.size-finder__measurements input {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 13px 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
}

.size-finder__fit {
  margin: 22px 0 0;
  border: 0;
  padding: 0;
}

.size-finder__fit legend {
  margin-bottom: 8px;
}

.size-finder__fit label {
  position: relative;
}

.size-finder__fit input {
  position: absolute;
  opacity: 0;
}

.size-finder__fit span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.size-finder__fit label + label span {
  border-left: 0;
}

.size-finder__fit input:checked + span {
  background: var(--sea);
  color: white;
}

.size-finder__fit input:focus-visible + span {
  outline: 2px solid var(--sea);
  outline-offset: 2px;
}

.size-finder__footer {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.size-finder__footer p {
  margin: 0 0 10px;
  color: rgb(17 16 13 / 0.58);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.size-finder__submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  padding: 15px 16px;
  background: var(--ink);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.size-finder__submit:disabled {
  cursor: default;
  opacity: 0.5;
}

.size-finder__submit span {
  color: var(--sun);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
}

.product-add-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  padding: 17px 20px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.product-add-button:hover,
.product-add-button:focus-visible {
  background: var(--sun);
  color: var(--ink);
}

.product-add-button:disabled {
  background: var(--ink);
  color: white;
  cursor: default;
  opacity: 0.48;
}

.product-specs {
  margin: 28px 0 0;
  border-top: 1px solid var(--ink);
}

.product-specs div {
  display: grid;
  grid-template-columns: minmax(100px, 0.4fr) minmax(0, 0.6fr);
  gap: 18px;
  border-bottom: 1px solid rgb(17 16 13 / 0.24);
  padding: 12px 0;
}

.product-specs dt,
.product-specs dd {
  margin: 0;
}

.product-specs dd {
  text-align: right;
}

.product-back-link {
  display: inline-block;
  margin-top: 24px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-back-link:hover {
  color: var(--sea);
}

.mini-cart,
.mini-cart-backdrop {
  position: fixed;
  z-index: 20;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
}

.mini-cart {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  padding: 28px;
  border-left: 1px solid var(--ink);
  background: var(--paper);
  transform: translateX(100%);
}

.mini-cart.is-open,
.mini-cart-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.mini-cart.is-open {
  transform: translateX(0);
}

.mini-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(17 16 13 / 0.16);
  padding-bottom: 16px;
}

.mini-cart__header h2 {
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.mini-cart__close {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 1.8rem;
}

.mini-cart__status {
  color: rgb(17 16 13 / 0.65);
  line-height: 1.5;
}

.mini-cart__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 20px;
  border-bottom: 1px solid rgb(17 16 13 / 0.18);
  padding-bottom: 18px;
}

.mini-cart__item[hidden],
.mini-cart__preorder[hidden] {
  display: none;
}

.mini-cart__item img {
  width: 92px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgb(17 16 13 / 0.2);
}

.mini-cart__item div,
.mini-cart__item span {
  display: block;
}

.mini-cart__product-name {
  margin-bottom: 7px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.mini-cart__product-size,
.mini-cart__product-price {
  color: rgb(17 16 13 / 0.64);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.6;
}

.mini-cart__preorder {
  margin-top: 20px;
}

.mini-cart__preorder > p {
  color: rgb(17 16 13 / 0.7);
  font-size: 0.86rem;
  line-height: 1.45;
}

.preorder-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 18px 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.preorder-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}

.mini-cart__checkout {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgb(17 16 13 / 0.18);
  color: rgb(17 16 13 / 0.48);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: not-allowed;
}

.mini-cart__checkout.is-ready {
  background: var(--ink);
  color: white;
  cursor: pointer;
}

.mini-cart__checkout-note {
  margin: 10px 0 0;
  color: #9d3212;
  font-size: 0.72rem;
  line-height: 1.4;
}

.mini-cart-backdrop {
  inset: 0;
  background: rgb(0 0 0 / 0.32);
}

@media (max-width: 960px) {
  .product-page {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .product-visual {
    min-height: 68vh;
  }

  .product-template .product-visual {
    padding: 0;
  }

  .product-template .product-gallery {
    display: flex;
    margin-right: -18px;
    margin-left: -18px;
    padding: 0 18px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .product-template .product-gallery::-webkit-scrollbar {
    display: none;
  }

  .product-template .product-gallery > * {
    flex: 0 0 min(82vw, 560px);
    scroll-snap-align: start;
  }

  .product-template .product-gallery--single > * {
    flex-basis: 100%;
  }

  .product-gallery__item figcaption {
    font-size: 0.55rem;
  }

  .product-visual img {
    max-height: 60vh;
  }

  .product-info {
    width: min(100%, 720px);
    max-width: none;
    padding: 12px 6px 48px;
  }

  .product-title {
    max-width: 10ch;
    font-size: clamp(4rem, 13vw, 8rem);
  }

  .product-template .product-title {
    font-size: 3.75rem;
  }
}

@media (max-width: 620px) {
  .product-header {
    padding: 15px 14px;
  }

  .product-header__logo {
    width: 70px;
  }

  .product-header__nav {
    gap: 10px;
  }

  .product-header__nav a,
  .product-cart-button {
    font-size: 0.58rem;
  }

  .product-header__nav a:nth-child(1),
  .product-header__nav a:nth-child(3) {
    display: none;
  }

  .product-page {
    gap: 30px;
    padding: 86px 12px 32px;
  }

  .product-template .product-title {
    font-size: 3.1rem;
  }

  .product-lightbox {
    padding: 64px 12px 20px;
  }

  .product-lightbox[open] {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 5px;
  }

  .product-lightbox button {
    width: 36px;
    height: 36px;
  }

  .product-lightbox__close {
    top: 14px;
    right: 14px;
  }

  .product-visual {
    min-height: 62vh;
    border-width: 3px;
    border-radius: 12px;
    padding: 42px 16px 58px;
  }

  .product-visual img {
    width: 100%;
    max-height: 52vh;
  }

  .product-visual__caption {
    right: 14px;
    bottom: 12px;
    left: 14px;
    font-size: 0.55rem;
  }

  .product-template .product-visual__caption {
    padding: 11px 2px 2px;
  }

  .product-info {
    padding: 4px 8px 36px;
  }

  .product-kicker {
    margin-bottom: 26px;
  }

  .product-title {
    font-size: clamp(3.4rem, 18vw, 5.5rem);
  }

  .product-specs div {
    grid-template-columns: 0.42fr 0.58fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-visual img,
  .product-info {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
