:root {
  --bg: #f6f3ee;
  --panel: #fffaf2;
  --panel-strong: #ffffff;
  --ink: #17130f;
  --muted: #766e63;
  --faint: #d9d0c2;
  --line: #e4dbcf;
  --accent: #0f6b5f;
  --accent-strong: #094e45;
  --warning: #b45309;
  --danger: #b42318;
  --danger-bg: #fff1f0;
  --shadow: 0 22px 70px rgba(44, 35, 26, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(23, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.03) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(15, 107, 95, 0.12), transparent 30rem),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 40%, #f1ece3 100%);
  background-size:
    44px 44px,
    44px 44px,
    auto,
    auto;
  color: var(--ink);
}

button,
input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button.product-art {
  width: 100%;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(228, 219, 207, 0.82);
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--panel);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
}

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

.ghost-button,
.cart-button,
.primary-button,
.checkout-submit,
.discount-row button,
.dialog-close,
.drawer-header button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--ink);
  padding: 0.65rem 1rem;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.cart-button,
.primary-button,
.checkout-submit,
.primary-link {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ghost-button:hover,
.cart-button:hover,
.primary-button:hover,
.checkout-submit:hover,
.primary-link:hover,
.secondary-link:hover,
.small-button:hover,
.discount-row button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(44, 35, 26, 0.13);
}

#cart-count {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.78rem;
}

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

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  gap: 2rem;
  align-items: stretch;
  padding: 5rem 0 3.25rem;
}

.hero-copy,
.hero-panel,
.page-hero,
.checkout-layout,
.account-card,
.demo-notes,
.filter-panel,
.product-detail-card,
.cart-page,
.confirmation-page,
.product-dialog,
.confirmation-dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.76);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 242, 0.68)),
    rgba(255, 250, 242, 0.76);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  letter-spacing: 0;
  line-height: 0.94;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.5rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 2rem;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 800;
}

.secondary-link {
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  overflow: hidden;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.2), transparent 10rem),
    linear-gradient(145deg, rgba(15, 107, 95, 0.92), rgba(9, 78, 69, 0.98)),
    var(--accent);
  color: white;
}

.hero-panel-copy {
  max-width: 28rem;
}

.hero-panel-copy h2 {
  margin-bottom: 0.35rem;
  color: white;
}

.hero-panel-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.panel-kicker {
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-flow {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.route-flow li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.route-flow li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #79e0ba;
  box-shadow: 0 0 0 5px rgba(121, 224, 186, 0.12);
}

.status-card {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #79e0ba;
  box-shadow: 0 0 0 7px rgba(121, 224, 186, 0.18);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.metric-grid div {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.metric-grid strong {
  display: block;
  color: white;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.section {
  padding: 4rem 0;
}

.assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 14px 50px rgba(44, 35, 26, 0.08);
}

.assurance-strip div {
  display: grid;
  gap: 0.2rem;
  background: rgba(255, 250, 242, 0.9);
  padding: 1rem;
}

.assurance-strip strong {
  font-size: 0.98rem;
}

.assurance-strip span {
  color: var(--muted);
  font-size: 0.88rem;
}

.page-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-hero.compact {
  max-width: 1180px;
}

.page-hero h1 {
  max-width: 800px;
  margin-bottom: 0.75rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.5rem;
}

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

.filter-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.filter-pill {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--muted);
  font-weight: 800;
  text-align: left;
  padding: 0.6rem 0.8rem;
}

.filter-pill.active {
  border-color: var(--accent);
  background: rgba(15, 107, 95, 0.1);
  color: var(--accent-strong);
}

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

.product-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: 0 14px 50px rgba(44, 35, 26, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 107, 95, 0.32);
  box-shadow: 0 22px 60px rgba(44, 35, 26, 0.13);
}

.product-art {
  display: grid;
  min-height: 190px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.5), transparent 5rem),
    var(--product-color, #d9d0c2);
}

.product-art:hover span {
  transform: scale(1.04);
}

.product-art span {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 30%;
  background: rgba(255, 255, 255, 0.24);
  color: rgba(23, 19, 15, 0.72);
  font-size: 2.25rem;
  font-weight: 900;
  transition: transform 160ms ease;
}

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

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-meta {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(15, 107, 95, 0.18);
  border-radius: 999px;
  background: rgba(15, 107, 95, 0.08);
  color: var(--accent-strong);
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.product-body p {
  font-size: 0.92rem;
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.2rem 0 1rem;
}

.product-chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.price {
  font-weight: 900;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.small-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.small-button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

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

.story-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 1rem;
  box-shadow: 0 14px 50px rgba(44, 35, 26, 0.07);
}

.story-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 900;
}

.product-detail-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--accent-strong);
}

.product-detail-art {
  min-height: 540px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.spec-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0.85rem;
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0.35rem 0 0;
  font-weight: 800;
}

.detail-note,
.summary-callout {
  display: grid;
  gap: 0.25rem;
  margin: 1.25rem 0;
  border: 1px solid rgba(15, 107, 95, 0.18);
  border-radius: var(--radius);
  background: rgba(15, 107, 95, 0.07);
  padding: 0.9rem;
}

.detail-note span,
.summary-callout span {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  color: var(--muted);
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 900;
  text-align: center;
}

.checkout-steps li.complete {
  border-color: rgba(15, 107, 95, 0.2);
  background: rgba(15, 107, 95, 0.08);
  color: var(--accent-strong);
}

.checkout-steps li.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

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

.checkout-form,
.order-summary,
.account-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 1rem;
}

fieldset {
  margin: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 1rem;
}

fieldset:last-of-type {
  border-bottom: 0;
}

legend {
  margin-bottom: 0.9rem;
  font-weight: 900;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  padding: 0.72rem 0.8rem;
}

input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(15, 107, 95, 0.14);
}

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

.checkout-form label + label,
.account-card label + label {
  margin-top: 0.8rem;
}

.checkout-submit {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

.order-summary {
  position: sticky;
  top: 92px;
}

.summary-items,
.cart-items {
  display: grid;
  gap: 0.7rem;
}

.summary-item,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
}

.summary-item span,
.cart-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.discount-box {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0.9rem;
}

.discount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  margin-top: 0.45rem;
}

.discount-row button {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.form-message {
  min-height: 1.45rem;
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}

.form-message.success {
  color: var(--accent);
}

.form-message.error {
  color: var(--danger);
}

.summary-lines {
  display: grid;
  gap: 0.65rem;
}

.summary-lines div,
.drawer-footer div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.summary-lines span,
.drawer-footer span {
  color: var(--muted);
}

.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  font-size: 1.2rem;
}

.account-card {
  max-width: 520px;
  box-shadow: var(--shadow);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(280px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.account-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 18%, rgba(15, 107, 95, 0.12), transparent 12rem),
    var(--panel-strong);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.dashboard-row span {
  color: var(--muted);
}

.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
}

.cart-list,
.cart-total-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 1rem;
}

.cart-total-card {
  position: sticky;
  top: 92px;
}

.confirmation-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.confirmation-page h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.confirmation-page .hero-actions {
  justify-content: center;
}

.order-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.order-timeline div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 0.9rem;
}

.order-timeline strong,
.order-timeline span {
  display: block;
}

.order-timeline span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

code {
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 0.9rem;
  color: var(--accent-strong);
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: flex-end;
  background: rgba(23, 19, 15, 0.3);
}

.cart-drawer.open {
  display: flex;
}

.drawer-panel {
  display: flex;
  width: min(420px, 100%);
  flex-direction: column;
  gap: 1rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.drawer-header,
.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.drawer-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.product-dialog,
.confirmation-dialog {
  width: min(760px, calc(100% - 2rem));
  border: 1px solid var(--line);
  padding: 0;
}

dialog::backdrop {
  background: rgba(23, 19, 15, 0.42);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.detail-layout .product-art {
  min-height: 420px;
}

.detail-copy {
  padding: 2rem;
}

.confirmation-content {
  padding: 2rem;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(15, 107, 95, 0.12);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
}

.bug-banner {
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  background: #fff7ed;
  color: var(--warning);
  padding: 0.85rem 1rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.site-footer span,
.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--ink);
}

body.bug-mobile-checkout .checkout-submit {
  transform: translateY(140px);
}

body.bug-mobile-checkout .checkout-form {
  overflow: hidden;
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
  }

  .hero-section,
  .checkout-layout,
  .catalog-layout,
  .product-detail-card,
  .cart-page,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 260px;
  }

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

  .order-summary,
  .filter-panel,
  .cart-total-card {
    position: static;
  }

  .mode-grid,
  .story-grid,
  .assurance-strip,
  .order-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.9rem 0;
  }

  .header-actions {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ghost-button,
  .cart-button {
    flex: 1;
    justify-content: center;
  }

  .hero-section {
    padding-top: 2rem;
  }

  .hero-copy {
    padding: 1.4rem;
  }

  .metric-grid,
  .product-grid,
  .field-row,
  .mode-grid,
  .detail-layout,
  .story-grid,
  .spec-list,
  .assurance-strip,
  .checkout-steps,
  .order-timeline {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .discount-row {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    padding: 0.65rem;
  }

  .product-detail-art {
    min-height: 320px;
  }

  body.bug-mobile-checkout .checkout-submit {
    transform: translateY(190px);
  }
}
