/* ============================================================
   М-Фактор — единая таблица стилей
   Все страницы используют ТОЛЬКО эти классы, дублей нет.

   СТРУКТУРА ФАЙЛА:
   1) БАЗА — переменные, сброс, типографика, кнопки, формы,
      сетки, карточки, шапка, меню, подвал, модалки (все страницы)
   2) СТРАНИЦА: Главная (front-page.php)
   3) СТРАНИЦА: Категория товара (WooCommerce archive-product.php)
   4) СТРАНИЦА: Карточка товара (WooCommerce single-product.php)
   5) СТРАНИЦА: Корзина (WooCommerce cart.php)
   6) АДАПТИВ — общие медиазапросы
   Новые страницы: добавлять свой раздел ПЕРЕД «АДАПТИВ»,
   сначала проверив, нет ли готового класса в БАЗЕ.
   ============================================================ */

/* ============ 1) БАЗА (все страницы) ============ */
:root{
  --accent:#386FAF; --accent-d:#2C5A8F; --accent-dd:#254D7C;
  --ink:#2F3438; --text:#4B4F52; --muted:#7B838A; --faint:#9AA3AB;
  --line:#E3E9F0; --line-l:#EFF3F7; --bg:#F4F7FA; --bg-acc:#EDF3FA;
  --orange:#E8833A; --green:#3E9B4F; --border-input:#D8E0E8;
  --r:10px; --r-l:16px;
  --pad-x:clamp(16px,3vw,48px); --gap-sec:clamp(40px,5vw,80px);
  --gap-cards:clamp(12px,1.5vw,20px); --gap-head:clamp(18px,2.5vw,32px);
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Golos Text',Arial,sans-serif;color:var(--text);background:#fff;overflow-x:clip}
img{max-width:100%;height:auto}
a{color:var(--accent);text-decoration:none;cursor:pointer}
a:hover{color:var(--accent-d)}
a:active{color:var(--accent-dd)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
button{cursor:pointer;font-family:inherit}
button:disabled{opacity:.5;cursor:not-allowed}
input::placeholder,textarea::placeholder{color:var(--faint)}

/* ---------- Каркас ---------- */
.container{max-width:1560px;margin-inline:auto;padding-inline:var(--pad-x)}
.section{padding-top:var(--gap-sec)}
.section--pb{padding-bottom:var(--gap-sec)}
.section--gray{background:var(--bg);margin-top:var(--gap-sec);padding-bottom:var(--gap-sec)}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:var(--gap-head)}
.section-head .t2,.section-head .t3{margin-bottom:0}

/* ---------- Типографика ---------- */
.h1{margin:0 0 18px;font:700 clamp(30px,3.4vw,54px)/1.12 'Play',sans-serif;color:var(--ink);text-wrap:balance}
.t2{margin:0 0 var(--gap-head);font:700 clamp(24px,2.6vw,40px)/1.18 'Play',sans-serif;color:var(--ink)}
.t3{margin:0 0 18px;font:700 clamp(21px,2vw,30px)/1.25 'Play',sans-serif;color:var(--ink)}
.lead{margin:0 0 22px;font-size:clamp(15px,1.2vw,18px);line-height:1.6;max-width:560px}
.label{font:600 12px 'Golos Text',sans-serif;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:10px}
.note{font-size:12px;color:var(--muted)}
.link-more{display:inline-flex;align-items:center;gap:7px;font:500 14.5px 'Golos Text',sans-serif;white-space:nowrap}

/* ---------- Кнопки ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:none;background:var(--accent);color:#fff;border-radius:var(--r);padding:13px 24px;font:600 15px 'Golos Text',sans-serif;text-align:center;cursor:pointer}
.btn:hover{background:var(--accent-d);color:#fff}
.btn:active{background:var(--accent-dd);color:#fff}
.btn--outline{background:#fff;color:var(--accent);border:1.5px solid var(--accent)}
.btn--outline:hover{background:var(--bg-acc);color:var(--accent)}
.btn--outline:active{background:#DEEAF6}
.btn--white{background:#fff;color:var(--accent)}
.btn--white:hover{background:var(--bg-acc);color:var(--accent-d)}
.btn--ghost{background:none;border:1.5px solid rgba(255,255,255,.55);color:#fff}
.btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn--sm{padding:10px 22px;font-size:14px}
.btn--block{width:100%}
.icon-btn{position:relative;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:1.5px solid var(--border-input);background:#fff;border-radius:var(--r);color:var(--text);cursor:pointer}
.icon-btn:hover{border-color:var(--accent);color:var(--accent)}
.icon-btn--flat{border:none;width:42px;height:42px}
.icon-btn--sq{border:none;background:var(--bg);border-radius:8px;width:34px;height:34px}
.icon-btn--sq:hover{background:var(--line)}
.badge-count{position:absolute;top:-7px;right:-7px;background:var(--orange);color:#fff;border-radius:99px;font:700 11px 'Golos Text',sans-serif;min-width:19px;height:19px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.badge{align-self:flex-start;background:var(--orange);color:#fff;border-radius:8px;padding:4px 12px;font:600 12px 'Golos Text',sans-serif}
.badge--on-img{position:absolute;top:10px;left:10px;padding:4px 10px;font-size:11.5px}

/* ---------- Формы ---------- */
.input{border:1.5px solid var(--border-input);border-radius:var(--r);padding:12px 15px;font:400 14.5px 'Golos Text',sans-serif;color:var(--text);width:100%;min-width:0}
.input:focus{border-color:var(--accent);outline:none}
textarea.input{resize:vertical}
.form{display:flex;flex-direction:column;gap:12px}
.form-row{display:flex;gap:10px;flex-wrap:wrap}
.form-row .input,.form-row .btn{flex:1 1 140px;width:auto}
.form-row .btn{white-space:nowrap}
.consent{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;color:var(--muted);cursor:pointer}
.consent input{margin:2px 0 0;accent-color:var(--accent);cursor:pointer}
.search{display:flex}
.search .input{border-radius:var(--r) 0 0 var(--r);border-right:none;flex:1}
.search__btn{border:none;background:var(--accent);color:#fff;border-radius:0 var(--r) var(--r) 0;padding:0 18px;display:flex;align-items:center}
.search__btn:hover{background:var(--accent-d)}
.search__btn:active{background:var(--accent-dd)}
.form-ok{background:#fff;border:1px solid #CBE3CE;border-radius:var(--r-l);padding:22px;display:flex;gap:12px;align-items:center;animation:fadeIn .3s ease}
.ok-dot{width:34px;height:34px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ok-dot--lg{width:52px;height:52px;display:inline-flex;margin-bottom:14px}

/* ---------- Сетки и карточки ---------- */
.grid{display:grid;gap:var(--gap-cards)}
.grid--products{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr))}
.grid--cats{grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr))}
.grid--adv{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))}
.grid--wide{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.grid--related{grid-template-columns:repeat(4,minmax(0,1fr))}
.product-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:14px;display:flex;flex-direction:column;transition:box-shadow .15s,border-color .15s}
.product-card:hover{box-shadow:0 12px 28px rgba(47,52,56,.09);border-color:#CDD9E4}
.product-card__media{position:relative;margin-bottom:12px}
.product-card__img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:12px;display:block}
.product-card__title{font:500 14.5px/1.4 'Golos Text',sans-serif;color:var(--ink);margin-bottom:5px}
.product-card__title:hover{color:var(--accent)}
.product-card__spec{font-size:12.5px;color:var(--muted);margin-bottom:12px}
.product-card__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.price{font:700 17px 'Golos Text',sans-serif;color:var(--ink)}
.price__unit{font-size:12px;color:var(--muted);font-weight:400}
.cart-add{border:none;background:var(--accent);color:#fff;border-radius:var(--r);width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cart-add:hover{background:var(--accent-d)}
.cart-add:active{background:var(--accent-dd)}
.cat-card{position:relative;background:var(--bg);border-radius:var(--r-l);padding:20px;min-height:150px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;border:1px solid transparent;transition:border-color .15s}
.cat-card:hover{border-color:var(--accent)}
.cat-card__title{font:600 16.5px 'Golos Text',sans-serif;color:var(--ink);display:block;margin-bottom:6px}
.cat-card__title:hover{color:var(--accent)}
.cat-card__note{font-size:13px;color:var(--muted)}
.cat-card__foot{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.cat-card__price{font:600 14px 'Golos Text',sans-serif;color:var(--accent)}
.cat-card__img{width:76px;height:76px;object-fit:cover;border-radius:12px;flex-shrink:0}
.adv-card{background:#fff;border-radius:var(--r-l);padding:22px}
.adv-card__icon{width:44px;height:44px;border-radius:12px;background:var(--bg-acc);color:var(--accent);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.adv-card__title{font:600 16px 'Golos Text',sans-serif;color:var(--ink);margin-bottom:7px}
.adv-card__text{font-size:13.5px;line-height:1.55;color:var(--muted)}
.promo-card{border:1px solid var(--line);border-radius:var(--r-l);padding:24px;background:linear-gradient(135deg,#FDFEFF,#F0F5FA);display:flex;flex-direction:column;gap:10px}
.promo-card:hover{border-color:#CDD9E4}
.promo-card__title{font:600 17px/1.35 'Golos Text',sans-serif;color:var(--ink)}
.promo-card__title:hover{color:var(--accent)}
.promo-card__text,.review-card blockquote{font-size:13.5px;line-height:1.55;color:var(--muted)}
.review-card{margin:0;background:var(--bg);border-radius:var(--r-l);padding:24px;display:flex;flex-direction:column;gap:12px}
.review-card blockquote{margin:0;font-size:14.5px;line-height:1.6;color:var(--text)}
.review-card figcaption{font:600 14px 'Golos Text',sans-serif;color:var(--ink)}
.stars{color:#E8A63A;font-size:15px;letter-spacing:2px}
.review-card .city{font-weight:400;color:var(--muted)}
.post-card{border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s}
.post-card:hover{box-shadow:0 12px 28px rgba(47,52,56,.09)}
.post-card__medialink{display:block}
.post-card__img{width:100%;height:auto;aspect-ratio:16/8;object-fit:cover;display:block}
.post-card__body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px}
.post-card__meta{font-size:12.5px;color:var(--muted)}
.post-card__title{font:600 16px/1.4 'Golos Text',sans-serif;color:var(--ink)}
.post-card__title:hover{color:var(--accent)}

/* ============ 2) СТРАНИЦА: Главная (front-page.php) ============ */
/* ---------- Первый экран ---------- */
.hero{background:linear-gradient(180deg,#EFF4FA 0%,#FDFEFF 100%)}
.hero__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:clamp(28px,4vw,64px);align-items:center;padding-block:var(--gap-sec)}
.check-list{list-style:none;margin:0 0 26px;padding:0;display:flex;flex-direction:column;gap:10px}
.check-list li{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500;color:var(--ink)}
.check-dot{width:22px;height:22px;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.lead-form{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:18px;box-shadow:0 10px 30px rgba(56,111,175,.08);max-width:560px}
.lead-form__title{font:600 15px 'Golos Text',sans-serif;color:var(--ink);margin-bottom:12px}
.lead-form .consent{margin-top:12px}
.hero__media{position:relative}
.hero__img{width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:20px;display:block;box-shadow:0 20px 50px rgba(56,111,175,.14)}
.hero__stats{position:absolute;left:18px;bottom:18px;background:rgba(255,255,255,.94);border-radius:12px;padding:12px 18px;display:flex;gap:22px}
.stat__num{font:700 20px 'Play',sans-serif;color:var(--accent)}
.stat__cap{font-size:12px;color:var(--muted)}

/* ---------- Шапка ---------- */
.header-top{display:flex;align-items:center;gap:clamp(16px,2vw,32px);flex-wrap:wrap;padding-block:14px}
.logo{display:flex;flex-direction:column;gap:4px;flex-shrink:0}
.logo:hover{color:inherit}
.logo img{width:clamp(140px,11vw,190px);height:auto;display:block}
.logo--drawer img,.logo--drawer{width:130px}
.logo__desc{font-size:11.5px;color:var(--muted);letter-spacing:.02em}
.header-search{flex:1 1 260px;min-width:220px;max-width:520px}
.contact-col{display:flex;flex-direction:column;gap:3px}
.phone{font:700 17px 'Golos Text',sans-serif;color:var(--ink)}
.phone:hover{color:var(--accent)}
.phone--sm{font-size:15px}
.phone--lg{font-size:18px;display:block;margin-bottom:4px}
.socials{display:flex;gap:8px}
.social{width:36px;height:36px;border-radius:50%;background:var(--bg-acc);color:var(--accent);display:flex;align-items:center;justify-content:center;font:700 9px 'Golos Text',sans-serif}
.social:hover{background:var(--accent);color:#fff}
.social--bordered{background:#fff;border:1px solid var(--line)}
.header-actions{display:flex;gap:10px;align-items:center;margin-left:auto}
.burger{flex-direction:column;gap:4px}
.burger span{width:20px;height:2px;background:var(--text);border-radius:2px}
.header-contacts-m{display:flex;gap:14px;align-items:center;width:100%;justify-content:space-between;margin-top:2px}
.header-search-m{width:100%}
.chips{overflow-x:auto;padding:0 16px 12px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips__row{display:flex;gap:8px;width:max-content}
.chip{flex-shrink:0;background:var(--bg-acc);color:var(--accent);border-radius:99px;padding:8px 14px;font:500 13px 'Golos Text',sans-serif;white-space:nowrap}
.chip:hover{background:var(--accent);color:#fff}
.chip.is-active{background:var(--accent);color:#fff}

/* ---------- Меню ---------- */
.menu-wrap{position:sticky;top:8px;z-index:60;padding:4px 0 14px}
.menu-nav{position:relative}
.menu-bar{background:var(--bg);border-radius:14px;padding:6px;display:flex;align-items:center;gap:2px;box-shadow:0 6px 18px rgba(47,52,56,.08)}
.menu-center{flex:1;display:flex;align-items:center;justify-content:space-evenly;margin:0 12px 0 clamp(16px,2vw,40px)}
.menu-link{padding:11px 16px;border-radius:var(--r);font:500 14.5px 'Golos Text',sans-serif;color:var(--ink);display:flex;align-items:center;gap:6px}
.menu-link:hover{color:var(--accent);background:#fff}
.menu-link--mail{color:var(--accent)}
.menu-link--mail:hover{background:#fff;color:var(--accent-d)}
.menu-right{display:flex;align-items:center;gap:6px}
.has-sub{position:relative}
.submenu{display:none;position:absolute;left:0;top:100%;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px rgba(47,52,56,.12);min-width:190px;z-index:70;padding:8px;flex-direction:column;animation:fadeIn .15s ease}
.has-sub:hover .submenu,.has-sub:focus-within .submenu{display:flex}
.submenu a{padding:10px 14px;border-radius:8px;font:500 14px 'Golos Text',sans-serif;color:var(--ink);white-space:nowrap}
.submenu a:hover{background:var(--bg-acc);color:var(--accent)}

/* ---------- Мега-меню ---------- */
.mega{display:none;position:absolute;left:var(--pad-x);right:var(--pad-x);top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;box-shadow:0 24px 48px rgba(47,52,56,.14);z-index:70;animation:fadeIn .15s ease}
.mega.is-open{display:block}
.mega__inner{display:flex;width:100%}
.mega__rail{flex:0 0 300px;background:var(--bg);padding:14px 0}
.mega__cat{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 22px;font:500 14.5px 'Golos Text',sans-serif;color:var(--ink)}
.mega__cat.is-active,.mega__cat:hover{background:#fff;color:var(--accent);font-weight:600;box-shadow:inset 3px 0 0 var(--accent)}
.mega__panel{display:none;flex:1;padding:26px 32px 30px}
.mega__panel.is-active{display:block}
.mega__title{font:700 17px 'Play',sans-serif;color:var(--ink);display:inline-block;margin-bottom:18px}
.mega__title:hover{color:var(--accent)}
.mega__groups{display:flex;gap:clamp(20px,3vw,48px);flex-wrap:wrap;align-items:flex-start}
.mega__group{min-width:120px}
.mega__list{display:flex;flex-direction:column;gap:2px}
.mega__list a{padding:5px 0;font:400 14px 'Golos Text',sans-serif;color:var(--text)}
.mega__list a:hover{color:var(--accent)}
.mega__hint{margin:0;max-width:480px;font-size:14.5px;line-height:1.6;color:var(--muted)}

/* ---------- Мобильное меню (drawer) ---------- */
.drawer{position:fixed;inset:0;z-index:100;visibility:hidden;opacity:0;transition:opacity .2s,visibility .2s}
.drawer.is-open{visibility:visible;opacity:1}
.drawer__overlay{position:absolute;inset:0;background:rgba(47,52,56,.5)}
.drawer__panel{position:absolute;top:0;left:0;bottom:0;width:min(360px,88vw);background:#fff;display:flex;flex-direction:column;transform:translateX(-100%);transition:transform .25s ease;box-shadow:20px 0 60px rgba(47,52,56,.2)}
.drawer.is-open .drawer__panel{transform:none}
.drawer__head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #E9EEF3}
.drawer__nav{padding:10px 18px 30px;overflow-y:auto;flex:1}
.drawer__nav .label{margin:12px 0 6px}
.drawer__link{display:block;padding:11px 0;border-bottom:1px solid var(--line-l);font:500 15px 'Golos Text',sans-serif;color:var(--ink)}
.drawer__link:hover{color:var(--accent)}
.drawer__all{display:block;padding:6px 0;font:600 14px 'Golos Text',sans-serif}
.close-btn{border:none;background:none;padding:8px;color:var(--text)}

/* ---------- Аккордеоны (details) ---------- */
.acc{border-bottom:1px solid var(--line-l)}
.acc summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;font:500 15px 'Golos Text',sans-serif;color:var(--ink);cursor:pointer;list-style:none}
.acc summary::-webkit-details-marker{display:none}
.acc__body{padding:0 0 12px}
.acc__body .label{margin:10px 0 4px;font-size:11px}
.tag-list{display:flex;flex-wrap:wrap;gap:6px}
.tag{background:var(--bg);border-radius:8px;padding:6px 11px;font:400 13px 'Golos Text',sans-serif;color:var(--text)}
.tag:hover{background:var(--bg-acc);color:var(--accent)}
.faq{border:1px solid var(--line);border-radius:14px;padding:0 20px;background:#fff}
.faq summary{padding:16px 0;font:600 15px 'Golos Text',sans-serif;color:var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq p{margin:0;padding:0 0 18px;font-size:14.5px;line-height:1.65;color:var(--text)}
.faq-list{display:flex;flex-direction:column;gap:10px}

/* ---------- Таблицы ---------- */
.table-card{border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden}
.tbl{width:100%;border-collapse:collapse;font-size:14.5px}
.tbl caption{text-align:left;padding:16px 20px;font:600 16px 'Golos Text',sans-serif;color:var(--ink);border-bottom:1px solid var(--line);background:#FAFBFD}
.tbl thead tr{background:#FAFBFD;text-align:left}
.tbl th{padding:12px 20px;font-weight:600;color:var(--muted);border-bottom:1px solid var(--line)}
.tbl tbody tr{border-bottom:1px solid var(--line-l)}
.tbl td{padding:12px 20px}
.tbl td:first-child{font-weight:600;color:var(--ink)}
.tbl .td-accent{font-weight:600;color:var(--accent)}

/* ---------- CTA-баннер ---------- */
.cta-banner{background:var(--accent);border-radius:20px;padding:clamp(26px,4vw,52px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:clamp(20px,3vw,48px);align-items:center}
.cta-banner .t2{color:#fff;margin-bottom:12px;font-size:clamp(23px,2.4vw,38px)}
.cta-banner p{margin:0;color:rgba(255,255,255,.85);font-size:15px;line-height:1.6;max-width:520px}
.cta-banner__actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}

/* ---------- SEO-текст ---------- */
.seo-text p{margin:0 0 14px;font-size:14.5px;line-height:1.7}
.seo-text p:last-child{margin-bottom:0}
.seo-text.is-collapsed{max-height:150px;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%)}
.seo-toggle{margin-top:14px}

/* ---------- Модальные окна ---------- */
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:16px}
.modal.is-open{display:flex;animation:fadeIn .2s ease}
.modal__overlay{position:absolute;inset:0;background:rgba(47,52,56,.55)}
.modal__box{position:relative;background:#fff;border-radius:18px;padding:clamp(22px,3vw,34px);width:min(440px,100%);max-height:90vh;overflow-y:auto;animation:slideUp .25s ease}
.modal__close{position:absolute;top:14px;right:14px}
.modal__title{font:700 20px 'Play',sans-serif;color:var(--ink);margin-bottom:8px}
.modal__sub{margin:0 0 18px;font-size:14px;color:var(--muted);line-height:1.55}
.modal__ok{text-align:center;padding:14px 0 6px;animation:fadeIn .3s ease}
.modal__ok .modal__title{font-size:19px}
.modal__ok p{margin:0;font-size:14px;color:var(--muted);line-height:1.55}

/* ---------- Подвал ---------- */
.footer{background:#F0F3F7;border-top:1px solid var(--line)}
.footer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:clamp(24px,3vw,48px);padding-block:var(--gap-sec) 28px}
.footer__desc{margin:0 0 16px;font-size:13.5px;line-height:1.6;color:var(--muted);max-width:300px}
.footer__req{font-size:13px;color:var(--muted);line-height:1.7}
.footer nav{display:flex;flex-direction:column;gap:8px}
.footer nav a{font-size:14px;color:var(--text)}
.footer nav a:hover{color:var(--accent)}
.footer .label{margin-bottom:14px}
.footer__bottom{padding-bottom:32px}
.footer__legal{margin:0 0 10px;font-size:12px;line-height:1.6;color:var(--faint);border-top:1px solid var(--line);padding-top:20px}
.footer__copy{font-size:12.5px;color:var(--muted)}
.footer__logo{width:160px;height:auto;margin-bottom:14px}

/* ============ 3) СТРАНИЦА: Категория товара (WooCommerce archive-product.php) ============ */
/* Также переиспользуется страницами поиска, акций, блога — не дублировать. */

/* ---------- Хлебные крошки ---------- */
.breadcrumbs{padding-top:14px}
.breadcrumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;font-size:13px;color:var(--faint)}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--accent)}
.breadcrumbs li span{margin-left:6px}

/* ---------- Заголовок страницы каталога ---------- */
.page-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:10px 0 16px}
.page-head .h1{margin:0;font-size:clamp(26px,2.8vw,44px)}
.page-head__count{font-size:14px;color:var(--faint)}
.page-desc{max-width:720px;margin:-6px 0 18px;font-size:14.5px;line-height:1.6;color:var(--muted)}
.chips-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:clamp(18px,2.5vw,28px)}

/* ---------- Каталог: сайдбар + товары ---------- */
.cat-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:clamp(20px,2.5vw,36px);align-items:start}
.filters{background:var(--bg);border-radius:var(--r-l);padding:20px;display:flex;flex-direction:column;gap:4px}
.filters__title{font:700 16px 'Play',sans-serif;color:var(--ink);margin-bottom:10px}
.filters details{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:12px}
.filters summary{font:600 14px 'Golos Text',sans-serif;color:var(--ink);cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:8px}
.filters summary::-webkit-details-marker{display:none}
.filters__body{display:flex;flex-direction:column;gap:8px;margin-top:12px;max-height:220px;overflow-y:auto}
.filters .input{background:#fff;padding:10px 12px;font-size:13.5px}
.price-row{display:flex;gap:8px;margin-top:12px}
.price-row .input{width:50%}
.check{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--text);cursor:pointer}
.check input{accent-color:var(--accent);cursor:pointer;width:16px;height:16px;flex-shrink:0}
.check span:first-of-type{flex:1}
.check__count{font-size:12px;color:var(--faint)}
.btn-reset{border:none;background:none;color:var(--muted);border-radius:var(--r);padding:11px;font:500 13.5px 'Golos Text',sans-serif;margin-top:2px}
.btn-reset:hover{color:var(--accent)}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.filters-btn{display:flex;align-items:center;gap:8px;border:1.5px solid var(--border-input);background:#fff;border-radius:var(--r);padding:11px 18px;font:600 14px 'Golos Text',sans-serif;color:var(--ink)}
.filters-btn:hover{border-color:var(--accent);color:var(--accent)}
.sort-row{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--muted);margin-left:auto;flex-wrap:wrap;min-width:0}
.sort-row select{border:1.5px solid var(--border-input);border-radius:var(--r);padding:10px 12px;font:500 13.5px 'Golos Text',sans-serif;color:var(--ink);background:#fff;cursor:pointer;max-width:100%;min-width:0}
.sort-row select:focus{border-color:var(--accent);outline:none}

/* ---------- Пагинация ---------- */
.pager{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:clamp(24px,3vw,40px)}
.pager a,.pager span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:var(--r);font:500 14px 'Golos Text',sans-serif;color:var(--ink);border:1.5px solid var(--line)}
.pager a:hover{border-color:var(--accent);color:var(--accent)}
.pager a:active{background:var(--bg-acc)}
.pager a[aria-current]{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600}
.pager span{border-color:transparent;color:var(--faint)}
.pager__next{width:auto !important;padding:0 16px;gap:6px}

/* ---------- Кнопка «наверх» (все страницы) ---------- */
.to-top{position:fixed;right:16px;bottom:16px;z-index:90;width:46px;height:46px;border:none;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(56,111,175,.35)}
.to-top:active{background:var(--accent-dd)}

/* ---------- Анимации (все страницы) ---------- */
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.anim-up{animation:slideUp .5s ease both}
.anim-up--late{animation-delay:.12s}

/* ============ 4) СТРАНИЦА: Карточка товара (WooCommerce single-product.php) ============ */
/* Блоки .tabs, .qty, .prose, .review* переиспользуются корзиной, блогом, текстовыми
   страницами — не дублировать под другими именами. */

/* ---------- Шапка карточки ---------- */
.pd-title{margin:10px 0 10px;font-size:clamp(24px,2.6vw,40px)}
.pd-meta{display:flex;gap:18px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--muted);margin-bottom:clamp(18px,2.2vw,26px)}
.pd-meta__rating{display:flex;align-items:center;gap:7px;color:var(--muted)}
.in-stock{display:flex;align-items:center;gap:6px;color:var(--green);font-weight:500}

/* ---------- Галерея ---------- */
.pd-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(20px,3vw,48px);align-items:start}
.gallery{display:grid;gap:12px}
.gallery__main{position:relative;background:var(--bg);border-radius:var(--r-l);overflow:hidden}
.gallery__img{width:100%;height:auto;aspect-ratio:1/0.94;object-fit:cover;display:block}

/* ---------- Блок покупки ---------- */
.pd-info{display:flex;flex-direction:column;gap:clamp(16px,2vw,22px)}
.pd-price-box{background:var(--bg);border-radius:var(--r-l);padding:clamp(16px,2vw,24px);display:flex;flex-direction:column;gap:16px}
.pd-price-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.price--lg{font-size:clamp(26px,3vw,36px)}
.price--old{font-size:17px;color:var(--faint);text-decoration:line-through}
.pd-price__m2{font-size:13px;color:var(--muted);margin-top:-8px}
.pd-price-box .note{margin:0}
.opt{display:flex;flex-direction:column;gap:9px}
.opt__label{font:600 13px 'Golos Text',sans-serif;color:var(--ink)}
.opt__label span{font-weight:400;color:var(--muted)}
.par-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.par-list li{display:flex;justify-content:space-between;gap:14px;font-size:13.5px;color:var(--muted);border-bottom:1px dashed #DDE4EC;padding-bottom:7px}
.par-list li:last-child{border-bottom:none;padding-bottom:0}
.par-list strong{color:var(--ink);font-weight:600}
.pd-qty-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--border-input);border-radius:var(--r);background:#fff;overflow:hidden}
.qty button{width:42px;height:44px;border:none;background:#fff;color:var(--ink);font-size:19px;display:flex;align-items:center;justify-content:center}
.qty button:hover{color:var(--accent);background:var(--bg-acc)}
.qty input{width:54px;height:44px;border:none;text-align:center;font:600 15px 'Golos Text',sans-serif;color:var(--ink);-moz-appearance:textfield;appearance:textfield;padding:0;margin:0;box-sizing:border-box}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty input:focus{outline:none}
.pd-total{font-size:13.5px;line-height:1.5;color:var(--muted)}
.pd-total strong{font:700 17px 'Golos Text',sans-serif;color:var(--ink)}
.pd-buy{display:flex;gap:10px;flex-wrap:wrap}
.btn--grow{flex:1 1 180px}
.pd-trust{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr))}
.pd-trust li{display:flex;gap:11px;font-size:13.5px;line-height:1.45;color:var(--muted)}
.pd-trust svg{color:var(--accent);flex-shrink:0}
.pd-trust strong{display:block;color:var(--ink);font-weight:600;font-size:14px}

/* ---------- Табы (карточка товара, текстовые страницы) ---------- */
.tabs__nav{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:clamp(20px,2.5vw,28px);scrollbar-width:none}
.tabs__nav::-webkit-scrollbar{display:none}
.tabs__btn{border:none;background:none;padding:14px 18px;font:600 15px 'Golos Text',sans-serif;color:var(--muted);border-bottom:2.5px solid transparent;white-space:nowrap}
.tabs__btn:hover{color:var(--accent)}
.tabs__btn.is-active{color:var(--ink);border-bottom-color:var(--accent)}
.tabs__panel{animation:fadeIn .25s ease}
.pd-specs{max-width:820px}

/* ---------- Текстовый блок (описание, доставка, запись блога) ---------- */
.prose{max-width:820px}
.prose p{margin:0 0 14px;font-size:14.5px;line-height:1.7}
.prose ul,.prose ol{margin:0 0 14px;padding-left:20px;font-size:14.5px;line-height:1.75}
.prose li{margin-bottom:6px}
.prose h3{margin:22px 0 10px;font:700 18px 'Play',sans-serif;color:var(--ink)}
.prose p:last-child,.prose ul:last-child{margin-bottom:0}

/* ---------- Отзывы ---------- */
.rating-sum{display:flex;gap:clamp(20px,4vw,56px);flex-wrap:wrap;align-items:center;background:var(--bg);border-radius:var(--r-l);padding:clamp(18px,2.5vw,28px);margin-bottom:20px}
.rating-sum__num{font:700 44px 'Play',sans-serif;color:var(--ink);line-height:1}
.rating-sum .stars{font-size:16px}
.rating-sum .note{margin-top:4px}
.bars{display:grid;gap:7px;flex:1;min-width:min(100%,240px)}
.bar{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--muted)}
.bar__star{width:34px}
.bar__track{flex:1;height:7px;border-radius:99px;background:var(--line);overflow:hidden}
.bar__fill{display:block;height:100%;border-radius:99px;background:#E8A63A}
.bar__n{width:22px;text-align:right}
.reviews{display:grid;gap:14px;max-width:820px}
.review{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:20px}
.review__top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:10px}
.review__who{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.review__name{font:600 15px 'Golos Text',sans-serif;color:var(--ink)}
.review__date{font-size:12.5px;color:var(--faint)}
.review p{margin:0;font-size:14px;line-height:1.65}
.review__reply{margin-top:12px;background:var(--bg-acc);border-radius:12px;padding:12px 14px;font-size:13.5px;line-height:1.6;color:var(--muted)}
.review__reply strong{color:var(--ink)}
.rev-form{margin-top:22px;max-width:620px;background:var(--bg);border-radius:var(--r-l);padding:clamp(18px,2.5vw,26px)}
.rev-form__title{font:700 18px 'Play',sans-serif;color:var(--ink)}
.rev-form .input{background:#fff}
.rev-form .btn{align-self:flex-start}
.rate-row{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--muted)}
.rate-input{display:flex;gap:4px}
.rate-input button{border:none;background:none;font-size:24px;line-height:1;padding:0 2px;color:var(--border-input)}
.rate-input button:hover,.rate-input button.is-on{color:#E8A63A}

/* ============ 5) СТРАНИЦА: Корзина (WooCommerce cart.php) ============ */
/* .summary, .cart-empty переиспользуются оформлением заказа — не дублировать. */

.cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(20px,2.5vw,36px);align-items:start}
.cart-list{display:grid;gap:12px}
.cart-item{display:grid;grid-template-columns:96px minmax(0,1fr) 130px 132px 34px;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:14px}
.cart-item__media img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:12px;display:block}
.cart-item__info{min-width:0}
.cart-item__title{font:500 15px/1.4 'Golos Text',sans-serif;color:var(--ink)}
.cart-item__title:hover{color:var(--accent)}
.cart-item__spec{font-size:12.5px;color:var(--muted);margin-top:5px}
.cart-item__unit{font-size:12.5px;color:var(--faint);margin-top:5px}
.cart-item__sum{display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right;white-space:nowrap}
.cart-item__old{font-size:12.5px;color:var(--faint);text-decoration:line-through}
.cart-item__save{background:#EAF5EC;color:var(--green);border-radius:7px;padding:3px 8px;font:600 11.5px 'Golos Text',sans-serif}
.cart-item__qty{justify-self:start}
.cart-item__qty button{width:38px;height:42px}
.cart-item__qty input{width:48px;height:42px}
.rm-btn{border:none;background:var(--bg);border-radius:8px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:var(--faint)}
.rm-btn:hover{background:#FBE9E9;color:#C0392B}
.cart-foot{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:16px}
.cart-foot .btn-reset{padding:0;margin:0}
.cart-foot .btn-reset:hover{color:#C0392B}
.link-back{display:inline-flex;align-items:center;gap:7px;font:500 14.5px 'Golos Text',sans-serif}
.summary{position:sticky;top:16px;background:var(--bg);border-radius:var(--r-l);padding:clamp(18px,2vw,24px);display:flex;flex-direction:column;gap:12px}
.summary__title{font:700 18px 'Play',sans-serif;color:var(--ink)}
.summary__row{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted)}
.summary__row strong{color:var(--ink)}
.summary__row span:last-child{text-align:right;max-width:180px;color:var(--ink)}
.summary__save{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#EAF5EC;border-radius:var(--r);padding:10px 12px;font-size:13px;color:var(--green)}
.summary__save strong{font:700 15px 'Golos Text',sans-serif;color:var(--green)}
.summary__total{display:flex;justify-content:space-between;gap:12px;align-items:baseline;border-top:1px solid #DDE4EC;padding-top:12px;margin-top:2px;font:600 15px 'Golos Text',sans-serif;color:var(--ink)}
.summary__total strong{font:700 clamp(22px,2.4vw,28px) 'Golos Text',sans-serif;color:var(--ink)}
.summary .btn--block{padding:15px 24px}
.summary .note{margin:0}
.cart-empty{background:var(--bg);border-radius:var(--r-l);padding:clamp(28px,4vw,56px);display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;color:var(--faint);animation:fadeIn .25s ease}
.cart-empty__title{font:700 clamp(20px,2vw,26px) 'Play',sans-serif;color:var(--ink)}
.cart-empty__text{margin:0;max-width:420px;font-size:14.5px;line-height:1.6;color:var(--muted)}
.cart-empty .pd-buy{justify-content:center}

/* ============ 6) АДАПТИВ (все страницы) ============ */
@media (max-width:1099px){
  .d-only{display:none !important}
  .cat-grid{grid-template-columns:minmax(0,1fr)}
  .filters-btn{width:100%;justify-content:center}
  .sort-row{margin-left:0;width:100%}
  .sort-row select{flex:1}
  .pd-grid{grid-template-columns:minmax(0,1fr)}
  .grid--related{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pd-trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
  .cart-grid{grid-template-columns:minmax(0,1fr)}
  .summary{position:static}
}
@media (min-width:1100px){.m-only{display:none !important}}
@media (max-width:760px){
  .breadcrumbs{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .breadcrumbs::-webkit-scrollbar{display:none}
  .breadcrumbs ol{flex-wrap:nowrap;width:max-content;padding-right:16px}
  .breadcrumbs li{white-space:nowrap}
  .tbl thead{display:none}
  .tbl tr{display:block;border-bottom:1px solid var(--line);padding:10px 16px}
  .tbl td{display:flex;justify-content:space-between;gap:16px;border:none;padding:6px 0}
  .tbl td::before{content:attr(data-label);font-weight:500;color:var(--muted)}
  .pd-meta{gap:10px 16px}
  .pd-trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
  .pd-trust li{flex-direction:column;gap:8px}
  .pd-qty-row{gap:12px}
  .qty{width:100%}
  .qty input{flex:1;width:auto}
  .pd-total{width:100%}
  .cart-item{grid-template-columns:auto minmax(0,1fr) 34px;gap:12px}
  .cart-item__media{display:none}
  .cart-item__info{grid-column:1/3;grid-row:1}
  .cart-item .rm-btn{grid-column:3;grid-row:1;align-self:start}
  .cart-item__qty{grid-column:1;grid-row:2;justify-self:start}
  .cart-item__sum{grid-column:2/4;grid-row:2;justify-self:end;text-align:right}
  .cart-item__unit{display:none}
  .stack-btns{flex-direction:column}
  .stack-btns>*{width:100%;box-sizing:border-box;text-align:center;justify-content:center}
}

/* ============ СТРАНИЦА: Оформление заказа ============ */
.co-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:clamp(20px,2.5vw,36px);align-items:start;margin-bottom:var(--gap-sec)}
.co-col{display:grid;gap:16px;min-width:0}
.co-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:clamp(16px,2vw,26px)}
.co-card__head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.co-step{width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font:700 14px 'Golos Text',sans-serif;flex-shrink:0}
.co-card__title{font:700 18px 'Play',sans-serif;color:var(--ink)}
.co-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.co-field--full{grid-column:1/-1}
.co-label{display:block;font:500 13px 'Golos Text',sans-serif;color:var(--muted);margin-bottom:6px}
.req{color:var(--orange)}
.co-address{margin-top:14px;animation:fadeIn .2s ease}
.opt-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.opt-row--auto{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.opt-card{display:flex;gap:12px;align-items:flex-start;border:1.5px solid var(--border-input);border-radius:12px;padding:14px;cursor:pointer;transition:border-color .15s,background .15s;background:#fff}
.opt-card:hover{border-color:#B9C6D3}
.opt-card.is-on{border-color:var(--accent);background:#F2F7FC}
.opt-card input{position:absolute;opacity:0;pointer-events:none}
.opt-card svg{flex-shrink:0;margin-top:1px;color:var(--accent)}
.opt-card__title{display:block;font:600 14.5px 'Golos Text',sans-serif;color:var(--ink)}
.opt-card__note{display:block;font-size:12.5px;color:var(--muted);margin-top:3px}
.co-submit{display:grid;gap:14px}
.co-submit .note{margin:0;font-size:12.5px;line-height:1.55}
.btn--orange{background:var(--orange)}
.btn--orange:hover{background:#D9752D;color:#fff}
.btn--orange:active{background:#C96A26;color:#fff}
.co-submit .btn{padding:16px 28px;font-size:16px}
.co-items{display:grid;gap:10px}
.co-item{display:flex;justify-content:space-between;gap:12px;font-size:13.5px;line-height:1.45;color:var(--text)}
.co-item strong{color:var(--ink);white-space:nowrap}
.co-item__qty{color:var(--faint);white-space:nowrap}
.co-totals{border-top:1px solid #DDE4EC;padding-top:12px;display:grid;gap:8px}
@media (max-width:1099px){.co-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.co-fields{grid-template-columns:1fr}.opt-row{grid-template-columns:1fr}}

/* ============ СТРАНИЦЫ: Успешный заказ / Успешная заявка ============ */
.container--narrow{max-width:calc(860px + 2*var(--pad-x));padding-top:clamp(20px,3vw,44px);padding-bottom:var(--gap-sec)}
.ok-hero{text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;animation:fadeIn .25s ease}
.ok-hero__title{margin:0;font-size:clamp(26px,2.8vw,40px)}
.ok-hero__text{margin:0;font-size:clamp(14.5px,1.2vw,16px);line-height:1.6;color:var(--muted);max-width:520px}
.ok-hero__text strong{color:var(--ink)}
.ok-badge{width:64px;height:64px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;animation:popIn .4s ease}
.ok-order{margin-top:clamp(24px,3vw,36px);background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:clamp(16px,2vw,24px);display:flex;flex-direction:column;gap:12px}
.ok-order__head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}
.ok-order .summary__total{font:600 15px 'Golos Text',sans-serif;color:var(--ink)}
.ok-title{font:700 18px 'Play',sans-serif;color:var(--ink)}
.ok-title--gap{margin:clamp(24px,3vw,36px) 0 16px;font-size:clamp(19px,1.8vw,24px)}
.ok-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ok-step{background:var(--bg);border-radius:var(--r-l);padding:18px;display:flex;flex-direction:column;gap:9px}
.ok-step .co-step{width:28px;height:28px;font-size:13px}
.ok-step__title{font:600 14.5px 'Golos Text',sans-serif;color:var(--ink)}
.ok-step__text{font-size:13px;line-height:1.55;color:var(--muted)}
.ok-contact{margin-top:clamp(24px,3vw,36px);background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:clamp(16px,2vw,24px);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ok-contact__title{font:700 18px 'Play',sans-serif;color:var(--ink);margin-bottom:6px}
.ok-contact__text{font-size:14px;line-height:1.55;color:var(--muted)}
.ok-contact__links{display:flex;gap:16px;flex-wrap:wrap}
.ok-link{display:inline-flex;align-items:center;gap:8px;font:600 15px 'Golos Text',sans-serif;color:var(--ink);white-space:nowrap}
.ok-link svg{color:var(--accent)}
.ok-link:hover{color:var(--accent)}
.ok-link--blue{color:var(--accent)}
.ok-link--blue:hover{color:var(--accent-d)}
.ok-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:clamp(24px,3vw,36px)}
@media (max-width:760px){.ok-steps{grid-template-columns:1fr}}
@keyframes popIn{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}

/* ============ СТРАНИЦА: 404 ============ */
.nf{text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;animation:fadeIn .25s ease}
.nf__code{font:700 clamp(96px,15vw,180px)/1 'Play',sans-serif;background:repeating-linear-gradient(105deg,var(--accent) 0 16px,#6E9BCC 16px 22px);-webkit-background-clip:text;background-clip:text;color:transparent;user-select:none}
.nf__title{margin:0;font-size:clamp(26px,2.8vw,40px)}
.nf__text{margin:0;font-size:clamp(14.5px,1.2vw,16px);line-height:1.6;color:var(--muted);max-width:520px}
.nf__search{width:min(480px,100%)}
.nf__label{font-size:13px;color:var(--faint);margin-top:6px}
.nf__chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.nf__actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:8px}

/* ============ СТРАНИЦА: Текстовая (шаблон page.php) ============ */
.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(24px,3.5vw,56px);align-items:start;padding-top:clamp(18px,2.5vw,36px);padding-bottom:clamp(40px,5vw,80px)}
.page-content{max-width:860px;min-width:0}
.page-aside{position:sticky;top:16px;display:grid;gap:16px}
@media (max-width:1000px){.page-grid{grid-template-columns:1fr}.page-aside{position:static}}
.aside-nav{border:1px solid var(--line);border-radius:var(--r-l);padding:10px;background:#fff}
.aside-nav__title{font:700 15px 'Play',sans-serif;color:var(--ink);padding:8px 12px 10px}
.aside-nav ul{list-style:none;margin:0;padding:0;display:grid}
.aside-nav a{display:block;padding:9px 12px;border-radius:var(--r);font-size:14px;color:var(--text)}
.aside-nav a:hover{background:#F4F7FA;color:var(--accent)}
.aside-nav a.is-active{font-weight:600;color:var(--accent);background:var(--bg-acc)}
.aside-cta{background:#F4F7FA;border-radius:var(--r-l);padding:20px;display:grid;gap:10px}
.aside-cta__title{font:700 16px 'Play',sans-serif;color:var(--ink)}
.aside-cta__text{font-size:13.5px;line-height:1.55;color:var(--muted)}
.aside-cta__phone{font:700 17px 'Golos Text',sans-serif;color:var(--ink)}

/* Контент из редактора WP (текстовые страницы + тело записи блога) */
.prose{font-size:clamp(14.5px,1.15vw,16px);line-height:1.7;color:var(--text)}
.prose p{margin:0 0 14px}
.prose h2{margin:28px 0 12px;font:700 clamp(20px,1.9vw,26px)/1.25 'Play',sans-serif;color:var(--ink)}
.prose h3{margin:22px 0 10px;font:700 clamp(17px,1.5vw,20px)/1.3 'Play',sans-serif;color:var(--ink)}
.prose ul,.prose ol{margin:0 0 14px;padding-left:22px;display:grid;gap:6px}
.prose li::marker{color:var(--accent);font-weight:600}
.prose blockquote{margin:18px 0;padding:16px 20px;background:var(--bg-acc);border-radius:var(--r-l);color:var(--ink);font-style:italic}
.prose blockquote p:last-child{margin:0}
.prose .table-card{margin:18px 0}
.prose img{max-width:100%;height:auto;border-radius:var(--r-l)}
.prose figure{margin:18px 0;display:grid;gap:8px}
.prose figcaption{font-size:13px;color:var(--faint)}
.prose .embed{position:relative;aspect-ratio:16/9;border-radius:var(--r-l);overflow:hidden;margin:18px 0}
.prose .embed iframe{position:absolute;inset:0;width:100%;height:100%;border:none}
.prose__meta{font-size:13.5px;color:var(--faint)}
.tbl--head th{padding:12px 20px;border-bottom:1px solid var(--line);text-align:left;font:600 13.5px 'Golos Text',sans-serif;color:var(--muted);background:#FAFBFD}
@media (max-width:760px){.tbl--head thead{display:none}}

/* ============ СТРАНИЦА: Результаты поиска ============ */
.sr-also{margin-top:clamp(28px,3.5vw,44px);border:1px solid var(--line);border-radius:var(--r-l);padding:clamp(16px,2vw,24px)}
.sr-also__title{font:700 17px 'Play',sans-serif;color:var(--ink);margin-bottom:12px}
.sr-also ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.sr-also a{font-size:14.5px}
.sr-also__type{font-size:12px;color:var(--faint);margin-left:6px}
.sr-empty{text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;padding:clamp(20px,3vw,40px) 16px}
.sr-empty__icon{width:56px;height:56px;border-radius:50%;background:var(--bg-acc);color:var(--accent);display:flex;align-items:center;justify-content:center}
.sr-empty__title{font:700 clamp(20px,2vw,28px) 'Play',sans-serif;color:var(--ink)}
.sr-empty__text{margin:0;font-size:14.5px;line-height:1.6;color:var(--muted);max-width:480px}

/* ============ СТРАНИЦА: Блог (все записи) ============ */
.grid--posts{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s,border-color .15s}
.post-card:hover{box-shadow:0 12px 28px rgba(47,52,56,.09);border-color:#CDD9E4}
.post-card__medialink{display:block}
.post-card__img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
.post-card__body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:9px;flex:1}
.post-card__meta{display:flex;gap:10px;align-items:center;font-size:12.5px;color:var(--faint)}
.post-card__rubric{color:var(--accent);font-weight:500}
.post-card__title{font:600 16px/1.4 'Golos Text',sans-serif;color:var(--ink)}
.post-card__title:hover{color:var(--accent)}
.post-card__excerpt{margin:0;font-size:13.5px;line-height:1.55;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-card__more{margin-top:auto;font-size:13.5px;font-weight:500}

/* ============ СТРАНИЦА: Запись блога ============ */
.post-meta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--faint);margin-bottom:18px}
.chip--sm{padding:6px 12px;font-size:12.5px}
.toc{background:#F4F7FA;border-radius:var(--r-l);padding:18px 22px;margin:0 0 22px}
.toc__title{font:700 15px 'Play',sans-serif;color:var(--ink);margin-bottom:10px}
.toc ol{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:14px}
.toc .toc--sub{padding-left:18px}
.post-cta{background:var(--accent);border-radius:var(--r-l);padding:clamp(24px,3vw,44px) clamp(20px,3vw,48px);display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#fff}
.post-cta__lead{display:grid;gap:6px;min-width:min(100%,320px);flex:1}
.post-cta__title{font:700 clamp(20px,2.2vw,30px) 'Play',sans-serif}
.post-cta__text{font-size:14px;line-height:1.55;color:rgba(255,255,255,.85)}
.post-cta__actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.post-cta__phone{font:700 clamp(18px,1.4vw,21px) 'Golos Text',sans-serif;color:#fff}
.post-cta__phone:hover{color:var(--bg-acc)}
.aside-nav--posts a{font-size:13.5px;line-height:1.45}

/* ============ СТРАНИЦА: География работы ============ */
.page-desc--lg{max-width:820px;font-size:clamp(14.5px,1.15vw,16px);line-height:1.65;margin:0 0 22px}
.geo-info{margin-bottom:clamp(28px,3.5vw,44px)}
.geo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:8px;list-style:none;margin:0 0 clamp(28px,3.5vw,44px);padding:0}
.geo-link{display:block;padding:11px 14px;border:1px solid var(--line);border-radius:var(--r);font-size:14px;color:var(--text)}
.geo-link:hover{border-color:var(--accent);color:var(--accent)}
.geo-link:active{background:var(--bg-acc)}
.geo-cta{margin-bottom:clamp(28px,3.5vw,44px)}

/* ============ СТРАНИЦА: Город (SEO-шаблон) ============ */
.geo-link--all{color:var(--accent);font-weight:500}
.city-hero{background:var(--bg);padding-block:clamp(14px,2vw,20px) clamp(28px,3.5vw,48px);position:relative;overflow:hidden}
.city-hero .container{position:relative}
.city-hero__art{position:absolute;right:-120px;bottom:0;pointer-events:none}
@media (max-width:1100px){.city-hero__art{display:none}}
@media (max-width:760px){.city-hero__img{display:none}}
.city-hero__head{display:flex;gap:clamp(14px,2vw,24px);align-items:center;margin-bottom:18px}
.city-hero__img{width:clamp(88px,10vw,132px);height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:14px;flex-shrink:0;display:block}
.city-hero__crumbs{margin-bottom:clamp(14px,2vw,24px)}
.city-hero .h1{margin-bottom:12px;font-size:clamp(26px,2.8vw,44px)}
.city-hero .page-desc--lg{margin-bottom:18px;color:var(--text)}
.city-hero__facts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.fact-pill{background:#fff;border:1px solid var(--line);border-radius:99px;padding:8px 14px;font:500 13.5px 'Golos Text',sans-serif;color:var(--text)}
.fact-pill strong{color:var(--accent)}
.city-hero__actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
@media (max-width:760px){.city-hero__actions{flex-direction:column;align-items:stretch;gap:10px}.city-hero__actions .btn{width:100%}.city-hero__actions .city-hero__phone{text-align:center}}
.city-hero__phone{font:700 17px 'Golos Text',sans-serif;color:var(--ink)}
.city-hero__phone:hover{color:var(--accent)}
.geo-cloud-card{background:var(--bg);border-radius:var(--r-l);padding:clamp(18px,2.5vw,28px)}
.geo-cloud{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13.5px;line-height:1.5}
.geo-cloud a{color:var(--text)}
.geo-cloud a:hover{color:var(--accent)}

/* ============ СТРАНИЦА: Оптовикам ============ */
.opt-panel{background:var(--bg);border-radius:20px;padding:clamp(24px,3vw,44px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(24px,3.5vw,56px);align-items:center}
@media (max-width:1000px){.opt-panel{grid-template-columns:1fr}}
.price-rows{display:grid;gap:10px}
.price-row{background:#fff;border-radius:12px;padding:14px 18px;display:flex;gap:16px;align-items:center;font-size:14px;color:var(--text)}
.price-row__num{font:700 15px 'Play',sans-serif;color:var(--accent);flex-shrink:0}
.kp-cta{align-items:stretch}
.kp-cta__title{font-size:clamp(40px,4.4vw,60px);line-height:1.1}
.grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1100px){.grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.grid--4{grid-template-columns:1fr}}
.prod-cat{border:1px solid var(--line);border-radius:var(--r-l);padding:22px;display:grid;gap:14px;align-content:start}
.prod-cat__title{font:600 17px 'Golos Text',sans-serif;color:var(--ink)}
.prod-cat__title:hover{color:var(--accent)}
.prod-cat__group{display:grid;gap:8px}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.kp-form{display:grid;gap:12px;flex:1 1 340px;max-width:520px}
.kp-cta .consent{color:rgba(255,255,255,.8)}
.kp-cta .consent a{color:#fff;text-decoration:underline}

/* ============ СТРАНИЦА: Контакты ============ */
.contact-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-l);padding:20px;display:flex;flex-direction:column;gap:8px;color:var(--text)}
a.contact-card:hover{border-color:var(--accent);color:var(--text)}
.contact-card__val{font:700 clamp(17px,1.4vw,20px) 'Golos Text',sans-serif;color:var(--ink);overflow-wrap:anywhere}
.contact-card__links{display:flex;gap:8px;flex-wrap:wrap}
.contact-card__links .dot{color:var(--faint)}
.two-col--wide{gap:clamp(18px,2.5vw,32px)}
.sched{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;font-size:14px;margin:0}
.sched dt{color:var(--muted)}
.sched dd{margin:0;font-weight:600;color:var(--ink)}
.req-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px 32px;margin:0}
.req-grid dt{font-size:12.5px;color:var(--muted);margin-bottom:3px}
.req-grid dd{margin:0;font-size:14px;font-weight:500;color:var(--ink)}
.btn-row{display:flex;gap:12px;flex-wrap:wrap}

/* ============ ОБЩЕЕ: Контакты / Доставка / Город ============ */
.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.two-col--wide{gap:clamp(18px,2.5vw,32px)}
@media (max-width:900px){.two-col{grid-template-columns:1fr}}
.ship-card{border:1px solid var(--line);border-radius:var(--r-l);padding:clamp(16px,2vw,24px);display:grid;gap:12px;align-content:start}
.ship-card__row{display:flex;gap:11px;font-size:14px;line-height:1.55;color:var(--text)}
.ship-card__row svg{flex-shrink:0;margin-top:2px}
.ship-card__row strong{color:var(--ink)}
.map-stub{background:var(--bg-acc);border-radius:var(--r-l);min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--accent)}
.map-stub__title{font:600 14px 'Golos Text',sans-serif}
.map-stub__note{font-size:12.5px;color:var(--muted)}
.lead-block{background:var(--bg);border-radius:var(--r-l);padding:clamp(20px,2.5vw,32px)}
.lead-block__title{font:700 clamp(19px,2vw,26px) 'Play',sans-serif;color:var(--ink)}
.lead-block__text{font-size:14px;line-height:1.6;color:var(--muted)}

/* ============ СТРАНИЦА: Доставка и оплата ============ */
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.grid--3{grid-template-columns:1fr}}
.adv-card--bordered{border:1px solid var(--line)}

/* ============ СТРАНИЦА: О компании ============ */
.about-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,3.5vw,56px);align-items:center}
@media (max-width:900px){.about-hero{grid-template-columns:1fr}}
.about-hero__img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:20px;display:block}
.two-col--center{align-items:center}
.img-block{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-l);display:block}
.adv-card--gray{background:var(--bg)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media (max-width:900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.stats{grid-template-columns:1fr}.stat-card__num{white-space:nowrap}}
.stat-card{border:1px solid var(--line);border-radius:var(--r-l);padding:22px}
.stat-card__num{font:700 clamp(30px,3vw,42px)/1 'Play',sans-serif;color:var(--accent);margin-bottom:8px}
.stat-card__cap{font-size:13.5px;line-height:1.5;color:var(--muted)}
.timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;position:relative}
.timeline::before{content:'';position:absolute;left:0;right:0;top:15px;height:2px;background:var(--line)}
.timeline__item{position:relative}
.timeline__head{display:grid;gap:12px;margin-bottom:6px}
.timeline__dot{width:32px;height:32px;border-radius:50%;background:var(--accent);border:4px solid #fff;box-shadow:0 0 0 2px var(--accent);flex-shrink:0}
.timeline__year{font:700 22px 'Play',sans-serif;color:var(--ink)}
@media (max-width:900px){.timeline__head{display:flex;align-items:center;margin-bottom:10px}}
.timeline__text{font-size:14px;line-height:1.6;color:var(--muted)}
@media (max-width:900px){.timeline{grid-template-columns:1fr}.timeline::before{display:none}}
.grid--5{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1100px){.grid--5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.grid--5{grid-template-columns:repeat(2,minmax(0,1fr))}}
.doc-card{border:1px solid var(--line);border-radius:var(--r-l);padding:16px;display:grid;gap:12px;color:var(--text);align-content:start;min-width:0}
.doc-card:hover{border-color:var(--accent)}
.doc-card img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:10px;display:block}
.doc-card span{font:500 14px/1.4 'Golos Text',sans-serif;color:var(--ink);overflow-wrap:anywhere;hyphens:auto}
.doc-card__print{font-size:13.5px;margin-top:auto}
