/* =========================================================
   Fusion Ceram България — публичен сайт
   Шрифтове: Unbounded (заглавия), Onest (текст) — локално хоствани
   ========================================================= */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/unbounded-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/unbounded-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Цветове и мерки ---------- */
:root {
  --bg: #f3f4f1;          /* циркониево бяло */
  --paper: #ffffff;
  --ink: #000000;         /* черното от каталога */
  --text: #1d1e1c;
  --muted: #5d615b;
  --line: #d6d8d2;
  --band: #e5e7e2;        /* сивата лента под етикетите */
  --on-ink: #ffffff;
  --plate: #ffffff;
  --kraft: #a8865f;
  --bleach: #f6efe2;
  --a1: #eedcbc;
  --a2: #e2c79a;
  --a3: #d4b07c;
  --shade: linear-gradient(90deg, var(--bleach), var(--a1) 35%, var(--a2) 65%, var(--a3));
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 32px -18px rgba(0,0,0,.25);
  --disc-shadow: rgba(0,0,0,.32);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 4px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #000000;
  --paper: #121311;
  --ink: #f3f4f1;
  --text: #e4e6e1;
  --muted: #a1a59e;
  --line: #2b2d2a;
  --band: #1c1d1b;
  --on-ink: #000000;
  --plate: #ecede9;
  --kraft: #c3a27a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -20px rgba(0,0,0,.9);
  --disc-shadow: rgba(255,240,220,.10);
  color-scheme: dark;
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-text);
  font-feature-settings: "kern", "liga", "locl" 0; /* стандартни кирилски форми и в заглавния шрифт */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--f-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--a2); color: #000; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.narrow .wrap { max-width: calc(760px + 2 * var(--gutter)); }

.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-title { font-size: clamp(1.65rem, 3.2vw, 2.5rem); margin-bottom: .55em; }
.sec-lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

.code {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Бутони ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .8rem 1.35rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
/* Пълнене като слоевете на диска: отдолу нагоре в цвят дентин */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, var(--a3), var(--a1) 60%, var(--bleach));
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: #000; border-color: var(--a3); text-decoration: none; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--on-ink); }
.btn--line { --btn-bg: transparent; }
.btn--paper { --btn-bg: var(--on-ink); --btn-fg: var(--ink); border-color: var(--on-ink); }
.btn--sm { min-height: 40px; padding: .5rem .9rem; font-size: .92rem; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Заглавна лента ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); min-width: 0; }
/* Лого на представителя: двата файла (светла/тъмна тема) — показва се единият. */
.brand__logo, .site-footer__logo, .adm__logo, .bare__logo { display: inline-flex; flex-shrink: 0; }
.brand__logo img, .site-footer__logo img, .adm__logo img, .bare__logo img { display: block; width: auto; max-width: none; }
.logo-night { display: none !important; }
:root[data-theme="dark"] .logo-day { display: none !important; }
:root[data-theme="dark"] .logo-night { display: block !important; }
.brand__logo img { height: 40px; }
.brand__tag { font-size: .76rem; line-height: 1.3; color: var(--muted); max-width: 19ch; border-left: 1px solid var(--line); padding-left: 14px; }
.nav a { white-space: nowrap; }
@media (max-width: 1300px) { .brand__tag { display: none; } }


.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-weight: 500; font-size: .98rem; }
.nav a:not(.btn) { text-decoration: none; position: relative; padding-block: 6px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--shade); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a:not(.btn).is-current::after { transform: scaleX(1); }

.site-header__tools { display: flex; align-items: center; gap: 6px; }
.theme-toggle, .menu-toggle, .search-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.theme-toggle:hover, .menu-toggle:hover, .search-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
:root[data-theme="light"] .theme-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
/* Превключвател на езика — текущият език е в черна кутия, както етикетите в каталога */
.langs { display: flex; align-items: center; gap: 2px; margin-right: 6px; font-family: var(--f-display); font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.langs a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 6px;
  text-decoration: none;
  color: var(--muted);
  border-radius: 2px;
  transition: color .2s, background-color .2s;
}
.langs a:hover { color: var(--ink); background: var(--band); }
.langs a[aria-current] { background: var(--ink); color: var(--on-ink); }
.menu-toggle { display: none; }
.search-toggle { text-decoration: none; }
.search-toggle svg { width: 19px; height: 19px; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .menu-toggle { display: grid; }
  .brand__tag { display: none; }
  .nav {
    position: fixed;
    inset: 69px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
  .site-header__tools { margin-left: auto; }
  .langs { margin-right: 2px; }
  .langs a { min-width: 30px; padding: 0 4px; }
}
/* Тесни телефони: по-малко лого и бутони, за да се побере всичко на един ред */
@media (max-width: 520px) {
  .brand__logo img { height: 30px; }
  .site-header__inner { gap: 10px; }
}
@media (max-width: 400px) {
  .brand__logo img { height: 25px; }
  .site-header__tools { gap: 4px; }
  .theme-toggle, .menu-toggle, .search-toggle { width: 40px; height: 40px; }
  .langs { margin-right: 0; }
  .langs a { min-width: 27px; padding: 0 3px; }
}
@media (max-width: 345px) { .site-header__tools .search-toggle:not(.cart-link) { display: none; } .site-header__tools .cart-link ~ .theme-toggle { display: none; } }

/* ---------- Начален екран ---------- */
.hero { padding-top: clamp(28px, 6vw, 72px); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

/* Етикетите в черни кутии — подписът на каталога */
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: .14em; margin-bottom: 28px; font-size: clamp(1.45rem, 4.3vw, 3rem); }
@media (min-width: 901px) { .stack__line { white-space: nowrap; } }
.stack__line {
  display: inline-block;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1;
  padding: .1em .24em .12em;
  animation: label-in .7s var(--ease) both;
  animation-delay: calc(var(--i) * 90ms);
}
@keyframes label-in {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 50ch; color: var(--text); margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { --d: min(340px, 74vw); position: relative; margin: 0; display: grid; justify-items: start; padding: 12px 0 0 clamp(0px, 3vw, 36px); }
.disc-scene { position: relative; width: var(--d); aspect-ratio: 1; perspective: 1300px; }
.disc-scene::before { /* кръгът на фрезата зад диска */
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1px dashed var(--line);
  animation: spin 120s linear infinite reverse;
}
.disc {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(62deg + var(--tx, 0deg))) rotateZ(calc(-8deg + var(--ty, 0deg)));
  transition: transform .6s var(--ease);
}
.disc__spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: spin 70s linear infinite; }
.disc__spin > i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c);
  transform: translateZ(calc(var(--n) * 3.2px));
  animation: layer-drop 1s var(--ease) both;
  animation-delay: calc(250ms + var(--n) * 45ms);
}
.disc__spin > i:first-child { box-shadow: 0 0 0 1px rgba(120, 90, 50, .25); }
@keyframes layer-drop {
  from { transform: translateZ(calc(var(--n) * 3.2px + 240px)); opacity: 0; }
  to { transform: translateZ(calc(var(--n) * 3.2px)); opacity: 1; }
}
.disc__top {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: translateZ(calc(var(--n) * 3.2px + .6px));
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), rgba(255,255,255,.35) 38%, rgba(255,255,255,0) 64%),
    radial-gradient(circle at 50% 50%, rgba(238,240,244,.65), rgba(226,230,236,.45));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 -12px 30px rgba(170,150,120,.18);
  animation: layer-drop 1s var(--ease) both;
  animation-delay: calc(250ms + var(--n) * 45ms);
}
.disc__top svg { width: 100%; height: 100%; }
.disc__top text { font: 600 8.6px var(--f-display); letter-spacing: 1.6px; fill: rgba(70, 58, 44, .5); }
.disc__groove { fill: none; stroke: rgba(120, 100, 80, .16); stroke-width: .8; }
.disc__shadow {
  position: absolute;
  left: 10%; right: 10%;
  bottom: 12%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--disc-shadow), transparent);
  filter: blur(10px);
  transform: translateY(18%);
  z-index: -1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.callouts { list-style: none; margin: 0; padding: 0; position: absolute; top: 12px; left: clamp(0px, 3vw, 36px); width: var(--d); height: var(--d); pointer-events: none; }
.callout {
  position: absolute;
  left: calc(100% - 4px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  animation: fade-in .6s var(--ease) both;
  animation-delay: 1.45s;
}
.callout::before { content: ""; order: -1; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--bg); }
.callout::after { content: ""; order: -1; width: clamp(24px, 3.5vw, 48px); height: 1px; background: currentColor; opacity: .5; margin-left: -10px; }
.callout { transform: translateY(-50%); }
.callout--enamel { top: 52%; }
.callout--transition { top: 61%; animation-delay: 1.6s; }
.callout--dentin { top: 71%; animation-delay: 1.75s; }
@keyframes fade-in { from { opacity: 0; translate: 10px 0; } to { opacity: 1; translate: 0 0; } }
.hero__caption { margin-top: 4px; font-size: .9rem; color: var(--muted); max-width: 40ch; }

/* Цветова скала */
.shades {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line);
}
.shades__title { font-size: 1.05rem; margin-bottom: .5em; }
.shades__text p { color: var(--muted); font-size: .95rem; max-width: 52ch; }
.shades__row { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; }
.shades__group { display: flex; gap: 6px; }
.shade { display: grid; justify-items: center; gap: 6px; cursor: default; outline: none; }
.shade__tooth {
  width: 26px;
  height: 34px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, #fff) 0%, var(--c) 55%, color-mix(in srgb, var(--c) 88%, #8a6a3e) 100%);
  border-radius: 46% 46% 40% 40% / 30% 30% 70% 70%;
  box-shadow: inset 0 -2px 4px rgba(120, 90, 50, .18), 0 0 0 1px rgba(0,0,0,.06);
  transition: transform .3s var(--ease);
}
.shade__name { font-family: var(--f-display); font-size: .6rem; color: var(--muted); letter-spacing: .02em; transition: color .2s; }
.shade:hover .shade__tooth, .shade:focus-visible .shade__tooth { transform: translateY(-6px) scale(1.12); }
.shade:hover .shade__name, .shade:focus-visible .shade__name { color: var(--ink); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 8px; }
  .hero__visual { --d: min(280px, 66vw); justify-items: center; padding-left: 0; }
  .callouts { position: static; width: auto; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 4px; pointer-events: auto; }
  .callout { position: static; transform: none; font-size: .78rem; gap: 6px; }
  .callout::after { display: none; }
  .hero__caption { text-align: center; }
  .shades { grid-template-columns: 1fr; }
  .shades__row { justify-content: flex-start; }
}

/* ---------- Продукти ---------- */
/* Търсене */
.psearch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 18px; scroll-margin-top: 120px; }
.psearch__box {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
  max-width: 560px;
  display: flex;
  align-items: center;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  transition: border-color .2s, box-shadow .2s;
}
.psearch__box > svg { position: absolute; left: 18px; pointer-events: none; }
.psearch__box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a2) 55%, transparent); color: var(--ink); }
.psearch__box input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 48px 0 48px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.psearch__box input::placeholder { color: var(--muted); opacity: .85; }
.psearch__box input::-webkit-search-cancel-button { display: none; }
.psearch__clear {
  position: absolute;
  right: 6px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.psearch__clear:hover { background: var(--band); color: var(--ink); }
.psearch__clear[hidden] { display: none; }
.psearch__count { margin: 0; color: var(--muted); font-size: .92rem; }
.psearch__count:empty { display: none; }
.card__hit { margin: -8px 0 16px; font-size: .84rem; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.card__hit[hidden] { display: none; }
.card__hit-l { color: var(--text); font-weight: 500; }
.card__hit mark, .card__sum mark { background: color-mix(in srgb, var(--a2) 70%, transparent); color: inherit; border-radius: 2px; padding: 0 1px; }
:root[data-theme="dark"] .card__hit mark { background: color-mix(in srgb, var(--kraft) 55%, transparent); }
@media (max-width: 560px) {
  .psearch__box { flex-basis: 100%; max-width: none; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 40px;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .3s, transform .45s var(--ease), opacity .35s;
}
.card::after { /* светлина, следваща курсора */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), color-mix(in srgb, var(--a2) 22%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { border-color: color-mix(in srgb, var(--a3) 70%, var(--line)); }
.card:hover::after { opacity: 1; }
.card.is-hidden { display: none; }
.card.is-entering { animation: card-in .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } }

.card__media { display: block; aspect-ratio: 1; background: var(--plate); overflow: hidden; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 18px 18px 18px; }
.card__body::before { /* цветова лента — расте при посочване */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 3px;
  background: var(--shade);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover .card__body::before { transform: scaleX(1); }
.card__meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px; color: var(--muted); }
.card__cat { font-size: .78rem; text-align: right; }
.card__title { font-size: 1.08rem; margin-bottom: 8px; }
.card__title a { text-decoration: none; }
.card__title a::before { content: ""; position: absolute; inset: 0; z-index: 0; } /* цялата карта е връзка */
.card__sum { color: var(--muted); font-size: .94rem; line-height: 1.5; margin-bottom: 16px; }
.card__foot { margin-top: auto; display: grid; gap: 12px; position: relative; z-index: 1; }
.card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.card__actions .btn { flex: 1 1 auto; }
.empty { color: var(--muted); padding: 24px 0; }

.price { font-weight: 600; color: var(--ink); }
.price__num { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.price__note { font-weight: 400; font-size: .85rem; color: var(--muted); }
.price--request { font-size: .92rem; color: var(--muted); font-weight: 500; }

.grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.card--compact .card__body { padding: 14px; }
.card--compact .card__title { font-size: .95rem; margin: 0; }

/* ---------- Галерия ---------- */
.look { background: var(--ink); color: var(--on-ink); }
.look .sec-title { color: var(--on-ink); }
.look .sec-lead { color: color-mix(in srgb, var(--on-ink) 70%, transparent); }
.look__head { margin-bottom: 32px; }
.look__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 18px;
  scroll-padding-inline: var(--gutter);
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--on-ink) 30%, transparent) transparent;
}
.look__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.look__track.is-dragging * { pointer-events: none; }
@media (min-width: 1300px) { .look__track { padding-inline: calc((100vw - var(--wrap)) / 2); scroll-padding-inline: calc((100vw - var(--wrap)) / 2); } }
.look__item { position: relative; flex: 0 0 clamp(220px, 26vw, 300px); aspect-ratio: 3 / 4; margin: 0; scroll-snap-align: start; overflow: hidden; border-radius: 4px; background: #222; }
.look__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.15); user-select: none; }
.look__item:hover img { transform: scale(1.05); filter: none; }
.look__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  display: grid;
  gap: 2px;
}
.look__tag { font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: -.01em; overflow-wrap: anywhere; }
.look__name { font-size: .85rem; opacity: .8; }

/* ---------- Производителят ---------- */
.about__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 80%; border-radius: 4px; filter: grayscale(1) contrast(1.05); }
.quote { margin: -56px 0 0 clamp(16px, 8%, 48px); position: relative; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--ink); padding: 22px 24px; box-shadow: var(--shadow); max-width: 440px; }
.quote__text { font-family: var(--f-display); font-size: 1.05rem; line-height: 1.4; color: var(--ink); margin-bottom: 12px; }
.quote footer { display: grid; font-size: .88rem; color: var(--muted); }
.quote footer strong { color: var(--ink); font-weight: 600; }
.about__lead { font-size: 1.18rem; color: var(--ink); max-width: 56ch; }
.prose { max-width: 66ch; }
.prose p { color: var(--text); }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--a3); }
.about .prose { margin-block: 18px 30px; color: var(--muted); }

/* Технически лист — етикет в черна кутия и стойност върху сива лента */
.specsheet { margin: 0; display: grid; gap: 10px; }
.specsheet__row { display: grid; justify-items: start; }
.specsheet dt {
  display: inline-block;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--f-display);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: .32em .7em .3em;
  line-height: 1.2;
}
.specsheet dd {
  margin: 0;
  justify-self: stretch;
  background: var(--band);
  padding: .55em .8em;
  font-size: .98rem;
  color: var(--text);
}
.specsheet--full { gap: 12px; }

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
}

/* ---------- Защо при нас ---------- */
.why { border-top: 1px solid var(--line); }
.why__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); }
.why__media { margin-top: 28px; max-width: 340px; }
.why__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: grayscale(.3); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 40px); align-content: start; }
.why__list li { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.why__list h3 { font-size: 1.02rem; margin-bottom: 10px; }
.why__list p { color: var(--muted); font-size: .98rem; }

.process { margin-top: clamp(56px, 8vw, 100px); }
.process__title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps::before { /* линията на прехода: от избелено към дентин */
  content: "";
  position: absolute;
  left: 22px; right: 22px; top: 22px;
  height: 3px;
  background: var(--shade);
  border-radius: 3px;
}
.step { position: relative; }
.step__no {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  color: #000;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--a3) calc(var(--i) * 25%), var(--bleach));
  box-shadow: 0 0 0 5px var(--bg);
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

@media (max-width: 900px) {
  .why__inner { grid-template-columns: 1fr; }
  .why__media { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .why__list, .steps { grid-template-columns: 1fr; }
}

/* ---------- Контакти ---------- */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact__list { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.contact__list dt { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.contact__list dd { margin: 0; font-size: 1.05rem; color: var(--ink); }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__list a:hover { border-color: var(--ink); }
.contact__company { font-weight: 600; }
.contact__cta { background: var(--ink); color: var(--on-ink); padding: clamp(28px, 4vw, 44px); border-radius: 6px; }
.contact__cta p { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.4; margin-bottom: 22px; }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact__list { grid-template-columns: 1fr; } }

/* ---------- Продуктова страница ---------- */
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 24px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: baseline; min-width: 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--muted); }
.crumbs a { color: var(--ink); }
.crumbs [aria-current] { color: var(--muted); }
.pdp { padding-top: clamp(28px, 5vw, 56px); }
.pdp__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.pdp__media { background: var(--plate); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 1; }
.pdp__media { position: relative; }
.pdp__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__gallery { display: grid; gap: 12px; min-width: 0; }
.pdp__zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pdp__zoom img { transition: opacity .25s var(--ease), transform .7s var(--ease); }
.pdp__zoom:hover img { transform: scale(1.03); }
.pdp__zoom img.is-swapping { opacity: 0; }
.pdp__zoom:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.pdp__zoom-ico { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--on-ink); opacity: .85; transform: scale(.9); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.pdp__zoom:hover .pdp__zoom-ico, .pdp__zoom:focus-visible .pdp__zoom-ico { opacity: 1; transform: scale(1); }
.pdp__count { position: absolute; left: 12px; top: 12px; padding: 3px 9px; border-radius: 3px; background: var(--ink); color: var(--on-ink); font: 600 .74rem/1.6 var(--f-display); letter-spacing: .04em; pointer-events: none; }
.pdp__thumbs { list-style: none; margin: 0; padding: 2px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.pdp__thumbs li { flex: 0 0 auto; scroll-snap-align: start; }
.pdp__thumb { position: relative; display: block; width: 76px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 4px; background: var(--plate); overflow: hidden; transition: border-color .2s, transform .3s var(--ease); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--shade); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pdp__thumb:hover { border-color: var(--ink); transform: translateY(-2px); }
.pdp__thumb.is-current { border-color: var(--ink); }
.pdp__thumb.is-current::after { transform: scaleX(1); }
.pdp__thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 520px) { .pdp__thumb { width: 62px; } }

/* Увеличение 1:1 при посочване (само мишка, широк екран) */
.pdp__gallery { position: relative; }
.pdp__gallery.has-magnify .pdp__zoom:hover img { transform: none; }
.pdp__gallery.is-magnifying .pdp__zoom { cursor: crosshair; }
.pdp__gallery.is-magnifying .pdp__zoom-ico, .pdp__gallery.is-magnifying .pdp__count { opacity: 0; }
.pdp__lens { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; border: 1px solid var(--ink); box-shadow: 0 0 0 9999px color-mix(in srgb, var(--plate) 50%, transparent), inset 0 0 0 1px color-mix(in srgb, #fff 60%, transparent); opacity: 0; transition: opacity .2s; will-change: transform; }
.pdp__magnify { position: absolute; top: 0; z-index: 40; pointer-events: none; border: 1px solid var(--line); border-radius: 6px; background-color: #fff; background-repeat: no-repeat; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .04); opacity: 0; transform: translateX(-10px) scale(.98); transform-origin: left center; transition: opacity .2s var(--ease), transform .3s var(--ease); }
.pdp__magnify::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 6px 6px 0 0; background: var(--shade); }
.pdp__magnify-tag { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 3px; background: var(--ink); color: var(--on-ink); font: 600 .7rem/1.6 var(--f-display); letter-spacing: .04em; }
.pdp__gallery.is-magnifying .pdp__lens, .pdp__gallery.is-magnifying .pdp__magnify { opacity: 1; }
.pdp__gallery.is-magnifying .pdp__magnify { transform: none; }
@media (prefers-reduced-motion: reduce) { .pdp__magnify, .pdp__lens { transition: none; transform: none; } }

.pdp__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: none; place-items: center; background: color-mix(in srgb, #111 72%, transparent); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, #fff 25%, transparent); transition: transform .35s var(--ease), background-color .2s; pointer-events: none; }
.pdp__play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.pdp__media.is-video .pdp__play { display: grid; }
.pdp__media.is-video .pdp__zoom-ico { display: none; }
.pdp__media.is-video .pdp__zoom { cursor: pointer; }
.pdp__media.is-video .pdp__zoom img { mix-blend-mode: normal; }
.pdp__zoom:hover .pdp__play { transform: scale(1.08); background: var(--ink); }
.pdp__thumb-play { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, #000 22%, transparent); color: #fff; pointer-events: none; }
.pdp__thumb-play svg { width: 22px; height: 22px; fill: currentColor; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.pdp__thumb.is-video img { mix-blend-mode: normal; object-fit: cover; }
.card__vid { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding-left: 6px; border-left: 1px solid color-mix(in srgb, var(--on-ink) 35%, transparent); }
.card__media { position: relative; }
.card__photos { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 88%, transparent); color: var(--on-ink); font: 600 .7rem/1.6 var(--f-display); letter-spacing: .02em; }

/* ---------- Галерия в цял екран ---------- */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f4f1ea; overflow: hidden; }
.lb::backdrop { background: rgba(10, 10, 11, .9); backdrop-filter: blur(6px); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb.is-opening::backdrop { animation: lb-fade .3s var(--ease) both; }
.lb.is-closing::backdrop { animation: lb-fade .25s var(--ease) reverse both; }
.lb.is-opening .lb__bar, .lb.is-opening .lb__thumbs, .lb.is-opening .lb__nav { animation: lb-fade .35s .1s var(--ease) both; }
.lb.is-closing .lb__bar, .lb.is-closing .lb__thumbs, .lb.is-closing .lb__nav { animation: lb-fade .2s var(--ease) reverse both; }
@keyframes lb-fade { from { opacity: 0; } }
.lb__bar { display: flex; align-items: center; gap: 16px; padding: 12px clamp(12px, 3vw, 24px); min-width: 0; }
.lb__title { flex: 1; min-width: 0; margin: 0; font: 600 .95rem/1.3 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__count { font: 600 .8rem var(--f-display); letter-spacing: .06em; opacity: .75; font-variant-numeric: tabular-nums; }
.lb__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.06); color: inherit; cursor: pointer; transition: background-color .2s, border-color .2s, transform .25s var(--ease); flex: none; }
.lb__btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.lb__btn:active { transform: scale(.94); }
.lb__btn:focus-visible { outline: 2px solid var(--a3); outline-offset: 2px; }
.lb__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb__btn[disabled] { opacity: .3; cursor: default; }
.lb__track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; min-height: 0; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__track:focus { outline: none; }
/* Кадърът е контейнер с точен размер — съдържанието се вписва в него изцяло (по ширина и по височина). */
.lb__slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; margin: 0; padding: 4px clamp(8px, 7vw, 96px); min-height: 0; container-type: size; }
.lb__slide img { max-width: 100%; max-height: calc(100vh - 170px); max-width: 100cqw; max-height: 100cqh; width: auto; height: auto; object-fit: contain; border-radius: 4px; background: #fff; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); user-select: none; -webkit-user-drag: none; }
.lb__slide img:not([src]) { visibility: hidden; }
.lb__media { display: block; width: min(100%, (100vh - 170px) * var(--r, 1.7778)); width: min(100cqw, 100cqh * var(--r, 1.7778)); aspect-ratio: var(--r, 1.7778); max-height: 100cqh; border-radius: 4px; background: #000; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
video.lb__media { object-fit: contain; }
.lb__embed { position: relative; overflow: hidden; }
.lb__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb__facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #111; cursor: pointer; color: #fff; }
.lb__facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.lb__facade:hover img { opacity: 1; }
.lb__play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, #111 70%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, #fff 22%, transparent); transition: transform .3s var(--ease), background-color .2s; }
.lb__play svg { width: 38px; height: 38px; fill: currentColor; margin-left: 5px; }
.lb__facade:hover .lb__play { transform: scale(1.08); background: #000; }
.lb__facade:focus-visible { outline: 3px solid var(--a3); outline-offset: -3px; }
.lb__note { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; font-size: .78rem; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.lb__thumbs button { position: relative; }
.lb__tplay { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); }
.lb__tplay svg { width: 18px; height: 18px; fill: currentColor; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb__nav--prev { left: clamp(8px, 2vw, 24px); }
.lb__nav--next { right: clamp(8px, 2vw, 24px); }
.lb__nav .lb__btn { width: 52px; height: 52px; background: rgba(20,20,22,.55); }
.lb__thumbs { list-style: none; margin: 0; padding: 12px clamp(12px, 3vw, 24px) 16px; display: flex; gap: 8px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.lb__thumbs button { display: block; width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 4px; background: #fff; overflow: hidden; cursor: pointer; opacity: .5; transition: opacity .2s, border-color .2s; }
.lb__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.lb__thumbs button:hover { opacity: .85; }
.lb__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--a3); }
.lb__thumbs button:focus-visible { outline: 2px solid var(--a3); outline-offset: 2px; }
.lb--single .lb__nav, .lb--single .lb__thumbs, .lb--single .lb__count { display: none; }
.lb__fly { position: fixed; z-index: 3; margin: 0; object-fit: contain; pointer-events: none; border-radius: 4px; background: #fff; }
@media (max-width: 640px) {
  .lb__nav { display: none; }
  .lb__slide { padding: 0 8px; }
  .lb__thumbs { justify-content: flex-start; }
  .lb__thumbs button { width: 46px; height: 46px; }
}
@media (hover: none) { .lb__nav { display: none; } }
.pdp__code { color: var(--muted); margin-bottom: 10px; display: flex; gap: 8px; align-items: baseline; }
.pdp__code .code { background: var(--ink); color: var(--on-ink); padding: .25em .55em; }
.pdp__title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; }
.pdp__summary { font-size: 1.15rem; max-width: 52ch; }
.pdp__buy { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.pdp__price-label { display: block; font-size: .85rem; color: var(--muted); }
.pdp__buy .price__num { font-size: 1.6rem; }
.pdp__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.pdp__h { font-size: 1.2rem; margin-bottom: 20px; }
.related { margin-top: clamp(48px, 7vw, 90px); padding-top: 32px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .pdp__top, .pdp__body { grid-template-columns: 1fr; }
}

/* ---------- Запитване ---------- */
.inquiry__inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.inquiry__aside { position: sticky; top: 100px; }
.mini { display: grid; gap: 8px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.mini img { background: var(--plate); border-radius: 4px; aspect-ratio: 1; object-fit: contain; width: 100%; }
.mini .code { color: var(--muted); margin-top: 6px; }
.mini strong { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.mini__sum { color: var(--muted); font-size: .92rem; }
.inquiry__contact { border-left: 4px solid var(--ink); padding-left: 18px; color: var(--muted); }
.inquiry__contact a { color: var(--ink); font-weight: 600; text-decoration: none; }
.inquiry__main .sec-lead { margin-bottom: 28px; }

.form { display: grid; gap: 18px; max-width: 680px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__row--product { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
.field { display: grid; gap: 6px; }
.field__label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field__label em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a2) 55%, transparent); }
.field input[readonly] { background: var(--band); border-color: transparent; font-weight: 600; color: var(--ink); }
.field--code input[readonly] { background: var(--ink); color: var(--on-ink); font-family: var(--f-display); font-size: .88rem; letter-spacing: .03em; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c0392b; }
.field__err { color: #c0392b; font-size: .88rem; margin: 0; }
:root[data-theme="dark"] .field__err { color: #ff8a7a; }
:root[data-theme="dark"] .field input[aria-invalid="true"] { border-color: #ff8a7a; }
.field-group { border: 1px dashed var(--line); border-radius: 6px; padding: 14px 16px 16px; margin: 0; display: grid; gap: 10px; }
.field-group legend { font-size: .9rem; color: var(--muted); padding: 0 6px; }
.field-group.is-invalid { border-color: #c0392b; }
.field-group.is-ok { border-style: solid; border-color: color-mix(in srgb, var(--a3) 80%, var(--line)); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.check.is-invalid span { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border: 1px solid #c0392b; border-left-width: 4px; background: color-mix(in srgb, #c0392b 7%, var(--paper)); padding: 14px 16px; margin-bottom: 22px; border-radius: 4px; }
.alert strong { display: block; color: var(--ink); }

.thanks { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; text-align: center; padding-block: 40px; display: grid; justify-items: center; }
.thanks__mark svg { width: 76px; height: 76px; fill: none; stroke: var(--ink); stroke-width: 2; margin-bottom: 18px; }
.thanks__mark circle { stroke: var(--a3); stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw .8s var(--ease) forwards; }
.thanks__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks .sec-lead { margin-bottom: 28px; }

@media (max-width: 860px) {
  .inquiry__inner { grid-template-columns: 1fr; }
  .inquiry__aside { position: static; }
  .mini { grid-template-columns: 96px 1fr; align-items: center; column-gap: 14px; }
  .mini img { grid-row: span 3; }
  .mini__sum { display: none; }
}
@media (max-width: 560px) { .form__row, .form__row--product { grid-template-columns: 1fr; } }

/* ---------- Долен колонтитул ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 48px; font-size: .9rem; color: var(--muted); }
.site-footer__inner { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: auto auto 1fr; gap: 28px clamp(28px, 5vw, 64px); align-items: start; }
.site-footer__logo img { height: 52px; }
.site-footer__slogan { margin-top: 14px; max-width: 30ch; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.site-footer__company { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
/* Две групи телефони (продажби / технически) — заглавие над номерата */
.phone-group { display: block; margin-bottom: 8px; }
.phone-group__t { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 1px; }
.phone-group a { display: inline-block; }
.site-footer a { color: var(--ink); }
.site-footer__legal { justify-self: end; max-width: 52ch; text-align: right; }
@media (max-width: 860px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__legal { justify-self: start; text-align: left; }
}

/* ---------- Известие ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--on-ink);
  padding: 12px 18px;
  border-radius: 4px;
  font-size: .95rem;
  opacity: 0;
  transition: opacity .25s, transform .35s var(--ease);
  box-shadow: var(--shadow);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: #c0392b; color: #fff; }

/* ---------- Появяване при превъртане (само с JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Смяна на темата: кръгово разкриване */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .disc__spin, .disc-scene::before { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .look, .hero__visual, .toast, .adminbar { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Демонстрационен режим: съобщение, плъзващо се отгоре в средата ---------- */
.demo-banner {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  height: var(--demo-h);
  padding: 0 6px 0 16px;
  border-radius: 0 0 14px 14px;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--bleach) 0%, var(--a1) 30%, var(--a2) 62%, var(--a3) 100%);
  color: #000;
  font-family: var(--f-display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
  box-shadow: 0 10px 28px -10px rgba(120, 85, 35, .55), 0 0 0 1px rgba(0, 0, 0, .08);
  overflow: hidden;
  transform: translate(-50%, 0);
  animation: demo-in .8s cubic-bezier(.2, .9, .25, 1.15) .5s both;
}
.demo-banner[hidden] { display: none; }
/* Блясък, който минава през лентата — веднага след появата и после на всеки 8 секунди */
.demo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: demo-shine 8s ease-in-out 1.3s infinite;
  pointer-events: none;
}
@keyframes demo-in {
  from { transform: translate(-50%, -115%); }
  to   { transform: translate(-50%, 0); }
}
@keyframes demo-shine {
  0%   { transform: translateX(-120%); }
  14%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
.demo-banner.is-leaving { animation: demo-out .45s cubic-bezier(.5, 0, .75, 0) both; }
@keyframes demo-out {
  from { transform: translate(-50%, 0); }
  to   { transform: translate(-50%, -115%); }
}
.demo-banner__dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
}
.demo-banner__dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #000;
  opacity: 0;
  animation: demo-pulse 2s ease-out 1.3s infinite;
}
@keyframes demo-pulse {
  0%   { transform: scale(.5); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.demo-banner__text { position: relative; z-index: 1; overflow: hidden; text-overflow: ellipsis; }
.demo-banner__close {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 2px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .1);
  color: #000;
  cursor: pointer;
  transition: background-color .2s;
}
.demo-banner__close:hover { background: rgba(0, 0, 0, .2); }
.demo-banner__close:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.demo-banner__close svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* Ивица за съобщението над заглавната лента — нищо не се закрива; прибира се при скриване */
:root { --demo-h: 36px; }
html.demo-on { scroll-padding-top: calc(88px + var(--demo-h)); }
.site-header { transition: padding-top .45s cubic-bezier(.2, .75, .2, 1), border-color .3s, background-color .3s; }
html.demo-on .site-header { padding-top: var(--demo-h); }
@media (max-width: 1060px) {
  :root { --demo-h: 32px; }
  .demo-banner { font-size: .68rem; padding-left: 12px; }
  html.demo-on .nav { inset: calc(69px + var(--demo-h)) 0 auto 0; }
}
/* Админ панел: място за съобщението над съдържанието */
.adm__main { transition: padding-top .45s cubic-bezier(.2, .75, .2, 1); }
html.demo-on .adm .adm__main { padding-top: calc(var(--demo-h) + clamp(18px, 3vw, 36px)); }
html.demo-on .adm__side { padding-top: calc(var(--demo-h) + 10px); }
@media (prefers-reduced-motion: reduce) {
  .demo-banner, .demo-banner.is-leaving { animation: none; }
  .demo-banner::after, .demo-banner__dot::before { animation: none; display: none; }
}
@media print { .demo-banner { display: none !important; } }
@media (max-width: 900px) { html.demo-on .adm .adm__main { padding-top: clamp(18px, 3vw, 36px); } }

@media (prefers-reduced-motion: reduce) {
  .lb.is-opening::backdrop, .lb.is-closing::backdrop, .lb .lb__bar, .lb .lb__thumbs, .lb .lb__nav { animation: none !important; }
  .pdp__zoom img, .pdp__thumb { transition: none; }
  .pdp__zoom:hover img { transform: none; }
}

/* WhatsApp */
.wa-link { display: inline-flex; align-items: center; gap: 6px; }
.wa-link .i-wa { color: #25d366; flex: none; }

/* ---------- Онлайн магазин ---------- */
.price__from { font-size: .82em; color: var(--muted); font-weight: 400; }
.price__gross { font-weight: 700; color: var(--ink); }
.price__tax { font-size: .78em; color: var(--muted); font-weight: 400; }
.price__net { display: block; font-size: .78rem; color: var(--muted); margin-top: 1px; }
.card__foot .price__net { display: none; }

.buy { display: grid; gap: 14px; margin-top: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); max-width: 520px; }
.buy__price .price__gross { font-size: 1.7rem; font-family: var(--f-display); letter-spacing: -.01em; }
.buy__price .price__net { font-size: .88rem; }
.buy__avail { margin: 0; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.buy__avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3a9a5b; }
.buy__avail--on_order::before { background: var(--a3); }
.buy__avail--out::before { background: #c0392b; }
.cart__name .buy__avail { font-size: .8rem; }
.buy__field { display: grid; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.buy__field select { min-height: 46px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--text); font: inherit; font-weight: 400; }
.buy__variant { margin: 0; font-weight: 600; }
.buy__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy__qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; height: 48px; }
.buy__qty input { width: 58px; border: 0; text-align: center; font: inherit; font-weight: 600; background: transparent; color: var(--text); -moz-appearance: textfield; }
.buy__qty input::-webkit-outer-spin-button, .buy__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy__step { width: 42px; border: 0; background: transparent; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.buy__step:hover { background: var(--band); }
.buy__add { flex: 1 1 200px; }
.buy__add[disabled] { opacity: .45; cursor: not-allowed; }
.buy__msg { margin: 0; font-size: .92rem; }
.buy__msg a { font-weight: 600; color: var(--ink); }
.buy__inquire { margin: 0; font-size: .9rem; }
.buy__inquire a { color: var(--muted); }

.cart-link { position: relative; }
.cart-link__n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--on-ink); font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.cart-link__n[hidden] { display: none; }
.cart-link.is-bump .cart-link__n { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.shop-page .sec-title { margin-bottom: 22px; }
.notice { padding: 14px 16px; border-radius: 6px; border-left: 4px solid var(--line); background: var(--band); margin: 0 0 18px; }
.notice--ok { border-color: #3a9a5b; background: color-mix(in srgb, #3a9a5b 10%, var(--paper)); }
.notice--warn { border-color: var(--a3); background: color-mix(in srgb, var(--a2) 22%, var(--paper)); }
.notice--error { border-color: #c0392b; background: color-mix(in srgb, #c0392b 8%, var(--paper)); }
.notice--info { border-color: var(--ink); display: flex; gap: 10px; align-items: center; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.cart__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 110px 96px 110px 36px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__img img { width: 72px; height: 72px; object-fit: contain; background: var(--plate); border-radius: 6px; }
.cart__name { display: grid; gap: 2px; }
.cart__name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cart__var { font-size: .9rem; }
.cart__code { font-size: .78rem; color: var(--muted); }
.cart__unit, .cart__sum { text-align: right; font-variant-numeric: tabular-nums; }
.cart__sum { font-weight: 700; color: var(--ink); }
.cart__qty input { width: 80px; min-height: 42px; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--text); font: inherit; text-align: center; }
.cart__lbl { display: none; }
.cart__rm { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.cart__rm:hover { background: var(--band); color: #c0392b; }
.cart__actions { display: flex; justify-content: flex-end; margin: 12px 0 0; }
.cart__summary { margin: 22px 0 0 auto; max-width: 380px; display: grid; gap: 12px; }

.totals { margin: 0; display: grid; gap: 6px; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; }
.totals__total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; font-size: 1.15rem; }
.totals__total dt, .totals__total dd { color: var(--ink); font-weight: 700; }
.totals--page { max-width: 380px; margin: 16px 0 0 auto; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.checkout__main { display: grid; gap: 18px; }
.checkout__side { position: sticky; top: 96px; }
.co-box { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px 20px; margin: 0; background: var(--paper); display: grid; gap: 14px; }
.co-box legend { font-family: var(--f-display); font-size: .95rem; color: var(--ink); padding: 0 6px; margin-left: -6px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-grid[hidden], .co-company[hidden] { display: none; }
.co-wide { grid-column: 1 / -1; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 3px; flex-wrap: wrap; justify-self: start; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: block; padding: 8px 16px; border-radius: 999px; font-size: .92rem; }
.seg__opt input:checked + span { background: var(--ink); color: var(--on-ink); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--a3); outline-offset: 2px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: var(--muted); }
.choice:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--a1) 25%, var(--paper)); }
.choice input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.choice__t { flex: 1; }
.choice__p { font-weight: 600; color: var(--ink); white-space: nowrap; }
.co-cardnote { display: flex; gap: 8px; align-items: flex-start; }
.co-cardnote svg { flex: none; margin-top: 3px; }
.co-cardnote[hidden] { display: none; }
.co-summary .btn { margin-top: 4px; }
.co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.co-items li { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; }
.co-items__n { display: grid; gap: 1px; }
.co-items__n small { color: var(--muted); font-size: .82rem; }
.co-items__s { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.co-items--page { border-top: 1px solid var(--line); padding-top: 12px; }
.co-items--page li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.co-terms { font-size: .9rem; }
.co-terms a { color: var(--ink); font-weight: 600; }
.paynow { margin-bottom: 18px; }
.paynow form { margin: 0; }
.payinfo { margin-bottom: 18px; }
.kv-list { margin: 0; display: grid; gap: 8px; }
.kv-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.kv-list dt { color: var(--muted); }
.kv-list dd { margin: 0; overflow-wrap: anywhere; }
.lead-sm { color: var(--muted); margin: -8px 0 20px; }
.hint { font-size: .86rem; color: var(--muted); margin: 0; }

@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__side { position: static; }
}
@media (max-width: 720px) {
  .cart__row { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img name rm" "img unit unit" "img qty sum"; row-gap: 8px; }
  .cart__img { grid-area: img; align-self: start; }
  .cart__img img { width: 64px; height: 64px; }
  .cart__name { grid-area: name; }
  .cart__rm { grid-area: rm; align-self: start; }
  .cart__unit { grid-area: unit; text-align: left; font-size: .9rem; }
  .cart__qty { grid-area: qty; display: flex; gap: 8px; align-items: center; }
  .cart__sum { grid-area: sum; }
  .cart__lbl { display: inline; color: var(--muted); font-size: .82rem; font-weight: 400; margin-right: 6px; }
  .cart__summary { max-width: none; }
  .co-grid { grid-template-columns: 1fr; }
  .kv-list > div { grid-template-columns: 1fr; gap: 0; }
}
.shop-page .co-box { margin-bottom: 18px; }
.shop-page .co-box + .pdp__h, .shop-page p + .pdp__h { margin-top: 30px; }
.checkout .co-box { margin-bottom: 0; }
/* С иконата на количката лентата е по-тясна: на телефони до 460 px търсенето остава в раздела с продуктите. */
@media (max-width: 460px) { .site-header__tools .search-toggle:not(.cart-link):has(~ .cart-link) { display: none; } }

/* ---------- Профил, промокод, държава, цени на едро ---------- */
.nav__account { display: none; }
.account-link.is-in { border-color: var(--ink); }
@media (max-width: 1060px) {
  .nav__account { display: block; }
  .site-header__tools .account-link { display: none; }
}
.price__old { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }
.card__foot .price__old { display: none; }
.cart__old { color: var(--muted); font-size: .85em; }
.totals__disc dd { color: var(--ink); }
.promo { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.promo .field__err { grid-column: 1 / -1; }
.promo input[readonly] { background: transparent; font-weight: 600; letter-spacing: .04em; }
.co-country { display: grid; grid-template-columns: minmax(0, 320px) auto; gap: 10px; align-items: end; justify-content: start; }
.co-country [hidden] { display: none; }
.co-vatnote { margin: 0; }
.co-account { margin: -6px 0 16px; }
.acc-form { max-width: 460px; }
.acc-links { display: flex; justify-content: space-between; gap: 16px; margin: 0; font-size: .95rem; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.acc-head p { margin: 0; overflow-wrap: anywhere; }
.acc-orders { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.acc-orders li { display: grid; grid-template-columns: 1.3fr .8fr 1.6fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.acc-orders .muted { color: var(--muted); }
.acc-more > summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.acc-more[open] > summary { margin-bottom: 14px; }
.acc-more .acc-form { display: grid; gap: 14px; }
@media (max-width: 720px) {
  .acc-orders li { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .co-country { grid-template-columns: 1fr; }
}
.acc-orders { margin-bottom: 34px; }
.shop-page .acc-more { padding-bottom: 18px; }
