/*
Theme Name: OmenLab
Theme URI: https://omenlab.ru/
Author: OmenLab
Description: Минималистичная тёмная тема магазина ноутбуков OmenLab для WooCommerce. Подбор по задаче, каталог с фильтрами, карточка товара, корзина и оформление заказа в фирменном стиле. Настройки: Внешний вид → Настроить → OmenLab.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 10.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omenlab
*/

/* =========================================================
   Цвета. Оттенок выбирается в Настроить → OmenLab → Оформление
   (атрибут data-theme у <html>: graphite | warm | wine)
   ========================================================= */
:root{
  --accent:#C31617;        /* фирменный красный логотипа */
  --accent-hover:#A91213;
  --accent-text:#F0484A;   /* красный для мелкого текста на тёмном фоне */
  --ok:#4CC38A;
  --wait:#E0A43C;
  --radius-lg:32px; --radius-md:28px; --radius-sm:20px;
  --pad:80px;
  --header-h:96px;
  --sticky-top:120px;
}
:root,[data-theme="graphite"]{color-scheme:dark;--bg:#0E0E0F;--surface:#17171A;--raised:#212125;--line:#26262A;--line-strong:#3A3A40;--text:#F3F1EE;--soft:#D6D3CE;--muted:#A3A09B}
[data-theme="warm"]{color-scheme:dark;--bg:#110E0D;--surface:#1B1716;--raised:#26201E;--line:#2C2624;--line-strong:#433A36;--text:#F5EFEA;--soft:#DDD4CE;--muted:#AEA49D}
[data-theme="wine"]{color-scheme:dark;--bg:#130B0C;--surface:#1E1214;--raised:#2A191C;--line:#331F23;--line-strong:#4D2E34;--text:#F7EDEE;--soft:#E0CFD1;--muted:#B9A3A6}

/* =========================================================
   База
   ========================================================= */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Onest',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;line-height:1.5}
body.no-scroll{overflow:hidden}
a{color:inherit;text-decoration:none;transition:color .15s}
a:hover{color:var(--accent-text)}
button,input,select,textarea{font-family:inherit;color:inherit;font-size:inherit}
button{cursor:pointer}
img,svg{display:block}
img{max-width:100%;height:auto}
h1,h2,h3,h4,p{margin:0}
:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
input[type="checkbox"],input[type="radio"]{accent-color:var(--accent)}
::selection{background:var(--accent);color:#fff}
.screen-reader-text,.hp-field{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link{position:absolute;left:16px;top:-60px;z-index:100;background:var(--accent);color:#fff;padding:12px 20px;border-radius:12px;font-weight:600}
.skip-link:focus{top:16px;color:#fff}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.wrap{max-width:1440px;margin:0 auto;padding-inline:var(--pad)}
.section{padding-bottom:112px}
.spacer{height:112px}
.stack{display:flex;flex-direction:column;gap:20px}
.stack--lg{gap:40px}
.eyebrow{font-size:14px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text)}
.label{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.muted{color:var(--muted)}
.strong{font-weight:600}
.h1{font-size:56px;font-weight:600;letter-spacing:-.03em;line-height:1.05;text-wrap:balance}
.h1--wide{max-width:900px}
.h2{font-size:44px;font-weight:600;letter-spacing:-.025em;line-height:1.1;text-wrap:balance}
.h3{font-size:26px;font-weight:600;letter-spacing:-.015em;line-height:1.2}
.lead{font-size:19px;line-height:1.55;color:var(--muted);max-width:640px}
.lead--strong{color:var(--text)}
.head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:40px}
.link-more{font-size:15px;font-weight:500;white-space:nowrap}
.text-link{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-strong)}
.text-link:hover{text-decoration-color:currentColor}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg)}

/* =========================================================
   Кнопки
   ========================================================= */
.btn{min-height:56px;padding:0 32px;border-radius:28px;font-size:16px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;background:transparent;transition:background .15s,border-color .15s,color .15s;white-space:nowrap;line-height:1.2;text-align:center}
.btn-sm{min-height:44px;padding:0 20px;font-size:15px}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-hover);color:#fff}
.btn-outline{border-color:var(--line-strong)}
.btn-outline:hover{border-color:var(--text);color:var(--text)}
.btn-block{width:100%}
.icon-btn{width:44px;height:44px;border-radius:22px;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s,color .15s;position:relative;color:var(--text);padding:0}
.icon-btn:hover{background:var(--raised);color:var(--text)}
.icon-btn.bordered{border:1px solid var(--line-strong)}
.icon-btn.red{background:var(--accent);color:#fff}
.icon-btn.red:hover{background:var(--accent-hover);color:#fff}

/* =========================================================
   Поля и флажки
   ========================================================= */
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:14px;color:var(--muted)}
.input,
input.input-text,
.woocommerce form select,
.entry-content input[type="text"],.entry-content input[type="email"],.entry-content input[type="tel"],.entry-content input[type="password"],.entry-content input[type="number"],.entry-content input[type="search"],.entry-content select,.entry-content textarea,
.comment-form input[type="text"],.comment-form input[type="email"],.comment-form textarea{
  min-height:52px;padding:0 18px;border-radius:16px;border:1px solid var(--line-strong);background:var(--bg);color:var(--text);outline:none;transition:border-color .15s;width:100%;font-size:16px}
textarea.input,.entry-content textarea,.comment-form textarea,textarea.input-text{height:auto;min-height:120px;padding:14px 18px;resize:vertical;line-height:1.5}
.input:focus,input.input-text:focus,.entry-content input:focus,.entry-content select:focus,.entry-content textarea:focus,.comment-form input:focus,.comment-form textarea:focus{border-color:var(--text)}
::placeholder{color:var(--muted);opacity:1}
select.input,.woocommerce form select,.woocommerce-ordering select,.entry-content select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23A3A09B' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;padding-right:44px}
.check{display:flex;align-items:flex-start;gap:12px;font-size:15px;cursor:pointer;line-height:1.4}
.check input{appearance:none;-webkit-appearance:none;width:22px;height:22px;flex-shrink:0;margin:0;border:1px solid var(--line-strong);border-radius:6px;background:var(--bg);display:grid;place-content:center;cursor:pointer;transition:all .15s}
.check input:checked{background:var(--accent);border-color:var(--accent)}
.check input:checked::after{content:"";width:10px;height:6px;border:2px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.check .count{margin-left:auto;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.check--small{font-size:14px;color:var(--muted)}

/* Чипы */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:44px;padding:0 18px;border-radius:22px;font-size:15px;font-weight:500;border:1px solid var(--line-strong);background:transparent;color:var(--text);transition:all .15s;display:inline-flex;align-items:center;white-space:nowrap}
.chip:hover{border-color:var(--text);color:var(--text)}
.chip[aria-pressed="true"],.chip.is-active{background:var(--text);border-color:var(--text);color:var(--bg)}

/* Метки */
.badge{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:14px;font-size:13px;font-weight:500;background:var(--bg);color:var(--soft);white-space:nowrap}
.badge .dot{width:6px;height:6px;border-radius:3px;background:var(--ok)}
.badge .dot--wait{background:var(--wait)}
.badge--muted{color:var(--muted)}
.badge--sale{background:var(--accent);color:#fff}

/* =========================================================
   Шапка
   ========================================================= */
.header{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.admin-bar .header{top:32px}
.header-row{height:var(--header-h);display:flex;align-items:center;gap:48px}
.logo{display:flex;align-items:center;gap:14px;flex-shrink:0}
.logo:hover{color:inherit}
.logo .mark{width:60px;height:64px}
.logo .word{width:190px;height:21px}
.nav-wrap{flex-grow:1;min-width:0}
.nav{list-style:none;margin:0;padding:0;display:flex;gap:32px;font-size:15px;font-weight:500}
.nav a{white-space:nowrap}
.nav .current-menu-item>a,.nav .current_page_item>a,.nav a[aria-current="page"]{color:var(--accent-text)}
.header-actions{display:flex;align-items:center;gap:8px}
.cart-badge{position:absolute;top:4px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.phone{margin-left:16px;font-size:15px;font-weight:600;white-space:nowrap}
.burger{display:none}

.search-panel{border-top:1px solid var(--line);background:var(--bg)}
.search-form{display:flex;gap:10px;align-items:center;padding-block:16px}
.search-form .input{flex:1;min-height:48px}

.mobile-menu{position:fixed;inset:0;z-index:60;background:var(--bg);display:flex;flex-direction:column;padding:16px var(--pad) 32px;overflow:auto}
.mobile-menu[hidden]{display:none}
.mobile-menu-top{height:56px;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.mobile-menu-top img{width:52px;height:56px}
.mobile-nav{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.mobile-nav a{display:block;font-size:28px;font-weight:600;letter-spacing:-.02em;padding:14px 0;border-bottom:1px solid var(--line)}
.mobile-menu-foot{margin-top:auto;padding-top:32px;display:flex;flex-direction:column;gap:12px}

/* Хлебные крошки и заголовки страниц */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--muted);padding-top:32px}
.crumbs a:hover{color:var(--text)}
.crumbs span[aria-hidden]{opacity:.5}
.page-head{padding-top:24px;padding-bottom:56px;display:flex;flex-direction:column;gap:20px}
.page-main{padding-bottom:112px}
.archive-description:empty{display:none}
.archive-description,.term-description,.page-description{color:var(--muted);max-width:760px}
.archive-description p+p{margin-top:.8em}

/* =========================================================
   Главная
   ========================================================= */
.hero{padding-top:88px;padding-bottom:96px;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.hero-text{display:flex;flex-direction:column;gap:28px}
.hero h1{font-size:64px;line-height:1.04;font-weight:600;letter-spacing:-.03em;text-wrap:balance}
.hero p{font-size:19px;line-height:1.55;color:var(--muted);max-width:520px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.photo{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--muted);overflow:hidden;position:relative}
.photo img{width:100%;height:100%;object-fit:cover}
.hero-photo{height:520px}
.photo .hero-mark{width:clamp(120px,28%,220px);height:auto;object-fit:contain;opacity:.95}

.picker{padding:48px 56px;display:flex;flex-direction:column;gap:32px}
.picker-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px}
.picker-head h2{font-size:32px;font-weight:600;letter-spacing:-.02em}
.picker-head .muted{font-size:15px}
.picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.picker-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.picker-grid--1{grid-template-columns:1fr}
.step{display:flex;flex-direction:column;gap:14px}
.picker-foot{display:flex;justify-content:flex-end}

.tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tasks--1{grid-template-columns:1fr}
.tasks--2,.tasks--4{grid-template-columns:repeat(2,minmax(0,1fr))}
.tasks--5 .task:nth-child(4){grid-column:span 2}
.task{min-height:260px;padding:32px;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;gap:32px;transition:border-color .2s,transform .2s}
.task:hover{border-color:var(--line-strong);color:var(--text);transform:translateY(-2px)}
.task-meta{font-size:14px;color:var(--muted);margin-bottom:12px;font-variant-numeric:tabular-nums}
.task h3{font-size:26px;font-weight:600;letter-spacing:-.015em;margin-bottom:10px}
.task p{font-size:16px;color:var(--muted);max-width:320px}
.task-foot{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:500;color:var(--muted)}
.arrow{width:44px;height:44px;border-radius:22px;border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;color:var(--text);transition:background .2s,border-color .2s;flex-shrink:0}
.task:hover .arrow{background:var(--accent);border-color:var(--accent);color:#fff}

.why{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.why-inner{padding-block:96px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:64px}
.why-item{display:flex;flex-direction:column;gap:16px}
.why-num{font-size:15px;font-weight:600;color:var(--accent-text)}
.why-item h3{font-size:26px;font-weight:600;letter-spacing:-.015em}
.why-item p,.why-item .info-text{font-size:16px;line-height:1.6;color:var(--muted)}

.brands{border-bottom:1px solid var(--line)}
.brands-inner{padding-block:72px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.brands-inner>.muted{font-size:14px;flex-shrink:0}
.brand-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:24px 48px;font-size:22px;font-weight:600;letter-spacing:-.01em;color:var(--soft)}

.faq{padding-top:112px;display:grid;grid-template-columns:1fr 2fr;gap:64px}
.faq-intro{display:flex;flex-direction:column;gap:16px}
.faq-intro p{font-size:16px;line-height:1.6;color:var(--muted)}
.faq-item{border-top:1px solid var(--line-strong)}
.faq-item:last-child{border-bottom:1px solid var(--line-strong)}
.faq-q{width:100%;min-height:76px;padding:20px 0;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:24px;text-align:left;font-size:20px;font-weight:500;color:var(--text)}
.faq-q .plus{width:44px;height:44px;flex-shrink:0;border-radius:22px;border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;transition:transform .2s}
.faq-q[aria-expanded="true"] .plus{transform:rotate(45deg)}
.faq-a{padding:0 0 28px;font-size:16px;line-height:1.6;color:var(--muted);max-width:680px}

.cta{background:var(--accent);color:#fff;border-radius:var(--radius-lg);padding:72px 64px;display:flex;align-items:center;justify-content:space-between;gap:48px}
.cta h2{font-size:40px;font-weight:600;letter-spacing:-.02em;line-height:1.1;margin-bottom:14px}
.cta p{font-size:17px;line-height:1.55;max-width:640px}
.cta-btns{display:flex;gap:12px;flex-wrap:wrap}
.cta .btn-white{background:#fff;color:#141414}
.cta .btn-white:hover{background:#F2F0ED;color:#141414}
.cta .btn-ghost{border-color:rgba(255,255,255,.6);color:#fff}
.cta .btn-ghost:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.08)}

/* =========================================================
   Карточки товаров (каталог, главная, похожие)
   ========================================================= */
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
ul.products.columns-1{grid-template-columns:1fr}
ul.products.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
ul.products.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
ul.products::before,ul.products::after{display:none}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:16px 16px 24px;display:flex;flex-direction:column;gap:20px;transition:border-color .2s;margin:0;min-width:0}
.card:hover{border-color:var(--line-strong)}
.card-photo{aspect-ratio:1/1;height:auto;border-radius:var(--radius-sm);background:var(--raised);border:0}
.card-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card-badges{position:absolute;top:12px;left:12px;display:flex;gap:6px;flex-wrap:wrap}
.card-body{padding:0 8px;display:flex;flex-direction:column;gap:12px;flex-grow:1}
.card-series{font-size:13px;color:var(--muted)}
.card-name{font-size:19px;font-weight:600;line-height:1.3;letter-spacing:-.01em;margin:0}
.specs{display:flex;flex-wrap:wrap;gap:6px}
.specs span{font-size:13px;padding:5px 10px;border-radius:8px;background:var(--raised);color:var(--soft)}
.card-foot{padding:0 8px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.card .price{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;display:flex;flex-direction:column;line-height:1.2;min-width:0;white-space:nowrap}
.woocommerce-Price-amount{white-space:nowrap}
.card-btns{display:flex;gap:6px;flex-shrink:0}
.card-btns .icon-check{display:none}
.card-btns .added .icon-plus{display:none}
.card-btns .added .icon-check{display:block}
.card-btns .loading{opacity:.6;pointer-events:none}
.card-btns .added_to_cart{display:none}
.price del{color:var(--muted);font-size:.7em;font-weight:500;order:-1}
.price ins{text-decoration:none}
.price .woocommerce-Price-currencySymbol{font-weight:inherit}

/* =========================================================
   Каталог
   ========================================================= */
.shop-main{padding-bottom:112px}
.catalog-tasks{display:flex;gap:8px;flex-wrap:wrap}
.catalog{display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;align-items:start}
.filters{position:sticky;top:var(--sticky-top);display:flex;flex-direction:column;max-height:calc(100vh - var(--sticky-top) - 24px);overflow:auto;padding-right:8px;overscroll-behavior:contain}
.filters-head{display:none}
.filter{border-bottom:1px solid var(--line);padding:18px 0}
.filter:first-of-type{padding-top:0}
.filter-title{font-size:16px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.filter-title::-webkit-details-marker{display:none}
.filter-title::after{content:"";width:8px;height:8px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);margin-right:4px;transition:transform .2s}
.filter[open]>.filter-title::after{transform:rotate(-135deg)}
.filter[open]>.filter-title{margin-bottom:16px}
.filter-list{display:flex;flex-direction:column;gap:12px;max-height:320px;overflow:auto}
.range{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.range .input{min-height:44px;border-radius:12px;padding:0 14px}
.filters-foot{position:sticky;bottom:0;z-index:2;background:var(--bg);padding-block:16px 4px;margin-top:8px;display:flex;flex-direction:column;gap:8px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.toolbar-left{display:flex;align-items:center;gap:12px}
.woocommerce-result-count{margin:0;color:var(--muted);font-size:15px}
.woocommerce-ordering{margin:0}
.woocommerce-ordering select{min-height:44px;width:auto;border-radius:22px;font-size:15px;border:1px solid var(--line-strong);background-color:var(--bg);color:var(--text);padding:0 44px 0 18px}
.filters-toggle{display:none}
.active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.tag{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px 0 14px;border-radius:18px;background:var(--raised);font-size:14px}
.tag .icon{opacity:.7}
.tag--reset{background:transparent;border:1px solid var(--line-strong)}
.backdrop{position:fixed;inset:0;z-index:55;background:rgba(0,0,0,.6)}
.woocommerce-no-products-found .woocommerce-info{margin-top:8px}

/* Страницы */
.woocommerce-pagination,.pager-wrap{margin-top:48px}
.woocommerce-pagination ul.page-numbers,.nav-links{list-style:none;padding:0;margin:0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.woocommerce-pagination .page-numbers li{display:block}
.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers,.nav-links .page-numbers{min-width:44px;height:44px;padding:0 12px;border-radius:22px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line-strong);font-weight:500}
.woocommerce-pagination span.current,.nav-links .current{background:var(--text);color:var(--bg);border-color:var(--text)}
.woocommerce-pagination span.dots,.nav-links .dots{border:0}

/* =========================================================
   Карточка товара
   ========================================================= */
.product-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;align-items:start;padding-block:32px 96px}
.product-gallery-col{position:sticky;top:var(--sticky-top);min-width:0}
.woocommerce-product-gallery{position:relative;margin:0}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery__image{background:var(--surface)}
.woocommerce-product-gallery__image img{display:block;width:100%;height:auto}
.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper,.woocommerce-product-gallery .flex-viewport{border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--line)}
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper{border:0}
.flex-control-thumbs{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.flex-control-thumbs li{margin:0}
.flex-control-thumbs img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line);opacity:.55;cursor:pointer;transition:opacity .15s,border-color .15s}
.flex-control-thumbs img:hover,.flex-control-thumbs img.flex-active{opacity:1;border-color:var(--text)}
.woocommerce-product-gallery__trigger{position:absolute;top:16px;right:16px;z-index:5;width:44px;height:44px;border-radius:22px;background:color-mix(in srgb,var(--bg) 80%,transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F3F1EE' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/20px no-repeat;border:1px solid var(--line);font-size:0;color:transparent}
.woocommerce-product-gallery__trigger>*,.woocommerce-product-gallery__trigger img{display:none!important}
.onsale{position:absolute;z-index:6;top:16px;left:16px;display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:16px;background:var(--accent);color:#fff;font-size:14px;font-weight:600}

.buy{display:flex;flex-direction:column;gap:24px;min-width:0}
.buy-head{display:flex;flex-direction:column;gap:12px}
.buy-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:14px;color:var(--muted)}
.buy-meta .badge{background:var(--surface)}
.product_title{font-size:40px;font-weight:600;letter-spacing:-.025em;line-height:1.1;text-wrap:balance;margin:0}
.woocommerce-product-rating{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--muted)}
.woocommerce-product-details__short-description{color:var(--muted);font-size:16px;line-height:1.6}
.woocommerce-product-details__short-description p+p{margin-top:.6em}
.key-specs{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.key-spec{background:var(--surface);padding:18px 20px;display:flex;flex-direction:column;gap:4px;margin:0}
.key-spec dt{font-size:13px;color:var(--muted)}
.key-spec dd{margin:0;font-size:17px;font-weight:600}
.key-specs .key-spec:nth-child(odd):last-child{grid-column:span 2}
.price-box{padding:28px;display:flex;flex-direction:column;gap:18px}
.price-big .price,.price-big{font-size:40px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.1}
.price-big del{color:var(--muted);font-size:.5em;margin-right:10px;font-weight:500}
.price-big ins{text-decoration:none}
.price-box form.cart{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch;margin:0}
.price-box form.cart .single_add_to_cart_button{flex:1 1 200px}
.price-box .stock{font-size:14px;color:var(--muted);margin:0}
.price-box .stock.in-stock{color:var(--ok)}
.price-box .stock.out-of-stock{color:var(--accent-text)}
table.variations{width:100%;border-collapse:collapse;margin:0 0 8px}
table.variations th,table.variations td{display:block;padding:0;text-align:left}
table.variations th{padding-bottom:8px;font-size:14px;color:var(--muted);font-weight:500}
table.variations td{padding-bottom:16px}
table.variations select{width:100%}
.reset_variations{display:inline-block;margin-top:8px;font-size:14px;color:var(--muted)}
.single_variation_wrap{width:100%;display:flex;flex-direction:column;gap:14px}
.woocommerce-variation-add-to-cart{display:flex;gap:10px;flex-wrap:wrap}
.woocommerce-variation-add-to-cart .single_add_to_cart_button{flex:1 1 200px}
.woocommerce-variation-price .price{font-size:28px;font-weight:600}
.perks{display:flex;flex-direction:column;gap:14px}
.perk{display:flex;gap:14px;align-items:flex-start;font-size:15px}
.perk .icon{flex-shrink:0;color:var(--accent-text);margin-top:1px}
.perk b{display:block;font-weight:600;margin-bottom:2px}
.perk span{color:var(--muted)}

/* Количество */
.quantity{display:inline-flex}
.quantity .qty{width:88px;min-height:56px;border-radius:28px;border:1px solid var(--line-strong);background:var(--bg);color:var(--text);text-align:center;font-weight:600;font-size:16px;padding:0 8px;-moz-appearance:textfield}
.quantity .qty::-webkit-inner-spin-button,.quantity .qty::-webkit-outer-spin-button{opacity:.5}

/* Вкладки */
.woocommerce-tabs{margin-bottom:96px}
.woocommerce-tabs ul.tabs{list-style:none;margin:0 0 40px;padding:0;display:flex;gap:32px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none}
.woocommerce-tabs ul.tabs li{margin:0}
.woocommerce-tabs ul.tabs li a{display:block;padding:18px 0;font-size:17px;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.woocommerce-tabs ul.tabs li.active a{color:var(--text);border-bottom-color:var(--accent)}
.woocommerce-Tabs-panel{max-width:960px}
.woocommerce-Tabs-panel.panel{background:none;border:0;border-radius:0;padding:0}
.woocommerce-Tabs-panel>h2:first-child:empty{display:none}
table.shop_attributes{width:100%;max-width:880px;border-collapse:collapse;border:0}
table.shop_attributes th{width:40%;text-align:left;color:var(--muted);font-weight:400;padding:16px 24px 16px 0;border-bottom:1px solid var(--line);vertical-align:top}
table.shop_attributes td{padding:16px 0;border-bottom:1px solid var(--line);vertical-align:top}
table.shop_attributes td p{margin:0}

/* Отзывы */
#reviews .woocommerce-Reviews-title,#reviews h2{font-size:26px;font-weight:600;margin-bottom:24px}
#reviews ol.commentlist{list-style:none;margin:0 0 40px;padding:0;display:flex;flex-direction:column;gap:16px}
#reviews .comment_container{display:flex;gap:16px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
#reviews .comment_container img.avatar{width:48px;height:48px;border-radius:24px}
#reviews .comment-text{flex:1;display:flex;flex-direction:column;gap:8px}
#reviews .meta{color:var(--muted);font-size:14px;margin:0}
#review_form_wrapper{max-width:640px}
.comment-form{display:flex;flex-direction:column;gap:16px}
.comment-form p{display:flex;flex-direction:column;gap:8px;margin:0}
.comment-form label{font-size:14px;color:var(--muted)}
.comment-form .form-submit input,.comment-form input[type="submit"]{align-self:flex-start}
.star-rating{position:relative;display:inline-block;width:5.6em;height:1.1em;line-height:1.1;font-size:15px;overflow:hidden;letter-spacing:.12em}
.star-rating::before{content:"★★★★★";position:absolute;inset:0;color:var(--line-strong)}
.star-rating span{position:absolute;top:0;left:0;height:100%;overflow:hidden;padding-top:1.5em}
.star-rating span::before{content:"★★★★★";position:absolute;top:0;left:0;color:var(--accent-text)}
p.stars{margin:0}
p.stars span{display:inline-flex;gap:4px}
p.stars a{font-size:0;text-decoration:none;display:inline-block;width:28px;height:28px;position:relative}
p.stars a::before{content:"★";font-size:24px;line-height:28px;color:var(--line-strong);position:absolute;inset:0;text-align:center}
p.stars:hover a::before,p.stars.selected a::before{color:var(--accent-text)}
p.stars a:hover~a::before,p.stars.selected a.active~a::before{color:var(--line-strong)}

/* Похожие и рекомендуемые */
.related,.upsells,.cross-sells{margin-bottom:112px}
.related>h2,.upsells>h2,.cross-sells>h2{font-size:44px;font-weight:600;letter-spacing:-.025em;line-height:1.1;margin-bottom:40px}

/* =========================================================
   Кнопки и уведомления WooCommerce
   ========================================================= */
.button,a.button,button.button,input.button,input[type="submit"],.wp-element-button,.woocommerce-button{
  min-height:52px;padding:0 28px;border-radius:26px;border:1px solid var(--line-strong);background:transparent;color:var(--text);font-size:16px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s,color .15s;line-height:1.2;text-align:center;white-space:nowrap}
.button:hover,a.button:hover,button.button:hover,input[type="submit"]:hover,.wp-element-button:hover{border-color:var(--text);color:var(--text)}
.button.alt,a.button.alt,button.button.alt,.single_add_to_cart_button,.checkout-button,#place_order,.woocommerce-form-login__submit,.woocommerce-form-register__submit,.comment-form input[type="submit"],.wc-block-components-button:not(.is-link):not(.wc-block-components-button--text),.wp-block-button__link{
  background:var(--accent);border-color:var(--accent);color:#fff}
.button.alt:hover,a.button.alt:hover,button.button.alt:hover,.single_add_to_cart_button:hover,.checkout-button:hover,#place_order:hover,.woocommerce-form-login__submit:hover,.woocommerce-form-register__submit:hover,.comment-form input[type="submit"]:hover,.wc-block-components-button:not(.is-link):not(.wc-block-components-button--text):hover{
  background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}
.button:disabled,.button.disabled,.button[disabled]{opacity:.45;cursor:not-allowed}
.single_add_to_cart_button{min-height:56px;border-radius:28px}
.button.loading{opacity:.7}

.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{list-style:none;margin:0 0 24px;padding:16px 20px;border-radius:16px;background:var(--surface);border:1px solid var(--line-strong);color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:15px}
.woocommerce-error{border-color:var(--accent);flex-direction:column;align-items:flex-start;gap:6px}
.woocommerce-error li{margin:0}
.woocommerce-message .button,.woocommerce-info .button{order:2;min-height:40px;padding:0 18px;font-size:14px}
.woocommerce-message a:not(.button),.woocommerce-info a:not(.button),.woocommerce-error a{text-decoration:underline}
.woocommerce-store-notice,p.demo_store{position:fixed;bottom:0;left:0;right:0;z-index:70;margin:0;padding:14px var(--pad);background:var(--accent);color:#fff;font-size:15px}
.woocommerce-store-notice a{color:#fff;text-decoration:underline}

/* =========================================================
   Корзина, оформление, личный кабинет (классические шорткоды)
   ========================================================= */
.page-main--shop .page-head{padding-top:40px}
table.shop_table{width:100%;border-collapse:collapse;border:0;margin:0 0 24px}
.shop_table th,.shop_table td{padding:16px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.shop_table thead th{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.shop_table tfoot th{color:var(--muted);font-weight:500}
.shop_table .product-thumbnail{width:112px}
.shop_table .product-thumbnail img{width:88px;height:88px;object-fit:cover;border-radius:14px}
.shop_table .product-name a{font-weight:600}
.entry-content .shop_table a,.entry-content .cart_totals a,.entry-content .woocommerce-MyAccount-navigation a,.entry-content .button{text-decoration:none!important}
.shop_table .product-name .variation,.shop_table dl.variation{margin:6px 0 0;font-size:14px;color:var(--muted)}
.shop_table dl.variation dt,.shop_table dl.variation dd{display:inline;margin:0}
.shop_table dl.variation dd p{display:inline;margin:0}
.shop_table a.remove{width:32px;height:32px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-strong);color:var(--muted);font-size:20px;line-height:1}
.shop_table a.remove:hover{border-color:var(--accent);background:var(--accent);color:#fff}
.shop_table .quantity .qty{min-height:44px;width:76px}
.shop_table td.actions{padding-top:24px;text-align:right}
.shop_table td.actions .coupon{float:left;display:flex;gap:8px;flex-wrap:wrap}
.shop_table td.actions .coupon label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.shop_table td.actions .coupon .input-text{width:200px;min-height:52px}
.cart-collaterals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:40px;margin-top:40px}
.cart-collaterals .cart_totals{grid-column:2;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:28px}
.cart-collaterals .cross-sells{grid-column:1;grid-row:1}
.cart_totals h2{font-size:24px;font-weight:600;margin-bottom:12px}
.cart_totals table.shop_table th,.cart_totals table.shop_table td{padding:14px 0}
.cart_totals .order-total td,.cart_totals .order-total th{font-size:20px;font-weight:600;color:var(--text)}
.wc-proceed-to-checkout{margin-top:12px}
.wc-proceed-to-checkout .checkout-button{width:100%}
.woocommerce-shipping-methods{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.woocommerce-shipping-calculator{margin-top:10px}
.shipping-calculator-button{text-decoration:underline;font-size:14px}
.cart-empty.woocommerce-info{margin-bottom:24px}
.return-to-shop .button{background:var(--accent);border-color:var(--accent);color:#fff}

.woocommerce form .form-row{margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:8px}
.woocommerce form .form-row label{font-size:14px;color:var(--muted);line-height:1.4}
.woocommerce form .form-row label.checkbox,.woocommerce form .form-row .woocommerce-form__label-for-checkbox{display:flex;align-items:center;gap:10px;color:var(--text);font-size:15px}
.woocommerce form .form-row .required{color:var(--accent-text);text-decoration:none;border:0}
.woocommerce form .form-row .optional{color:var(--muted)}
.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--accent)}
.woocommerce form .form-row .input-text,.woocommerce form .form-row select{width:100%}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-address-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
.woocommerce form .form-row-wide,.woocommerce form .form-row.notes{grid-column:1/-1}
.woocommerce form .form-row-first{grid-column:1}
.woocommerce form .form-row-last{grid-column:2}
.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3,.woocommerce-additional-fields h3,#order_review_heading{font-size:24px;font-weight:600;margin:0 0 20px}
#ship-to-different-address{font-size:18px}
#ship-to-different-address label{display:flex;align-items:center;gap:10px;cursor:pointer}
.col2-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.col2-set .col-1,.col2-set .col-2{width:auto;float:none;min-width:0}
form.checkout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0 56px;align-items:start}
form.checkout>*{grid-column:1/-1}
form.checkout #customer_details{grid-column:1;grid-row:2 / span 3}
form.checkout #customer_details.col2-set{grid-template-columns:1fr;gap:32px}
form.checkout #order_review_heading{grid-column:2;grid-row:2}
form.checkout #order_review{grid-column:2;grid-row:3;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:28px}
form.checkout .woocommerce-NoticeGroup{grid-row:1}
#order_review table.shop_table th,#order_review table.shop_table td{padding:12px 0}
#order_review .order-total th,#order_review .order-total td{font-size:20px;font-weight:600;color:var(--text)}
.woocommerce-form-coupon-toggle .woocommerce-info,.woocommerce-form-login-toggle .woocommerce-info{justify-content:flex-start}
form.checkout_coupon,form.woocommerce-form-login.login{margin:0 0 24px;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--surface);display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
form.checkout_coupon p{margin:0}
form.checkout_coupon .form-row-first{flex:1 1 220px}
#payment{margin-top:24px}
#payment ul.payment_methods{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:10px}
#payment ul.payment_methods li{padding:14px 16px;border:1px solid var(--line-strong);border-radius:16px}
#payment ul.payment_methods li label{font-weight:600;cursor:pointer;display:inline}
#payment ul.payment_methods li img{display:inline-block;vertical-align:middle;max-height:24px;margin-left:6px}
#payment .payment_box{margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--raised);font-size:14px;color:var(--soft)}
#payment .payment_box p{margin:0}
#payment .place-order{display:flex;flex-direction:column;gap:16px;margin:0;padding:0}
#place_order{width:100%;min-height:56px;border-radius:28px}
.woocommerce-terms-and-conditions-wrapper,.woocommerce-privacy-policy-text{font-size:14px;color:var(--muted)}
.woocommerce-privacy-policy-text a{text-decoration:underline}
.select2-container{width:100%!important}
.select2-container--default .select2-selection--single{height:52px;border-radius:16px;border:1px solid var(--line-strong);background:var(--bg)}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:50px;color:var(--text);padding-left:18px}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:50px;right:12px}
.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:var(--muted) transparent transparent transparent}
.select2-dropdown{background:var(--surface);border-color:var(--line-strong);color:var(--text);border-radius:14px;overflow:hidden}
.select2-container--default .select2-search--dropdown .select2-search__field{background:var(--bg);color:var(--text);border:1px solid var(--line-strong);border-radius:10px}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected],.select2-results__option--highlighted{background:var(--accent)!important;color:#fff!important}
.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background:var(--raised)}

/* Заказ оформлен */
.woocommerce-order{display:flex;flex-direction:column;gap:24px}
.woocommerce-thankyou-order-received{font-size:24px;font-weight:600;color:var(--text)}
ul.woocommerce-order-overview{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:20px;overflow:hidden}
ul.woocommerce-order-overview li{background:var(--surface);padding:18px 20px;font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:4px}
ul.woocommerce-order-overview li strong{font-size:17px;color:var(--text)}
.woocommerce-order-details h2,.woocommerce-customer-details h2,.woocommerce-column__title{font-size:24px;font-weight:600;margin-bottom:16px}
.woocommerce-customer-details address{font-style:normal;padding:20px;border:1px solid var(--line);border-radius:20px;color:var(--soft)}

/* Личный кабинет */
.woocommerce-account.logged-in .entry-content>.woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border-top:1px solid var(--line)}
.woocommerce-MyAccount-navigation li a{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
.woocommerce-MyAccount-navigation li.is-active a{color:var(--accent-text)}
.woocommerce-MyAccount-content{min-width:0}
.woocommerce-MyAccount-content>p{margin-bottom:1em;color:var(--soft)}
.woocommerce-MyAccount-content mark{background:transparent;color:var(--text);font-weight:600}
.woocommerce-Addresses{margin-top:16px}
.woocommerce-Address-title{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:12px}
.woocommerce-Address-title h2{font-size:22px}
#customer_login h2{font-size:28px;font-weight:600;margin-bottom:20px}
form.woocommerce-form-login,form.woocommerce-form-register,form.woocommerce-ResetPassword,form.woocommerce-EditAccountForm{max-width:560px}
#customer_login form.woocommerce-form-login,#customer_login form.woocommerce-form-register{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:28px;display:block;max-width:none}
.woocommerce-form-login__rememberme{display:flex;align-items:center;gap:10px;margin:8px 0 16px;font-size:15px}
.woocommerce-LostPassword{margin-top:16px;font-size:14px}
.woocommerce-LostPassword a{text-decoration:underline}
fieldset{border:1px solid var(--line);border-radius:20px;padding:20px;margin:24px 0}
legend{padding:0 8px;font-weight:600}
.woocommerce-orders-table .button{min-height:40px;padding:0 16px;font-size:14px;margin:2px}

/* =========================================================
   Блочные корзина и оформление (Cart/Checkout blocks)
   ========================================================= */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{color:var(--text)}
.wc-block-components-text-input input,.wc-block-components-text-input textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-textarea{background:var(--bg)!important;color:var(--text)!important;border-color:var(--line-strong)!important;border-radius:14px!important}
.wc-block-components-text-input label,.wc-blocks-components-select__label,.wc-block-components-combobox .wc-block-components-combobox-control label{color:var(--muted)!important}
.wc-block-components-text-input.is-active input,.wc-block-components-text-input input:focus{border-color:var(--text)!important;box-shadow:none!important}
.wc-block-components-button:not(.is-link):not(.wc-block-components-button--text){min-height:52px;border-radius:26px;border:0}
.wc-block-components-button.is-link{color:var(--text)}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]{background:var(--bg);border-color:var(--line-strong)}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked{background:var(--accent);border-color:var(--accent)}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:#fff}
.wc-block-components-radio-control__input{background:var(--bg)!important;border-color:var(--line-strong)!important}
.wc-block-components-radio-control__input:checked::before{background:var(--accent)!important}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{box-shadow:inset 0 0 0 1.5px var(--text)!important}
.wc-block-components-radio-control--highlight-checked::after{border-color:var(--line-strong)!important}
.wc-block-components-quantity-selector{border-color:var(--line-strong)!important;border-radius:14px!important}
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{background:transparent;color:var(--text)}
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{color:var(--text)}
.wc-block-components-product-name{color:var(--text)!important;font-weight:600}
.wc-block-components-totals-wrapper,.wc-block-cart-items,.wc-block-cart-items td,.wc-block-cart-items th,.wc-block-components-panel,.wc-block-components-totals-footer-item,.wc-block-checkout__actions,.wp-block-woocommerce-checkout-order-summary-block,.wc-block-components-order-summary-item{border-color:var(--line)!important}
.wp-block-woocommerce-checkout-order-summary-block,.wc-block-cart__sidebar .wc-block-components-sidebar,.wp-block-woocommerce-cart-order-summary-block{background:transparent}
.wc-block-components-sidebar-layout .wc-block-components-sidebar{padding-left:40px}
.wc-block-components-order-summary-item__quantity{background:var(--accent)!important;color:#fff!important;border-color:var(--bg)!important;box-shadow:none!important}
.wc-block-components-product-metadata,.wc-block-components-product-details,.wc-block-components-checkout-step__description,.wc-block-components-address-card{color:var(--muted)}
.wc-block-components-address-card{border-color:var(--line-strong)!important}
.wc-block-components-notice-banner{background:var(--surface)!important;border-color:var(--line-strong)!important;color:var(--text)!important}
.wc-block-components-notice-banner.is-error{border-color:var(--accent)!important}
.wc-block-components-validation-error,.wc-block-components-validation-error p{color:var(--accent-text)!important}
.wc-block-components-form .wc-block-components-text-input.has-error input{border-color:var(--accent)!important}
.components-form-token-field__suggestions-list,.wc-block-components-combobox .components-combobox-control__suggestions-container{background:var(--surface)!important;border-color:var(--line-strong)!important;color:var(--text)!important}
.components-form-token-field__suggestion.is-selected{background:var(--accent)!important;color:#fff!important}
.wc-block-cart__empty-cart__title{font-size:28px}
.wc-block-grid__product-title{color:var(--text)}
.wc-block-components-product-price,.wc-block-formatted-money-amount{color:var(--text)}
.wc-block-components-chip{background:var(--raised)!important;color:var(--text)!important;border-color:var(--line-strong)!important}

/* =========================================================
   Текст страниц и записей
   ========================================================= */
.entry-content{max-width:760px;color:var(--soft);font-size:17px;line-height:1.7}
.page-main--shop .entry-content{max-width:none;color:var(--text);font-size:16px;line-height:1.5}
.entry-content>*+*{margin-top:1em}
.entry-content h2{font-size:32px;font-weight:600;letter-spacing:-.02em;line-height:1.2;color:var(--text);margin-top:1.6em}
.entry-content h3{font-size:22px;font-weight:600;color:var(--text);margin-top:1.4em}
.entry-content h2:first-child,.entry-content h3:first-child{margin-top:0}
.entry-content a:not(.button):not(.wp-block-button__link):not(.wc-block-components-button){text-decoration:underline;text-underline-offset:3px}
.entry-content ul,.entry-content ol{padding-left:1.3em}
.entry-content li+li{margin-top:.4em}
.entry-content img{border-radius:20px}
.entry-content blockquote{margin:1.4em 0;padding-left:20px;border-left:2px solid var(--accent);color:var(--text)}
.entry-content table:not(.shop_table):not(.variations){width:100%;border-collapse:collapse}
.entry-content table:not(.shop_table):not(.variations) td,.entry-content table:not(.shop_table):not(.variations) th{padding:12px;border-bottom:1px solid var(--line);text-align:left}
.page-main--shop .entry-content>*+*{margin-top:0}
.post-list{display:flex;flex-direction:column;gap:16px}
.post-item{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md)}
.post-item:not(.has-post-thumbnail){grid-template-columns:1fr}
.post-thumb{height:160px;border-radius:var(--radius-sm)}
.post-body{display:flex;flex-direction:column;gap:10px;padding:8px}

/* =========================================================
   Страницы: доставка, о нас, контакты
   ========================================================= */
.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.info-card{padding:36px;display:flex;flex-direction:column;gap:14px}
.info-card .ico{width:52px;height:52px;border-radius:16px;background:var(--raised);display:flex;align-items:center;justify-content:center;color:var(--accent-text);margin-bottom:8px}
.info-text{color:var(--muted);font-size:16px;line-height:1.6}
.info-text p+p,.info-text p+ul{margin-top:.7em}
.info-text ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px}
.info-text li{display:flex;gap:10px;color:var(--soft)}
.info-text li::before{content:"";width:6px;height:6px;border-radius:3px;background:var(--accent-text);margin-top:9px;flex-shrink:0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.split--single{grid-template-columns:minmax(0,760px)}
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.step-row{display:grid;grid-template-columns:64px 1fr;gap:20px;padding:28px 0;border-top:1px solid var(--line)}
.step-row:last-child{border-bottom:1px solid var(--line)}
.step-num{font-size:15px;font-weight:600;color:var(--accent-text)}
.step-row h3{font-size:20px;font-weight:600;margin-bottom:6px}
.step-row p{color:var(--muted)}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.stat{padding:36px}
.stat b{display:block;font-size:56px;font-weight:600;letter-spacing:-.03em;line-height:1}
.stat span{display:block;margin-top:12px;color:var(--muted)}
.about-photo{height:520px}
.about-text{gap:24px}
.mission{padding-block:112px;display:flex;flex-direction:column;gap:20px}
.quote{font-size:32px;font-weight:500;letter-spacing:-.02em;line-height:1.3;max-width:1000px}
.contact-list{display:flex;flex-direction:column}
.contact-row{display:flex;flex-direction:column;gap:6px;padding:24px 0;border-bottom:1px solid var(--line)}
.contact-row:first-child{border-top:1px solid var(--line)}
.contact-row a,.contact-row b{font-size:22px;font-weight:600}
.map{height:100%;min-height:520px;padding:0}
.map iframe{border:0;width:100%;height:100%;min-height:520px;display:block}
.messengers{display:flex;gap:10px;flex-wrap:wrap}
.form-panel{padding:40px;display:flex;flex-direction:column;gap:20px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid .full{grid-column:1/-1}
.form-status{padding:14px 18px;border-radius:14px;background:var(--raised);font-size:15px}
.form-status--ok{box-shadow:inset 0 0 0 1px var(--ok)}
.form-status--error{box-shadow:inset 0 0 0 1px var(--accent)}
.not-found{min-height:50vh}

/* =========================================================
   Подвал
   ========================================================= */
.footer{border-top:1px solid var(--line)}
.footer-inner{padding-block:72px 48px;display:flex;flex-direction:column;gap:56px}
.footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:48px}
.footer-col{display:flex;flex-direction:column;gap:12px;font-size:15px;align-items:flex-start}
.footer-col .label{margin-bottom:4px}
.footer-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.footer-logo{width:170px;height:138px}
.footer-about{font-size:14px;line-height:1.6;margin-top:8px;max-width:260px}
.footer-note{font-size:13px;color:var(--muted);margin-top:-8px}
.footer-social{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px;font-size:14px;color:var(--soft)}
.footer-bottom{display:flex;justify-content:space-between;gap:24px;font-size:13px;color:var(--muted)}

/* Узкие ноутбуки: шапка компактнее */
@media (max-width:1320px){
  .header-row{gap:32px}
  .nav{gap:24px}
  .phone{display:none}
}

/* =========================================================
   Планшет
   ========================================================= */
@media (max-width:1100px){
  :root{--pad:40px;--header-h:88px;--sticky-top:104px}
  .nav-wrap{display:none}
  .burger{display:inline-flex}
  .header-row{justify-content:space-between;gap:24px}
  .h1{font-size:44px}
  .hero{grid-template-columns:1fr;gap:48px;padding-top:56px}
  .hero h1{font-size:52px}
  .hero-photo{height:400px}
  .picker-grid,.picker-grid--2{grid-template-columns:1fr;gap:28px}
  .tasks,.tasks--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tasks--5 .task:nth-child(4){grid-column:auto}
  .tasks--5 .task:nth-child(5),.tasks--3 .task:nth-child(3){grid-column:span 2}
  ul.products,ul.products.columns-3,ul.products.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .why-inner{grid-template-columns:1fr;gap:40px}
  .brands-inner{flex-direction:column;align-items:flex-start}
  .brand-list{justify-content:flex-start}
  .faq{grid-template-columns:1fr;gap:32px}
  .cta{flex-direction:column;align-items:flex-start;padding:56px 40px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog{grid-template-columns:1fr}
  .filters{position:fixed;top:0;left:0;bottom:0;z-index:60;width:min(380px,100%);max-height:none;background:var(--bg);padding:20px 24px 24px;transform:translateX(-100%);transition:transform .25s;border-right:1px solid var(--line);visibility:hidden}
  .filters.is-open{transform:none;visibility:visible}
  .filters-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
  .filters-toggle{display:inline-flex}
  .product-layout{grid-template-columns:1fr;gap:40px}
  .product-gallery-col{position:relative;top:auto}
  .cart-collaterals{grid-template-columns:1fr}
  .cart-collaterals .cart_totals,.cart-collaterals .cross-sells{grid-column:1;grid-row:auto}
  form.checkout{grid-template-columns:1fr;gap:0}
  form.checkout #customer_details,form.checkout #order_review_heading,form.checkout #order_review{grid-column:1;grid-row:auto}
  form.checkout #order_review_heading{margin-top:32px}
  .woocommerce-account.logged-in .entry-content>.woocommerce{grid-template-columns:1fr;gap:24px}
  .woocommerce-MyAccount-navigation ul{flex-direction:row;flex-wrap:wrap;gap:8px;border:0}
  .woocommerce-MyAccount-navigation li a{padding:0 16px;min-height:40px;display:flex;align-items:center;border:1px solid var(--line-strong);border-radius:20px}
  .woocommerce-MyAccount-navigation li.is-active a{background:var(--text);color:var(--bg);border-color:var(--text)}
  .wc-block-components-sidebar-layout .wc-block-components-sidebar{padding-left:0}
  .info-grid,.stats{grid-template-columns:1fr}
  .split{grid-template-columns:1fr;gap:48px}
  .map,.map iframe{min-height:360px}
  .about-photo{height:360px}
}
@media (max-width:782px){
  .admin-bar .header{top:46px}
}
@media (max-width:600px){
  .admin-bar .header{top:0}
}

/* =========================================================
   Телефон
   ========================================================= */
@media (max-width:640px){
  :root{--pad:16px;--radius-lg:24px;--radius-md:22px;--header-h:72px;--sticky-top:88px}
  .header-row{gap:12px}
  .logo{gap:10px}
  .logo .mark{width:44px;height:47px}
  .logo .word{width:128px;height:14px}
  .phone{display:none}
  .header-actions{gap:2px}
  .section{padding-bottom:72px}
  .spacer{height:72px}
  .page-main,.shop-main{padding-bottom:72px}
  .h1{font-size:34px}
  .h2{font-size:32px}
  .lead{font-size:17px}
  .head-row{margin-bottom:24px}
  .hero{padding-top:32px;padding-bottom:64px;gap:32px}
  .hero h1{font-size:38px}
  .hero p{font-size:17px}
  .hero-actions .btn{flex:1 1 100%}
  .hero-photo{height:260px}
  .picker{padding:28px 20px;gap:24px}
  .picker-head{flex-direction:column;gap:8px}
  .picker-head h2{font-size:26px}
  .picker-foot .btn{width:100%}
  .tasks,.tasks--2,.tasks--4{grid-template-columns:1fr}
  .tasks--5 .task:nth-child(5),.tasks--3 .task:nth-child(3){grid-column:auto}
  .task{min-height:0;padding:24px}
  .task h3{font-size:22px}
  ul.products,ul.products.columns-2,ul.products.columns-3,ul.products.columns-4{grid-template-columns:1fr}
  .why-inner{padding-block:64px}
  .brands-inner{padding-block:48px}
  .brand-list{font-size:18px;gap:16px 28px}
  .faq{padding-top:72px}
  .faq-q{font-size:17px}
  .cta{padding:40px 24px}
  .cta h2{font-size:30px}
  .cta-btns{width:100%}
  .cta-btns .btn{flex:1 1 100%}
  .footer-grid{grid-template-columns:1fr;gap:36px}
  .footer-bottom{flex-direction:column}
  .page-head{padding-bottom:36px}
  .toolbar{align-items:stretch}
  .toolbar-left{width:100%;justify-content:space-between}
  .woocommerce-ordering,.woocommerce-ordering select{width:100%}
  .product-layout{padding-top:20px;padding-bottom:64px}
  .product_title{font-size:28px}
  .key-specs{grid-template-columns:1fr}
  .key-specs .key-spec:nth-child(odd):last-child{grid-column:auto}
  .price-big,.price-big .price{font-size:32px}
  .price-box{padding:20px}
  .price-box form.cart .single_add_to_cart_button{flex-basis:100%}
  .flex-control-thumbs{gap:8px}
  .related>h2,.upsells>h2,.cross-sells>h2{font-size:30px;margin-bottom:24px}
  .woocommerce-tabs ul.tabs{gap:24px}
  table.shop_attributes th{width:45%;padding-right:12px}
  .info-card,.stat,.form-panel{padding:24px}
  .stat b{font-size:44px}
  .quote{font-size:24px}
  .mission{padding-block:72px}
  .contact-row a,.contact-row b{font-size:19px}
  .form-grid{grid-template-columns:1fr}
  .post-item{grid-template-columns:1fr}
  .woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-address-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper{grid-template-columns:1fr}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{grid-column:1}
  .col2-set{grid-template-columns:1fr;gap:24px}
  form.checkout #order_review{padding:20px}
  .shop_table_responsive thead,.shop_table_responsive tbody th{display:none}
  .shop_table_responsive tr{display:block;padding:16px 0;border-bottom:1px solid var(--line)}
  .shop_table_responsive td{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:6px 0;border:0;text-align:right}
  .shop_table_responsive td::before{content:attr(data-title);font-weight:500;color:var(--muted);text-align:left}
  .shop_table_responsive td.product-remove::before,.shop_table_responsive td.actions::before,.shop_table_responsive td.product-thumbnail::before{display:none}
  .shop_table_responsive td.product-thumbnail{display:none}
  .shop_table_responsive td.product-remove{justify-content:flex-end}
  .shop_table td.actions{display:block;text-align:left}
  .shop_table td.actions .coupon{float:none;margin-bottom:12px}
  .shop_table td.actions .coupon .input-text{flex:1;width:auto}
  .shop_table td.actions .button{width:100%}
  .cart-collaterals .cart_totals{padding:20px}
}


/* =========================================================
   Выбор характеристик (кнопки и цвета)
   ========================================================= */
.ol-hidden-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
table.variations td.value{position:relative}
.ol-opts{display:flex;flex-wrap:wrap;gap:8px}
.ol-opt{position:relative;min-height:46px;padding:10px 16px;border-radius:16px;border:1px solid var(--line-strong);background:var(--raised);color:var(--soft);font-size:14px;font-weight:500;line-height:1.25;text-align:left;cursor:pointer;
  transition:border-color .25s ease,background-color .25s ease,color .25s ease,box-shadow .25s ease,opacity .25s ease,transform .15s ease}
.ol-opt:hover{border-color:var(--muted);color:var(--text)}
.ol-opt:active{transform:scale(.97)}
.ol-opt.is-on{border-color:var(--accent);color:var(--text);background:color-mix(in srgb,var(--accent) 12%,var(--raised));box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.ol-opt.is-na{opacity:.38}
.ol-opt.is-na:hover{opacity:.6}
.ol-opts--color .ol-opt{display:inline-flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:999px}
.ol-sw{width:28px;height:28px;border-radius:50%;background:var(--sw);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 1px 3px rgba(0,0,0,.4);transition:transform .25s ease}
.ol-opt.is-on .ol-sw{transform:scale(1.08)}
.single_variation{transition:opacity .3s ease}
.woocommerce-variation-price .price{transition:opacity .25s ease}

/* =========================================================
   Карточка товара: всё на одном экране (десктоп)
   ========================================================= */
.price-box:has(.woocommerce-variation-price .amount) .woocommerce-variation-price{display:none}
.woocommerce-variation-description p{margin:0;font-size:13px;line-height:1.45;color:var(--muted)}
.price-box .woocommerce-variation-availability .stock{font-size:13px}
.price-big{transition:opacity .2s ease}
@media (min-width:1025px){
  .product-layout{gap:48px;padding-block:16px 72px;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
  .woocommerce-product-gallery__image img{max-height:calc(100vh - 300px);width:100%;object-fit:contain}
  .woocommerce-product-gallery .flex-control-thumbs li{max-width:72px}
  .summary.buy{gap:14px;display:flex;flex-direction:column}
  .buy-head{gap:6px}
  .buy-head .product_title{font-size:clamp(26px,2.3vw,34px);line-height:1.12;margin:0}
  .key-specs{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:16px}
  .key-specs .key-spec:nth-child(odd):last-child{grid-column:auto}
  .key-spec{padding:10px 14px;gap:2px}
  .key-spec dt{font-size:11px}
  .key-spec dd{font-size:13px;line-height:1.3}
  .price-box{padding:20px 22px;gap:12px}
  .price-big,.price-big .price{font-size:34px}
  table.variations{margin:0}
  table.variations tr{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:12px;padding:5px 0}
  table.variations th{padding:0;font-size:13px}
  table.variations td{padding:0}
  .ol-opts{gap:6px}
  .ol-opt{min-height:38px;padding:7px 14px;font-size:14px}
  .ol-opts--color .ol-sw{width:22px;height:22px}
  .single_variation_wrap{gap:10px}
  .single_add_to_cart_button{min-height:50px}
  .price-box > .btn-block{min-height:42px;padding-block:8px;font-size:14px}
  .perks{flex-direction:row;gap:12px}
  .perks .perk{flex:1 1 0;font-size:12px}
  .perks .perk span{font-size:11px}
}

table.variations .reset_variations{display:none!important}

@media (min-width:1025px){
  .single-product .crumbs{padding-block:12px 4px}
  .ol-opt{padding:6px 12px;font-size:13px;min-height:36px}
  .ol-opts--color .ol-opt{padding:5px 14px 5px 6px;min-height:36px}
  .price-box .woocommerce-variation-availability{display:none}
  .price-box .woocommerce-variation-add-to-cart{display:flex;gap:10px;align-items:stretch}
  .price-box .woocommerce-variation-add-to-cart .single_add_to_cart_button{flex:1 1 auto}
  .ol-tg{flex:0 0 50px;width:50px;min-height:50px;border-radius:25px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);color:var(--text);transition:border-color .2s ease,background .2s ease}
  .ol-tg:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}
  .price-box.has-ol-tg > .btn-block{display:none}
}
@media (min-width:1025px) and (max-height:820px){
  .key-specs{display:none}
  .buy-head .product_title{font-size:28px}
}

@media (max-width:1024px){.ol-tg{display:none!important}}

/* Отзывы на Авито */
.avito-badge{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);text-decoration:none;font-size:14px;transition:border-color .2s ease,transform .2s ease}
.avito-badge:hover{border-color:var(--accent);transform:translateY(-1px)}
.av-rating{font-weight:700;font-size:16px}
.av-stars{display:inline-flex;gap:2px}
.av-star{width:14px;height:14px;background:linear-gradient(90deg,#ffb800 var(--f),rgba(255,255,255,.18) var(--f));-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.7 7.3L12 17.8 5.7 21.5l1.7-7.3L2 9.5l7.1-.6z'/%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'%3E%3Cpath d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.7 7.3L12 17.8 5.7 21.5l1.7-7.3L2 9.5l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat}
.av-count{color:var(--muted)}
.avito-badge--hero{margin-top:20px}
.avito-badge--product{align-self:flex-start;font-size:13px;padding:6px 12px}
.avito-badge--footer{margin-left:10px;font-size:12px;padding:4px 10px}
.avito-badge--footer .av-star{width:11px;height:11px}

/* SEO-текст под каталогом */
.seo-text{max-width:860px;margin:56px 0 0;padding:28px 32px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--muted);font-size:15px;line-height:1.65}
.seo-text h2{color:var(--text);font-size:22px;margin:0 0 12px}
.seo-text p{margin:0 0 12px}
.seo-text p:last-child{margin:0}

.series-chips{margin-top:12px}
.series-chips .muted{opacity:.6;margin-left:4px}

/* ===== Главная: «Под какую задачу» — бенто ===== */
.tb{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tb-card{position:relative;display:flex;flex-direction:column;gap:8px;min-height:212px;padding:24px 24px 72px;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--line);overflow:hidden;color:var(--text);transition:border-color .25s ease,transform .25s ease,background-color .25s ease}
.tb-card:hover{border-color:rgba(195,22,23,.55);transform:translateY(-3px);color:var(--text)}
.tb-card h3{font-size:21px;font-weight:600;letter-spacing:-.015em;line-height:1.2;margin:0}
.tb-card p{margin:0;font-size:14px;line-height:1.45;color:var(--muted)}
.tb-meta{position:absolute;left:24px;right:68px;bottom:28px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.tb-ico{display:grid;place-items:center;width:46px;height:46px;margin-bottom:10px;border-radius:14px;background:rgba(195,22,23,.12);color:var(--accent-text);transition:background-color .25s ease,color .25s ease}
.tb-card:hover .tb-ico{background:var(--accent);color:#fff}
.tb-arrow{position:absolute;right:20px;bottom:20px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);color:var(--muted);transition:background-color .25s ease,border-color .25s ease,color .25s ease,transform .25s ease}
.tb-card:hover .tb-arrow{background:var(--accent);border-color:var(--accent);color:#fff;transform:translateX(2px)}
.tb-card--hero{grid-column:span 2;grid-row:span 2;min-height:440px;padding:36px;background:radial-gradient(90% 70% at 75% 100%,rgba(195,22,23,.22),transparent 65%),var(--surface)}
.tb-hero-text{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px;max-width:56%}
.tb-card--hero h3{font-size:44px;letter-spacing:-.025em}
.tb-card--hero p{font-size:16px}
.tb-card--hero .tb-meta{position:static;margin-top:6px;font-size:14px;color:var(--text)}
.tb-tag{align-self:flex-start;padding:5px 12px;border-radius:999px;background:rgba(195,22,23,.14);color:var(--accent-text);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.tb-art{position:absolute;right:-24px;bottom:-8px;width:88%;max-width:620px;height:auto;pointer-events:none;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.tb-card--hero:hover .tb-art{transform:translateY(-6px) scale(1.02)}
.tb-card--hero .tb-arrow{width:46px;height:46px;right:28px;top:28px;bottom:auto;z-index:1}
.tb--game .tb-card:nth-child(n+6){grid-column:span 2;min-height:150px}
.tb--game .tb-card:nth-child(n+6) .tb-ico{position:absolute;right:20px;top:20px;margin:0}
@media (max-width:1024px){
  .tb{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tb-card--hero{grid-row:auto;min-height:380px}
  .tb--game .tb-card:nth-child(n+6){grid-column:auto;min-height:212px}
  .tb--game .tb-card:nth-child(n+6) .tb-ico{position:static;margin-bottom:10px}
}
@media (max-width:600px){
  .tb{gap:10px}
  .tb-card{min-height:0;padding:18px 16px 56px;border-radius:var(--radius-sm)}
  .tb-card h3{font-size:17px}
  .tb-card p{font-size:13px}
  .tb-meta{left:16px;bottom:20px;font-size:12px}
  .tb-ico{width:40px;height:40px;border-radius:12px;margin-bottom:6px}
  .tb-arrow{display:none}
  .tb-card--hero{min-height:330px;padding:22px}
  .tb-card--hero .tb-arrow{display:grid;width:40px;height:40px;right:18px;top:18px}
  .tb-hero-text{max-width:100%}
  .tb-card--hero h3{font-size:32px}
  .tb-card--hero p{font-size:14px;max-width:70%}
  .tb-art{width:96%;right:-14px;bottom:-4px}
  .tb--game .tb-card:nth-child(n+6){min-height:0}
}
@media (prefers-reduced-motion:reduce){.tb-card,.tb-art,.tb-arrow{transition:none}.tb-card:hover,.tb-card--hero:hover .tb-art{transform:none}}

.tb-meta span{display:inline-block;white-space:nowrap}
.tb-meta span+span::before{content:"·";margin:0 6px;opacity:.6}

.tb-card{padding-bottom:24px}
.tb-card .tb-meta{position:static;margin-top:auto;padding:12px 50px 0 0;line-height:1.5}
.tb-card .tb-arrow{bottom:20px}
@media (max-width:600px){.tb-card{padding-bottom:18px}.tb-card .tb-meta{padding-right:0}}

.tb-card:not(.tb-card--hero) .tb-meta span{display:block}
.tb-card:not(.tb-card--hero) .tb-meta span+span{color:var(--text);font-weight:500;font-size:15px;margin-top:2px}
.tb-card:not(.tb-card--hero) .tb-meta span+span::before{content:none}

@media (max-width:600px){
  .tb-card--hero{min-height:0}
  .tb-card--hero .tb-art{position:relative;right:auto;bottom:auto;width:calc(100% + 20px);max-width:none;margin:14px -10px -16px}
  .tb-card--hero p{max-width:100%}
}

@media (max-width:600px){.tb-card h3{font-size:16px;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}}

/* ===== Светлая схема (L6 «Минимал: всё светлое») ===== */
[data-theme="light"]{color-scheme:light;--bg:#FAFAF7;--surface:#FFFFFF;--raised:#F0EDE8;--line:#E4E0D9;--line-strong:#CFC9C0;--text:#111111;--soft:#3A3835;--muted:#5E5B56;--accent-text:#B01314}
[data-theme="light"] .woocommerce-product-gallery__trigger{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E")}
[data-theme="light"] .av-star{background:linear-gradient(90deg,#ffb800 var(--f),rgba(0,0,0,.14) var(--f))}
[data-theme="light"] .ol-sw{box-shadow:inset 0 0 0 1px rgba(0,0,0,.14),0 1px 3px rgba(0,0,0,.12)}
[data-theme="light"] .backdrop{background:rgba(17,17,17,.38)}
[data-theme="light"] .tb-card--hero{background:radial-gradient(90% 70% at 75% 100%,rgba(195,22,23,.12),transparent 65%),var(--surface)}
[data-theme="light"] .tb-card:hover{border-color:rgba(195,22,23,.45)}
[data-theme="light"] .card:hover,[data-theme="light"] .tb-card:hover,[data-theme="light"] .task:hover{box-shadow:0 10px 30px -18px rgba(17,17,17,.25)}

[data-theme="light"] img.soc{filter:invert(1)}
[data-theme="light"] .hero-photo{background:var(--raised)}

[data-theme="light"] img[src*="omenlab-foto-skoro"]:not([src*="skoro-light"]){content:url("/wp-content/uploads/2026/10/omenlab-foto-skoro-light.png")}

/* Колонка «Подытог» в корзине скрыта настройкой магазина — прячем и её заголовок */
.shop_table th.product-subtotal{display:none}

/* Переключатель светлой/тёмной темы */
.theme-switching,.theme-switching *,.theme-switching *::before,.theme-switching *::after{transition:none!important}
[data-theme="light"] .theme-toggle .ico-sun,[data-theme="light"] .theme-toggle-row .ico-sun{display:none}
html:not([data-theme="light"]) .theme-toggle .ico-moon,html:not([data-theme="light"]) .theme-toggle-row .ico-moon{display:none}
.theme-toggle-row{gap:10px}
@media (max-width:600px){.header .theme-toggle{display:none}}

/* Старые браузеры без color-mix (Safari до 16.2, Firefox до 113): сплошные цвета вместо полупрозрачных */
@supports not (background:color-mix(in srgb,red 50%,blue)){
  .header{background:var(--bg)}
  .woocommerce-product-gallery__trigger{background-color:var(--bg)}
  .ol-opt.is-on{background:var(--raised);box-shadow:0 0 0 3px rgba(195,22,23,.25)}
  .ol-tg:hover{background:rgba(195,22,23,.12)}
}

/* Допуслуги в карточке */
.ol-svc{margin-top:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.ol-svc-sum{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;font-weight:600;font-size:15px}
.ol-svc-sum::-webkit-details-marker{display:none}
.ol-svc-chev{width:8px;height:8px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);transition:transform .2s}
.ol-svc[open] .ol-svc-chev{transform:rotate(-135deg)}
.ol-svc-body{padding:0 18px 16px;display:flex;flex-direction:column;gap:14px}
.ol-svc-group{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.ol-svc-group[hidden]{display:none}
.ol-svc-group legend{font-size:13px;font-weight:600;color:var(--soft);margin-bottom:6px;padding:0}
.ol-svc-opt{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;cursor:pointer;font-size:14px;transition:border-color .2s,background-color .2s}
.ol-svc-opt:hover{border-color:var(--line-strong)}
.ol-svc-opt:has(input:checked){border-color:var(--accent);background:rgba(195,22,23,.06)}
.ol-svc-opt input{accent-color:var(--accent);margin:0;flex-shrink:0}
.ol-svc-name{flex:1;display:flex;flex-direction:column}
.ol-svc-name small{font-size:12px;color:var(--muted);margin-top:2px}
.ol-svc-price{white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}
.ol-svc-soft{min-height:64px;padding:10px 14px;border-radius:12px;font-size:14px;resize:vertical}
.ol-svc-total{font-size:14px}
.ol-svc-note{font-size:12px;margin:0}

/* SEO-подборки */
.pod-intro{max-width:760px;color:var(--muted);font-size:17px;line-height:1.55;margin:8px 0 0}
.pod-links{margin:48px 0 0;padding-top:28px;border-top:1px solid var(--line)}
.pod-links-title{font-size:18px;font-weight:600;margin-bottom:14px}
.pod-links .chips{display:flex;flex-wrap:wrap;gap:8px}

.priemka-steps{max-width:860px}
.priemka-link{margin:14px 0 0;font-size:14px;text-align:center}
.priemka-link a{color:var(--accent-text)}

/* Как готовим ноутбук перед выдачей */
.prep{padding:40px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line)}
.prep-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 32px;margin-bottom:28px}
.prep-head h2,.prep-head h3{margin:0}
.prep-pay{margin:0;display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:rgba(76,195,138,.12);color:var(--text);font-size:14px;font-weight:500}
.prep-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);flex-shrink:0}
.prep-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.prep-item{position:relative;padding:24px;border-radius:var(--radius-sm);background:var(--bg);border:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.prep-ico{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(195,22,23,.12);color:var(--accent-text);margin-bottom:6px}
.prep-num{position:absolute;top:22px;right:22px;font-size:13px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.prep-item h3{margin:0;font-size:17px;font-weight:600;line-height:1.3}
.prep-item p{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.prep-wrap{margin-top:48px;margin-bottom:8px}
.prep--product{padding:32px}
@media (max-width:1024px){.prep-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.prep{padding:22px 16px}.prep-grid{grid-template-columns:1fr;gap:10px}.prep-item{padding:18px}.prep-pay{font-size:13px}}

/* Рассрочка */
.inst-note{margin:0 0 14px;font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.inst-badge{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:12px;background:rgba(195,22,23,.12);color:var(--accent-text);font-size:12px;font-weight:600}
.inst-note a{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}
.inst-pay{margin-top:12px}

/* Установка программ (в блоке допуслуг) */
.ol-svc-soft-box{border:1px solid var(--line);border-radius:14px}
.ol-svc-soft-sum{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;font-weight:600;font-size:14px}
.ol-svc-soft-sum::-webkit-details-marker{display:none}
.ol-svc-soft-title small{font-weight:400;font-size:12px;margin-left:6px}
.ol-svc-soft-box[open] > .ol-svc-soft-sum .ol-svc-chev{transform:rotate(-135deg)}
.ol-svc-soft-body{padding:0 14px 14px;display:flex;flex-direction:column;gap:8px}
.ol-svc-sub{font-size:13px;font-weight:600;color:var(--soft);margin-top:6px}
.ol-svc-sub small{font-weight:400}
.ol-chips{display:flex;flex-wrap:wrap;gap:6px}
.ol-chip{position:relative;cursor:pointer}
.ol-chip input{position:absolute;opacity:0;pointer-events:none}
.ol-chip span{display:inline-block;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:13px;transition:border-color .2s,background-color .2s}
.ol-chip:hover span{border-color:var(--line-strong)}
.ol-chip input:checked + span{border-color:var(--accent);background:rgba(195,22,23,.06);font-weight:600}
.ol-chip input:focus-visible + span{outline:2px solid var(--accent);outline-offset:2px}
.ol-adobe-pick{padding:12px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:8px}
.ol-adobe-pick[hidden]{display:none}
.ol-adobe-hint{font-size:12px;font-weight:600;color:var(--soft)}
.ol-adobe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;font-size:13px}
.ol-adobe-grid label{display:flex;align-items:center;gap:8px;cursor:pointer}
.ol-adobe-grid input{accent-color:var(--accent);margin:0}
@media (min-width:1200px){.ol-adobe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* FPS в играх */
.fps-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.fps-chip{display:inline-flex;align-items:baseline;gap:6px;padding:4px 8px;border-radius:8px;background:rgba(195,22,23,.07);border:1px solid rgba(195,22,23,.18);font-size:12px;line-height:1.2;white-space:nowrap}
.fps-chip .fps-g{color:var(--muted)}
.fps-chip b{font-weight:700;font-variant-numeric:tabular-nums;color:var(--text)}
.fps-chip b::after{content:" FPS";font-weight:500;font-size:10px;color:var(--muted)}
.fps-box{margin:16px 0;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.fps-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
.fps-title{font-weight:600;font-size:15px}
.fps-note{font-size:12px;color:var(--muted)}
.fps-row--lg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.fps-row--lg .fps-chip{flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;border-radius:12px;white-space:normal}
.fps-row--lg .fps-chip b{font-size:18px}
.fps-foot{margin:10px 0 0;font-size:11px;color:var(--muted);line-height:1.4}
@media (max-width:480px){.fps-row--lg{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Подборки в подвале */
.footer-pods{margin-top:28px;padding-top:22px;border-top:1px solid var(--line, rgba(127,127,127,.2))}
.footer-pods .label{margin-bottom:10px}
.footer-pods-list{display:flex;flex-wrap:wrap;gap:8px 22px}
.footer-pods-list a{font-size:14px;color:inherit;opacity:.8;text-decoration:none}
.footer-pods-list a:hover{opacity:1;color:var(--accent, #C31617)}


/* =========================================================
   Верхняя плашка (город, часы, ссылки, «Перезвоните мне», телефон)
   ========================================================= */
.topbar{background:var(--surface);border-bottom:1px solid var(--line);font-size:13px;color:var(--muted);position:relative;z-index:41}
.topbar-row{display:flex;align-items:center;gap:24px;min-height:40px}
.topbar-info{display:flex;align-items:center;gap:20px;min-width:0}
.topbar-item{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.topbar-item svg{flex:0 0 auto;opacity:.75}
.topbar-links{display:flex;gap:20px;margin-left:auto}
.topbar-links a{color:var(--muted);white-space:nowrap;transition:color .2s ease}
.topbar-links a:hover{color:var(--text)}
.topbar-cta{display:flex;align-items:center;gap:18px}
.topbar-callback{font:inherit;font-weight:600;color:var(--accent-text);background:none;border:0;padding:0;cursor:pointer;white-space:nowrap}
.topbar-callback:hover{text-decoration:underline;text-underline-offset:3px}
.topbar-phone{font-size:14px;font-weight:700;color:var(--text);white-space:nowrap}
@media (max-width:1320px){.topbar-perks{display:none}}
@media (max-width:1100px){.topbar-links{display:none}.topbar-cta{margin-left:auto}}
@media (max-width:640px){
  .topbar-info{display:none}
  .topbar-row{min-height:38px}
  .topbar-cta{margin-left:0;width:100%;justify-content:space-between}
}

/* Окно «Перезвоните мне» */
.cb-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:16px}
.cb-modal[hidden]{display:none}
.cb-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.cb-dialog{position:relative;width:min(440px,100%);max-height:calc(100vh - 32px);overflow:auto;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:var(--radius-lg);padding:32px 28px 28px;box-shadow:0 24px 64px rgba(0,0,0,.35)}
.cb-close{position:absolute;top:14px;right:14px}
.cb-title{font-size:26px;line-height:1.15;margin:0 48px 10px 0}
.cb-lead{margin:0 0 20px;font-size:14px;line-height:1.5;color:var(--muted)}
.cb-form{display:flex;flex-direction:column;gap:14px}
.cb-status{margin:0;font-size:14px;line-height:1.45}
.cb-status:empty{display:none}
.cb-status.is-ok{color:var(--ok)}
.cb-status.is-err{color:var(--accent-text)}
.cb-form.is-sent .field,.cb-form.is-sent .check,.cb-form.is-sent button[type=submit]{display:none}
@media (max-width:640px){.cb-dialog{padding:26px 18px 20px}.cb-title{font-size:22px}}


/* Международная версия модели под заголовком товара */
.ol-global-name{margin:-4px 0 4px;font-size:14px;color:var(--muted)}
.ol-global-name strong{color:var(--text);font-weight:600}


/* Статьи: список и блоки внизу статьи */
.art-list{margin-top:48px}
.art-list--more{border-top:1px solid var(--line);padding-top:40px}
.art-list-title,.art-cta-title{font-size:24px;line-height:1.2;margin:0 0 20px}
.art-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.art-card{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--text);transition:border-color .2s ease,transform .2s ease}
.art-card:hover{border-color:var(--accent);color:var(--text);transform:translateY(-2px)}
.art-card-title{font-size:18px;font-weight:600;line-height:1.3}
.art-card-desc{font-size:14px;line-height:1.5;color:var(--muted)}
.art-card-more{margin-top:auto;font-size:14px;font-weight:600;color:var(--accent-text)}
.art-cta{margin-top:48px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line)}
.art-cta p{margin:0;color:var(--muted)}
.art-cta-actions{display:flex;gap:12px;flex-wrap:wrap}
@media (max-width:800px){.art-grid{grid-template-columns:1fr}.art-cta{flex-direction:column;align-items:flex-start;padding:24px}}

/* =========================================================
   Сравнение ноутбуков
   ========================================================= */
.cmp-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line-strong);background:transparent;border-radius:999px;padding:0 14px;min-height:36px;font-size:14px;color:var(--soft);transition:border-color .15s,color .15s,background .15s}
.cmp-toggle:hover{border-color:var(--text);color:var(--text)}
.cmp-toggle.is-on{border-color:var(--accent);color:var(--text);background:color-mix(in srgb,var(--accent) 14%,transparent)}
.cmp-toggle--card{margin-top:auto}
.card-body > :has(+ .cmp-toggle--card){margin-bottom:12px}
.cmp-single{margin:16px 0 4px}
.cmp-toggle--single{min-height:44px;padding:0 18px;font-size:15px}

.cmp-bar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:150;width:min(640px,calc(100% - 32px))}
.cmp-bar[hidden]{display:none}
.cmp-bar-in{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--raised);border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:10px 12px 10px 18px;box-shadow:0 12px 40px rgba(0,0,0,.35)}
.cmp-bar-text{font-size:15px}
.cmp-bar-msg{flex:1;min-width:0;font-size:14px;color:var(--muted)}
.cmp-bar .btn.is-disabled{opacity:.55}
.cmp-bar-clear{background:none;border:0;color:var(--muted);font-size:14px;padding:6px}
.cmp-bar-clear:hover{color:var(--text)}
body.has-cmp-bar{padding-bottom:88px}

.cmp{margin:8px 0 40px}
.cmp-empty{border:1px solid var(--line);border-radius:var(--radius-md);padding:28px;background:var(--surface)}
.cmp-empty p{margin:0 0 12px}
.cmp-verdict{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);padding:24px;margin-bottom:24px}
.cmp-verdict h2{margin:0 0 16px;font-size:24px}
.cmp-verdict-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.cmp-v{border:1px solid var(--line);border-radius:var(--radius-sm);padding:16px;background:var(--raised)}
.cmp-v-k{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.cmp-v-w{font-size:18px;font-weight:600;margin:6px 0}
.cmp-v-w a:hover{color:var(--accent-text)}
.cmp-v-t{margin:6px 0 0;font-size:14px;color:var(--soft);line-height:1.45}
.cmp-note{margin:14px 0 0;font-size:13px;color:var(--muted)}

.cmp-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius-md)}
.cmp-table{width:100%;border-collapse:collapse;min-width:560px;font-size:15px}
.cmp-table th,.cmp-table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.cmp-table tbody tr:last-child th,.cmp-table tbody tr:last-child td{border-bottom:0}
.cmp-rowh{width:180px;color:var(--muted);font-weight:500;font-size:14px;position:sticky;left:0;background:var(--bg);z-index:1}
.cmp-col{position:relative;min-width:200px;font-weight:600}
.cmp-photo{display:block;aspect-ratio:1;max-width:160px;margin-bottom:10px;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface)}
.cmp-photo img{width:100%;height:100%;object-fit:contain}
.cmp-name{display:block;font-size:16px;line-height:1.3}
.cmp-remove{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;border:1px solid var(--line-strong);background:var(--surface);color:var(--muted);font-size:18px;line-height:1}
.cmp-remove:hover{color:var(--text);border-color:var(--text)}
.cmp-table tr.is-same td{color:var(--muted)}
.cmp-table td.best{color:var(--text);background:color-mix(in srgb,var(--ok) 12%,transparent);box-shadow:inset 3px 0 0 var(--ok)}
.cmp-ok{color:var(--ok)}
.cmp-wait{color:var(--wait)}
.cmp-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:24px;border:1px solid var(--line);border-radius:var(--radius-md);padding:20px 24px;background:var(--surface)}
.cmp-cta b{display:block;font-size:18px}
.cmp-cta span{color:var(--muted);font-size:14px}
@media (max-width:640px){
  .cmp-rowh{width:120px;font-size:13px}
  .cmp-table th,.cmp-table td{padding:12px}
  .cmp-col{min-width:160px}
  .cmp-verdict{padding:18px}
  .cmp-cta .btn{width:100%}
}
.page-id-183828 .entry-content,.entry-content:has(> .cmp){max-width:none}
.cmp-table{table-layout:fixed}
.cmp-table .cmp-rowh{width:200px}
@media (max-width:640px){.cmp-table{table-layout:auto}.cmp-table .cmp-rowh{width:110px}}
@media (max-width:640px){.cmp-bar{bottom:92px}.cmp-bar-in{padding:8px 10px 8px 14px;gap:8px}.cmp-bar-msg{flex-basis:100%;order:5}body.has-cmp-bar{padding-bottom:150px}}

/* Покупатель: физ. / юр. лицо */
.ol-buyer{margin:4px 0 16px}
.ol-buyer-t{font-size:14px;color:var(--muted);margin-bottom:8px}
.ol-buyer-sw{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface)}
.ol-buyer-o{border:0;background:transparent;border-radius:999px;padding:0 16px;min-height:38px;font-size:15px;color:var(--soft);transition:background .15s,color .15s}
.ol-buyer-o span{color:var(--muted);font-size:13px;margin-left:4px}
.ol-buyer-o:hover{color:var(--text)}
.ol-buyer-o.is-on{background:var(--text);color:var(--bg)}
.ol-buyer-o.is-on span{color:inherit;opacity:.75}
.ol-buyer-note{margin:8px 0 0;font-size:13px;color:var(--muted)}

/* Комплектации и характеристики */
.sku-list{margin:18px 0 6px;border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden}
.sku-list-t{padding:12px 14px;font-weight:600;font-size:15px;background:var(--surface)}
.sku-list-t span{color:var(--muted);font-weight:400}
.sku-list ul{list-style:none;margin:0;padding:0;max-height:330px;overflow:auto}
.sku-list li{border-top:1px solid var(--line)}
.sku-list a{display:grid;grid-template-columns:1fr auto auto;gap:4px 12px;align-items:center;padding:10px 14px;font-size:14px;color:var(--text)}
.sku-list a:hover{background:var(--surface)}
.sku-list li.is-cur a{box-shadow:inset 3px 0 0 var(--accent);background:color-mix(in srgb,var(--accent) 6%,transparent)}
.sku-l-n{min-width:0}
.sku-l-s{font-size:12px;white-space:nowrap}
.sku-l-s--ok{color:var(--ok)}.sku-l-s--wait{color:var(--wait)}.sku-l-s--off{color:var(--muted)}
.sku-l-p{font-weight:600;white-space:nowrap}
@media (max-width:560px){.sku-list a{grid-template-columns:1fr auto}.sku-l-s{grid-column:1}.sku-l-p{grid-row:1/3;grid-column:2}}
.spec-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px 28px}
.spec-g h3{font-size:16px;margin:0 0 6px}
.spec-g dl{margin:0}
.spec-g dl>div{display:grid;grid-template-columns:44% 1fr;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
.spec-g dt{color:var(--muted)}
.spec-g dd{margin:0}
.spec-note{grid-column:1/-1;font-size:13px;color:var(--muted);margin:6px 0 0}
.games-t{width:100%;max-width:520px;border-collapse:collapse;font-size:15px;margin:8px 0}
.games-t th,.games-t td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left}
.games-t th{color:var(--muted);font-weight:500;font-size:13px}
.faq-sec{margin:40px 0 8px}
.faq-sec h2{margin:0 0 14px}
.faq-i{border-bottom:1px solid var(--line);padding:14px 0}
.faq-i summary{cursor:pointer;font-weight:600;font-size:16px;list-style:none}
.faq-i summary::-webkit-details-marker{display:none}
.faq-i summary::after{content:"+";float:right;color:var(--muted);font-weight:400}
.faq-i[open] summary::after{content:"−"}
.faq-i p{margin:10px 0 0;color:var(--soft);line-height:1.55}

/* Каталог: 5 ноутбуков в ряд на широких экранах */
@media (min-width:1101px){
  body.archive.woocommerce .wrap{max-width:1840px;padding-inline:32px}
  .catalog{grid-template-columns:240px minmax(0,1fr);gap:28px}
}
.catalog ul.products.columns-5{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.catalog ul.products.columns-5 .card{padding:10px 10px 16px;gap:14px}
.catalog ul.products.columns-5 .card-badges{top:8px;left:8px}
.catalog ul.products.columns-5 .badge{height:24px;padding:0 9px;font-size:12px}
.catalog ul.products.columns-5 .card-body{padding:0 4px;gap:8px}
.catalog ul.products.columns-5 .card-series{font-size:12px}
.catalog ul.products.columns-5 .card-name{font-size:16px;line-height:1.25}
.catalog ul.products.columns-5 .specs{gap:4px}
.catalog ul.products.columns-5 .specs span{font-size:12px;padding:4px 8px;border-radius:6px}
.catalog ul.products.columns-5 .cmp-toggle--card{min-height:32px;padding:0 12px;font-size:13px}
.catalog ul.products.columns-5 .card-foot{padding:0 4px;gap:8px}
.catalog ul.products.columns-5 .card .price{font-size:17px}
.catalog ul.products.columns-5 .icon-btn{width:38px;height:38px}
@media (max-width:1359px){.catalog ul.products.columns-5{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1100px){.catalog ul.products.columns-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.catalog ul.products.columns-5{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.catalog ul.products.columns-5{grid-template-columns:1fr}
  .catalog ul.products.columns-5 .card{padding:16px 16px 24px;gap:20px}
  .catalog ul.products.columns-5 .card-name{font-size:19px}
  .catalog ul.products.columns-5 .specs span{font-size:13px;padding:5px 10px}
  .catalog ul.products.columns-5 .card .price{font-size:20px}
  .catalog ul.products.columns-5 .icon-btn{width:44px;height:44px}}

/* Каталог 5 в ряд: одинаковая структура карточек — без пустот */
.fps-from{font-style:normal}
.catalog ul.products.columns-5 .card-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em}
.catalog ul.products.columns-5 .specs{flex-direction:column;align-items:flex-start;flex-wrap:nowrap}
.catalog ul.products.columns-5 .specs span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.catalog ul.products.columns-5 .fps-row{display:flex;flex-wrap:nowrap;align-items:baseline;gap:0;margin-top:0;font-size:12px;white-space:nowrap;overflow:hidden;color:var(--muted)}
.catalog ul.products.columns-5 .fps-row::before{content:"FPS";font-weight:600;color:var(--accent-text,#c31617);margin-right:6px}
.catalog ul.products.columns-5 .fps-row:has(.fps-from)::before{content:"FPS от"}
.catalog ul.products.columns-5 .fps-chip{display:inline;padding:0;border:0;background:none;font-size:12px}
.catalog ul.products.columns-5 .fps-chip:nth-child(2),.catalog ul.products.columns-5 .fps-chip:nth-child(3){display:none}
.catalog ul.products.columns-5 .fps-chip:nth-child(4)::before{content:"·";margin:0 6px}
.catalog ul.products.columns-5 .fps-chip .fps-g{margin-right:4px}
.catalog ul.products.columns-5 .fps-from{display:none}
.catalog ul.products.columns-5 .fps-chip b::after{content:none}
@media (max-width:640px){.catalog ul.products.columns-5 .fps-row,.catalog ul.products.columns-5 .fps-chip{font-size:13px}}
.card-use{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.catalog ul.products.columns-5 .fps-row::before{margin-right:4px}
.catalog ul.products.columns-5 .fps-chip:nth-child(4)::before{margin:0 4px}
.catalog ul.products.columns-5 .fps-row:has(.fps-from)::before{content:"FPS"}
@media (max-width:640px){.card-use{font-size:13px}}

/* Каталог: без FPS и назначения, компактные карточки */
.catalog ul.products.columns-5 .fps-row,.catalog ul.products.columns-5 .card-use{display:none}
.catalog ul.products.columns-5 .card{padding:8px 8px 12px;gap:10px}
.catalog ul.products.columns-5 .card-photo{aspect-ratio:4/3}
.catalog ul.products.columns-5 .card-body{gap:6px}
.catalog ul.products.columns-5 .card-name{font-size:15px}
.catalog ul.products.columns-5 .specs{gap:3px}
.catalog ul.products.columns-5 .specs span{font-size:11.5px;padding:3px 7px}
.catalog ul.products.columns-5 .card-body > :has(+ .cmp-toggle--card){margin-bottom:6px}
.catalog ul.products.columns-5 .cmp-toggle--card{min-height:28px;padding:0 10px;font-size:12px;gap:6px}
.catalog ul.products.columns-5 .card .price{font-size:16px}
.catalog ul.products.columns-5 .icon-btn{width:34px;height:34px}
@media (max-width:640px){
  .catalog ul.products.columns-5 .card{padding:12px 12px 16px;gap:14px}
  .catalog ul.products.columns-5 .card-name{font-size:17px}
  .catalog ul.products.columns-5 .specs span{font-size:12.5px;padding:4px 8px}
  .catalog ul.products.columns-5 .card .price{font-size:18px}
  .catalog ul.products.columns-5 .icon-btn{width:40px;height:40px}}

/* Сравнение: квадратная кнопка-иконка в карточке и иконка в шапке */
.cmp-toggle--icon{width:40px;height:40px;min-height:0;padding:0;justify-content:center;border-radius:10px;border:1px solid var(--line-strong);background:var(--bg);color:var(--soft);flex-shrink:0}
.cmp-toggle--icon:hover{border-color:var(--text);color:var(--text)}
.cmp-toggle--icon.is-on{border-color:var(--accent);color:var(--accent-text,var(--accent));background:color-mix(in srgb,var(--accent) 10%,var(--bg))}
.card-btns{align-items:center}
.catalog ul.products.columns-5 .cmp-toggle--icon{width:34px;height:34px;border-radius:9px}
.catalog ul.products.columns-5 .cmp-toggle--icon svg{width:18px;height:18px}
.cmp-head{position:relative}
.cmp-head .cart-badge[hidden]{display:none}

/* Каталог: компактная шапка — заголовок и разделы в одну строку */
body.archive.woocommerce .crumbs{padding-top:14px;font-size:13px}
body.archive.woocommerce .page-head{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 24px;padding-top:10px;padding-bottom:20px}
body.archive.woocommerce .page-head .h1{font-size:30px;letter-spacing:-.02em;line-height:1.15;margin:0}
body.archive.woocommerce .page-head .archive-description:empty{display:none}
body.archive.woocommerce .page-head .archive-description{flex-basis:100%;order:3;font-size:14px;color:var(--muted)}
body.archive.woocommerce .catalog-tasks{gap:6px}
body.archive.woocommerce .catalog-tasks .chip{min-height:34px;padding:0 14px;font-size:14px;border-radius:17px}
@media (max-width:640px){
  body.archive.woocommerce .page-head{gap:10px;padding-bottom:14px}
  body.archive.woocommerce .page-head .h1{font-size:24px;flex-basis:100%}
  body.archive.woocommerce .catalog-tasks{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * var(--pad));padding-inline:var(--pad);scrollbar-width:none;-webkit-overflow-scrolling:touch;width:calc(100% + 2 * var(--pad))}
  body.archive.woocommerce .catalog-tasks::-webkit-scrollbar{display:none}
  body.archive.woocommerce .catalog-tasks .chip{flex-shrink:0;min-height:32px;font-size:13px}
}

/* Телефон: шапка с иконкой сравнения помещается; каталог без горизонтальной прокрутки */
@media (max-width:1100px){.catalog{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.toolbar-left{flex-wrap:wrap;min-width:0}.woocommerce-result-count{min-width:0}}
@media (max-width:420px){
  .header-row{gap:8px}
  .header-actions{gap:0}
  .header-actions .icon-btn{width:38px;height:38px}
  .logo{gap:8px}
  .logo .word{width:138px;height:auto}
}
@media (max-width:640px){.pod-links .chip{white-space:normal;height:auto;min-height:36px;padding-block:6px;max-width:100%;text-align:left;line-height:1.3}}

/* Карточка модели: «от» и число комплектаций */
.price-from{font-size:.72em;font-weight:500;color:var(--muted);margin-right:2px}
.card .price:has(.price-from){flex-direction:row;align-items:baseline;gap:4px}
.card-configs{font-size:12.5px;color:var(--muted);margin-top:auto;padding-top:2px}
.catalog ul.products.columns-5 .card-configs{font-size:12px}
.card-choose svg{display:block}

/* Телефон: липкая панель покупки */
.mbuy{position:fixed;left:0;right:0;bottom:0;z-index:140;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line-strong);box-shadow:0 -8px 24px rgba(0,0,0,.08)}
.mbuy[hidden]{display:none}
.mbuy-in{display:flex;align-items:center;gap:10px;max-width:640px;margin:0 auto}
.mbuy-p{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.mbuy-price{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.mbuy-st{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mbuy-call{width:44px;height:44px;border-radius:12px;border:1px solid var(--line-strong);display:inline-flex;align-items:center;justify-content:center;color:var(--text);flex-shrink:0}
.mbuy-btn{min-height:44px;padding:0 18px;flex-shrink:0}
body.has-mbuy{padding-bottom:76px}
body.has-mbuy .omen-floating-cart,body.has-mbuy a:has(> .omen-floating-cart-icon){bottom:88px!important}
@media (min-width:769px){.mbuy{display:none!important}}

/* Блок «Китайская версия — это тот же ноутбук» */
.cn-sec{margin:40px 0 8px}
.cn-sec h2{margin:0 0 16px}
.cn-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cn-list li{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);padding:16px}
.cn-n{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent-text,var(--accent));font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.cn-list b{display:block;font-size:15px;margin-bottom:4px}
.cn-list p{margin:0;font-size:14px;color:var(--soft);line-height:1.45}
@media (max-width:1100px){.cn-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.cn-list{grid-template-columns:1fr}}
body.archive.woocommerce .cn-note{order:4;flex-basis:100%;font-size:13px}
.cn-note summary{cursor:pointer;color:var(--muted);list-style:none;display:inline-flex;align-items:center;gap:6px}
.cn-note summary::-webkit-details-marker{display:none}
.cn-note summary::before{content:"?";width:18px;height:18px;border-radius:50%;border:1px solid var(--line-strong);display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600}
.cn-note summary:hover{color:var(--text)}
.cn-note[open] summary{color:var(--text);margin-bottom:10px}
.cn-note .cn-list li{padding:12px}
.cn-note .cn-list p{font-size:13px}
body.archive.woocommerce .page-head .archive-description{max-width:none;width:100%}

/* Быстрые фильтры */
.qf{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px}
.qf-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:15px;border:1px solid var(--line-strong);font-size:13px;color:var(--text);white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.qf-chip:hover{border-color:var(--text)}
.qf-chip.is-on{background:var(--text);border-color:var(--text);color:var(--bg)}
.qf-chip.is-on::after{content:"×";margin-left:6px;opacity:.7}
.qf-sep{width:1px;height:18px;background:var(--line-strong);margin:0 4px}
@media (max-width:640px){
  .qf{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * var(--pad));padding-inline:var(--pad);scrollbar-width:none}
  .qf::-webkit-scrollbar{display:none}
}

/* Счётчик отзывов */
.rv-badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text);white-space:nowrap;max-width:100%}
.rv-badge:hover .rv-t{color:var(--text);text-decoration:underline}
.rv-stars{color:#f5a524;letter-spacing:1px;font-size:13px}
.rv-t{color:var(--muted);overflow:hidden;text-overflow:ellipsis}
body.archive.woocommerce .archive-description{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px}
.rv-badge--single{margin:14px 0 4px;padding:10px 14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);font-size:14px}

/* Комплектация по названию из прайса */
.ol-pn{margin:0 0 16px}
.ol-pn-l{font-size:15px;font-weight:600;margin-bottom:8px}
.ol-pn-l span{font-weight:400;color:var(--muted);font-size:13px;margin-left:6px}
.ol-pn-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:360px;overflow:auto;padding-right:2px}
.ol-pn-o{width:100%;display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;text-align:left;padding:10px 12px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);transition:border-color .15s,background .15s}
.ol-pn-o:hover{border-color:var(--text)}
.ol-pn-o.is-on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,var(--bg));box-shadow:inset 3px 0 0 var(--accent)}
.ol-pn-n{font-size:14px;line-height:1.35;font-weight:500;grid-column:1;word-break:break-word}
.ol-pn-st{font-size:12px;grid-column:1}
.ol-pn-st--ok{color:var(--ok)}
.ol-pn-st--wait{color:var(--wait)}
.ol-pn-p{grid-column:2;grid-row:1/3;font-weight:600;white-space:nowrap;font-size:15px}
form.variations_form.has-ol-pn table.variations,form.variations_form.has-ol-pn .reset_variations{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ol-pn-cur{margin:8px 0 0;font-size:13px;color:var(--muted)}
.ol-pn-cur b{color:var(--text);font-weight:600}
.ol-pn-simple{margin:12px 0}
/* Количество: компактный счётчик − 1 + */
.quantity.has-qty-b{align-items:center;border:1px solid var(--line-strong);border-radius:12px;height:46px;background:var(--bg);overflow:hidden}
.quantity.has-qty-b .qty{width:40px;min-height:0;height:44px;border:0;border-radius:0;background:transparent;padding:0;-moz-appearance:textfield;appearance:textfield}
.quantity.has-qty-b .qty::-webkit-inner-spin-button,.quantity.has-qty-b .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.qty-b{width:36px;height:44px;border:0;background:transparent;color:var(--text);font-size:18px;line-height:1;cursor:pointer}
.qty-b:hover{background:var(--surface)}

/* Счётчик отзывов в шапке */
.rv-head{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border:1px solid var(--line-strong);border-radius:999px;font-size:14px;white-space:nowrap;color:var(--text)}
.rv-head b{font-weight:600}
.rv-head span:last-child{color:var(--muted)}
.rv-head:hover{border-color:var(--text)}
.rv-head .rv-stars{font-size:14px;letter-spacing:0}
.rv-head .rv-n,.rv-head .rv-w{color:var(--muted)}
.rv-head .rv-n{margin-left:2px}
@media (min-width:1101px) and (max-width:1599px){
  .header-row{gap:28px}
  .nav{gap:18px}
  .rv-head{padding:5px 10px;gap:4px;font-size:13px}
  .rv-head .rv-w{display:none}
  .rv-head .rv-n::before{content:"("}.rv-head .rv-n::after{content:")"}
}
/* Шапка: пункты меню, счётчик и значки — на одной линии */
.header-row .nav{align-items:center}
.header-row .nav > li{display:flex;align-items:center}
.header-row .nav img.soc{display:block}

/* Блок «Эта модель под заказ» */
.bo-box{margin:0 0 16px;padding:16px 20px;border:1px solid #F0D98A;border-radius:var(--radius-sm);background:#FFF8DC;color:#1E2A3B}
.bo-box[hidden]{display:none}
.bo-t{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;color:#7A5A12;margin-bottom:8px}
.bo-dot{width:9px;height:9px;border-radius:50%;background:#F2B92B;flex-shrink:0}
.bo-box dl{margin:0;display:grid;gap:4px}
.bo-box dl>div{display:grid;grid-template-columns:120px 1fr;gap:12px;font-size:15px;line-height:1.4}
.bo-box dt{color:#5F6B7A}
.bo-box dd{margin:0;font-weight:600}
@media (max-width:480px){.bo-box dl>div{grid-template-columns:100px 1fr;font-size:14px}}
[data-theme="dark"] .bo-box,:root:not([data-theme="light"]) .bo-box{background:#2A2414;border-color:#5C4A1C;color:#F3F1EE}
[data-theme="dark"] .bo-t,:root:not([data-theme="light"]) .bo-t{color:#F2C55C}
[data-theme="dark"] .bo-box dt,:root:not([data-theme="light"]) .bo-box dt{color:#A3A09B}

/* Главная: Telegram-ссылка и цифры в первом экране */
.hero-actions{align-items:center}
.hero-tg{font-weight:600;border-bottom:2px solid currentColor;padding-bottom:2px;margin-left:8px;white-space:nowrap}
.hero-tg:hover{color:var(--accent-text)}
.hero-stats{display:flex;flex-wrap:wrap;gap:20px 44px;margin:8px 0 0;padding-top:24px;border-top:1px solid var(--line)}
.hero-stats dt{font-size:34px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.hero-stats dd{margin:4px 0 0;font-size:14px;color:var(--muted)}
@media (max-width:640px){.hero-stats{gap:16px 28px}.hero-stats dt{font-size:26px}.hero-tg{margin-left:0}}
/* Кнопка «Сравнить» в карточке товара — в стиле иконки сравнения из шапки и каталога */
.cmp-toggle--single{border-radius:12px;min-height:46px;padding:0 18px 0 14px;gap:8px;background:var(--bg);color:var(--text)}
.cmp-toggle--single svg{flex-shrink:0}
.cmp-toggle--single.is-on{border-color:var(--accent);color:var(--accent-text,var(--accent));background:color-mix(in srgb,var(--accent) 10%,var(--bg))}


/* Покупатель (физ/юр) и количество — в одной строке, без сдвига при выборе юр. лица */
.price-box .ol-buyer{display:contents}
.price-box .ol-buyer-t{order:1;flex:0 0 100%;margin:4px 0 -2px}
.price-box .ol-buyer-sw{order:2;flex:0 0 auto;align-self:center}
.price-box .ol-buyer ~ .quantity{order:3;margin-left:auto;align-self:center;height:48px}
.price-box .ol-buyer ~ .quantity .qty{height:46px}
.price-box .ol-buyer-note{order:4;flex:0 0 100%;margin:-2px 0 0}
.price-box .ol-buyer ~ .single_add_to_cart_button{order:5;margin-top:6px}
.price-box .ol-buyer ~ .ol-tg{order:6;margin-top:6px}
.price-box .ol-buyer ~ :not(.quantity):not(.single_add_to_cart_button):not(.ol-tg){order:7}


/* Доп. опции и «Установить программы» всегда раскрыты */
.ol-svc-sum,.ol-svc-soft-sum{cursor:default;list-style:none}
.ol-svc-sum::-webkit-details-marker,.ol-svc-soft-sum::-webkit-details-marker{display:none}
.ol-svc-sum .ol-svc-chev,.ol-svc-soft-sum .ol-svc-chev{display:none}


/* Характеристики модели: группы, два столбца, точечные выноски */
.mspec{display:flex;flex-direction:column}
.mspec-g{padding:16px 0;border-bottom:1px solid var(--line)}
.mspec-g h3{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text)}
.mspec-g dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
.mspec-g dl>div{display:flex;align-items:baseline;gap:8px;padding:5px 0;font-size:14px;min-width:0}
.mspec-g dt{color:var(--muted);flex:0 1 auto;min-width:0}
.mspec-ld{flex:1 1 16px;min-width:16px;border-bottom:1px dotted var(--line-strong);transform:translateY(-4px)}
.mspec-g dd{margin:0;text-align:right;flex:0 1 auto;max-width:68%;color:var(--text)}
@media (max-width:760px){.mspec-g dl{grid-template-columns:1fr}.mspec-g dd{max-width:62%}}
.mdesc-lead{font-size:17px;line-height:1.55;color:var(--text)}
.games-wrap{overflow-x:auto;margin:10px 0;border:1px solid var(--line);border-radius:14px}
.games-wrap .games-t{width:100%;border-collapse:collapse;font-size:14px;margin:0}
.games-wrap .games-t th,.games-wrap .games-t td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.games-wrap .games-t th{font-size:12px;color:var(--muted);font-weight:600;background:var(--raised)}
.games-wrap .games-t td:first-child{font-weight:600}
.games-wrap .games-t tr:last-child td{border-bottom:0}

/* Таблицы «Как тянет игры и программы»: текст переносится, ничего не обрезается */
.games-wrap .games-t td{white-space:normal;vertical-align:top;line-height:1.45}
.games-wrap .games-t td:first-child{min-width:150px}
.games-wrap .games-t td:last-child{min-width:220px}
@media (max-width:640px){.games-wrap .games-t th,.games-wrap .games-t td{padding:9px 10px;font-size:13px}.games-wrap .games-t td:last-child{min-width:180px}}

/* Описание модели — по центру страницы, а не прижато влево */
.woocommerce-Tabs-panel--description{max-width:none}
.woocommerce-Tabs-panel--description .mdesc{max-width:920px;margin-left:auto;margin-right:auto}

/* Таблица растягивается на всю ширину рамки — без пустого места справа */
.games-wrap .games-t{max-width:none;width:100%}

/* Все вкладки карточки (описание, характеристики, доставка, гарантия) — по центру, одинаковой ширины */
.woocommerce-Tabs-panel{max-width:none}
.woocommerce-Tabs-panel > *{max-width:920px;margin-left:auto;margin-right:auto}
.woocommerce-tabs .wc-tabs{max-width:920px;margin-left:auto;margin-right:auto}

.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs{margin-left:auto !important;margin-right:auto !important;max-width:920px}

/* Шапка на широких экранах (от 1600 px, в т.ч. Windows 27″ с масштабом): ширина контента та же 1280 px,
   поэтому компактный бейдж отзывов и плотные отступы — иначе бейдж заезжает на кнопку темы */
@media (min-width:1600px){
  .header-row{gap:28px}
  .nav{gap:20px}
  .rv-head{padding:5px 10px;gap:4px;font-size:13px}
  .rv-head .rv-w{display:none}
  .rv-head .rv-n::before{content:"("}
  .rv-head .rv-n::after{content:")"}
}

/* Одинаковые расстояния между иконками справа в шапке: отзывы · Telegram · тема · поиск · сравнение · корзина (32 px между значками) */
@media (min-width:1101px){
  .header-row{gap:28px}
  .nav{gap:18px}
  .header-row .nav > li:has(> .rv-head){margin-left:auto}
  .header-row .nav > li:last-child{margin-left:14px;margin-right:-8px}
}

@media (min-width:1101px) and (max-width:1279px){
  .nav{gap:12px}
  .header-actions .icon-btn{width:40px}
  .header-row .nav > li:last-child{margin-left:16px;margin-right:-10px}
}

@media (min-width:1101px) and (max-width:1279px){
  .nav{gap:10px;font-size:14px}
  .header-row .nav > li:last-child{margin-left:18px}
}

/* 1101–1199 px: пункт «Главная» скрыт (на главную ведёт логотип), чтобы шапка помещалась без наложений */
@media (min-width:1101px) and (max-width:1199px){
  .header-row .nav > li:first-child{display:none}
}

/* ===== Купить в 1 клик / Есть в Москве ===== */
.ol-1c-btn{display:block;width:100%;margin-top:10px;padding:13px 18px;border-radius:12px;border:1.5px solid currentColor;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;transition:background .15s}
.ol-1c-btn:hover{background:rgba(127,127,127,.12)}
html.ol-1c-open{overflow:hidden}
.ol-1c{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px}
.ol-1c[hidden]{display:none}
.ol-1c-bg{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.ol-1c-card{position:relative;width:100%;max-width:420px;max-height:calc(100vh - 32px);overflow:auto;background:var(--surface,#fff);color:var(--text,#111);border:1px solid var(--line,transparent);border-radius:16px;padding:26px 22px 20px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.ol-1c-x{position:absolute;top:8px;right:10px;width:36px;height:36px;border:0;background:none;color:inherit;font-size:26px;line-height:1;cursor:pointer;opacity:.6}
.ol-1c-x:hover{opacity:1}
.ol-1c-t{font-size:22px;font-weight:700;margin:0 0 8px}
.ol-1c-p{margin:0 0 14px;font-size:14px;line-height:1.45;opacity:.8}
.ol-1c-item{font-size:14px;font-weight:600;padding:10px 12px;border-radius:10px;background:rgba(127,127,127,.12);margin-bottom:14px}
.ol-1c-item:empty{display:none}
.ol-1c-f{display:block;margin-bottom:12px}
.ol-1c-f span{display:block;font-size:13px;margin-bottom:4px;opacity:.75}
.ol-1c-f input{width:100%;box-sizing:border-box;padding:12px 14px;font:inherit;font-size:16px;border-radius:10px;border:1px solid var(--line-strong,#ccc);background:transparent;color:inherit}
.ol-1c-f input:focus{outline:2px solid var(--accent,#C31617);outline-offset:0;border-color:transparent}
.ol-1c-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.ol-1c-err{color:var(--accent-text,#C31617);font-size:14px;margin:0 0 10px}
.ol-1c-err[hidden],.ol-1c-ok[hidden]{display:none}
.ol-1c-go{display:block;width:100%;padding:14px;border:0;border-radius:12px;background:var(--accent,#C31617);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.ol-1c-go:disabled{opacity:.6;cursor:wait}
.ol-1c-s{font-size:12px;opacity:.6;margin:10px 0 0;line-height:1.4}
.ol-1c-s a{color:inherit}
.ol-msk{margin:12px 0;padding:12px 14px;border-radius:12px;border:1px solid rgba(34,160,90,.45);background:rgba(34,160,90,.08)}
.ol-msk[hidden]{display:none}
.ol-msk-t{font-weight:700;display:flex;align-items:center;gap:8px}
.ol-msk-dot{width:9px;height:9px;border-radius:50%;background:#22a05a;flex:none;box-shadow:0 0 0 3px rgba(34,160,90,.2)}
.ol-msk p{margin:4px 0 0;font-size:13px;line-height:1.45;opacity:.8}
.ol-hide{display:none!important}

/* ===== Корзина на телефоне: товар и доставка столбиком, без «рваного» текста ===== */
@media (max-width:640px){
  .shop_table_responsive td.product-name,
  .shop_table_responsive .woocommerce-shipping-totals td{display:block;text-align:left;padding:8px 0}
  .shop_table_responsive td.product-name::before,
  .shop_table_responsive .woocommerce-shipping-totals td::before{display:block;float:none;margin:0 0 6px}
  .shop_table_responsive td.product-name > a{display:block;font-weight:600;font-size:16px;line-height:1.3;margin-bottom:8px}
  .shop_table_responsive td.product-name dl.variation{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:0;text-align:left;font-size:13px;line-height:1.4}
  .shop_table_responsive td.product-name dl.variation dt{margin:0;color:var(--muted);font-weight:400;white-space:nowrap}
  .shop_table_responsive td.product-name dl.variation dd{margin:0;overflow-wrap:anywhere}
  .shop_table_responsive td.product-name dl.variation dd p{margin:0}
  .shop_table_responsive .woocommerce-shipping-totals ul#shipping_method{margin:0;padding:0;list-style:none;text-align:left}
  .shop_table_responsive .woocommerce-shipping-totals li{margin:0}
}
.cart_totals .woocommerce-shipping-destination{display:none}
@media (max-width:640px){.woocommerce-cart-form tr:has(> td.actions){display:none}}

/* ===== Оформление на телефоне: «Ваш заказ» без узких колонок ===== */
@media (max-width:640px){
  .woocommerce-checkout-review-order-table thead{display:none}
  .woocommerce-checkout-review-order-table tr.cart_item,
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals{display:block}
  .woocommerce-checkout-review-order-table tr.cart_item td,
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td{display:block;width:auto;text-align:left;border:0}
  .woocommerce-checkout-review-order-table tr.cart_item td.product-name{padding-bottom:6px;font-weight:600;line-height:1.3}
  .woocommerce-checkout-review-order-table tr.cart_item td.product-total{padding-top:0;text-align:right;font-weight:700}
  .woocommerce-checkout-review-order-table tr.cart_item{border-bottom:1px solid var(--line)}
  .woocommerce-checkout-review-order-table dl.variation{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:8px 0 0;font-size:13px;font-weight:400;line-height:1.4}
  .woocommerce-checkout-review-order-table dl.variation dt{margin:0;color:var(--muted);font-weight:400;white-space:nowrap}
  .woocommerce-checkout-review-order-table dl.variation dd{margin:0;overflow-wrap:anywhere}
  .woocommerce-checkout-review-order-table dl.variation dd p{margin:0}
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th{padding-bottom:2px}
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td{padding-top:0}
  .woocommerce-checkout-review-order-table #shipping_method{margin:0;padding:0;list-style:none;text-align:left}
}
@media (max-width:640px){.shop_table_responsive td.product-name dl.variation,.woocommerce-checkout-review-order-table dl.variation{grid-template-columns:92px minmax(0,1fr)}.shop_table_responsive td.product-name dl.variation dt,.woocommerce-checkout-review-order-table dl.variation dt{white-space:normal}}
@media (max-width:640px){.woocommerce-checkout-review-order-table,.woocommerce-checkout-review-order-table tbody,.woocommerce-checkout-review-order-table tfoot{display:block;width:100%}.woocommerce-checkout-review-order-table tfoot tr:not(.woocommerce-shipping-totals){display:flex;justify-content:space-between;align-items:center;gap:12px}.woocommerce-checkout-review-order-table tfoot tr:not(.woocommerce-shipping-totals) > *{border:0}}

/* ===== Отзывы Авито на главной ===== */
.avr-sum{margin:-8px 0 20px;color:var(--soft);font-size:15px}
.avr-sum b{color:var(--text)}
.avr-stars{color:#F5B301;letter-spacing:1px}
.avr-stars i{font-style:normal;color:var(--line-strong)}
.avr-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.avr-card{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid var(--line);border-radius:var(--radius-sm,20px);background:var(--surface)}
.avr-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.avr-text{margin:0;font-size:15px;line-height:1.55;color:var(--text);display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
.avr-by{margin-top:auto;font-weight:600;font-size:14px;color:var(--text)}
.avr-by span{display:block;font-weight:400;font-size:13px;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:1100px){.avr-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .avr-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 calc(-1 * var(--pad,16px));padding:0 var(--pad,16px) 6px;scrollbar-width:none}
  .avr-list::-webkit-scrollbar{display:none}
  .avr-card{flex:0 0 84%;scroll-snap-align:start;padding:18px}
}

/* ===== Баннер «Для юрлиц и ИП» на главной ===== */
.b2b-band{margin-top:24px;margin-bottom:24px}
.b2b-in{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:40px 44px;border-radius:var(--radius-md,28px);background:#141416;color:#F3F1EE}
.b2b-in::after{content:"";position:absolute;right:-120px;top:50%;width:420px;height:420px;transform:translateY(-50%);background:radial-gradient(closest-side,rgba(195,22,23,.55),rgba(195,22,23,0));pointer-events:none}
.b2b-txt,.b2b-btns{position:relative;z-index:1}
.b2b-eye{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-text,#F0484A);margin-bottom:8px}
.b2b-h{margin:0 0 14px;font-size:clamp(22px,2.4vw,28px);line-height:1.15;color:#fff}
.b2b-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:15px;color:#D6D3CE}
.b2b-list li{position:relative;padding-left:26px}
.b2b-list li::before{content:"";position:absolute;left:2px;top:4px;width:12px;height:7px;border-left:2px solid #4CC38A;border-bottom:2px solid #4CC38A;transform:rotate(-45deg)}
.b2b-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.b2b-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:12px;border:1px solid rgba(255,255,255,.28);color:#fff;font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
.b2b-btn:hover{border-color:#fff;background:rgba(255,255,255,.06);color:#fff}
.b2b-btn--main{background:#fff;border-color:#fff;color:#141416}
.b2b-btn--main:hover{background:#ECEAE6;color:#141416}
[data-theme="graphite"] .b2b-in,[data-theme="warm"] .b2b-in{background:var(--raised);border:1px solid var(--line-strong)}
@media (max-width:900px){.b2b-in{flex-direction:column;align-items:stretch;padding:28px 22px}.b2b-btns{justify-content:stretch}.b2b-btn{flex:1 1 200px}}
@media (max-width:640px){.b2b-in::after{right:-200px;top:0}.b2b-btn{flex-basis:100%}}

/* ===== Карточка товара: блок под кнопкой покупки ===== */
.price-box .ol-tg{display:none!important}
.ol-bx{flex:1 1 100%;width:100%;order:7}
.ol-buy2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.ol-buy2 .ol-1c-btn,.ol-ask{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin:0;padding:8px 14px;border-radius:25px;border:1px solid var(--line-strong);background:var(--bg);color:var(--text);font:inherit;font-size:15px;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:border-color .15s,background .15s}
.ol-buy2 .ol-1c-btn{border-color:var(--accent);color:var(--accent)}
.ol-buy2 .ol-1c-btn:hover{background:rgba(195,22,23,.06)}
.ol-ask:hover{border-color:var(--text);color:var(--text)}
.ol-ask svg{flex:none;color:var(--muted)}
.ol-jump{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ol-jump a{padding:7px 13px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--text);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.ol-jump a:hover{border-color:var(--line-strong)}
.ol-qp{list-style:none;margin:14px 0 0;padding:14px 16px;display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.ol-qp li{display:flex;align-items:center;gap:9px;margin:0;font-size:14px;line-height:1.3;color:var(--text)}
.ol-qp svg{flex:none;color:var(--muted)}
.ol-rv{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:14px;color:var(--soft);text-decoration:none}
.ol-rv b{color:var(--text)}
.ol-rv-s{color:#F5B301;letter-spacing:1px}
.ol-rv:hover{color:var(--text)}
.summary > .perks,.summary > .rv-badge--single{display:none}
@media (max-width:420px){.ol-ask-l{display:none}.ol-qp{grid-template-columns:1fr}.ol-buy2 .ol-1c-btn,.ol-ask{font-size:14px}}
