/* ===========================================================================
   cbdin.bg — пробен шаблон
   Система «Меко». Всичко, което е контейнер, плава върху фона със заоблени
   ъгли и мека тонирана сянка; всичко, което се натиска, е таблетка. Прави
   линии няма: групите се делят с разстояние и фон, не с черти.

     таблетка   бутони, чипове, търсене, броячи, сегменти, бейджове, острова
     28         листове: бюлетин, чекмедже, подвал
     24         карти, панели, мега меню
     18         вътрешно в карта — концентричен радиус (24 − 6 поле)
     14         полета, миниатюри, редове в списък
     10         дребно: kbd, code, най-малките миниатюри
   =========================================================================== */

:root{
  --sage-1:#FBFDFC; --sage-2:#F5F8F6; --sage-3:#ECF0EE; --sage-4:#E2E7E4;
  --sage-5:#D8DED9; --sage-6:#CBD3CE; --sage-8:#8E9994; --sage-11:#5C6662;
  --sage-12:#182220;
  --cyan-12:#0C3A46; --cyan-11:#0F6C82; --cyan-9:#00A2C7; --cyan-4:#C6EDF5;
  --cyan-3:#E1F6FA;
  --amber-9:#FFC53D; --amber-10:#F5B71F; --amber-3:#FFF3D0; --amber-11:#AB6400;
  --amber-12:#4F3422;
  /* повърхности: страница, карта, плитка в карта, тонален контрол */
  --page:var(--sage-2); --page-rgb:245,248,246; --surface:#FFFFFF; --tile:var(--sage-2); --ctrl:var(--sage-3);

  /* островът: цветовете му са токени, за да може светъл/тъмен да е избор */
  --chrome-bg:var(--cyan-12); --chrome-fg:#fff; --chrome-fg-2:rgba(255,255,255,.82);
  --chrome-hover:rgba(255,255,255,.10); --chrome-active-bg:#FFFFFF; --chrome-active-fg:var(--cyan-12);
  --chrome-search:#FFFFFF; --chrome-r:999px; --chrome-dot:rgba(255,255,255,.22);

  --r-pill:999px; --r-sheet:28px; --r-card:24px; --r-inner:18px; --r-tile:14px; --r-xs:10px;

  /* сенките носят оттенъка на cyan-12, не сиво */
  --sh-1:0 1px 2px rgba(12,58,70,.04), 0 8px 20px -10px rgba(12,58,70,.12);
  --sh-2:0 2px 4px rgba(12,58,70,.04), 0 20px 44px -18px rgba(12,58,70,.20);
  --sh-3:0 4px 8px rgba(12,58,70,.06), 0 36px 80px -28px rgba(12,58,70,.34);
  --ease:cubic-bezier(.32,.72,0,1);

  --wrap:1520px; --gut:44px;
  --chrome:64px; --topbar:40px; --float:10px;
}

*{box-sizing:border-box;margin:0;padding:0}

html{scroll-behavior:smooth}

body{
  background:var(--page);
  font-family:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--sage-12);
  font-size:15px; line-height:1.45;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
[hidden]{display:none !important}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--sage-11)}
/* Етикет на група — с изречение, не с главни букви и разредка. */
.eyebrow{font-size:12px;font-weight:600;color:var(--sage-11);letter-spacing:.01em}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;background:var(--sage-3);padding:1px 6px;border-radius:var(--r-xs)}

/* Поверхности на браузъра — избор, каретка, пръстен на фокуса, лента за
   превъртане, отстъп на подчертаването. По подразбиране не принадлежат на
   никоя дизайн-система; тук са боядисани от палитрата. */
::selection{background:var(--cyan-4);color:var(--cyan-12)}
:focus-visible{outline:2px solid var(--cyan-9);outline-offset:3px}
html{scrollbar-color:var(--sage-6) transparent;scrollbar-width:thin}
input,textarea,select{caret-color:var(--cyan-11)}
a{text-underline-offset:3px}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition-duration:.01ms !important}
}

/* ── горната лента: тава, върху която ляга островът ───────────────────── */
/* Лентата не е гол текст върху фона, а част от същия комплект: бял лист със
   заоблен горен ръб — с него страницата започва така, както свършва с подвала.
   Тавата е с ширината на острова и е по-висока, отколкото ѝ трябва: островът
   застъпва долния ѝ край, за да се четат като едно тяло, а не като две ленти.
   При скрол островът се отлепя и тавата си отива — тя носи настройки, не
   навигация. */
.topbar{padding:0 var(--gut);font-size:13px;color:var(--sage-11)}
.topbar__in{
  max-width:calc(var(--wrap) - 2 * var(--gut));margin:0 auto;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  height:auto;min-height:calc(var(--topbar) + 20px);padding:2px 18px 20px;
  background:var(--surface);border-radius:var(--r-sheet) var(--r-sheet) 0 0;
}
.chrome{margin-top:-16px}
.topbar nav{display:flex;align-items:center;gap:2px;margin-left:-10px}
.topbar nav a{padding:5px 10px;border-radius:var(--r-pill);transition:background .25s var(--ease),color .25s var(--ease)}
.topbar nav a:hover{background:var(--ctrl);color:var(--sage-12)}
.topbar .sep{width:4px;height:4px;border-radius:50%;background:var(--sage-6);flex:none}
.topbar b{color:var(--sage-12);font-weight:600}
.topbar__meta{display:flex;align-items:center;gap:12px}

/* Код на държава, не флаг: флагът назовава държава, а не език. */
.lang{position:relative}
.lang__btn{
  display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 10px;
  border-radius:var(--r-pill);color:var(--sage-12);font-size:13px;font-weight:600;
  background:transparent;transition:background .25s var(--ease);
}
.lang__btn:hover{background:var(--ctrl)}
.lang__btn[aria-expanded="true"]{background:var(--sage-4)}
.lang__btn[aria-expanded="true"] .lang__chev{transform:rotate(180deg)}
.lang__globe{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
.lang__chev{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none;transition:transform .3s var(--ease)}
.lang__menu{
  position:absolute;z-index:70;top:calc(100% + 10px);right:0;width:216px;
  background:var(--surface);border-radius:var(--r-inner);padding:8px;
  box-shadow:var(--sh-3);
}
.lang__menu .eyebrow{padding:8px 12px 6px}
.lang__opt{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:var(--r-xs);transition:background .2s var(--ease)}
.lang__opt:hover{background:var(--tile)}
.lang__opt.is-active{background:var(--cyan-3)}
.lang__opt span:nth-child(2){flex:1;font-size:15px}
.lang__opt b{font-size:12px;font-weight:600;color:var(--sage-11);letter-spacing:.04em}
.lang__opt svg{width:15px;height:15px;fill:none;stroke:var(--cyan-11);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.lang__gap{width:15px;flex:none}

/* ── островът: шапката плава, не е залепена за ръба ───────────────────── */
.chrome{position:sticky;top:var(--float);z-index:60;padding:0 var(--gut)}
/* Плаващият остров оставя процеп над себе си и заоблени ъгли встрани — при
   скрол съдържанието минава през тях. Подложката го спира: плътна в горния си
   край, разтваря се надолу с маска, за да няма ръб. Появява се само залепена. */
.chrome::before{
  content:"";position:absolute;left:0;right:0;top:calc(-1 * var(--float));
  height:calc(var(--chrome) + var(--float) + 18px);
  background:rgb(var(--page-rgb));pointer-events:none;
  -webkit-mask-image:linear-gradient(#000 62%,transparent);
  mask-image:linear-gradient(#000 62%,transparent);
  opacity:0;transition:opacity .35s var(--ease);
}
.chrome.is-stuck::before{opacity:1}
.chrome__in{position:relative;
  max-width:calc(var(--wrap) - 2 * var(--gut));margin:0 auto;
  display:flex;align-items:center;gap:18px;height:var(--chrome);padding:0 10px 0 24px;
  background:var(--chrome-bg);color:var(--chrome-fg);border-radius:var(--chrome-r);
  box-shadow:var(--sh-2);
  transition:height .4s var(--ease),box-shadow .4s var(--ease);
}
.chrome.is-stuck .chrome__in{height:56px;box-shadow:var(--sh-3)}

/* Знакът е две капки и базова линия: сравнение на концентрации, не «природа».
   Едрата капка и линията вървят на currentColor, за да работи знакът и върху
   светъл фон (подвала); амбърът остава единственият цвят. */
.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;flex:none;color:var(--chrome-fg)}
.brand__mark{width:28px;height:28px;flex:none}
.brand__word{font-size:22px;font-weight:700;letter-spacing:-.025em}
.brand__in{box-shadow:inset 0 -2px 0 var(--amber-9)}
.brand__tld{font-weight:400;opacity:.45}
.chrome .divider{width:5px;height:5px;border-radius:50%;background:var(--chrome-dot);flex:none}

.nav{display:flex;gap:2px;flex:none}
.nav a{
  padding:9px 13px;border-radius:var(--r-pill);
  color:var(--chrome-fg-2);font-weight:500;font-size:15px;white-space:nowrap;
  transition:background .25s var(--ease),color .25s var(--ease),transform .25s var(--ease);
}
.nav a:hover{background:var(--chrome-hover);color:var(--chrome-fg)}
.nav a:active{transform:scale(.96)}
/* избраният раздел е светла таблетка — същата форма като при наведе, друг слой */
.nav a.is-active{background:var(--chrome-active-bg);color:var(--chrome-active-fg);font-weight:600}

/* В покой полето е 260 px, притиснато вдясно до иконите — свободната ширина
   на реда стои в процепа ПРЕДИ него, не вътре в него. На фокус flex-grow поема
   точно този процеп и нищо повече: спирачката е конструкция, не избрано число.
   Автоматичният марж поема свободното място само след като flex-grow е решен,
   затова grow:0 в покой го притиска вдясно, а grow:1 го разширява наляво.
   `shrink:1` с под 180 px пази реда от преливане между 1080 и ~1300, където
   само менюто изяжда ширината — точно както се държеше и преди този проход. */
.search{
  margin-left:auto;flex:0 1 260px;min-width:180px;max-width:560px;
  display:flex;align-items:center;gap:10px;
  background:var(--chrome-search);border-radius:var(--r-pill);height:44px;padding:0 8px 0 16px;
  transition:flex-grow .4s var(--ease),box-shadow .25s var(--ease),height .3s var(--ease);
}
.search:focus-within{flex-grow:1;box-shadow:0 0 0 4px rgba(0,162,199,.35)}
.search svg{width:18px;height:18px;fill:none;stroke:var(--sage-11);stroke-width:1.8;stroke-linecap:round;flex:none}
.search input{
  flex:1;min-width:0;border:0;background:none;outline:0;
  font-size:15px;color:var(--sage-12);
}
.search input::placeholder{color:var(--sage-11)}
.search kbd{
  flex:none;font:inherit;font-size:12px;font-weight:600;color:var(--sage-11);background:var(--ctrl);
  border-radius:var(--r-pill);padding:4px 9px;line-height:1;
}
/* иконата минава в cyan-11 на фокус — както е в кадъра Search */
.search:focus-within svg{stroke:var(--cyan-11)}

.icons{display:flex;gap:2px;flex:none}
.icon-btn{
  position:relative;width:42px;height:42px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;transition:background .25s var(--ease),transform .25s var(--ease);
}
.icon-btn:hover{background:var(--chrome-hover)}
.icon-btn:active{transform:scale(.94)}
.icon-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.badge{
  position:absolute;top:3px;right:1px;min-width:17px;height:17px;padding:0 5px;
  border-radius:var(--r-pill);background:var(--amber-9);color:var(--amber-12);
  font-size:11px;font-weight:700;line-height:17px;text-align:center;font-style:normal;
  box-shadow:0 0 0 2px var(--chrome-bg);
}
.badge:empty,.badge[data-count="0"]{display:none}

.burger{display:none}

/* по-къс ред — по-ниско и по-късо поле. 220 реже подсказката: при 15 px тя
   иска 172 px, а полето ѝ дава 136. Оттам 250 и подсказка 14 px — мащабът на
   кадъра Sticky. Проверено със стойност в полето, не само по scrollWidth на
   празен input, който не вижда изрязана подсказка. */
.chrome.is-stuck .search{flex-basis:250px;height:38px}
.chrome.is-stuck .search input{font-size:14px}

/* ── мега меню: карта под острова, не продължение на хрома ────────────── */
.mega{
  position:absolute;top:calc(100% + 8px);left:var(--gut);right:var(--gut);
  max-width:calc(var(--wrap) - 2 * var(--gut));margin:0 auto;
  background:var(--surface);color:var(--sage-12);
  border-radius:var(--r-card);box-shadow:var(--sh-3);padding:8px 28px 24px;
}
.mega .wrap{max-width:none;padding:0}
.mega__head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  height:52px;
}
.mega__head b{font-size:16px;font-weight:600}
.mega__head b span{color:var(--sage-11);font-weight:400}
.mega__all{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--cyan-11)}
.mega__all svg{width:26px;height:26px;padding:6px;border-radius:50%;background:var(--cyan-3);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.mega__all:hover svg{transform:translateX(3px)}
.mega__cols{display:grid;grid-template-columns:1fr 1fr 1fr 400px;gap:40px;padding:10px 0 0}
.mega__col{display:flex;flex-direction:column;gap:22px}
.mega__group{display:flex;flex-direction:column}
.mega__group .eyebrow{margin-bottom:6px}
.facet{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  height:34px;padding:0 10px;margin:0 -10px;border-radius:var(--r-xs);font-size:15px;
  transition:background .2s var(--ease);
}
.facet:hover{background:var(--tile)}
.facet span:last-child{font-size:13px;color:var(--sage-11);font-variant-numeric:tabular-nums}
.facet.strong{font-weight:600}

.rank{display:flex;align-items:center;gap:12px;padding:8px 10px;margin:0 -10px;border-radius:var(--r-tile);transition:background .2s var(--ease)}
.rank:hover{background:var(--tile)}
.rank__n{flex:none;width:22px;font-size:13px;font-weight:700;color:var(--sage-11);font-variant-numeric:tabular-nums}
.rank__thumb{
  flex:none;width:36px;height:36px;border-radius:var(--r-xs);
  background:var(--tile);
  display:inline-flex;align-items:center;justify-content:center;
}
.rank__thumb svg{width:24px;height:24px}
.rank__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.rank__body b{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank__body small{font-size:12px;color:var(--sage-11);font-variant-numeric:tabular-nums}
.rank__mg{flex:none;font-size:14px;font-weight:700;color:var(--cyan-11);font-variant-numeric:tabular-nums}

/* ── мобилно чекмедже ─────────────────────────────────────────────────── */
.scrim{position:fixed;inset:0;background:rgba(12,58,70,.42);z-index:80;opacity:0;pointer-events:none;transition:opacity .3s var(--ease)}
.scrim.is-open{opacity:1;pointer-events:auto}
.drawer{
  position:fixed;top:0;left:0;bottom:0;width:min(88vw,360px);z-index:90;
  background:var(--surface);display:flex;flex-direction:column;
  border-radius:0 var(--r-sheet) var(--r-sheet) 0;box-shadow:var(--sh-3);
  transform:translateX(-104%);transition:transform .5s var(--ease);overflow-y:auto;
}
.drawer.is-open{transform:none}
.drawer__head{
  background:var(--cyan-12);color:#fff;display:flex;align-items:center;gap:4px;
  height:64px;padding:0 10px;flex:none;border-radius:0 var(--r-sheet) 0 0;
}
.drawer__sec{padding:20px 26px 8px}
.drawer nav{display:flex;flex-direction:column;padding:0 12px;gap:2px}
.drawer nav a{
  display:flex;align-items:center;gap:12px;height:50px;padding:0 14px;
  border-radius:var(--r-tile);font-size:16px;transition:background .2s var(--ease);
}
.drawer nav a:hover{background:var(--tile)}
.drawer nav a span:first-child{flex:1}
.drawer nav a.is-active{background:var(--cyan-3);color:var(--cyan-12);font-weight:600}
.drawer nav a.is-active span:last-child{font-size:13px;color:var(--cyan-11);font-variant-numeric:tabular-nums}
.drawer nav a svg{width:18px;height:18px;fill:none;stroke:var(--sage-8);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.drawer nav.info a{height:46px;font-size:15px;color:var(--sage-11)}
.drawer__foot{
  margin:auto 12px 12px;background:var(--tile);border-radius:var(--r-inner);
  padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;
}
.langset{display:flex;gap:2px;background:var(--ctrl);border-radius:var(--r-pill);padding:3px}
.langset span,.langset a{height:30px;padding:0 14px;border-radius:var(--r-pill);font-size:14px;display:inline-flex;align-items:center;transition:background .2s var(--ease)}
.langset span{background:var(--surface);font-weight:600;box-shadow:var(--sh-1)}
.langset a{color:var(--sage-11)}
.langset a:hover{background:rgba(255,255,255,.5)}
.drawer__foot b{white-space:nowrap}

/* ── мобилен таб-бар: плаваща таблетка, както в приложение ────────────── */
.tabbar{display:none}

/* ── бутони ───────────────────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:46px;padding:0 22px;border-radius:var(--r-pill);
  font-size:15px;font-weight:600;white-space:nowrap;
  transition:background .3s var(--ease),color .3s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease);
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:scale(.97)}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.btn--primary{background:var(--cyan-12);color:#fff;box-shadow:0 10px 24px -12px rgba(12,58,70,.55)}
.btn--primary:hover{background:#0a2f38;box-shadow:0 14px 30px -12px rgba(12,58,70,.6)}
.btn--amber{background:var(--amber-9);color:var(--amber-12);box-shadow:0 10px 24px -12px rgba(171,100,0,.5)}
.btn--amber:hover{background:var(--amber-10)}
.btn--ghost{background:var(--surface);color:var(--sage-12);box-shadow:var(--sh-1)}
.btn--ghost:hover{box-shadow:var(--sh-2)}
/* върху бяла карта белият бутон изчезва: там вторичното е тонален контрол */
.summary .btn--ghost,.buybox .btn--ghost,.empty .btn--ghost{background:var(--ctrl);box-shadow:none}
.summary .btn--ghost:hover,.buybox .btn--ghost:hover,.empty .btn--ghost:hover{background:var(--sage-4)}
.btn--lg{height:54px;padding:0 28px;font-size:16px}
.btn--block{display:flex;width:100%;white-space:normal;min-width:0}
.btn[disabled]{opacity:.45;pointer-events:none}

.chip{
  display:inline-flex;align-items:center;gap:6px;
  height:28px;padding:0 11px;border-radius:var(--r-pill);
  background:var(--ctrl);
  font-size:13px;font-weight:500;color:var(--sage-11);
}
.chip--lab{background:var(--cyan-3);color:var(--cyan-11);font-weight:600;font-size:12px;height:26px;padding:0 10px}
.chip--lab svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ── секции ───────────────────────────────────────────────────────────── */
.section{padding-block:72px 0}
.section--tight{padding-block:56px 0}
.section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}
.section__head h2{font-size:30px;font-weight:600;letter-spacing:-.025em}
.section__head p{color:var(--sage-11);margin-top:6px;max-width:62ch}
/* връзка «още» — стрелката седи в свой кръг, не гола до текста */
.section__more{
  display:inline-flex;align-items:center;gap:10px;flex:none;
  padding:5px 5px 5px 16px;border-radius:var(--r-pill);
  background:var(--surface);box-shadow:var(--sh-1);
  font-size:14px;font-weight:600;color:var(--cyan-12);
  transition:box-shadow .3s var(--ease),transform .3s var(--ease);
}
.section__more:hover{box-shadow:var(--sh-2);transform:translateY(-1px)}
.section__more svg{width:28px;height:28px;padding:7px;border-radius:50%;background:var(--cyan-3);fill:none;stroke:var(--cyan-11);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease)}
.section__more:hover svg{transform:translateX(3px)}

/* ── герой ────────────────────────────────────────────────────────────── */
.hero{padding-block:56px 40px}
.hero__in{display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center}
.hero h1{font-size:52px;line-height:1.04;font-weight:700;letter-spacing:-.035em;max-width:17ch}
.hero h1 em{font-style:normal;color:var(--cyan-11)}
.hero p{margin-top:20px;font-size:17px;color:var(--sage-11);max-width:50ch}
.hero__cta{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.hero__facts{display:flex;gap:36px;margin-top:40px;flex-wrap:wrap}
.hero__fact b{display:block;font-size:26px;font-weight:700;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.hero__fact span{font-size:13px;color:var(--sage-11)}

/* единственият авторски момент на движение: героят влиза стъпаловидно */
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.hero h1,.hero p,.hero__cta,.hero__facts,.hero__visual{animation:rise .9s var(--ease) both}
.hero p{animation-delay:.07s}
.hero__cta{animation-delay:.14s}
.hero__facts{animation-delay:.21s}
.hero__visual{animation-delay:.18s}

.hero__visual{position:relative;min-width:0}
.compare{min-width:0;background:var(--surface);border-radius:var(--r-card);padding:8px;box-shadow:var(--sh-2)}
.compare__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 10px}
.compare__head b{font-size:15px;font-weight:600}
.compare__row{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:var(--r-tile);transition:background .25s var(--ease)}
.compare__row:hover{background:var(--tile)}
.compare__row:nth-child(2){background:var(--cyan-3)}
.compare__row .n{width:20px;font-size:13px;font-weight:700;color:var(--sage-11);font-variant-numeric:tabular-nums}
.compare__row:nth-child(2) .n{color:var(--cyan-11)}
.compare__row .name{flex:1 1 0;min-width:0;font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compare__row .name small{display:block;font-size:12px;font-weight:400;color:var(--sage-11);font-variant-numeric:tabular-nums}
.compare__bar{width:120px;height:6px;border-radius:var(--r-pill);background:var(--sage-4);overflow:hidden;flex:none}
.compare__row:nth-child(2) .compare__bar{background:rgba(0,162,199,.18)}
.compare__bar i{display:block;height:100%;border-radius:var(--r-pill);background:var(--cyan-9)}
.compare__mg{width:66px;text-align:right;font-size:15px;font-weight:700;color:var(--cyan-11);font-variant-numeric:tabular-nums;flex:none}
.compare__foot{padding:12px 16px 8px;font-size:12px;color:var(--sage-11)}

/* бележката излиза изпод картата и застъпва левия ѝ ръб — партида и статус */
.hero__note{
  position:relative;z-index:1;margin:-14px 0 0 -22px;
  display:inline-flex;align-items:center;gap:12px;padding:8px 20px 8px 8px;
  background:var(--surface);border-radius:var(--r-pill);box-shadow:var(--sh-3);
}
.hero__note svg{width:38px;height:38px;padding:9px;border-radius:50%;background:var(--cyan-3);fill:none;stroke:var(--cyan-11);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hero__note b{display:block;font-size:13px;font-weight:600;white-space:nowrap}
.hero__note span{font-size:12px;color:var(--sage-11);white-space:nowrap}

/* ── лента доверие ────────────────────────────────────────────────────── */
.trust{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;
  background:var(--surface);border-radius:var(--r-card);padding:8px;box-shadow:var(--sh-1);
  margin-top:40px;
}
.trust__i{padding:14px 16px;display:flex;gap:14px;align-items:center;border-radius:var(--r-inner)}
.trust__i svg{width:42px;height:42px;padding:10px;border-radius:50%;background:var(--cyan-3);flex:none;fill:none;stroke:var(--cyan-11);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.trust__i b{display:block;font-size:15px;font-weight:600}
.trust__i span{font-size:13px;color:var(--sage-11)}

/* ── категории ────────────────────────────────────────────────────────── */
.cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cat{
  background:var(--surface);border-radius:var(--r-card);box-shadow:var(--sh-1);
  padding:22px 22px 18px;display:flex;flex-direction:column;gap:8px;min-height:148px;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
a.cat:hover{transform:translateY(-3px);box-shadow:var(--sh-2)}
.cat b{font-size:17px;font-weight:600}
.cat span{font-size:13px;color:var(--sage-11)}
.cat i{
  margin-top:auto;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  font-style:normal;font-size:13px;color:var(--cyan-11);font-weight:600;font-variant-numeric:tabular-nums;
}
a.cat i::after{
  content:"";width:30px;height:30px;flex:none;border-radius:50%;background:var(--ctrl);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C3A46' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size:14px;background-position:center;background-repeat:no-repeat;
  transition:background-color .3s var(--ease),transform .3s var(--ease);
}
a.cat:hover i::after{background-color:var(--cyan-3);transform:translateX(3px)}

/* ── карти продукт: бяла карта с поле, плитката вътре е концентрична ──── */
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.card{
  background:var(--surface);border-radius:var(--r-card);padding:8px;box-shadow:var(--sh-1);
  display:flex;flex-direction:column;
  transition:transform .45s var(--ease),box-shadow .45s var(--ease);
}
.card:hover{transform:translateY(-4px);box-shadow:var(--sh-2)}
.card__media{
  aspect-ratio:4/3;background:var(--tile);border-radius:calc(var(--r-card) - 8px);
  display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
}
.card__media > svg{width:116px;height:116px;transition:transform .6s var(--ease)}
.card:hover .card__media > svg{transform:translateY(-3px) scale(1.05)}
.card__flag{position:absolute;top:10px;left:10px}
.card__body{padding:14px 10px 6px;display:flex;flex-direction:column;gap:7px;flex:1}
.card__brand{font-size:12px;color:var(--sage-11);letter-spacing:.02em}
.card__name{font-size:16px;font-weight:600;line-height:1.3}
.card__meta{font-size:13px;color:var(--sage-11);font-variant-numeric:tabular-nums}
.card__foot{margin-top:auto;padding-top:12px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.card__price b{font-size:20px;font-weight:700;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.card__price span{display:block;font-size:12px;color:var(--cyan-11);font-weight:600;font-variant-numeric:tabular-nums}
.card__add{
  height:36px;padding:0 16px;border-radius:var(--r-pill);background:var(--ctrl);
  display:inline-flex;align-items:center;font-size:14px;font-weight:600;
  transition:background .3s var(--ease),color .3s var(--ease);
}
.card:hover .card__add{background:var(--cyan-12);color:#fff}

/* ── индекс: списък в карта, редовете се делят с фон, не с черти ──────── */
.index{background:var(--surface);border-radius:var(--r-card);padding:8px;box-shadow:var(--sh-1)}
.index__row{
  display:grid;grid-template-columns:minmax(0,1fr) 150px 110px 120px 96px;
  align-items:center;gap:16px;height:56px;padding:0 16px;border-radius:var(--r-tile);
  transition:background .2s var(--ease);
}
.index__row:not(.index__head):hover{background:var(--tile)}
.index__head{height:40px;font-size:12px;font-weight:600;color:var(--sage-11)}
.index__name{font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.index__name small{display:block;font-size:12px;font-weight:400;color:var(--sage-11)}
.index__sub{font-size:13px;color:var(--sage-11)}
.index__num{font-size:14px;text-align:right;font-variant-numeric:tabular-nums}
.index__num--strong{font-weight:600;color:var(--cyan-11)}
.index__end{justify-self:end}

/* ── каталог ──────────────────────────────────────────────────────────── */
.catalog{display:grid;grid-template-columns:272px minmax(0,1fr);gap:32px;align-items:start;padding-block:8px 80px}
.crumbs{font-size:13px;color:var(--sage-11);padding:22px 0 16px}
.crumbs a:hover{color:var(--cyan-11)}
.pagehead{padding-bottom:28px}
.pagehead h1{font-size:38px;font-weight:700;letter-spacing:-.03em}
.pagehead p{color:var(--sage-11);margin-top:8px;max-width:70ch}

.filters{
  position:sticky;top:calc(var(--chrome) + var(--float) + 20px);
  background:var(--surface);border-radius:var(--r-card);padding:18px 12px 12px;box-shadow:var(--sh-1);
  display:flex;flex-direction:column;gap:20px;min-width:0;
}
.filters__g{display:flex;flex-direction:column}
.filters__g .eyebrow{margin:0 0 6px;padding:0 10px}
.check{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:var(--r-xs);font-size:14px;cursor:pointer;transition:background .2s var(--ease)}
.check:hover{background:var(--tile)}
.check input{width:17px;height:17px;accent-color:var(--cyan-11);flex:none}
.check span:nth-child(2){flex:1}
.check span:last-child{font-size:13px;color:var(--sage-11);font-variant-numeric:tabular-nums}
.filters .btn--ghost{background:var(--ctrl);box-shadow:none}
.filters .btn--ghost:hover{background:var(--sage-4)}

.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 0 18px;flex-wrap:wrap}
.toolbar__count{font-size:14px;color:var(--sage-11)}
.toolbar__count b{color:var(--sage-12);font-weight:600}
.control{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
select.input{
  height:40px;padding:0 38px 0 16px;border-radius:var(--r-pill);appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6662' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:14px;
}
.viewtog{display:flex;gap:2px;background:var(--ctrl);border-radius:var(--r-pill);padding:3px}
.viewtog button{height:34px;padding:0 14px;border-radius:var(--r-pill);font-size:14px;color:var(--sage-11);transition:background .25s var(--ease),color .25s var(--ease),box-shadow .25s var(--ease)}
.viewtog button.is-active{background:var(--surface);color:var(--sage-12);font-weight:600;box-shadow:var(--sh-1)}

/* ── продукт ──────────────────────────────────────────────────────────── */
.product{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:start;padding-block:8px 72px}
/* галерията е плитка в бяла тава: външен радиус 24, вътрешен 24 − 8 */
.gallery__main{
  aspect-ratio:1/1;background:var(--tile);background-clip:padding-box;
  border:8px solid var(--surface);border-radius:var(--r-card);box-shadow:var(--sh-2);
  display:flex;align-items:center;justify-content:center;position:relative;
}
.gallery__main > svg{width:52%;height:52%}
.gallery__thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
.gallery__thumbs button{
  aspect-ratio:1/1;background:var(--ctrl);border-radius:var(--r-inner);
  display:flex;align-items:center;justify-content:center;
  transition:background .25s var(--ease),box-shadow .25s var(--ease),transform .25s var(--ease);
}
.gallery__thumbs button:hover{background:var(--sage-4)}
.gallery__thumbs button:active{transform:scale(.97)}
.gallery__thumbs button.is-active{background:var(--surface);box-shadow:inset 0 0 0 2px var(--cyan-9),var(--sh-1)}
.gallery__thumbs button > svg{width:44%;height:44%}

.pdp__brand{font-size:14px;font-weight:500;color:var(--sage-11);margin-top:6px}
.pdp h1{font-size:36px;font-weight:700;letter-spacing:-.03em;margin-top:6px}
.pdp__sub{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:14px;color:var(--sage-11)}
.pdp__lead{margin-top:18px;color:var(--sage-11);max-width:60ch}
.pdp__block{margin-top:28px}
.pdp__label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.pdp__label b{font-size:14px;font-weight:600}
.pdp__label span{font-size:13px;color:var(--sage-11);font-variant-numeric:tabular-nums}

.opts{display:flex;gap:8px;flex-wrap:wrap}
.opt{
  height:44px;padding:0 18px;border-radius:var(--r-pill);
  background:var(--surface);box-shadow:var(--sh-1);
  font-size:15px;font-weight:500;font-variant-numeric:tabular-nums;
  transition:background .3s var(--ease),color .3s var(--ease),box-shadow .3s var(--ease),transform .3s var(--ease);
}
.opt:hover{box-shadow:var(--sh-2);transform:translateY(-1px)}
.opt:active{transform:scale(.97)}
.opt.is-active{background:var(--cyan-12);color:#fff;box-shadow:0 10px 24px -12px rgba(12,58,70,.55)}

.plans{display:flex;flex-direction:column;gap:8px}
.plan{
  display:flex;align-items:center;gap:14px;padding:14px 16px;
  background:var(--surface);border-radius:var(--r-inner);box-shadow:var(--sh-1);text-align:left;
  transition:box-shadow .3s var(--ease),background .3s var(--ease);
}
.plan:hover{box-shadow:var(--sh-2)}
.plan.is-active{background:var(--cyan-3);box-shadow:inset 0 0 0 1.5px var(--cyan-11)}
.plan__dot{width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--sage-6);flex:none;position:relative;background:var(--surface);transition:box-shadow .2s var(--ease)}
.plan.is-active .plan__dot{box-shadow:inset 0 0 0 1.5px var(--cyan-11)}
.plan.is-active .plan__dot::after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--cyan-11)}
.plan__body{flex:1;min-width:0}
.plan__body b{display:block;font-size:15px;font-weight:600}
.plan__body span{font-size:13px;color:var(--sage-11)}
.plan__price{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;flex:none}

/* кутията за покупка е карта: цена, брояч и бутон в едно място */
.buybox{margin-top:28px;background:var(--surface);border-radius:var(--r-card);padding:22px;box-shadow:var(--sh-2)}
.price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.price b{font-size:34px;font-weight:700;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.price span{font-size:13px;color:var(--sage-11);font-variant-numeric:tabular-nums}
.buyrow{display:flex;gap:10px;margin-top:18px}
.buyrow .btn{flex:1;min-width:0}
.qty{display:flex;align-items:center;background:var(--ctrl);border-radius:var(--r-pill);height:54px;padding:4px;flex:none}
.qty button{width:46px;height:100%;border-radius:50%;font-size:19px;color:var(--sage-11);transition:background .2s var(--ease),color .2s var(--ease),transform .2s var(--ease)}
.qty button:hover{color:var(--sage-12);background:var(--surface);box-shadow:var(--sh-1)}
.qty button:active{transform:scale(.92)}
.qty input{width:40px;height:100%;text-align:center;border:0;background:none;outline:0;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.reassure{display:flex;flex-direction:column;gap:8px;margin-top:20px;font-size:13px;color:var(--sage-11)}
.reassure div{display:flex;align-items:center;gap:10px}
.reassure svg{width:22px;height:22px;padding:5px;border-radius:50%;background:var(--cyan-3);flex:none;fill:none;stroke:var(--cyan-11);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ── лабораторен панел ────────────────────────────────────────────────── */
.lab{padding:72px 0 0}
.lab__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.lab h2{font-size:30px;font-weight:600;letter-spacing:-.025em}
.lab p{color:var(--sage-11);margin-top:12px;max-width:52ch}
.lab__cta{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}
.panel{background:var(--surface);border-radius:var(--r-card);padding:8px;box-shadow:var(--sh-2)}
.panel__head{
  display:grid;grid-template-columns:minmax(0,1fr) 120px 90px;gap:16px;align-items:center;
  height:40px;padding:0 16px;font-size:12px;font-weight:600;color:var(--sage-11);
}
.panel__row{
  display:grid;grid-template-columns:minmax(0,1fr) 120px 90px;gap:16px;align-items:center;
  min-height:48px;padding:8px 16px;border-radius:var(--r-tile);font-size:15px;
}
.panel__row:nth-child(odd){background:var(--tile)}
.panel__row span:nth-child(2),.panel__row span:nth-child(3){text-align:right;font-variant-numeric:tabular-nums}
.panel__row span:first-child{font-weight:500}
.panel__pass{
  justify-self:end;display:inline-flex;align-items:center;height:26px;padding:0 10px;
  border-radius:var(--r-pill);background:var(--cyan-3);color:var(--cyan-11);font-size:13px;font-weight:600;
}
.panel__note{padding:12px 16px 8px;font-size:12px;color:var(--sage-11)}

/* ── количка: всеки ред е карта ───────────────────────────────────────── */
.cart{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:32px;align-items:start;padding-block:8px 80px}
.line{
  display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:18px;align-items:center;
  padding:12px;margin-bottom:12px;background:var(--surface);border-radius:var(--r-card);box-shadow:var(--sh-1);
  transition:box-shadow .3s var(--ease);
}
.line:hover{box-shadow:var(--sh-2)}
.line__media{
  width:96px;height:96px;background:var(--tile);border-radius:calc(var(--r-card) - 12px);
  display:flex;align-items:center;justify-content:center;
}
.line__media > svg{width:52%;height:52%}
.line__body b{display:block;font-size:16px;font-weight:600}
.line__body > span{display:block;font-size:13px;color:var(--sage-11);font-variant-numeric:tabular-nums;margin-top:2px}
.line__body .rm{display:inline-block;margin-top:8px;font-size:13px;font-weight:500;color:var(--sage-11);transition:color .2s var(--ease)}
.line__body .rm:hover{color:var(--amber-11)}
.line__right{display:flex;align-items:center;gap:20px;padding-right:8px}
.line__right .qty{height:42px;padding:3px}
.line__right .qty button{width:36px;font-size:17px}
.line__right .qty input{width:34px;font-size:15px}
.line__sum{width:88px;text-align:right;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
.promo{display:flex;gap:10px;flex-wrap:wrap;padding-top:14px}
.promo .input{flex:1;min-width:200px}

.summary{
  background:var(--surface);border-radius:var(--r-card);padding:8px;box-shadow:var(--sh-2);
  position:sticky;top:calc(var(--chrome) + var(--float) + 20px);
}
.summary__head{padding:16px 16px 6px;font-size:16px;font-weight:600}
.summary__body{padding:8px 16px 16px}
.summary__row{display:flex;justify-content:space-between;gap:16px;padding:7px 0;font-size:14px;color:var(--sage-11)}
.summary__row b{color:var(--sage-12);font-weight:600;font-variant-numeric:tabular-nums}
.summary__total{
  display:flex;justify-content:space-between;align-items:baseline;gap:16px;
  margin-top:12px;padding:14px 16px;background:var(--tile);border-radius:var(--r-tile);
}
.summary__total span{font-size:15px;font-weight:600}
.summary__total b{font-size:26px;font-weight:700;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.summary .btn{margin-top:14px}
.freebar{margin:12px 0 4px}
.freebar__t{font-size:13px;color:var(--sage-11);margin-bottom:7px}
.freebar__t b{color:var(--sage-12);font-weight:600;font-variant-numeric:tabular-nums}
.freebar__track{height:6px;border-radius:var(--r-pill);background:var(--sage-4);overflow:hidden}
.freebar__track i{display:block;height:100%;border-radius:var(--r-pill);background:var(--cyan-9);transition:width .5s var(--ease)}

.empty{padding:72px 24px;text-align:center;background:var(--surface);border-radius:var(--r-card);box-shadow:var(--sh-1)}
.empty h2{font-size:22px;font-weight:600}
.empty p{color:var(--sage-11);margin:10px 0 22px}

/* ── чекаут ───────────────────────────────────────────────────────────── */
.checkout{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:48px;align-items:start;padding-block:8px 80px}
.fset{margin-bottom:36px}
.fset__head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.fset__n{
  width:28px;height:28px;border-radius:50%;background:var(--cyan-12);color:#fff;
  font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex:none;
}
.fset__head h2{font-size:19px;font-weight:600}
.fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field--wide{grid-column:1 / -1}
.field label{font-size:13px;font-weight:500;color:var(--sage-11);padding-left:8px}
.input{
  height:46px;padding:0 16px;border:0;border-radius:var(--r-tile);
  background:var(--surface);box-shadow:var(--sh-1);font-size:15px;outline:0;
  transition:box-shadow .25s var(--ease);
}
.input::placeholder{color:var(--sage-11)}
.input:focus{box-shadow:var(--sh-1),0 0 0 4px var(--cyan-4)}
textarea.input{height:auto;padding:12px 16px;resize:vertical;min-height:88px;line-height:1.5}
.radios{display:flex;flex-direction:column;gap:8px}
.radio{
  display:flex;align-items:center;gap:13px;padding:14px 16px;cursor:pointer;
  background:var(--surface);border-radius:var(--r-inner);box-shadow:var(--sh-1);
  transition:box-shadow .3s var(--ease),background .3s var(--ease);
}
.radio:hover{box-shadow:var(--sh-2)}
.radio:has(input:checked){background:var(--cyan-3);box-shadow:inset 0 0 0 1.5px var(--cyan-11)}
.radio input{width:18px;height:18px;accent-color:var(--cyan-11);flex:none}
.radio__body{flex:1;min-width:0}
.radio__body b{display:block;font-size:15px;font-weight:600}
.radio__body span{font-size:13px;color:var(--sage-11)}
.radio__price{font-weight:700;font-variant-numeric:tabular-nums;flex:none}

.minicart{padding-bottom:10px;margin-bottom:6px}
.minicart__l{display:flex;gap:12px;align-items:center;padding:6px 0}
.minicart__l .th{
  width:48px;height:48px;flex:none;background:var(--tile);
  border-radius:var(--r-xs);display:flex;align-items:center;justify-content:center;position:relative;
}
.minicart__l .th > svg{width:56%;height:56%}
.minicart__l .th i{
  position:absolute;top:-7px;right:-7px;min-width:19px;height:19px;padding:0 5px;
  border-radius:var(--r-pill);background:var(--cyan-12);color:#fff;
  font-style:normal;font-size:11px;font-weight:700;line-height:19px;text-align:center;
  box-shadow:0 0 0 2px var(--surface);
}
.minicart__l .nm{flex:1;min-width:0;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.minicart__l .nm small{display:block;font-size:12px;font-weight:400;color:var(--sage-11);font-variant-numeric:tabular-nums}
.minicart__l .pr{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}

/* ── рецензии, бюлетин ────────────────────────────────────────────────── */
.reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.review{background:var(--surface);border-radius:var(--r-card);padding:24px;box-shadow:var(--sh-1)}
.stars{display:flex;gap:2px;margin-bottom:14px}
.stars svg{width:15px;height:15px;fill:var(--amber-9)}
.review p{font-size:15px;line-height:1.55}
.review footer{margin-top:14px;font-size:13px;color:var(--sage-11)}

/* бюлетинът е тъмна карта в колоната, не лента през целия екран */
.news{max-width:var(--wrap);margin:72px auto 0;padding:0 var(--gut)}
.news__in{
  max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 460px;gap:56px;align-items:center;
  padding:52px 56px;color:#fff;border-radius:var(--r-sheet);
  background:
    radial-gradient(640px 320px at 92% -10%, rgba(0,162,199,.38), transparent 62%),
    radial-gradient(420px 260px at 0% 110%, rgba(255,197,61,.14), transparent 60%),
    var(--cyan-12);
  box-shadow:var(--sh-3);
}
.news h2{font-size:28px;font-weight:600;letter-spacing:-.025em}
.news p{color:rgba(255,255,255,.72);margin-top:10px;max-width:52ch}
.news form{display:flex;gap:10px;flex-wrap:wrap}
.news .input{flex:1;min-width:0;background:rgba(255,255,255,.10);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);border-radius:var(--r-pill)}
.news .input::placeholder{color:rgba(255,255,255,.55)}
.news .input:focus{background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 0 0 4px rgba(0,162,199,.35)}
.news small{display:block;margin-top:10px;font-size:12px;color:rgba(255,255,255,.5)}

/* ── подвал: лист със заоблен горен ръб ───────────────────────────────── */
.footer{background:var(--surface);border-radius:var(--r-sheet) var(--r-sheet) 0 0;margin-top:56px;padding:56px 0 0}
.footer__cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:44px;padding-bottom:44px}
.footer__brand .brand{color:var(--sage-12)}
.footer__brand .brand__word{font-size:20px}
.footer__legal .langset{flex:none}
.footer__brand p{margin-top:12px;font-size:14px;color:var(--sage-11);max-width:34ch}
.footer h3{font-size:13px;font-weight:600;margin-bottom:12px}
.footer ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.footer li a{font-size:14px;color:var(--sage-11);transition:color .2s var(--ease)}
.footer li a:hover{color:var(--cyan-11)}
.drawer__head .brand__word{font-size:20px}
.drawer__head .brand__mark{width:24px;height:24px}
.footer__legal{
  margin:0 0 24px;padding:18px 22px;background:var(--tile);border-radius:var(--r-inner);
  display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;
  font-size:12px;color:var(--sage-11);
}
.footer__legal p{max-width:80ch}

/* ── тост ─────────────────────────────────────────────────────────────── */
.toast{
  position:fixed;left:50%;bottom:28px;transform:translate(-50%,140%);
  z-index:120;background:var(--cyan-12);color:#fff;
  padding:13px 22px;border-radius:var(--r-pill);font-size:14px;font-weight:500;
  box-shadow:var(--sh-3);
  visibility:hidden;transition:transform .45s var(--ease),visibility .45s;
}
.toast.is-open{transform:translate(-50%,0);visibility:visible}

/* ── адаптив ──────────────────────────────────────────────────────────── */
@media (max-width:1240px){
  .mega__cols{grid-template-columns:1fr 1fr 1fr;}
  .mega__cols > :last-child{grid-column:1 / -1}
  .grid,.cats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero__in{gap:44px}
  .hero h1{font-size:44px}
  .hero__note{margin-left:-8px}
}

/* Пълният ред иска 1366 px при това меню — знак 136 + меню 701 + поле 260 +
   икони 84 + четири процепа по 24 + полетата на .wrap. Измерено в браузър:
   побира се от 1242 px нагоре, под това иконите излизат извън екрана, а между
   1081 и 1241 това беше същинско преливане, не теснота. Затова менюто минава
   в чекмеджето под 1280, а не чак под 820.
   Защо 1280, а не измереното 1241: мярката е снета с резервния шрифт, защото
   Google Fonts не се зарежда в проверочната среда. С истинския IBM Plex Sans
   ширината на менюто ще е друга, затова прагът носи ~40 px запас над мярката.
   Ако менюто се смени, границата се премерва наново. */
/* Менюто минава в чекмеджето под 1280 px: пълният ред иска 1366 px при това
   меню и се побира от 1242 нагоре, а прагът носи запас, защото мярката е снета
   с резервен шрифт. Разделителят изчезва заедно с менюто — той дели знака от
   него, а не от търсенето. */
@media (max-width:1280px){
  .nav,.chrome .divider{display:none}
  .burger{display:inline-flex}
}

@media (max-width:1080px){
  :root{--gut:24px}
  .search kbd{display:none}
  .catalog{grid-template-columns:minmax(0,1fr);gap:24px}
  .filters{position:static}
  .hero__in,.product,.lab__in,.news__in{grid-template-columns:minmax(0,1fr);gap:36px}
  .hero__note{margin-left:0}
  .cart,.checkout{grid-template-columns:minmax(0,1fr);gap:32px}
  .summary{position:static}
  .trust{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .reviews{grid-template-columns:minmax(0,1fr)}
  .footer__cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .news__in{padding:40px 36px}
}

@media (max-width:820px){
  :root{--gut:16px;--chrome:56px}
  body{padding-bottom:104px}
  /* На телефон езикът живее в дъното на чекмеджето, не в лентата. */
  .topbar nav,.topbar__meta .sep,.topbar__meta .lang{display:none}
  .topbar__in{justify-content:center;min-height:34px;padding:2px 14px 18px;border-radius:var(--r-card) var(--r-card) 0 0}
  /* Островът на телефон не лепне: навигацията е в таб-бара долу. */
  .chrome{position:static;padding:0 var(--gut)}
  .chrome::before{display:none}
  .chrome__in{
    border-radius:var(--r-card);gap:4px;flex-wrap:wrap;height:auto;padding:8px 8px 8px;
    box-shadow:var(--sh-2);
  }
  .brand{padding-left:6px}
  .brand__word{font-size:20px}
  .brand__mark{width:24px;height:24px}
  /* На телефон полето заема цял ред — там няма процеп, в който да расте,
     и целта не бива да пада под 44 px. */
  .search{order:9;flex:1 1 100%;margin-left:0;max-width:none;height:46px;min-width:0;margin-top:4px}
  .icons{gap:0;margin-left:auto}
  .icon-btn{width:44px;height:44px}
  .mega{display:none !important}
  .grid,.cats{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  .card{padding:6px}
  .card__media{border-radius:calc(var(--r-card) - 6px)}
  .card__media > svg{width:88px;height:88px}
  .card__body{padding:12px 8px 6px}
  .hero{padding-block:32px 24px}
  .hero h1{font-size:34px}
  .hero p{font-size:16px}
  .hero__facts{gap:24px;margin-top:28px}
  .section{padding-block:48px 0}
  .section--tight{padding-block:40px 0}
  .section__head{flex-direction:column;align-items:flex-start;gap:12px}
  .section__head h2{font-size:24px}
  .lab{padding-top:48px}
  .lab h2{font-size:24px}
  .pdp h1,.pagehead h1{font-size:28px}
  .price b{font-size:28px}
  .buybox{padding:16px}
  .fields{grid-template-columns:minmax(0,1fr)}
  /* превключвателят и подредбата не се събират на един ред с 358 px: заемат
     свой ред, а подредбата поема остатъка вместо да излиза извън екрана */
  .toolbar{gap:12px}
  .control{width:100%}
  .control select.input{flex:1;min-width:0}
  .index__row{grid-template-columns:minmax(0,1fr) 92px;height:auto;padding:12px 14px;gap:8px}
  .index__row .index__sub,.index__row .index__end{display:none}
  .index__head{display:none}
  .index__num{text-align:right}
  .line{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:10px}
  .line__media{width:72px;height:72px;border-radius:var(--r-tile)}
  .line__right{grid-column:1 / -1;justify-content:space-between;padding:0 4px 4px}
  .trust{margin-top:28px;gap:0}
  .trust__i{padding:12px 10px}
  .footer__cols{grid-template-columns:minmax(0,1fr);gap:28px}
  .footer{margin-top:40px;padding-top:40px}
  .footer__legal{flex-direction:column;align-items:flex-start;gap:14px}
  .compare__bar{display:none}
  .news{margin-top:48px}
  .news__in{padding:32px 24px;border-radius:var(--r-card)}
  .news h2{font-size:24px}
  .toast{bottom:96px}

  .tabbar{
    position:fixed;z-index:70;left:50%;bottom:14px;transform:translateX(-50%);
    width:min(100% - 24px, 440px);height:68px;
    display:flex;align-items:stretch;gap:2px;padding:6px;
    background:var(--cyan-12);border-radius:var(--r-pill);box-shadow:var(--sh-3);
  }
  .tabbar a{
    position:relative;flex:1;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    border-radius:var(--r-pill);color:rgba(255,255,255,.72);font-size:11px;font-weight:500;
    transition:background .3s var(--ease),color .3s var(--ease),transform .3s var(--ease);
  }
  .tabbar a:active{transform:scale(.95)}
  .tabbar a svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .tabbar a[aria-current="page"]{background:var(--surface);color:var(--cyan-12);font-weight:600}
  .tabbar .badge{top:6px;right:calc(50% - 24px)}
  .tabbar a[aria-current="page"] .badge{box-shadow:0 0 0 2px var(--surface)}
}

@media (max-width:560px){
  .grid,.cats{grid-template-columns:minmax(0,1fr)}
  .trust{grid-template-columns:minmax(0,1fr)}
  .hero__note{margin-left:0}
  /* на телефон двата призива са пълноширочни един под друг, а не с рязана дължина */
  .hero__cta{flex-direction:column;align-items:stretch}
  .hero__cta .btn{width:100%}
  /* трите числа държат колонките си, вместо да се пренасят по едно */
  .hero__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .buyrow{flex-wrap:wrap}
  .buyrow .qty{width:100%;justify-content:space-between}
}
