:root {
  color-scheme: light;
  --bg: oklch(0.965 0.025 188);
  --bg-pale: oklch(0.985 0.012 188);
  --surface: oklch(0.925 0.045 188);
  --surface-strong: oklch(0.855 0.078 188);
  --ink: oklch(0.105 0.038 188);
  --ink-soft: oklch(0.255 0.06 188);
  --muted: oklch(0.395 0.055 188);
  --primary: oklch(0.72 0.1 188);
  --primary-strong: oklch(0.42 0.14 188);
  --primary-dark: oklch(0.19 0.08 188);
  --primary-black: oklch(0.07 0.025 188);
  --line: oklch(0.28 0.065 188);
  --line-soft: oklch(0.78 0.055 188);
  --white: oklch(0.99 0.005 188);
  --danger: oklch(0.38 0.16 28);
  --danger-bg: oklch(0.96 0.035 28);
  --focus: oklch(0.55 0.18 188);
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-hard: 8px 8px 0 oklch(0.1 0.04 188);
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-body: "Red Hat Text", "Segoe UI", sans-serif;
  --z-sticky: 30;
  --z-backdrop: 80;
  --z-modal: 90;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, oklch(0.9 0.04 188 / 0.35) 1px, transparent 1px),
    linear-gradient(180deg, oklch(0.9 0.04 188 / 0.35) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 3px;
}

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

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: var(--z-modal);
  background: var(--primary-black);
  color: var(--white);
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: oklch(0.965 0.025 188 / 0.94);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 74px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand-name {
  display: grid;
  line-height: 1.05;
}

.brand-name strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-name span {
  font-size: 0.78rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  min-width: 0;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--line);
  background: var(--surface);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.button,
.cart-button,
.link-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--primary-black);
  color: var(--white);
  padding: 0.72rem 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease, background-color 150ms ease;
}

.button:hover,
.cart-button:hover,
.link-button:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.button:active,
.cart-button:active,
.link-button:active {
  transform: translateY(0) scale(0.98);
}

.button.secondary,
.link-button.secondary {
  background: var(--white);
  color: var(--ink);
}

.button.light {
  background: var(--primary);
  color: var(--primary-black);
}

.button.light:hover {
  background: var(--white);
  color: var(--primary-black);
}

.cart-count {
  min-width: 1.65rem;
  height: 1.65rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-strong);
  color: var(--white);
  font-size: 0.82rem;
}

.hero {
  min-height: 82dvh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background: var(--primary-black);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.85) contrast(1.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.08 0.025 188 / 0.92), oklch(0.12 0.08 188 / 0.58) 42%, transparent),
    linear-gradient(0deg, oklch(0.05 0.02 188 / 0.78), transparent 52%);
  pointer-events: none;
}

.hero::after {
  content: "ACSKWA";
  position: absolute;
  right: -1rem;
  top: 4rem;
  color: oklch(0.72 0.1 188 / 0.16);
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 1;
  writing-mode: vertical-rl;
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  gap: 2rem;
  align-items: end;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 0.85rem;
  font-weight: 800;
  color: var(--primary-strong);
}

.hero-kicker,
.hero h1 span,
.hero-ledger strong,
.dark .section-kicker {
  color: var(--primary);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 9ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-subhead {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: oklch(0.93 0.025 188);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-ledger {
  background: oklch(0.07 0.025 188 / 0.86);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: var(--white);
}

.hero-ledger h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-top: 1px solid oklch(0.72 0.1 188 / 0.45);
}

.ledger-row strong {
  color: var(--primary);
}

.band {
  padding: 5rem 0;
  border-bottom: 2px solid var(--line);
}

.band.tight {
  padding: 3.5rem 0;
}

.band.dark {
  background: var(--primary-black);
  color: var(--white);
}

.band.saturated {
  background: var(--primary-strong);
  color: var(--white);
}

.saturated .section-kicker,
.saturated .section-head p {
  color: var(--white);
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.6fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head h2,
.policy-content h1,
.checkout-title h1,
.product-title h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.35rem;
  line-height: 1;
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.section-head p,
.policy-content .lede,
.checkout-title p,
.product-title p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

.dark .section-head p,
.dark .muted-on-dark {
  color: oklch(0.86 0.03 188);
}

.catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}

.catalog-note {
  max-width: 60ch;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1rem;
  align-items: stretch;
}

.product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-pale);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-image-frame {
  aspect-ratio: 4 / 3;
  background: var(--surface-strong);
  border-bottom: 2px solid var(--line);
  position: relative;
}

.product-image-button {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-strip {
  height: 54px;
  display: flex;
  gap: 0.4rem;
  padding: 0.45rem;
  border-bottom: 2px solid var(--line);
  background: var(--surface);
}

.thumb-strip button {
  width: 46px;
  height: 40px;
  flex: 0 0 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0;
  overflow: hidden;
  background: var(--white);
  cursor: zoom-in;
}

.thumb-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.85rem;
}

.product-meta {
  min-height: 8.9rem;
}

.sku-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.product-card h3 {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.52rem;
  line-height: 1.08;
}

.product-card p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
}

.spec-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.spec-list li {
  display: flex;
  gap: 0.45rem;
}

.spec-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  background: var(--primary-strong);
}

.product-actions {
  margin-top: auto;
  display: grid;
  gap: 0.6rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--line);
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.moq {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
}

.card-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.text-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
  background: var(--surface);
  text-decoration: none;
}

.proof-ledger {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
}

.proof-copy {
  border: 2px solid var(--line);
  background: var(--bg-pale);
  color: var(--ink);
  padding: 1.4rem;
  border-radius: var(--radius-sm);
}

.proof-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.proof-copy p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.proof-table {
  margin-top: 1.4rem;
  border-top: 2px solid var(--line);
}

.proof-table div {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.proof-table dt {
  font-weight: 800;
}

.proof-table dd {
  margin: 0;
  color: var(--ink-soft);
}

.proof-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.proof-images figure {
  margin: 0;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.proof-images img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--line);
}

.route-cell {
  min-height: 190px;
  padding: 1rem;
  background: var(--bg-pale);
  border-right: 2px solid var(--line);
  display: flex;
  flex-direction: column;
}

.route-cell:last-child {
  border-right: 0;
}

.route-cell strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.route-cell p {
  color: var(--ink-soft);
  margin: 0.8rem 0 0;
}

.route-cell a {
  margin-top: auto;
  font-weight: 800;
}

.page-hero,
.checkout-hero {
  padding: 4.5rem 0 3rem;
  border-bottom: 2px solid var(--line);
  background: var(--primary-black);
  color: var(--white);
}

.page-hero .container,
.checkout-hero .container {
  display: grid;
  gap: 1rem;
}

.page-hero h1,
.checkout-hero h1 {
  max-width: 12ch;
  color: var(--white);
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  gap: 1.2rem;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 0.8rem;
}

.detail-main {
  aspect-ratio: 4 / 3;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-strong);
}

.detail-main button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.detail-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.detail-thumbs button {
  width: 82px;
  height: 64px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
}

.detail-thumbs button[aria-current="true"] {
  outline: 3px solid var(--primary-strong);
  outline-offset: 2px;
}

.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-panel {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-pale);
  padding: 1.2rem;
}

.product-title h1 {
  max-width: 12ch;
}

.detail-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.detail-price strong {
  font-family: var(--font-display);
  font-size: 2.7rem;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 46px 58px 46px;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.qty-control button {
  border: 0;
  background: var(--surface);
  font-weight: 900;
  cursor: pointer;
}

.qty-control button:hover,
.qty-control button:focus-visible {
  background: var(--primary);
  color: var(--primary-black);
}

.qty-control input,
.qty-control span {
  width: 58px;
  border: 0;
  text-align: center;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--white);
  color: var(--ink);
}

.detail-buy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

.detail-specs {
  margin-top: 1.2rem;
  border-top: 2px solid var(--line);
}

.detail-specs div {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.detail-specs dt {
  font-weight: 800;
}

.detail-specs dd {
  margin: 0;
  color: var(--ink-soft);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
  align-items: start;
}

.checkout-panel,
.checkout-summary,
.policy-content {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-pale);
}

.checkout-panel {
  padding: 1.2rem;
}

.checkout-title {
  margin-bottom: 1.2rem;
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.step-tab {
  min-height: 50px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  font-weight: 800;
  color: var(--ink-soft);
}

.step-tab[aria-current="step"] {
  background: var(--primary-black);
  color: var(--white);
}

.step-tab[aria-current="false"] {
  color: var(--ink);
}

.checkout-step {
  display: none;
}

.checkout-step.is-active {
  display: block;
}

.checkout-step h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.radio-card strong {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0.7rem 0.8rem;
  background: var(--white);
  color: var(--ink);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--primary-strong);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-bg);
  box-shadow: inset 4px 0 0 var(--danger);
}

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

.field small,
.error-line {
  color: var(--muted);
}

.error-line {
  min-height: 1.5rem;
  margin: 0.8rem 0;
  font-weight: 800;
}

.error-line:not(:empty) {
  color: var(--danger);
  background: var(--danger-bg);
  border: 2px solid var(--danger);
  border-radius: var(--radius-xs);
  padding: 0.65rem 0.75rem;
}

.radio-grid {
  display: grid;
  gap: 0.75rem;
}

.radio-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.radio-card:has(input:checked) {
  background: var(--surface);
}

.radio-card:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.radio-card input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--primary-strong);
}

.radio-card p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pay-method {
  min-height: 58px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.pay-method[aria-pressed="true"] {
  background: var(--primary-black);
  color: var(--white);
}

.pay-method:hover,
.pay-method:focus-visible {
  background: var(--surface);
}

.pay-method[aria-pressed="true"]:hover,
.pay-method[aria-pressed="true"]:focus-visible {
  background: var(--primary-black);
}

.checkout-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
}

.checkout-summary {
  position: sticky;
  top: 90px;
  padding: 1rem;
}

.checkout-summary h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.summary-lines,
.cart-lines {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.summary-item,
.cart-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 0.75rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 0.75rem;
}

.summary-item img,
.cart-item img {
  width: 62px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
}

.summary-total,
.cart-total {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.total-row.grand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
}

.review-box {
  display: grid;
  gap: 0.8rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: var(--white);
}

.review-box h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.confirmation {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-pale);
  padding: 2rem;
}

.confirmation h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.confirmation-code {
  display: inline-flex;
  margin: 1rem 0;
  padding: 0.55rem 0.75rem;
  background: var(--primary-black);
  color: var(--white);
  border-radius: var(--radius-xs);
  font-weight: 900;
}

.policy-content {
  padding: 2rem;
}

.policy-content h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.policy-content p,
.policy-content li {
  color: var(--ink-soft);
  max-width: 78ch;
}

.policy-content a,
.footer-grid a {
  font-weight: 800;
}

.policy-content ul {
  padding-left: 1.2rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 90px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-pale);
  padding: 1rem;
}

.policy-nav h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.policy-nav a {
  display: block;
  min-height: 44px;
  padding: 0.55rem 0;
  font-weight: 800;
}

.site-footer {
  background: var(--primary-black);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.9fr;
  gap: 2rem;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  line-height: 1;
}

.footer-grid p {
  color: oklch(0.86 0.03 188);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  font-weight: 800;
  color: var(--white);
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

dialog::backdrop {
  background: oklch(0.05 0.02 188 / 0.78);
}

.cart-dialog,
.lightbox-dialog {
  width: min(940px, calc(100% - 1.2rem));
  max-height: calc(100dvh - 1.2rem);
}

.dialog-panel {
  background: var(--bg-pale);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  max-height: calc(100dvh - 1.2rem);
  overflow: auto;
}

.dialog-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-pale);
  border-bottom: 2px solid var(--line);
  z-index: 1;
}

.dialog-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.icon-button {
  min-width: 46px;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--primary-black);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.cart-body {
  padding: 1rem;
}

.cart-item {
  grid-template-columns: 74px 1fr;
}

.cart-item img {
  width: 74px;
  height: 58px;
}

.cart-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.05;
}

.cart-item p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
}

.cart-controls {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.remove-button {
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--danger);
  padding: 0.45rem 0.55rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.remove-button:hover,
.remove-button:focus-visible {
  border-color: var(--danger);
  background: var(--danger-bg);
  text-decoration: none;
}

.cart-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.lightbox-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 0.75rem;
  align-items: center;
}

.lightbox-image-wrap {
  min-height: 280px;
  max-height: 68dvh;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  background: var(--primary-black);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 68dvh;
  object-fit: contain;
}

.lightbox-caption {
  color: var(--ink-soft);
  font-weight: 800;
}

.lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lightbox-thumbs button {
  width: 70px;
  height: 54px;
  border: 2px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0;
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
}

.lightbox-thumbs button[aria-current="true"] {
  outline: 3px solid var(--primary-strong);
  outline-offset: 2px;
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--z-modal);
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--primary-black);
  color: var(--white);
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-3px);
  }

  .product-card {
    transition: transform 150ms ease;
  }

  .product-image-button:hover,
  .thumb-strip button:hover,
  .detail-thumbs button:hover,
  .lightbox-thumbs button:hover {
    opacity: 0.82;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 0.7rem;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .hero-content,
  .section-head,
  .proof-ledger,
  .product-detail-shell,
  .checkout-layout,
  .policy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary,
  .policy-nav {
    position: static;
  }

  .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-cell:nth-child(2) {
    border-right: 0;
  }

  .route-cell:nth-child(1),
  .route-cell:nth-child(2) {
    border-bottom: 2px solid var(--line);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 0.96rem;
  }

  .header-inner {
    width: min(100% - 1rem, 1180px);
    gap: 0.6rem;
  }

  .site-header {
    position: static;
  }

  .brand-name strong {
    font-size: 0.95rem;
  }

  .brand-name span {
    display: none;
  }

  .main-nav a {
    padding: 0.45rem 0.55rem;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 76dvh;
  }

  .hero::after {
    font-size: 4.2rem;
    top: 5.5rem;
  }

  .hero-content {
    padding: 5.5rem 0 2.4rem;
  }

  .hero h1,
  .page-hero h1,
  .checkout-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.15rem);
  }

  .section-head h2,
  .policy-content h1,
  .checkout-title h1,
  .product-title h1 {
    font-size: clamp(2rem, 10vw, 2.35rem);
  }

  .proof-copy h2 {
    font-size: 2.25rem;
  }

  .band {
    padding: 3.2rem 0;
  }

  .form-grid,
  .payment-methods,
  .step-tabs {
    grid-template-columns: 1fr;
  }

  .card-action-row,
  .detail-buy,
  .lightbox-stage {
    grid-template-columns: 1fr;
  }

  .detail-specs div,
  .proof-table div,
  .radio-card,
  .summary-item,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .summary-item img,
  .cart-item img {
    width: 100%;
    height: 150px;
  }

  .lightbox-stage .icon-button {
    width: 100%;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .route-cell {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .route-cell:last-child {
    border-bottom: 0;
  }

  .policy-content {
    padding: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0s;
    animation-iteration-count: 1;
    transition-duration: 0s;
    scroll-behavior: auto;
  }
}
