@font-face {
  font-family: "Bannikova";
  src: url("/fonts/BannikovaC.otf") format("opentype");
  /* optional: no mid-load Georgia→Bannikova jump; preload makes it ready early */
  font-display: optional;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0d0d0d;
  --surface-raised: #151515;
  --text: #f4f4f2;
  --muted: #92928d;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .22);
  --accent: #f2efe8;
  --danger: #ff8d8d;
  --radius: 22px;
  --page: calc(100% - 56px);
  --shop-header-h: 88px;
  --type-display: clamp(44px, 5.4vw, 72px);
  --type-section: clamp(28px, 3vw, 40px);
  --type-product: clamp(26px, 2.2vw, 32px);
  --type-body: 16px;
  --type-small: 13px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  /* Reserve scrollbar lane before catalog grows — kills the ~15px layout jump. */
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: var(--type-body)/1.55 Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

body.shop-view-cart .shopFooter,
body.shop-view-config .shopFooter,
body.shop-view-success .shopFooter { display: none; }

button,
input,
select,
textarea { font: inherit; }

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea { font-size: 16px; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

a { color: inherit; }

img { max-width: 100%; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.skipLink {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  transform: translateY(-150%);
}

.skipLink:focus { transform: none; }

.shopHeader {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--shop-header-h);
  padding: 0 28px;
  background: #000;
}

.shopHeaderLeft {
  position: relative;
  width: 36px;
  height: 36px;
}

.shopHeaderLeft > * {
  position: absolute;
  inset: 0;
}

.shopBack {
  display: inline-flex;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text);
  visibility: hidden;
  pointer-events: none;
}

.shopBack:hover { opacity: .65; }
.shopBack:focus,
.shopBack:focus-visible { outline: none; }

.shopBack svg {
  width: 22px;
  height: 22px;
}

body.shop-view-cart .shopBack,
body.shop-view-config .shopBack,
body.shop-view-success .shopBack {
  visibility: visible;
  pointer-events: auto;
}

body.shop-view-cart .passportSwitch,
body.shop-view-config .passportSwitch,
body.shop-view-success .passportSwitch {
  visibility: hidden;
  pointer-events: none;
}

.passportSwitch {
  display: inline-flex;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
}

.passportSwitch:hover { opacity: .65; }

.passportSwitch svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.passportSwitch span { display: none; }

.brand {
  display: inline-flex;
  align-items: center;
  width: 80px;
  filter: brightness(0) invert(1);
}

.headerBrand {
  grid-column: 2;
  justify-self: center;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.headerNav {
  display: flex;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 28px;
}

.headerNav > a {
  color: var(--muted);
  text-decoration: none;
}

.headerNav > a:hover { color: var(--text); }

.cartButton {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 56px;
  height: 36px;
  padding: 0 4px 0 7px;
  border: 0;
  background: transparent;
  color: var(--text);
}

.cartButton:hover { opacity: .65; }

.cartIcon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.cartCount {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #080808;
  font-size: 10px;
  font-weight: 700;
}

.hero {
  display: grid;
  width: var(--page);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 110px) 0 36px;
  align-content: start;
  justify-items: center;
  text-align: center;
}

#catalog { scroll-margin-top: calc(88px + env(safe-area-inset-top)); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow:empty,
.eyebrow[hidden] {
  display: none;
}

.hero h1 {
  max-width: 16ch;
  margin: 0 auto;
  font-family: "Bannikova", Georgia, serif;
  font-size: var(--type-display);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
  white-space: pre-line;
}

.heroText {
  max-width: 42em;
  margin: 18px auto 0;
  color: #b7b7b2;
  font-size: var(--type-body);
  line-height: 1.55;
  white-space: pre-line;
}

.heroDesigns {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: center;
}

.heroDesigns h2 {
  margin: 0 0 10px;
  font-family: "Bannikova", Georgia, serif;
  font-size: var(--type-section);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.heroDesignsText {
  margin: 0;
  color: #b7b7b2;
  font-size: var(--type-body);
  line-height: 1.55;
  white-space: pre-line;
}

.primaryLink,
.primaryButton,
.secondaryButton {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primaryLink {
  width: fit-content;
  min-width: 220px;
  padding: 0 28px;
  background: var(--accent);
  color: #090909;
}

.primaryButton {
  width: 100%;
  padding: 0 22px;
  background: var(--accent);
  color: #090909;
}

.primaryButton:disabled,
.primaryButton.is-muted {
  cursor: pointer;
  opacity: .38;
}

.primaryButton:disabled {
  cursor: not-allowed;
}

.secondaryButton {
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}

.primaryLink:hover,
.primaryButton:hover { background: #fff; }

.secondaryButton:hover { background: rgba(255, 255, 255, .08); }

.catalog {
  padding: 0;
}

.catalog[aria-busy="true"] {
  min-height: min(28vh, 280px);
}

.catalogStatus {
  width: var(--page);
  margin: 0 auto;
  padding: 48px 0;
  color: var(--muted);
  text-align: center;
}

.catalogStatus.isError { color: var(--danger); }

.catalogSection {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) 0 8px;
}

@media (min-width: 900px) {
  .productRail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

.sectionHeading {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 500px);
  gap: 24px;
  margin-bottom: 16px;
  align-items: end;
  text-align: center;
}

.sectionHeading h2 {
  margin: 0;
  text-align: center;
  font-family: "Bannikova", Georgia, serif;
  font-size: var(--type-section);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.sectionHeading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.sectionHeading > p:empty,
.sectionHeading > p[hidden] {
  display: none;
}

.vehicleFilter {
  display: inline-flex;
  gap: 8px;
}

.vehicleFilterBtn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
}

.vehicleFilterBtn.isActive {
  color: var(--text);
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .06);
}

.productRail {
  display: grid;
  gap: 22px;
}

.productCard {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #121212, #090909);
}

.productVisual {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: #111;
}

.productVisual:has(.productCarousel) {
  display: block;
}

.productVisual { aspect-ratio: 1; }

.productVisual img,
.productVisual > .productCarouselVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.productCarousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.productCarouselViewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  height: 100%;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y pinch-zoom;
}

.productCarouselViewport::-webkit-scrollbar { display: none; }

.productCarouselSlide {
  position: relative;
  flex: 0 0 var(--slide-w, 100%);
  width: var(--slide-w, 100%);
  min-width: var(--slide-w, 100%);
  height: 100%;
  scroll-snap-align: start;
  background: #111;
}

.productCarouselSlide img,
.productCarouselVideo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.productCarouselVideo {
  pointer-events: none;
  background: #000;
}

.productCarouselSlide.is-video {
  background: #000;
}

.productCarouselSwipeLayer {
  position: absolute;
  inset: 0;
  z-index: 1;
  touch-action: pan-x pan-y;
}

.productCarouselDots {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: auto;
}

.productCarouselDot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
}

.productCarouselDot.is-active {
  background: rgba(255, 255, 255, .92);
}

.productCard.comingSoonCard .productCarouselViewport {
  pointer-events: auto;
}

.abstractVisual {
  background:
    radial-gradient(circle at 50% 40%, transparent 0 19%, rgba(255, 255, 255, .18) 19.3% 19.8%, transparent 20.1%),
    repeating-radial-gradient(circle at 50% 40%, transparent 0 38px, rgba(255, 255, 255, .035) 39px 40px),
    linear-gradient(140deg, #1a1a1a, #080808);
}

.abstractVisual::after {
  content: "";
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(255, 255, 255, .08);
}

.visualLabel {
  position: relative;
  z-index: 1;
  max-width: 70%;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.productBody {
  display: flex;
  min-height: 0;
  padding: 22px 24px 24px;
  flex: 1;
  flex-direction: column;
}

.productTitle {
  margin: 0 0 10px;
  font-family: "Bannikova", Georgia, serif;
  font-size: var(--type-product);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.productDescription {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.55;
}

.productFooter {
  display: flex;
  gap: 16px;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-size: var(--type-body);
  font-weight: 600;
  white-space: nowrap;
}

.addButton {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #080808;
  font-weight: 700;
}

.addButton:disabled {
  cursor: not-allowed;
  opacity: .4;
}

.offerVehicleBtns {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

.offerVehicleBtn {
  min-width: 84px;
  padding: 0 14px;
}

.productCard.comingSoonCard .productVisual {
  filter: grayscale(1) brightness(0.58);
}

.productCard.comingSoonCard .productTitle {
  opacity: .88;
}

.productCard.comingSoonCard .productDescription {
  opacity: .72;
}

.comingSoonBanner {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  font-family: "Bannikova", Georgia, serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -.03em;
  line-height: 1.05;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .7);
  text-transform: none;
}

.comingSoonBadge {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .78);
  font-family: "Bannikova", Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -.02em;
  line-height: 44px;
  text-transform: none;
  white-space: nowrap;
}


.shopFooter {
  display: grid;
  justify-items: center;
  width: var(--page);
  margin: 0 auto;
  padding: 16px 0 max(24px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.shopFooter p { margin: 0; }

.shopFooter > div {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-direction: column;
  margin-top: 16px;
}

.shopFooter a { text-underline-offset: 3px; }

.shopPage {
  width: min(720px, var(--page));
  margin: 0 auto;
  padding: calc(var(--shop-header-h) + 28px) 0 80px;
}

.shopPageHead {
  margin-bottom: 28px;
}

.shopPageHead h2,
.successPage h2 {
  margin: 0;
  font-family: "Bannikova", Georgia, serif;
  font-size: var(--type-section);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
}

.shopPageHead .eyebrow { margin-bottom: 7px; }

.iconButton {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  place-items: center;
}

.iconButton svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.cartItems {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.cartItem {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.cartItemTop {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.cartItem h3 {
  margin: 0;
  font-size: 15px;
}

.cartMeta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.removeButton {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cartItemBottom {
  display: flex;
  margin-top: 16px;
  align-items: center;
  justify-content: space-between;
}

.quantityControl {
  display: inline-grid;
  grid-template-columns: 36px 36px 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.quantityControl button,
.quantityControl output {
  display: grid;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  place-items: center;
}

.quantityControl button:hover { background: rgba(255, 255, 255, .08); }
.quantityControl .lucide { display: block; }

.cartEmpty {
  padding: 60px 0;
  color: var(--muted);
  text-align: center;
}

.cartEmpty .secondaryButton { margin-top: 12px; }

.checkout {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.checkout h3 { margin: 28px 0 16px; }

.cartTotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.cartTotal strong { font-size: 24px; }

.fieldLabel {
  display: block;
  margin-bottom: 7px;
  color: #c8c8c3;
  font-size: 12px;
  font-weight: 600;
}

.citySuggest {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #111;
}

.citySuggest button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.citySuggest button:hover,
.citySuggest button:focus {
  background: rgba(255, 255, 255, .08);
}

.citySuggest small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.deliveryTypeFilter { margin-top: 2px; }

.deliveryQuote { margin: 18px 0 8px; }

.serverNote {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.field { margin-bottom: 15px; }

.courierDetails {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 15px;
}

.courierDetails .field { margin-bottom: 0; }

.field label {
  display: block;
  margin-bottom: 7px;
  color: #c8c8c3;
  font-size: 12px;
  font-weight: 600;
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: 0;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #fff; }

.consent {
  display: grid;
  margin: 20px 0;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

.formError {
  min-height: 1.4em;
  margin: 0 0 10px;
  color: var(--danger);
  font-size: 12px;
}

.configSummary {
  margin-bottom: 18px;
}

.configSummaryHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.configSummary h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.configSummary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.configPreview {
  margin: 8px 0 20px;
  text-align: center;
}

.configPreviewStage {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
}

.configPreviewViewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #050505;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  overflow-anchor: none;
  touch-action: pan-x pan-y pinch-zoom;
  user-select: none;
}

.configPreviewViewport::-webkit-scrollbar { display: none; }

.configPreviewSlide {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 var(--slide-w, 100%);
  width: var(--slide-w, 100%);
  min-width: var(--slide-w, 100%);
  max-width: var(--slide-w, 100%);
  height: 100%;
  background: #050505;
  pointer-events: none;
  scroll-snap-align: start;
  perspective: 1200px;
}

.configPreviewCoin {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.4, .2, .2, 1);
}

.configPreviewStage.is-flipped .configPreviewCoin {
  transform: rotateY(180deg);
}

.configPreviewFace {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.configPreviewFaceBack {
  transform: rotateY(180deg);
}

.configPreviewFace canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .configPreviewCoin { transition: none; }
}

.configPreviewFlip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.configPreviewFlip[hidden] { display: none; }

.configPreviewFlip svg {
  display: block;
  width: 16px;
  height: 16px;
  transition: transform .45s cubic-bezier(.4, .2, .2, 1);
}

.configPreviewFlip:hover,
.configPreviewFlip:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.configPreviewFlip:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.configPreviewFlip[aria-pressed="true"] {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

.configPreviewFlip[aria-pressed="true"] svg {
  transform: rotateY(180deg);
}

.configPreviewDots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 10px auto 0;
  max-width: min(100%, 420px);
}

.configPreviewDots[hidden] { display: none; }

.configPreviewDot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
}

.configPreviewDot.is-active {
  width: 7px;
  height: 7px;
  background: #fff;
}

.configPreviewDot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.configPreviewMeta {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
  min-height: 1.35em;
}

.plateFields {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr);
  gap: 12px;
}

.plateFields .field { margin-bottom: 15px; }

.successPage .eyebrow { margin-bottom: 12px; }

.successPage > p:not(.eyebrow) { color: var(--muted); }

.successPage .primaryButton { width: fit-content; }

.orderNumber {
  display: block;
  margin: 20px 0;
  font-size: clamp(30px, 8vw, 48px);
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

.successText { margin-bottom: 26px; }

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

@media (max-width: 720px) {
  :root {
    --page: calc(100% - 32px);
    --shop-header-h: calc(max(calc(env(safe-area-inset-top) + 10px), 28px) + 44px);
  }

  .shopHeader {
    height: var(--shop-header-h);
    min-height: var(--shop-header-h);
    padding:
      max(calc(env(safe-area-inset-top) + 10px), 28px)
      16px
      8px;
  }
  .headerBrand { width: 68px; }
  .headerNav { gap: 12px; }
  .headerNav > a { display: none; }

  .hero {
    min-height: 0;
    padding: calc(72px + env(safe-area-inset-top)) 0 24px;
  }

  #catalog { scroll-margin-top: calc(72px + env(safe-area-inset-top)); }

  .hero h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: .95;
  }

  .heroText { margin-top: 16px; }
  .primaryLink { width: 100%; min-width: 0; }

  .catalogSection { padding: 20px 0 4px; }

  .sectionHeading {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-align: center;
  }

  .sectionHeading h2 { text-align: center; }

  .productRail {
    display: grid;
  }

  .productCard {
    min-height: 0;
  }

  .productVisual {
    min-height: 0;
    aspect-ratio: 1;
  }

  .productBody { min-height: 0; padding: 16px; }

  .shopFooter {
    justify-items: center;
    text-align: center;
  }

  .shopFooter > div { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
