:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-soft: #f1f0ea;
  --text: #0f0f0f;
  --muted: #686863;
  --line: #dad8d0;
  --line-strong: #111111;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

.site-frame {
  width: min(1440px, 100%);
  padding-left: 14px;
  padding-right: 14px;
  margin: 0 auto;
  padding-bottom: 28px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  /* Prevent any child from causing horizontal overflow */
  overflow-x: clip;
}

/* ── Burger menu button (hidden on desktop) ─────────────── */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.18s ease;
}
.burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease, width 0.18s ease;
  transform-origin: center;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ──────────────────────────────────── */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 9999;
  flex-direction: column;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.1);
}
.mobile-nav-drawer.drawer-open {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-strong);
}
.mobile-nav-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transform: rotate(45deg);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-links a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a.active { color: var(--muted); }
.mobile-nav-selects {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 18px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 245, 241, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.brand-copy small,
.hero-text,
.section-heading p,
.split-banner p,
.site-footer p,
.product-description,
.product-meta,
.checkout-note,
.cart-item small,
.empty-cart {
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link,
.footer-links a {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.nav-link.active {
  font-weight: 800;
}

.header-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.control-pill,
.cart-button,
.primary-link,
.ghost-link,
.add-to-cart,
.filter-input,
.submit-order,
.size-filter button {
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.control-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.control-pill span,
.eyebrow,
.product-category,
.checkout-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.control-pill select,
.filter-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
}

.cart-button,
.primary-link,
.ghost-link,
.add-to-cart,
.submit-order,
.size-filter button {
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cart-button,
.primary-link,
.submit-order,
.add-to-cart {
  background: #111;
  color: #fff;
  border-color: #111;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-button strong {
  min-width: 24px;
  text-align: center;
}

.primary-link,
.ghost-link,
.add-to-cart,
.submit-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ghost-link {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.hero,
.catalog-hero {
  padding: 28px 0 30px;
}

.hero-home {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 24px;
}

.eyebrow {
  margin: 0 0 14px;
}

.hero h1,
.catalog-hero h1,
.section-heading h2,
.split-banner h2,
.checkout-summary h2 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.hero-text,
.section-heading p,
.split-banner p,
.catalog-hero p {
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-visual {
  min-height: 620px;
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}

.hero-home-visual {
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.05), rgba(15, 15, 15, 0.26)),
    url("https://i.pinimg.com/736x/b0/91/1b/b0911b20fd256712d52c89f12665119f.jpg") center/cover;
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 270px;
  padding: 16px;
  background: rgba(17, 17, 17, 0.68);
  color: #fff;
}

.hero-note strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 28px;
}

.category-card {
  min-height: 320px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.category-card:nth-child(1) {
  background-image: linear-gradient(180deg, rgba(15,15,15,0.04), rgba(15,15,15,0.5)), url("https://www.thefashionisto.com/wp-content/uploads/2012/12/image7.jpg");
  background-position: center top;
}

.category-card:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(15,15,15,0.04), rgba(15,15,15,0.5)), url("https://fashionfav.com/wp-content/uploads/2024/06/Mica-Arganaraz-Karim-Sadli-Elodie-David-Touboul-Harpers-Bazaar-France-May-2024-Fashion-Editorial-1-800x1041.jpg");
  background-position: center top;
}

.category-card:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(15,15,15,0.04), rgba(15,15,15,0.5)), url("https://wwd.com/wp-content/uploads/2023/01/Shoreditch-Ski-Club-1.png?crop=2px%2C120px%2C1182px%2C661px&resize=1000%2C563");
  background-position: center center;
}

.category-card h2 {
  margin: 8px 0 6px;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.content-section,
.split-banner,
.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line-strong);
}

.section-heading,
.split-banner,
.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  min-width: 0;
}

.product-visual {
  height: 390px;
  background-size: cover, contain;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-color: #f5f3ef;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.product-badge {
  display: none;
}

.inspect-product {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.inspect-product:hover {
  transform: translateY(-1px);
  background: #111;
  color: #fff;
}

.product-info {
  display: grid;
  gap: 10px;
}

.product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0;
}

.card-color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
  outline: none;
}

.card-color-swatch:hover {
  transform: scale(1.2);
}

.card-color-swatch.active {
  border-color: #111;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 0 0 3px rgba(17,17,17,0.15);
  transform: scale(1.1);
}

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

.size-choice-row.hidden {
  display: none;
}

.size-choice-row button {
  min-width: 42px;
  min-height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.size-choice-row button:hover {
  transform: translateY(-1px);
  background: #111;
  color: #fff;
}

.product-title {
  margin: 4px 0 0;
  font-size: 1.02rem;
  line-height: 1.2;
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: break-word;
}

.product-description {
  margin: 0;
  min-height: 44px;
  line-height: 1.55;
}

.product-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

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

.product-price {
  font-size: 1rem;
  font-weight: 900;
}

.product-viewer {
  width: min(1160px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  position: relative;
}

.product-viewer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
}

.product-viewer-media {
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
  background: #f5f3ef;
}

.product-viewer-stage {
  --zoom-x: 50%;
  --zoom-y: 50%;
  min-height: 560px;
  height: min(70vh, 700px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  cursor: zoom-in;
  touch-action: pan-y;
}

.product-viewer-stage.dragging {
  cursor: grabbing;
}

.product-viewer-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: var(--zoom-x) var(--zoom-y);
  transition: transform 0.18s ease;
}

.product-viewer-stage.zooming img {
  transform: scale(1.85);
}

.product-viewer-stage.dragging img {
  transform: scale(1);
}

.product-viewer-counter {
  position: absolute;
  left: 14px;
  bottom: 14px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.product-viewer-controls {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.viewer-arrow {
  border: none;
  background: var(--surface);
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.viewer-arrow:last-child {
  border-right: none;
  border-left: 1px solid var(--line);
}

.viewer-arrow:disabled {
  cursor: default;
  color: var(--muted);
}

.product-viewer-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
}

.product-viewer-thumb {
  width: 68px;
  min-width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  background-color: var(--surface);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}

.product-viewer-thumb.active {
  border-color: var(--line-strong);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}

.product-viewer-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 34px;
}

.product-viewer-details h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.product-viewer-meta,
.product-viewer-description,
.product-viewer-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-viewer-price {
  font-size: 1.35rem;
  font-weight: 900;
}

.product-viewer-size-block {
  display: grid;
  gap: 10px;
}

.product-viewer-size-block > span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-viewer-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-viewer-size {
  min-width: 48px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
}

.product-viewer-size.active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.product-viewer-colors {
  display: grid;
  gap: 10px;
}

.product-viewer-colors-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-viewer-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-viewer-color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
}

.product-viewer-color-swatch:hover {
  transform: scale(1.15);
}

.product-viewer-color-swatch.active {
  border-color: #111;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18), 0 0 0 4px rgba(17,17,17,0.15);
  transform: scale(1.1);
}

.product-viewer-add {
  width: fit-content;
  min-width: 220px;
}

.product-viewer-status {
  min-height: 24px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 26px;
}

/* ── Mobile filter toggle ──────────────────────────────── */
.filter-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.18s ease;
}
.filter-toggle:hover { background: var(--surface-soft); }
.filter-toggle svg { flex-shrink: 0; }

.filter-panel {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.filter-panel::-webkit-scrollbar { width: 4px; }
.filter-panel::-webkit-scrollbar-track { background: transparent; }
.filter-panel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-group label,
.filter-group > span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.filter-input {
  padding: 0 14px;
}

.size-filter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.size-filter button.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

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

/* ── Price Range Slider ───────────────────────────────── */
.price-range-wrap {
  display: grid;
  gap: 14px;
}
.price-range-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.price-range-values span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price-range-sep {
  color: var(--muted);
  font-size: 0.72rem;
  flex-shrink: 0;
  padding: 0 2px;
}
.price-range-track {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 2px;
}
.price-range-track input[type=range] {
  position: absolute;
  width: 100%;
  left: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  min-height: unset;
  height: 32px;
  margin: 0;
  padding: 0;
  z-index: 3;
}
.price-range-track input[type=range]#maxPrice {
  z-index: 4;
}
.price-range-track input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: all;
  width: 22px;
  height: 22px;
  background: #111;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.32);
  cursor: grab;
  border-radius: 50%;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  position: relative;
}
.price-range-track input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.price-range-track input[type=range]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.15);
}
.price-range-track input[type=range]::-moz-range-thumb {
  pointer-events: all;
  width: 18px;
  height: 18px;
  background: #111;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.32);
  cursor: grab;
  border-radius: 50%;
}
.price-range-track input[type=range]::-webkit-slider-runnable-track {
  background: transparent;
  height: 6px;
}
.price-range-track input[type=range]::-moz-range-track {
  background: transparent;
  height: 6px;
}
.price-range-bar {
  position: absolute;
  height: 5px;
  left: 0; right: 0;
  background: var(--line);
  z-index: 0;
  pointer-events: none;
  border-radius: 3px;
}
.price-range-fill {
  position: absolute;
  height: 5px;
  background: #111;
  z-index: 1;
  pointer-events: none;
  border-radius: 3px;
  transition: left 0.06s ease, right 0.06s ease;
}

.catalog-results {
  display: grid;
  gap: 16px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.results-count {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  z-index: 100;
}

.modal-backdrop.hidden {
  display: none;
}

.checkout-modal {
  width: min(1100px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 1.7rem;
  line-height: 1;
  transform: rotate(45deg);
}

/* ── Checkout badge ─────────────────────────────────────── */
.checkout-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  width: fit-content;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
}

.checkout-demo-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.payment-network-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.card-number-shell {
  position: relative;
}

.card-number-shell input {
  width: 100%;
  padding-right: 122px;
}

.card-network-indicator {
  position: absolute;
  top: 50%;
  right: 10px;
  min-width: 92px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.checkout-status {
  margin: 0;
  min-height: 22px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkout-status.success {
  color: #1f6b45;
}

.checkout-status.error {
  color: #9a2d2d;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.phone-input-group {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
}

.phone-code-select {
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.phone-code-select:hover {
  border-color: var(--text);
}

.phone-code-select:focus {
  outline: none;
  border-color: var(--text);
}

/* ── Checkout layout (page) ─────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  margin-bottom: 40px;
}

.checkout-multistep {
  padding: 32px;
  border-left: 1px solid var(--line-strong);
  background: var(--surface);
  display: grid;
  gap: 0;
}

/* ── Steps indicator ────────────────────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkout-step-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.checkout-step.active .checkout-step-num {
  background: #111;
  border-color: #111;
  color: #fff;
}

.checkout-step.active .checkout-step-label {
  color: var(--text);
}

.checkout-step.done .checkout-step-num {
  background: #1f6b45;
  border-color: #1f6b45;
  color: #fff;
}

.checkout-step.done .checkout-step-label {
  color: #1f6b45;
}

.checkout-step-divider {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 10px;
  min-width: 20px;
}

/* ── Step panels ────────────────────────────────────────── */
.checkout-step-panel {
  display: none;
  grid-gap: 14px;
  gap: 14px;
}

.checkout-step-panel.active {
  display: grid;
}

.checkout-step-panel form {
  display: grid;
  gap: 14px;
}

.checkout-step-panel label {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-step-panel input {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  outline: none;
}

.checkout-step-panel input:focus {
  border-color: #111;
}

/* ── Step nav (back / continue buttons) ─────────────────── */
.checkout-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.ghost-link {
  background: transparent !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
  font-size: 0.82rem;
}

/* ── Shipping methods ───────────────────────────────────── */
.shipping-free-note {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #c8e6d4;
  background: #f0faf4;
  font-size: 0.88rem;
  color: #1f6b45;
  border-radius: 0;
}

.shipping-methods {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.shipping-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.shipping-method:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.shipping-method.active,
.shipping-method:has(input:checked) {
  border-color: #111;
  background: var(--surface);
}

.shipping-method input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: unset;
  padding: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: all 0.15s ease;
}

.shipping-method input[type="radio"]:checked {
  border-color: #111;
  background: #111;
}

.shipping-method input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--surface);
}

.shipping-method-body {
  flex: 1;
  display: grid;
  gap: 2px;
}

.shipping-method-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shipping-method-top strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.shipping-method-free {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f6b45;
  font-weight: 700;
  background: #f0faf4;
  border: 1px solid #c8e6d4;
  padding: 3px 8px;
}

.shipping-method small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Checkout summary panel ─────────────────────────────── */
.checkout-summary {
  background: var(--bg);
  color: var(--text);
  padding: 32px 26px;
  position: sticky;
  top: 94px;
  align-self: start;
  border: 1px solid var(--line-strong);
}

.checkout-summary h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: var(--text);
}

.checkout-summary .checkout-note,
.checkout-summary .cart-item small,
.checkout-summary .empty-cart {
  color: var(--muted);
}

.cart-items {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.cart-item,
.empty-cart {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-details {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-item-controls {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
}

.cart-qty-btn {
  min-width: 30px;
  min-height: 30px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cart-qty-btn:hover {
  background: var(--surface);
  border-color: var(--text);
}

.cart-qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.summary-totals {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.summary-totals div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.grand-total {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.28);
  font-weight: 800;
}

/* ── Card inputs on checkout page ───────────────────────── */
.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-form input,
.checkout-form select {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  outline: none;
}

.checkout-form[data-card-network="visa"] .card-network-indicator {
  background: #173e90;
  border-color: #173e90;
  color: #fff;
}

.checkout-form[data-card-network="mastercard"] .card-network-indicator {
  background: #111;
  border-color: #111;
  color: #fff;
}

.secure-modal {
  width: min(560px, 100%);
  padding: 0;
  background: linear-gradient(180deg, #eef2f6 0%, #ffffff 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.secure-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #d7dee8;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.secure-pill,
.secure-bank,
.secure-subbank,
.secure-kicker,
.secure-chip,
.secure-row span,
.secure-reference small,
.secure-network {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.secure-brandblock {
  display: flex;
  align-items: center;
  gap: 12px;
}

.secure-emblem {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #103b70 0%, #0a2648 100%);
  color: #fff;
  font-weight: 800;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #0a2648;
  color: #f4f8fc;
}

.secure-networkset {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.secure-network {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #cad7e5;
  background: #ffffff;
  color: #0b2541;
}

.secure-network.alt {
  background: #f7fbff;
}

.secure-bank {
  display: block;
  color: #0b2541;
  font-weight: 700;
}

.secure-subbank {
  display: block;
  margin-top: 4px;
  color: #6b7787;
}

.secure-screen {
  padding: 24px 22px 22px;
}

.secure-screen-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.secure-kicker,
.secure-text,
.secure-chip,
.secure-status {
  color: #6b7787;
}

.secure-kicker {
  margin: 0 0 10px;
}

.secure-chip {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #d7dee8;
  background: #f8fbff;
}

.secure-modal h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.secure-text {
  margin: 0 0 18px;
  line-height: 1.7;
}

.secure-reference {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #d7dee8;
  background: #f8fbff;
}

.secure-reference small {
  color: #6b7787;
}

.secure-reference strong {
  display: block;
  margin-top: 6px;
  color: #0b2541;
  font-size: 0.92rem;
}

.secure-summary {
  display: grid;
  gap: 0;
  border: 1px solid #d7dee8;
  background: #fff;
}

.secure-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #e7edf3;
}

.secure-row:last-child {
  border-bottom: none;
}

.secure-row strong {
  font-size: 0.98rem;
  color: #0b2541;
}

.secure-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.secure-step {
  padding: 12px 10px;
  border: 1px solid #d7dee8;
  background: #fff;
  color: #7b8796;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secure-step.done,
.secure-step.active {
  color: #0b2541;
  border-color: #9eb5cf;
  background: #f7fbff;
}

.secure-loader {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 26px 0 16px;
}

.secure-loader span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #174a83;
  animation: securePulse 1.2s infinite ease-in-out;
}

.secure-loader span:nth-child(2) {
  animation-delay: 0.15s;
}

.secure-loader span:nth-child(3) {
  animation-delay: 0.3s;
}

.secure-status {
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.secure-action {
  width: 100%;
  margin-top: 18px;
}

.hidden {
  display: none !important;
}

@keyframes securePulse {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.cart-button:hover,
.primary-link:hover,
.ghost-link:hover,
.add-to-cart:hover,
.submit-order:hover,
.size-filter button:hover,
.modal-close:hover {
  transform: translateY(-1px);
}

/* Payment Loading Modal */
.payment-modal {
  width: min(420px, 100%);
  min-height: 500px;
  background:
    radial-gradient(circle at 12% 0%, rgba(50, 180, 160, 0.18), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f7f8 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 38px 24px;
  overflow: hidden;
}

.modal-close-3d {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  transform: rotate(45deg);
  cursor: pointer;
  z-index: 101;
}

.modal-close-3d:hover {
  background: var(--surface-soft);
}

.payment-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.payment-art {
  width: 270px;
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
}

.payment-art-card {
  width: 230px;
  height: 142px;
  padding: 16px;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(237,247,255,0.88)),
    linear-gradient(135deg, #e9f6ff 0%, #fff4ce 100%);
  box-shadow: 10px 12px 0 rgba(15, 15, 15, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.payment-art-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.payment-modal[data-network="mastercard"] .payment-art-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,241,230,0.9)),
    linear-gradient(135deg, #ffe4d0 0%, #e8f8ff 100%);
}

.payment-art-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.payment-art-top strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-chip {
  width: 42px;
  height: 30px;
  border: 1px solid rgba(17, 17, 17, 0.65);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(17,17,17,0.34) 46%, rgba(17,17,17,0.34) 54%, transparent 54%),
    linear-gradient(180deg, #f4d377 0%, #b99138 100%);
}

.payment-art-lines {
  display: grid;
  gap: 8px;
  width: 72%;
}

.payment-art-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.22);
}

.payment-art-lines span:nth-child(2) {
  width: 78%;
}

.payment-art-lines span:nth-child(3) {
  width: 52%;
}

.payment-orbit {
  position: absolute;
  width: 168px;
  height: 168px;
  border: 2px solid rgba(20, 120, 116, 0.22);
  border-top-color: #147874;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--line-strong);
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.payment-content p {
  text-align: center;
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.payment-content h2 {
  margin: 2px 0 0;
  font-size: 1.7rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.payment-mode-panel {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.payment-auth-fields {
  width: 100%;
  display: grid;
  gap: 8px;
}

.payment-auth-fields label {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.payment-auth-fields input {
  min-height: 50px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  outline: none;
  font-size: 1rem;
}

.payment-auth-submit {
  min-height: 50px;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
}

.payment-auth-submit:hover {
  background: #333;
}

.payment-auth-fields[hidden] {
  display: none;
}

.payment-mode-panel span {
  width: fit-content;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  background: #111;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.payment-mode-panel strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.payment-mode-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.payment-modal[data-auth-mode="app"] .payment-mode-panel span {
  background: #174a83;
}

.payment-modal[data-auth-mode="code"] .payment-mode-panel span {
  background: #147874;
}

.payment-modal[data-auth-mode="pin"] .payment-mode-panel span {
  background: #5d3b86;
}

.payment-modal[data-auth-mode="success"] .payment-mode-panel {
  border-color: rgba(31, 107, 69, 0.34);
  background: rgba(235, 248, 241, 0.86);
}

.payment-modal[data-auth-mode="success"] .payment-mode-panel span,
.payment-modal[data-auth-mode="success"] .spinner {
  background: #1f6b45;
}

.payment-modal[data-auth-mode="canceled"] .payment-mode-panel {
  border-color: rgba(154, 45, 45, 0.32);
  background: rgba(252, 239, 239, 0.86);
}

.payment-modal[data-auth-mode="canceled"] .payment-mode-panel span,
.payment-modal[data-auth-mode="canceled"] .spinner {
  background: #9a2d2d;
}

.payment-modal[data-auth-mode="success"] .spinner,
.payment-modal[data-auth-mode="canceled"] .spinner {
  display: grid;
  place-items: center;
  border: none;
  color: #fff;
  animation: none;
}

.payment-modal[data-auth-mode="success"] .spinner::after,
.payment-modal[data-auth-mode="canceled"] .spinner::after {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.payment-modal[data-auth-mode="success"] .spinner::after {
  content: "OK";
}

.payment-modal[data-auth-mode="canceled"] .spinner::after {
  content: "X";
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1180px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .hero-home,
  .section-heading,
  .split-banner,
  .site-footer,
  .product-viewer-layout {
    grid-template-columns: 1fr;
  }

  /* Header: keep brand + controls, stack nav below */
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  /* Catalog: filter becomes collapsible */
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-toggle {
    display: flex;
  }

  .filter-panel {
    position: static;
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    border-top: none;
    transition: max-height 0.35s cubic-bezier(.22,.68,0,1), padding 0.25s ease, opacity 0.2s ease;
    opacity: 0;
  }

  .filter-panel.filter-open {
    max-height: 2000px;
    padding: 18px;
    opacity: 1;
    overflow-y: auto;
  }

  /* Checkout: summary on top, form below */
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
    top: auto;
  }

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

  .product-viewer-stage,
  .product-viewer-controls {
    border-right: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 760px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* ── Prevent horizontal scroll ─────────────────────────── */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* ── Site frame — no bleed past viewport ──────────────── */
  .site-frame {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* ── Header: single row, compact ───────────────────────── */
  .site-header {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
  }

  .header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  /* Hide brand tagline — saves vertical/horizontal space */
  .brand-copy small {
    display: none;
  }

  /* Brand slightly smaller */
  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.76rem;
  }

  .main-nav {
    display: none;
  }

  /* Show burger */
  .burger-btn {
    display: flex;
  }

  /* Hide lang/currency pills in header on mobile (moved to drawer) */
  .site-header .control-pill {
    display: none;
  }

  /* Cart button — compact, fixed max-width */
  .cart-button {
    padding: 0 12px;
    gap: 8px;
    min-width: 0;
    max-width: 100px;
    font-size: 0.8rem;
  }

  .cart-button span {
    display: none;
  }

  /* Show mobile drawer */
  .mobile-nav-drawer {
    display: flex;
  }

  /* ── Buttons — full width where needed ──────────────────── */
  .hero-actions .primary-link,
  .hero-actions .ghost-link {
    flex: 1;
    min-width: 0;
  }

  .primary-link,
  .submit-order {
    width: 100%;
    justify-content: center;
  }

  /* add-to-cart in product cards stays auto-width */
  .product-footer .add-to-cart {
    width: auto;
    padding: 0 10px;
    font-size: 0.72rem;
    min-height: 38px;
  }

  /* add-to-cart outside product cards (e.g. viewer) full width */
  .product-viewer-details .add-to-cart,
  .product-viewer-add {
    width: 100%;
  }

  .ghost-link {
    justify-content: center;
  }

  /* ── Typography — prevent word overflow ─────────────────── */
  .hero h1,
  .catalog-hero h1,
  h1, h2, h3 {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero h1,
  .catalog-hero h1 {
    font-size: clamp(1.9rem, 9vw, 3.2rem);
  }

  .checkout-summary h2 {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }

  /* ── Hero ───────────────────────────────────────────────── */
  .hero-home {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
    order: -1;
    width: 100%;
  }

  .hero-copy {
    padding-right: 0;
  }

  /* ── Grids — enforce 100% max width ─────────────────────── */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }

  .product-card {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    padding: 8px;
    gap: 8px;
    box-sizing: border-box;
  }

  .section-heading,
  .split-banner,
  .site-footer {
    grid-template-columns: 1fr;
    width: 100%;
  }

  /* ── Product card ───────────────────────────────────────── */
  .product-visual {
    height: 150px;
  }

  /* Hide inspect button on small cards — use dedicated viewer */
  .product-card .inspect-product {
    display: inline-flex;
    font-size: 0.6rem;
    min-height: 28px;
    padding: 0 6px;
    letter-spacing: 0.06em;
  }

  .product-badge {
    display: none;
  }

  .product-title {
    font-size: 0.76rem;
    line-height: 1.2;
    margin: 2px 0 0;
  }

  .product-price {
    font-size: 0.82rem;
    font-weight: 900;
  }

  /* Product footer: price left, button right, no wrap */
  .product-footer {
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
  }

  /* Compact add-to-cart — auto width, doesn't stretch */
  .product-footer .add-to-cart {
    width: auto !important;
    flex-shrink: 0;
    padding: 0 8px;
    font-size: 0.62rem;
    min-height: 34px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .product-description {
    display: none;
  }

  .product-meta {
    display: none;
  }

  .product-colors {
    display: none;
  }

  .product-info {
    gap: 6px;
  }

  /* Show size selector on product cards on mobile */
  .product-card .size-choice-row {
    display: flex !important;
    margin-top: 8px;
  }

  .product-card .size-choice-row button {
    font-size: 0.75rem;
    min-width: 38px;
    min-height: 32px;
    padding: 4px 8px;
  }

  /* \u2500\u2500 Product viewer \u2014 full-screen on mobile \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
  .product-viewer-backdrop {
    padding: 0;
    align-items: flex-start;
  }

  .product-viewer {
    width: 100% !important;
    height: 100dvh;
    max-height: 100dvh;
    border: none;
    border-left: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  /* Close button: fixed top-right, always visible */
  .product-viewer-close {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.96);
    border: 1.5px solid var(--line-strong);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  }

  /* Layout: vertical flex, overflows scroll */
  .product-viewer-layout {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: unset;
  }

  .product-viewer-media {
    flex-shrink: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    background: #f5f3ef;
  }

  .product-viewer-stage {
    min-height: 240px;
    height: 52vw;
    max-height: 320px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    cursor: grab;
  }

  .product-viewer-controls {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    border-right: none;
  }

  .product-viewer-thumb {
    width: 54px;
    min-width: 54px;
    height: 54px;
  }

  .product-viewer-details {
    padding: 16px 16px 40px;
    gap: 12px;
    overflow: visible;
    flex: 1;
  }

  .product-viewer-add {
    width: 100%;
    min-width: 0;
  }

  /* ── Checkout page ──────────────────────────────────────── */
  .checkout-layout {
    grid-template-columns: 1fr;
    border: none;
    margin-bottom: 20px;
    gap: 12px;
  }

  /* Hide checkout summary only on checkout page, not in modal */
  .checkout-layout .checkout-summary {
    display: none;
  }

  /* Show checkout summary in modal */
  #checkoutModal .checkout-summary {
    display: block !important;
    position: static;
    padding: 20px 16px;
    background: var(--bg);
    color: var(--text);
    border: none;
  }

  #checkoutModal .checkout-summary h2 {
    color: var(--text);
  }

  #checkoutModal .checkout-summary .checkout-note,
  #checkoutModal .checkout-summary .cart-item small,
  #checkoutModal .checkout-summary .empty-cart {
    color: var(--muted);
  }

  .checkout-multistep {
    padding: 16px 12px;
    border-left: none;
    border: none;
    box-sizing: border-box;
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
  }

  .checkout-step-panel {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .checkout-step-panel form {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* Form inputs — prevent overflow */
  .checkout-step-panel input,
  .checkout-step-panel select,
  .phone-code-select {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

  .checkout-step-panel label {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .phone-input-group {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

  .checkout-row {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* Steps bar — smaller text on mobile */
  .checkout-steps {
    gap: 0;
    padding-bottom: 14px;
    margin-bottom: 18px;
  }

  .checkout-step-label {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .checkout-step-num {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .checkout-step-divider {
    min-width: 10px;
    margin: 0 6px;
  }

  /* Form inputs — large touch targets */
  .checkout-step-panel input {
    min-height: 54px;
    font-size: 1rem;
    padding: 0 14px;
    border-radius: 0;
    -webkit-appearance: none;
  }

  /* Expiry + CVC: side by side on small screen */
  .checkout-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Phone input group — stack on mobile */
  .phone-input-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .phone-code-select {
    width: 100%;
  }

  .checkout-step-nav {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .checkout-step-nav .ghost-link,
  .checkout-step-nav .submit-order {
    width: 100%;
  }

  /* Card number input — hide network badge on tiny screens */
  .card-number-shell input {
    padding-right: 14px;
  }

  .card-network-indicator {
    display: none;
  }

  /* Catalog page */
  .catalog-hero {
    padding: 18px 0 14px;
  }

  .catalog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }

  .catalog-toolbar .ghost-link {
    width: auto;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .size-filter {
    grid-template-columns: repeat(5, 1fr);
  }

  .price-range-track input[type=range]::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
  }

  /* Toast — bottom-center on mobile */
  .toast-container {
    bottom: 16px;
    left: 14px;
    right: 14px;
  }

  .toast {
    width: 100%;
    transform: translateY(120%);
  }

  .toast.toast-in {
    transform: translateY(0);
  }

  /* Cookie banner */
  .cookie-banner {
    padding: 14px 16px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }

  /* Lead popup */
  .lead-modal {
    padding: 28px 16px 20px;
    width: calc(100% - 32px);
    max-width: 360px;
  }

  .lead-title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  .lead-country-select {
    max-width: 130px;
    min-width: 100px;
    font-size: 0.76rem;
  }

  .lead-phone-input {
    font-size: 1rem;
  }

  /* Category cards */
  .category-card {
    min-height: 200px;
  }

  /* Info block */
  .info-block {
    padding: 20px 16px;
  }

  /* Cart modal */
  .checkout-modal {
    width: 100%;
    max-height: 90dvh;
    border-left: none;
    border-right: none;
    border-bottom: none;
    align-self: end;
    border-radius: 12px 12px 0 0;
    background: var(--bg);
    z-index: 10000;
  }

  #checkoutModal {
    z-index: 9999;
  }

  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.6);
  }

  .modal-backdrop:not(.hidden) {
    display: flex !important;
  }

  /* 3DS modal */
  .payment-modal {
    width: 100%;
    max-height: 100dvh;
    align-self: end;
    border-radius: 0;
    padding: 28px 20px;
    min-height: auto;
  }

  .payment-art {
    width: 200px;
    height: 150px;
  }

  .payment-art-card {
    width: 180px;
    height: 112px;
  }

}
/* ── Info / Shipping page ──────────────────────────────── */
.info-page-layout {
  display: grid;
  gap: 24px;
  padding-bottom: 40px;
}
.info-block {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.info-block-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.info-block h2 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.info-block-text {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.info-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.info-table th,
.info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.info-table th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  background: var(--surface-soft);
}
.info-table tr:last-child td { border-bottom: none; }
.info-list {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}
.info-contact-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ── Star Ratings ─────────────────────────────────────── */
.star-rating {
  display: inline-flex;
  gap: 2px;
  font-size: 0.82rem;
  color: #d4a017;
  letter-spacing: 1px;
}
.star-rating-muted { color: var(--line); }
.review-count {
  color: var(--muted);
  font-size: 0.74rem;
  margin-left: 6px;
}

/* ── Product Viewer Reviews ───────────────────────────── */
.viewer-reviews {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 12px;
}
.viewer-reviews-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.viewer-review {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  display: grid;
  gap: 6px;
}
.viewer-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.viewer-review-author {
  font-weight: 700;
  font-size: 0.84rem;
}
.viewer-review-date {
  color: var(--muted);
  font-size: 0.72rem;
  font-family: "IBM Plex Mono", monospace;
}
.viewer-review-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ── Size Guide Modal ─────────────────────────────────── */
.size-guide-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}
.size-guide-btn:hover { color: var(--text); }
.size-guide-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.size-guide-backdrop.sg-visible { opacity: 1; pointer-events: auto; }
.size-guide-modal {
  background: #fff;
  width: min(700px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2);
}
.size-guide-backdrop.sg-visible .size-guide-modal { transform: translateY(0); }
.size-guide-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border: 1px solid #e0e0e0;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
  color: #888;
}
.size-guide-close:hover { color: #111; border-color: #111; }
.size-guide-title {
  margin: 0 0 20px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.size-guide-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
}
.size-guide-tab {
  padding: 8px 18px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.size-guide-tab.active {
  color: #111;
  border-bottom-color: #111;
}
.size-guide-section { display: none; }
.size-guide-section.active { display: block; }
.size-guide-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.size-guide-section th,
.size-guide-section td {
  padding: 10px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.size-guide-section th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  background: var(--surface-soft);
}
.size-guide-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ── Cart Quantity Controls ───────────────────────────── */
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.22);
}
.cart-qty-btn {
  width: 30px;
  height: 28px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.cart-qty-btn:hover { background: rgba(255,255,255,0.22); }
.cart-qty-value {
  min-width: 32px;
  height: 28px;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
}

/* ── Toast Notifications ──────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  padding: 14px 20px;
  background: #111;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.28);
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.toast-in { transform: translateX(0); }
.toast-icon { font-size: 1.1rem; }

/* ── Checkout proceed button ──────────────────────────── */
.checkout-proceed-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 8px;
}

/* ── Promo Bar ─────────────────────────────────────────── */
.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  position: relative;
}
.promo-bar.hidden { display: none; }
#promoBarClose {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.6;
}
#promoBarClose:hover { opacity: 1; }
.discount-line {
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── First-order discount ──────────────────────────────── */
.first-order-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  border-radius: 4px;
  margin-bottom: 4px;
}
.first-order-badge {
  background: #4ade80;
  color: #111;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 3px;
}
.first-order-label {
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.subtotal-prices {
  display: flex;
  align-items: center;
  gap: 7px;
}
.price-original {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  text-decoration: line-through;
}

/* ── Lead Popup ──────────────────────────────────────────── */
.lead-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lead-backdrop--in { opacity: 1; }
.lead-backdrop--out { opacity: 0; pointer-events: none; }

.lead-modal {
  position: relative;
  background: #fff;
  width: min(440px, 100%);
  padding: 40px 36px 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
}
.lead-backdrop--in .lead-modal { transform: translateY(0); }

.lead-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 1px solid #e0e0e0;
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
  transition: color 0.15s, border-color 0.15s;
}
.lead-close:hover { color: #111; border-color: #111; }

.lead-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}
.lead-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.lead-text {
  margin: 0 0 22px;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}
.lead-form {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.lead-phone-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #d0d0d0;
  background: #fafafa;
  transition: border-color 0.15s;
  overflow: hidden;
}
.lead-phone-row:focus-within { border-color: #111; background: #fff; }

/* Country code dropdown wrapper */
.lead-phone-code-wrap {
  display: flex;
  align-items: center;
  border-right: 1px solid #d0d0d0;
  background: #f3f3f3;
  flex-shrink: 0;
}
.lead-country-select {
  height: 48px;
  min-height: 48px;
  padding: 0 8px;
  border: none !important;
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  outline: none;
  cursor: pointer;
  max-width: 160px;
  min-width: 120px;
}
.lead-country-select:focus { outline: none; }

.lead-phone-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  height: 48px;
  min-height: 48px;
  padding-left: 12px !important;
  min-width: 0;
}
.lead-phone-input:focus { outline: none; }
.lead-input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d0d0d0;
  background: #fafafa;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}
.lead-input:focus { border-color: #111; background: #fff; }
.lead-submit {
  height: 50px;
  background: #111;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s;
}
.lead-submit:hover { background: #333; }
.lead-submit:disabled { opacity: 0.5; cursor: default; }
.lead-skip {
  background: none;
  border: none;
  color: #aaa;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.15s;
}
.lead-skip:hover { color: #555; }
.lead-status {
  margin: 10px 0 0;
  font-size: 0.85rem;
  min-height: 20px;
}

/* ── Cookie Banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 24px;
  z-index: 190;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
}
.cookie-banner--in  { transform: translateY(0); }
.cookie-banner--out { transform: translateY(100%); pointer-events: none; }

.cookie-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  flex: 1 1 300px;
}
.cookie-link { color: #fff; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.cookie-accept {
  height: 38px;
  padding: 0 20px;
  background: #fff;
  color: #111;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}
.cookie-accept:hover { opacity: 0.85; }
.cookie-decline {
  height: 38px;
  padding: 0 14px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.28);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.7); }

/* ── Contact Section ─────────────────────────────────────── */
.contact-section {
  padding: 48px 0 36px;
  border-top: 1px solid var(--line-strong);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.contact-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 52ch;
}

.contact-actions {
  margin-top: 6px;
}

.contact-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  min-height: 50px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.contact-geo-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.contact-geo-note svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 6px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.contact-card-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 2px;
}

.contact-card strong {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.contact-email-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.86rem;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.contact-email-link:hover { opacity: 1; }

@media (max-width: 760px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── Constellation canvas (injected by particles.js) ────── */
#constellation-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Modals, overlays sit above canvas */
.modal-backdrop,
.lead-backdrop,
.cookie-banner,
.product-viewer-backdrop {
  z-index: 9998;
}
