/* =====================================================================
   STILARA — catalog.css (Група B)
   Кинематографично заглавие, лента с инструменти, филтри, „Покажи още“, празно състояние.
   Файлът се зарежда и на началната/продуктовата страница → всичко е с префикс на компонента.
   Движение: само transform / opacity / clip-path; намалено движение — най-долу.
   ===================================================================== */

/* ---------- 1. Заглавие на категорията ---------- */
.st-chero{ position:relative; isolation:isolate; overflow:hidden; padding:clamp(14px,2.4vw,32px) 0 clamp(22px,3vw,40px); }
.st-chero__in{ position:relative; }

.st-chero__glow{
  position:absolute; z-index:-2; width:80vmax; height:80vmax; right:-40vmax; top:-48vmax; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgba(255,106,61,.22) 0%, rgba(255,106,61,.07) 36%, transparent 62%);
  animation:st-c-glow 16s var(--st-ease-io) infinite alternate;
}
@keyframes st-c-glow{ to{ transform:translate(-14vmax,10vmax) scale(1.15); } }

/* гигантската контурна лента зад текста */
.st-chero__mq{ position:absolute; z-index:-1; left:0; right:0; bottom:clamp(58px,8vw,118px); pointer-events:none; opacity:0; animation:st-c-fade 1.6s var(--st-ease) .5s forwards; }
.st-chero__marquee{ -webkit-mask-image:none; mask-image:none; }
.st-chero__marquee span{
  font-family:var(--st-f-display); font-weight:800; font-size:clamp(5rem,26vw,21rem); line-height:.8; letter-spacing:-.05em;
  text-transform:uppercase; white-space:nowrap; color:transparent; -webkit-text-stroke:1px rgba(241,236,228,.1);
}
.st-chero__marquee i{ font-style:normal; font-size:clamp(1.4rem,4vw,3.6rem); color:var(--st-accent); opacity:.45; margin-inline:clamp(18px,3vw,52px); }
@keyframes st-c-fade{ to{ opacity:1; } }

/* трохи */
.st-crumbs{ margin-bottom:clamp(18px,2vw,26px); font-size:var(--st-fs-xs); color:var(--st-bone-3); opacity:0; animation:st-c-rise .8s var(--st-ease) .05s forwards; }
.st-crumbs__list{ display:flex; flex-wrap:wrap; align-items:center; row-gap:4px; margin:0; padding:0; list-style:none; }
.st-crumbs__item{ display:inline-flex; align-items:center; }
.st-crumbs__item + .st-crumbs__item::before{ content:"/"; margin-inline:10px; opacity:.5; }
.st-crumbs__link{ color:var(--st-bone-2); background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat; padding-bottom:1px; transition:background-size var(--st-d) var(--st-ease), color var(--st-d-fast); }
.st-crumbs__link:hover{ color:var(--st-bone); background-size:100% 1px; }
.st-crumbs__current{ color:var(--st-bone); }

/* кикер с един курсивен акцент */
.st-chero__kicker{ margin:0 0 clamp(6px,1vw,14px); font-size:clamp(.95rem,.4vw + .85rem,1.15rem); font-weight:500; color:var(--st-bone-2); opacity:0; animation:st-c-rise .9s var(--st-ease) .15s forwards; }
.st-chero__kicker em{ font-family:var(--st-f-serif); font-style:italic; font-weight:600; font-size:1.32em; line-height:1; color:var(--st-accent); padding-inline:.04em; }

/* огромното заглавие */
.st-chero__title{
  margin:0; font-family:var(--st-f-display); font-weight:800; font-size:clamp(2.5rem,12.4vw,9.25rem);
  line-height:.9; letter-spacing:-.05em; text-transform:uppercase; overflow-wrap:anywhere;
}
.st-chero__title[tabindex="-1"]:focus{ outline:none; } /* „Към началото“ мести фокуса тук — заглавието не е контрола */
.st-chero__line{ display:block; overflow:hidden; padding-bottom:.07em; margin-bottom:-.07em; }
.st-chero__line > span{ display:inline-block; max-width:100%; transform:translateY(108%) rotate(3deg); transform-origin:0 100%; animation:st-c-line 1.1s var(--st-ease) .2s forwards; }
@keyframes st-c-line{ to{ transform:none; } }
.st-chero--search .st-chero__title{ font-size:clamp(2.1rem,9.4vw,7.6rem); }
.st-chero--long .st-chero__title{ font-size:clamp(2.3rem,10.5vw,7.25rem); } /* „Всички продукти“ — два реда, без да бута мрежата надолу */
.st-chero__pre{ display:block; margin-bottom:.45em; font-family:var(--st-f-body); font-size:clamp(.95rem,.6vw + .8rem,1.3rem); font-weight:500; letter-spacing:.01em; line-height:1.2; text-transform:none; color:var(--st-bone-3); opacity:0; animation:st-c-rise .8s var(--st-ease) .12s forwards; }

/* ред: брояч/въведение + „колода“ */
.st-chero__row{ display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-top:clamp(16px,2.4vw,32px); }
.st-chero__copy{ min-width:0; max-width:62ch; opacity:0; animation:st-c-rise .9s var(--st-ease) .45s forwards; }
.st-chero__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; }
.st-chero__count,.st-chero__from,.st-chero__perk{
  display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:var(--st-radius-pill);
  font-size:var(--st-fs-xs); font-weight:600; letter-spacing:.02em; color:var(--st-bone-2); box-shadow:inset 0 0 0 1px var(--st-line); white-space:nowrap;
}
.st-chero__count{ background:var(--st-bone); color:var(--st-ink); box-shadow:none; }
.st-chero__count b{ font-family:var(--st-f-display); font-weight:700; font-variant-numeric:tabular-nums; }
.st-chero__from .amount{ color:var(--st-bone); }
.st-chero__perk .st-icon{ color:var(--st-accent); }
.st-chero__perk--wide{ display:none; }
@media (min-width:600px){ .st-chero__perk--wide{ display:inline-flex; } }
.st-chero__intro p{ margin:0; font-size:var(--st-fs-lead); line-height:1.55; color:var(--st-bone-2); }
html.js .st-chero__intro:not(.is-open) p{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media (min-width:768px){ html.js .st-chero__intro:not(.is-open) p{ display:block; -webkit-line-clamp:unset; overflow:visible; } }
.st-chero__more{ margin-top:6px; min-height:32px; font-size:var(--st-fs-sm); font-weight:600; color:var(--st-accent); text-decoration:underline; text-underline-offset:4px; }

/* „колода“ от три снимки — само десктоп */
.st-chero__stack{ display:none; }
@media (min-width:1024px){
  .st-chero__stack{ display:block; position:relative; flex:none; width:clamp(250px,21vw,320px); height:clamp(180px,14vw,220px); margin-right:clamp(0px,2vw,32px); }
  .st-chero__fig{
    position:absolute; bottom:0; left:calc(var(--i) * 28%); width:44%; aspect-ratio:4/5; margin:0; border-radius:12px; overflow:hidden;
    background:var(--st-ink-3); box-shadow:0 26px 60px rgba(0,0,0,.55), 0 0 0 1px var(--st-line);
    transition:translate .7s var(--st-ease-spring), rotate .7s var(--st-ease-spring), scale .7s var(--st-ease-spring);
    opacity:0; animation:st-c-deal 1s var(--st-ease) forwards; animation-delay:calc(.45s + var(--i) * .1s);
  }
  .st-chero__fig img{ width:100%; height:100%; object-fit:cover; }
  .st-chero__fig:nth-child(1){ rotate:-9deg; translate:0 8px; z-index:1; }
  .st-chero__fig:nth-child(2){ rotate:-1deg; translate:0 -16px; z-index:3; }
  .st-chero__fig:nth-child(3){ rotate:8deg; translate:0 4px; z-index:2; }
  .st-chero__stack:hover .st-chero__fig:nth-child(1){ rotate:-15deg; translate:-26px 4px; }
  .st-chero__stack:hover .st-chero__fig:nth-child(2){ rotate:0deg; translate:0 -30px; scale:1.06; }
  .st-chero__stack:hover .st-chero__fig:nth-child(3){ rotate:14deg; translate:26px 0; }
}
@keyframes st-c-deal{ from{ opacity:0; transform:translateY(70px) scale(.9); } to{ opacity:1; transform:none; } }

/* чипове с категории */
.st-catnav{ position:relative; margin-top:clamp(20px,2.4vw,30px); }
.st-catnav__list{
  position:relative; display:flex; gap:8px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none;
  padding:4px var(--st-gutter); margin-inline:calc(var(--st-gutter) * -1);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 var(--st-gutter),#000 calc(100% - var(--st-gutter)),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 var(--st-gutter),#000 calc(100% - var(--st-gutter)),transparent 100%);
}
.st-catnav__list::-webkit-scrollbar{ display:none; }
.st-catnav__list li{ flex:none; opacity:0; animation:st-c-pop .6s var(--st-ease-spring) forwards; animation-delay:calc(.55s + var(--i) * 60ms); }
/* активното хапче не „изскача“ наново: иначе след прелитането (view transition) изчезва и се появява пак */
.st-catnav__list li.is-current{ opacity:1; animation:none; }
.st-catnav__chip{
  min-height:44px; padding:0 18px; gap:6px; background:rgba(13,12,11,.45);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  transition:background var(--st-d-fast), color var(--st-d-fast), box-shadow var(--st-d-fast), transform .45s var(--st-ease-spring);
}
.st-catnav__chip:hover{ transform:translateY(-2px); }
.st-catnav__chip:active{ transform:scale(.95); }
.st-catnav__chip sup{ top:-.45em; font-size:.68rem; font-weight:600; color:var(--st-bone-3); transition:color var(--st-d-fast); }
.st-catnav__chip:hover sup,.st-catnav__chip.is-active sup{ color:rgba(13,12,11,.55); }
/* активното хапче „прелита“ между категориите (междустранични view transitions) */
.st-catnav__chip.is-active{ view-transition-name:st-catpill; }
::view-transition-group(st-catpill){ animation-duration:.6s; animation-timing-function:cubic-bezier(.34,1.3,.64,1); }

@keyframes st-c-rise{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
@keyframes st-c-pop{ from{ opacity:0; transform:translateY(12px) scale(.9); } to{ opacity:1; transform:none; } }
@keyframes st-c-boing{ 0%{ transform:scale(.86); } 60%{ transform:scale(1.08); } 100%{ transform:none; } }

/* ---------- 2. Лента с инструменти (залепва под хедъра) ---------- */
.st-toolbar-sentinel{ height:1px; margin-bottom:-1px; }
.st-toolbar{ position:sticky; top:var(--st-header-h); z-index:calc(var(--z-header) - 1); transition:transform .45s var(--st-ease); }
.st-toolbar::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:0; transition:opacity .35s var(--st-ease);
  background:rgba(13,12,11,.84); -webkit-backdrop-filter:saturate(140%) blur(14px); backdrop-filter:saturate(140%) blur(14px); box-shadow:0 1px 0 var(--st-line);
}
.st-toolbar.is-stuck::before{ opacity:1; }
/* фокусът с Tab (и котвите) да не остава скрит под хедъра + залепналата лента (WCAG 2.4.11) */
html:has(.st-toolbar){ scroll-padding-top:calc(var(--st-header-h) + 88px); }
html:has(.st-toolbar.has-active){ scroll-padding-top:calc(var(--st-header-h) + 136px); }
@media (min-width:1024px){ html:has(.st-toolbar.has-active){ scroll-padding-top:calc(var(--st-header-h) + 92px); } }
/* хедърът се скрива при скрол надолу → лентата заема мястото му */
.st-header.is-hidden ~ .st-main .st-toolbar.is-stuck{ transform:translateY(calc(var(--st-header-h) * -1)); }

.st-toolbar__in{
  display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,auto); grid-template-areas:"filter count sort";
  align-items:center; gap:10px 12px; padding-block:12px; border-top:1px solid var(--st-line); transition:border-color .35s;
}
.st-toolbar.has-active .st-toolbar__in{ grid-template-areas:"filter count sort" "active active active"; }
.st-toolbar.is-stuck .st-toolbar__in{ border-top-color:transparent; }
@media (min-width:1024px){
  .st-toolbar__in,.st-toolbar.has-active .st-toolbar__in{ grid-template-columns:auto minmax(0,1fr) auto auto; grid-template-areas:"filter active count sort"; gap:16px; padding-block:14px; }
}

.st-toolbar__filter{
  grid-area:filter; position:relative; display:inline-flex; align-items:center; gap:10px; height:46px; padding:0 18px 0 10px;
  border-radius:var(--st-radius-pill); background:var(--st-bone); color:var(--st-ink); font-weight:600; font-size:.92rem;
  -webkit-tap-highlight-color:transparent; transition:transform .45s var(--st-ease-spring), background var(--st-d-fast), color var(--st-d-fast);
}
.st-toolbar__filter:hover{ background:var(--st-accent); color:var(--st-accent-ink); }
.st-toolbar__filter:active{ transform:scale(.94); }
.st-toolbar__ficon{ display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:rgba(13,12,11,.08); transition:transform .55s var(--st-ease-spring); }
.st-toolbar__filter:hover .st-toolbar__ficon{ transform:rotate(180deg); }
.st-toolbar__badge{
  display:grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:11px;
  background:var(--st-accent); color:var(--st-accent-ink); font-size:.72rem; font-weight:800; line-height:1;
  animation:st-c-pop .5s var(--st-ease-spring) .3s both; transition:background var(--st-d-fast), color var(--st-d-fast);
}
.st-toolbar__filter:hover .st-toolbar__badge{ background:var(--st-ink); color:var(--st-bone); }

/* width:0 + min-width:100% → редът с чипове не разширява колоните на мрежата (иначе хоризонтален скрол на 360 px) */
.st-toolbar__active{ grid-area:active; width:0; min-width:100%; }
.st-toolbar__count{ grid-area:count; justify-self:end; display:none; margin:0; font-size:var(--st-fs-sm); color:var(--st-bone-3); white-space:nowrap; }
.st-toolbar__count b{ color:var(--st-bone); font-weight:600; font-variant-numeric:tabular-nums; }
@media (min-width:420px){ .st-toolbar__count{ display:block; } }

/* подредба */
.st-sort{ grid-area:sort; justify-self:end; display:flex; align-items:center; gap:10px; min-width:0; max-width:100%; margin:0; }
/* на телефона етикетът е само за екранните четци (display:none би отнел името на падащото меню) */
.st-sort__label{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; font-size:var(--st-fs-sm); color:var(--st-bone-3); }
@media (min-width:768px){ .st-sort__label{ position:static; width:auto; height:auto; overflow:visible; clip:auto; } }
.st-sort__wrap{ position:relative; display:block; min-width:0; max-width:100%; }
.st .st-sort__select{
  -webkit-appearance:none; appearance:none; width:auto; max-width:min(100%,280px); min-height:46px; padding:0 38px 0 16px;
  border-radius:var(--st-radius-pill); background:transparent; border:1px solid var(--st-line-2); color:var(--st-bone);
  font-size:16px; font-weight:500; cursor:pointer; text-overflow:ellipsis; transition:border-color var(--st-d-fast), background var(--st-d-fast);
}
.st .st-sort__select:hover{ border-color:var(--st-bone-2); }
.st .st-sort__select:focus{ border-color:var(--st-accent); background:var(--st-ink-3); }
.st-sort__select option{ background:var(--st-ink-2); color:var(--st-bone); }
.st-sort__chev{ position:absolute; right:14px; top:50%; translate:0 -50%; pointer-events:none; color:var(--st-bone-2); }
.st-sort.is-busy .st-sort__chev{ animation:st-spin .7s linear infinite; }
.st-sort__go{ min-height:46px; padding:0 18px; }

/* активни филтри */
.st-active{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:2px; margin:-2px; }
.st-active::-webkit-scrollbar{ display:none; }
@media (min-width:1024px){ .st-active{ flex-wrap:wrap; overflow:visible; } }
.st-active li{ flex:none; animation:st-c-pop .5s var(--st-ease-spring) both; animation-delay:calc(var(--i) * 50ms); }
.st-active__chip{
  display:inline-flex; align-items:center; gap:8px; height:36px; padding:0 6px 0 14px; border-radius:var(--st-radius-pill);
  background:rgba(255,106,61,.12); box-shadow:inset 0 0 0 1px rgba(255,106,61,.4); font-size:var(--st-fs-sm); font-weight:500; white-space:nowrap;
  transition:background var(--st-d-fast), transform .45s var(--st-ease-spring), opacity .2s;
}
.st-active__chip:hover{ background:rgba(255,106,61,.22); }
.st-active__chip.is-leaving{ transform:scale(.6); opacity:0; }
.st-active__dot{ width:12px; height:12px; border-radius:50%; background:var(--c,#777); box-shadow:0 0 0 1px var(--st-line-2); }
.st-active__x{ display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:rgba(241,236,228,.12); transition:transform .45s var(--st-ease-spring), background var(--st-d-fast), color var(--st-d-fast); }
.st-active__chip:hover .st-active__x{ transform:rotate(90deg); background:var(--st-accent); color:var(--st-accent-ink); }
.st-active__clear{ display:inline-flex; align-items:center; height:36px; padding:0 10px; font-size:var(--st-fs-sm); font-weight:600; color:var(--st-bone-2); text-decoration:underline; text-underline-offset:4px; white-space:nowrap; transition:color var(--st-d-fast), opacity .2s; }
.st-active__clear:hover{ color:var(--st-accent); }
.st-active__clear.is-leaving{ opacity:0; }

/* ---------- 3. Резултати, „Покажи още“ ---------- */
.st-results{ padding-top:clamp(22px,3vw,40px); }
.st-prev{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px 18px; margin-bottom:clamp(28px,4vw,48px); }
.st-prev__icon{ rotate:180deg; }
.st-prev__note{ font-size:var(--st-fs-sm); color:var(--st-bone-3); }

.st-more{ display:flex; flex-direction:column; align-items:center; gap:20px; margin-top:clamp(48px,6vw,90px); text-align:center; }
.st-more__progress{ display:grid; justify-items:center; gap:10px; }
.st-more__text{ margin:0; font-size:var(--st-fs-sm); color:var(--st-bone-3); }
.st-more__text b{ color:var(--st-bone); font-weight:600; font-variant-numeric:tabular-nums; }
.st-more__bar{ display:block; width:min(260px,64vw); height:2px; border-radius:2px; background:var(--st-line); overflow:hidden; }
.st-more__bar span{ display:block; height:100%; background:var(--st-accent); transform-origin:0 50%; transform:scaleX(var(--p,0)); transition:transform 1s var(--st-ease); }
.st-more__btn{ min-width:min(100%,260px); }
.st-more__btn .st-icon--plus{ transition:transform .55s var(--st-ease-spring); }
.st-more__btn:hover .st-icon--plus{ transform:rotate(90deg); }
.st-more__n{ font-weight:500; opacity:.6; }
.st-more__end p{ margin:0 0 10px; color:var(--st-bone-2); }
.st-more__top{ display:inline-flex; align-items:center; gap:8px; min-height:40px; font-weight:600; color:var(--st-accent); }
.st-more__up{ rotate:-90deg; transition:translate .45s var(--st-ease-spring); }
.st-more__top:hover .st-more__up{ translate:0 -3px; }

/* ---------- 4. Празно състояние ---------- */
.st-empty{ position:relative; max-width:720px; margin-inline:auto; padding-block:clamp(36px,7vw,100px) clamp(24px,4vw,48px); text-align:center; }
.st-empty__art{ position:relative; display:inline-block; margin-bottom:10px; }
.st-empty__art span{
  display:block; font-family:var(--st-f-display); font-weight:800; font-size:clamp(7rem,30vw,14rem); line-height:.85; letter-spacing:-.06em;
  color:transparent; -webkit-text-stroke:1.5px var(--st-bone-3); animation:st-c-float 6s var(--st-ease-io) infinite alternate;
}
.st-empty__art i{
  position:absolute; right:-8%; top:10%; width:clamp(16px,4vw,26px); aspect-ratio:1; border-radius:50%;
  background:var(--st-accent); box-shadow:0 0 40px rgba(255,106,61,.6); animation:st-c-orbit 5s linear infinite;
}
@keyframes st-c-float{ to{ transform:translateY(-12px) rotate(-3deg); } }
@keyframes st-c-orbit{ from{ transform:rotate(0deg) translateX(10px) rotate(0deg); } to{ transform:rotate(360deg) translateX(10px) rotate(-360deg); } }
.st-empty__title{ margin:0 0 10px; font-size:var(--st-fs-h3); letter-spacing:-.03em; }
.st-empty__text{ max-width:46ch; margin:0 auto 26px; color:var(--st-bone-2); }
.st-empty__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-bottom:28px; }
.st-empty__label{ margin:24px 0 12px; font-size:var(--st-fs-micro); font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--st-bone-3); }
.st-empty__chips{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.st-empty__chips .st-chip{ animation:st-c-pop .5s var(--st-ease-spring) both; animation-delay:calc(.2s + var(--i) * 50ms); }
.st-empty__chips sup{ font-size:.68rem; color:var(--st-bone-3); }
.st-empty__chips .st-chip:hover sup{ color:rgba(13,12,11,.55); }
.st-empty__best{ margin-top:clamp(56px,8vw,110px); padding-top:clamp(40px,5vw,72px); border-top:1px solid var(--st-line); }
.st-empty__head{ margin-bottom:clamp(28px,3.4vw,52px); }
.st-empty__head .st-h2{ margin:0; }

/* ---------- 5. Чекмеджето с филтри ---------- */
/* телефон: долен лист с пружина; таблет/десктоп: панел отляво */
.st-drawer--filters .st-drawer__panel{
  transition:transform .7s cubic-bezier(.22,1.28,.36,1);
  box-shadow:0 -30px 80px rgba(0,0,0,.5), 0 160px 0 var(--st-ink-2); /* сянката покрива „подскока“ на пружината */
}
@media (min-width:768px){
  .st-drawer--filters .st-drawer__panel{
    top:0; bottom:0; left:0; right:auto; width:min(440px,92vw); max-height:none; border:0; border-right:1px solid var(--st-line);
    border-radius:0 24px 24px 0; transform:translateX(-104%); box-shadow:30px 0 80px rgba(0,0,0,.45), -160px 0 0 var(--st-ink-2);
  }
  .st-drawer--filters.is-open .st-drawer__panel{ transform:none; }
  .st-drawer--filters .st-drawer__head{ padding-top:14px; }
  .st-drawer--filters .st-drawer__head::before{ display:none; }
}
.st-filters__n{
  position:relative; top:-.1em; display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 6px; margin-left:6px; border-radius:10px;
  background:var(--st-accent); color:var(--st-accent-ink); font-family:var(--st-f-body); font-size:.68rem; font-weight:800; letter-spacing:0; vertical-align:middle;
}
.st-filters__n[hidden]{ display:none; }
.st-filters__body{ display:grid; padding-top:4px; padding-bottom:8px; scrollbar-width:thin; scrollbar-color:var(--st-line-2) transparent; }
.st-filters__body::-webkit-scrollbar{ width:6px; }
.st-filters__body::-webkit-scrollbar-thumb{ background:var(--st-line-2); border-radius:3px; }

.st-fgroup{ min-width:0; margin:0; padding:22px 0; border:0; border-bottom:1px solid var(--st-line); }
.st-fgroup:last-child{ border-bottom:0; }
.st-drawer--filters.is-open .st-fgroup{ animation:st-c-rise .6s var(--st-ease) both; animation-delay:calc(.12s + var(--i) * 70ms); }
.st-fgroup__title{ display:flex; align-items:baseline; gap:10px; padding:0; margin-bottom:14px; font-family:var(--st-f-display); font-weight:700; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; }
.st-fgroup__hint{ font-family:var(--st-f-body); font-size:var(--st-fs-xs); font-weight:400; letter-spacing:0; text-transform:none; color:var(--st-bone-3); }

/* размери */
.st-fsizes{ display:flex; flex-wrap:wrap; gap:8px; }
.st-fsize{ position:relative; display:block; }
.st-fsize input{ position:absolute; inset:0; z-index:1; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.st-fsize__pill{
  display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:64px; height:48px; padding:0 16px;
  border-radius:var(--st-radius-pill); box-shadow:inset 0 0 0 1px var(--st-line-2); font-weight:700; font-size:.88rem; letter-spacing:.04em;
  transition:background var(--st-d-fast), color var(--st-d-fast), box-shadow var(--st-d-fast), transform .5s var(--st-ease-spring);
}
.st-fsize__pill small{ font-size:.66rem; font-weight:500; letter-spacing:0; color:var(--st-bone-3); transition:color var(--st-d-fast); }
.st-fsize:hover .st-fsize__pill{ box-shadow:inset 0 0 0 1px var(--st-bone-2); transform:translateY(-2px); }
.st-fsize input:active + .st-fsize__pill{ transform:scale(.92); }
.st-fsize input:checked + .st-fsize__pill{ background:var(--st-bone); color:var(--st-ink); box-shadow:none; animation:st-c-boing .5s var(--st-ease-spring); }
.st-fsize input:checked + .st-fsize__pill small{ color:rgba(13,12,11,.55); }
.st-fsize input:focus-visible + .st-fsize__pill{ outline:2px solid var(--st-accent); outline-offset:3px; }

/* цветове */
.st-fcolors{ display:grid; grid-template-columns:repeat(auto-fill,minmax(72px,1fr)); gap:14px 6px; }
.st-fswatch{ position:relative; display:flex; flex-direction:column; align-items:center; gap:7px; padding:6px 2px; border-radius:12px; text-align:center; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.st-fswatch input{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.st-fswatch__dot{
  position:relative; width:42px; height:42px; border-radius:50%; background:var(--c,#777);
  box-shadow:0 0 0 1px var(--st-line-2), inset 0 0 0 1px rgba(0,0,0,.25), inset 0 -8px 16px rgba(0,0,0,.18);
  transition:transform .5s var(--st-ease-spring), box-shadow .25s;
}
.st-fswatch__dot::after{
  content:""; position:absolute; left:50%; top:46%; width:12px; height:7px; border-left:2px solid var(--st-bone); border-bottom:2px solid var(--st-bone);
  transform:translate(-50%,-50%) rotate(-45deg) scale(0); transition:transform .45s var(--st-ease-spring);
}
.st-fswatch.is-light .st-fswatch__dot::after{ border-color:var(--st-ink); }
.st-fswatch:hover .st-fswatch__dot{ transform:scale(1.08); }
.st-fswatch input:checked + .st-fswatch__dot{ transform:scale(1.04); box-shadow:0 0 0 3px var(--st-ink-2), 0 0 0 5px var(--st-bone); }
.st-fswatch input:checked + .st-fswatch__dot::after{ transform:translate(-50%,-50%) rotate(-45deg) scale(1); }
.st-fswatch input:focus-visible + .st-fswatch__dot{ outline:2px solid var(--st-accent); outline-offset:6px; }
.st-fswatch__name{ font-size:var(--st-fs-xs); line-height:1.2; color:var(--st-bone-2); }
.st-fswatch input:checked ~ .st-fswatch__name{ color:var(--st-bone); font-weight:600; }
.st-fswatch__n{ margin-top:-4px; font-size:.66rem; color:var(--st-bone-3); }

/* цена */
.st-fprice{ display:grid; grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr); align-items:center; gap:10px; }
.st-fprice__field{ position:relative; display:block; }
.st-fprice__field > span{ position:absolute; left:16px; top:9px; z-index:1; font-size:.62rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--st-bone-3); pointer-events:none; }
.st .st-fprice__field input{ min-height:62px; padding:24px 36px 8px 16px; border-radius:12px; font-size:1.1rem; font-weight:600; font-variant-numeric:tabular-nums; -moz-appearance:textfield; appearance:textfield; }
.st-fprice__field input::-webkit-outer-spin-button,.st-fprice__field input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.st-fprice__field i{ position:absolute; right:16px; bottom:13px; font-style:normal; color:var(--st-bone-3); pointer-events:none; }
.st-fprice__dash{ height:1px; background:var(--st-line-2); }
.st-fprice__quick{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.st-fprice__chip{ min-height:38px; padding:0 14px; transition:background var(--st-d-fast), color var(--st-d-fast), box-shadow var(--st-d-fast), transform .45s var(--st-ease-spring); }
.st-fprice__chip:active{ transform:scale(.94); }
.st-fprice__chip[aria-pressed="true"]{ animation:st-c-boing .5s var(--st-ease-spring); }
.st-fprice__same{ margin:0; font-size:var(--st-fs-sm); color:var(--st-bone-2); }
.st-fprice__same .amount{ color:var(--st-bone); font-weight:600; }

/* превключвател „Само налични“ */
.st-switch{ position:relative; display:flex; align-items:center; gap:14px; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.st-switch input{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.st-switch__track{ position:relative; flex:none; width:54px; height:32px; border-radius:var(--st-radius-pill); background:var(--st-ink-4); box-shadow:inset 0 0 0 1px var(--st-line-2); transition:background .3s var(--st-ease), box-shadow .3s; }
.st-switch__thumb{ position:absolute; left:4px; top:4px; width:24px; height:24px; border-radius:50%; background:var(--st-bone-2); box-shadow:0 2px 6px rgba(0,0,0,.35); transition:transform .5s var(--st-ease-spring), background .3s; }
.st-switch:active .st-switch__thumb{ transform:scaleX(1.2); }
.st-switch input:checked + .st-switch__track{ background:var(--st-accent); box-shadow:none; }
.st-switch input:checked + .st-switch__track .st-switch__thumb{ transform:translateX(22px); background:var(--st-bone); }
.st-switch:active input:checked + .st-switch__track .st-switch__thumb{ transform:translateX(22px) scaleX(1.2); }
.st-switch input:focus-visible + .st-switch__track{ outline:2px solid var(--st-accent); outline-offset:3px; }
.st-switch__text{ display:grid; gap:2px; font-weight:600; }
.st-switch__text small{ font-size:var(--st-fs-xs); font-weight:400; color:var(--st-bone-3); }

/* долу: Изчисти + Покажи N */
.st-filters__foot{ display:flex; align-items:center; gap:10px; }
.st-filters__clear{ flex:none; min-height:48px; padding:0 12px; font-size:var(--st-fs-sm); font-weight:600; color:var(--st-bone-2); text-decoration:underline; text-underline-offset:4px; transition:color var(--st-d-fast); }
.st-filters__clear:hover{ color:var(--st-bone); }
.st-filters__apply{ flex:1; min-width:0; padding-inline:clamp(16px,5vw,28px); gap:8px; }
.st-filters__apply.is-empty .st-icon{ display:none; } /* „Няма модели с тези филтри“ се побира и на 360 px */
@media (max-width:399px){
  .st-filters__foot{ padding-inline:16px; }
  .st-filters__clear{ padding-inline:8px; }
}
.st-filters__label{ display:inline-block; max-width:100%; overflow:hidden; text-overflow:ellipsis; transition:opacity .2s; }
.st-filters__label.is-tick{ animation:st-c-tick .45s var(--st-ease-spring); }
.st-filters__apply.is-counting .st-filters__label{ opacity:.55; }
.st-filters__apply.is-empty{ --bg:var(--st-ink-4); --fg:var(--st-bone-2); }
@keyframes st-c-tick{ from{ opacity:0; transform:translateY(60%); } to{ opacity:1; transform:none; } }

/* ---------- 6. Намалено движение ---------- */
@media (prefers-reduced-motion:reduce){
  .st-chero__line > span,.st-chero__pre,.st-chero__kicker,.st-crumbs,.st-chero__copy,.st-chero__mq,.st-catnav__list li,
  .st-chero__fig,.st-active li,.st-empty__chips .st-chip,.st-toolbar__badge{ animation:none!important; opacity:1!important; transform:none!important; }
  .st-chero__glow,.st-empty__art span,.st-empty__art i{ animation:none!important; }
  .st-drawer--filters .st-drawer__panel{ transition:none; }
  ::view-transition-group(st-catpill),::view-transition-old(st-catpill),::view-transition-new(st-catpill){ animation:none!important; }
}
