/* =========================================================================
   Вавилон — дизайн-система сайта салона мебели.
   Тёплая, «бумажная» витрина: тёплый айвори + графит + латунь.
   Без градиентов-заливок, без стеклянных карточек — плоские поверхности,
   тонкие линии-разделители и фотография на первом плане.
   ========================================================================= */

:root {
  --paper: #faf6ee;
  --paper-2: #f2ead9;
  --card: #ffffff;
  --ink: #201a10;
  --ink-soft: #4a4030;
  --muted: #756a56;
  --line: #e6dcc4;
  --line-strong: #d8cba7;
  --brass: #9c7a3f;
  --brass-deep: #7a5c2b;
  --brass-soft: #eadfc2;
  --rust: #a8532f;
  --rust-soft: #f3ded2;
  --night: #1b1710;
  --night-2: #231e14;
  --night-line: #3c341f;
  --cream-text: #f4ede0;
  --cream-muted: #bdae8f;
  --ok: #4c7a52;

  --radius-s: 3px;
  --radius-m: 6px;
  --radius-l: 14px;
  --shadow-card: 0 1px 2px rgba(32, 26, 16, .06);
  --shadow-lift: 0 18px 36px -18px rgba(32, 26, 16, .35);
  --shadow-pop: 0 24px 60px -20px rgba(15, 12, 6, .5);
  --container: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* off-canvas drawers (cart / mobile nav / modal) use translateX(100%) to hide
     off-screen; Chromium counts their post-transform position in scrollable
     overflow, which would otherwise create phantom horizontal scroll on mobile.
     Set on both html and body since overflow propagation to the viewport is
     not guaranteed to clip document.documentElement.scrollWidth. */
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
svg { display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout helpers ---------- */
.wrap { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-alt { background: var(--paper-2); }
.section-ink { background: var(--night); color: var(--cream-text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-deep);
}
.section-ink .eyebrow { color: var(--brass); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; display: block; }

h1, .h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
h2, .h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.lede { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: var(--ink-soft); line-height: 1.6; }
.section-ink .lede { color: var(--cream-muted); }

/* icons */
.ic { width: 20px; height: 20px; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 13px; height: 13px; }
.ic-lg { width: 34px; height: 34px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-m);
  font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  border: 1.5px solid transparent; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--brass-deep); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(244,237,224,.4); color: var(--cream-text); }
.btn-outline-light:hover { border-color: var(--cream-text); }
.btn-gold { background: var(--brass); color: #fff; }
.btn-gold:hover { background: var(--brass-deep); }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn-xs { padding: 7px 12px; font-size: .76rem; border-radius: var(--radius-s); }
.btn-block { width: 100%; }
.btn-icon-text span { white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); transition: background .15s var(--ease);
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn .badge {
  position: absolute; top: -2px; right: -2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--rust); color: #fff; font-size: 10.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.topbar { background: var(--night); color: var(--cream-muted); font-size: 12.5px; }
.topbar-in { display: none; align-items: center; justify-content: flex-end; gap: 22px; height: 38px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: var(--cream-muted); transition: color .15s; }
.topbar-item:hover { color: var(--cream-text); }
.topbar-phone { color: var(--brass); font-weight: 700; }

.navbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.navbar-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { border-radius: 8px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.brand-sub { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

.main-nav { display: none; flex: 1; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: var(--radius-m);
  font-weight: 600; font-size: .92rem; color: var(--ink-soft); transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a.is-active { background: var(--paper-2); color: var(--ink); }
.has-drop { position: relative; }
/* .dropdown is the hoverable hit-area: it starts flush at top:100% (no gap) so the
   cursor never crosses a "dead zone" between the nav link and the panel while moving
   down into it. The visual gap/offset is drawn with padding-top instead, and the
   actual card look (background/border/shadow) lives on .dropdown-panel inside it. */
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  width: 560px; padding-top: 10px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 50;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-pop); padding: 18px;
}
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown-link { padding: 11px 14px; border-radius: var(--radius-m); display: flex; flex-direction: column; gap: 2px; }
.dropdown-link:hover { background: var(--paper-2); }
.dropdown-link-title { font-weight: 700; font-size: .92rem; }
.dropdown-link-sub { font-size: .78rem; color: var(--muted); }
.dropdown-all {
  display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 12px; padding-top: 14px;
  border-top: 1px solid var(--line); font-weight: 700; font-size: .82rem; color: var(--brass-deep);
}

.navbar-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn-telegram { color: var(--brass-deep); }

.burger { display: inline-flex; position: relative; z-index: 95; }
.burger-icon-close { display: none; }
.burger.is-active .burger-icon-open { display: none; }
.burger.is-active .burger-icon-close { display: block; }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--night); color: var(--cream-text);
  z-index: 90; transform: translateX(100%); transition: transform .28s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px 26px;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav nav > a { padding: 13px 10px; font-weight: 700; font-size: 1.05rem; border-radius: var(--radius-m); }
.mobile-nav nav > a:hover, .mobile-nav nav > a:active { background: var(--night-2); }
.mobile-nav-cats { margin: 6px 0; padding: 10px; background: var(--night-2); border-radius: var(--radius-m); display: flex; flex-direction: column; }
.mobile-nav-cats-label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--cream-muted); padding: 6px 8px 8px; }
.mobile-nav-cats a { padding: 9px 8px; font-size: .95rem; border-radius: var(--radius-s); }
.mobile-nav-cats a:hover { background: rgba(255,255,255,.06); }
.mobile-nav-all { color: var(--brass); font-weight: 700; }
.mobile-nav-contact { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--night-line); }
.mobile-nav-address { display: flex; gap: 8px; font-size: .85rem; color: var(--cream-muted); align-items: flex-start; }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(20, 16, 8, .5); z-index: 85; opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease);
}
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  background: var(--night); color: var(--cream-text); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--night-line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; padding-block: 44px; position: relative; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy h1 em { display: block; font-style: normal; color: var(--brass); }
.hero-copy .lede { max-width: 46ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--cream-muted); }
.hero-trust strong { color: var(--cream-text); }
.hero-media { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3.1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-tag {
  position: absolute; left: 16px; bottom: 16px; background: rgba(27, 23, 16, .82); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.1); color: var(--cream-text); padding: 10px 14px; border-radius: var(--radius-m);
  font-size: .8rem; display: flex; align-items: center; gap: 8px;
}

/* ---------- usp strip ---------- */
.usp-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.usp-strip li { background: var(--card); padding: 18px 16px; display: flex; align-items: flex-start; gap: 12px; }
.usp-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brass-soft); color: var(--brass-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.usp-strip strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.usp-strip small { color: var(--muted); font-size: .8rem; line-height: 1.4; }

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head h2 { margin-top: 8px; }
.section-head-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--brass-deep); flex-shrink: 0; padding-bottom: 6px; }

/* ---------- category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cat-tile { display: block; border-radius: var(--radius-l); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.cat-tile:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.cat-tile-media { aspect-ratio: 16/10; overflow: hidden; }
.cat-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-tile:hover .cat-tile-media img { transform: scale(1.045); }
.cat-tile-body { padding: 18px 20px 20px; }
.cat-tile-body h3 { margin-bottom: 4px; }
.cat-tile-body p { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.cat-tile-count { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--brass-deep); }

/* ---------- product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.product-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.product-card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--paper-2); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 10px; left: 10px; background: var(--night); color: var(--cream-text);
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
}
.product-tag-хит { background: var(--rust); }
.product-tag-новинка { background: var(--ok); }
.product-tag-премиум { background: var(--brass-deep); }
.product-fav {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: color .15s, transform .15s;
}
.product-fav:hover { transform: scale(1.08); }
.product-fav.is-active { color: var(--rust); }
.product-card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card-cat { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.product-card-title { font-size: .93rem; font-weight: 700; line-height: 1.32; }
.product-card-title a:hover { color: var(--brass-deep); }
.product-card-sizes { font-size: .78rem; color: var(--muted); }
.product-card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product-card-price { display: flex; flex-direction: column; }
.price-current { font-weight: 800; font-size: 1rem; }
.price-old { font-size: .78rem; color: var(--muted); text-decoration: line-through; }
.price-label { font-size: .74rem; color: var(--muted); max-width: 15ch; line-height: 1.3; }

/* ---------- about teaser / split sections ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.split-media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split-media-grid img { border-radius: var(--radius-m); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.split-body p { margin-top: 14px; }
.split-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.split-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.split-list .ic { color: var(--ok); flex-shrink: 0; margin-top: 2px; }

/* ---------- process ---------- */
.process-steps { display: grid; grid-template-columns: 1fr; gap: 26px; }
.process-steps li { display: flex; gap: 16px; }
.process-num { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--brass-deep); }
.section-ink .process-num { background: var(--night-2); border-color: var(--night-line); color: var(--brass); }
.process-steps h3 { margin-bottom: 4px; }
.process-steps p { color: var(--muted); font-size: .92rem; }
.section-ink .process-steps p { color: var(--cream-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(180deg, var(--night), #171209); color: var(--cream-text);
  border-radius: var(--radius-l); padding: clamp(28px, 5vw, 52px); display: grid; gap: 22px;
  align-items: center; text-align: center; border: 1px solid var(--night-line);
}
.cta-banner .btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding-block: 16px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .ic-xs { color: var(--line-strong); }

/* ---------- filter / catalog toolbar ---------- */
.catalog-head { padding-block: 28px 8px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 20px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: .84rem; font-weight: 600; color: var(--ink-soft);
  background: var(--card); transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort-select {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 34px 9px 15px; background: var(--card);
  font-size: .84rem; font-weight: 600; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23756a56' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
}
.catalog-empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---------- product page ---------- */
.product-hero { display: grid; grid-template-columns: 1fr; gap: 28px; padding-block: 8px 40px; }
.product-gallery-main { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1/1; background: var(--paper-2); border: 1px solid var(--line); }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-info-tag { display: inline-flex; margin-bottom: 10px; }
.product-info h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: 10px; }
.product-info-cat { color: var(--brass-deep); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; display: block; }
.product-price-row { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 6px; }
.product-price-row .price-current { font-size: 1.9rem; }
.product-price-row .price-old { font-size: 1.05rem; }
.product-info-note { color: var(--ink-soft); line-height: 1.7; margin-bottom: 18px; }
.product-specs { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.product-specs dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.product-specs dd { margin: 2px 0 0; font-weight: 600; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.product-mini-usp { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.product-mini-usp li { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.related-heading { margin-bottom: 20px; }

/* ---------- about page ---------- */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; }
.value-card .usp-icon { margin-bottom: 14px; }
.value-card h3 { margin-bottom: 6px; }
.value-card p { color: var(--muted); font-size: .9rem; }

/* ---------- contacts page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; }
.contact-row { display: flex; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 0; padding-top: 4px; }
.contact-row-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--brass-soft); color: var(--brass-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row h3 { font-size: .92rem; margin-bottom: 3px; }
.contact-row p, .contact-row a.contact-value { color: var(--ink-soft); font-size: .95rem; }
.contact-row a.contact-value:hover { color: var(--brass-deep); }
.map-frame { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.contact-form-card { background: var(--night); color: var(--cream-text); border-radius: var(--radius-l); padding: 26px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.field input, .field textarea {
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-m); padding: 12px 14px; background: var(--card);
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field textarea { resize: vertical; }
.form-error { color: var(--rust); font-size: .85rem; min-height: 18px; margin: 10px 0 0; }
.form-hint { font-size: .76rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.contact-form-card .field span { color: var(--cream-muted); }
.contact-form-card .field input, .contact-form-card .field textarea { background: var(--night-2); border-color: var(--night-line); color: var(--cream-text); }
.contact-form-card .form-hint { color: var(--cream-muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--cream-muted); }
.footer-top { padding-block: 48px 32px; display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--cream-text); }
.footer-heading { color: var(--cream-text); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.brand-footer .brand-name { color: var(--cream-text); }
.brand-footer .brand-sub { color: var(--cream-muted); }
.footer-brand p { font-size: .88rem; line-height: 1.6; margin: 14px 0 16px; max-width: 42ch; }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--brass); font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--night-line); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--brass); color: var(--brass); }
.footer-address, .footer-hours, .footer-email { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid var(--night-line); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .78rem; }
.footer-bottom-links a:hover { color: var(--cream-text); }

/* ---------- cart drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.cart-drawer.is-open { visibility: visible; }
.cart-drawer::before {
  content: ""; position: absolute; inset: 0; background: rgba(20,16,8,.5); opacity: 0; transition: opacity .25s var(--ease);
}
.cart-drawer.is-open::before { opacity: 1; }
.cart-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--card);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s var(--ease);
}
.cart-drawer.is-open .cart-drawer-panel { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.cart-drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); }
.cart-drawer-note { font-size: .76rem; color: var(--muted); margin-top: 10px; text-align: center; }
.cart-empty { text-align: center; color: var(--muted); padding: 50px 10px; font-size: .9rem; }
.cart-line { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cart-line img { width: 60px; height: 60px; border-radius: var(--radius-m); object-fit: cover; flex-shrink: 0; background: var(--paper-2); }
.cart-line-body { flex: 1; min-width: 0; }
.cart-line-title { font-size: .86rem; font-weight: 700; line-height: 1.3; }
.cart-line-price { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.cart-line-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; }
.cart-line-remove { color: var(--rust); font-size: .78rem; font-weight: 700; margin-left: auto; align-self: flex-start; }
.cart-total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; }

/* ---------- order modal ---------- */
.modal { position: fixed; inset: 0; z-index: 130; visibility: hidden; display: flex; align-items: flex-end; justify-content: center; }
.modal.is-open { visibility: visible; }
.modal::before { content: ""; position: absolute; inset: 0; background: rgba(20,16,8,.55); opacity: 0; transition: opacity .25s var(--ease); }
.modal.is-open::before { opacity: 1; }
.modal-panel {
  position: relative; background: var(--card); width: 100%; max-height: 92vh; overflow-y: auto;
  border-radius: var(--radius-l) var(--radius-l) 0 0; padding: 22px 20px 28px; transform: translateY(100%);
  transition: transform .28s var(--ease);
}
.modal.is-open .modal-panel { transform: translateY(0); }
.modal-panel-wide { max-width: 620px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.order-form-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.order-form-item { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; padding: 8px 12px; background: var(--paper-2); border-radius: var(--radius-m); }
.order-form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.field-wide { grid-column: 1 / -1; }
.order-form-actions { margin-top: 20px; }
.order-form-success { text-align: center; padding: 30px 10px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.order-form-success .ic-lg { color: var(--ok); }
.order-form-success p { color: var(--muted); max-width: 34ch; }
.order-form-success .btn { margin-top: 10px; }

/* ---------- fab ---------- */
.fab-telegram {
  position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--brass); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pop); z-index: 40; transition: transform .18s var(--ease);
}
.fab-telegram:hover { transform: scale(1.06); }
.fab-telegram .ic { width: 26px; height: 26px; }

/* ---------- misc pages ---------- */
.page-hero { padding-block: 40px 8px; }
.page-hero h1 { margin-bottom: 12px; }
.error-page { text-align: center; padding-block: 90px; }
.error-page .h1 { font-size: 5rem; color: var(--brass); }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: 999px; font-size: .85rem; font-weight: 600; z-index: 200; opacity: 0;
  transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none; display: flex; align-items: center; gap: 8px;
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================================
   Breakpoints
   ========================================================================= */
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .usp-strip { grid-template-columns: repeat(4, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
}

@media (min-width: 860px) {
  .topbar-in { display: flex; }
  .main-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; padding-block: 64px; }
  .hero-copy .lede { margin-bottom: 30px; }
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 32px; }
  .value-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1.4fr .8fr .8fr 1fr; }
  .product-hero { grid-template-columns: 1fr 1fr; gap: 44px; }
  .modal { align-items: center; }
  .modal-panel { border-radius: var(--radius-l); transform: translateY(24px) scale(.97); opacity: 0; }
  .modal.is-open .modal-panel { transform: translateY(0) scale(1); opacity: 1; }
  .cta-banner { grid-template-columns: 1.3fr auto; text-align: left; }
}

@media (min-width: 1080px) {
  .burger { display: none; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1240px) {
  .cat-tiles { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- reduced motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- visibility utility (kept last so it always wins the cascade
   against component classes like .btn that also set `display`) ---------- */
.hide-mobile { display: none; }
@media (min-width: 860px) {
  .hide-mobile { display: inline-flex; }
}
