/* Этап 2, живой режим (подключает inc/live/slots.php только при as6_live()). Пишется руками.
   К12: ссылку макета на адрес, которого на сайте нет, шаблон не печатает (inc/live/links.php); data-as6-off —
   только запас для action формы.
   К5: HTML из WordPress в слотах (inc/live/slots.php) — в вёрстке экрана «Политика конфиденциальности»:
   h2 — 700 15px #121a26, текст — 400 13px/1.65 #4e5d73; статья — как тело статьи макета.
   Вид элементов макета здесь не меняется (Q68 п. 6): скрыть, переложить, поправить дефект — только правилом конвейера
   (tools/screens.json: flags, conds, fixes) с why; страж — harness/sh2-guard.mjs (runtime-css). */
[data-as6-off]{display:none !important}

.as6-prose{min-width:0;max-width:100%;font:400 13px/1.65 'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:#4e5d73;overflow-wrap:anywhere}
.as6-prose>*{margin:0}
.as6-prose>*+*{margin-top:14px}
.as6-prose h2,.as6-prose h3,.as6-prose h4{font:700 15px/1.35 'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:#121a26;margin:0}
.as6-prose h3,.as6-prose h4{font-size:14px}
.as6-prose>h2+*,.as6-prose>h3+*,.as6-prose>h4+*{margin-top:5px}
.as6-prose p{margin:0}
.as6-prose p:empty{display:none}
.as6-prose ul,.as6-prose ol{margin:0;padding-left:20px}
.as6-prose li+li{margin-top:4px}
.as6-prose a{color:#1b4f9c;text-decoration:underline}
.as6-prose b,.as6-prose strong{font-weight:600;color:#121a26}
.as6-prose img,.as6-prose video,.as6-prose svg{max-width:100%;height:auto}
.as6-prose iframe,.as6-prose embed,.as6-prose object{max-width:100%;border:0}
.as6-prose iframe[src*="youtube"],.as6-prose iframe[src*="vk.com"],.as6-prose iframe[src*="rutube"]{width:100%;height:auto;aspect-ratio:16/9}
.as6-prose figure{margin:0;max-width:100%}
.as6-prose figcaption{font-size:12px;color:#5f6e85;margin-top:4px}
.as6-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:12.5px;overflow-wrap:normal}
.as6-prose th,.as6-prose td{border:1px solid #e3e9f1;padding:6px 10px;text-align:left;vertical-align:top}
.as6-prose th{background:#f4f6fa;color:#121a26;font-weight:600}
.as6-prose blockquote{margin:0;padding:10px 14px;border-left:3px solid #1b4f9c;background:#f5f8fd;color:#2c3b52}
.as6-prose pre{white-space:pre-wrap;max-width:100%;overflow-x:auto}
.as6-prose hr{border:0;border-top:1px solid #eef2f7}
.as6-prose .aligncenter{display:block;margin-left:auto;margin-right:auto}
.as6-prose .alignleft{float:left;margin:0 14px 8px 0}
.as6-prose .alignright{float:right;margin:0 0 8px 14px}
.as6-prose::after{content:'';display:table;clear:both}

/* тело статьи — шрифты тела статьи макета (h2 800 20px, текст 400 14.5px/1.7 #2b3648) */
.as6-prose-art{font-size:14.5px;line-height:1.7;color:#2b3648}
.as6-prose-art>*+*{margin-top:20px}
.as6-prose-art h2{font:800 20px/1.3 'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
.as6-prose-art h3{font:700 16px/1.35 'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
.as6-prose-art>h2+*,.as6-prose-art>h3+*{margin-top:8px}
/* заголовки тела статьи не уходят под липкую шапку при переходе из оглавления (шапка 126 px на 390 и 1440) */
.as6-prose-art [id]{scroll-margin-top:140px}

/* SEO-текст главной — колонка как у блоков главной; описание категории — под сеткой каталога */
.as6-seo{max-width:1200px;margin:44px auto 0;padding:0 24px;box-sizing:border-box}
.as6-cat-desc{margin-top:24px}
@media (max-width:640px){
  .as6-seo{padding:0 14px;margin-top:32px}
  .as6-prose .alignleft,.as6-prose .alignright{float:none;margin:0 0 8px}
}

/* карта магазинов (storesMap, admin-stores.php): виджет Яндекс Карт во всю ширину */
.as6-map{border-radius:10px;overflow:hidden;border:1px solid #e3e9f1;line-height:0}
.as6-map iframe{display:block;width:100%;max-width:100%;border:0}
/* текст cookie-баннера как на проде (cookieText) */
.as6-ck a{color:#1b4f9c;text-decoration:underline}
/* описание товара (prDesc) — шрифт описания макета */
.as6-pr-desc{font-size:13.5px;line-height:1.6}

/* rc3: окно «Как работают скидки» — строки порогов стоят в колонке окна макета (gap), обёртка слота своего блока не даёт */
#as6-slot-saleTiersInfo{display:contents}
/* rc3: ряд объёмов товара и окна выбора — на настоящих данных вариантов бывает больше, чем помещается (в макете два): переносим строки, чтобы не было шире экрана */
div:has(> button[data-onclick^="pr.sizes."]),div:has(> button[data-onclick^="md.sizes."]){flex-wrap:wrap}
/* rc3: квадрат фото товара не растёт, пока картинка не загрузилась или не пришла (alt в несколько строк раздувал
   aspect-ratio квадрата: 142→168 px на 390) — квадрат остаётся квадратом */
div:has(> span[data-product-photo]),span[data-product-photo]{min-height:0}
span[data-product-photo] > img{overflow:hidden}
/* rc6: отступ фото на белой плитке — 10 px, но не больше 6% ширины квадрата: в мелких квадратах (строка корзины 68 px) фото не сжимается до 48 px */
span[data-product-photo].u-p-6b283{padding:min(10px,6%)}

/* Задача 5: число товаров в ряду в сетке каталога (в том числе бренды, цели, «Показать ещё» — это тот же экран catalog).
   Меняется одной переменной: --as6-cols (3 — по умолчанию, 4 или 5). Для проверки без правки файла — атрибут
   <html data-cols="4"> (или 5). Ниже 1280 px больше трёх в ряд не бывает (рядом панель фильтров 256 px), на телефоне
   (≤640 px) — две колонки: это правило global.css (!important), переменная там не действует. */
:root{--as6-cols:3}
html[data-cols="3"]{--as6-cols:3}
html[data-cols="4"]{--as6-cols:4}
html[data-cols="5"]{--as6-cols:5}
[data-screen-label="Каталог"] .grid3.u-gtc-823d0{grid-template-columns:repeat(var(--as6-cols),minmax(0,1fr))}
@media (max-width:1279px){[data-screen-label="Каталог"] .grid3.u-gtc-823d0{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* «Все бренды»: поиск, полоса букв, плитки (inc/live/catalog.php as6_brands_html; assets/js/live/brands.js) */
.as6-br-wrap{display:flex;flex-direction:column;gap:22px;font-family:'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
.as6-br-search input{width:100%;max-width:420px;height:44px;box-sizing:border-box;border:1px solid #cbd5e3;border-radius:10px;padding:0 14px;font:400 14px 'Golos Text',system-ui,sans-serif;color:#121a26;background:#fff}
.as6-br-search input:focus{outline:2px solid #1b4f9c;outline-offset:1px;border-color:#1b4f9c}
.as6-br-letters{display:flex;flex-wrap:wrap;gap:4px}
.as6-br-l{min-width:29px;height:29px;padding:0 5px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid #dbe3ee;background:#fff;color:#1b4f9c;font:600 13px 'Golos Text',system-ui,sans-serif;text-decoration:none}
a.as6-br-l:hover{background:#e9f0fa;border-color:#1b4f9c}
.as6-br-l.is-off{color:#b9c4d4;background:#f7f9fc;border-color:#eef2f7;cursor:default;pointer-events:none}
.as6-br-h{margin:0 0 10px;font:700 18px/1.3 'Golos Text',system-ui,sans-serif;color:#121a26;padding-bottom:6px;border-bottom:1px solid #e3e9f1}
.as6-br-grp,.as6-br-pop{scroll-margin-top:84px}
.as6-br-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.as6-br-tile{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid #e3e9f1;border-radius:10px;background:#fff;color:#121a26;text-decoration:none}
.as6-br-tile:hover{border-color:#1b4f9c;box-shadow:0 2px 10px rgba(19,28,43,.07)}
.as6-br-tile[hidden],.as6-br-grp[hidden],.as6-br-pop[hidden],.as6-br-none[hidden]{display:none}
.as6-br-logo{width:56px;height:56px;flex:none;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;border:1px solid #eef2f7;background:#fff}
.as6-br-logo img{width:100%;height:100%;object-fit:contain;display:block}
.as6-br-init{background:#f1f4f9;color:#5f6e85;font:700 20px 'Golos Text',system-ui,sans-serif}
.as6-br-name{display:block;min-width:0;font:600 14px/1.25 'Golos Text',system-ui,sans-serif;overflow-wrap:anywhere}
.as6-br-cnt{display:block;margin-top:2px;font:400 12px 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-br-txt{display:block;min-width:0;flex:1 1 auto}
.as6-br-wrap .screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.as6-br-none{margin:0;font:400 14px 'Golos Text',system-ui,sans-serif;color:#5f6e85}
@media (max-width:1023px){.as6-br-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){
  .as6-br-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .as6-br-tile{flex-direction:column;align-items:flex-start;gap:8px;padding:10px}
  .as6-br-l{min-width:30px;height:30px}
}

/* скан СГР в «Сведениях о товаре»: просмотр на весь экран (assets/js/live/product.js, docOpen) */
.as6-doc{position:fixed;inset:0;z-index:400;background:rgba(19,28,43,.92);display:flex;flex-direction:column}
.as6-doc-bar{display:flex;gap:8px;justify-content:flex-end;padding:10px 14px}
.as6-doc-btn{height:40px;padding:0 16px;border-radius:10px;border:1.5px solid #fff;background:transparent;color:#fff;font:600 13.5px 'Golos Text',system-ui,sans-serif;text-decoration:none;display:inline-flex;align-items:center;cursor:pointer}
.as6-doc-img{flex:1;overflow:auto;display:flex;justify-content:center;align-items:flex-start;padding:0 14px 20px}
.as6-doc-img img{max-width:100%;max-height:calc(100vh - 80px);object-fit:contain;background:#fff}
.as6-doc.is-zoom .as6-doc-img img{max-width:none;max-height:none;width:180%}
@media (max-width:640px){.as6-doc.is-zoom .as6-doc-img img{width:260%}}

/* Панель фильтров каталога: своя прокрутка (не обрезается по низу экрана при прокрутке страницы), дерево разделов, атрибуты.
   Липкая панель: top 140px (atoms u-t-fa678) — высота = экран минус шапка, лишнее прокручивается внутри панели. Телефон (≤640 px) —
   шторка на весь экран (global.css), там своё правило. */
@media (min-width:641px){
  .catfilt{box-sizing:border-box;max-height:calc(100vh - 156px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd5e3 transparent}
  .catfilt::-webkit-scrollbar{width:6px}
  .catfilt::-webkit-scrollbar-thumb{background:#cbd5e3;border-radius:3px}
}
.as6-ct,.as6-af{display:flex;flex-direction:column;gap:8px;font-family:'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
.as6-ct-h,.as6-af-h{font:700 13.5px 'Golos Text',system-ui,sans-serif;color:#121a26}
.as6-ct-list{display:flex;flex-direction:column}
.as6-ct-i{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 6px 0;border-radius:6px;color:#2b3648;text-decoration:none;font:400 13px/1.3 'Golos Text',system-ui,sans-serif}
.as6-ct-i:hover{color:#1b4f9c}
.as6-ct-i[data-lvl="0"]{font-weight:600}
.as6-ct-i[data-lvl="1"]{padding-left:16px}
.as6-ct-i[data-lvl="2"]{padding-left:30px;font-size:12.5px}
.as6-ct-t{position:relative;min-width:0;overflow-wrap:anywhere}
.as6-ct-i[data-k="closed"] .as6-ct-t::before,.as6-ct-i[data-k="open"] .as6-ct-t::before{content:'';display:inline-block;width:6px;height:6px;margin-right:8px;border-right:1.5px solid #8794a8;border-bottom:1.5px solid #8794a8;transform:rotate(-45deg) translateY(-1px)}
.as6-ct-i[data-k="open"] .as6-ct-t::before{transform:rotate(45deg) translateY(-2px)}
.as6-ct-i[aria-current="page"]{color:#1b4f9c;font-weight:700;background:#eef4fc;padding-left:8px;margin-left:-8px}
.as6-ct-i[data-lvl="1"][aria-current="page"]{padding-left:24px}
.as6-ct-i[data-lvl="2"][aria-current="page"]{padding-left:38px}
.as6-ct-n{flex:none;font:400 12px 'Golos Text',system-ui,sans-serif;color:#8794a8}
.as6-af-list{display:flex;flex-direction:column;gap:2px}
.as6-af-i{appearance:none;-webkit-appearance:none;margin:0;border:0;background:transparent;display:flex;align-items:center;gap:8px;padding:5px 0;cursor:pointer;color:#121a26;text-align:left;font:400 13px/1.3 'Golos Text',system-ui,sans-serif}
.as6-af-box{flex:none;width:16px;height:16px;box-sizing:border-box;border:1.5px solid #cbd5e3;border-radius:4px;background:#fff}
.as6-af-i[aria-pressed="true"] .as6-af-box{background:#1b4f9c;border-color:#1b4f9c;box-shadow:inset 0 0 0 2px #fff}
.as6-af-n{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.as6-af-c{flex:none;font:400 12px 'Golos Text',system-ui,sans-serif;color:#8794a8}

/* Карточка каталога: основная категория под названием (card.php 'cat') — одна строка, всегда занимает место (ряд одной высоты) */
.as6-cardcat{display:block;min-height:15px;max-width:100%;font:400 11.5px/15px 'Golos Text',system-ui,sans-serif;color:#8794a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* «Все бренды»: поиск и полоса букв липнут под шапкой; на телефоне буквы — одной прокручиваемой строкой */
.as6-br-bar{position:sticky;top:126px;z-index:20;display:flex;flex-direction:column;gap:10px;padding:10px 0;background:#fff;border-bottom:1px solid #eef2f7}
.as6-br-grp,.as6-br-pop{scroll-margin-top:230px}
@media (max-width:640px){
  .as6-br-bar{top:118px;padding:8px 0}
  .as6-br-letters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
  .as6-br-letters::-webkit-scrollbar{display:none}
  .as6-br-l{flex:none}
}

/* Мини-корзина при наведении на корзину шапки (assets/js/live/minicart.js) и «как работают скидки» / купон в шторке */
.as6-mini{position:fixed;z-index:140;width:330px;max-width:calc(100vw - 16px);max-height:calc(100vh - 150px);overflow-y:auto;box-sizing:border-box;padding:14px;background:#fff;border:1px solid #e3e9f1;border-radius:12px;box-shadow:0 12px 36px rgba(19,28,43,.16);font-family:'Golos Text',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:#121a26}
.as6-mini[hidden]{display:none}
.as6-mini-empty{padding:18px 4px;text-align:center;font:500 14px 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-mini-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.as6-mini-it{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #eef2f7}
.as6-mini-img{flex:none;width:52px;height:52px;border-radius:8px;background:#f4f6fa;overflow:hidden;display:flex;align-items:center;justify-content:center}
.as6-mini-img img{width:100%;height:100%;object-fit:contain;display:block}
.as6-mini-t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.as6-mini-n{font:600 12.5px/1.3 'Golos Text',system-ui,sans-serif;color:#121a26;text-decoration:none;overflow-wrap:anywhere}
.as6-mini-n:hover{color:#1b4f9c}
.as6-mini-v{font:400 11.5px 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-mini-q{font:500 12px 'Golos Text',system-ui,sans-serif;color:#4e5d73}
.as6-mini-x{flex:none;appearance:none;-webkit-appearance:none;margin:0;padding:0;width:24px;height:24px;border:1px solid #dbe3ee;border-radius:50%;background:#fff;color:#8794a8;font:400 15px/1 'Golos Text',system-ui,sans-serif;cursor:pointer}
.as6-mini-x:hover{color:#d2232a;border-color:#d2232a}
.as6-mini-more{padding:6px 0;font:400 12px 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-mini-sum{display:flex;justify-content:space-between;padding:10px 0 8px;font:500 13px 'Golos Text',system-ui,sans-serif}
.as6-mini-sum b{font-weight:700}
.as6-mini-bar{height:5px;border-radius:3px;background:#e3e9f1;overflow:hidden}
.as6-mini-bar i{display:block;height:100%;background:#1b4f9c;border-radius:3px}
.as6-mini-prog{margin-top:6px;font:500 12px/1.35 'Golos Text',system-ui,sans-serif;color:#1b4f9c}
.as6-mini-prog.is-done{color:#1e7a40}
.as6-mini-tiers,.as6-dr-info{display:flex;flex-direction:column;gap:3px;margin-top:10px;padding:9px 11px;border-radius:9px;background:#fdf6e7;color:#8a5a00;font:400 12px/1.35 'Golos Text',system-ui,sans-serif}
.as6-mini-tiers b,.as6-dr-info b{font:700 12px 'Golos Text',system-ui,sans-serif;color:#6b4500}
.as6-mini-cp{margin-top:10px;padding:9px 11px;border:1.5px dashed #e8a5a8;border-radius:9px;background:#fff6f6;display:flex;flex-direction:column;gap:4px}
.as6-mini-cp-h{display:flex;align-items:center;justify-content:space-between;gap:8px;font:500 12.5px 'Golos Text',system-ui,sans-serif;color:#121a26}
.as6-mini-cp-h b{color:#d2232a}
.as6-mini-cp-b{appearance:none;-webkit-appearance:none;margin:0;height:28px;padding:0 12px;border:0;border-radius:7px;background:#d2232a;color:#fff;font:600 12px 'Golos Text',system-ui,sans-serif;cursor:pointer}
.as6-mini-cp-b:disabled{opacity:.6;cursor:default}
.as6-mini-cp-n{font:400 11px/1.35 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-mini-note{margin-top:8px;font:400 11px 'Golos Text',system-ui,sans-serif;color:#8794a8}
.as6-mini-go{display:flex;align-items:center;justify-content:center;height:42px;margin-top:8px;border-radius:9px;background:#121a26;color:#fff;font:700 13px 'Golos Text',system-ui,sans-serif;text-decoration:none}
.as6-mini-go:hover{background:#1b4f9c}
/* rc7: оформление заказа — шаги, инфолиния скидок, способы получения с одним адресом, контакты, «Ваш заказ» с правкой
   товаров (inc/live/checkout-ui.php). Цвета и шрифты макета: #1b4f9c акцент, #e9f0fa выбранное, #e3e9f1 линии, #121a26 /
   #4e5d73 / #5f6e85 текст, #1e7a40 скидка, #d2232a кнопка заказа; поля — как поля макета (46 px, 1.5 px #cbd5e3, радиус 10). */
.as6-co-top{grid-column:1/-1;display:flex;flex-direction:column;gap:14px;min-width:0}
.as6-co-slot,.as6-co-ship,.as6-co-items-wrap,.as6-co-trust-wrap{min-width:0}
.as6-co-steps{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font:600 12px/1.4 'Golos Text',system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#5f6e85}
.as6-co-steps a{color:#1b4f9c;text-decoration:none}
.as6-co-steps a:hover{text-decoration:underline}
.as6-co-steps b{color:#121a26;font-weight:700}
.as6-co-sep{color:#a5b0c0}
.as6-co-secure{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font:500 12.5px 'Golos Text',system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#1e7a40}
.as6-co-h1{margin:0;font:800 26px/1.2 'Golos Text',system-ui,sans-serif;color:#121a26}
.as6-co-info{background:#fff;border:1px solid #e3e9f1;border-radius:10px;padding:16px 20px 14px;display:flex;flex-direction:column;gap:10px;min-width:0}
.as6-co-info-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font:600 14px 'Golos Text',system-ui,sans-serif;color:#4e5d73}
.as6-co-info-h b{font:800 22px 'Golos Text',system-ui,sans-serif;color:#121a26;font-variant-numeric:tabular-nums;white-space:nowrap}
.as6-co-bar{position:relative;height:8px;border-radius:99px;background:#e3e9f1}
.as6-co-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:#1b4f9c;max-width:100%}
.as6-co-bar u{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff;border:2px solid #cbd5e3;box-sizing:border-box;text-decoration:none}
.as6-co-bar u.on{border-color:#1b4f9c;background:#1b4f9c}
.as6-co-marks{display:flex;justify-content:space-between;gap:12px;font:500 11.5px/1.35 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-co-marks span:last-child{text-align:right}
.as6-co-marks .on{color:#1e7a40;font-weight:600}
.as6-co-info-t{margin:0;font:500 13px/1.5 'Golos Text',system-ui,sans-serif;color:#4e5d73}
.as6-co-info-t.is-done{color:#1e7a40;font-weight:600}
.as6-co-sec{background:#fff;border:1px solid #e3e9f1;border-radius:10px;padding:24px 26px;display:flex;flex-direction:column;gap:14px;min-width:0}
.as6-co-sec-h{display:flex;align-items:center;gap:11px}
.as6-co-sec-h h2{margin:0;font:800 17px 'Golos Text',system-ui,sans-serif;color:#121a26}
.as6-co-num{width:26px;height:26px;border-radius:50%;background:#1b4f9c;color:#fff;display:flex;align-items:center;justify-content:center;font:700 13px 'Golos Text',system-ui,sans-serif}
.as6-co-cards{display:flex;flex-direction:column;gap:9px}
.as6-co-card{border:1px solid #e3e9f1;border-radius:12px;background:#fff;min-width:0;transition:border-color .15s}
.as6-co-card:hover{border-color:#9db8dd}
.as6-co-card.is-on{border:1.5px solid #1b4f9c;background:#e9f0fa}
.as6-co-card-h{appearance:none;-webkit-appearance:none;margin:0;width:100%;border:0;background:none;font:inherit;color:inherit;text-align:left;box-sizing:border-box;padding:14px 16px;display:flex;align-items:center;gap:12px;cursor:pointer;min-height:48px}
.as6-co-dot{width:19px;height:19px;border-radius:50%;border:2px solid #cbd5e3;background:#fff;box-sizing:border-box;flex-shrink:0}
.is-on>.as6-co-card-h .as6-co-dot,.as6-co-sub.is-on .as6-co-dot{border:6px solid #1b4f9c}
.as6-co-card-t{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.as6-co-card-t b{font:600 14px 'Golos Text',system-ui,sans-serif;color:#121a26}
.is-on>.as6-co-card-h .as6-co-card-t b{font-weight:700}
.as6-co-card-t small{font:400 12px/1.4 'Golos Text',system-ui,sans-serif;color:#4e5d73}
.as6-co-card-p{font:700 14px 'Golos Text',system-ui,sans-serif;color:#121a26;white-space:nowrap}
.as6-co-card-p.is-free{color:#1e7a40}
.as6-co-card-x{width:14px;height:14px;position:relative;flex-shrink:0;color:#5f6e85}
.as6-co-card-x::before,.as6-co-card-x::after{content:'';position:absolute;left:0;right:0;top:6px;height:2px;border-radius:2px;background:currentColor}
.as6-co-card-x::after{transform:rotate(90deg);transition:transform .15s}
.is-on>.as6-co-card-h .as6-co-card-x::after{transform:rotate(0)}
.as6-co-card-b{padding:0 16px 14px;display:flex;flex-direction:column;gap:8px}
.as6-co-subs{display:flex;flex-direction:column;gap:8px}
.as6-co-sub{appearance:none;-webkit-appearance:none;margin:0;width:100%;font:inherit;text-align:left;box-sizing:border-box;display:flex;align-items:center;gap:11px;min-height:44px;background:#fff;border:1.5px solid #e3e9f1;border-radius:10px;padding:10px 13px;cursor:pointer}
.as6-co-sub.is-on{border-color:#1b4f9c}
.as6-co-sub .as6-co-dot{width:17px;height:17px}
.as6-co-note{margin:0;font:400 12px/1.5 'Golos Text',system-ui,sans-serif;color:#4e5d73}
.as6-co-note b{font-weight:700;color:#121a26}
.as6-co-hook:empty{display:none}
.as6-co-addr{display:flex;flex-direction:column;gap:12px;padding-top:4px}
.as6-co-f{display:flex;flex-direction:column;gap:5px;min-width:0}
.as6-co-f>span{font:600 12px 'Golos Text',system-ui,sans-serif;color:#4e5d73}
.as6-co-req{font-style:normal;color:#d2232a}
.as6-co-f input,.as6-co-f textarea{width:100%;box-sizing:border-box;height:46px;border:1.5px solid #cbd5e3;border-radius:10px;padding:0 13px;font:400 14px 'Golos Text',system-ui,sans-serif;color:#121a26;background:#fff;outline:none}
.as6-co-f textarea{height:auto;padding:10px 13px;resize:vertical}
.as6-co-f input:focus,.as6-co-f textarea:focus{border-color:#1b4f9c}
.as6-co-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.as6-co-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.as6-co-more{min-width:0}
.as6-co-more>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font:600 13px 'Golos Text',system-ui,sans-serif;color:#1b4f9c;min-height:32px}
.as6-co-more>summary::-webkit-details-marker{display:none}
.as6-co-more>summary::before{content:'+';font-weight:700}
.as6-co-more[open]>summary::before{content:'−'}
.as6-co-more[open]>.as6-co-f{margin-top:8px}
.as6-co-chk{display:flex;align-items:flex-start;gap:9px;font:500 13px/1.4 'Golos Text',system-ui,sans-serif;color:#121a26;cursor:pointer}
.as6-co-chk input{width:18px;height:18px;margin:1px 0 0;accent-color:#1b4f9c;flex-shrink:0}
.as6-co-chk small{display:block;font:400 11.5px 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-co-offer{display:flex;align-items:center;gap:12px;background:#e9f0fa;border:1px dashed #1b4f9c;border-radius:11px;padding:11px 13px}
.as6-co-offer-t{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.as6-co-offer-t b{font:700 13px 'Golos Text',system-ui,sans-serif;color:#121a26;overflow-wrap:anywhere}
.as6-co-offer-t small{font:400 11.5px/1.4 'Golos Text',system-ui,sans-serif;color:#4e5d73}
.as6-co-offer-btn,.as6-co-cpn-b{appearance:none;-webkit-appearance:none;margin:0;border:0;cursor:pointer;height:38px;padding:0 16px;border-radius:9px;background:#1b4f9c;color:#fff;font:700 12.5px 'Golos Text',system-ui,sans-serif;flex-shrink:0}
.as6-co-offer-btn:hover,.as6-co-cpn-b:hover{background:#163f7e}
.as6-co-cpn{display:flex;flex-direction:column;gap:7px;border:1px solid #e3e9f1;border-radius:11px;padding:10px 13px}
.as6-co-cpn-l{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.as6-co-cpn-r{display:flex;gap:8px;align-items:center}
.as6-co-cpn-r input{flex:1;min-width:0;height:38px;border:1px solid #cbd5e3;border-radius:9px;padding:0 11px;font:500 13px 'Golos Text',system-ui,sans-serif;color:#121a26;box-sizing:border-box;text-transform:uppercase}
.as6-co-cpn-r input::placeholder{text-transform:none}
.as6-co-err{font:500 11.5px/1.4 'Golos Text',system-ui,sans-serif;color:#d2232a}
.as6-co-chip{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;background:#e6f4ea;color:#1e7a40;border-radius:99px;padding:5px 6px 5px 12px;font:600 12px 'Golos Text',system-ui,sans-serif}
.as6-co-chip-x{appearance:none;-webkit-appearance:none;margin:0;border:0;background:none;cursor:pointer;color:#1e7a40;width:24px;height:24px;border-radius:50%;font:600 12px 'Golos Text',system-ui,sans-serif}
.as6-co-chip-x:hover{background:#cfe9d7}
.as6-co-items{display:flex;flex-direction:column;gap:12px;border-bottom:1px solid #eef2f7;padding-bottom:12px}
.as6-co-course{display:flex;flex-direction:column;gap:1px;font:400 11.5px/1.4 'Golos Text',system-ui,sans-serif;color:#1e7a40}
.as6-co-course b{font-weight:700}
.as6-co-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:6px 12px;align-items:start}
.as6-co-img{width:52px;height:52px;background:#eef2f7;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.as6-co-img img{width:100%;height:100%;object-fit:contain;display:block;background:#fff}
.as6-co-item-b{display:flex;flex-direction:column;gap:3px;min-width:0}
.as6-co-item-n{font:600 13px/1.35 'Golos Text',system-ui,sans-serif;color:#121a26;text-decoration:none;overflow-wrap:anywhere}
.as6-co-item-n:hover{color:#1b4f9c}
.as6-co-item-v{font:400 11.5px 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-co-tag{font:500 11px/1.35 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-co-tag.is-low{color:#b97708;font-weight:600}
.as6-co-tag.is-course{color:#1e7a40}
.as6-co-tag.is-excl{color:#5f6e85}
.as6-co-item-c{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:3px}
.as6-co-qty{display:inline-flex;align-items:center;border:1px solid #cbd5e3;border-radius:9px;background:#fff;height:34px}
.as6-co-qb{appearance:none;-webkit-appearance:none;margin:0;border:0;background:none;cursor:pointer;width:34px;height:34px;font:600 16px 'Golos Text',system-ui,sans-serif;color:#121a26;border-radius:9px}
.as6-co-qb:hover:not(:disabled){background:#eef2f7}
.as6-co-qb:disabled{color:#a5b0c0;cursor:default}
.as6-co-qty output{min-width:24px;text-align:center;font:700 13px 'Golos Text',system-ui,sans-serif;color:#121a26;font-variant-numeric:tabular-nums}
.as6-co-rm,.as6-co-clear{appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;background:none;cursor:pointer;font:500 12px 'Golos Text',system-ui,sans-serif;color:#5f6e85;text-decoration:underline;min-height:32px}
.as6-co-rm:hover,.as6-co-clear:hover{color:#d2232a}
.as6-co-item-p{display:flex;flex-direction:column;align-items:flex-end;gap:1px;font-variant-numeric:tabular-nums;white-space:nowrap}
.as6-co-item-p b{font:700 13px 'Golos Text',system-ui,sans-serif;color:#121a26}
.as6-co-item-p s{font:400 11.5px 'Golos Text',system-ui,sans-serif;color:#8794a8}
.as6-co-item-p i{font:700 10.5px 'Golos Text',system-ui,sans-serif;font-style:normal;color:#fff;background:#d2232a;border-radius:5px;padding:1px 5px}
.as6-co-clearrow{margin-top:-4px}
.as6-co-clear{text-transform:uppercase;letter-spacing:.04em;font-size:11.5px;font-weight:600}
.as6-co-trust{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #eef2f7;padding-top:12px}
.as6-co-tile{display:flex;flex-direction:column;gap:2px;background:#f4f6fa;border-radius:9px;padding:9px 11px;min-width:0}
.as6-co-tile b{font:600 11.5px/1.35 'Golos Text',system-ui,sans-serif;color:#121a26}
.as6-co-tile small{font:400 11px/1.35 'Golos Text',system-ui,sans-serif;color:#5f6e85}
.as6-co-busy{opacity:.55;pointer-events:none;transition:opacity .15s}
.as6-co-empty-wrap{grid-column:1/-1;min-width:0}
.as6-co-items-wrap{display:flex;flex-direction:column;gap:12px}
.as6-co-empty-wrap:empty,.as6-co-empty-wrap:has(>.as6-co-empty[hidden]){display:none}
.as6-co-empty-wrap:empty,.as6-co-empty[hidden]{display:none}
form.checkout:has(.as6-co-empty:not([hidden]))>:not(.as6-co-empty-wrap){display:none}
.as6-co-empty{background:#fff;border:1px solid #e3e9f1;border-radius:10px;padding:18px 22px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;font:600 14px 'Golos Text',system-ui,sans-serif;color:#121a26}
.as6-co-empty a,.as6-co-empty button{appearance:none;-webkit-appearance:none;border:0;background:none;cursor:pointer;font:600 13px 'Golos Text',system-ui,sans-serif;color:#1b4f9c;text-decoration:none;padding:0}
@media (max-width:640px){
  .as6-co-h1{font-size:22px}
  .as6-co-sec{padding:18px 16px}
  .as6-co-secure{margin-left:0;flex-basis:100%}
  .as6-co-grid2{grid-template-columns:1fr}
  .as6-co-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .as6-co-card-h{padding:12px 13px;gap:10px}
  .as6-co-info{padding:14px 14px 12px}
  .as6-co-marks{flex-direction:column;gap:4px}
  .as6-co-marks span:last-child{text-align:left}
  .as6-co-item{grid-template-columns:44px minmax(0,1fr) auto;gap:6px 10px}
  .as6-co-img{width:44px;height:44px}
  .as6-co-offer{flex-wrap:wrap}
}

/* Плитка каталога: кнопки фасовок того же товара (product-siblings.php) — переход на карточку выбранной фасовки */
.as6-cardsz{display:flex;flex-wrap:wrap;gap:5px;margin-top:2px}
.as6-cardsz-i{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:7px;border:1px solid #dbe3ee;background:#fff;color:#4e5d73;font:500 11.5px 'Golos Text',system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.as6-cardsz-i:hover{border-color:#1b4f9c;color:#1b4f9c}
.as6-cardsz-i[aria-current="true"]{border-color:#1b4f9c;background:#e9f0fa;color:#1b4f9c;font-weight:700;cursor:default}
/* плитки каталога: цена и кнопка — по низу карточки (у карточек с кнопками фасовок и без них ряд выровнен) */
[data-screen-label="Каталог"] .grid3 > a > :last-child{margin-top:auto}
.as6-co-rating{padding:0;overflow:hidden;min-height:50px}
.as6-co-rating iframe{display:block;width:150px;height:50px;max-width:100%}

/* Карточка товара: вкусы (вариации), которых нет в наличии, не показываем — только те, что можно купить.
   Зачёркнутая пилюля макета (пунктир + зачёркивание; классы атомов u-b-5b2e6 и u-td-c9b77) скрыта; при перегенерации атомов селектор обновить. */
.pdpmid span.u-b-5b2e6.u-td-c9b77{display:none}

/* Карточка товара: чипы «Категории», «Цель», «Готовые курсы» под названием (product.php as6_pr_cats / as6_pr_goals / as6_pr_courses) */
.as6-pt{display:flex;flex-direction:column;gap:6px;margin-top:2px}
.as6-pt-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.as6-pt-l{flex:none;min-width:92px;font:500 11.5px 'Golos Text',system-ui,sans-serif;color:#8794a8}
.as6-pt-c{display:flex;flex-wrap:wrap;gap:6px}
.as6-pt-chip{display:inline-flex;align-items:center;height:26px;padding:0 11px;border-radius:99px;border:1px solid #dbe3ee;background:#fff;color:#2b3648;font:500 12px 'Golos Text',system-ui,sans-serif;text-decoration:none;white-space:nowrap}
.as6-pt-chip:hover{border-color:#1b4f9c;color:#1b4f9c}
.as6-pt-chip.is-goal{background:#e6f4ea;border-color:#c8e6cf;color:#1e7a40}
.as6-pt-chip.is-goal:hover{border-color:#1e7a40;color:#14612f}
.as6-pt-chip.is-course{background:#eef4fc;border-color:#c9d9f1;color:#1b4f9c}
@media (max-width:640px){.as6-pt-l{min-width:100%}}



/* ---- Главная: «Готовые курсы под цель» — карточка курса со списком товаров (homeCourses) ---- */
.as6-hc{border:1px solid #e3e9f1;border-radius:14px;background:#fff;padding:22px 24px;display:flex;flex-direction:column;gap:14px;height:100%;box-sizing:border-box}
.as6-hc-hd{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.as6-hc-t{margin:0;font:700 19px/1.25 'Golos Text',sans-serif;color:#121a26}
.as6-hc-t a{color:inherit;text-decoration:none}
.as6-hc-t a:hover{color:#1b4f9c}
.as6-hc-n{flex-shrink:0;font:600 12px 'Golos Text',sans-serif;color:#1b4f9c;background:#e9f0fa;border-radius:999px;padding:4px 10px}
.as6-hc-why{margin:0;font:400 14px/1.45 'Golos Text',sans-serif;color:#4e5d73}
.as6-hc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border-top:1px solid #edf1f6}
.as6-hc-it{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f6}
.as6-hc-ph{width:64px;height:72px;border-radius:10px;background:linear-gradient(180deg,#fff,#eef2f7);border:1px solid #e3e9f1;display:flex;align-items:center;justify-content:center;overflow:hidden}
.as6-hc-ph img{width:100%;height:100%;object-fit:contain;display:block}
.as6-hc-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.as6-hc-role{font:700 11px 'Golos Text',sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#d2232a}
.as6-hc-role:empty{display:none}
.as6-hc-name{font:600 14.5px/1.35 'Golos Text',sans-serif;color:#121a26;text-decoration:none}
.as6-hc-name:hover{color:#1b4f9c;text-decoration:underline}
.as6-hc-sub{font:400 13px 'Golos Text',sans-serif;color:#5f6e85}
.as6-hc-pr{display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:nowrap}
.as6-hc-pr b{font:700 15px 'Golos Text',sans-serif;color:#121a26}
.as6-hc-pr s{font:400 12px 'Golos Text',sans-serif;color:#8a97aa}
.as6-hc-ft{margin-top:auto;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px;padding-top:4px}
.as6-hc-sum{display:flex;flex-direction:column;gap:4px}
.as6-hc-sep{font:400 13px 'Golos Text',sans-serif;color:#5f6e85}
.as6-hc-sep s{color:#8a97aa}
.as6-hc-fin{display:flex;align-items:center;gap:8px}
.as6-hc-fin b{font:800 24px 'Golos Text',sans-serif;color:#121a26}
.as6-hc-fin em{font:700 12px 'Golos Text',sans-serif;font-style:normal;color:#fff;background:#d2232a;border-radius:6px;padding:3px 7px}
.as6-hc-save{align-self:flex-start;font:700 12.5px 'Golos Text',sans-serif;color:#1a7f37;background:rgba(26,127,55,.1);border-radius:999px;padding:4px 10px}
.as6-hc-act{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:220px}
.as6-hc-add{appearance:none;border:0;border-radius:10px;background:#1b4f9c;color:#fff;font:600 15px 'Golos Text',sans-serif;height:46px;padding:0 20px;cursor:pointer}
.as6-hc-add:hover{background:#163f7e}
.as6-hc-more{text-align:center;font:500 13px 'Golos Text',sans-serif;color:#1b4f9c;text-decoration:none}
.as6-hc-more:hover{text-decoration:underline}
@media(max-width:640px){
  .as6-hc{padding:16px}
  .as6-hc-t{font-size:17px}
  .as6-hc-it{grid-template-columns:52px minmax(0,1fr) auto;gap:10px}
  .as6-hc-ph{width:52px;height:60px}
  .as6-hc-ft{flex-direction:column;align-items:stretch}
  .as6-hc-act{min-width:0}
}

/* ---- Главная: инфографика над плашками доверия (trustStats) и значки колонок (.as6-trust) ---- */
.as6-ts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:16px}
.as6-ts-it{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e3e9f1;border-radius:14px;padding:18px 20px}
.as6-ts-ic{flex-shrink:0;width:48px;height:48px;border-radius:12px;background:#e9f0fa;position:relative}
.as6-ts-ic::after,.as6-trust>div::before{content:"";position:absolute;inset:12px;background:#1b4f9c;-webkit-mask:var(--as6-ic) center/contain no-repeat;mask:var(--as6-ic) center/contain no-repeat}
.as6-ts-ic[data-ic="box"]{--as6-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%208l-9-5-9%205v8l9%205%209-5z%22/%3E%3Cpath%20d%3D%22M3%208l9%205%209-5M12%2013v8%22/%3E%3C/svg%3E")}
.as6-ts-ic[data-ic="tag"]{--as6-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.6%2013.4l-7.2%207.2a2%202%200%200%201-2.8%200L3%2013V3h10l7.6%207.6a2%202%200%200%201%200%202.8z%22/%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%221.6%22/%3E%3C/svg%3E")}
.as6-ts-ic[data-ic="star"]{--as6-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l2.8%205.7%206.2.9-4.5%204.4%201.1%206.2L12%2017.3%206.4%2020.2l1.1-6.2L3%209.6l6.2-.9z%22/%3E%3C/svg%3E")}
.as6-ts-ic[data-ic="truck"]{--as6-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h11v10H3zM14%2010h4l3%203v3h-7%22/%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2218%22%20r%3D%221.8%22/%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%2218%22%20r%3D%221.8%22/%3E%3C/svg%3E")}
.as6-ts-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.as6-ts-tx b,.as6-ts-tx b *{font:800 24px/1.1 'Golos Text',sans-serif;color:#121a26}
.as6-ts-tx>span{font:400 13px/1.35 'Golos Text',sans-serif;color:#4e5d73}
.as6-trust>div{position:relative;padding-left:56px!important;min-height:44px}
.as6-trust>div::before{inset:auto;left:0;top:0;width:40px;height:40px;border-radius:10px;background:#1b4f9c;-webkit-mask:none;mask:none}
.as6-trust>div::after{content:"";position:absolute;left:10px;top:10px;width:20px;height:20px;background:#fff;-webkit-mask:var(--as6-ic) center/contain no-repeat;mask:var(--as6-ic) center/contain no-repeat}
.as6-trust>div:nth-child(1){--as6-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l8%203v6c0%204.5-3.4%208.2-8%209-4.6-.8-8-4.5-8-9V6z%22/%3E%3Cpath%20d%3D%22M8.5%2012l2.5%202.5%204.5-5%22/%3E%3C/svg%3E")}
.as6-trust>div:nth-child(2){--as6-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h11v10H3zM14%2010h4l3%203v3h-7%22/%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2218%22%20r%3D%221.8%22/%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%2218%22%20r%3D%221.8%22/%3E%3C/svg%3E")}
.as6-trust>div:nth-child(3){--as6-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2012a8%208%200%200%201-11.6%207.1L4%2020l1-4.6A8%208%200%201%201%2021%2012z%22/%3E%3C/svg%3E")}

/* ---- Главная: ряд чипов брендов — отступ от подвала ---- */
.as6-hbc{margin-bottom:64px!important}
@media(max-width:640px){
  .as6-ts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .as6-ts-it{flex-direction:column;align-items:flex-start;padding:14px;gap:10px}
  .as6-ts-tx b,.as6-ts-tx b *{font-size:20px}
}

/* ---- /kursy/: те же карточки курса, что на главной (.as6-hc), сеткой ---- */
.as6-hc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.as6-hc-goal{align-self:flex-start;font:600 12px 'Golos Text',sans-serif;color:#b3261e;background:#fdecec;border-radius:999px;padding:4px 10px;margin-top:-6px}
.as6-hc-miss{font:600 13px 'Golos Text',sans-serif;color:#b3261e}
.as6-hc-ph:empty::before{content:"";width:22px;height:22px;opacity:.35;background:#8a97aa;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:900px){.as6-hc-grid{grid-template-columns:1fr}}


/* ---- Экран «Результат подбора» (.as6-pg): раздел курсов, курс, цель — общая раскладка «набор + чек» ---- */
.as6-pg{--pg-ink:#121a26;--pg-mute:#4e5d73;--pg-soft:#5f6e85;--pg-line:#e3e9f1;--pg-blue:#1b4f9c;--pg-bg:#f5f7fa;display:flex;flex-direction:column;gap:22px;margin-top:8px;padding-bottom:40px;font-family:'Golos Text',system-ui,sans-serif;color:var(--pg-ink)}
.as6-pg-hd{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.as6-pg-chip{font:600 12.5px 'Golos Text',sans-serif;color:var(--pg-blue);background:#e9f0fa;border-radius:999px;padding:5px 12px}
.as6-pg-h1{margin:0;font:800 32px/1.15 'Golos Text',sans-serif;color:var(--pg-ink)}
.as6-pg-lead{margin:0;max-width:820px;font:400 15.5px/1.55 'Golos Text',sans-serif;color:var(--pg-mute)}
/* как работают курсы — сверху, коротко */
.as6-pg-how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.as6-pg-how-i{display:flex;gap:14px;align-items:flex-start;background:var(--pg-bg);border-radius:14px;padding:16px 18px}
.as6-pg-how-n{flex:none;width:34px;height:34px;border-radius:50%;background:var(--pg-blue);color:#fff;font:800 15px/34px 'Golos Text',sans-serif;text-align:center}
.as6-pg-how-tx{display:flex;flex-direction:column;gap:3px}
.as6-pg-how-tx b{font:700 15px 'Golos Text',sans-serif}
.as6-pg-how-tx>span{font:400 13.5px/1.45 'Golos Text',sans-serif;color:var(--pg-mute)}
.as6-pg-note{margin:0;font:400 12.5px/1.5 'Golos Text',sans-serif;color:var(--pg-soft)}
/* две колонки: набор слева, чек справа */
.as6-pg-cols{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}
.as6-pg-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.as6-pg-sec{background:#fff;border:1px solid var(--pg-line);border-radius:16px;padding:22px 24px}
.as6-pg-h2{margin:0 0 14px;display:flex;align-items:center;gap:10px;font:700 20px/1.25 'Golos Text',sans-serif}
.as6-pg-h2-n{font:600 12.5px 'Golos Text',sans-serif;color:var(--pg-blue);background:#e9f0fa;border-radius:999px;padding:4px 10px}
.as6-pg-p{margin:0 0 12px;font:400 14.5px/1.6 'Golos Text',sans-serif;color:var(--pg-mute)}
/* строки товаров: номер, фото, описание, цена */
.as6-pg-list{list-style:none;margin:0;padding:0;counter-reset:pg}
.as6-pg-it{counter-increment:pg;display:grid;grid-template-columns:28px 96px minmax(0,1fr) auto;gap:16px;align-items:start;padding:16px 0;border-top:1px solid #edf1f6}
.as6-pg-it:first-child{border-top:0;padding-top:4px}
.as6-pg-it::before{content:counter(pg);width:28px;height:28px;border-radius:50%;background:var(--pg-bg);color:var(--pg-blue);font:800 13px/28px 'Golos Text',sans-serif;text-align:center;margin-top:34px}
.as6-pg-ph{width:96px;height:104px;border-radius:12px;background:#fff;border:1px solid var(--pg-line);display:flex;align-items:center;justify-content:center;overflow:hidden}
.as6-pg-ph img{width:100%;height:100%;object-fit:contain;padding:6px;box-sizing:border-box}
.as6-pg-ph:empty,.as6-pg-mc-ph:empty{background:linear-gradient(180deg,#fff,#eef2f7)}
.as6-pg-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.as6-pg-role{font:700 11px 'Golos Text',sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#d2232a}
.as6-pg-role:empty{display:none}
.as6-pg-name{font:600 16px/1.35 'Golos Text',sans-serif;color:var(--pg-ink);text-decoration:none}
.as6-pg-name:hover{color:var(--pg-blue)}
.as6-pg-dose{font:500 13px/1.4 'Golos Text',sans-serif;color:#1a7f37}
.as6-pg-note2{font:400 13.5px/1.5 'Golos Text',sans-serif;color:var(--pg-mute)}
.as6-pg-fl{display:flex;flex-direction:column;gap:6px;margin-top:4px}
.as6-pg-fl-l{font:400 12.5px 'Golos Text',sans-serif;color:var(--pg-soft)}
.as6-pg-fl-l b{color:var(--pg-ink);font-weight:600}
.as6-pg-fl-row{display:flex;flex-wrap:wrap;gap:6px}
.as6-pg-pill{appearance:none;margin:0;border:1px solid #dde4ee;background:#fff;color:var(--pg-ink);border-radius:999px;padding:5px 11px;font:500 12.5px/1.2 'Golos Text',sans-serif;cursor:pointer}
.as6-pg-pill:hover{border-color:var(--pg-blue);color:var(--pg-blue)}
.as6-pg-pill.is-on{border-color:var(--pg-blue);background:#e9f0fa;color:var(--pg-blue);font-weight:600;cursor:default}
.as6-pg-off{font:400 12px 'Golos Text',sans-serif;color:#8a97aa}
.as6-pg-pr{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:120px;text-align:right}
.as6-pg-pr b{font:800 18px 'Golos Text',sans-serif;white-space:nowrap}
.as6-pg-pr s{font:400 13px 'Golos Text',sans-serif;color:#8a97aa;white-space:nowrap}
.as6-pg-one{appearance:none;margin:6px 0 0;border:0;background:none;padding:0;font:500 12.5px 'Golos Text',sans-serif;color:var(--pg-blue);cursor:pointer;white-space:nowrap}
.as6-pg-one:hover{text-decoration:underline}
.as6-pg-buy{appearance:none;margin-top:6px;border:0;border-radius:10px;background:#e9f0fa;color:var(--pg-blue);font:600 14px 'Golos Text',sans-serif;height:38px;padding:0 16px;cursor:pointer;white-space:nowrap}
.as6-pg-buy:hover{background:#d5e3f6}
/* как принимать */
.as6-pg-day{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.as6-pg-slot{display:flex;flex-direction:column;gap:6px;background:var(--pg-bg);border-radius:12px;padding:14px;border-top:4px solid #5b6b82}
.as6-pg-slot[data-t="Утро"]{border-top-color:#f0b429}
.as6-pg-slot[data-t="День"]{border-top-color:#1b4f9c}
.as6-pg-slot[data-t="Тренировка"]{border-top-color:#d2232a}
.as6-pg-slot b{font:700 13.5px 'Golos Text',sans-serif}
.as6-pg-slot>span{font:400 13px/1.45 'Golos Text',sans-serif;color:var(--pg-mute)}
.as6-pg-slot>span:empty::before{content:"—";color:#b9c4d4}
.as6-pg-rules{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.as6-pg-rules li{position:relative;padding-left:22px;font:400 13.5px/1.45 'Golos Text',sans-serif;color:var(--pg-mute)}
.as6-pg-rules li::before{content:"✓";position:absolute;left:0;top:0;color:#1a7f37;font-weight:700}
/* чек набора справа */
.as6-pg-side{position:sticky;top:96px}
.as6-pg-sum{background:#fff;border:1px solid var(--pg-line);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:14px;box-shadow:0 10px 30px rgba(18,26,38,.06)}
.as6-pg-sum-h{font:700 16px 'Golos Text',sans-serif}
.as6-pg-sum-sub{margin-top:-10px;font:400 13px 'Golos Text',sans-serif;color:var(--pg-soft)}
.as6-pg-rcpt{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.as6-pg-rcpt li{display:flex;justify-content:space-between;gap:12px;font:400 13.5px/1.35 'Golos Text',sans-serif;color:var(--pg-mute)}
.as6-pg-rcpt li>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.as6-pg-rcpt li b{flex:none;font-weight:600;color:var(--pg-ink);white-space:nowrap}
.as6-pg-sum .as6-pb{padding:14px;background:var(--pg-bg)}
.as6-pg-sum .as6-pb-t b{font-size:26px}
.as6-pg-add{appearance:none;margin:0;border:0;border-radius:12px;background:var(--pg-blue);color:#fff;font:700 16px 'Golos Text',sans-serif;min-height:52px;padding:0 20px;cursor:pointer;width:100%}
.as6-pg-add:hover{background:#163f7e}
.as6-pg-kit-more{text-align:center;font:500 13.5px 'Golos Text',sans-serif;color:var(--pg-blue);text-decoration:none}
.as6-pg-kit-more:hover{text-decoration:underline}
.as6-pg-doc{font:400 12px/1.45 'Golos Text',sans-serif;color:var(--pg-soft);text-align:center}
.as6-pg-mbar{display:none}
/* что ещё берут — компактные карточки */
.as6-pg-more{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.as6-pg-mc{display:flex;flex-direction:column;gap:6px;border:1px solid var(--pg-line);border-radius:12px;padding:10px;color:inherit;text-decoration:none;background:#fff}
.as6-pg-mc:hover{border-color:#c9d6e8}
.as6-pg-mc-ph{height:120px;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.as6-pg-mc-ph img{max-width:100%;max-height:100%;object-fit:contain}
.as6-pg-mc-n{font:600 13px/1.35 'Golos Text',sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}
.as6-pg-mc-pr{display:flex;gap:6px;align-items:baseline;margin-top:auto}
.as6-pg-mc-pr b{font:800 15px 'Golos Text',sans-serif}
.as6-pg-mc-pr s{font:400 12px 'Golos Text',sans-serif;color:#8a97aa}
.as6-pg-all{display:inline-block;margin-top:14px;font:600 14px 'Golos Text',sans-serif;color:var(--pg-blue);text-decoration:none}
@media(max-width:1100px){.as6-pg-cols{grid-template-columns:minmax(0,1fr) 320px}.as6-pg-more{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){
  .as6-pg-cols{grid-template-columns:1fr}
  .as6-pg-side{position:static}
  .as6-pg-how{grid-template-columns:1fr}
  .as6-pg-day{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .as6-pg{gap:16px}
  .as6-pg-h1{font-size:25px}
  .as6-pg-lead{font-size:14.5px}
  .as6-pg-sec{padding:16px;border-radius:14px}
  .as6-pg-h2{font-size:18px}
  .as6-pg-it{grid-template-columns:72px minmax(0,1fr);gap:12px}
  .as6-pg-it::before{display:none}
  .as6-pg-ph{width:72px;height:80px;grid-row:1/span 2}
  .as6-pg-pr{grid-column:2;flex-direction:row;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:4px 10px;min-width:0;text-align:left}
  .as6-pg-one,.as6-pg-buy{margin:0 0 0 auto}
  .as6-pg-more{grid-template-columns:repeat(2,minmax(0,1fr))}
  .as6-pg-mbar{display:flex;position:sticky;bottom:calc(var(--as6-tabbar,60px) + env(safe-area-inset-bottom,0px));z-index:5;align-items:center;justify-content:space-between;gap:12px;margin:0 -16px;padding:10px 16px;background:#fff;border-top:1px solid var(--pg-line);box-shadow:0 -6px 18px rgba(18,26,38,.06)}
  .as6-pg-mbar-p{display:flex;flex-direction:column;line-height:1.15}
  .as6-pg-mbar-p s{font:400 12px 'Golos Text',sans-serif;color:#8a97aa}
  .as6-pg-mbar-p b{font:800 19px 'Golos Text',sans-serif}
  .as6-pg-mbar .as6-pg-add{width:auto;min-height:44px;font-size:15px}
}

/* блок цены набора (чек курса и цели) */
.as6-pb{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:14px;background:#f5f7fa}
.as6-pb-r{display:flex;justify-content:space-between;gap:12px;font:400 14px 'Golos Text',sans-serif;color:#4e5d73}
.as6-pb-r s{color:#8a97aa}
.as6-pb-d{color:#1a7f37}
.as6-pb-d b{font-weight:700}
.as6-pb-t{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid rgba(18,26,38,.1);padding-top:10px;font:700 15px 'Golos Text',sans-serif;color:#121a26}
.as6-pb-t b{font:800 26px 'Golos Text',sans-serif}
.as6-pb-s{align-self:flex-start;background:rgba(26,127,55,.12);color:#1a7f37;font:700 13px 'Golos Text',sans-serif;padding:4px 10px;border-radius:999px}
@media(max-width:900px){
  /* телефон/планшет: чек набора — сразу после состава, до «Как принимать» */
  .as6-pg-cols{display:flex;flex-direction:column;gap:16px}
  .as6-pg-main{display:contents}
  .as6-pg-main>.as6-pg-sec:first-child{order:1}
  .as6-pg-side{order:2}
  .as6-pg-main>*:not(:first-child){order:3}
}
@media(max-width:640px){
  .as6-pg-mbar{padding-right:84px}   /* справа — кнопка чата */
}
@media(max-width:640px){.as6-pg-more>.as6-pg-mc:nth-child(n+9){display:none}}

@media(max-width:640px){.as6-hbc{margin-bottom:40px!important}}

/* ---- Яндекс Карты: плашка верхней строки и блок главной (оценка из настроек) ---- */
.rvplaque:has(.as6-yap)>span:first-child{display:none}
.as6-yap-w{display:inline-flex;align-items:center}
.as6-yap{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.as6-yap-st{color:#f5a623;font-size:12.5px;letter-spacing:1px}
.as6-yap-n{font:800 13px 'Golos Text',sans-serif;color:#121a26}
.as6-yap-t{font:500 12px 'Golos Text',sans-serif;color:#5f6e85}
.as6-yap-t0{font:600 13px 'Golos Text',sans-serif;color:#121a26}
.as6-ya{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:26px 30px;border-radius:18px;background:linear-gradient(120deg,#fff8e8 0%,#fff 55%);border:1px solid #f2e2b8;box-sizing:border-box;width:100%}
.as6-ya-score{display:flex;align-items:center;gap:14px;padding:14px 20px;border-radius:14px;background:#fff;border:1px solid #efe4c6;box-shadow:0 6px 18px rgba(245,166,35,.12)}
.as6-ya-num{font:800 44px/1 'Golos Text',sans-serif;color:#121a26;letter-spacing:-.02em}
.as6-ya-right{display:flex;flex-direction:column;gap:4px}
.as6-ya-st{color:#f5a623;font-size:20px;letter-spacing:2px;line-height:1}
.as6-ya-src{display:inline-flex;align-items:center;gap:6px;font:500 13px 'Golos Text',sans-serif;color:#5f6e85}
.as6-ya-logo{width:18px;height:18px;border-radius:50%;background:#fc3f1d;color:#fff;font:700 11px/18px Arial,sans-serif;text-align:center}
.as6-ya-tx{display:flex;flex-direction:column;gap:6px;min-width:0}
.as6-ya-h{font:700 19px/1.3 'Golos Text',sans-serif;color:#121a26}
.as6-ya-d{font:400 14px/1.5 'Golos Text',sans-serif;color:#4e5d73}
.as6-ya-act{display:flex;flex-direction:column;gap:8px;min-width:200px}
.as6-ya-btn,.as6-ya-btn2{display:flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border-radius:12px;font:600 14.5px 'Golos Text',sans-serif;text-decoration:none;white-space:nowrap}
.as6-ya-btn{background:#1b4f9c;color:#fff}
.as6-ya-btn:hover{background:#163f7e}
.as6-ya-btn2{background:#fff;color:#1b4f9c;border:1.5px solid #c9d6e8}
.as6-ya-btn2:hover{border-color:#1b4f9c}
@media(max-width:900px){.as6-ya{grid-template-columns:auto minmax(0,1fr)}.as6-ya-act{grid-column:1/-1;flex-direction:row}.as6-ya-act>*{flex:1}}
@media(max-width:640px){
  .as6-ya{grid-template-columns:1fr;gap:16px;padding:18px}
  .as6-ya-score{justify-self:start}
  .as6-ya-num{font-size:38px}
  .as6-ya-h{font-size:17px}
  .as6-ya-act{flex-direction:column}
  .as6-ya-act>*{flex:none}
}

/* ---- Товар: преимущества под блоком покупки (перенесены из «Доставки») ---- */
.as6-prt{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px;padding:16px 18px;border:1px solid #e3e9f1;border-radius:14px;background:#fff}
.as6-prt-i{position:relative;display:flex;flex-direction:column;gap:2px;padding-left:44px;min-height:32px;justify-content:center}
.as6-prt-i::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:10px;background:#e9f0fa}
.as6-prt-i::after{content:"";position:absolute;left:7px;top:50%;transform:translateY(-50%);width:18px;height:18px;background:#1b4f9c;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.as6-prt-i b{font:600 14px 'Golos Text',sans-serif;color:#121a26}
.as6-prt-i>span{font:400 12.5px 'Golos Text',sans-serif;color:#5f6e85}
.as6-prt-i[data-ic="orig"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.2-8 9-4.6-.8-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E")}
.as6-prt-i[data-ic="ret"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v5h5'/%3E%3C/svg%3E")}
.as6-prt-i[data-ic="pay"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")}

/* TEST header wishlist: centered 24px heart and one label; count is an absolute corner badge.
   The localized count remains intact for accessibility. Its noun wraps below the clipped badge line. */
.hdrrow > a[data-onclick="goFavs"]{
  position:relative;display:grid;grid-template-rows:24px 13px;grid-template-columns:1fr;
  justify-content:center;align-content:center;justify-items:center;align-items:center;row-gap:5px;
  width:64px;min-width:64px;height:60px;flex:0 0 64px;
  box-sizing:border-box;border-radius:8px;white-space:nowrap;
}
.hdrrow > a[data-onclick="goFavs"] > span:first-child{
  grid-row:1;grid-column:1;align-self:center;display:block;width:24px;height:24px;font-size:0!important;
  background-color:#4e5d73;
  -webkit-mask:url("../icons/wishlist-heart.svg?v=2") center/24px 24px no-repeat;
  mask:url("../icons/wishlist-heart.svg?v=2") center/24px 24px no-repeat;
}
.hdrrow > a[data-onclick="goFavs"]:has(> span:nth-child(3)) > span:first-child{
  background-color:#b45c65;
  -webkit-mask-image:url("../icons/wishlist-heart-filled.svg?v=2");
  mask-image:url("../icons/wishlist-heart-filled.svg?v=2");
}
.hdrrow > a[data-onclick="goFavs"] > span:nth-child(2){grid-row:2;grid-column:1;line-height:13px}
.hdrrow > a[data-onclick="goFavs"] > span:nth-child(3){
  position:absolute;top:0;right:auto;left:calc(50% + 5px);transform:none;display:block;
  width:26px;min-width:26px;height:17px;padding:0;box-sizing:border-box;overflow:hidden;
  background:#1b4f9c;color:#fff;border-radius:999px;box-shadow:0 0 0 2px #fff;
  font:700 10.5px/17px 'Golos Text',sans-serif;white-space:normal;word-spacing:30px;text-align:center;font-variant-numeric:tabular-nums;
}
.hdrrow > a[data-onclick="goFavs"] > span:nth-child(3) > .sc-interp{display:block;height:17px;overflow:hidden;white-space:normal;word-spacing:30px;line-height:17px}
.hdrrow > a[data-onclick="goFavs"]:not(:has(> span:nth-child(3)))::after{content:"0";position:absolute;top:0;left:calc(50% + 5px);width:26px;height:17px;box-sizing:border-box;border-radius:999px;background:#eef2f7;color:#8794a8;box-shadow:0 0 0 2px #fff;font:700 10.5px/17px 'Golos Text',sans-serif;text-align:center;font-variant-numeric:tabular-nums}
.hdrrow > a[data-onclick="goFavs"]:hover{background-color:#f4f7fc}
.hdrrow > a[data-onclick="goFavs"]:focus-visible{outline:2px solid #1b4f9c;outline-offset:3px}
.hdrrow > a[data-onclick="goFavs"]:active{background-color:#e9f0fa}

/* Wishlist page: explicit removal and separate recommendations (TEST 2026-10-11). */
.as6-fav{max-width:1200px;margin:28px auto 52px;padding:0 24px;box-sizing:border-box;color:#121a26}
.as6-fav .as6-fav-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.as6-fav h1{margin:0;font:800 28px/1.2 'Golos Text',sans-serif}
.as6-fav .as6-fav-count{font-size:13px;color:#64748b}
.as6-fav .as6-fav-all,.as6-fav .as6-fav-empty>a{min-height:44px;padding:0 18px;border:0;border-radius:22px;background:#1b4f9c;color:#fff;font:600 13px 'Golos Text',sans-serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.as6-fav .as6-fav-all{margin-left:auto}
.as6-fav .as6-fav-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.as6-fav .as6-fav-card,.as6-fav .as6-fav-recommend{display:flex;flex-direction:column;gap:8px;min-width:0;padding:14px;border:1px solid #e3e9f1;border-radius:12px;background:#fff;color:inherit;text-decoration:none;box-sizing:border-box}
.as6-fav .as6-fav-photo{position:relative;aspect-ratio:1;background:#fff;border-radius:10px;overflow:hidden}
.as6-fav .as6-fav-photo>a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;padding:10px;box-sizing:border-box}
.as6-fav .as6-fav-photo img,.as6-fav .as6-fav-recommend-photo img{max-width:100%;width:100%;height:100%;object-fit:contain}
.as6-fav .as6-fav-disc{position:absolute;top:8px;left:8px;background:#d2232a;color:#fff;font-size:11px;font-weight:700;padding:4px 6px;border-radius:7px;pointer-events:none}
.as6-fav .as6-fav-remove{position:absolute;top:4px;right:4px;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;border:1px solid #e3e9f1;border-radius:50%;background:#fff;color:#64748b;cursor:pointer;box-shadow:0 2px 5px #121a2608}
.as6-fav .as6-fav-remove:hover{background:#fff5f5;color:#b45c65;border-color:#ead3d6}
.as6-fav .as6-fav-remove:active{background:#fae9eb}
.as6-fav .as6-fav-remove:disabled{opacity:.5;cursor:wait}
.as6-fav .as6-fav-brand{min-height:13px;font-size:10px;font-weight:600;line-height:1.3;letter-spacing:.6px;color:#64748b}
.as6-fav h3{margin:0;font:600 13px/1.35 'Golos Text',sans-serif;overflow-wrap:anywhere}
.as6-fav .as6-fav-card h3,.as6-fav .as6-fav-recommend h3{min-height:35.1px}
.as6-fav h3>a{color:inherit;text-decoration:none}
.as6-fav .as6-fav-rating{font-size:11px;color:#f4a52b}
.as6-fav .as6-fav-rating>span{color:#64748b}
.as6-fav .as6-fav-price{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:8px;font-variant-numeric:tabular-nums}
.as6-fav .as6-fav-price>b{font-size:16px;font-weight:800;line-height:1.25;white-space:nowrap}
.as6-fav .as6-fav-price>s{font-size:11px;color:#64748b;white-space:nowrap}
.as6-fav .as6-fav-price>button{margin-left:auto;width:44px;height:44px;border:0;border-radius:10px;background:#e9f0fa;color:#1b4f9c;font-size:23px;font-weight:600;cursor:pointer}
.as6-fav .as6-fav-recs,.as6-fav .as6-fav-courses{margin-top:36px;padding:24px 20px;border:1px solid #e3e9f1;border-radius:16px;background:#f5f7fa}
.as6-fav .as6-fav-section-head{margin-bottom:18px}
.as6-fav h2{margin:0;font:700 22px/1.3 'Golos Text',sans-serif}
.as6-fav .as6-fav-section-head>p{margin:7px 0 0;color:#64748b;font-size:13px;line-height:1.5}
.as6-fav .as6-fav-recommend-photo{display:flex;aspect-ratio:1;align-items:center;justify-content:center;margin-bottom:4px;padding:12px;box-sizing:border-box;overflow:hidden;border-radius:10px}
.as6-fav .as6-fav-recommend:hover,.as6-fav .as6-fav-course:hover{border-color:#bbcce5}
.as6-fav .as6-fav-recommend:hover h3,.as6-fav .as6-fav-course:hover h3{color:#1b4f9c}
.as6-fav .as6-fav-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.as6-fav .as6-fav-course{display:flex;flex-direction:column;gap:10px;padding:18px;min-width:0;border:1px solid #e3e9f1;border-radius:12px;background:#fff;color:inherit;text-decoration:none}
.as6-fav .as6-fav-course-photos{display:flex;align-items:center;justify-content:center;height:128px;padding:6px 0;gap:10px;box-sizing:border-box}
.as6-fav .as6-fav-course-photos>img{width:calc((100% - 20px)/3);max-width:90px;height:100%;object-fit:contain;min-width:0}
.as6-fav .as6-fav-course-count{font-size:12px;color:#64748b}
.as6-fav .as6-fav-course-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px;font-size:13px}
.as6-fav .as6-fav-course-foot>b{font-size:16px;line-height:1.25;font-weight:800;font-variant-numeric:tabular-nums}
.as6-fav .as6-fav-course-foot>span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border-radius:10px;box-sizing:border-box;background:#e9f0fa;color:#1b4f9c;font-size:12px;font-weight:600}
.as6-fav .as6-fav-course:active .as6-fav-course-foot>span{background:#dce7f6}
.as6-fav .as6-fav-empty{padding:36px 20px;text-align:center;border:1px solid #e3e9f1;border-radius:14px}
.as6-fav .as6-fav-empty-icon{display:block;width:32px;height:32px;background:#8794a8;mask:url('../icons/wishlist-heart.svg?v=2') center/contain no-repeat;-webkit-mask:url('../icons/wishlist-heart.svg?v=2') center/contain no-repeat;margin:0 auto 14px}
.as6-fav .as6-fav-empty>p{max-width:380px;margin:12px auto 20px;font-size:13px;line-height:1.6;color:#64748b}
.as6-fav .as6-fav-error{padding:12px 16px;background:#fff5f5;border:1px solid #ead3d6;border-radius:10px;color:#93434e;font-size:13px}
.as6-fav .as6-fav-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.as6-fav a:focus-visible,.as6-fav button:focus-visible{outline:2px solid #1b4f9c;outline-offset:3px}
@media(max-width:900px){.as6-fav .as6-fav-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.as6-fav .as6-fav-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.as6-fav{padding:0 16px;margin-top:24px}.as6-fav h1{font-size:24px}.as6-fav .as6-fav-head{gap:10px}.as6-fav .as6-fav-all{font-size:12px;padding:0 12px}.as6-fav .as6-fav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.as6-fav .as6-fav-card,.as6-fav .as6-fav-recommend{padding:10px}.as6-fav .as6-fav-recs,.as6-fav .as6-fav-courses{padding:18px 12px;margin-top:28px}.as6-fav h2{font-size:20px}.as6-fav .as6-fav-price>b{font-size:16px}.as6-fav .as6-fav-course-grid{grid-template-columns:1fr}.as6-fav .as6-fav-course-photos{height:112px}}

/* Cart cross-sells: let the existing row cards wrap before their text collapses. */
@layer proto {
  [data-screen-label="Корзина"] .grid3:has(>div>button[data-onclick^="addons."]){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}
}
[data-screen-label="Корзина"] .grid3>div:has(>button[data-onclick^="addons."])>span>span:last-child>span{white-space:nowrap}
@media (max-width:640px){
  [data-screen-label="Корзина"] .stackm>div:first-child>div:first-child>div:last-of-type{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
  [data-screen-label="Корзина"] .stackm>div:first-child>div:first-child>div:last-of-type>span{left:auto}
  [data-screen-label="Корзина"] .stackm>div:first-child>div:first-child>div:last-of-type>span:first-child{white-space:nowrap}
  [data-screen-label="Корзина"] .stackm>div:first-child>div:first-child>div:last-of-type>span:nth-child(2){text-align:center}
  [data-screen-label="Корзина"] .stackm>div:first-child>div:first-child>div:last-of-type>span:last-child{text-align:right}
}

/* Tablet header: allow search to shrink without pushing the cart outside the viewport. */
@media (min-width:641px) and (max-width:900px){
  .hdrrow{gap:12px}
  .hdrrow .hdrsearch{min-width:0}
  .hdrrow .hdrsearch input{min-width:0;width:100%}
  [data-screen-label="Корзина"] .stackm{grid-template-columns:minmax(0,1fr)}
}

/* Narrow tablet footer: preserve five columns with room for their existing labels. */
@media (min-width:641px) and (max-width:700px){
  footer>.stackm{column-gap:16px}
}

/* Cart: keep mobile support beside the bottom navigation, away from item prices. */
@media (max-width:640px){
  body:has([data-screen-label="Корзина"]):not(:has(.ckBn,.geoAsk,.smartBn)) .mtab{padding-right:62px}
  body:has([data-screen-label="Корзина"]) .msgWidget{right:9px;z-index:106;pointer-events:none}
  body:has([data-screen-label="Корзина"]) .msgWidget>button{width:44px;height:44px;pointer-events:auto}
  body:has([data-screen-label="Корзина"]) .msgWidget>[data-screen-label="Виджет мессенджеров"]{max-height:calc(100dvh - 114px);overflow-y:auto;pointer-events:auto}
}
@layer proto{
  @media (max-width:640px){
    body:has([data-screen-label="Корзина"]) .msgWidget{bottom:7px!important}
  }
}

/* Tablet cart: reserve a support gutter and keep the expanded panel on screen. */
@media (min-width:641px) and (max-width:900px){
  [data-screen-label="Корзина"]{padding-right:88px}
  body:has([data-screen-label="Корзина"]) .msgWidget>[data-screen-label="Виджет мессенджеров"]{max-height:calc(100dvh - 134px);overflow-y:auto}
}

/* Tablet topbar: keep its existing links and contact block inside the viewport. */
@media (min-width:641px) and (max-width:900px){
  .wrapm.padm:has(>button[data-onclick="toggleCity"]){flex-wrap:wrap;height:auto;min-height:32px;row-gap:4px}
}

/* Home cards keep the existing narrow-screen grid through tablet widths. */
@media (min-width:641px) and (max-width:900px){
  [data-screen-label="Главная"] .grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* menu.js opens the mobile catalog below 850px; keep its panel visible there. */
@layer proto{
@media (min-width:641px) and (max-width:849px){
  .mobonly[data-screen-label="Мобильное меню"]{display:flex!important}
}
}

/* A long category word must wrap inside the existing mobile tile. */
@media (max-width:640px){
  [data-screen-label="Главная"] .cattile h3{overflow-wrap:anywhere}
}

/* Search heading: wrap unbroken queries inside the existing flex row. */
[data-screen-label="Результаты поиска"] h1{overflow-wrap:anywhere}
