/* ==========================================================================
   Nemika Ялинки — Nordic Atelier Design System (v2: 56 SKUs + Perfect Fit)
   ========================================================================== */

:root {
  --emerald-950: #071e15;
  --emerald-900: #0b2c1e;
  --emerald-800: #134a34;
  --emerald-700: #1c6245;

  --parchment-50: #fffcf6;
  --parchment-100: #f5efe3;
  --parchment-200: #eae0ce;
  --parchment-300: #d6cab5;

  --ink-900: #15241d;
  --ink-600: #515e56;

  --brass-500: #b88e35;
  --brass-300: #e2c57e;

  --berry-600: #b82936;
  --berry-700: #931d28;

  --bg-page: var(--parchment-100);
  --bg-surface: var(--parchment-50);
  --bg-subtle: var(--parchment-200);
  --bg-hero: var(--emerald-900);
  --text-primary: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-on-hero: #f5efe3;
  --text-on-hero-muted: #c7d5cd;
  --border: var(--parchment-300);
  --accent: var(--emerald-800);
  --accent-soft: #e2ebe5;
  --brass: var(--brass-500);
  --cta-bg: var(--berry-600);
  --cta-hover: var(--berry-700);
  --cta-text: #fffcf6;

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Golos Text", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-soft: 0 14px 36px -14px rgba(11, 44, 30, 0.14);
}

[data-theme="evening"] {
  --bg-page: #081f15;
  --bg-surface: #0e2d20;
  --bg-subtle: #143a2a;
  --bg-hero: #061810;
  --text-primary: #f5efe3;
  --text-muted: #b7c8bf;
  --text-on-hero: #f5efe3;
  --text-on-hero-muted: #b7c8bf;
  --border: #224f3b;
  --accent: #e2c57e;
  --accent-soft: #17412f;
  --brass: #e2c57e;
  --cta-bg: #c93341;
  --cta-hover: #a82430;
  --shadow-soft: 0 18px 44px -16px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, fieldset, dl, dd { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 50px; padding: 16px 30px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: 0 10px 24px -10px rgba(184, 41, 54, 0.55);
}
.btn--primary:hover { background: var(--cta-hover); }

.btn--emerald { background: var(--emerald-800); color: #fffcf6; }
.btn--emerald:hover { background: var(--emerald-700); }

.btn--ghost-light {
  border-color: rgba(245, 239, 227, 0.34);
  color: var(--text-on-hero);
  background: rgba(255, 255, 255, 0.05);
}
.btn--ghost-light:hover {
  border-color: var(--brass-300);
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  border-color: var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

/* Announcement & Header */
.announce {
  background: var(--emerald-950);
  color: #e7decb;
  font-size: 12px;
  padding: 7px 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(226, 197, 126, 0.18);
}
@media (max-width: 520px) { .announce span[aria-hidden="true"] { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg-page) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark { color: var(--accent); display: inline-flex; align-self: center; }
.brand__word { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.brand__sub { font-size: 13px; color: var(--text-muted); font-weight: 500; }
@media (min-width: 680px) {
  .brand__word { font-size: 24px; }
  .brand__sub { font-size: 14px; }
}

.nav { display: none; gap: 22px; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text-primary); }
@media (min-width: 1020px) { .nav { display: flex; } }

.header__actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.header__phone { display: none; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.header__actions .btn { display: none; }
@media (min-width: 640px) {
  .header__actions { gap: 10px; }
  .header__actions .btn { display: inline-flex; }
}
@media (min-width: 820px) { .header__phone { display: inline-block; } }

/* A/B Split-Test Switcher */
.ab-switch {
  display: inline-flex;
  padding: 2px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}
.ab-switch__btn {
  min-width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
}
.ab-switch__btn[aria-pressed="true"] {
  background: var(--emerald-800);
  color: #fffcf6;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--brass); }
.theme-toggle__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald-800); }
[data-theme="evening"] .theme-toggle__dot { background: var(--brass-300); box-shadow: 0 0 8px var(--brass-300); }
@media (max-width: 420px) {
  .theme-toggle__label { display: none; }
}

/* Hero */
.hero {
  background: radial-gradient(circle at 78% 35%, rgba(201, 162, 76, 0.14), transparent 52%), var(--bg-hero);
  color: var(--text-on-hero);
  padding: 38px 0 54px;
}
@media (min-width: 960px) { .hero { padding: 62px 0 78px; } }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.hero__copy, .hero__visual { min-width: 0; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; }
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-300);
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__lede {
  margin-top: 18px;
  max-width: 50ch;
  font-size: 17px;
  color: var(--text-on-hero-muted);
}

.hero__cta-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__facts {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 239, 227, 0.16);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
}
@media (min-width: 520px) { .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero__facts strong { display: block; font-size: 15px; font-weight: 600; color: var(--text-on-hero); }
.hero__facts span { display: block; font-size: 13px; color: var(--text-on-hero-muted); margin-top: 2px; }
.hero__facts a { text-decoration: none; }
.hero__facts a:hover strong { color: var(--brass-300); }

.hero__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(226, 197, 126, 0.28);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.55);
  background: #0b2218;
}
.hero__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.hero__badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border-radius: var(--r-md);
  background: rgba(8, 31, 21, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 197, 126, 0.25);
  color: #f5efe3;
}
.hero__badge strong { display: block; font-size: 14px; }
.hero__badge span { display: block; font-size: 12px; color: #c7d5cd; }
.hero__badge-dot {
  flex: 0 0 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brass-300);
  box-shadow: 0 0 10px var(--brass-300);
}

/* Pillars */
.pillars { border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.pillar__num { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brass); letter-spacing: 0.08em; margin-bottom: 6px; }
.pillar h2 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.pillar p { font-size: 14px; color: var(--text-muted); }

/* Sections */
.section { padding: 60px 0; }
@media (min-width: 960px) { .section { padding: 84px 0; } }
.section--tinted { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
@media (min-width: 900px) {
  .section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--brass); margin-bottom: 8px; }
.eyebrow--light { color: var(--brass-300); }

.sec-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.sec-title--light { color: #f5efe3; }
.sec-lede { max-width: 46ch; font-size: 16px; color: var(--text-muted); }

/* Catalog Filter + 12 Models Grid */
.catalog-filter { display: flex; flex-wrap: wrap; gap: 8px; }

.models-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .models-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.model-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.model-card:hover { transform: translateY(-3px); border-color: var(--brass); }

.model-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-subtle);
}
.model-card__media.is-contain {
  background: #fffcf6;
  padding: 12px;
}
.model-card__media img { width: 100%; height: 100%; object-fit: cover; }
.model-card__media.is-contain img { object-fit: contain; }

.model-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(8, 31, 21, 0.86);
  color: #f5efe3;
  font-size: 12px;
  font-weight: 600;
}

.model-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.model-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.model-card__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.model-card__kind { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.model-card__about { font-size: 14px; color: var(--text-muted); }

.model-card__bullets { display: grid; gap: 5px; font-size: 13px; }
.model-card__bullets li { display: flex; gap: 8px; align-items: baseline; }
.model-card__bullets li::before { content: "•"; color: var(--brass); font-weight: 700; }

.model-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.model-card__price strong { display: block; font-size: 19px; font-weight: 700; }
.model-card__price span { font-size: 12px; color: var(--text-muted); }

/* Nemika Perfect Fit Panel */
.fit-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) { .fit-panel { padding: 26px; } }

.fit-panel__filters {
  display: grid;
  gap: 16px 24px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) {
  .fit-panel__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.fit-result {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
}
@media (min-width: 820px) {
  .fit-result { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; }
}
.fit-result__main strong { font-family: var(--font-display); font-size: 22px; display: block; margin: 4px 0; }
.fit-result__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.fit-result__why { font-size: 14px; color: var(--text-muted); }
.fit-result__alts { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-alt-btn {
  padding: 9px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-page);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.fit-alt-btn:hover { border-color: var(--accent); }
.fit-alt-btn.is-active { background: var(--emerald-800); border-color: var(--emerald-800); color: #fffcf6; }

/* Studio Configurator */
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (min-width: 980px) {
  .studio { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; }
}

.studio__media { display: grid; gap: 18px; min-width: 0; }
@media (min-width: 980px) { .studio__media { position: sticky; top: 84px; } }

.gallery__main {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  aspect-ratio: 4 / 5;
}
.gallery__main.is-contain { background: #fffcf6; padding: 14px; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main.is-contain img { object-fit: contain; }

.gallery__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(8, 31, 21, 0.84);
  color: #f5efe3;
  font-size: 13px;
}

.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding: 2px; }
.thumb {
  flex: 0 0 72px;
  height: 86px;
  padding: 0;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  overflow: hidden;
  background: var(--bg-surface);
  cursor: pointer;
  opacity: 0.72;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }

.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.spec-card__title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.spec-card__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; }
.spec-card__item dt { font-size: 12px; color: var(--text-muted); }
.spec-card__item dd { font-size: 14px; font-weight: 600; }

/* Controls */
.studio__controls { display: grid; gap: 26px; min-width: 0; }
.step__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.step__n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--emerald-800);
  color: #fffcf6;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.series-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.mini-tab {
  min-height: 36px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.mini-tab[aria-pressed="true"] { background: var(--emerald-800); border-color: var(--emerald-800); color: #fffcf6; }

.series {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}
.series__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-align: left;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  cursor: pointer;
}
.series__item:hover { border-color: var(--accent); }
.series__item[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.series__pic { width: 52px; height: 62px; border-radius: 8px; object-fit: cover; background: #fffcf6; }
.series__name { display: block; font-size: 15px; font-weight: 700; }
.series__line { display: block; font-size: 12px; color: var(--text-muted); }
.series__from { font-size: 14px; font-weight: 700; white-space: nowrap; }

.ruler-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  display: grid;
  gap: 14px;
}
.control-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg-page);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--emerald-800); border-color: var(--emerald-800); color: #fffcf6; }
.chips--quiet .chip[aria-pressed="true"] { background: var(--text-primary); border-color: var(--text-primary); color: var(--bg-page); }

.ruler-visual { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border); }
.ruler__svg { display: block; width: 100%; height: auto; }
.ruler-tree { transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); }

.ruler__hint {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--text-primary);
}
.ruler__hint.is-warn { background: rgba(184, 41, 54, 0.14); color: var(--berry-600); font-weight: 600; }
[data-theme="evening"] .ruler__hint.is-warn { color: #ff8e97; }
.ruler__disclaimer { font-size: 12px; color: var(--text-muted); }

/* Offer / Checkout Card */
.checkout-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}
.offer-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.offer-head__tag { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.offer-head__sku { color: var(--text-muted); font-weight: 600; }
.offer-head__title { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.offer-head__desc { font-size: 14px; color: var(--text-muted); }

.total__lines { display: grid; gap: 7px; font-size: 14px; color: var(--text-muted); padding-top: 8px; border-top: 1px solid var(--border); }
.total__line { display: flex; justify-content: space-between; gap: 12px; }
.total__sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--border); }
.total__label { font-weight: 600; }
.total__value { font-family: var(--font-display); font-size: 32px; font-weight: 700; }
.cta-subnote { font-size: 13px; color: var(--text-muted); text-align: center; }
.assure { display: grid; gap: 6px; font-size: 13px; color: var(--text-muted); }
.assure li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Craft Proof */
.craft__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.craft__visual, .craft__content { min-width: 0; }
@media (min-width: 920px) { .craft__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; } }
.craft__photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-surface); }
.craft__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.craft__photo figcaption { padding: 14px 18px; font-size: 13px; color: var(--text-muted); }
.craft__lede { margin-top: 14px; margin-bottom: 22px; color: var(--text-muted); }

/* Data Tables */
.craft__table-wrap, .compare__scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
@media (min-width: 640px) {
  .data-table { font-size: 14px; min-width: 500px; }
  .data-table th, .data-table td { padding: 14px 16px; }
}
.data-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); background: var(--bg-subtle); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody th { font-weight: 600; }
.is-good { font-weight: 600; color: var(--accent); }

/* Timeline */
.timeline { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline__item { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.timeline__step { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.timeline__item h3 { font-size: 18px; margin-bottom: 8px; }
.timeline__item p { font-size: 14px; color: var(--text-muted); }

/* FAQ & Store Proof */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.faq__grid > div { min-width: 0; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; } }
.faq__aside { margin-top: 14px; color: var(--text-muted); max-width: 38ch; }
.faq__aside a { font-weight: 600; color: var(--accent); }

.store-proof-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 14px;
  display: grid;
  gap: 8px;
}
.store-proof-box p { color: var(--text-muted); font-size: 13px; }
.store-proof-box a { font-weight: 600; color: var(--accent); }

.faq__list { display: grid; gap: 10px; }
.faq__list details { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 20px; }
.faq__list summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__list summary::after { content: "+"; font-size: 20px; color: var(--brass); }
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p { margin-top: 10px; font-size: 15px; color: var(--text-muted); }

/* Final CTA & Footer */
.final {
  background: radial-gradient(circle at center, rgba(201, 162, 76, 0.16), transparent 65%), var(--emerald-900);
  color: #f5efe3;
  padding: 72px 0;
  text-align: center;
}
.final__inner { display: grid; justify-items: center; gap: 16px; }
.final__text { max-width: 48ch; color: #c7d5cd; }

.foot { background: var(--emerald-950); color: #c7d5cd; padding: 28px 0 88px; font-size: 14px; }
@media (min-width: 900px) { .foot { padding-bottom: 36px; } }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot__brand { font-weight: 700; color: #f5efe3; }
.foot__legal { font-size: 13px; opacity: 0.8; margin-top: 2px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 16px 20px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--brass-300); }

/* Sticky Bar */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  padding: 9px 0 calc(9px + env(safe-area-inset-bottom));
}
.sticky[hidden] { display: none; }
.sticky__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sticky__info { min-width: 0; }
.sticky__name { display: block; font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky__meta { display: none; font-size: 12px; color: var(--text-muted); }
@media (min-width: 600px) {
  .sticky__name { font-size: 14px; }
  .sticky__meta { display: block; }
}
.sticky__right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sticky__price { font-weight: 700; font-size: 16px; white-space: nowrap; }
@media (min-width: 600px) { .sticky__price { font-size: 18px; } }

/* Dialog Modal */
.order {
  width: min(500px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
@media (min-width: 600px) { .order { padding: 24px; } }
.order::backdrop { background: rgba(7, 30, 21, 0.65); backdrop-filter: blur(4px); }
.order__form { display: grid; gap: 14px; }
.order__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.order__title { font-family: var(--font-display); font-size: 25px; }
.order__close {
  border: 1px solid var(--border);
  background: var(--bg-page);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
.order__summary-card { padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg-subtle); font-size: 14px; font-weight: 500; }
.order__fields { display: grid; gap: 10px; }
.field { display: grid; gap: 4px; }
.field__label { font-size: 13px; font-weight: 600; }
.field__input { padding: 11px 13px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--bg-page); }
.field__input[aria-invalid="true"] { border-color: var(--berry-600); }
.field__error { font-size: 12px; color: var(--berry-600); }
.field__error:empty { display: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; font-size: 14px; }
.choice { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.order__server-error { padding: 10px 12px; border-radius: var(--r-sm); background: rgba(184, 41, 54, 0.12); color: var(--berry-600); font-size: 13px; font-weight: 600; }
.order__note { font-size: 12px; color: var(--text-muted); text-align: center; }

.order__done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 12px 0; }
.order__done[hidden] { display: none; }
.order__done-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--emerald-800);
  color: #fffcf6;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
