/* ─────────────────────────────────────────────────────────────
   Karpett US — brand stylesheet
   Palette: Karpett Blue #132BE2 · Black · White (brandbook triad)
   UI surface tokens carried from karpett.am showroom.
   ───────────────────────────────────────────────────────────── */

/* Web fonts: subset to Latin + Armenian + Cyrillic, WOFF2, 134 KB in total (the desktop
   font files were 1.6 MB). Rebuild with pyftsubset when the character set must grow. */
@font-face { font-family: 'Helvetica Neue World'; src: url('/fonts/hnw-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Helvetica Neue World'; src: url('/fonts/hnw-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Helvetica Neue World'; src: url('/fonts/hnw-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/* Headings: Rational Display ExtraBold (Latin only; Armenian and Cyrillic headings fall
   back to Helvetica Neue World Bold). Declared for 600–900 so font-weight 700 finds it. */
@font-face { font-family: 'Rational Display'; src: url('/fonts/rational-800.woff2') format('woff2'); font-weight: 600 900; font-style: normal; font-display: swap; }

:root {
  --primary: #132BE2;
  --primary-light: #3249F5;
  --primary-fixed: #DCE0FF;
  --on-primary-fixed: #000E5C;
  --black: #000000;
  --dark-navy: #272D4E;
  --dark-text: #353535;
  --muted: #94A2B3;
  --background: #FFFFFF;
  --surface: #F7F8FA;
  --surface-dim: #EBEDF0;
  --border-light: #D8D8D8;
  --danger: #C92024;
  --ok: #0F5C30;
  --font-body: 'Helvetica Neue World', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Rational Display', 'Helvetica Neue World', 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1630px;                       /* same page width as karpett.am */
  --gutter: clamp(16px, 4vw, 40px);      /* same side gutter as karpett.am */
  --ink: #272D4E;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark-text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  /* Guard against phantom horizontal scroll from decorative absolutes
     (hover callouts, offset hero art). `clip` — not `hidden` — so no scroll
     container is created and position:sticky keeps working. */
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--black); line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
.wrap, .wrapper { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 34px; height: 3px; background: var(--primary); }

/* Brand logo (line + wordmark, brandbook proportions) */
.k-logo { display: inline-block; font-size: 1.45rem; line-height: 1; text-decoration: none; white-space: nowrap; font-family: var(--font-body); }
.k-logo .k-line { display: inline-block; width: 46px; height: 3px; background: var(--primary); margin-right: 13px; vertical-align: middle; }
.k-logo .k-word { font-weight: 700; font-size: inherit; letter-spacing: 0.01em; color: var(--black); }
.k-logo .k-tag  { display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; color: var(--primary); margin-left: 8px; position: relative; top: -0.95em; }
.k-logo.rev .k-line { background: #fff; }
.k-logo.rev .k-word { color: #fff; }

/* Buttons — pill CTAs are the only rounded brand element */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  padding: 14px 30px; border-radius: 999px; border: 2px solid var(--primary);
  background: var(--primary); color: #fff; cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.12s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--primary-light); border-color: var(--primary-light); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.ghost:hover { background: var(--primary-fixed); }
.btn.dark { background: var(--black); border-color: var(--black); }
.btn.sm { padding: 9px 20px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Placeholder-pricing ribbon */
.ph-ribbon {
  background: var(--black); color: #fff; text-align: center;
  font-size: 0.8rem; font-weight: 400; padding: 8px 16px;
}
.ph-ribbon strong { color: var(--primary-fixed); font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216,216,216,0.55);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--dark-text); font-weight: 400; font-size: 0.93rem; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.cart-count {
  min-width: 21px; height: 21px; border-radius: 999px; background: #fff; color: var(--primary);
  font-size: 0.72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px 4px;   /* the subset Helvetica carries a tall ascent: without this the digit sits ~2px low in the circle */
  line-height: 1;
}
.nav-burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2.5px; background: var(--black); margin: 5px 0; }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub { font-size: 1.12rem; color: var(--dark-text); max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; }
.hero-stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--black); }
.hero-stats span { font-size: 0.85rem; color: var(--muted); }

/* Hero mat preview card */
.hero-visual { position: relative; }
.mat-card {
  background: var(--surface); border: 1px solid var(--surface-dim);
  border-radius: var(--radius); padding: 34px; text-align: center;
}
.mat-thumb {
  border-radius: 8px; margin: 0 auto 18px; position: relative;
  box-shadow: 0 18px 40px -18px rgba(39,45,78,0.45);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mat-thumb .mat-border { position: absolute; inset: 0; border: 10px solid rgba(0,0,0,0.28); border-radius: 8px; pointer-events: none; }
.mat-thumb span { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.5rem; letter-spacing: 0.02em; }

/* Ground line — the brand's blue floor */
.ground { height: 3px; background: var(--primary); border: none; margin: 0; }
section { padding: 84px 0; }
section.alt { background: var(--surface); }

/* Product line cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.product-card {
  background: #fff; border: 1px solid var(--surface-dim); border-radius: var(--radius);
  padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 20px 44px -20px rgba(39,45,78,0.28); transform: translateY(-3px); }
.product-card.featured { border: 2px solid var(--primary); position: relative; }
.pc-badge {
  position: absolute; top: -13px; left: 26px; background: var(--primary); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.pc-visual { border-radius: 8px; height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pc-visual .mat-border { position: absolute; inset: 0; border: 8px solid rgba(0,0,0,0.25); border-radius: 8px; }
.pc-visual span { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.1rem; }
.pc-price { margin-top: auto; font-size: 0.9rem; color: var(--muted); }
.pc-price b { font-family: var(--font-display); font-size: 1.35rem; color: var(--black); display: block; }
.size-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.size-row select {
  flex: 1; min-width: 120px; padding: 11px 12px; border: 1.5px solid var(--border-light);
  border-radius: 8px; font-family: var(--font-body); font-size: 0.9rem; background: #fff;
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--surface-dim); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--primary-fixed);
  display: block; margin-bottom: 8px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.9rem; color: var(--dark-text); margin: 0; }

/* Benefits ticks */
.ticks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 34px; margin-top: 30px; }
.ticks li { list-style: none; padding-left: 26px; position: relative; font-size: 0.97rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 14.5px; width: 14px; height: 3px; background: var(--primary); }
.ticks { padding: 0; }

/* Pricing tables */
.price-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; align-items: stretch; }
/* Equal cards: the description takes the slack, so size rows and buttons line up across cards. */
.price-tables .price-table { display: flex; flex-direction: column; }
.price-tables .price-table .pt-head { flex: 1 1 auto; }
.price-table { background: #fff; border: 1px solid var(--surface-dim); border-radius: var(--radius); overflow: hidden; }
.pt-head { padding: 22px 24px 16px; border-bottom: 1px solid var(--surface-dim); }
.pt-head h3 { margin: 0 0 2px; }
.pt-head p { margin: 0; font-size: 0.84rem; color: var(--muted); }
.price-table table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.price-table td { padding: 11px 24px; border-bottom: 1px solid var(--surface); }
.price-table tr:last-child td { border-bottom: none; }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--black); }
.pt-foot { padding: 16px 24px 22px; }
.pt-foot .btn { width: 100%; }
.pt-note { font-size: 0.78rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Quantity discount strip */
.qty-strip { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.qty-strip span { background: var(--primary-fixed); color: var(--on-primary-fixed); font-weight: 700; font-size: 0.82rem; padding: 8px 18px; border-radius: 999px; }

/* Blue CTA band */
.cta-band { background: var(--primary); color: #fff; padding: 74px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--primary-fixed); max-width: 54ch; }
.cta-band .btn { background: #fff; color: var(--primary); border-color: #fff; }
.cta-band .btn:hover { background: var(--primary-fixed); border-color: var(--primary-fixed); }

/* FAQ */
.faq-list { margin-top: 40px; border-top: 1px solid var(--surface-dim); }
.faq-item { border-bottom: 1px solid var(--surface-dim); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px; font-weight: 700; font-family: var(--font-body); font-size: 1.02rem; color: var(--black);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); font-weight: 300; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 20px; margin: 0; color: var(--dark-text); max-width: 72ch; }

/* Footer */
.site-footer { background: var(--black); color: #fff; padding: 64px 0 34px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.78); font-weight: 300; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 46px; padding-top: 22px; font-size: 0.78rem; color: rgba(255,255,255,0.55); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-desc { color: rgba(255,255,255,0.7); font-size: 0.92rem; max-width: 38ch; margin-top: 14px; }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.83rem; font-weight: 700; color: var(--black); }
.field input, .field select, .field textarea {
  padding: 13px 14px; border: 1.5px solid var(--border-light); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.three { grid-template-columns: 2fr 1fr 1fr; }
.form-error { color: var(--danger); font-size: 0.85rem; }

/* Cart page */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; margin-top: 36px; }
.cart-items { display: grid; gap: 16px; }
.cart-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--surface-dim); border-radius: var(--radius); padding: 18px;
}
.ci-thumb { width: 92px; height: 64px; border-radius: 6px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ci-thumb img { max-width: 70%; max-height: 70%; object-fit: contain; }
.ci-thumb .mat-border { position: absolute; inset: 0; border: 5px solid rgba(0,0,0,0.25); border-radius: 6px; }
.ci-meta b { color: var(--black); }
.ci-meta small { display: block; color: var(--muted); font-size: 0.8rem; }
.ci-right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.qty-ctl { display: inline-flex; align-items: center; border: 1.5px solid var(--border-light); border-radius: 999px; overflow: hidden; }
.qty-ctl button { width: 32px; height: 32px; border: none; background: none; font-size: 1rem; cursor: pointer; color: var(--primary); font-weight: 700; }
.qty-ctl input { width: 40px; border: none; text-align: center; font-family: var(--font-body); font-size: 0.9rem; }
.ci-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.78rem; text-decoration: underline; }
.ci-remove:hover { color: var(--danger); }
.summary-card { background: var(--surface); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.summary-card h3 { margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; font-size: 0.95rem; padding: 7px 0; }
.sum-row.total { border-top: 2px solid var(--black); margin-top: 10px; padding-top: 14px; font-weight: 700; font-size: 1.15rem; color: var(--black); }
.cart-empty { text-align: center; padding: 70px 0; }
.cart-empty p { color: var(--muted); }

/* Status boxes */
.notice { border-radius: 10px; padding: 16px 18px; font-size: 0.9rem; margin: 18px 0; }
.notice.info { background: var(--primary-fixed); color: var(--on-primary-fixed); }
.notice.ok { background: #E4F3E9; color: var(--ok); }
.notice.err { background: #FDECEC; color: var(--danger); }

/* Toast */
#toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--black); color: #fff; padding: 13px 26px; border-radius: 999px;
  font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 100;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .product-grid, .price-tables, .steps { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px 26px; gap: 18px;
    border-bottom: 1px solid var(--surface-dim); align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .product-grid, .price-tables, .steps, .ticks, .field-row, .field-row.three { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-stats { gap: 24px; }
}

/* ── Real photography ── */
.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 54px -22px rgba(39,45,78,0.45); position: relative; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame .ph-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.62)); color: #fff; font-size: 0.8rem;
}
.pc-visual.photo { padding: 0; }
.pc-visual.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.why-photos .photo-frame { height: 100%; min-height: 220px; }
.why-photos .photo-frame:first-child { grid-row: span 2; min-height: 320px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.gallery-grid .photo-frame { aspect-ratio: 1; box-shadow: 0 16px 36px -18px rgba(39,45,78,0.35); }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .gallery-grid { grid-template-columns: 1fr; } .why-photos { grid-template-columns: 1fr; } }

/* ═══════════════ Design refinements v2 — editorial brand pass ═══════════════ */

::selection { background: var(--primary); color: #fff; }

/* Hero — bigger editorial type, staggered entrance, the blue ground line */
.hero { padding: 96px 0 92px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.04; }
.hero-visual { padding-bottom: 26px; }
.hero-visual::after {
  content: ''; position: absolute; left: -6%; right: -18%; bottom: 0; height: 3px;
  background: var(--primary);
}
.hero-visual .photo-frame { transform: rotate(-1.4deg); transition: transform 0.45s cubic-bezier(.2,.7,.2,1); }
.hero-visual .photo-frame:hover { transform: rotate(0deg); }
.hero-stats { border-top: 1px solid var(--surface-dim); padding-top: 24px; margin-top: 38px; }
.hero-stats > div { position: relative; padding-left: 16px; }
.hero-stats > div::before {
  content: ''; position: absolute; left: 0; top: 24px; height: 3px; width: 8px; background: var(--primary);
}
@keyframes k-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) both; }
.hero h1       { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .06s both; }
.hero-sub      { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .14s both; }
.hero-ctas     { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .22s both; }
.hero-stats    { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .32s both; }
.hero-visual   { animation: k-rise .75s cubic-bezier(.2,.7,.2,1) .18s both; }

/* Scroll reveal (elements get .reveal from js, .in when visible) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow, .hero h1, .hero-sub, .hero-ctas, .hero-stats, .hero-visual { animation: none; }
}

/* Photography micro-interactions */
.photo-frame { isolation: isolate; }
.photo-frame img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.photo-frame:hover img { transform: scale(1.045); }
.pc-visual.photo img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .pc-visual.photo img { transform: scale(1.06); }

/* Black panel mode — brandbook rhythm (white → surface → black → blue) */
section.dark { background: var(--black); }
section.dark h2 { color: #fff; }
section.dark p { color: rgba(255,255,255,0.72); }
section.dark .eyebrow { color: var(--primary-fixed); }
section.dark .photo-frame { box-shadow: 0 22px 52px -20px rgba(0,0,0,0.85); }

/* Steps — from boxed cards to editorial columns with the blue rule on top */
.steps { gap: 34px 28px; }
.step {
  background: transparent; border: none; border-radius: 0;
  border-top: 3px solid var(--surface-dim); padding: 20px 2px 0;
  transition: border-color .3s;
}
.step:hover { border-top-color: var(--primary); }
.step::before { color: var(--primary); opacity: 0.28; }

/* Buttons — lift + blue glow on hover */
.btn { will-change: transform; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(19, 43, 226, 0.6); }
.btn:active { transform: translateY(0); box-shadow: none; }
.cta-band .btn:hover { box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5); }

/* Nav — the blue line motif as hover underline */
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--primary); transition: right .28s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:not(.btn):hover::after { right: 0; }

/* Footer — typographic brand statement */
.footer-statement {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 46px; max-width: 22ch;
}
/* Gallery captions — slide up on hover for a cleaner grid at rest */
.gallery-grid .ph-cap { transform: translateY(6px); opacity: 0.85; transition: transform .35s, opacity .35s; }
.gallery-grid .photo-frame:hover .ph-cap { transform: none; opacity: 1; }

/* ═══════════════ Hero v3 — cinematic full-bleed + live name-on-mat ═══════════════ */

.hero-cine {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 72px); min-height: calc(100svh - 72px);
  display: flex; align-items: center;
  background: var(--black); padding: 90px 0;
  border-bottom: 3px solid var(--primary);   /* the brand ground line */
}
.hero-cine .hc-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  animation: hc-drift 26s ease-in-out infinite alternate;
}
@keyframes hc-drift { from { transform: scale(1.02); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero-cine .hc-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.12) 78%, rgba(0,0,0,0.05) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 32%);
}
.hc-content { position: relative; z-index: 2; width: 100%; }
.hero-cine .eyebrow { color: #fff; }
.hero-cine .eyebrow::before { background: var(--primary); }
.hero-cine h1 {
  color: #fff; font-size: clamp(2.8rem, 7vw, 5.4rem);
  letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 0.35em;
}
.hc-sub { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 44ch; margin-bottom: 30px; }

.hc-try { display: flex; gap: 10px; max-width: 520px; flex-wrap: wrap; }
.hc-try input {
  flex: 1; min-width: 230px; padding: 15px 24px;
  border: 2px solid rgba(255,255,255,0.35); border-radius: 999px;
  background: rgba(255,255,255,0.10); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-family: var(--font-body); font-size: 1rem; outline: none;
  transition: border-color .2s, background .2s;
}
.hc-try input::placeholder { color: rgba(255,255,255,0.6); }
.hc-try input:focus { border-color: var(--primary-light); background: rgba(255,255,255,0.16); }

.hc-alt { margin-top: 16px; font-size: 0.92rem; color: rgba(255,255,255,0.6); display: flex; gap: 10px; flex-wrap: wrap; }
.hc-alt a { color: rgba(255,255,255,0.85); font-weight: 400; }
.hc-alt a:hover { color: #fff; text-decoration: underline; }

.hc-stats { display: flex; gap: 44px; margin-top: 52px; border-top: 1px solid rgba(255,255,255,0.22); padding-top: 22px; max-width: 560px; }
.hc-stats > div { position: relative; padding-left: 16px; }
.hc-stats > div::before { content: ''; position: absolute; left: 0; top: 22px; height: 3px; width: 8px; background: var(--primary-light); }
.hc-stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff; }
.hc-stats span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* Entrance choreography */
.hero-cine .eyebrow { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) both; }
.hero-cine h1       { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .06s both; }
.hero-cine .hc-sub  { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .14s both; }
.hero-cine .hc-try  { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .22s both; }
.hero-cine .hc-alt  { animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .30s both; }
.hero-cine .hc-stats{ animation: k-rise .65s cubic-bezier(.2,.7,.2,1) .38s both; }

@media (max-width: 680px) {
  .hero-cine { min-height: 0; padding: 64px 0 56px; }
  .hc-stats { gap: 26px; margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cine .hc-bg { animation: none; }
  .hero-cine .eyebrow, .hero-cine h1, .hc-sub, .hc-try, .hc-alt, .hc-stats { animation: none; }
}

/* ═══════════════ Inside the mat — interactive hotspots ═══════════════ */

.im-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-top: 44px; }
.im-img-wrap { position: relative; width: 100%; }
.im-img { width: 100%; height: auto; display: block; }   /* height:auto — the width/height attributes must not squash the mat on phones */

.im-point { position: absolute; }
.im-point--backing { top: 22%; right: 27%; }
.im-point--yarn    { bottom: 28%; left: 23%; }

.im-hotspot {
  display: block; position: relative; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); cursor: pointer;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.95), 0 0 24px rgba(19,43,226,0.7);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1), background .3s;
}
.im-hotspot::before, .im-hotspot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--primary); opacity: 0; pointer-events: none;
  animation: im-ping 2.4s cubic-bezier(.4,0,.6,1) infinite;
}
.im-hotspot::after { animation-delay: 1.2s; }
@keyframes im-ping { 0% { transform: scale(1); opacity: .75; } 80%,100% { transform: scale(2.8); opacity: 0; } }

.im-point.active .im-hotspot {
  transform: scale(1.25); background: #fff;
  box-shadow: 0 0 0 4px var(--primary), 0 0 32px rgba(19,43,226,0.9);
}
.im-point.active .im-hotspot::before,
.im-point.active .im-hotspot::after { animation-play-state: paused; opacity: 0; }

.im-callout {
  position: absolute; width: 290px; background: var(--primary); color: #fff;
  padding: 14px 18px; opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 8px 32px rgba(19,43,226,0.28), 0 2px 8px rgba(0,0,0,0.10);
  z-index: 3;
}
.im-point--backing .im-callout { bottom: calc(50% + 12px); right: calc(50% + 12px); transform: translateY(6px); }
.im-point--yarn    .im-callout { top: calc(50% + 12px);    left:  calc(50% + 12px); transform: translateY(-6px); }
.im-point.active .im-callout { opacity: 1; transform: translateY(0); }
.im-callout-title { font-weight: 700; font-size: 0.95rem; line-height: 1.25; margin: 0 0 4px; color: #fff; }
.im-callout-text  { font-weight: 300; font-size: 0.9rem;  line-height: 1.35; margin: 0; color: #fff; }

/* Right-hand feature panel */
.im-panel { position: relative; }
.im-stage { position: relative; min-height: 290px; }
.im-feature {
  position: absolute; inset: 0; opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .5s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.im-feature.active { opacity: 1; transform: none; pointer-events: auto; }
.im-feature h3 { font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 0.5em; }
.im-feature p  { color: var(--dark-text); max-width: 46ch; }
.im-metrics { display: flex; gap: 44px; margin-top: 26px; border-top: 1px solid var(--surface-dim); padding-top: 22px; }
.im-metric { position: relative; padding-left: 16px; }
.im-metric::before { content: ''; position: absolute; left: 0; top: 20px; height: 3px; width: 8px; background: var(--primary); }
.im-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--black); line-height: 1.1; }
.im-unit { font-size: 0.95rem; margin-left: 3px; color: var(--primary); }
.im-label { font-size: 0.82rem; color: var(--muted); }

.im-dots { display: flex; gap: 10px; margin-top: 26px; }
.im-dot {
  width: 34px; height: 4px; border: none; padding: 0; cursor: pointer;
  background: var(--surface-dim); transition: background .3s;
}
.im-dot.active { background: var(--primary); }

@media (max-width: 960px) {
  .im-layout { grid-template-columns: 1fr; gap: 0; }
  .im-panel { display: none; }   /* Haik 2026-10-15: on phones the picture with its blue callouts is enough */
  .im-stage { min-height: 320px; }
  .im-callout { width: 220px; padding: 10px 14px; }
  .im-callout-title { font-size: 0.85rem; }
  .im-callout-text { font-size: 0.8rem; }
}
@media (max-width: 680px) {
  .im-metrics { gap: 26px; }
  .im-num { font-size: 1.6rem; }
  /* Keep both callouts inside the picture on phones: the backing box opens down-left,
     the yarn box up-right. Before, the backing box climbed over the paragraph above. */
  /* Later phone rules set .im-callout to width:auto (shrink-to-fit inside the 22px point): win on specificity. */
  .im-img-wrap .im-callout { width: min(220px, 60vw); max-width: none; }
  .im-point--backing .im-callout { top: calc(50% + 12px); bottom: auto; right: calc(50% + 12px); left: auto; transform: translateY(-6px); }
  .im-point--yarn    .im-callout { bottom: calc(50% + 12px); top: auto; left: calc(50% + 12px); transform: translateY(6px); }
  .im-point.active .im-callout { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .im-hotspot::before, .im-hotspot::after { animation: none; }
}

/* ═══════════════ Product detail pages ═══════════════ */

.pc-title-link { color: inherit; }
.pc-title-link:hover { color: var(--primary); }
a.pc-visual { display: block; cursor: pointer; }
.pc-more {
  margin-top: 4px; font-size: 0.83rem; font-weight: 700; color: var(--primary);
  display: inline-block;
}
.pc-more:hover { text-decoration: underline; }

.pd-hero { padding: 40px 0 68px; }
.pd-crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 26px; }
.pd-crumbs a { color: var(--muted); }
.pd-crumbs a:hover { color: var(--primary); }
.pd-crumbs span { margin: 0 6px; opacity: 0.5; }
.pd-crumbs em { font-style: normal; color: var(--black); font-weight: 700; }
.pd-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pd-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; }
.pd-lede { font-size: 1.08rem; max-width: 48ch; }
.pd-from { margin-top: 20px; font-size: 0.9rem; color: var(--muted); }
.pd-from b { font-family: var(--font-display); font-size: 1.9rem; color: var(--black); display: inline-block; margin-right: 6px; }
.pd-hero-visual .photo-frame { transform: rotate(-1.2deg); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pd-hero-visual .photo-frame:hover { transform: rotate(0deg); }

.pd-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 44px; margin-top: 44px; }
.pd-feature { border-top: 3px solid var(--surface-dim); padding-top: 20px; transition: border-color .3s; }
.pd-feature:hover { border-top-color: var(--primary); }
.pd-feature h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.pd-feature p { font-size: 0.94rem; margin: 0; }

.pd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Color swatch card */
.swatch-card {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 16px;
  background: #fff; border: 1px solid var(--surface-dim); border-radius: var(--radius);
  padding: 24px; margin-top: 26px;
}
.swatch { display: grid; gap: 8px; }
.swatch-chip {
  display: block; aspect-ratio: 1.35; border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 6px 16px -8px rgba(39,45,78,0.4);
}
.swatch-name { font-size: 0.78rem; color: var(--dark-text); line-height: 1.25; }
.swatch-widths { display: block; font-size: 0.68rem; color: var(--muted); margin-top: 2px; }

/* Logo mats — 130-color print wall */
.print-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 5px;
  background: #fff; border: 1px solid var(--surface-dim); border-radius: var(--radius);
  padding: 18px; margin-top: 26px;
}
.pw-chip {
  display: block; aspect-ratio: 1; border-radius: 5px; cursor: default;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.14);
  transition: transform 0.12s ease;
}
.pw-chip:hover { transform: scale(1.35); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2), 0 4px 10px -4px rgba(39,45,78,0.5); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 0.93rem; }
.spec-table td { padding: 13px 0; border-bottom: 1px solid var(--surface-dim); vertical-align: top; }
.spec-table td:first-child { color: var(--muted); width: 38%; padding-right: 18px; }
.spec-table td:last-child { color: var(--black); }
.spec-table tr:last-child td { border-bottom: none; }

/* Order panel */
.pd-order { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 40px; }
.pd-swatch-preview {
  position: relative; border-radius: 10px; aspect-ratio: 1.5;
  display: flex; align-items: flex-end; justify-content: flex-start;
  box-shadow: 0 24px 54px -22px rgba(39,45,78,0.5);
  transition: background .35s ease;
}
.pd-swatch-preview .mat-border { position: absolute; inset: 0; border: 12px solid rgba(0,0,0,0.28); border-radius: 10px; pointer-events: none; }
.pd-preview-label {
  position: relative; color: #fff; font-size: 0.85rem; font-weight: 700;
  padding: 20px 24px; text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.pd-order-form { background: var(--surface); border-radius: var(--radius); padding: 30px; }
.pd-qty-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 20px; }
.pd-qty-label { display: block; font-size: 0.83rem; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.pd-order-form .price-box { text-align: right; }
.pd-order-form .price-box .unit { font-size: 0.78rem; color: var(--muted); }
.pd-order-form .price-box .total { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--black); line-height: 1.1; }
.pd-order-form .price-box .disc { font-size: 0.74rem; color: var(--ok); font-weight: 700; }

/* Logo-mat: two ordering paths */
.pd-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.pd-path { background: #fff; border: 1px solid var(--surface-dim); border-radius: var(--radius); padding: 30px 28px; }
.pd-path h3 { font-size: 1.15rem; }
.pd-path p { font-size: 0.93rem; }
.pd-path .btn { margin-top: 6px; }

/* Related lines */
.pd-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.pd-rel-card {
  display: flex; flex-direction: column; gap: 10px; color: inherit;
  background: #fff; border: 1px solid var(--surface-dim); border-radius: var(--radius);
  padding: 18px 18px 22px; transition: box-shadow .2s, transform .2s;
}
.pd-rel-card:hover { box-shadow: 0 20px 44px -20px rgba(39,45,78,0.28); transform: translateY(-3px); }
.pd-rel-card .photo-frame { aspect-ratio: 1.5; box-shadow: none; }
.pd-rel-card h3 { font-size: 1rem; margin: 0; }
.pd-rel-card p { font-size: 0.85rem; color: var(--dark-text); margin: 0; }
.pd-rel-price { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--primary); }

@media (max-width: 960px) {
  .pd-hero-grid, .pd-two, .pd-order, .pd-paths { grid-template-columns: 1fr; gap: 34px; }
  .pd-features { grid-template-columns: 1fr; gap: 26px; }
  .pd-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .pd-related { grid-template-columns: 1fr; }
}

/* ═══════════════ Uniform product cards ═══════════════ */

/* Every card is the same machine: image, body, foot, link. Grid rows
   are locked so price and buttons align across the whole row. */
.product-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0;
  padding: 0 0 22px;
  overflow: hidden;
}
.product-card .pc-visual { height: 200px; border-radius: 0; margin-bottom: 0; }
.product-card.featured .pc-visual { height: 200px; }
.pc-body { padding: 24px 26px 0; display: flex; flex-direction: column; gap: 10px; }
.pc-body h3 { font-size: 1.15rem; margin: 0; line-height: 1.25; }
.pc-line { font-size: 0.9rem; color: var(--dark-text); margin: 0; }

.pc-chips { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-chips li {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--on-primary-fixed); background: var(--primary-fixed);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}

.pc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 26px 0; margin-top: 18px;
  border-top: 1px solid var(--surface-dim);
}
.pc-foot .pc-price { margin: 0; font-size: 0.82rem; }
.pc-foot .pc-price b { font-size: 1.4rem; display: block; line-height: 1.15; }
.pc-foot .btn { flex-shrink: 0; }
.product-card .pc-more { padding: 12px 26px 0; margin: 0; }

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

/* ═══════════════ Quick-add drawer ═══════════════ */

.qa-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 90;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.qa-scrim.open { opacity: 1; pointer-events: auto; }

.qa-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw;
  background: #fff; z-index: 95; padding: 30px 32px 34px;
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
  transform: translateX(100%); transition: transform .38s cubic-bezier(.16,1,.3,1);
  box-shadow: -20px 0 60px -20px rgba(39,45,78,0.4);
}
.qa-drawer.open { transform: none; }
.qa-x {
  position: absolute; top: 18px; right: 20px; width: 34px; height: 34px;
  border: none; background: none; font-size: 1.6rem; line-height: 1;
  color: var(--muted); cursor: pointer; border-radius: 50%;
}
.qa-x:hover { color: var(--black); background: var(--surface); }
.qa-head { padding-right: 40px; }
.qa-head h3 { margin: 0; font-size: 1.35rem; line-height: 1.2; }

.qa-preview {
  position: relative; border-radius: 10px; aspect-ratio: 1.7;
  display: flex; align-items: flex-end; transition: background .35s ease;
  box-shadow: 0 18px 40px -18px rgba(39,45,78,0.5);
}
.qa-preview .mat-border { position: absolute; inset: 0; border: 10px solid rgba(0,0,0,0.28); border-radius: 10px; pointer-events: none; }
.qa-preview-label {
  position: relative; color: #fff; font-size: 0.8rem; font-weight: 700;
  padding: 16px 18px; text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.qa-fields { display: grid; gap: 2px; }
.qa-fields .field { margin-bottom: 12px; }
.qa-qty-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 4px; }
.qa-drawer .price-box { text-align: right; }
.qa-drawer .price-box .unit { font-size: 0.76rem; color: var(--muted); }
.qa-drawer .price-box .total { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--black); line-height: 1.1; }
.qa-drawer .price-box .disc { font-size: 0.72rem; color: var(--ok); font-weight: 700; }
.qa-detail-link { font-size: 0.85rem; font-weight: 700; text-align: center; }
.qa-detail-link:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .qa-drawer { top: auto; width: 100%; max-width: none; border-radius: 18px 18px 0 0; transform: translateY(100%); max-height: 92vh; }
  .qa-drawer.open { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qa-drawer, .qa-scrim { transition: none; }
}

/* ── Mobile ergonomics (phones) ─────────────────────────────────── */
@media (max-width: 680px) {
  /* iOS Safari force-zooms any focused form control under 16px —
     keep every input the user actually types in at 16px on phones. */
  .field input, .field select, .field textarea,
  .qty-ctl input, .slider-line input[type=number] { font-size: 16px; }
  /* Finger-sized quantity steppers (were 32px). */
  .qty-ctl button { width: 42px; height: 42px; font-size: 1.15rem; }
  .qty-ctl input { width: 44px; }
  /* Hero: hide the "·" between the two alt links once they stack. */
  .hc-alt span { display: none; }
  /* Photo hotspot callouts: clamp so they can't reach past the viewport
     (they were the source of the sideways-scroll white gap). */
  .im-callout { width: auto; max-width: min(290px, 62vw); }
}

/* ─────────────────────────────────────────────────────────────
   Karpett AM shop — additions on top of the US stylesheet
   ───────────────────────────────────────────────────────────── */
.lang-switch { display: inline-flex; gap: 4px; align-items: center; margin-left: 6px; }
.lang-switch a { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; padding: 5px 8px; border-radius: 999px; color: var(--muted); }
.lang-switch a.on { color: var(--primary); background: var(--primary-fixed); }
.nav-links .lang-switch a:not(.btn)::after { display: none; }
.btn.ghost.light { color: #fff; border-color: #fff; }
.btn.ghost.light:hover { background: rgba(255,255,255,0.14); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.product-grid.four { grid-template-columns: repeat(4, 1fr); }
.price-tables.four { grid-template-columns: repeat(4, 1fr); }
.price-table .pt-foot .btn { width: 100%; }
@media (max-width: 1100px) {
  .product-grid.four, .price-tables.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .product-grid.four, .price-tables.four { grid-template-columns: 1fr; }
  .lang-switch { margin: 6px 0 0; }
}

/* ── Four-up product cards (AM shop has 4 lines, not 3) ──────────────
   At 4 columns a card is ~260px: the price+button footer must stack and
   the columns must be allowed to shrink (min-width:0), otherwise the
   card's content overflows and gets clipped by overflow:hidden. */
.product-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-grid.four .product-card > * { min-width: 0; }
.product-grid.four .product-card .pc-visual { height: 190px; }
.product-grid.four .pc-body { padding: 22px 22px 0; }
.product-grid.four .pc-line { min-height: 2.8em; }
.product-grid.four .pc-foot {
  flex-direction: column; align-items: stretch; gap: 12px;
  padding: 18px 22px 0; margin-top: 16px;
}
.product-grid.four .pc-foot .pc-price { display: flex; align-items: baseline; gap: 8px; }
.product-grid.four .pc-foot .pc-price b { display: inline; font-size: 1.5rem; }
.product-grid.four .pc-foot .btn { width: 100%; text-align: center; }
.product-grid.four .product-card .pc-more { padding: 12px 22px 0; white-space: normal; line-height: 1.35; }
.product-grid.four .pc-badge { left: 22px; }

/* Four price tables: equal height, buttons on one baseline. */
.price-tables.four { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.price-tables.four .price-table { display: flex; flex-direction: column; }
.price-tables.four .price-table .pt-foot { margin-top: auto; }
.price-tables.four .price-table td { padding: 11px 20px; }
.price-tables.four .pt-head { padding: 20px 20px 14px; }
.price-tables.four .pt-foot { padding: 16px 20px 20px; }

@media (max-width: 1100px) {
  .product-grid.four, .price-tables.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .product-grid.four .pc-foot { flex-direction: row; align-items: center; }
  .product-grid.four .pc-foot .btn { width: auto; }
  .product-grid.four .pc-foot .pc-price { display: block; }
  .product-grid.four .pc-foot .pc-price b { display: block; font-size: 1.4rem; }
}
@media (max-width: 640px) {
  .product-grid.four, .price-tables.four { grid-template-columns: minmax(0, 1fr); }
}
/* The card clips overflow, so a badge hanging above the top edge was invisible.
   Sit it inside the photo instead. */
.product-card .pc-badge { top: 14px; left: 14px; z-index: 2; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5); }
/* Hero stat row on phones: three columns squeezed "1–2 days" onto two lines. */
@media (max-width: 640px) {
  .hc-stats { flex-wrap: wrap; gap: 18px 28px; margin-top: 36px; }
  .hc-stats > div { flex: 1 1 40%; }
  .hc-stats b { font-size: 1.35rem; white-space: nowrap; }
}

/* ── Stock line (quick-add, product page, cart) ───────────────────── */
.stock { font-size: 0.82rem; font-weight: 700; min-height: 1.2em; margin: -6px 0 14px; }
.stock.in  { color: var(--ok); }
.stock.low { color: #A8560B; }
.stock.out { color: var(--danger); }
.stock:empty { display: none; }
.ci-meta .stock { margin: 4px 0 0; }
.btn[disabled], .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Product video + gallery ──────────────────────────────────────── */
.pd-video { margin-top: 34px; aspect-ratio: 16 / 9; background: var(--black); }
.pd-video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.pd-gallery { margin-top: 22px; display: grid; gap: 14px; }
.pd-gallery .photo-frame { aspect-ratio: 4 / 3; }


/* ═══════════════════════════════════════════════════════════════════
   Header + hero — ported from karpett.am (structure, sizes, behavior)
   ═══════════════════════════════════════════════════════════════════ */
/* The wordmark "karpett": Rational Display SemiBold, only the six letters it needs (1 KB). */
@font-face { font-family: 'Karpett Display'; src: url('/fonts/rational-wordmark.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* Old US header is gone */
.site-header, .nav-links, .nav-burger { display: none; }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid rgba(19, 43, 226, 0.10);
  transition: background-color .4s, border-bottom-color .4s, box-shadow .4s;
}
.header .ph-ribbon { position: static; }
.header_inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 56px; }
.header_logo { --wordmark-size: 25px; display: flex; align-items: center; gap: calc(1.1 * var(--wordmark-size)); text-decoration: none; padding-left: 40px; }
.header_logo-line { width: calc(5 * var(--wordmark-size)); height: calc(.12 * var(--wordmark-size)); background: var(--primary); flex-shrink: 0; transition: background-color .4s; }
.header_logo-wordmark {
  font-family: 'Karpett Display', 'Helvetica Neue World', sans-serif; font-weight: 600; font-synthesis: none;
  font-size: var(--wordmark-size); line-height: 1; letter-spacing: -0.02em; color: var(--ink);
  text-transform: lowercase; white-space: nowrap; transition: color .4s;
}
.header_left { display: flex; align-items: stretch; margin-left: auto; }
.header_menu { display: flex; align-items: stretch; gap: 18px; }
.header_menu-item {
  font-family: 'Helvetica Neue World', sans-serif; font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--ink);
  position: relative; padding: 14px 16px; text-align: center; display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.header_menu-item::before { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--primary); opacity: 0; transition: opacity .2s; }
.header_menu-item:hover { color: var(--primary); }
.header_menu-item:hover::before { opacity: 1; }
.header_lang { display: flex; gap: 10px; align-items: center; margin-left: 24px; padding-left: 24px; position: relative; }
.header_lang::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1.5px; background: rgba(19, 43, 226, 0.15); }
.header_lang-btn { font-family: 'Helvetica Neue World', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: rgba(39, 45, 78, 0.35); transition: color .2s; }
.header_lang-btn:hover { color: rgba(39, 45, 78, 0.7); }
.header_lang-btn--active { color: var(--ink); }
.header_cart {
  align-self: center; margin-left: 24px; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Helvetica Neue World', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.04em;
  color: #fff; background: var(--primary); border: 1.5px solid var(--primary); border-radius: 999px; padding: 8px 16px;
  transition: background-color .3s, border-color .3s, color .3s;
}
.header_cart .cart-count { background: #fff; color: var(--primary); }
.header_cart-icon { display: none; flex: none; }
.header-burger { --color: var(--ink); width: 36px; height: 36px; padding: 0; margin: 0; outline: none; position: relative; border: 0; background: none; cursor: pointer; display: none; align-self: center; -webkit-tap-highlight-color: transparent; }
.header-burger svg { width: 48px; height: 48px; position: absolute; top: -6px; left: -6px; stroke: var(--color); stroke-width: 3px; stroke-linecap: round; stroke-linejoin: round; fill: none; display: block; }
.header-burger svg path { transition: stroke-dasharray .85s ease, stroke-dashoffset .85s ease, stroke .4s; stroke-dasharray: var(--array-1, 26px) var(--array-2, 100px); stroke-dashoffset: var(--offset, 126px); }
.header-burger svg path:nth-child(2) { --offset: 100px; --array-2: 74px; }
.header-burger svg path:nth-child(3) { --offset: 133px; --array-2: 107px; }
.header-burger.active svg path { --offset: 57px; }
.header-burger.active svg path:nth-child(2) { --offset: 2px; --array-1: 1px; }
.header-burger.active svg path:nth-child(3) { --offset: 58px; }

/* Over the hero: transparent, white type (karpett.am `header--over-hero`) */
.header--over-hero { background: transparent; border-bottom-color: rgba(255, 255, 255, 0.15); }
.header--over-hero .header_logo-line { background: #fff; }
.header--over-hero .header_logo-wordmark, .header--over-hero .header_menu-item { color: #fff; }
.header--over-hero .header_lang-btn { color: rgba(255, 255, 255, 0.6); }
.header--over-hero .header_lang-btn:hover { color: rgba(255, 255, 255, 0.85); }
.header--over-hero .header_lang-btn--active { color: #fff; }
.header--over-hero .header_lang::before { background: rgba(255, 255, 255, 0.3); }
.header--over-hero .header_cart { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.header--over-hero .header_cart .cart-count { background: #fff; color: var(--primary); }
.header--over-hero .header-burger { --color: #fff; }
/* Scrolled past the hero: solid, with a soft shadow */
.header--solid { box-shadow: 0 6px 24px -18px rgba(39, 45, 78, 0.35); }

/* Pages without a hero start below the fixed header */
body.no-hero { padding-top: var(--header-h, 64px); }

@media (max-width: 1270px) { .header_menu-item { font-size: 12px; padding: 14px 10px; } .header_logo { padding-left: 0; } }
@media (max-width: 880px) {
  .header_left { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--surface); padding: 22px var(--gutter) 30px; box-shadow: 0 6px 34px rgba(39, 45, 78, 0.10); flex-direction: column; align-items: center; }
  .header_left.open { display: flex; }
  .header_menu { flex-direction: column; align-items: center; width: 100%; gap: 0; }
  .header_menu-item { font-size: 17px; padding: 11px 0; color: rgba(39, 45, 78, 0.65) !important; }
  .header_menu-item::before { display: none; }
  .header_lang { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(39, 45, 78, 0.10); width: 100%; justify-content: center; }
  .header_lang::before { display: none; }
  .header_lang-btn { font-size: 12px; letter-spacing: 0.15em; color: rgba(39, 45, 78, 0.35) !important; }
  .header_lang-btn--active { color: var(--ink) !important; }
  /* The cart stays in the bar on phones (icon + count), next to the menu button. */
  .header_cart { margin: 0 14px 0 auto; padding: 7px 12px; gap: 6px; }
  .header_cart-label { display: none; }
  .header_cart-icon { display: block; }
  .header-burger { display: flex; }
  .header_inner { align-items: center; min-height: 60px; }
}

/* Hero — karpett.am `.intro-hero` */
.intro-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; isolation: isolate; padding-top: 90px; background: var(--ink); }
.intro-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.intro-hero__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(39, 45, 78, 0.55), rgba(39, 45, 78, 0.75)); z-index: -1; }
.intro-hero__inner { padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 1100px) { .intro-hero__inner { padding-left: 64px; } }   /* karpett.am: 80px 40px 80px 64px */
.intro-hero__content { max-width: 820px; }
.intro-hero__title { color: #fff; font-size: clamp(28px, 5.4vw, 68px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 clamp(12px, 2vw, 24px); }
.intro-hero__text { color: rgba(255, 255, 255, 0.85); font-size: clamp(14px, 1.3vw, 18px); line-height: 1.55; margin: 0 0 clamp(20px, 3vw, 32px); max-width: 620px; }
.intro-hero__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: clamp(12px, 1.6vw, 16px) clamp(20px, 3vw, 32px); background: var(--primary); color: #fff; border-radius: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s;
}
.intro-hero__btn:hover { background: #0F22B8; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(19, 43, 226, 0.4); }
.intro-hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 2vw, 48px); margin-top: clamp(20px, 4vw, 56px); max-width: 440px; }
.intro-hero__stats .intro_stat { display: flex; flex-direction: column; min-width: 0; }
.intro-hero__stats .intro_stat-number { font-family: var(--font-display); color: #fff; font-size: clamp(20px, 3.2vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.intro-hero__stats .intro_stat-label { color: rgba(255, 255, 255, 0.75); font-size: clamp(10px, 0.95vw, 14px); line-height: 1.25; margin-top: 4px; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .intro-hero__inner { padding-top: 32px; padding-bottom: 32px; }
  .intro-hero__stats { display: none; }
}
@media (prefers-reduced-motion: reduce) { .intro-hero__btn:hover { transform: none; } }


/* ═══════════════════════════════════════════════════════════════════
   Phone pass (≤ 680px unless noted)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  /* Fixed header: keep it short. Ribbon becomes one small line. */
  .ph-ribbon { font-size: 11px; padding: 6px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header_inner { min-height: 56px; }
  .header_logo { --wordmark-size: 22px; }

  /* Two-column sections written inline (why section) collapse to one column. */
  [data-two-col] { grid-template-columns: 1fr !important; gap: 28px !important; }
  .why-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-photos .photo-frame { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .why-photos .photo-frame:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; min-height: 0; }

  /* Rhythm */
  section { padding: 52px 0; }
  h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .eyebrow { margin-bottom: 12px; }

  /* Inside the mat: metrics side by side, dots under */
  .im-metrics { gap: 22px; }
  .im-callout { max-width: min(220px, 60vw); }

  /* Steps: compact list */
  .steps { gap: 22px; margin-top: 28px; }

  /* Price tables: no lift on the featured one, tighter cells */
  .price-tables { gap: 16px; margin-top: 28px; }
  .price-table td { padding: 10px 18px; }
  .qty-strip { gap: 8px; margin-top: 20px; }
  .qty-strip span { font-size: 0.76rem; padding: 7px 12px; }

  /* CTA band */
  .cta-band { padding: 52px 0; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start !important; }

  /* Product page */
  .pd-hero { padding: 16px 0 44px; }
  .pd-crumbs { font-size: 0.78rem; }
  .pd-hero-grid { gap: 26px; }
  .pd-from b { font-size: 1.7rem; }
  .pd-swatch-preview { max-height: 200px; }
  .pd-order { gap: 22px; margin-top: 24px; }
  .pd-order-form { padding: 20px; }
  .spec-table td { padding: 10px 8px; font-size: 0.9rem; }
  .spec-table td:first-child { width: 38%; }

  /* Cart */
  .cart-layout { gap: 26px; margin-top: 22px; }
  .cart-item { padding: 14px; gap: 12px; }
  .ci-thumb { width: 64px; height: 48px; }
  .summary-card { position: static; padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .site-footer { padding: 48px 0 28px; }
  .site-footer .cols { gap: 26px; }
  .footer-statement { font-size: 1.6rem; }
}

/* Sticky add-to-cart bar on product pages (phones and small tablets) */
.pd-sticky { display: none; }
@media (max-width: 860px) {
  .pd-sticky {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--surface-dim);
    box-shadow: 0 -10px 30px -18px rgba(39, 45, 78, 0.35);
    transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
  }
  .pd-sticky.show { transform: none; }
  .pd-sticky-info { display: grid; line-height: 1.15; min-width: 0; }
  .pd-sticky-info b { font-family: var(--font-display); font-size: 1.15rem; color: var(--black); }
  .pd-sticky-info small { font-size: 0.75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pd-sticky .btn { flex-shrink: 0; padding: 12px 22px; }
  body.has-pd-sticky { padding-bottom: 80px; }
  body.has-pd-sticky #toast { bottom: 96px; }
}

@media (max-width: 680px) {
  /* Cart line: thumb + name on the first row, price / qty / remove on a full-width second row */
  .cart-item { grid-template-columns: 64px 1fr; gap: 12px 14px; align-items: start; }
  .ci-right { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 10px; border-top: 1px solid var(--surface); padding-top: 12px; }
  .ci-right > b { font-size: 1.05rem; }
}

/* ── Payment choice at checkout ─────────────────────────────────── */
.pay-choice { display: grid; gap: 10px; margin-top: 14px; }
.pay-opt { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--border-light); border-radius: 10px; cursor: pointer; transition: border-color var(--t, .2s); }
.pay-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-fixed); }
.pay-opt input { margin-top: 3px; accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.pay-opt b { display: block; color: var(--black); }
.pay-opt small { display: block; color: var(--dark-text); font-size: 0.85rem; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════
   Compare — minimal: hairline rules, one black pie ("Harvey ball") per score,
   filled by score / 5, small muted numeral beside it. Chosen by Haik on
   2026-10-15 over the blue lines: with the logo line and the eyebrow lines
   the page carried too much blue. Blue stays on the eyebrow only.
   ═══════════════════════════════════════════════════════════════════ */
section#compare > .wrap > p { max-width: 58ch; }
.cmp { margin-top: 48px; --cmp-cols: 3; }
.cmp-row { display: grid; grid-template-columns: minmax(180px, 0.9fr) repeat(var(--cmp-cols), minmax(0, 1fr)); gap: 12px 48px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--surface-dim); transition: border-color .3s; }
.cmp-row:hover, .cmp-row:focus-within { border-bottom-color: var(--black); }
.cmp-head { align-items: end; padding: 0 0 14px; border-bottom: 1px solid var(--black); }
.cmp-head .cmp-cell { display: block; min-width: 0; }
.cmp-head a { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.3vw, 1.2rem); letter-spacing: -0.01em; color: var(--black); text-decoration: none; line-height: 1.1; outline: none; }
.cmp-head a:hover { color: var(--primary); }
.cmp-head a:focus-visible { box-shadow: 0 3px 0 var(--primary); }
.cmp-prop { font-size: 0.98rem; color: var(--black); }
.cmp-cell { display: flex; align-items: center; gap: 14px; min-width: 0; }
@property --cmp-fill { syntax: '<number>'; inherits: false; initial-value: 0; }
.cmp-ball { --cmp-fill: var(--v, 0); flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--black); background: conic-gradient(var(--black) calc(var(--cmp-fill) * 100%), transparent 0); }
.cmp-ball.zero { border-color: var(--border-light); background: none; }
.cmp-ball.na { border: 1.5px dashed var(--border-light); background: none; }
.cmp-num { font-size: 0.86rem; color: var(--dark-text); font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: left; flex: none; }
.cmp-num.zero { color: var(--muted); }
.cmp-na { font-size: 0.8rem; color: var(--dark-text); line-height: 1.25; flex: none; }
.cmp-foot { padding: 14px 0 0; }
.cmp-legend { margin: 0; font-size: 0.8rem; color: var(--muted); }

/* One authored moment: each pie fills clockwise as its row enters
   (browsers without @property just show the final state). */
.cmp-row.reveal .cmp-ball { --cmp-fill: 0; }
.cmp-row.reveal.in .cmp-ball { --cmp-fill: var(--v, 0); transition: --cmp-fill .7s cubic-bezier(.2,.7,.2,1) .1s; }
.cmp-row.reveal .cmp-num, .cmp-row.reveal .cmp-na { opacity: 0; transition: opacity .5s ease .5s; }
.cmp-row.reveal.in .cmp-num, .cmp-row.reveal.in .cmp-na { opacity: 1; }
.cmp-row.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cmp-row.reveal .cmp-ball { --cmp-fill: var(--v, 0) !important; transition: none !important; }
  .cmp-row.reveal .cmp-num, .cmp-row.reveal .cmp-na { opacity: 1 !important; transition: none !important; }
}

/* Single-mat strip on the product page — same pies */
.cmp-strip-h { margin-top: 52px; font-size: 1.05rem; }
.cmp-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 32px; margin-top: 18px; }
.cmp-item { border-top: 1px solid var(--surface-dim); padding-top: 12px; }
.cmp-item .cmp-prop { display: block; font-size: 0.88rem; color: var(--black); margin-bottom: 12px; }

@media (max-width: 860px) {
  .cmp-strip { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .cmp-row { gap: 12px 24px; }
}
@media (max-width: 640px) {
  .cmp { margin-top: 32px; }
  .cmp-row { grid-template-columns: repeat(var(--cmp-cols), minmax(0, 1fr)); gap: 12px 14px; padding: 16px 0; }
  .cmp-row .cmp-prop { grid-column: 1 / -1; font-size: 0.92rem; }
  .cmp-head { align-items: start; padding-bottom: 12px; }
  .cmp-head .cmp-prop { display: none; }
  .cmp-head a { font-size: 0.88rem; }
  .cmp-cell { gap: 8px; }
  .cmp-ball { width: 20px; height: 20px; }
  .cmp-num { font-size: 0.78rem; min-width: 2ch; }
  .cmp-na { font-size: 0.7rem; }
  .cmp-ball.na { display: none; }
}

/* Checkout: the phone-or-email rule under the email field */
.field-hint { display: block; margin-top: 8px; font-size: 0.82rem; line-height: 1.4; color: var(--dark-text); }
/* Legal pages */
.legal { max-width: 72ch; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.2em; }
.legal p, .legal li { font-size: 1rem; line-height: 1.6; }
.legal ul { padding-left: 1.2em; }
.legal .legal-meta { color: var(--dark-text); font-size: 0.88rem; }
.legal address { font-style: normal; line-height: 1.6; margin-top: 1em; }

/* Thank-you page: three steps side by side, stacked on phones (was an inline style that
   ignored the phone rule and overflowed in Armenian). */
.steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; margin-top: 34px; }
@media (max-width: 680px) { .steps--three { grid-template-columns: minmax(0, 1fr); } }
