/*!
 * VEKO HOME — main stylesheet (style.css)
 * All site styles combined: design tokens + shared components + page sections.
 * Developer: Den Polansky — http://sitedone.tech
 */

/* Self-hosted Finlandica Text (variable 100–900) — local + preloaded to avoid reload FOUT */
@font-face {
  font-family: "Finlandica Text";
  src: url("fonts/FinlandicaText.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==================== SHARED: tokens + base components ==================== */
/* VekoHome — shared design tokens + components
   Aligned with VEKO HOME Brandbook 2018:
   • Palette: slate-blue #516B7D, beige/mocco #CBAD92, graphite #3A3F47,
     soft blue #9EACC3, neutral greys #E7E7E7 / #E0E2E0
   • Typography: Montserrat (Regular + Bold)
*/

:root {
  /* Neutrals — keeping a warm cream surface to feel residential and premium
     while staying within brandbook spirit. Pure white kept as alt. */
  --cream-50: #fbfaf6;
  --cream-100: #f5f2ea;
  --cream-200: #ebe6d8;
  --cream-300: #ddd5c2;
  --card: #ffffff;          /* elevated card surface — inverts to a dark tone in dark theme */

  /* Brandbook ink — graphite #3A3F47 */
  --ink-900: #1c1f24;   /* deeper for headings */
  --ink-800: #3a3f47;   /* brand graphite */
  --ink-700: #4f5560;
  --ink-500: #6f6a5d;
  --ink-400: #8a8578;
  --ink-300: #b0ac9f;

  /* Brandbook accents */
  --accent: #cbad92;        /* brand beige/mocco */
  --accent-ink: #a88663;    /* deeper for hover/text */
  --accent-soft: #efe2d2;   /* tinted bg */
  --accent-2: #516b7d;      /* slate blue */
  --accent-2-soft: #d8e0e8;
  --accent-3: #9eacc3;      /* soft blue */

  /* Utilities */
  --line: rgba(21,19,14,0.08);
  --line-strong: rgba(21,19,14,0.18);
  --shadow-sm: 0 1px 2px rgba(21,19,14,0.04), 0 1px 1px rgba(21,19,14,0.03);
  --shadow-md: 0 4px 24px -8px rgba(21,19,14,0.12), 0 2px 6px rgba(21,19,14,0.04);
  --shadow-lg: 0 24px 60px -24px rgba(21,19,14,0.25);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --container: 1320px;
  --gutter: 32px;

  --ff-display: 'Finlandica Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ff-body: 'Finlandica Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ff-editorial: 'Finlandica Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Fixed surfaces — NOT inverted by theme.
     Used by always-dark sections (topbar, USP, counters, HoReCa, footer, hero)
     and dark media overlays, so their light text/icons stay visible in dark mode. */
  --surface-dark: #1c1f24;
  --on-dark: #fbfaf6;
}

/* Dark theme override */
[data-theme="dark"] {
  --cream-50: #16140f;
  --cream-100: #1c1a14;
  --cream-200: #262218;
  --cream-300: #302b1f;
  --card: #232019;          /* elevated card surface in dark theme (sits above the page bg) */
  --ink-900: #f5f2ea;
  --ink-800: #e7e1d2;
  --ink-700: #c9c2b0;
  --ink-500: #8c8676;
  --ink-400: #6b6658;
  --ink-300: #43402f;
  --line: rgba(255,248,230,0.10);
  --line-strong: rgba(255,248,230,0.22);
  --accent-soft: #3a2f22;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* Kill the dark/grey tap flash on mobile site-wide (image-link cards, buttons, etc.).
   Interactive elements provide their own :active/hover feedback instead. */

/* Ensure the [hidden] attribute always wins over component display rules */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
/* Lenis smooth scroll (when active it disables native smooth to avoid conflict;
   without Lenis / reduced-motion the native scroll-behavior above is the fallback). */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: var(--ff-body);
  background: var(--cream-50);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

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

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ————— Container ————— */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ————— Typography ————— */
.kicker {
  font-family: var(--ff-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
[data-theme="dark"] .kicker { color: var(--accent); }
/* Mobile: smaller kicker globally. */
@media (max-width: 640px) {
  .kicker { font-size: 14px; }
}

.h-display {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.04;
}

.h-editorial {
  font-family: var(--ff-editorial);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink-900);
}

/* Never use italic anywhere — text accents are color-only */
em, i { font-style: normal; }
/* Heading accent words pick up the brand color */
.materials h2 em, .insta h2 em { color: var(--accent-ink); }

/* Headings inside always-dark sections need the light color (override the
   global dark heading color) so non-accent words stay visible on dark bg. */
.hero-slider :is(h1, h2, h3, h4),
.usps :is(h1, h2, h3, h4),
.counters :is(h1, h2, h3, h4),
.horeca-banner :is(h1, h2, h3, h4),
.final-cta :is(h1, h2, h3, h4),
.footer :is(h1, h2, h3, h4),
.section-dark :is(h1, h2, h3, h4) { color: var(--on-dark); }

/* ————— Top bar ————— */
.topbar {
  background: var(--surface-dark);
  color: var(--on-dark);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px var(--gutter); max-width: var(--container); margin: 0 auto;
  gap: 20px;
}
.topbar .pills { display: flex; gap: 22px; color: rgba(245,242,234,0.7); }
.topbar .pills span { display: inline-flex; align-items: center; gap: 9px; }
.topbar .pills strong { color: var(--on-dark); font-weight: 500; }
.topbar .pills .ic { color: var(--accent); stroke-width: 1.5; }

/* Language switcher (UA / EN) */
.lang { display: inline-flex; align-items: center; gap: 7px; }
.lang-opt {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(245,242,234,0.5); cursor: pointer; transition: color 0.2s;
}
.lang-opt:hover { color: var(--on-dark); }
.lang-opt.is-active { color: var(--accent); }
.lang-sep { color: rgba(245,242,234,0.3); font-size: 12px; }

/* ————— Nav ————— */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream-50) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); max-width: 1320px; margin: 0 auto;
  gap: 28px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  -webkit-tap-highlight-color: transparent; /* kill the dark tap flash on mobile */
  /* Gentle ease-out (no overshoot) — the old springy bezier read as jerky on iOS.
     translateZ(0) promotes it to its own GPU layer so the scale is smooth, not shimmery. */
  transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-origin: left center;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.nav-logo img { height: 35px; width: auto; display: block; transition: opacity 0.25s ease; }
/* Dim only with a real pointer — touch taps trigger :hover and would lighten the logo on iOS. */
@media (hover: hover) and (pointer: fine) {
  .nav-logo:hover img { opacity: 0.78; }
}
.nav-logo:active { transform: translateZ(0) scale(0.95); } /* subtle, smooth press feedback */
/* Show the dark logo on light theme, the white logo on dark theme */
.nav-logo .logo-light { display: none; }
[data-theme="dark"] .nav-logo .logo-dark { display: none; }
[data-theme="dark"] .nav-logo .logo-light { display: block; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-700);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink-900); }
.nav-links a.active { color: var(--ink-900); }
/* Underline appears on hover and on the active link (same accent line) */
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--ink-900);
}
.nav-phone small {
  display: block; font-weight: 400; font-family: var(--ff-body);
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); margin-top: -2px;
}

/* ————— Theme toggle (SVG sun/moon) ————— */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--ink-900); cursor: pointer; transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-ink); }
/* Show the icon matching the CURRENT theme: light -> sun, dark -> moon */
.theme-toggle .ic-moon { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-moon { display: block; }

/* ————— Favorites (heart) ————— */
.nav-fav {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink-900);
  transition: all 0.2s;
}
.nav-fav:hover { border-color: var(--accent); color: var(--accent-ink); }
.nav-fav-count {
  position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); color: #fff;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ————— Header search button ————— */
.nav-search {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--ink-900); cursor: pointer; transition: all 0.2s;
}
.nav-search:hover { border-color: var(--accent); color: var(--accent-ink); }
.nav-search-m {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--ink-900); cursor: pointer; transition: all .2s;
}
.nav-search-m:hover { border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 960px) {
  .nav-search { display: none; }
  .nav-search-m { display: inline-flex; }
}

/* ————— Live product search — dropdown under the icon (no backdrop) ————— */
.veko-search { position: fixed; z-index: 80; width: 360px; max-width: 92vw; display: none; }
.veko-search.is-open { display: block; }
.vs-panel {
  background: var(--cream-50); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  overflow: hidden; max-height: 72vh; display: flex; flex-direction: column;
  transform: translateY(-8px); opacity: 0; transition: transform .2s ease, opacity .2s ease;
}
.veko-search.is-open .vs-panel { transform: none; opacity: 1; }
.vs-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-500); }
.vs-bar input { flex: 1; min-width: 0; border: none; background: transparent; font-size: 16px; color: var(--ink-900); outline: none; font-family: inherit; }
.vs-close { border: none; background: transparent; color: var(--ink-500); cursor: pointer; display: inline-flex; padding: 4px; border-radius: 8px; transition: all .15s; }
.vs-close:hover { color: var(--ink-900); background: var(--cream-100); }
.vs-results { overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.vs-results::-webkit-scrollbar { width: 6px; }
.vs-results::-webkit-scrollbar-track { background: transparent; }
.vs-results::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
.vs-results::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }
.vs-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); transition: background .15s; }
.vs-item:last-child { border-bottom: none; }
.vs-item:hover { background: var(--cream-100); }
.vs-thumb { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--cream-100); }
.vs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vs-name { flex: 1 1 auto; min-width: 0; font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--ink-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-price { flex-shrink: 0; font-size: 13px; color: var(--accent-ink); font-weight: 500; white-space: nowrap; }
.vs-empty, .vs-hint { padding: 22px 16px; text-align: center; color: var(--ink-500); font-size: 13px; }
@media (max-width: 600px) { .veko-search { width: 94vw; max-width: 94vw; } }

/* ————— Custom tooltip (replaces native title tooltips) ————— */
.veko-tip { position: fixed; z-index: 2000; pointer-events: none; max-width: 240px; background: var(--ink-900); color: var(--cream-50); font-family: var(--ff-display); font-weight: 500; font-size: 12.5px; line-height: 1.35; text-align: center; padding: 7px 11px; border-radius: 9px; box-shadow: 0 10px 28px rgba(0,0,0,0.2); opacity: 0; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease; }
.veko-tip.show { opacity: 1; transform: none; }

/* ————— Phone hover popup ————— */
.nav-phone-wrap { position: relative; }
.nav-phone-pop {
  position: absolute; top: calc(100% + 14px); right: 0; width: 280px; z-index: 60;
  background: var(--cream-50); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.16); padding: 14px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.nav-phone-wrap:hover .nav-phone-pop,
.nav-phone-pop:hover { opacity: 1; visibility: visible; transform: translateY(0); }
/* hover bridge so the gap doesn't close the popup */
.nav-phone-pop::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.npp-title { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); padding: 2px 8px 10px; }
.npp-row { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 10px; transition: background .15s; }
.npp-row:hover { background: var(--cream-100); }
.npp-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; }
.npp-row strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--ink-900); }
.npp-row small { display: block; font-size: 11.5px; color: var(--ink-500); margin-top: 1px; }
.npp-hours { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 8px 2px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-500); }
.npp-hours .ic { color: var(--accent-ink); }
/* Mobile: center the contacts popup on screen like the search dropdown. Anchored
   under the icon it would overflow the left edge (the phone icon is the leftmost of
   the right-hand cluster, so a 280px panel runs off-screen). Switch to fixed +
   horizontally centered, just below the sticky header. */
@media (max-width: 600px) {
  .nav-phone-pop {
    position: fixed; top: 70px; left: 50%; right: auto;
    width: 92vw; max-width: 360px;
    transform: translate(-50%, -8px);
  }
  .nav-phone-wrap.pop-open .nav-phone-pop,
  .nav-phone-wrap:hover .nav-phone-pop,
  .nav-phone-pop:hover { transform: translate(-50%, 0); }
  .nav-phone-pop::before { display: none; } /* hover bridge unneeded on tap */
}

/* ————— Buttons ————— */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  font-family: var(--ff-body);
  letter-spacing: 0.01em;
  white-space: nowrap; /* button labels never wrap to a second line */
}
.btn-primary {
  background: var(--ink-900); color: var(--cream-50);
}
.btn-primary:hover { background: var(--ink-700); transform: translateY(-1px); }
.btn-accent {
  background: var(--accent); color: #fff;
}
.btn-accent:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink-900);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink-900); background: var(--ink-900); color: var(--cream-50); }
.btn-ghost-light {
  background: transparent; color: var(--cream-50);
  border-color: rgba(255,255,255,0.22);
}
.btn-ghost-light:hover { border-color: var(--cream-50); background: rgba(255,255,255,0.06); }
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* Mobile: form controls must be ≥16px or iOS Safari zooms the page on focus.
   Forced here (overrides the smaller per-field sizes) only on small screens. */
@media (max-width: 768px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]),
  select, textarea { font-size: 16px !important; }
  /* Mobile button padding tweak ONLY for the editorial two-button row
     (Історія фабрики / Тур по виробництву); all other buttons keep 14px 22px. */
  .ed-actions .btn { padding: 14px 17px; }
}
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ————— Pill / chip ————— */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--cream-200); color: var(--ink-700);
  border: 1px solid var(--line);
}
.chip-accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

/* ————— Placeholder image (striped) ————— */
.ph {
  position: relative; overflow: hidden;
  background: var(--cream-200);
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0, transparent 18px,
      rgba(21,19,14,0.025) 18px, rgba(21,19,14,0.025) 36px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-500);
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ph-label { padding: 6px 10px; background: var(--cream-50); border: 1px solid var(--line); border-radius: 4px; }
.ph-warm { background: #e6d8c4; background-image: repeating-linear-gradient(135deg, transparent 0, transparent 18px, rgba(21,19,14,0.04) 18px, rgba(21,19,14,0.04) 36px); }
.ph-dark { background: var(--ink-800); color: var(--cream-300); background-image: repeating-linear-gradient(135deg, transparent 0, transparent 18px, rgba(255,255,255,0.025) 18px, rgba(255,255,255,0.025) 36px); }
.ph-dark .ph-label { background: var(--ink-700); border-color: var(--ink-500); color: var(--cream-200); }

/* ————— Sections ————— */
section { padding: 88px 0; }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head .kicker { margin-bottom: 14px; display: block; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.section-head p { color: var(--ink-500); font-size: 16px; line-height: 1.6; max-width: 560px; }

.section-dark { background: var(--surface-dark); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: rgba(245,242,234,0.7); }
.section-dark .section-head p { color: rgba(245,242,234,0.65); }

.section-cream { background: var(--cream-100); }

/* ————— Footer ————— */
.footer {
  background: var(--surface-dark); color: var(--on-dark);
  padding: 80px 0 32px;
}
.footer h4 {
  font-family: var(--ff-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(245,242,234,0.6); max-width: 320px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  position: relative; display: inline-block;
  font-size: 14px; color: rgba(245,242,234,0.7); transition: color 0.2s;
}
.footer-col a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.footer-col a:hover { color: var(--on-dark); }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; font-size: 12px; color: rgba(245,242,234,0.4);
  flex-wrap: wrap; gap: 16px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { position: relative; display: inline-block; color: inherit; transition: color 0.2s; }
.footer-legal a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.footer-legal a:hover { color: var(--on-dark); }
.footer-legal a:hover::after { transform: scaleX(1); }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Animation: fade in on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Density variants */
[data-density="compact"] section { padding: 64px 0; }
[data-density="airy"] section { padding: 120px 0; }

/* Responsive */
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .nav-right > .theme-toggle, .nav-fav, .nav-cta, .nav-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .nav-phone small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ————— Mobile burger + off-canvas menu ————— */
.nav-burger { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; }
.nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink-900); transition: transform .25s ease, opacity .2s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mm-backdrop { position: fixed; inset: 0; z-index: 299; background: rgba(21,19,14,0.45); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.mm-backdrop.show { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 330px; max-width: 86vw; z-index: 300; display: none; flex-direction: column; padding: 18px 22px 26px; background: var(--cream-50); border-left: 1px solid var(--line); box-shadow: -14px 0 44px rgba(0,0,0,0.18); overflow-y: auto; }
.mobile-menu.open { display: flex; animation: mmSlideIn .3s ease; }
@keyframes mmSlideIn { from { transform: translateX(100%); } to { transform: none; } }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mm-logo { height: 30px; width: auto; }
.mm-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-900); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mm-links { display: flex; flex-direction: column; }
.mm-links a { padding: 13px 0; font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--ink-900); border-bottom: 1px solid var(--line); transition: color .2s; }
.mm-links a:hover { color: var(--accent-ink); }
.mm-contact { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mm-phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 700; font-size: 19px; color: var(--ink-900); }
.mm-phone .ic { color: var(--accent-ink); }
.mm-hours { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-500); margin-top: 9px; }
.mm-hours .ic { color: var(--accent-ink); }
.mm-foot { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 22px; }
.mm-lang { display: flex; align-items: center; gap: 9px; font-family: var(--ff-mono); font-size: 13px; }
.mm-lang a { color: var(--ink-500); }
.mm-lang a.is-active { color: var(--ink-900); font-weight: 600; }
.mm-lang span { color: var(--ink-400); }
.mm-fav { display: inline-flex; align-items: center; gap: 8px; padding-top: 15px; font-size: 14px; color: var(--ink-700); }
.mm-fav .ic { color: var(--accent-ink); }
.mm-fav-count { background: var(--accent); color: #fff; border-radius: 9px; min-width: 18px; height: 18px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: 10px; }
.mm-cta { margin-top: auto; justify-content: center; }

/* Mobile phone icon button (opens the contacts popup on click) */
.nav-phone-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink-900); cursor: pointer; transition: all .2s; }
.nav-phone-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
/* Mobile-only favorites icon in the header bar (desktop uses .nav-fav). */
.nav-fav-m { display: none; position: relative; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink-900); transition: all .2s; }
.nav-fav-m:hover { border-color: var(--accent); color: var(--accent-ink); }
.nav-phone-wrap.pop-open .nav-phone-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.mm-theme { flex-shrink: 0; }

/* Show burger + phone icon on mobile (placed after base rules to win the cascade) */
@media (max-width: 960px) {
  .nav-burger { display: inline-flex; }
  .nav-phone-btn { display: inline-flex; }
  .nav-fav-m { display: inline-flex; }
}

/* Mobile quick-nav: slim sticky strip of key sections under the header. Hidden on
   desktop; on mobile it pins right below the ~74px sticky .nav. */
.mqnav { display: none; }
@media (max-width: 960px) {
  .mqnav {
    display: block;
    position: sticky; top: 73px; z-index: 49; /* 73px ≈ mobile .nav height (slight overlap avoids a hairline gap) */
    background: color-mix(in srgb, var(--cream-50) 92%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .mqnav-inner {
    display: flex; align-items: stretch; justify-content: space-around;
    max-width: var(--container); margin: 0 auto;
  }
  .mqnav a {
    flex: 1 1 0; text-align: center; padding: 11px 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
    color: var(--ink-900); white-space: nowrap;
    border-right: 1px solid var(--line);
    transition: background .15s ease, color .15s ease;
  }
  .mqnav a:last-child { border-right: none; }
  .mqnav a:active { background: var(--accent-soft); color: var(--accent-ink); }
}


/* ==================== HOMEPAGE sections ==================== */
/* ========== Homepage-specific styles ========== */

/* Inline icon helper (replaces the former React <Icon/>) */
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn .ic { width: 16px; height: 16px; }

/* ===== Hero slider (full-bleed, 4 slides) ===== */
.hero-slider {
  position: relative;
  height: 88vh;
  min-height: 640px;
  max-height: 940px;
  background: #100e0c;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hs-slides { position: absolute; inset: 0; }

/* A slide fades in/out; only the active one is visible */
.hs-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
.hs-slide.is-active { opacity: 1; visibility: visible; }

/* Background image with a slow Ken Burns zoom while active */
.hs-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}
.hs-slide.is-active .hs-bg { transform: scale(1); }

.hs-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(16,14,12,0.88) 0%, rgba(16,14,12,0.4) 45%, rgba(16,14,12,0.12) 100%),
    linear-gradient(to right, rgba(16,14,12,0.62) 0%, rgba(16,14,12,0) 58%);
}

.hs-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: flex-end;
  padding-bottom: 130px;
}
.hs-content { max-width: 780px; }

/* Cascading reveal: items start shifted + transparent, then stagger in when active */
.hs-eyebrow, .hs-title, .hs-lead, .hs-cta {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hs-slide.is-active .hs-eyebrow { opacity: 1; transform: none; transition-delay: 0.25s; }
.hs-slide.is-active .hs-title   { opacity: 1; transform: none; transition-delay: 0.40s; }
.hs-slide.is-active .hs-lead    { opacity: 1; transform: none; transition-delay: 0.55s; }
.hs-slide.is-active .hs-cta     { opacity: 1; transform: none; transition-delay: 0.70s; }
/* While the preloader covers the page, hold the first slide's entrance at its start
   state; the cascade + Ken Burns then play the moment the overlay fades (the
   veko-loading class is removed). Purely CSS — no dependency on the footer JS. */
html.veko-loading .hs-slide.is-active .hs-eyebrow,
html.veko-loading .hs-slide.is-active .hs-title,
html.veko-loading .hs-slide.is-active .hs-lead,
html.veko-loading .hs-slide.is-active .hs-cta { opacity: 0; transform: translateY(30px); }
html.veko-loading .hs-slide.is-active .hs-bg { transform: scale(1.08); }

.hs-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hs-rule { width: 36px; height: 1px; background: rgba(245,242,234,0.6); display: block; }
.hs-eyebrow span:last-child {
  font-family: var(--ff-mono);
  font-size: 16px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,242,234,0.85);
}
.hs-title {
  font-size: clamp(40px, 5.6vw, 65px);
  line-height: 0.96; letter-spacing: -0.04em; font-weight: 700;
  color: var(--on-dark); margin-bottom: 22px;
}
.hs-title em { font-style: normal; color: var(--accent); }
.hs-lead {
  font-size: 17px; line-height: 1.55;
  color: rgba(245,242,234,0.8); max-width: 540px; margin-bottom: 34px;
}
.hs-cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.btn.btn-primary-light { background: var(--on-dark); color: var(--surface-dark); border: none; }
.btn.btn-primary-light:hover { background: var(--accent); color: #fff; }
/* Arrow nudges right on hover for hero buttons */
.hs-cta .btn .ic { transition: transform 0.2s ease; }
.hs-cta .btn:hover .ic { transform: translateX(4px); }
.hs-link {
  color: var(--on-dark); font-size: 14px; letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(245,242,234,0.4); padding-bottom: 4px;
  transition: border-color 0.2s;
}
.hs-link:hover { border-color: var(--accent); color: var(--accent); }

/* Arrows */
.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,242,234,0.10); color: var(--on-dark);
  border: 1px solid rgba(245,242,234,0.25);
  backdrop-filter: blur(6px); cursor: pointer; transition: all 0.2s;
}
.hs-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hs-prev { left: 32px; }
.hs-next { right: 32px; }
.hs-prev svg { transform: rotate(180deg); }

/* Dots */
.hs-dots {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.hs-dot {
  width: 36px; height: 4px; border-radius: 2px; padding: 0;
  background: rgba(245,242,234,0.3); border: none; cursor: pointer;
  transition: all 0.3s ease;
}
.hs-dot:hover { background: rgba(245,242,234,0.55); }
.hs-dot.is-active { background: var(--accent); width: 54px; }

@media (max-width: 1080px) {
  .hero-slider { height: auto; min-height: 560px; }
  .hs-inner { padding-bottom: 80px; }
  .hs-arrow { display: none; }
}
@media (max-width: 640px) {
  /* Full-screen hero on phones: topbar is hidden, only the ~66px sticky nav is above,
     so the hero fills the rest of the viewport (svh = stable, no jump with the URL bar). */
  .hero-slider { min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); max-height: none; }
  .hs-inner { padding-bottom: 125px; }
  .hs-lead { font-size: 16px; }
  .hs-eyebrow span:last-child { font-size: 14px; }
  .hs-shade { background: linear-gradient(to top, rgba(16,14,12,0.92) 0%, rgba(16,14,12,0.5) 60%, rgba(16,14,12,0.3) 100%); }
}

/* Hero ticker — promo line scrolling right→left under the hero */
.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  overflow: hidden;
  background: rgba(16,14,12,0);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--on-dark); /* fixed light — the hero photo behind stays dark in both themes */
  border-top: 0;
}
.hero-ticker .ht-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 19px 0;
  animation: veko-ticker 60s linear infinite;
  will-change: transform;
}
.hero-ticker:hover .ht-track { animation-play-state: paused; }
.hero-ticker .ht-item {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 22px;
}
.hero-ticker .ht-sep { color: var(--accent); font-size: 13px; }
@keyframes veko-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-ticker .ht-track { animation: none; } }

/* USP strip */
.usps {
  background: var(--surface-dark);
  color: var(--on-dark);
}
.usps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
/* Icon on top + centered text — keeps 5 columns readable with longer copy */
.usp-item {
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.usp-item:last-child { border-right: none; }
.usp-ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(184,146,106,0.18);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* Icon size is controlled via CSS (the .ic rule overrides HTML width/height) */
.usp-ic .ic { width: 33px; height: 33px; }
.usp-txt { font-size: 13px; line-height: 1.55; color: rgba(245,242,234,0.7); }
.usp-txt strong { display: block; color: var(--on-dark); font-family: var(--ff-display); font-size: 16px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }

/* Categories strip */
.cats { padding: 100px 0 60px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
/* Category card: tall rounded photo with an icon badge, then count + serif name + arrow. */
.hcat {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hcat:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.09); }
.hcat-media {
  position: relative;
  aspect-ratio: 3 / 5;
  background: var(--cream-100);
}
.hcat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hcat-ic {
  position: absolute; top: 14px; left: 14px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream-50);
  color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  transition: background .25s ease, color .25s ease;
}
.hcat-ic .ic { width: 26px; height: 26px; }
.hcat-foot { background: var(--cream-100); padding: 18px 20px 20px; }
.hcat-count { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }
.hcat-name { font-family: var(--ff-display); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-900); margin: 6px 0 16px; }
.hcat-go {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink-900);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.hcat:hover .hcat-go { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.hcat:hover .hcat-ic { background: var(--ink-900); color: #fff; }

.cats-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px; gap: 40px;
}
/* Only the catalog head wraps its button below the (long) heading on mobile. */
.cats-head-cta { flex-wrap: wrap; }
.cats-head .section-head { margin-bottom: 0; }

/* Products / bestsellers */
.bestsellers { padding-top: 60px; padding-bottom: 100px; }
.prod-tabs {
  display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
}
.prod-tabs-list { display: flex; gap: 8px; flex-wrap: wrap; }
.prod-tab {
  padding: 8px 16px;
  font-size: 13px; font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink-700);
  transition: all 0.2s;
}
.prod-tab:hover { border-color: var(--ink-700); color: var(--ink-900); }
.prod-tab.active { background: var(--ink-900); color: var(--cream-50); border-color: var(--ink-900); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-card {
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  -webkit-tap-highlight-color: transparent; /* kill the grey tap flash on mobile */
}
.prod-card.is-hidden { display: none; }
/* Stretched link makes the whole card clickable; fav button stays above it */
.prod-link { position: absolute; inset: 0; z-index: 1; -webkit-tap-highlight-color: transparent; }
.prod-fav { z-index: 2; }
.prod-card .prod-img {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-100);
  margin-bottom: 14px;
}
.prod-card .ph { inset: 0; position: absolute; }
/* Product photo + hover zoom */
.prod-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
/* Smooth zoom only on single-image cards; slider cards just crossfade (no jitter).
   Gated to real pointers: on touch a hover-reveal makes iOS swallow the first tap,
   so the card would need a double-tap to open — keep these desktop-only. */
@media (hover: hover) and (pointer: fine) {
  .prod-card:hover .prod-img:not([data-slider]) .prod-photo { transform: scale(1.06); }
}
.prod-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.prod-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
}
.prod-badge svg { width: 12px; height: 12px; }
.prod-badge.sale { background: var(--ink-900); color: var(--cream-50); }
.prod-badge.new { background: var(--accent); color: #fff; }
.prod-badge.stock { background: var(--cream-50); color: var(--ink-900); border: 1px solid var(--line-strong); }
.prod-fav {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(245,242,234,0.9);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #4f5560;
  transition: all 0.2s;
  opacity: 0; transform: translateY(-4px);
}
@media (hover: hover) and (pointer: fine) {
  .prod-card:hover .prod-fav { opacity: 1; transform: translateY(0); }
  .prod-fav:hover { background: var(--accent); color: #fff; }
}
/* Homepage bestsellers: short-description overlay revealed on hover (desktop only) */
.prod-hover {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 16px 16px;
  background: linear-gradient(to top, rgba(21,19,14,0.94) 0%, rgba(21,19,14,0.55) 60%, transparent 100%);
  color: #fff;
  opacity: 0; transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none; z-index: 2;
}
.prod-hover-text {
  margin: 0; font-size: 13px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .prod-card:hover .prod-hover { opacity: 1; transform: translateY(0); }
}
/* Touch: no hover to reveal the fav button — keep it visible, but with a transparent
   plate (per request). A white heart + soft drop-shadow keeps it legible on any photo.
   Pressing scales the PHOTO (not .prod-img: transforming that box makes it a stacking
   context and drops the z-index:2 heart below the stretched link, breaking the tap). */
@media (hover: none), (pointer: coarse) {
  .prod-fav {
    top: 7px;
    right: 7px;
    opacity: 1;
    transform: none;
    background: #caad932e;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: #fff;
  }
  /* Tap feedback: tint the title like the desktop hover (no photo zoom). iOS Safari
     doesn't fire :active on a non-link <article>, so custom.js also toggles .is-tapped.
     transition:none snaps straight to the full accent colour — otherwise a quick tap
     catches the 0.2s fade mid-way and lands on a paler tint (esp. in the dark theme).
     On release the class drops and the base 0.2s transition fades it back out. */
  .prod-card:active .prod-info h3,
  .prod-card.is-tapped .prod-info h3 { color: var(--accent-ink); transition: none; }
}

.prod-info h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 3px; font-family: var(--ff-display); transition: color 0.2s; }
@media (hover: hover) and (pointer: fine) { .prod-card:hover .prod-info h3 { color: var(--accent-ink); } }
.prod-info .type { font-size: 12px; color: var(--ink-500); margin-bottom: 8px; letter-spacing: 0.02em; }
.prod-price { font-size: 15px; font-weight: 700; color: var(--ink-900); font-family: var(--ff-display); }
.prod-price .old { font-size: 13px; color: var(--ink-400); text-decoration: line-through; font-weight: 400; margin-left: 8px; }
.prod-price .from { font-size: 12px; font-weight: 400; color: var(--ink-500); }

.prod-more {
  margin-top: 40px; text-align: center;
}

/* Editorial split */
.editorial {
  background: var(--cream-100);
  padding: 120px 0;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.editorial h2 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 28px;
}
.editorial h2 em {
  font-style: normal;
  color: var(--accent-ink);
}
.editorial p { font-size: 16px; line-height: 1.7; color: var(--ink-500); margin-bottom: 16px; max-width: 480px; }
.editorial-visual { position: relative; aspect-ratio: 5/6; border-radius: var(--radius-lg); overflow: hidden; }
.editorial-visual .ph { position: absolute; inset: 0; }
.editorial-visual .editorial-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-stamp {
  position: absolute; bottom: 28px; left: 28px;
  background: var(--cream-50); padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex; gap: 16px; align-items: center;
}
.editorial-stamp .big { font-family: var(--ff-display); font-size: 44px; font-weight: 800; color: var(--accent-ink); letter-spacing: -0.03em; line-height: 1; }
.editorial-stamp .sm { font-size: 12px; line-height: 1.4; color: var(--ink-700); max-width: 120px; }

/* Counters ribbon */
.counters {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: 80px 0;
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.counter {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.counter:last-child { border-right: none; }
.counter .num {
  font-family: var(--ff-display);
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--on-dark);
  display: flex; align-items: baseline; gap: 6px;
}
.counter .num sup { font-size: 0.4em; color: var(--accent); font-weight: 600; }
.counter .lbl { font-size: 13px; color: rgba(245,242,234,0.55); margin-top: 14px; letter-spacing: 0.02em; line-height: 1.5; }

/* Testimonials */
.reviews { padding: 120px 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.3s;
}
.review-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.review-card.is-hidden { display: none; }
.review-stars { display: flex; gap: 2px; color: var(--accent); }
.review-text {
  font-family: var(--ff-editorial);
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-800);
  flex: 1;
}
.review-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 700; font-size: 14px; }
.review-name { font-weight: 600; font-size: 14px; }
.review-meta { font-size: 12px; color: var(--ink-500); }

.reviews-foot {
  margin-top: 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 36px;
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  gap: 24px;
  flex-wrap: wrap;
}
.reviews-foot .score { display: flex; align-items: center; gap: 16px; }
.reviews-foot .score-num { font-family: var(--ff-display); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-900); }
.reviews-foot .score-info { font-size: 13px; color: var(--ink-500); }
.reviews-foot .score-info strong { color: var(--ink-900); display: block; font-size: 14px; margin-bottom: 2px; }

/* HoReCa banner */
.horeca-banner {
  position: relative;
  padding: 96px 0;
  background: var(--surface-dark);
  color: var(--on-dark);
  overflow: hidden;
}
.horeca-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 40%, rgba(184,146,106,0.15), transparent 55%);
  pointer-events: none;
}
.horeca-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.horeca-grid h2 { font-size: clamp(36px, 4.5vw, 54px); margin-bottom: 20px; }
.horeca-grid h2 em { font-style: normal; color: var(--accent); }
.horeca-grid p { font-size: 16px; line-height: 1.7; color: rgba(245,242,234,0.65); margin-bottom: 28px; max-width: 480px; }
.horeca-bullets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.horeca-bullets li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(245,242,234,0.85); }
.horeca-bullets li svg { color: var(--accent); }
.horeca-visual { position: relative; aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; }
.horeca-visual .horeca-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Salons map */
.salons { padding: 120px 0; background: var(--cream-50); }
.salons-grid {
  display: grid;
  grid-template-columns: 1fr 1.77fr;
  gap: 10px;
  align-items: start;
}
.salons-side { display: flex; flex-direction: column; gap: 18px; }
.salons-list {
  display: flex; flex-direction: column; gap: 4px;
  max-height: 560px; overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;                       /* Firefox */
  scrollbar-color: var(--accent) transparent;
}
.salons-list::-webkit-scrollbar { width: 6px; }
.salons-list::-webkit-scrollbar-track { background: transparent; }
.salons-list::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; }
.salons-list::-webkit-scrollbar-thumb:hover { background: var(--accent-ink); }
.salon-row {
  border: 1px solid transparent;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.salon-row:hover, .salon-row.active { background: var(--cream-100); border-color: var(--accent-soft); }
.salon-row-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
}
.salon-row .city-name { font-family: var(--ff-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.salon-row .city-meta { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.salon-row .count { font-size: 13px; color: var(--ink-700); display: flex; align-items: center; gap: 8px; }
.salon-row .count .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Address accordion — expands on the active row */
.salon-addrs {
  list-style: none; margin: 0;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.salon-row.active .salon-addrs { max-height: 2000px; opacity: 1; }
.salon-addrs li {
  padding: 9px 20px; font-size: 13px; line-height: 1.45;
  border-top: 1px dashed var(--line);
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.salon-addrs li:hover { background: var(--cream-200); }
.salon-addrs li.active { background: var(--accent-soft); border-left-color: var(--accent); }
.salon-addrs li:last-child { padding-bottom: 14px; }
.salon-addrs strong { display: block; color: var(--ink-900); font-weight: 600; }
.salon-addrs span { color: var(--ink-500); }

/* Leaflet map container */
.salons-map {
  height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 1;
  background: var(--cream-100);
}
/* Brand monochrome over the OSM tiles — kills the green/clutter, warm cream tone.
   (Does not affect markers/popups, which live in other panes.) */
.salons-map .leaflet-tile-pane { filter: grayscale(1) sepia(0.42) saturate(0.8) brightness(1.07) contrast(0.9); }
/* Hide the Leaflet/OSM attribution badge (per request) */
.salons-map .leaflet-control-attribution { display: none; }

/* Fullscreen: map fills the screen (native API + .is-fs fallback) */
.salons-map:fullscreen { height: 100%; width: 100%; border-radius: 0; border: 0; }
.salons-map.is-fs { position: fixed; inset: 0; z-index: 9999; height: 100% !important; width: 100%; border-radius: 0; border: 0; }

/* Accent SVG marker (divIcon) */
.veko-marker { background: none; border: none; }
.veko-marker svg { display: block; filter: drop-shadow(0 3px 5px rgba(21,19,14,0.35)); transition: transform 0.15s; }
.veko-marker:hover svg { transform: scale(1.12); }

/* Light Leaflet popup (brand) */
.veko-popup .leaflet-popup-content-wrapper {
  background: var(--cream-50); color: var(--ink-900);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
}
.veko-popup .leaflet-popup-tip { background: var(--cream-50); box-shadow: var(--shadow-md); }
.veko-popup .leaflet-popup-content { margin: 14px 16px; font-family: var(--ff-body); line-height: 1.4; }
.veko-popup .leaflet-popup-close-button { color: var(--ink-400); padding: 8px 8px 0 0; }
.veko-popup .leaflet-popup-close-button:hover { color: var(--ink-900); }
.vp-city { font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.vp-list { list-style: none; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.vp-list li { font-size: 12.5px; line-height: 1.35; }
.vp-list b { display: block; color: var(--ink-900); font-weight: 600; }
.vp-list span { color: var(--ink-500); }
.vp-contacts { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.vp-contacts a { color: var(--accent-ink) !important; font-weight: 600; font-size: 12px; text-decoration: none; }
.vp-contacts a:hover { text-decoration: underline; }
.vp-foot { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.vp-foot a { color: var(--accent-ink) !important; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.vp-foot a:hover { text-decoration: underline; }
/* Wishlist heart active state */
.prod-fav.is-active { background: var(--accent); color: #fff; opacity: 1; }
.prod-fav.is-active svg { fill: currentColor; }
.vp-foot { display: flex; flex-direction: column; gap: 3px; padding-top: 10px; border-top: 1px solid var(--line); }
.vp-foot a { color: var(--accent-ink); font-size: 12.5px; font-weight: 600; }

/* Zoom + fullscreen controls — brand style: rounded, accent border */
.salons-map .leaflet-bar { border: 1.5px solid var(--accent); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.salons-map .leaflet-bar a { width: 34px; height: 34px; line-height: 34px; color: var(--ink-900); background: var(--cream-50); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.salons-map .leaflet-bar a:last-child { border-bottom: none; }
.salons-map .leaflet-bar a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.salons-map .leaflet-bar a:first-child { border-top-left-radius: 13px; border-top-right-radius: 13px; }
.salons-map .leaflet-bar a:last-child { border-bottom-left-radius: 13px; border-bottom-right-radius: 13px; }
.salons-map .leaflet-bar a.veko-fs { display: flex; align-items: center; justify-content: center; }
.salons-map .leaflet-bar a.veko-fs svg { display: block; }

/* Blog */
.blog { padding: 120px 0; background: var(--cream-100); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--line);
  position: relative;
}
/* Stretched link makes the whole card clickable → opens the single article. */
.blog-card .blog-link { position: absolute; inset: 0; z-index: 2; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card:hover .blog-body h3 { color: var(--accent-ink); }
.blog-card .blog-img { aspect-ratio: 16/10; position: relative; }
.blog-card .blog-img .ph { position: absolute; inset: 0; }
.blog-card .blog-img { overflow: hidden; }
.blog-card .blog-img .blog-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img .blog-photo { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-body .chip { margin-bottom: 14px; }
.blog-body h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.25; }
.blog-body p { font-size: 13px; color: var(--ink-500); line-height: 1.6; }
.blog-body .meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-500);
}

/* ===== Single article (journal) — editorial typography ===== */
.art-single { padding: 36px 0 80px; }
.art-head { margin-bottom: 28px; }
.art-head .chip { margin-bottom: 18px; }
.art-head h1 { font-family: var(--ff-display); font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-900); margin-bottom: 16px; }
.art-meta { display: flex; gap: 16px; align-items: center; font-family: var(--ff-mono); font-size: 13px; color: var(--ink-400); }
.art-hero-img { margin: 0 0 40px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--cream-100); }
.art-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.art-body { font-size: 17px; line-height: 1.8; color: var(--ink-700); }
.art-body > :first-child { margin-top: 0; }
.art-body p { margin: 0 0 20px; }
.art-body h2 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink-900); margin: 42px 0 16px; }
.art-body h3 { font-family: var(--ff-display); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ink-900); margin: 30px 0 12px; }
.art-body ul, .art-body ol { margin: 0 0 22px; padding: 0; list-style: none; }
.art-body li { position: relative; padding-left: 28px; margin-bottom: 11px; }
.art-body ul li::before { content: ""; position: absolute; left: 5px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.art-body ol { counter-reset: art-c; }
.art-body ol li { counter-increment: art-c; }
.art-body ol li::before { content: counter(art-c); position: absolute; left: 0; top: 1px; font-family: var(--ff-mono); font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.art-body strong { color: var(--ink-900); font-weight: 600; }
.art-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.art-body a:hover { color: var(--accent); }
.art-body blockquote { margin: 30px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--accent); font-family: var(--ff-editorial); font-size: 20px; line-height: 1.6; color: var(--ink-900); }
.art-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 28px 0; display: block; }
@media (max-width: 600px) {
  .art-body { font-size: 16px; line-height: 1.75; }
  .art-body h2 { margin-top: 34px; }
}

/* Final CTA */
.final-cta {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.final-cta-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 28px;
  position: relative;
}
.final-cta h2 {
  font-size: clamp(44px, 6vw, 80px);
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 900px;
}
.final-cta h2 em { font-style: normal; color: var(--accent); }
.final-cta p { color: rgba(245,242,234,0.6); font-size: 17px; max-width: 540px; }
.final-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

.final-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(160px, 24vw, 340px);
  letter-spacing: -0.04em;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1080px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-grid { grid-template-columns: 1fr; gap: 48px; }
  .reviews-grid, .blog-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .counter { border-right: none; }
  .horeca-grid { grid-template-columns: 1fr; }
  /* ===== Salons "variant A": map sticks to the top, city list scrolls under it ===== */
  .salons-grid { display: flex; flex-direction: column; gap: 0; }
  .salons-side { order: 2; }
  .salons-list { max-height: none; overflow: visible; padding-right: 0; }
  /* The map pins to just under the sticky nav (height measured into --veko-nav-h
     by custom.js) and stays in view while the address list scrolls beneath it.
     align-self:start stops the flex column from stretching it (which kills sticky). */
  .salons-map {
    order: 1;
    align-self: start;
    position: sticky;
    top: calc(var(--veko-nav-h, 70px) + 8px);
    height: 46svh; height: 46vh;
    width: 100%;
    margin-bottom: 16px;
    z-index: 2;
  }
  /* Tablet: 3 columns, drop dividers for a clean wrap. */
  .usps-grid { grid-template-columns: repeat(3, 1fr); }
  .usp-item { border-right: none; }
}
@media (max-width: 640px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: 1fr; }
  /* Phone: hide the USP/features strip entirely. */
  .usps { display: none; }
  /* Catalog head only: smaller gap once its button wraps under the heading */
  .cats-head-cta { gap: 18px; }
  .hs-inner { padding-bottom: 125px; }
}

/* ==================== Floating widgets ==================== */
.fab {
  position: fixed; bottom: 28px; z-index: 1000;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-lg);
  transition: transform 0.2s, opacity 0.25s, background 0.2s;
}
/* Scroll-to-top (right) */
.fab-top {
  right: 28px;
  background: var(--surface-dark); color: var(--on-dark);
  opacity: 0; visibility: hidden; transform: translateY(16px);
}
.fab-top.visible { opacity: 1; visibility: visible; transform: none; }
.fab-top:hover { background: var(--accent-ink); transform: translateY(-2px); }

/* Chat (left) */
.chat-widget { position: fixed; left: 28px; bottom: 0px; z-index: 1000; }
.fab-chat { position: relative; background: var(--accent); color: #fff; }
.fab-chat:hover { background: var(--accent-ink); }
.fab-chat .ic-shut { display: none; }
.chat-widget.open .fab-chat .ic-open { display: none; }
.chat-widget.open .fab-chat .ic-shut { display: block; }

.chat-panel {
  position: absolute; bottom: 83px; left: 0;
  width: 300px; max-width: calc(100vw - 40px);
  background: var(--cream-50); color: var(--ink-900);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: none; flex-direction: column;
  transform-origin: bottom left; /* grows out of the chat button */
}
.chat-widget.open .chat-panel { display: flex; animation: chatIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1); }
.chat-widget.closing .chat-panel { display: flex; animation: chatOut 0.2s cubic-bezier(0.4, 0, 1, 1) forwards; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes chatOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px) scale(0.96); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--surface-dark); color: var(--on-dark); }
.chat-ava {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 700; font-size: 18px;
}
.chat-head-txt { flex: 1; }
.chat-title { font-family: var(--ff-display); font-weight: 700; font-size: 15px; }
.chat-sub { font-size: 11px; color: rgba(245,242,234,0.65); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #5bbd6a; box-shadow: 0 0 0 3px rgba(91,189,106,0.25); }
.chat-close { color: rgba(245,242,234,0.6); display: flex; }
.chat-close:hover { color: var(--on-dark); }
.chat-body {
  padding: 18px 16px; display: flex; flex-direction: column; gap: 10px;
  height: 280px; overflow-y: auto; background: var(--cream-100);
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; }
.chat-turn { display: flex; flex-direction: column; max-width: 85%; }
.chat-turn.in { align-self: flex-start; align-items: flex-start; }
.chat-turn.out { align-self: flex-end; align-items: flex-end; }
.chat-author { font-size: 8.5px; font-weight: 600; color: var(--ink-500); margin: 0 9px 3px; letter-spacing: 0.01em; }
.chat-msg { max-width: 100%; padding: 10px 14px; font-size: 11.5px; line-height: 1.45; border-radius: 14px; }
.chat-msg.in { background: var(--cream-50); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.out { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat-status { display: flex; align-items: center; margin: 3px 6px 0; color: var(--ink-500); }
.chat-status svg { width: 15px; height: 11px; display: block; }
.chat-status.read { color: var(--accent-ink); }
.chat-input { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--cream-50); }
.chat-input-row { display: flex; gap: 8px; align-items: center; }
.chat-input input {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 16px; font-size: 10.5px; font-family: var(--ff-body);
  background: var(--cream-50); color: var(--ink-900); outline: none;
}
.chat-input-row input { flex: 1; width: auto; }
.chat-input input:focus { border-color: var(--accent); }
.chat-input button {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.chat-input button:hover { background: var(--accent-ink); }
.chat-gdpr { margin: 2px 4px 0; font-size: 10.5px; line-height: 1.45; color: var(--ink-500); }
.chat-gdpr a { color: var(--accent-ink); text-decoration: underline; }

@media (max-width: 640px) {
  .fab { width: 46px; height: 46px; bottom: 18px; }
  .fab-top { right: 18px; }
  .chat-widget { left: 18px; bottom: 5px; }
  /* Roomier chat window on phones (~20% larger). */
  .chat-panel { width: 380px; max-width: calc(100vw - 28px); }
  .chat-body { height: 390px; }
  .chat-msg { font-size: 12.5px; }
  .chat-input input { font-size: 13.5px; }
}

/* Form controls: keep a consistent, readable size on mobile. */
@media (max-width: 768px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea {
    font-size: 16px !important;
  }
}

/* ==================== Custom order (process) ==================== */
.custom-order { background: var(--cream-100); }
.co-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.co-intro h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.02em; margin: 14px 0 16px; }
.co-intro h2 em { font-style: normal; color: var(--accent-ink); }
.co-intro p { color: var(--ink-500); font-size: 16px; line-height: 1.7; max-width: 440px; }
.co-swatches { display: flex; gap: 10px; margin: 28px 0 10px; }
.co-swatches span { width: 50px; height: 50px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); background-size: cover; background-position: center; }
.co-swatch-note { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-500); text-transform: uppercase; }
.co-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.co-step { position: relative; padding-top: 6px; }
.co-step-num { font-family: var(--ff-mono); font-size: 12px; font-weight: 600; color: var(--accent-ink); letter-spacing: 0.1em; margin-bottom: 14px; }
.co-step-ic { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.co-step-ic .ic { width: 28px; height: 28px; }
.co-step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.co-step p { font-size: 13.5px; line-height: 1.55; color: var(--ink-500); }

/* ==================== Materials & details ==================== */
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mat-card { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; }
.mat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mat-img { aspect-ratio: 16/11; overflow: hidden; }
.mat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mat-card:hover .mat-img img { transform: scale(1.05); }
.mat-body { padding: 24px 26px 28px; }
.mat-body h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 10px; }
.mat-body p { font-size: 14px; line-height: 1.6; color: var(--ink-500); }

/* ==================== Showroom booking form ==================== */
.showroom-form { background: var(--cream-100); }
.sf-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.sf-visual { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; }
.sf-visual img { width: 100%; height: 100%; object-fit: cover; }
.sf-content h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.02em; margin: 14px 0 14px; }
.sf-content h2 em { font-style: normal; color: var(--accent-ink); }
.sf-content > p { color: var(--ink-500); font-size: 16px; line-height: 1.6; margin-bottom: 26px; max-width: 460px; }
.sf-form { display: flex; flex-direction: column; gap: 14px; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf-form input, .sf-form select {
  width: 100%; padding: 13px 16px; font-family: var(--ff-body); font-size: 14px;
  color: var(--ink-900); background: var(--cream-50);
  border: 1px solid var(--line-strong); border-radius: var(--radius); outline: none;
  transition: border-color 0.2s;
}
.sf-form input:focus, .sf-form select:focus { border-color: var(--accent); }
.sf-submit { align-self: flex-start; margin-top: 4px; }
.sf-note { font-size: 12px; color: var(--ink-400); margin-top: 2px; }

/* ==================== Instagram ==================== */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-item { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insta-item:hover img { transform: scale(1.08); }
.insta-ic {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(21,19,14,0.45); opacity: 0; transition: opacity 0.25s;
}
.insta-item:hover .insta-ic { opacity: 1; }
.insta-foot { text-align: center; margin-top: 36px; }

@media (max-width: 1080px) {
  .co-grid { grid-template-columns: 1fr; gap: 36px; }
  .mat-grid { grid-template-columns: 1fr; }
  .sf-grid { grid-template-columns: 1fr; gap: 32px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .co-steps { grid-template-columns: 1fr; }
  .sf-row { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

.sf-success { font-size: 16px; font-weight: 600; color: var(--accent-ink); padding: 18px 0; }

/* ==================== Product page ==================== */
.pd { padding: 30px 0 80px; }
.pd-crumbs { font-size: 13px; color: var(--ink-500); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pd-crumbs a:hover { color: var(--accent-ink); }
.pd-crumbs span { color: var(--ink-300); }
.pd-crumbs-cur { color: var(--ink-900); }
.pd-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: 90px; }
.pd-main { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-100); }
/* The slide animation (transform/opacity) is driven inline by product.js. */
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-badge { position: absolute; top: 16px; left: 16px; background: var(--surface-dark); color: var(--on-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; display: inline-flex; align-items: center; gap: 5px; }
.pd-badge svg { width: 13px; height: 13px; }
.pd-main-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.85); color: var(--ink-900); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 0 4px 14px rgba(0,0,0,0.12); opacity: 0; transition: opacity .2s, background .2s, transform .2s; z-index: 2; }
.pd-main:hover .pd-main-nav { opacity: 1; }
.pd-main-nav:hover { background: var(--card); }
.pd-main-prev { left: 14px; }
.pd-main-next { right: 14px; }
/* Favorites heart on the main photo — always visible (no card-hover to reveal it). */
.pd-fav { top: 14px; right: 14px; width: 40px; height: 40px; opacity: 1; transform: none; z-index: 3; }
.pd-fav svg, .pd-fav .ic { width: 18px; height: 18px; }

/* Top-left overlay: badge + 3D button live here together (always present, never overlap) */
.pd-tl { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 72px); }
.pd-tl .pd-badge { position: static; top: auto; left: auto; }
/* Split control: left = open 3D viewer, right (divider) = direct download */
.pd-3d { display: inline-flex; align-items: stretch; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); overflow: hidden; }
.pd-3d-view, .pd-3d-dl { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: none; color: var(--ink-900); cursor: pointer; transition: background .2s, color .2s; }
.pd-3d-view { gap: 7px; padding: 9px 14px; font-family: var(--ff-display); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.pd-3d-dl { padding: 0 11px; border-left: 1px solid var(--line); }
.pd-3d-view svg, .pd-3d-view .ic, .pd-3d-dl svg, .pd-3d-dl .ic { width: 17px; height: 17px; }
.pd-3d-view:hover, .pd-3d-dl:hover { background: var(--ink-900); color: var(--cream-50); }

/* 3D viewer modal */
.veko-3d { position: fixed; inset: 0; z-index: 1300; display: none; }
.veko-3d.is-open { display: block; }
.v3d-backdrop { position: absolute; inset: 0; background: rgba(16,14,12,0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.v3d-panel { position: absolute; inset: 4vh 4vw; background: linear-gradient(180deg, #f6f3ee, #e9e4db); border-radius: var(--radius-lg, 18px); overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.4); }
.v3d-stage { position: absolute; inset: 0; }
.v3d-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.v3d-stage canvas:active { cursor: grabbing; }
.v3d-close { position: absolute; top: 16px; right: 16px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,0.85); color: var(--ink-900); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.v3d-close:hover { background: var(--card); }
.v3d-loading { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink-700); font-size: 14px; pointer-events: none; }
.v3d-loading[hidden] { display: none; }
.v3d-spinner { width: 22px; height: 22px; border: 3px solid rgba(0,0,0,0.15); border-top-color: var(--accent); border-radius: 50%; animation: v3d-spin .8s linear infinite; }
@keyframes v3d-spin { to { transform: rotate(360deg); } }
.v3d-hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 12px; color: var(--ink-500); background: rgba(255,255,255,0.7); padding: 6px 14px; border-radius: 999px; pointer-events: none; }
/* Phone: stretch the hint across the modal so the text fits on one/two lines. */
@media (max-width: 600px) {
  .v3d-hint { left: 12px; right: 12px; bottom: 12px; transform: none; text-align: center; border-radius: 13px; padding: 9px 12px; font-size: 11.5px; line-height: 1.35; }
}

/* Video review section */
/* YouTube embed — always 16:9 (iframe has no intrinsic size). */
.pd-video-frame { position: relative; width: 100%; max-width: none; aspect-ratio: 16/9; border-radius: var(--radius-lg, 18px); overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,0.18); }
.pd-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* Uploaded file — adapt to the video's own aspect ratio (no black bars). */
.pd-video-file { display: flex; justify-content: center; }
.pd-video-file video { max-width: 100%; max-height: 74vh; width: auto; height: auto; display: block; border-radius: var(--radius-lg, 18px); background: #000; box-shadow: 0 20px 60px rgba(0,0,0,0.18); }
.pd-main-prev:hover { transform: translateY(-50%) translateX(-2px); }
.pd-main-next:hover { transform: translateY(-50%) translateX(2px); }
@media (hover: none) { .pd-main-nav { opacity: 1; } } /* always visible on touch */
.pd-thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumb { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-active { border-color: var(--accent); }

.pd-title { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; margin-bottom: 12px; }
.pd-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-500); flex-wrap: wrap; margin-bottom: 20px; }
.pd-stars { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink-900); text-decoration: none; transition: color .2s; }
a.pd-stars:hover { color: var(--accent-ink); }
.pd-meta-dot { color: var(--ink-300); }
.pd-price-block { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.pd-price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pd-price-lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.pd-price { font-family: var(--ff-display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; color: var(--ink-900); }
.pd-price .from { font-size: 15px; font-weight: 400; color: var(--ink-500); margin-right: 6px; }
.pd-price .old { font-size: 0.5em; font-weight: 400; color: var(--ink-400); text-decoration: line-through; margin-left: 10px; letter-spacing: 0; vertical-align: middle; }
.pd-prod-note { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-500); }
.pd-prod-note .ic { color: var(--accent-ink); }
/* In-stock availability: own line under the price, left-aligned. */
.pd-stock-note { display: flex; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.pd-stock-route { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(168,134,99,0.45); }
.pd-stock-route:hover { text-decoration-color: var(--accent-ink); }
.pd-opt { margin-bottom: 22px; }
.pd-opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.pd-opt-head { display: flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.pd-opt-n { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-ink); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* Selected option value as a clear "chosen" pill, so it doesn't float unattached. */
.pd-opt-val { font-family: var(--ff-body); font-weight: 500; font-size: 12.5px; color: #6c6c6c; margin-left: auto; background: var(--accent-soft); padding: 4px 12px; border-radius: 13px; letter-spacing: .01em; white-space: nowrap; }
.pd-fabric-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-ftab { padding: 6px 14px; font-size: 12.5px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-700); cursor: pointer; transition: all .2s; }
.pd-ftab.is-active { background: var(--ink-900); color: var(--cream-50); border-color: var(--ink-900); }
.pd-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-swatch { position: relative; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; padding: 0; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pd-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-swatch:hover { transform: scale(1.12); z-index: 2; border-color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.pd-swatch.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* Custom hover preview card: enlarged texture + name + price (replaces native title tooltip) */
.pd-swatch-pop { position: absolute; z-index: 20; display: none; width: 124px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 36px rgba(0,0,0,0.18); padding: 4px; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); }
.pd-swatch-pop.show { display: block; animation: swPop .14s ease; }
@keyframes swPop { from { opacity: 0; transform: translate(-50%, calc(-100% - 6px)); } to { opacity: 1; transform: translate(-50%, calc(-100% - 12px)); } }
.pd-swatch-pop img { width: 116px; height: 116px; object-fit: cover; border-radius: 8px; display: block; }
.pd-swatch-pop-cap { text-align: center; padding: 3px 2px 1px; }
.pd-swatch-pop-cap strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 11px; color: var(--ink-900); }
.pd-swatch-pop-cap span { font-size: 12px; color: var(--accent-ink); }
.pd-swatch-pop::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--card); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.pd-colors { display: flex; gap: 12px; }
.pd-color { width: 44px; height: 44px; border-radius: 50%; background: var(--c); cursor: pointer; border: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); transition: transform .15s; }
.pd-color:hover { transform: scale(1.06); }
.pd-color.is-active { box-shadow: 0 0 0 2px var(--cream-50) inset, 0 0 0 3px var(--accent-ink); }
.pd-configs { display: flex; gap: 8px; }
.pd-config { flex: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--ink-900); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .2s; }
.pd-config small { font-weight: 400; font-size: 11px; color: var(--ink-500); }
.pd-config .ic { width: 24px; height: 24px; color: var(--accent); }
.pd-config.is-active { border-color: var(--accent); background: var(--accent-soft); }
.pd-config.is-active .ic { color: var(--accent-ink); }

/* «Тип» switch — links to separate products of the same model with another form. */
.pd-opt-types { margin-bottom: 22px; }
.pd-types { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-type { flex: 0 0 auto; display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 7px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 11px; background: transparent; color: var(--ink-900); cursor: pointer; font-weight: 600; font-size: 13.5px; line-height: 1; text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s, transform .2s; }
.pd-type .ic { width: 19px; height: 19px; flex-shrink: 0; color: var(--accent); }
.pd-type:hover { border-color: var(--accent); transform: translateY(-1px); }
.pd-type.is-active { border-color: var(--accent); background: var(--accent-soft); cursor: default; }
.pd-type.is-active:hover { transform: none; }
.pd-type.is-active .ic { color: var(--accent-ink); }
.pd-sizes { display: flex; gap: 8px; }
.pd-size { flex: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--ink-900); cursor: pointer; font-weight: 600; font-size: 14px; transition: all .2s; }
.pd-size small { font-weight: 400; font-size: 11px; color: var(--ink-500); }
.pd-size.is-active { border-color: var(--accent); background: var(--accent-soft); }
.pd-actions { display: flex; gap: 8px; margin: 24px 0; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: nowrap; }
.pd-actions .btn { padding: 13px 14px; font-size: 13px; gap: 6px; white-space: nowrap; }
.pd-actions .pd-cta { flex: 1 1 auto; justify-content: center; }
@media (max-width: 600px) { .pd-actions { flex-wrap: wrap; } .pd-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* "Є в наявності" link on made-to-order product pages → pre-filtered in-stock catalog. */
.pd-instock-link { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding: 12px 16px; border-radius: 14px; background: #f5f2ea; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--ink-900); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.pd-instock-link:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.pd-instock-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--cream-50); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; }
.pd-instock-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.pd-instock-txt strong { font-family: var(--ff-display); font-weight: 600; font-size: 14.5px; }
.pd-instock-txt small { color: var(--ink-500); font-size: 12.5px; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-instock-arrow { color: var(--accent-ink); flex-shrink: 0; transition: transform .2s ease; }
.pd-instock-link:hover .pd-instock-arrow { transform: translateX(3px); }
/* Trust badges — prominent plaques with large icons */
.pd-usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-usp { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 20px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-100); transition: border-color .2s, transform .2s; }
.pd-usp:hover { border-color: var(--accent); transform: translateY(-2px); }
.pd-usp-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; }
.pd-usp-ic .ic { width: 28px; height: 28px; }
.pd-usp-txt { display: flex; flex-direction: column; gap: 3px; }
.pd-usp-txt strong { font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--ink-900); }
.pd-usp-txt small { font-size: 12px; color: var(--ink-500); line-height: 1.4; }
.pd-specs { background: var(--cream-100); }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec span { color: var(--ink-500); white-space: nowrap; }
.spec strong { color: var(--ink-900); font-weight: 600; text-align: right; }
@media (max-width: 960px) {
  .pd-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-gallery { position: static; }
  .pd-thumbs { grid-template-columns: repeat(7, 1fr); }
  .specs-grid { grid-template-columns: 1fr; }
}

/* ==================== Product — about + related ==================== */
.pd-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pd-about-txt h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.02em; margin: 14px 0 16px; }
.pd-about-txt h2 em { color: var(--accent-ink); }
.pd-about-txt p { color: var(--ink-500); font-size: 16px; line-height: 1.7; margin-bottom: 14px; max-width: 480px; }
.pd-adv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; grid-auto-rows: 1fr; }
.pd-adv-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-50); transition: border-color .2s, transform .2s; }
.pd-adv-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.pd-adv-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pd-adv-item strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.pd-adv-item span { font-size: 13px; color: var(--ink-500); line-height: 1.5; }
.pd-related { background: var(--cream-100); }
@media (max-width: 960px) { .pd-about-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .pd-adv { grid-template-columns: 1fr; } }

/* ===== Specs + consultant comment ===== */
.pd-specs-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.pd-consult { position: relative; background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius-lg, 18px); padding: 28px; }
.pd-consult-quote { color: var(--accent); opacity: .5; margin-bottom: 10px; }
.pd-consult p { font-family: var(--ff-editorial); font-size: 16px; line-height: 1.65; color: var(--ink-700); margin-bottom: 20px; }
.pd-consult-author { display: flex; align-items: center; gap: 13px; }
.pd-consult-ava { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 600; font-size: 15px; flex-shrink: 0; }
.pd-consult-meta { display: flex; flex-direction: column; gap: 2px; }
.pd-consult-meta strong { font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--ink-900); }
.pd-consult-meta small { font-size: 12.5px; color: var(--ink-500); }

/* ===== Personal quote form ===== */
.pd-quote-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg, 18px); overflow: hidden; }
.pd-quote-info { background: var(--surface-dark); color: var(--on-dark); padding: 44px; }
.pd-quote-info .kicker { color: var(--accent); }
.pd-quote-info h2 { color: var(--on-dark); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; margin: 12px 0 14px; }
.pd-quote-info p { color: rgba(251,250,246,0.7); font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
.pd-quote-perks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pd-quote-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark); }
.pd-quote-perks .ic { color: var(--accent); flex-shrink: 0; }
.pd-quote-form { background: var(--cream-50); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.pd-field { display: flex; flex-direction: column; gap: 6px; }
.pd-field label { font-size: 12.5px; font-weight: 600; color: var(--ink-700); }
.pd-field input, .pd-field textarea, .pd-field select { padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); font-family: var(--ff-body); font-size: 14px; color: var(--ink-900); transition: border-color .2s; width: 100%; }
.pd-field textarea { resize: vertical; min-height: 84px; }
.pd-field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23736b5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.pd-field input:focus, .pd-field textarea:focus, .pd-field select:focus { outline: none; border-color: var(--accent); }
.pd-field-full { grid-column: 1 / -1; }
.pd-quote-form .btn { grid-column: 1 / -1; justify-content: center; }
.pd-quote-note { grid-column: 1 / -1; font-size: 11.5px; color: var(--ink-500); text-align: center; margin: -4px 0 0; }

/* ===== FAQ accordion ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-50); overflow: hidden; transition: border-color .2s; }
.faq-item.is-open { border-color: var(--accent); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: transparent; border: none; cursor: pointer; text-align: left; font-family: var(--ff-display); font-weight: 600; font-size: 16px; color: var(--ink-900); }
.faq-ico { color: var(--accent-ink); flex-shrink: 0; transition: transform .25s; }
.faq-item.is-open .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .42s cubic-bezier(.4,0,.2,1), opacity .3s ease; }
.faq-item.is-open .faq-a { max-height: 460px; opacity: 1; }
.faq-a p { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--ink-500); margin: 0; }
.faq-a a { color: var(--accent-ink); text-decoration: underline; }

/* ===== Sticky section sub-nav ===== */
.pd-subnav { position: sticky; top: 66px; z-index: 40; background: color-mix(in srgb, var(--cream-50) 92%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.pd-subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pd-subnav-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pd-subnav-links::-webkit-scrollbar { display: none; }
.pd-subnav-links a { position: relative; white-space: nowrap; padding: 16px 14px; font-size: 14px; font-weight: 500; color: var(--ink-500); transition: color .2s; }
.pd-subnav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.pd-subnav-links a:hover { color: var(--ink-900); }
.pd-subnav-links a.is-active { color: var(--ink-900); }
.pd-subnav-links a.is-active::after { transform: scaleX(1); }
.pd-subnav-cta { flex-shrink: 0; padding: 6px 16px; font-size: 13px; }
/* offset anchors so they land below sticky header + sub-nav */
/* Pre-JS fallback; custom.js then sets a precise per-section scroll-margin-top
   (sticky-stack height minus the section's own padding-top). */
#description, #specs, #materials, #about, #reviews, #faq, #pd-quote { scroll-margin-top: 120px; }

/* ===== Description ===== */
.pd-desc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.pd-desc-media { border-radius: var(--radius-lg, 18px); overflow: hidden; aspect-ratio: 4 / 3; }
.pd-desc-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-desc-txt h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.02em; margin: 14px 0 16px; }
.pd-desc-txt h2 em { color: var(--accent-ink); }
.pd-desc-txt p { color: var(--ink-500); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.pd-desc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 22px; }
.pd-desc-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-900); }
.pd-desc-list .ic { color: var(--accent-ink); flex-shrink: 0; }

/* WYSIWYG description body — bring its paragraphs & lists into the brand style
   (the editor emits default <ul> bullets that otherwise break the look). */
.pd-desc-body { color: var(--ink-700); font-size: 16px; line-height: 1.75; }
.pd-desc-body p { color: var(--ink-500); margin: 0 0 14px; }
.pd-desc-body p:last-child { margin-bottom: 0; }
.pd-desc-body strong, .pd-desc-body b { color: var(--ink-900); font-weight: 600; }
.pd-desc-body ul { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 12px; }
.pd-desc-body ul li { position: relative; padding-left: 26px; color: var(--ink-700); line-height: 1.6; }
.pd-desc-body ul li::before { content: ""; position: absolute; left: 5px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pd-desc-body ol { margin: 20px 0; padding-left: 20px; color: var(--ink-700); }
.pd-desc-body ol li { margin-bottom: 8px; padding-left: 4px; line-height: 1.6; }
.pd-desc-body h3, .pd-desc-body h4 { color: var(--ink-900); font-family: var(--ff-display); margin: 22px 0 10px; }
.pd-desc-body a { color: var(--accent-ink); text-decoration: underline; }

/* ===== Fullscreen gallery lightbox ===== */
.pd-main img { cursor: zoom-in; }
.pd-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 5vh 4vw; background: rgba(20,20,22,0.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pd-lightbox.open { display: flex; animation: lbFade .2s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.pd-lb-stage { margin: 0; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.pd-lb-img { max-width: min(1100px, 90vw); max-height: 70vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; background: var(--card); box-shadow: 0 24px 70px rgba(0,0,0,0.5); }
.pd-lb-close, .pd-lb-nav { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; z-index: 1; }
.pd-lb-close:hover, .pd-lb-nav:hover { background: rgba(255,255,255,0.26); }
.pd-lb-close { top: 22px; right: 26px; }
.pd-lb-nav { top: 50%; transform: translateY(-50%); }
.pd-lb-prev { left: 24px; }
.pd-lb-next { right: 24px; }
.pd-lb-count { color: rgba(255,255,255,0.75); font-family: var(--ff-mono); font-size: 13px; letter-spacing: 0.04em; }
.pd-lb-thumbs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 90vw; }
.pd-lb-thumb { width: 68px; height: 50px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--card); opacity: 0.55; transition: opacity .2s, border-color .2s; }
.pd-lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-lb-thumb:hover { opacity: 0.85; }
.pd-lb-thumb.is-active { opacity: 1; border-color: var(--accent); }
@media (max-width: 640px) {
  .pd-lb-close, .pd-lb-nav { width: 40px; height: 40px; }
  .pd-lb-prev { left: 10px; } .pd-lb-next { right: 10px; }
  .pd-lb-thumb { width: 52px; height: 40px; }
}

/* ===== Product reviews ===== */
.pd-reviews-score { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; color: var(--ink-500); }
.pd-reviews-score strong { color: var(--ink-900); font-size: 16px; }

/* Chosen configuration carried into the lead form (modal + inline quote form) */
.lead-config { background: var(--cream-100, #f4f0e8); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 4px 0 16px; }
.lead-config-title { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink); margin-bottom: 8px; font-weight: 700; }
.lead-config .lc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 4px 0; border-top: 1px solid var(--line); }
.lead-config .lc-row:first-of-type { border-top: none; }
.lead-config .lc-row span { color: var(--ink-500); }
.lead-config .lc-row strong { color: var(--ink-900); font-weight: 600; text-align: right; }

@media (max-width: 960px) {
  .pd-specs-layout { grid-template-columns: 1fr; gap: 28px; }
  .pd-quote-card { grid-template-columns: 1fr; }
  .pd-desc-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-subnav-cta { display: none; }
}
@media (max-width: 560px) {
  .pd-opt-row { grid-template-columns: 1fr; gap: 0; }
  .pd-usps { grid-template-columns: 1fr; }
  .pd-quote-info, .pd-quote-form { padding: 30px 22px; }
  .pd-quote-form { grid-template-columns: 1fr; }
  .pd-desc-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Contacts page (contacts.php)
   Developer: Den Polansky — http://sitedone.tech
   ============================================================ */
.ct-hero { text-align: center; padding: 56px 0 8px; }
.ct-hero .pd-crumbs { margin-bottom: 22px; }
.ct-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--ff-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 22px; }
.ct-chip .ic { color: var(--accent-ink); }
.ct-hero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 18px; }
.ct-hero h1 em { color: var(--accent-ink); }
.ct-hero p { max-width: 640px; margin: 0 auto; color: var(--ink-500); font-size: 17px; line-height: 1.65; }

/* Quick actions */
.ct-quick { padding: 32px 0; }
.ct-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ct-qa { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg, 18px); background: var(--cream-50); transition: border-color .2s, transform .2s; }
.ct-qa:hover { border-color: var(--accent); transform: translateY(-3px); }
.ct-qa-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ct-qa-ic .ic { width: 24px; height: 24px; }
.ct-qa-t { font-family: var(--ff-display); font-weight: 600; font-size: 16px; color: var(--ink-900); }
.ct-qa-s { font-size: 13px; color: var(--ink-500); }

/* Channels */
.ct-ch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ct-ch { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-50); transition: border-color .2s, background .2s; }
.ct-ch:hover { border-color: var(--accent); background: var(--cream-100); }
.ct-ch-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-ch-n { display: block; font-size: 12.5px; color: var(--ink-500); margin-bottom: 2px; }
.ct-ch-v { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 16px; color: var(--ink-900); }

/* Tighter vertical rhythm between the contacts-page sections (scoped, so the
   shared .pd-quote on product pages is untouched — we target #ct-form). */
.ct-channels { padding: 44px 0; }

/* What you get at a showroom — media (carousel) + content with the 4 points */
.ct-benefits { padding: 48px 0 56px; }
.ctb-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.ctb-content .kicker { display: block; margin-bottom: 14px; }
.ctb-content h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 16px; }
.ctb-content > p { color: var(--ink-500); font-size: 16px; line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.ctb-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ctb-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream-50); cursor: pointer; transition: border-color .2s, background .2s; }
.ctb-item:hover, .ctb-item.active { border-color: var(--accent); background: var(--cream-100); }
.ctb-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ctb-ic .ic { width: 20px; height: 20px; }
.ctb-item h4 { font-family: var(--ff-display); font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--ink-900); margin: 0; }

/* Carousel */
.ctb-car { position: relative; border-radius: var(--radius-lg, 18px); overflow: hidden; background: var(--cream-100); }
.ctb-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.ctb-slide { position: relative; flex: 0 0 100%; margin: 0; }
.ctb-slide img { display: block; width: 100%; height: 460px; object-fit: cover; }
.ctb-slide figcaption { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 11px; padding: 46px 22px 20px; color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: 16px; background: linear-gradient(to top, rgba(23,20,14,0.82), rgba(23,20,14,0)); }
.ctb-cap-ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ctb-cap-ic .ic { color: var(--accent); }
.ctb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,0.92); color: var(--ink-900); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.14); transition: background .2s; z-index: 2; }
.ctb-nav:hover { background: var(--card); }
.ctb-prev { left: 14px; }
.ctb-prev .ic { transform: rotate(180deg); }
.ctb-next { right: 14px; }
.ctb-dots { position: absolute; top: 16px; right: 16px; display: flex; gap: 7px; z-index: 2; }
.ctb-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: rgba(255,255,255,0.55); cursor: pointer; transition: background .2s, width .2s; }
.ctb-dot.active { background: var(--card); width: 20px; border-radius: 5px; }

/* Feedback form section on contacts (scoped via #ct-form). Now mid-page (salon
   list follows it), so even top/bottom rhythm instead of extra bottom space. */
#ct-form { padding: 56px 0; }
.pd-quote-info .pd-quote-micro { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; color: rgba(251,250,246,0.85); margin: 0; }
.pd-quote-info .pd-quote-micro .ic { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 900px) {
  .ct-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-ch-grid { grid-template-columns: repeat(2, 1fr); }
  .ctb-layout { grid-template-columns: 1fr; gap: 32px; }
  .ctb-media { order: -1; }
  .ctb-slide img { height: 380px; }
}
@media (max-width: 560px) {
  .ct-quick-grid, .ct-ch-grid { grid-template-columns: 1fr; }
  .ctb-points { grid-template-columns: 1fr; }
  .ctb-slide img { height: 300px; }
  .ct-hero { padding-top: 36px; }
}

/* ============================================================
   Catalog page (catalog.php) + mini-slider + category gradient
   Developer: Den Polansky — http://sitedone.tech
   ============================================================ */
.cat-crumbs { border-bottom: 1px solid var(--line); }
.cat-crumbs .container { display: flex; gap: 8px; align-items: center; padding-top: 14px; padding-bottom: 14px; font-size: 13px; color: var(--ink-500); }
.cat-crumbs a { color: var(--ink-500); }
.cat-crumbs a:hover { color: var(--accent-ink); }
.cat-crumbs .cur { color: var(--ink-900); }

.cat-hero { padding: 48px 0 28px; }
.cat-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.cat-hero h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 16px; }
.cat-hero h1 em { color: var(--accent-ink); }
.cat-hero p { max-width: 620px; color: var(--ink-500); font-size: 16px; line-height: 1.65; }
.cat-hero-meta { display: flex; gap: 36px; }
.cat-hero-meta .v { font-family: var(--ff-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: var(--ink-900); line-height: 1; }
.cat-hero-meta .v sup { color: var(--accent-ink); font-size: 0.5em; }
.cat-hero-meta .l { font-size: 12px; color: var(--ink-500); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }

.cat-pills { position: sticky; top: 66px; z-index: 30; background: color-mix(in srgb, var(--cream-50) 92%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Pills row + live search share one flex bar; the row stays horizontally
   scrollable (flex:1, min-width:0) while the search keeps its place on the right. */
.cat-pills-bar { display: flex; align-items: center; gap: 18px; }
.cat-pills-row { flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.cat-pills-row::-webkit-scrollbar { display: none; }
/* Live search field (right side of the pills bar) */
.cat-search { position: relative; flex: 0 0 auto; width: 260px; }
.cat-search > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-400); pointer-events: none; }
.cat-search input { width: 100%; padding: 9px 36px 9px 38px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font-family: var(--ff-body); font-size: 13.5px; color: var(--ink-900); transition: border-color .2s; }
.cat-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.cat-search input:focus { outline: none; border-color: var(--accent); }
.cat-search input::placeholder { color: var(--ink-400); }
.cat-search-clear { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); display: none; align-items: center; justify-content: center; width: 23px; height: 23px; padding: 0; border: none; border-radius: 50%; background: none; color: var(--ink-400); cursor: pointer; transition: color .15s, background .15s; }
.cat-search-clear:hover { color: var(--ink-900); background: var(--line); }
.cat-search.has-val .cat-search-clear { display: flex; }
@media (max-width: 768px) {
  /* Stack: search on top (with breathing room from the header), pills below. */
  .cat-pills-bar { flex-wrap: wrap; gap: 10px; padding-top: 10px; }
  .cat-search { order: -1; width: 100%; }
  .cat-pills-row { padding: 0 0 12px; }
}
.cat-pill { white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-700); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 7px; }
.cat-pill:hover { border-color: var(--ink-900); }
.cat-pill.is-active { background: var(--ink-900); color: var(--cream-50); border-color: var(--ink-900); }
.cat-pill .ct { font-size: 11px; opacity: .55; font-family: var(--ff-mono); }
.cat-pill.is-active .ct { opacity: .8; }

.cat-main { padding: 20px 0 80px; }
.cat-layout { display: grid; grid-template-columns: 264px 1fr; gap: 36px; align-items: start; }

/* Sticky sidebar with its OWN scroll: the filter list is taller than the viewport,
   so it becomes a viewport-tall scroll container. The wheel scrolls the panel only
   while the pointer is over it (overscroll-behavior: contain stops the page from
   scrolling once the inner list reaches its end mid-gesture). The scrollbar itself is
   hidden (scroll stays functional). data-lenis-prevent on the element keeps this
   working if Lenis smooth-scroll is ever re-enabled. */
.filters { position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.filters::-webkit-scrollbar { width: 0; height: 0; display: none; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h3 { font-family: var(--ff-display); font-size: 18px; font-weight: 600; }
.flt-clear-top { background: none; border: none; color: var(--accent-ink); font-size: 12.5px; cursor: pointer; }
.filter-group { border-top: 1px solid var(--line); padding: 16px 0; }
.filter-head { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.filter-head h4 { font-family: var(--ff-display); font-size: 14px; font-weight: 600; }
.filter-head .chev { color: var(--ink-400); transition: transform .25s; transform: rotate(90deg); display: inline-flex; }
.filter-group.collapsed .filter-head .chev { transform: rotate(-90deg); }
.filter-body { margin-top: 14px; }
.filter-group.collapsed .filter-body { display: none; }
.range { display: flex; align-items: center; gap: 8px; }
.range input { width: 100%; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 8px; font-family: var(--ff-body); font-size: 13px; background: var(--card); color: var(--ink-900); }
.range input:focus { outline: none; border-color: var(--accent); }
.flt-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.flt-sw { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; transition: transform .15s; }
.flt-sw:hover { transform: scale(1.1); }
.flt-sw.is-active { box-shadow: 0 0 0 2px var(--cream-50) inset, 0 0 0 2px var(--accent-ink); }
.flt-check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-700); padding: 5px 0; cursor: pointer; text-transform: capitalize; }
.flt-check input { width: 16px; height: 16px; accent-color: var(--accent-ink); cursor: pointer; }
.flt-check .ct { margin-left: auto; font-size: 11px; color: var(--ink-400); font-family: var(--ff-mono); }
.flt-clear { margin-top: 16px; width: 100%; padding: 11px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; color: var(--ink-700); font-size: 13px; cursor: pointer; transition: all .2s; }
.flt-clear:hover { border-color: var(--ink-900); color: var(--ink-900); }

.cat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.cat-toolbar .results { font-size: 14px; color: var(--ink-700); }
.cat-toolbar .results strong { color: var(--ink-900); }
.cat-toolbar .muted { color: var(--ink-400); }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.sort-select { padding: 9px 32px 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font-family: var(--ff-body); font-size: 13px; color: var(--ink-900); cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23736b5e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.flt-mobile { display: none; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font-size: 13px; cursor: pointer; color: var(--ink-900); }

.cat-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Wishlist (Обране) shows 4 per row. */
#veko-wishlist-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { #veko-wishlist-grid { grid-template-columns: repeat(3, 1fr); } }
/* Mobile: 2 per row (ID selector to override the rule above at this width). */
@media (max-width: 760px) { #veko-wishlist-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-item.is-hidden { display: none; }
.cat-item.is-paged { display: none; } /* matches filters but beyond the current «Показати ще» page */
.cat-products.just-loaded .cat-item:not(.is-hidden):not(.is-paged) { animation: catIn .4s ease both; }
@keyframes catIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cat-products.is-loading { opacity: .4; pointer-events: none; transition: opacity .2s; }
/* Colour dots sit ABOVE the stretched .prod-link (z-index 1) so they can be hovered. */
.prod-colors { display: flex; align-items: center; gap: 6px; margin-top: 10px; position: relative; z-index: 2; }
.prod-colors .pc { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.prod-colors .pc[data-img] { cursor: pointer; transition: transform .15s; }
.prod-colors .pc[data-img]:hover { transform: scale(1.18); }
.prod-colors .pc-more { font-size: 11px; color: var(--ink-500); margin-left: 2px; }
/* Hover preview: the selected colour's photo fades in over the card gallery. */
.prod-color-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; z-index: 3; pointer-events: none; }
.prod-color-img.show { opacity: 1; }

.prod-img[data-slider] .prod-photo { opacity: 0; transition: opacity .5s ease; }
.prod-img[data-slider] .prod-photo.on { opacity: 1; }
.prod-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 2; opacity: 0; transition: opacity .25s; }
.prod-card:hover .prod-dots { opacity: 1; }
.prod-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s, width .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.prod-dots span:hover { background: var(--card); }
.prod-dots span.on { background: var(--card); width: 16px; border-radius: 3px; }
/* Touch devices have no hover: keep the slider dots visible so users see there
   are more photos to swipe through. (Mini-slider swipe is wired in custom.js.) */
@media (hover: none) {
  .prod-img[data-slider] .prod-dots { opacity: 1; }
}
.prod-badge.hit { background: var(--accent-ink); color: #fff; }

.cat-empty { text-align: center; padding: 70px 30px; border: 1px dashed var(--line-strong); border-radius: 16px; color: var(--ink-500); }
.cat-empty .ic { color: var(--ink-400); }
.cat-empty h3 { margin: 14px 0 8px; color: var(--ink-900); font-family: var(--ff-display); }
.cat-empty p { margin-bottom: 18px; }
.products-area { position: relative; }
.cat-loading { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 50px; background: color-mix(in srgb, var(--cream-50) 72%, transparent); backdrop-filter: blur(2px); border-radius: 14px; font-size: 14px; color: var(--ink-700); z-index: 5; }
.cat-spinner { width: 20px; height: 20px; border: 2px solid var(--line-strong); border-top-color: var(--accent-ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.act-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink-900); border: none; font-size: 12.5px; cursor: pointer; text-transform: capitalize; }
.act-chip .ic { color: var(--ink-500); }
.act-chip:hover .ic { color: var(--accent-ink); }
.act-chip .act-sw { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.act-chip.act-clear { background: transparent; border: 1px dashed var(--line-strong); color: var(--ink-500); }

.help-band { background: var(--cream-100); }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.help-grid h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; margin: 0 0 14px; }
.help-grid h2 em { color: var(--accent-ink); }
.help-grid > div > p { color: var(--ink-500); font-size: 15px; line-height: 1.65; margin-bottom: 24px; max-width: 460px; }
.help-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.help-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.help-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-50); }
.help-card .ic-box { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.help-card h4 { font-family: var(--ff-display); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.help-card p { font-size: 13px; color: var(--ink-500); line-height: 1.5; }

/* Homepage category tiles — extra gradient fades in smoothly on hover (opacity tweens; background gradients don't) */
.cat-card .overlay > * { position: relative; z-index: 1; }
.cat-card .overlay::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: linear-gradient(to top, rgba(21,19,14,0.9) 0%, rgba(21,19,14,0.28) 50%, transparent 78%);
  opacity: 0; transition: opacity 0.6s ease 0.1s;
}
.cat-card:hover .overlay::before { opacity: 1; }
.cat-card .overlay h3 { transition: transform 0.5s ease 0.08s; }
.cat-card:hover .overlay h3 { transform: translateY(-3px); }

@media (max-width: 1024px) {
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; max-height: none; background: var(--cream-50); z-index: 200; padding: 24px; overflow-y: auto; display: none; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .filters.open { display: block; animation: fltSlideIn .3s ease; }
  @keyframes fltSlideIn { from { transform: translateX(-100%); } to { transform: none; } }
  .flt-mobile { display: inline-flex; }
  /* Mobile: search + categories scroll away; ONLY the Фільтри button stays sticky.
     Small .cat-main top padding lifts the button in the resting state; the toolbar's
     own padding-top is the gap below the header once it sticks (keeps it off the top). */
  .cat-pills { position: static; }
  .cat-main { padding-top: 4px; }
  .cat-toolbar { display: block; position: sticky; top: 66px; z-index: 29; background: color-mix(in srgb, var(--cream-50) 95%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); padding: 14px 0 8px; margin-bottom: 8px; }
  .cat-toolbar .results { display: none; }
  .cat-toolbar .toolbar-right { display: block; }
  .toolbar-right .cat-sort { display: none; }            /* hide sort on mobile */
  .toolbar-right .flt-mobile { display: flex; width: 100%; justify-content: center; }
}
.filters-backdrop { position: fixed; inset: 0; z-index: 199; background: rgba(21,19,14,0.45); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.filters-backdrop.show { opacity: 1; visibility: visible; }
/* Static "show more" button (same style as the reset-filters button) */
.cat-more { text-align: center; margin-top: 36px; }
.btn-showmore { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink-700); font-family: var(--ff-body); font-size: 14px; cursor: pointer; transition: all .2s; }
.btn-showmore:hover { border-color: var(--ink-900); color: var(--ink-900); }
.btn-showmore .ic { color: var(--ink-400); }

/* Custom sort dropdown */
.cat-sort { position: relative; }
.cat-sort-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 196px; justify-content: space-between; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font-family: var(--ff-body); font-size: 13px; color: var(--ink-900); cursor: pointer; transition: border-color .2s; }
.cat-sort-btn:hover { border-color: var(--ink-900); }
.cat-sort.open .cat-sort-btn { border-color: var(--accent-ink); }
.cat-sort-chev { color: var(--ink-400); transform: rotate(90deg); transition: transform .25s; }
.cat-sort.open .cat-sort-chev { transform: rotate(-90deg); }
.cat-sort-list { position: absolute; top: calc(100% + 8px); right: 0; min-width: 212px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.14); padding: 6px; z-index: 40; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.cat-sort.open .cat-sort-list { opacity: 1; visibility: visible; transform: none; }
.cat-sort-list li { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink-700); cursor: pointer; transition: background .15s, color .15s; }
.cat-sort-list li:hover { background: var(--cream-100); color: var(--ink-900); }
.cat-sort-list li.is-active { color: var(--accent-ink); font-weight: 600; }
.cat-sort-list li.is-active::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }

/* Price dual-range slider */
.price-slider { position: relative; height: 30px; margin: 2px 4px 14px; }
.ps-track { position: absolute; top: 13px; left: 0; right: 0; height: 4px; background: var(--line-strong); border-radius: 2px; }
.ps-fill { position: absolute; top: 0; bottom: 0; background: var(--accent-ink); border-radius: 2px; }
.price-slider input[type=range] { position: absolute; top: 0; left: 0; width: 100%; height: 30px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent-ink); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.price-slider input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent-ink); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.price-slider input[type=range]::-webkit-slider-runnable-track { background: none; border: none; }
.price-slider input[type=range]::-moz-range-track { background: none; border: none; }

@media (max-width: 760px) {
  .cat-products { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: 1fr; gap: 28px; }
  .cat-hero-meta { gap: 24px; }
}

/* ============================================================
   About / factory page (about.php)
   Developer: Den Polansky — http://sitedone.tech
   ============================================================ */
.about-hero { padding: 48px 0 70px; }
.about-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: stretch; }
.about-hero h1 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.03em; line-height: 1.05; margin: 18px 0 18px; }
.about-hero h1 em { color: var(--accent-ink); }
.about-hero p { color: var(--ink-500); font-size: 16px; line-height: 1.7; margin-bottom: 14px; max-width: 520px; }
.about-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.about-video { position: relative; min-height: 480px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-dark); }
.about-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,19,14,0.55), transparent 60%); }
.play-btn { position: absolute; left: 22px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 14px; background: none; border: none; cursor: pointer; color: var(--on-dark); text-align: left; }
.play-btn .circle { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.play-btn:hover .circle { transform: scale(1.08); }
.play-btn .lbl { font-family: var(--ff-display); font-weight: 600; font-size: 15px; display: flex; flex-direction: column; }
.play-btn .lbl small { font-family: var(--ff-body); font-weight: 400; font-size: 12px; opacity: 0.7; margin-top: 3px; }

/* Timeline */
.timeline-sec { padding: 80px 0; }
.timeline-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.timeline-intro { position: sticky; top: 100px; }
.timeline-intro h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; margin-top: 16px; }
.timeline-intro h2 em { font-family: var(--ff-editorial); font-style: normal; color: var(--accent-ink); font-weight: 700; }
.timeline-intro p { color: var(--ink-500); font-size: 15px; margin-top: 18px; line-height: 1.7; max-width: 380px; }
.timeline { position: relative; padding-left: 34px; }
.tl-track { position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-strong); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .dot { position: absolute; left: -34px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream-50); border: 3px solid var(--accent); }
.tl-item .year { font-family: var(--ff-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--ink-900); margin-bottom: 6px; }
.tl-item p { color: var(--ink-500); font-size: 15px; line-height: 1.65; max-width: 540px; }

/* Process (dark) */
.process-sec { background: var(--surface-dark); color: var(--on-dark); padding: 90px 0; }
.process-sec .kicker { color: var(--accent); }
.process-sec h2 { color: var(--cream-50); font-size: clamp(32px, 4.5vw, 56px); margin-top: 16px; }
.process-sec .section-head p { color: rgba(245,242,234,0.6); }
/* center the description in centered section heads (max-width p needs auto margins) */
.process-sec .section-head p, .quality-sec .section-head p, .partners-sec .section-head p { margin-left: auto; margin-right: auto; }
.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 44px; }
.proc-step { padding: 24px; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); background: rgba(255,255,255,0.03); transition: border-color .2s, transform .2s; }
.proc-step:hover { border-color: var(--accent); transform: translateY(-3px); }
.proc-n { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); margin-bottom: 16px; }
.proc-ic { width: 52px; height: 52px; border-radius: 12px; background: rgba(168,134,99,0.18); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.proc-ic .ic { width: 28px; height: 28px; }
.proc-step h3 { font-family: var(--ff-display); font-weight: 600; font-size: 17px; color: var(--on-dark); margin-bottom: 8px; }
.proc-step p { font-size: 13px; color: rgba(245,242,234,0.6); line-height: 1.55; }

/* Quality */
.quality-sec { padding: 90px 0; }
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.qual-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream-50); transition: border-color .2s, transform .2s; }
.qual-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.qual-ic { width: 50px; height: 50px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.qual-ic .ic { width: 22px; height: 22px; }
.qual-card h3 { font-family: var(--ff-display); font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.qual-card p { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; }

/* Team */
.team-sec { padding: 0 0 90px; }
.team-note { color: var(--ink-500); font-size: 14px; max-width: 320px; line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.team-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream-50); text-align: center; }
.team-ava { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; background: var(--accent-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 600; font-size: 24px; overflow: hidden; }
.team-ava img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--ff-display); font-weight: 600; font-size: 16px; color: var(--ink-900); }
.team-role { font-size: 12.5px; color: var(--accent-ink); margin-top: 3px; margin-bottom: 14px; }
.team-quote { font-family: var(--ff-editorial); font-size: 14px; color: var(--ink-500); line-height: 1.6; }

/* Partners */
.partners-sec { padding: 0 0 90px; }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 40px; }
.partner-logo { display: flex; align-items: center; justify-content: center; padding: 22px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-50); font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--ink-700); transition: color .2s, border-color .2s; }
.partner-logo:hover { color: var(--accent-ink); border-color: var(--accent); }
.partner-logo img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.quote-block { position: relative; max-width: 820px; margin: 56px auto 0; text-align: center; padding: 0 20px; }
.quote-block .quote-mark { color: var(--accent); opacity: 0.4; margin-bottom: 14px; }
.quote-block blockquote { font-family: var(--ff-editorial); font-size: clamp(18px, 2vw, 24px); line-height: 1.55; color: var(--ink-900); margin: 0 0 22px; }
.quote-block cite { font-style: normal; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.quote-block cite strong { font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--ink-900); }
.quote-block cite span { font-size: 13px; color: var(--ink-500); }

@media (max-width: 1024px) {
  .proc-grid { grid-template-columns: repeat(3, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Stacked layout: image no longer matches the text column — use a normal 4:3. */
  .about-video { min-height: 0; aspect-ratio: 4/3; }
  .timeline-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-intro { position: static; }
}
@media (max-width: 560px) {
  .proc-grid { grid-template-columns: 1fr; }
  .qual-grid, .team-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .team-sec .section-head { flex-direction: column; gap: 14px; align-items: flex-start !important; }
}

/* ==========================================================================
   HoReCa page (page-horeca.php) — hero image + intro text, then the feedback form
   ========================================================================== */
.hp-hero-sec { padding: 40px 0 72px; }
.hp-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hp-hero-text .kicker { display: block; margin-bottom: 14px; }
.hp-hero-text h1 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 20px; }
.hp-hero-text h1 em { color: var(--accent-ink); font-style: normal; }
.hp-body { color: var(--ink-500); font-size: 15px; line-height: 1.7; }
.hp-body p { margin-bottom: 12px; }
.hp-body p:last-child { margin-bottom: 0; }
.hp-body strong { color: var(--ink-900); font-weight: 600; }
.hp-hero-cta { margin-top: 26px; }
.hp-hero-media img { width: 100%; border-radius: var(--radius-lg); display: block; object-fit: cover; aspect-ratio: 3 / 3; }
@media (max-width: 860px) {
  .hp-hero { grid-template-columns: 1fr; gap: 26px; }
  .hp-hero-media { order: -1; }
}

/* Inline form success card (contacts / HoReCa / product quote) — leads.js */
.lead-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 44px 28px; min-height: 260px; }
.lead-success-ic { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); }
.lead-success-ic .ic { width: 26px; height: 26px; stroke-width: 2.4; }
.lead-success h3 { font-family: var(--ff-display); font-weight: 600; font-size: 20px; color: var(--ink-900); margin: 0; }
.lead-success p { color: var(--ink-500); font-size: 14px; line-height: 1.55; max-width: 320px; margin: 0; }

/* ==========================================================================
   Toasts (wishlist add/remove etc.) — top-right, GSAP-animated in wishlist.js
   ========================================================================== */
#veko-toasts { position: fixed; top: 88px; right: 24px; z-index: 1100; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.veko-toast { pointer-events: auto; display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-radius: 12px; background: var(--card); color: var(--ink-900); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(20,18,14,.12); font-family: var(--ff-body); font-size: 13.5px; font-weight: 500; line-height: 1.3; max-width: 320px; cursor: pointer; }
.veko-toast .ic { width: 19px; height: 19px; flex: 0 0 auto; color: var(--accent-ink); }
.veko-toast.is-add .ic { fill: currentColor; }
.veko-toast.is-remove .ic { color: var(--ink-400); }
@media (max-width: 600px) {
  /* Anchor to the left and keep it ~half width (pops in from the left). */
  #veko-toasts { top: 72px; left: 12px; right: auto; align-items: flex-start; }
  .veko-toast { max-width: 52vw; padding: 10px 13px; gap: 9px; }
}

/* ==========================================================================
   PWA install banner (assets/pwa.js) — small dismissible "install app" prompt
   ========================================================================== */
.pwa-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200; margin: 0 auto; max-width: 430px; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(20,18,14,.18); cursor: pointer; }
.pwa-banner:hover { border-color: var(--line-strong); }
.pwa-banner-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; }
.pwa-banner-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pwa-banner-txt strong { font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--ink-900); }
.pwa-banner-txt span { font-size: 12.5px; color: var(--ink-500); line-height: 1.35; }
.pwa-banner-go { flex: 0 0 auto; display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--ff-body); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.pwa-banner:hover .pwa-banner-go { background: var(--accent-ink); }
.pwa-banner-x { flex: 0 0 auto; width: 26px; height: 26px; padding: 0; border: none; background: none; color: var(--ink-400); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 50%; transition: color .15s, background .15s; }
.pwa-banner-x:hover { color: var(--ink-900); background: var(--line); }
@media (min-width: 600px) { .pwa-banner { left: auto; right: 24px; bottom: 24px; margin: 0; } }

/* iOS "Add to Home Screen" instruction sheet (Safari has no install API) */
.pwa-ios { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(20,18,14,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pwa-ios-card { position: relative; width: 100%; max-width: 420px; background: var(--card); border-radius: 20px; padding: 26px 22px 22px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.pwa-ios-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: none; background: var(--cream-100); border-radius: 50%; color: var(--ink-500); font-size: 20px; line-height: 1; cursor: pointer; }
.pwa-ios-ic { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 12px; }
.pwa-ios-card h3 { font-family: var(--ff-display); font-weight: 600; font-size: 18px; color: var(--ink-900); margin: 0 0 6px; }
.pwa-ios-card > p { font-size: 13.5px; color: var(--ink-500); margin: 0 0 18px; line-height: 1.5; }
.pwa-ios-steps { list-style: none; margin: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.pwa-ios-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-900); line-height: 1.35; }
.pwa-ios-g { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--cream-100); display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 600px) { .pwa-ios { align-items: center; } }

/* ==========================================================================
   Reusable lead modal (photo + form) — opened by any [data-modal] trigger
   ========================================================================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(28, 25, 21, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal-backdrop.open { display: flex; animation: modalFade .25s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  width: min(880px, 100%); max-height: calc(100vh - 48px);
  background: var(--cream-50);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  animation: modalRise .4s cubic-bezier(.22, 1, .36, 1);
}
@keyframes modalRise { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-media { position: relative; min-height: 100%; background: var(--cream-200); }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,25,21,0) 45%, rgba(28,25,21,.78) 100%); }
.modal-media-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.modal-media-brand { font-family: var(--ff-display); font-weight: 600; font-size: 18px; letter-spacing: .02em; }
.modal-media-cap span:last-child { font-size: 12px; color: rgba(255,255,255,.78); line-height: 1.4; }
.modal-body { padding: 40px; overflow-y: auto; min-height: 0; max-height: calc(100vh - 48px); scrollbar-width: none; -ms-overflow-style: none; }
.modal-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* Success state — hide the header/form, show only the «Дякуємо!» block. */
.modal.is-success .modal-body > :not(.modal-success) { display: none; }
.modal.is-success .modal-body { display: flex; flex-direction: column; justify-content: center; }
.modal-kicker { display: block; margin-bottom: 12px; }
.modal-body h3 { font-family: var(--ff-display); font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -.02em; color: var(--ink-900); line-height: 1.15; }
.modal-sub { color: var(--ink-500); font-size: 14.5px; line-height: 1.6; margin-top: 12px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--ink-900);
  cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16); transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--card); transform: rotate(90deg); }
.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.modal-form .btn { grid-column: 1 / -1; justify-content: center; }
.modal-form .pd-quote-note { grid-column: 1 / -1; margin-top: -2px; }
.modal-success { text-align: center; padding: 30px 6px 10px; animation: modalFade .3s ease; }
.modal-success-ic { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px; }
.modal-success h3 { font-family: var(--ff-display); font-size: 24px; font-weight: 600; color: var(--ink-900); }
.modal-success p { color: var(--ink-500); font-size: 14.5px; line-height: 1.6; margin-top: 10px; }
@media (max-width: 680px) {
  .modal { grid-template-columns: 1fr; }
  .modal-media { display: none; }
  .modal-body { padding: 34px 22px 26px; }
  .modal-form { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Custom select — progressively enhances every native <select> on the site
   (the underlying <select> stays in the DOM and still submits its value)
   ========================================================================== */
.veko-select { position: relative; width: 100%; }
.veko-select-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.veko-select-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--card); font-family: var(--ff-body); font-size: 14px; color: var(--ink-900);
  cursor: pointer; transition: border-color .2s; text-align: left;
}
.veko-select-btn:hover { border-color: var(--ink-900); }
.veko-select.open .veko-select-btn { border-color: var(--accent); }
.veko-select-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.veko-select-cur.is-placeholder { color: var(--ink-400); }
.veko-select-chev { color: var(--ink-400); transform: rotate(90deg); transition: transform .25s; flex-shrink: 0; }
.veko-select.open .veko-select-chev { transform: rotate(-90deg); }
.veko-select-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  max-height: 264px; overflow-y: auto; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14); padding: 6px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  scrollbar-width: none; -ms-overflow-style: none;
}
.veko-select-list::-webkit-scrollbar { width: 0; height: 0; display: none; }
.veko-select.open .veko-select-list { opacity: 1; visibility: visible; transform: none; }
.veko-select-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink-700);
  cursor: pointer; transition: background .15s, color .15s;
}
.veko-select-list li:hover { background: var(--cream-100); color: var(--ink-900); }
.veko-select-list li.is-active { color: var(--accent-ink); font-weight: 600; }
.veko-select-list li.is-active::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }
/* Match the surrounding inputs in the homepage showroom form (cream field) */
.sf-form .veko-select-btn { background: var(--cream-50); padding: 13px 16px; }

/* ==========================================================================
   Contacts — salon cards with mini-maps (replaces the duplicated big map)
   ========================================================================== */
.sal-sec { padding: 56px 0; background: var(--cream-50); }
.sal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.sal-tab {
  padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--card); font-size: 13.5px; color: var(--ink-700); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s; white-space: nowrap;
}
.sal-tab:hover { border-color: var(--ink-900); color: var(--ink-900); }
.sal-tab.active { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.sal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.sal-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2);
  overflow: hidden; transition: box-shadow .25s, transform .25s;
}
.sal-card.is-hidden { display: none; }
.sal-card:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); transform: translateY(-3px); }
.sal-map { position: relative; height: 178px; background: var(--cream-200); }
.sal-map-inner { position: absolute; inset: 0; }
.sal-map .leaflet-tile-pane { filter: grayscale(1) sepia(0.42) saturate(0.8) brightness(1.07) contrast(0.9); }
.sal-map .leaflet-control-container { display: none; }
.city-tag {
  position: absolute; top: 12px; left: 12px; z-index: 500;
  background: rgba(28, 25, 21, 0.82); color: #fff; padding: 5px 12px;
  border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .01em;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: none;
}
.sal-info { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 22px; flex: 1; }
.sal-name { font-family: var(--ff-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-900); margin-bottom: 2px; }
.sal-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-500); line-height: 1.45; }
.sal-row .sal-ic { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.sal-row a { color: var(--ink-700); }
.sal-row a:hover { color: var(--accent-ink); }
.sal-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }
.sal-actions .btn { flex: 1; justify-content: center; padding: 11px 12px; font-size: 12.5px; }
.sal-more { margin-top: 32px; text-align: center; color: var(--ink-500); font-size: 14px; }
.sal-more strong { color: var(--ink-900); }
@media (max-width: 560px) {
  .sal-sec { padding: 48px 0; }
  .sal-grid { grid-template-columns: 1fr; }
}

/* Contacts FAQ — two columns: questions left, media card right */
.ct-faq-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.ct-faq-main .section-head { margin-bottom: 30px; max-width: none; }
.ct-faq-media {
  position: sticky; top: 110px; align-self: start;
  border-radius: calc(var(--radius) * 1.4); overflow: hidden; aspect-ratio: 4 / 5; min-height: 460px;
}
.ct-faq-media img { width: 100%; height: 100%; object-fit: cover; }
.ct-faq-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,25,21,0) 40%, rgba(28,25,21,.72) 100%); }
.ct-faq-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--radius); padding: 20px 22px;
}
.ct-faq-card strong { font-family: var(--ff-display); font-size: 17px; font-weight: 600; color: var(--ink-900); }
.ct-faq-card span { font-size: 13px; color: var(--ink-500); line-height: 1.5; }
.ct-faq-card .btn { margin-top: 6px; }
@media (max-width: 900px) {
  .ct-faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .ct-faq-media { position: static; aspect-ratio: 16 / 9; min-height: 0; }
}

/* ==========================================================================
   Blog / journal listing page
   ========================================================================== */
.blog-hero { padding: 64px 0 8px; text-align: center; background: var(--cream-50); }
.blog-hero .ct-chip { margin-bottom: 20px; }
.blog-hero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.03em; line-height: 1.02; }
.blog-hero h1 em { font-style: normal; color: var(--accent-ink); font-family: var(--ff-editorial); }
.blog-hero p { max-width: 600px; margin: 20px auto 0; color: var(--ink-500); font-size: 16px; line-height: 1.65; }
.blog-page { background: var(--cream-50); padding-top: 48px; }
.blog-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.blog-pill {
  padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--card); font-size: 13.5px; color: var(--ink-700); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s; white-space: nowrap;
}
.blog-pill:hover { border-color: var(--ink-900); color: var(--ink-900); }
.blog-pill.is-active { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.blog-card.is-hidden { display: none; }
.blog-empty { text-align: center; color: var(--ink-500); font-size: 15px; padding: 40px 0; }
@media (max-width: 900px) {
  .blog-page .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-hero { padding-top: 40px; }
  .blog-page .blog-grid { grid-template-columns: 1fr; }
}

/* ===== Reviews: form rating + reviews page ===== */
.rev-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rev-rating-lbl { font-size: 13px; color: var(--ink-700); }
.rev-stars { display: inline-flex; gap: 4px; }
.rev-star { background: none; border: 0; padding: 2px; cursor: pointer; color: #d8d2c8; line-height: 0; transition: color .15s ease, transform .15s ease; }
.rev-star:hover { transform: scale(1.12); }
.rev-star.on { color: var(--accent, #c8a980); }
.rev-file { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 14px; font-size: 13px; color: var(--ink-500); cursor: pointer; }
.rev-file input[type="file"] { font-size: 12px; max-width: 190px; }
.review-form textarea { width: 100%; }

.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; flex-wrap: wrap; }
.rev-block { margin-top: 44px; }
.rev-block-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.rev-block-head h2 { margin: 0; }
.rev-google-score { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.rev-google-score strong { font-size: 22px; }
.rev-google-score .review-stars { color: var(--accent, #c8a980); display: inline-flex; gap: 2px; }
.rev-google-total { color: var(--ink-500); font-size: 13px; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.review-photo { margin: 10px 0; }
.review-photo img { width: 100%; max-height: 210px; object-fit: cover; border-radius: 10px; }

/* Review form layout — override the 2-column lead-form grid for a clean column */
.review-form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.review-form .modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-form textarea { width: 100%; min-height: 120px; resize: vertical; }
.review-form .btn { justify-content: center; }
.rev-rating { margin: 0; }
.rev-file { display: flex; justify-content: center; border: 1px dashed var(--line-strong, #cfc7ba); border-radius: 10px; padding: 11px 16px; margin: 0; transition: border-color .15s ease, color .15s ease; }
.rev-file:hover { border-color: var(--accent, #c8a980); color: var(--accent-ink, #6b4f34); }
.rev-file input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
@media (max-width: 600px) { .review-form .modal-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page preloader — cream splash + dark VEKO wordmark, fades out on load
   ========================================================================== */
#veko-preloader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--cream-50); will-change: opacity; }
/* CSS fallback exit (used only if GSAP is unavailable) — long, soft fade. */
#veko-preloader.is-done { opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s ease; }
.vp-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; animation: vpIn .55s cubic-bezier(.22, 1, .36, 1) both; }
.vp-logo { width: 128px; height: auto; }
.vp-bar { position: relative; width: 116px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.vp-bar > span { position: absolute; top: 0; left: 0; height: 100%; width: 42%; border-radius: 2px; background: var(--accent); animation: vpBar 1.1s ease-in-out infinite; }
@keyframes vpIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes vpBar { 0% { left: -45%; } 100% { left: 103%; } }
@media (prefers-reduced-motion: reduce) { .vp-inner { animation: none; } .vp-bar > span { animation-duration: 2.4s; } }

/* ==========================================================================
   Mobile section rhythm — several sections use a fixed desktop padding (120/96/
   100/90px) that wasn't reduced on phones, leaving huge gaps. Tighten on mobile.
   Placed last so these override the base class rules by source order.
   ========================================================================== */
@media (max-width: 768px) {
  .editorial, .reviews, .salons, .blog, .final-cta { padding: 60px 0; }
  .horeca-banner { padding: 56px 0; }
  .cats { padding: 56px 0 36px; }
  .bestsellers { padding: 36px 0 60px; }
  .timeline-sec, .process-sec, .quality-sec { padding: 56px 0; }
  .team-sec, .partners-sec { padding: 0 0 60px; }
  .about-hero { padding: 36px 0 48px; }
}

/* ==========================================================================
   Generic content pages (Privacy, Public offer, etc.) rendered by page.php.
   These pages have no dedicated template and previously carried no styling —
   give them a readable document layout. .legal-* refine legal documents and
   highlight client-fillable placeholders. Theme vars keep dark mode correct.
   Developer: Den Polansky — http://sitedone.tech
   ========================================================================== */
.page-single { padding: 40px 0 84px; }
.page-head { margin-bottom: 20px; }
.page-head h1 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.08; color: var(--ink-900); }
.page-hero-img { margin: 16px 0 28px; border-radius: var(--radius-lg); overflow: hidden; }
.page-hero-img img { width: 100%; height: auto; display: block; }

.page-body { color: var(--ink-700); font-size: 16px; line-height: 1.75; }
.page-body h2 { font-family: var(--ff-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; color: var(--ink-900); margin: 40px 0 14px; }
.page-body h3 { font-family: var(--ff-display); font-weight: 600; font-size: 18px; color: var(--ink-900); margin: 26px 0 10px; }
.page-body p { margin: 0 0 14px; }
.page-body ul, .page-body ol { margin: 0 0 16px; padding-left: 22px; }
.page-body li { margin-bottom: 8px; }
.page-body li::marker { color: var(--accent); }
.page-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.page-body a:hover { color: var(--accent); }
.page-body strong { color: var(--ink-900); font-weight: 600; }

/* Legal documents */
.legal-doc { max-width: none; }
.legal-meta { display: inline-block; font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--ink-500); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; margin-bottom: 24px; }
.legal-lead { font-size: 17px; color: var(--ink-900); line-height: 1.7; margin-bottom: 22px; }
.legal-fill { background: rgba(168,134,99,0.18); color: var(--ink-900); border-bottom: 1px dashed var(--accent); border-radius: 3px; padding: 0 5px; font-weight: 600; }

@media (max-width: 640px) {
  .page-single { padding: 26px 0 56px; }
  .page-body { font-size: 15px; }
  .page-body h2 { margin-top: 30px; }
  .legal-lead { font-size: 16px; }
}
