/*
Theme Name:   Woodtools Redesign
Theme URI:    https://woodtools.spb.ru
Description:  Новая тема сайта woodtools: единая дизайн-система, карточки, каталог, страница товара.
Author:       Woodtools
Template:     storefront
Version:      2.9.2
Text Domain:  wt-redesign
*/

/* ============================================================
   Токены
   ============================================================ */
:root{
  --primary:#5A5490;
  --primary-600:#484279;
  --primary-050:#F1F0F7;
  --accent:#A9A2D8;
  --ink:#191627;
  --body:#514D62;
  --muted:#8E8AA0;
  --line:#E6E4EF;
  --soft:#F6F5FA;
  --green:#2E9E6B;
  --r-tile:20px;
  --r-card:18px;
  --sh-1:0 2px 10px rgba(21,26,45,.05);
  --sh-2:0 18px 44px rgba(21,26,45,.14);
}

/* ============================================================
   База
   ============================================================ */
body{
  font-family:"Inter","Segoe UI","Helvetica Neue",Arial,sans-serif;
  color:var(--body);
  background:#fff;
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.site-title{color:var(--ink);font-weight:700;letter-spacing:-.01em}
a{color:var(--primary)}
a:hover{color:var(--primary-600)}
.col-full{max-width:1240px;padding-left:28px;padding-right:28px}
@media (min-width:1240px){ .col-full{max-width:1240px} }

/* ============================================================
   Верхняя полоса
   ============================================================ */
.wt-topbar{background:var(--primary);color:#fff;font-size:12.5px}
.wt-topbar__in{max-width:1240px;margin:0 auto;padding:0 28px;height:42px;display:flex;align-items:center;gap:26px}
.wt-topbar a{color:rgba(255,255,255,.92);text-decoration:none}
.wt-topbar a:hover{color:#fff}
.wt-topbar__right{margin-left:auto;display:flex;gap:24px}

/* ============================================================
   Шапка
   ============================================================ */
.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;backdrop-filter:blur(8px)}
.site-header .col-full{display:flex;align-items:center;gap:28px;min-height:82px}
.site-branding{float:none;margin:0;width:auto;flex:0 0 auto}
.site-branding .custom-logo-link img{max-height:44px;width:auto}
.site-title{font-size:19px;letter-spacing:.04em;margin:0}
.site-title a{color:var(--primary);text-decoration:none}

.main-navigation{float:none;width:auto;flex:1 1 auto;margin:0;background:none;border:0}
.main-navigation ul.menu,ul.nav-menu{display:flex;gap:22px;list-style:none;margin:0;padding:0;background:none;border:0}
.main-navigation ul.menu > li > a{padding:8px 0;font-size:14px;font-weight:550;color:#2C2840;text-decoration:none;border-bottom:2px solid transparent}
.main-navigation ul.menu > li > a:hover,.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.menu > li.current_page_item > a{color:var(--primary);border-bottom-color:var(--primary)}
.main-navigation ul ul{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh-2);padding:10px}
.main-navigation ul ul a{font-size:13.5px;padding:7px 10px;color:var(--body)}
.main-navigation ul ul a:hover{color:var(--primary);background:var(--primary-050);border-radius:8px}
.main-navigation .menu-toggle{display:none}

.wt-tools{display:flex;align-items:center;gap:14px;margin-left:auto;flex:0 0 auto}
.wt-cur{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;height:40px}
.wt-cur a{display:grid;place-items:center;padding:0 13px;font-size:13px;font-weight:600;color:var(--muted);text-decoration:none}
.wt-cur a.is-on{background:var(--primary);color:#fff}
.wt-phone{text-align:right;line-height:1;display:flex;align-items:center}
.wt-phone b{display:block;font-size:15px;color:var(--ink)}
.wt-phone span{font-size:11px;color:var(--muted)}

/* кнопки */
.button,button,input[type="submit"],.wp-block-button__link{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:46px;padding:0 22px;border-radius:12px;background:var(--primary);color:#fff;
  font-size:14px;font-weight:600;border:0;cursor:pointer;text-decoration:none;
  transition:background .16s ease,transform .16s ease;line-height:1;
}
.button:hover,button:hover,input[type="submit"]:hover{background:var(--primary-600);color:#fff}
.button.secondary,.button.alt2{background:#fff;color:var(--primary);border:1px solid var(--line)}
.button.secondary:hover{background:var(--primary-050);color:var(--primary)}

/* ============================================================
   Главная: секции
   ============================================================ */
.wt-hero{position:relative;overflow:hidden;color:#fff;
  background:
    radial-gradient(900px 520px at 88% 18%,rgba(169,162,216,.24),transparent 62%),
    radial-gradient(700px 500px at 12% 92%,rgba(90,84,144,.48),transparent 60%),
    linear-gradient(112deg,#171326 0%,#241E3D 52%,#3A3468 100%);
}
.wt-hero__in{max-width:1240px;margin:0 auto;padding:58px 28px 88px;display:grid;grid-template-columns:1.02fr .98fr;gap:56px;align-items:center}
.wt-hero .eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:11.5px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.8);margin-bottom:18px}
.wt-hero .eyebrow:before{content:"";width:26px;height:1px;background:var(--accent)}
.wt-hero h1{font-size:44px;line-height:1.12;letter-spacing:-.025em;color:#fff;margin:0 0 16px;font-weight:750}
.wt-hero p{font-size:16px;line-height:1.6;color:rgba(255,255,255,.78);max-width:500px;margin:0 0 26px}
.wt-hero__photo{display:flex;align-items:center;justify-content:center;min-height:300px;position:relative;border-radius:26px;overflow:hidden;
  background:linear-gradient(160deg,#F7F9FD,#E9EEF7);box-shadow:0 30px 70px rgba(6,10,25,.45);
  border:1px solid rgba(255,255,255,.16);text-decoration:none}
.wt-hero__photo img{transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.wt-hero__photo:hover img{transform:scale(1.03)}
.wt-hero__photo img{width:100%;height:auto;max-height:430px;object-fit:contain;padding:18px;display:block}
.wt-hero__tag{position:absolute;left:20px;right:20px;bottom:18px;color:var(--ink);
  padding:12px 16px;font-size:14.5px;line-height:1.35;font-weight:600;
  border-radius:14px;white-space:normal;max-width:calc(100% - 40px);
  /* стеклянная плашка: лёгкое просвечивание, контур и внутренние блики */
  background:linear-gradient(135deg,rgba(255,255,255,.44),rgba(90,84,144,.18));
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  backdrop-filter:blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,.62);
  box-shadow:
    0 14px 34px rgba(6,10,25,.30),
    0 2px 6px rgba(6,10,25,.18),
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(255,255,255,.30),
    inset 1px 0 0 rgba(255,255,255,.45);
  text-shadow:0 1px 2px rgba(255,255,255,.85), 0 0 1px rgba(255,255,255,.7)}
.wt-hero__tag{font-weight:600}

.wt-search{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:7px 7px 7px 18px;
  max-width:560px;box-shadow:0 18px 40px rgba(6,10,25,.28)}
.wt-search input[type="search"]{flex:1;border:0;outline:0;font-size:14px;color:var(--ink);background:transparent;height:44px;min-width:0;padding:0}
.wt-search .button{height:44px;border-radius:10px;padding:0 20px}
.wt-chips{display:flex;gap:9px;margin-top:16px;flex-wrap:wrap;max-width:560px}
.wt-chip{font-size:12.5px;color:#fff;border:1px solid rgba(255,255,255,.26);border-radius:999px;
  padding:7px 13px;background:rgba(255,255,255,.06);text-decoration:none}
.wt-chip:hover{background:rgba(255,255,255,.16);color:#fff}

.wt-stats{margin-top:-52px;position:relative;z-index:3}
.wt-stats__card{max-width:1240px;margin:0 auto;background:#fff;border-radius:var(--r-tile);box-shadow:var(--sh-2);
  display:grid;grid-template-columns:repeat(3,1fr);padding:26px 10px}
.wt-stat{text-align:center;padding:0 18px;border-right:1px solid var(--line)}
.wt-stat:last-child{border-right:0}
.wt-stat b{display:block;font-size:28px;letter-spacing:-.02em;color:var(--primary);line-height:1.1}
.wt-stat span{font-size:12.5px;color:var(--muted)}

.wt-section{max-width:1240px;margin:0 auto;padding:64px 28px}
.wt-section--tight{padding-top:0}
.wt-sechead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
.wt-sechead .kicker{font-size:11.5px;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:var(--primary);margin-bottom:8px}
.wt-sechead h2{font-size:34px;letter-spacing:-.02em;margin:0;font-weight:750}
.wt-sechead .link{font-size:13.5px;font-weight:600;color:var(--primary);text-decoration:none}
.wt-sechead .link:hover{text-decoration:underline}

/* плитки разделов */
.wt-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.wt-tile{position:relative;display:block;height:250px;border-radius:var(--r-tile);overflow:hidden;isolation:isolate;background:#EEF1F8;text-decoration:none}
.wt-tile--wide{grid-column:span 2}
.wt-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.wt-tile:hover img{transform:scale(1.05)}
.wt-tile:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(15,20,40,0) 38%,rgba(15,20,40,.74) 100%)}
.wt-tile__body{position:absolute;left:24px;right:24px;bottom:22px;z-index:2;color:#fff}
.wt-tile__kicker{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.75);margin-bottom:6px}
.wt-tile__title{font-size:21px;font-weight:700;line-height:1.25;color:#fff}
.wt-tile__meta{font-size:12.5px;color:rgba(255,255,255,.72);margin-top:5px}
.wt-tile__arrow{position:absolute;right:20px;bottom:20px;z-index:2;width:44px;height:44px;border-radius:14px;
  background:rgba(255,255,255,.16);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.3);
  display:grid;place-items:center;color:#fff;font-size:16px}
.wt-tile:hover .wt-tile__arrow{background:var(--accent);color:#0F1730}

/* преимущества */
.wt-adv{background:var(--soft)}
.wt-adv__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.wt-adv__item{background:#fff;border-radius:var(--r-card);padding:24px;border:1px solid transparent}
.wt-adv__item:hover{border-color:var(--line)}
.wt-adv__ico{width:44px;height:44px;border-radius:13px;background:var(--primary-050);color:var(--primary);
  display:grid;place-items:center;margin-bottom:16px;font-weight:700}
.wt-adv__item h3{font-size:17.5px;line-height:1.3;margin:0 0 9px}
.wt-adv__item p{font-size:15px;line-height:1.6;margin:0;color:var(--body)}

/* CTA */
.wt-cta{background:linear-gradient(115deg,#2B2647 0%,#453E7D 45%,#5A5490 100%);color:#fff;position:relative;overflow:hidden}
.wt-cta__in{max-width:1240px;margin:0 auto;padding:56px 28px;display:grid;grid-template-columns:1fr 460px;gap:56px;align-items:center;position:relative;z-index:2}
.wt-cta h2{color:#fff;font-size:32px;margin:0 0 12px}
.wt-cta p{font-size:16.5px;line-height:1.65;color:rgba(255,255,255,.85);margin:0 0 20px;max-width:470px}
.wt-cta ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.wt-cta li{font-size:15.5px;line-height:1.55;color:rgba(255,255,255,.92);padding-left:22px;position:relative}
.wt-cta li:before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:700}
.wt-form{background:#fff;border-radius:var(--r-tile);padding:26px;color:var(--ink);box-shadow:var(--sh-2)}
.wt-form h3{margin:0 0 4px;font-size:18px}
.wt-form .hint{font-size:12.5px;color:var(--muted);margin:0 0 16px}
.wt-form input[type=text],.wt-form input[type=tel],.wt-form input[type=email],.wt-form textarea{
  width:100%;height:46px;border:1px solid var(--line);border-radius:11px;padding:0 14px;font-size:14px;margin-bottom:11px;background:#fff}
.wt-form textarea{height:88px;padding:12px 14px;resize:vertical}
.wt-form input:focus,.wt-form textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(90,84,144,.14)}
.wt-form .button{width:100%}
.wt-form .note{font-size:11px;color:var(--muted);line-height:1.45;margin:10px 0 0}

/* бренды */
.wt-brands{display:flex;flex-wrap:wrap;align-items:center;gap:12px 34px;padding:22px 26px;border:1px solid var(--line);border-radius:var(--r-card);background:#fff}
.wt-brands .label{font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.wt-brands a{font-size:15px;font-weight:700;letter-spacing:.06em;color:#AEB6C8;text-transform:uppercase;text-decoration:none}
.wt-brands a:hover{color:var(--primary)}

/* ============================================================
   Карточки товаров
   ============================================================ */
ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0 0 24px}
.archive ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,1fr)}
@media (max-width:1024px){.archive ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,1fr)}}
ul.products li.product{width:auto;margin:0;float:none;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);
  overflow:hidden;display:flex;flex-direction:column;padding:0;transition:box-shadow .22s,border-color .18s,transform .22s}
ul.products li.product:hover{border-color:#D3CFE4;box-shadow:var(--sh-2);transform:translateY(-3px)}
ul.products li.product .wt-card__media{position:relative;height:216px;background:linear-gradient(180deg,#FAFBFE,#F1F4FA);overflow:hidden}
ul.products li.product .wt-card__media img{position:absolute;left:18px;right:18px;top:18px;bottom:18px;
  width:calc(100% - 36px);height:calc(100% - 36px);object-fit:contain;transition:transform .45s}
ul.products li.product:hover .wt-card__media img{transform:scale(1.06)}
ul.products li.product .wt-badge{position:absolute;left:14px;top:14px;z-index:2;background:var(--primary);color:#fff;
  font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:5px 9px;border-radius:7px}
ul.products li.product .wt-card__body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
ul.products li.product .wt-card__code{font-size:10.5px;color:var(--muted);margin-bottom:9px}
ul.products li.product .woocommerce-loop-product__title{font-size:14.5px;line-height:1.4;font-weight:600;color:var(--ink);
  margin:0 0 13px;padding:0;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
ul.products li.product .wt-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}
ul.products li.product .wt-spec{background:var(--soft);border-radius:9px;padding:7px 10px 8px}
ul.products li.product .wt-spec span{display:block;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
ul.products li.product .wt-spec b{font-size:12.5px;color:var(--ink);font-weight:650;white-space:nowrap}
ul.products li.product .wt-card__foot{display:flex;flex-direction:column;align-items:stretch;gap:10px;
  padding-top:13px;border-top:1px solid var(--line);margin-top:auto}
ul.products li.product .price{display:block!important;margin:0!important;color:var(--ink)!important;font-size:17px!important;font-weight:700}
ul.products li.product .price small{display:block;font-size:10px;color:var(--muted);font-weight:400;letter-spacing:.04em;margin-bottom:2px}
ul.products li.product .price .rub{display:block;font-size:11.5px;color:var(--muted);font-weight:400;margin-top:1px}
ul.products li.product .wt-card__btn{height:42px;padding:0 16px;border-radius:10px;background:var(--primary);color:#fff;
  font-size:16.5px;font-weight:650;letter-spacing:.01em;display:flex;align-items:center;justify-content:center;white-space:nowrap;width:100%}
ul.products li.product .wt-card__btn:hover{background:var(--primary-600);color:#fff}
ul.products li.product .button{display:none}
ul.products li.product .star-rating{display:none}

/* плитки категорий в каталоге */
ul.products li.product-category{border:0;background:none;padding:0}
ul.products li.product-category a{display:block;position:relative;border-radius:var(--r-tile);overflow:hidden;background:#EEF1F8}
ul.products li.product-category img{width:100%;height:210px;object-fit:cover;display:block;transition:transform .5s}
ul.products li.product-category h2{position:absolute;left:0;right:0;bottom:0;margin:0;padding:18px;color:#fff;
  font-size:17px;background:linear-gradient(180deg,transparent,rgba(15,20,40,.78));z-index:2}

/* ============================================================
   Каталог / магазин
   ============================================================ */
.woocommerce-breadcrumb{font-size:12.5px;color:var(--muted);margin:0 0 10px}
.woocommerce-products-header__title{font-size:36px;margin:0 0 10px}
.woocommerce-result-count{font-size:13.5px;color:var(--muted)}
.woocommerce-ordering select{height:40px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font-size:13.5px;background:#fff}
#secondary.widget-area{border:1px solid var(--line);border-radius:var(--r-card);padding:20px;position:sticky;top:104px}
#secondary .widget{margin:0 0 14px;padding:14px 0;border-top:1px solid var(--line)}
#secondary .widget:first-child{border-top:0;padding-top:0}
#secondary .widget-title{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:650;margin:0 0 12px}
#secondary ul{list-style:none;margin:0;padding:0}
#secondary ul li{font-size:13.5px;padding:5px 0}
#secondary ul li a{color:var(--body);text-decoration:none}
#secondary ul li a:hover{color:var(--primary)}

/* ============================================================
   Страница товара
   ============================================================ */
.single-product div.product{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  gap:44px!important;align-items:start}
.single-product div.product > .woocommerce-product-gallery,
.single-product div.product > .summary{float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0}
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery .woocommerce-product-gallery__image{max-width:100%!important;overflow:hidden}
.woocommerce-product-gallery img{max-width:100%!important;height:auto!important}
.single-product div.product .woocommerce-product-gallery__wrapper{border:1px solid var(--line);border-radius:22px;
  background:linear-gradient(170deg,#FAFBFE,#EEF2F9);padding:18px;overflow:hidden}
.single-product div.product .woocommerce-product-gallery__image img{border-radius:14px}
.single-product div.product .summary{float:none;width:auto!important;margin:0}
.single-product div.product .product_title{font-size:30px;line-height:1.2;margin:10px 0 8px}
.single-product div.product .price{font-size:30px;font-weight:700;color:var(--ink);display:block;margin:16px 0 6px}
.single-product div.product .price small{display:block;font-size:12px;color:var(--muted);font-weight:400}
.single-product div.product .price .rub{display:block;font-size:14px;color:var(--muted);font-weight:400;margin-top:2px}
.single-product div.product .woocommerce-product-details__short-description{font-size:14px;color:var(--body);line-height:1.65}
.single-product div.product form.cart{display:flex;gap:10px;margin:18px 0 10px}
.single-product div.product .single_add_to_cart_button{background:var(--primary);border-radius:11px}
.single-product div.product .wt-note{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 0}
.single-product div.product .woocommerce-product-details__short-description ul{list-style:none;padding:0}
.single-product div.product .product_meta{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin-top:14px}
.woocommerce-tabs ul.tabs{padding:0;margin:0 0 20px;border-bottom:1px solid var(--line)}
.woocommerce-tabs ul.tabs li{background:none;border:0;margin:0 18px 0 0;padding:0}
.woocommerce-tabs ul.tabs li a{padding:10px 0;font-size:14px;font-weight:600;color:var(--body)}
.woocommerce-tabs ul.tabs li.active a{color:var(--primary);border-bottom:2px solid var(--primary)}
.woocommerce-tabs .panel{font-size:14px;line-height:1.7}
.shop_attributes th,.shop_attributes td{border-bottom:1px dashed var(--line);padding:10px 0;font-size:13.5px}
.shop_attributes th{color:var(--muted);font-weight:400;width:45%}
.related.products > h2,.upsells.products > h2{font-size:24px;margin:40px 0 18px}

/* ============================================================
   Страница бренда
   ============================================================ */
.wt-brand-hero{display:grid;grid-template-columns:1fr .9fr;gap:44px;align-items:center;padding:26px 0 8px}
.wt-brand-hero h1{font-size:40px;line-height:1.14;margin:10px 0 12px}
.wt-brand-hero p{font-size:15px;line-height:1.65;color:var(--body);max-width:520px;margin:0 0 20px}
.wt-brand-hero__photo{height:340px;border-radius:22px;border:1px solid var(--line);
  background:linear-gradient(170deg,#FAFBFE,#EDF1F8);position:relative;overflow:hidden}
.wt-brand-hero__photo img{position:absolute;inset:20px;width:calc(100% - 40px);height:calc(100% - 40px);object-fit:contain}
.wt-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:26px 0 0}
.wt-fact{background:var(--soft);border-radius:14px;padding:18px}
.wt-fact b{display:block;font-size:24px;color:var(--primary);margin-bottom:3px}
.wt-fact span{font-size:12.5px;color:var(--muted)}

/* ============================================================
   Подвал
   ============================================================ */
.site-footer{background:#171326;color:rgba(255,255,255,.78);padding:52px 0 26px;margin-top:0}
.site-footer .col-full{max-width:1240px}
.site-footer h3,.site-footer .widget-title{color:rgba(255,255,255,.55);font-size:13px;letter-spacing:.06em;
  text-transform:uppercase;margin:0 0 14px;font-weight:600}
.site-footer a{color:rgba(255,255,255,.78);text-decoration:none}
.site-footer a:hover{color:#fff}
.site-footer .widget{margin:0 0 18px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer ul li{font-size:13.5px;line-height:1.9}
.site-footer .site-info{border-top:1px solid rgba(255,255,255,.1);margin-top:18px;padding-top:18px;
  font-size:12px;color:rgba(255,255,255,.45);display:flex;justify-content:space-between;gap:20px}
.site-footer .site-info a{color:rgba(255,255,255,.45)}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width:1024px){
  .wt-hero__in{grid-template-columns:1fr;gap:32px;padding-bottom:72px}
  .wt-hero h1{font-size:36px}
  .wt-hero__photo img{height:320px}
  .wt-tiles{grid-template-columns:repeat(2,1fr)}
  .wt-tile--wide{grid-column:span 2}
  ul.products{grid-template-columns:repeat(3,1fr)}
  .wt-adv__grid{grid-template-columns:repeat(2,1fr)}
  .wt-cta__in{grid-template-columns:1fr;gap:28px}
  .single-product div.product{grid-template-columns:1fr;gap:26px}
  .wt-brand-hero{grid-template-columns:1fr}
  .wt-facts{grid-template-columns:repeat(2,1fr)}
  .site-header .col-full{flex-wrap:wrap;min-height:auto;padding-top:10px;padding-bottom:10px}
  .main-navigation{order:3;flex-basis:100%}
  .main-navigation ul.menu{flex-wrap:wrap;gap:12px}
}
@media (max-width:767px){
  .wt-topbar{display:none}
  .wt-hero__in{padding:36px 20px 64px}
  .wt-hero h1{font-size:28px}
  .wt-hero p{font-size:14.5px}
  .wt-hero__photo img{height:230px}
  .wt-search{flex-direction:column;padding:12px;gap:8px;border-radius:14px}
  .wt-search .button{width:100%}
  .wt-tiles{grid-template-columns:1fr}
  .wt-tile--wide{grid-column:span 1}
  .wt-tile{height:200px}
  ul.products{grid-template-columns:repeat(2,1fr);gap:12px}
  ul.products li.product .wt-card__media{height:150px}
  ul.products li.product .wt-card__body{padding:12px}
  ul.products li.product .wt-specs{grid-template-columns:1fr}
  ul.products li.product .wt-card__btn{padding:0 12px}
  .wt-sechead h2{font-size:24px}
  .wt-section{padding:40px 20px}
  .wt-stats{margin-top:-30px}
  .wt-stats__card{grid-template-columns:repeat(2,1fr);gap:14px;border-radius:16px}
  .wt-stat{border-right:0}
  .wt-adv__grid{grid-template-columns:1fr}
  .wt-cta__in{padding:36px 20px}
  .wt-facts{grid-template-columns:repeat(2,1fr)}
  .woocommerce-products-header__title{font-size:26px}
}

/* порядок колонок на странице товара */
.single-product div.product > .woocommerce-product-gallery{order:1!important}
.single-product div.product > .summary{order:2!important}

/* служебные блоки страницы товара — во всю ширину, после карточки */
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .upsells,
.single-product div.product > .storefront-product-pagination{grid-column:1 / -1;order:5}


/* ============================================================
   Полноширинные блоки и порядок в шапке (1.1.0)
   ============================================================ */
/* главная: контейнер во всю ширину, внутренние блоки центрируются сами */
.home .site-content > .col-full{max-width:none;padding-left:0;padding-right:0;margin:0}
.wt-hero,.wt-adv,.wt-cta{width:100%}
.wt-hero__in,.wt-cta__in{max-width:1240px;margin:0 auto;padding-left:28px;padding-right:28px}
.site-header .site-description{display:none}
.site-header .site-title{font-size:19px;line-height:1.2;white-space:nowrap}

.site-header .col-full{display:flex;align-items:center;flex-wrap:nowrap;gap:18px;min-height:82px}
.site-header .site-branding{flex:0 0 auto;width:auto;max-width:210px;margin:0;float:none}
.site-header .site-branding img,
.site-header .custom-logo{max-height:40px;width:auto;max-width:210px;height:auto}
.site-header .site-title{font-size:18px;margin:0;white-space:nowrap}
.site-search{display:none!important}

.mega-menu-wrap{flex:1 1 auto;min-width:0;margin:0}
.mega-menu-wrap #mega-menu-primary{display:flex;flex-wrap:nowrap;gap:14px;align-items:center}
.mega-menu-wrap #mega-menu-primary > li{flex:0 0 auto}
.mega-menu-wrap #mega-menu-primary > li > a{font-size:13.5px!important;padding:6px 0!important;white-space:nowrap}
.wt-tools{flex:0 0 auto;margin-left:auto}

@media (max-width:1360px){
  .mega-menu-wrap #mega-menu-primary > li > a{font-size:12.5px!important}
  .mega-menu-wrap #mega-menu-primary{gap:11px}
  .wt-phone span{display:none}
}
@media (max-width:1180px){
  .site-header .site-branding{max-width:160px}
  .wt-phone{display:none}
}
@media (max-width:1024px){
  .site-header .col-full{flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
  .mega-menu-wrap{order:3;flex-basis:100%}
  .mega-menu-wrap #mega-menu-primary{flex-wrap:wrap;gap:10px 14px}
  .wt-tools{margin-left:auto}
}


/* ============================================================
   Шапка в одну строку: два контейнера Storefront сводим вместе (1.1.2)
   ============================================================ */
.site-header{display:flex;align-items:center;gap:24px;min-height:82px;
  padding-left:max(28px, calc((100% - 1240px) / 2));
  padding-right:max(28px, calc((100% - 1240px) / 2));
  background:#fff}
.site-header > .col-full,
.site-header .storefront-primary-navigation,
.site-header .storefront-primary-navigation > .col-full{display:contents;background:none;border:0}
.site-header .site-branding{order:1;flex:0 0 auto;max-width:210px;margin:0;float:none}
.site-header .mega-menu-wrap{order:2;flex:1 1 auto;min-width:0;width:auto;margin:0}
.site-header .wt-tools{order:3;flex:0 0 auto;margin:0}
.site-header .main-navigation{order:2;flex:1 1 auto}
@media (max-width:1024px){
  .site-header{flex-wrap:wrap;gap:10px;padding-top:10px;padding-bottom:10px}
  .site-header .mega-menu-wrap{order:4;flex-basis:100%}
  .site-header .main-navigation{order:4;flex-basis:100%}
}


/* ============================================================
   Своя шапка (1.2.0)
   ============================================================ */
.site-header{display:block;padding:0;min-height:0;background:#fff}
.wt-head{max-width:1240px;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:26px;min-height:90px}
.wt-head__brand{flex:0 0 auto}
.wt-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--primary);font-weight:800;letter-spacing:.04em}
.wt-logo__mark{width:36px;height:36px;border-radius:10px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:700}
.wt-logo__text{font-size:18px}
.wt-head__nav{flex:1 1 auto;min-width:0}
.wt-menu{display:flex;gap:20px;list-style:none;margin:0;padding:0;align-items:center}
.wt-menu__item{position:relative}
.wt-menu__item > a{font-size:15px;font-weight:550;color:#2C2840;text-decoration:none;padding:8px 0;display:block;
  border-bottom:2px solid transparent;white-space:nowrap}
.wt-menu__item > a:hover,.wt-menu__item.is-active > a{color:var(--primary);border-bottom-color:var(--primary)}
.wt-sub{position:absolute;top:100%;left:0;min-width:220px;background:#fff;border:1px solid var(--line);border-radius:12px;
  box-shadow:var(--sh-2);padding:8px;list-style:none;margin:0;display:none;z-index:60}
.wt-menu__item.has-sub:hover .wt-sub{display:block}
.wt-sub a{display:block;padding:8px 10px;font-size:13px;color:var(--body);text-decoration:none;border-radius:8px}
.wt-sub a:hover{background:var(--primary-050);color:var(--primary)}
.wt-tools{flex:0 0 auto;display:flex;align-items:center;gap:14px;margin-left:auto}
.mega-menu-wrap{display:none!important}
@media (max-width:1280px){ .wt-menu{gap:12px} .wt-menu__item > a{font-size:13.5px} }
@media (max-width:1100px){ .wt-phone{display:none} }
@media (max-width:900px){
  .wt-head{flex-wrap:wrap;padding-top:10px;padding-bottom:10px;gap:12px}
  .wt-head__nav{order:3;flex-basis:100%}
  .wt-menu{flex-wrap:wrap;gap:10px 16px;padding-bottom:8px}
  .wt-menu__item > a{font-size:13px}
}


/* мобильные правки: убираем нижнюю панель, лента меню, баннер cookie (1.2.1) */
.storefront-handheld-footer-bar{display:none!important}
.wt-cookie,.wt-cookie__inner{max-width:100vw!important;box-sizing:border-box}
@media (max-width:900px){
  .wt-menu{flex-wrap:nowrap;overflow-x:auto;gap:14px;padding-bottom:6px;scrollbar-width:none}
  .wt-menu::-webkit-scrollbar{display:none}
  .wt-menu__item > a{font-size:13px;white-space:nowrap}
  .wt-head__nav{order:3;flex-basis:100%;min-width:0}
}

.wt-logo__img{display:block;max-height:56px;width:auto;max-width:250px;height:auto}
.wt-head__brand{display:flex;align-items:center}

@media (max-width:900px){ .wt-logo__img{max-height:44px;max-width:190px} .wt-head{min-height:74px} }

@media (max-width:900px){
  .wt-head{max-width:100%;overflow:hidden}
  .wt-head__nav{order:3;flex:1 0 100%;min-width:0;width:100%;max-width:100%;overflow:hidden}
  .wt-menu{width:100%;max-width:100%;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:14px;padding-bottom:6px}
}

@media (max-width:900px){
  html,body{overflow-x:clip}
  .wt-tools .button{display:none}
  .wt-tools{gap:10px}
  .wt-cur{height:36px}
}

/* псевдоэлементы-распорки Storefront занимали ячейку сетки и сдвигали карточки */
ul.products::before,ul.products::after{content:none!important;display:none!important}
ul.products > li.product{min-width:0}

/* шапка в цвет фона логотипа: знак перестаёт быть вставленным прямоугольником (1.3.1) */
.site-header{background:var(--primary);border-bottom:0}
.wt-topbar{background:var(--primary-600)}
.wt-menu__item > a{color:rgba(255,255,255,.9)}
.wt-menu__item > a:hover,.wt-menu__item.is-active > a{color:#fff;border-bottom-color:#fff}
.wt-logo__text{color:#fff}
.wt-phone b{color:#fff}
.wt-phone span{color:rgba(255,255,255,.72)}
.wt-cur{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.10)}
.wt-cur a{color:rgba(255,255,255,.85)}
.wt-cur a.is-on{background:#fff;color:var(--primary)}
.wt-tools .button{background:#fff;color:var(--primary)}
.wt-tools .button:hover{background:#F1F0F7;color:var(--primary)}
.wt-logo__img{filter:none;background:transparent}
.wt-sub{background:#fff}
@media (max-width:900px){
  .site-header{background:var(--primary)}
  .wt-menu__item > a{color:rgba(255,255,255,.92)}
}

/* ============================================================
   Компактный подвал (1.4.0)
   ============================================================ */
.site-footer{background:#171326;color:rgba(255,255,255,.72);padding:34px 0 16px;margin-top:0}
.site-footer .col-full{max-width:1240px;padding:0 28px}
.wt-footer{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:28px}
.wt-footer__logo{display:block;height:40px;width:auto;max-width:180px;margin-bottom:12px}
.wt-footer__col--brand p{font-size:13px;line-height:1.6;color:rgba(255,255,255,.62);margin:0;max-width:290px}
.site-footer .wt-footer h4{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.45);
  margin:0 0 10px;font-weight:600}
.wt-footer ul{list-style:none;margin:0;padding:0}
.wt-footer li{font-size:13px;line-height:1.85;color:rgba(255,255,255,.72)}
.site-footer .wt-footer a{color:rgba(255,255,255,.78);text-decoration:none}
.site-footer .wt-footer a:hover{color:#fff}
.wt-footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;
  padding-top:14px;border-top:1px solid rgba(255,255,255,.09)}
.wt-footer__legal{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:rgba(255,255,255,.45)}
.site-footer .wt-footer__legal a{color:rgba(255,255,255,.45);text-decoration:none}
.site-footer .wt-footer__legal a:hover{color:#fff}
.wt-dev{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:rgba(255,255,255,.5);text-decoration:none}
.wt-dev img{height:20px;width:auto;display:block;opacity:.92}
.site-footer .wt-dev:hover{color:#fff}
@media (max-width:900px){
  .wt-footer{grid-template-columns:1fr 1fr;gap:22px}
  .wt-footer__bottom{flex-direction:column;align-items:flex-start;gap:12px}
}
@media (max-width:600px){ .wt-footer{grid-template-columns:1fr} }

/* ссылки подвала: перебиваем тёмный цвет темы (1.4.1) */
.site-footer .wt-footer a,
.site-footer .wt-footer a:visited{color:rgba(255,255,255,.8)!important;text-decoration:none!important}
.site-footer .wt-footer a:hover{color:#fff!important}
.site-footer .wt-footer h4{color:rgba(255,255,255,.45)!important}
.site-footer .wt-footer li,
.site-footer .wt-footer p{color:rgba(255,255,255,.72)!important}
.site-footer .wt-footer__legal,
.site-footer .wt-footer__legal a,
.site-footer .wt-footer__legal a:visited{color:rgba(255,255,255,.45)!important}
.site-footer .wt-dev,
.site-footer .wt-dev:visited{color:rgba(255,255,255,.55)!important}
.site-footer .wt-dev:hover{color:#fff!important}

@media (max-width:600px){
  .site-footer{padding:24px 0 14px}
  .wt-footer{grid-template-columns:1fr 1fr;gap:18px}
  .wt-footer__col--brand{grid-column:1 / -1}
  .wt-footer li{font-size:12.5px;line-height:1.7}
  .wt-footer h4{margin-bottom:6px}
  .wt-footer__bottom{margin-top:18px;padding-top:12px}
}

/* блок разработчика: знак + имя + домен */
.site-footer .wt-dev{display:inline-flex;align-items:center;gap:8px;font-size:12px;text-decoration:none!important}
.site-footer .wt-dev__label{color:rgba(255,255,255,.42)!important}
.wt-dev__icon{height:22px;width:auto;display:block}
.site-footer .wt-dev__name{font-weight:700;letter-spacing:.08em;font-size:12.5px;color:rgba(255,255,255,.88)!important}
.site-footer .wt-dev__domain{color:rgba(255,255,255,.42)!important}
.site-footer .wt-dev:hover .wt-dev__name{color:#fff!important}

/* блок разработчика: только подпись и логотип (1.4.4) */
.site-footer .wt-dev__logo{height:38px;width:auto;display:block}
.site-footer .wt-dev__label{font-size:12px;color:rgba(255,255,255,.45)!important}
.site-footer .wt-dev:hover .wt-dev__label{color:rgba(255,255,255,.7)!important}

/* форма заявки: согласие и сообщения (1.5.0) */
.wt-consent{display:flex;gap:9px;align-items:flex-start;font-size:11.5px;line-height:1.5;color:var(--muted);margin:2px 0 12px;cursor:pointer}
.wt-consent input{margin:2px 0 0;width:15px;height:15px;accent-color:var(--primary);flex:0 0 15px}
.wt-consent a{color:var(--primary);text-decoration:underline}
.wt-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.wt-form__ok{background:#EAF7F0;color:#1F7A4D;border-radius:11px;padding:14px 16px;font-size:14px;line-height:1.5}
.wt-form__err{background:#FDECEC;color:#B3261E;border-radius:11px;padding:10px 14px;font-size:12.5px;margin-bottom:10px}

/* мобильный вариант блока преимуществ */
@media (max-width:767px){
  .wt-adv__item{padding:20px}
  .wt-adv__item h3{font-size:16.5px}
  .wt-adv__item p{font-size:14.5px}
}

@media (max-width:767px){
  .wt-cta p{font-size:15px}
  .wt-cta li{font-size:14.5px}
}

/* ============================================================
   Каталог: сайдбар слева, плитки подкатегорий во всю ячейку (1.6.0)
   ============================================================ */
ul.products li.product-category{width:auto!important;float:none!important;clear:none!important;margin:0!important;
  border:0!important;background:none!important;padding:0!important;min-width:0}
ul.products li.product-category > a{display:block;position:relative;height:220px;border-radius:var(--r-tile);
  overflow:hidden;background:#EEF1F8;text-decoration:none}
ul.products li.product-category img{width:100%!important;height:100%!important;object-fit:cover;display:block;
  max-width:none!important;margin:0!important}
ul.products li.product-category h2{position:absolute;left:0;right:0;bottom:0;margin:0;padding:18px;
  color:#fff;font-size:17px;line-height:1.3;font-weight:650;
  background:linear-gradient(180deg,rgba(15,20,40,0) 0%,rgba(15,20,40,.82) 100%)}
ul.products li.product-category .count{display:none}

@media (min-width:769px){
  /* сетка включается только там, где сайдбар реально есть */
  .archive .site-content > .col-full:has(#secondary),
  .tax-product_cat .site-content > .col-full:has(#secondary){display:grid;grid-template-columns:270px minmax(0,1fr);
    gap:34px;align-items:start}
  .archive #secondary,
  .tax-product_cat #secondary{grid-column:1;grid-row:1;float:none!important;width:auto!important;
    margin:0!important;position:sticky;top:100px}
  .archive #primary,
  .tax-product_cat #primary{grid-column:2;grid-row:1;float:none!important;width:auto!important;min-width:0}
}
@media (max-width:768px){
  .archive #secondary,.tax-product_cat #secondary{float:none!important;width:auto!important;margin:0 0 20px!important}
}

/* карточки в каталоге: снимаем проценты и float темы (1.6.1) */
ul.products li.product{width:auto!important;float:none!important;clear:none!important;
  margin:0!important;min-width:0}
ul.products li.product .woocommerce-LoopProduct-link{display:block;text-decoration:none}

/* ============================================================
   Плитки раздела «Станки» (mu-plugin wm-tiles) — 1.6.2
   ============================================================ */
.wm-tiles{margin:0 0 38px}
.wm-tiles__title{font-size:22px;line-height:1.3;margin:0 0 16px;font-weight:700;color:var(--ink)}
.wm-tiles ul.products{margin:0;gap:16px}
.wm-tiles ul.products.columns-5{grid-template-columns:repeat(5,1fr)}
.wm-tiles ul.products.columns-3{grid-template-columns:repeat(3,1fr);gap:20px}

/* бренды: карточка с логотипом, подпись снизу */
.wm-tiles ul.products.columns-5 li.product-category a{display:flex;flex-direction:column;align-items:center;justify-content:center;
  height:170px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:16px;text-decoration:none}
.wm-tiles ul.products.columns-5 li.product-category img{width:100%;height:110px;object-fit:contain;display:block}
.wm-tiles ul.products.columns-5 li.product-category h2{position:static;left:auto;right:auto;bottom:auto;margin:10px 0 0;padding:0;
  background:none;color:var(--ink);font-size:14px;line-height:1.3;text-align:center;font-weight:600}

/* категории станков: фото-плитка с подписью поверх */
.wm-tiles ul.products.columns-3 li.product-category a{position:relative;display:block;height:220px;padding:0;border:0;
  border-radius:var(--r-tile);overflow:hidden;background:#EEF1F8}
.wm-tiles ul.products.columns-3 li.product-category img{width:100%;height:100%;object-fit:cover;display:block}
.wm-tiles ul.products.columns-3 li.product-category h2{position:absolute;left:0;right:0;bottom:0;margin:0;padding:16px 18px;
  color:#fff;font-size:17px;line-height:1.3;text-align:left;
  background:linear-gradient(180deg,rgba(15,20,40,0) 0%,rgba(15,20,40,.82) 100%)}

@media (max-width:1024px){
  .wm-tiles ul.products.columns-5{grid-template-columns:repeat(3,1fr)}
  .wm-tiles ul.products.columns-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  .wm-tiles ul.products.columns-5{grid-template-columns:repeat(2,1fr)}
  .wm-tiles ul.products.columns-3{grid-template-columns:1fr}
  .wm-tiles ul.products.columns-3 li.product-category a{height:180px}
}

/* карточки в ряду — одинаковой высоты */
ul.products li.product{height:100%;align-self:stretch}
ul.products li.product .wt-card__body{flex:1 1 auto}

/* ============================================================
   Сайдбар слева на ВСЕХ страницах, где он есть (1.7.0)
   ============================================================ */
@media (min-width:769px){
  .site-content > .col-full:has(#secondary){display:grid;grid-template-columns:270px minmax(0,1fr);
    gap:34px;align-items:start}
  .site-content > .col-full:has(#secondary) > #secondary{grid-column:1;grid-row:1;float:none!important;
    width:auto!important;margin:0!important;position:sticky;top:100px}
  .site-content > .col-full:has(#secondary) > #primary{grid-column:2;grid-row:1;float:none!important;
    width:auto!important;min-width:0}
}
@media (max-width:768px){
  .site-content > .col-full:has(#secondary) > #secondary{float:none!important;width:auto!important;margin:0 0 20px!important}
}

/* мобильные отступы: не суммируем padding контейнера и секций (1.7.2) */
@media (max-width:767px){
  .site-content > .col-full{padding-left:16px;padding-right:16px}
  .site-content > .col-full .wt-section{padding-left:0;padding-right:0}
  .home .site-content > .col-full .wt-section{padding-left:20px;padding-right:20px}
  .wt-brand-hero{padding:6px 0 0}
}

@media (max-width:767px){
  .wt-hero__tag{font-size:13.5px;padding:10px 13px;line-height:1.3}
}

/* галерея товара: один слайд за раз (1.8.1) */
.single-product .woocommerce-product-gallery__image{display:none!important}
.single-product .woocommerce-product-gallery__image.wt-active{display:block!important}
.single-product .woocommerce-product-gallery__image.wt-active img{display:block}
.single-product div.product .flex-control-thumbs{margin:12px 0 0!important;padding:0!important;display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;list-style:none!important}
.single-product div.product .flex-control-thumbs li{width:auto!important;height:auto!important;margin:0!important;
  float:none!important;display:block!important;position:static!important}
.single-product div.product .flex-control-thumbs img{width:100%!important;height:76px!important;max-width:none!important;
  object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px;cursor:pointer;
  opacity:.65;transition:.15s}
.single-product .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(90,84,144,.14)}
.single-product .flex-control-thumbs img:hover{opacity:1}

/* товар на мобильном — одна колонка (перебиваем !important из десктопного правила) */
@media (max-width:1024px){
  .single-product div.product{grid-template-columns:minmax(0,1fr)!important}
}
/* активная миниатюра: рамка и подсветка */
.single-product div.product .flex-control-thumbs img.flex-active{
  border-color:var(--primary)!important;opacity:1!important;
  box-shadow:0 0 0 3px rgba(90,84,144,.16)!important}

/* «О нас» — контент во всю ширину */
body.wt-fullwidth #primary.content-area{width:100%!important;float:none!important;margin-right:0!important}
body.wt-fullwidth .entry-content{max-width:980px}
body.wt-fullwidth #main{display:block}
body.wt-fullwidth .entry-content h2{font-size:26px;line-height:1.25;margin:34px 0 12px;letter-spacing:-.01em;color:var(--ink)}
body.wt-fullwidth .entry-content h3{font-size:19px;margin:24px 0 8px;color:var(--ink)}
body.wt-fullwidth .entry-content p{font-size:15.5px;line-height:1.7;color:var(--body);margin:0 0 14px}
body.wt-fullwidth .entry-content ul,
body.wt-fullwidth .entry-content ol{margin:0 0 18px;padding-left:22px}
body.wt-fullwidth .entry-content li{font-size:15.5px;line-height:1.7;color:var(--body);margin-bottom:8px}
body.wt-fullwidth .entry-content a{color:var(--primary)}

/* Яндекс-карта на странице «О нас» */
body.wt-fullwidth .entry-content .wt-map{margin:22px 0 12px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--soft);box-shadow:var(--sh-1)}
body.wt-fullwidth .entry-content .wt-map iframe{display:block;width:100%;height:420px;border:0}
body.wt-fullwidth .entry-content .wt-map__link{margin:0 0 8px;font-size:14px}
@media (max-width:767px){body.wt-fullwidth .entry-content .wt-map iframe{height:300px}}

/* «О нас»: крупный текст и блоки в стиле главной */
body.wt-fullwidth .entry-content .wt-about{max-width:1060px}
body.wt-fullwidth .entry-content .wt-about p,
body.wt-fullwidth .entry-content .wt-about li{font-size:17px;line-height:1.72;color:var(--body)}
body.wt-fullwidth .entry-content p.wt-about__lead{font-size:19px;line-height:1.65;color:var(--ink);
  background:linear-gradient(160deg,#F7F9FD,#EDF1F9);border:1px solid var(--line);
  border-radius:var(--r-card);padding:26px 30px;margin:0 0 6px}
body.wt-fullwidth .entry-content .wt-about__head{margin:46px 0 20px}
body.wt-fullwidth .entry-content .wt-about__kicker{display:inline-block;font-size:11.5px;font-weight:650;
  letter-spacing:.14em;text-transform:uppercase;color:var(--primary);margin-bottom:8px}
body.wt-fullwidth .entry-content .wt-about__head h2{font-size:30px;line-height:1.2;margin:0;letter-spacing:-.02em;color:var(--ink)}

body.wt-fullwidth .entry-content .wt-dirs{display:grid;grid-template-columns:1fr 1fr;gap:18px}
body.wt-fullwidth .entry-content .wt-dir{position:relative;background:#fff;border:1px solid var(--line);
  border-radius:var(--r-card);padding:26px 26px 24px;box-shadow:var(--sh-1)}
body.wt-fullwidth .entry-content .wt-dir--wide{grid-column:1 / -1}
body.wt-fullwidth .entry-content .wt-dir__num{position:absolute;top:20px;right:22px;font-size:12.5px;font-weight:700;
  letter-spacing:.08em;color:var(--accent)}
body.wt-fullwidth .entry-content .wt-dir h3{font-size:20px;line-height:1.35;margin:0 0 10px;max-width:86%;color:var(--ink)}
body.wt-fullwidth .entry-content .wt-dir p{margin:0;font-size:16.5px}

body.wt-fullwidth .entry-content .wt-exp{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.wt-fullwidth .entry-content .wt-exp li{background:var(--primary-050);border:1px solid rgba(86,102,170,.12);
  border-radius:16px;padding:18px 20px;margin:0}
body.wt-fullwidth .entry-content .wt-exp b{display:block;font-size:20px;color:var(--primary);margin-bottom:4px}
body.wt-fullwidth .entry-content .wt-exp span{font-size:15.5px;line-height:1.55;color:var(--body)}

body.wt-fullwidth .entry-content .wt-contact{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.wt-fullwidth .entry-content .wt-contact__row{background:var(--soft);border-radius:14px;padding:16px 18px}
body.wt-fullwidth .entry-content .wt-contact__row span{display:block;font-size:11px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted);margin-bottom:5px}
body.wt-fullwidth .entry-content .wt-contact__row b{font-size:16.5px;color:var(--ink);font-weight:600}
body.wt-fullwidth .entry-content .wt-contact__row a{color:var(--ink);text-decoration:none}
body.wt-fullwidth .entry-content .wt-contact__row a:hover{color:var(--primary)}

@media (max-width:900px){
  body.wt-fullwidth .entry-content .wt-dirs,
  body.wt-fullwidth .entry-content .wt-exp,
  body.wt-fullwidth .entry-content .wt-contact{grid-template-columns:1fr}
  body.wt-fullwidth .entry-content .wt-dir h3{max-width:100%}
  body.wt-fullwidth .entry-content .wt-about__head h2{font-size:25px}
  body.wt-fullwidth .entry-content p.wt-about__lead{padding:20px 22px;font-size:17.5px}
}

/* «О нас»: выравнивание блока и верхние отступы */
body.wt-fullwidth #primary.content-area{max-width:1000px;margin:0 auto!important;width:100%!important;float:none!important}
body.wt-fullwidth .entry-content,
body.wt-fullwidth .wt-about{max-width:none}
body.wt-fullwidth .storefront-breadcrumb{padding:10px 0;margin:0}
body.wt-fullwidth .entry-header{margin:0 0 16px}
body.wt-fullwidth .entry-header .wp-post-image{margin:0 0 14px}
body.wt-fullwidth .entry-title{margin:0}

/* бренды и CTA на «О нас» */
body.wt-fullwidth .entry-content .wt-about__brands{margin-top:34px}
body.wt-fullwidth .entry-content .wt-about-cta{margin-top:26px;color:#fff;overflow:hidden;border-radius:var(--r-tile);
  background:linear-gradient(115deg,#2B2647 0%,#453E7D 45%,#5A5490 100%)}
body.wt-fullwidth .entry-content .wt-about-cta__in{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;padding:38px 40px}
body.wt-fullwidth .entry-content .wt-about-cta h2{color:#fff;font-size:28px;line-height:1.2;margin:0 0 8px}
body.wt-fullwidth .entry-content .wt-about-cta p{color:rgba(255,255,255,.82);font-size:16px;margin:0;max-width:540px}
body.wt-fullwidth .entry-content .wt-about-cta__btn{display:inline-flex;align-items:center;justify-content:center;height:52px;
  padding:0 30px;border-radius:12px;background:#fff;color:var(--primary);font-weight:650;font-size:15.5px;text-decoration:none;white-space:nowrap}
body.wt-fullwidth .entry-content .wt-about-cta__btn:hover{background:var(--accent);color:#0F1730}
@media (max-width:820px){
  body.wt-fullwidth .entry-content .wt-about-cta__in{grid-template-columns:1fr;gap:18px;padding:26px 22px}
  body.wt-fullwidth .entry-content .wt-about-cta h2{font-size:22px}
  body.wt-fullwidth .entry-content .wt-about-cta__btn{width:100%}
}

/* CTA-форма на «О нас»: тот же блок, что на главной, но карточкой в колонке */
body.wt-fullwidth .entry-content .wt-cta{margin-top:30px;border-radius:var(--r-tile);overflow:hidden}
body.wt-fullwidth .entry-content .wt-cta__in{max-width:none;padding:44px 40px;grid-template-columns:1fr 460px;gap:40px}
body.wt-fullwidth .entry-content .wt-cta p{max-width:none}
@media (max-width:860px){
  body.wt-fullwidth .entry-content .wt-cta__in{grid-template-columns:1fr;padding:26px 22px}
}

/* CTA на «О нас»: вернуть белые тексты, как на главной (перебивались правилами .entry-content) */
body.wt-fullwidth .entry-content .wt-cta h2{color:#fff;font-size:32px;line-height:1.2;margin:0 0 12px;letter-spacing:-.02em;font-weight:750}
body.wt-fullwidth .entry-content .wt-cta p{color:rgba(255,255,255,.85);font-size:16.5px;line-height:1.65;margin:0 0 20px}
body.wt-fullwidth .entry-content .wt-cta ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
body.wt-fullwidth .entry-content .wt-cta li{color:rgba(255,255,255,.92);font-size:15.5px;line-height:1.55;padding-left:22px;position:relative;margin:0}
body.wt-fullwidth .entry-content .wt-cta li:before{content:"\2713";position:absolute;left:0;top:0;color:var(--accent);font-weight:700}

/* «О нас»: hero как на главной, справа крупный логотип */
body.wt-fullwidth{overflow-x:hidden}
body.wt-fullwidth .entry-header{display:none}
body.wt-fullwidth .entry-content .wt-about-hero__logo{display:flex;align-items:center;justify-content:center}
body.wt-fullwidth .entry-content .wt-about-hero__img{width:100%;max-width:430px;height:auto;display:block;
  filter:drop-shadow(0 22px 48px rgba(0,0,0,.42))}


/* «О нас»: контент по центру под hero, логотип в hero */
#primary.wt-about-content{max-width:1000px;margin:34px auto 0;width:100%;float:none}
.wt-about-hero__logo{display:flex;align-items:center;justify-content:center}
.wt-about-hero__img{width:100%;max-width:430px;height:auto;display:block;filter:drop-shadow(0 22px 48px rgba(0,0,0,.42))}

/* «О нас»: hero и блок заявки во всю ширину экрана */
body.wt-fullwidth .wt-about-hero,
body.wt-fullwidth .wt-cta{position:relative;left:50%;width:100vw;max-width:none;margin-left:-50vw;margin-right:-50vw}
body.wt-fullwidth .wt-cta{margin-top:56px}
body.wt-fullwidth .wt-cta__in{max-width:1240px;padding:56px 28px;grid-template-columns:1fr 460px;gap:56px}

body.wt-fullwidth .site-content{padding-top:0}
body.wt-fullwidth .wt-about-hero{margin-bottom:0}

body.wt-fullwidth .storefront-breadcrumb{display:none}

/* главная: убрать пустой зазор между шапкой и hero */
body.home .site-header{margin-bottom:0!important}

/* ============================================================
   Страница раздела «Станки»: hero с брендами, плитки, фильтр-строка
   ============================================================ */
body.wt-cat-page .site-header{margin-bottom:0!important}
.wt-cat-hero__in{grid-template-columns:1.25fr .75fr;padding:48px 28px 56px;align-items:center}
.wt-cat-hero h1{font-size:44px;margin:0 0 12px}
.wt-cat-brands{display:flex;flex-direction:column;gap:12px}
.wt-cat-brands__label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.62)}
.wt-cat-brands__row{display:flex;flex-wrap:wrap;gap:12px}
.wt-cat-brand{display:flex;align-items:center;justify-content:center;width:116px;height:76px;border-radius:14px;
  background:#fff;padding:9px;transition:transform .2s}
.wt-cat-brand img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.wt-cat-brand:hover{transform:translateY(-2px)}

.wt-cat-body{max-width:1240px;margin:0 auto;padding:34px 28px 20px}
.wt-cat-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}
.wt-cat-tile{position:relative;display:block;height:170px;border-radius:16px;overflow:hidden;background:linear-gradient(180deg,#FAFBFE,#F1F4FA);text-decoration:none}
.wt-cat-tile img{width:100%;height:100%;object-fit:contain;padding:12px;display:block;transition:transform .35s}
.wt-cat-tile__body{position:absolute;left:0;right:0;bottom:0;padding:26px 12px 10px;display:block;
  background:linear-gradient(180deg,rgba(15,20,40,0),rgba(15,20,40,.80))}
.wt-cat-tile__title{display:block;color:#fff;font-size:13px;font-weight:600;line-height:1.25}
.wt-cat-tile__count{display:block;color:rgba(255,255,255,.72);font-size:11px;margin-top:2px}
.wt-cat-tile:hover img{transform:scale(1.04)}

.wt-cat-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:22px}
.wt-cat-bar__count{font-size:13.5px;color:var(--muted)}
.wt-cat-bar .woocommerce-ordering{margin:0}
.wt-cat-bar select{height:40px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font-size:13.5px;color:var(--ink);background:#fff}
ul.products.columns-3{grid-template-columns:repeat(3,1fr)}
.wt-cat-empty{font-size:15px;color:var(--muted);padding:30px 0}
@media (max-width:1024px){.wt-cat-tiles{grid-template-columns:repeat(3,1fr)}}
@media (max-width:767px){
  .wt-cat-body{padding:24px 20px 16px}
  .wt-cat-hero__in{grid-template-columns:1fr;gap:24px;padding:32px 20px 36px}
  .wt-cat-hero h1{font-size:32px}
  .wt-cat-tiles{grid-template-columns:repeat(2,1fr);gap:12px}
  body.wt-cat-page .wt-cat-plates__in{flex-wrap:wrap}
  body.wt-cat-page .wt-cat-link{flex:1 1 calc(50% - 6px)}
  .wt-cat-tile{height:140px}
  ul.products.columns-3{grid-template-columns:repeat(2,1fr)}
  .wt-cat-bar{flex-direction:column;align-items:flex-start;gap:10px}
}

/* hero раздела во всю ширину, как на «О нас» */
body.wt-cat-page .wt-cat-hero{position:relative;left:50%;width:100vw;max-width:none;margin-left:-50vw}
body.wt-cat-page .wt-cat-hero__in{max-width:1240px}

/* блок заявки на «Станки» во всю ширину, как на главной */
body.wt-cat-page .wt-cta{position:relative;left:50%;width:100vw;max-width:none;margin:56px 0 0 -50vw}
body.wt-cat-page .wt-cta__in{max-width:1240px}

/* «Станки»: бренды сверху, крошки под ними, плитки без счётчика */
body.wt-cat-page .wt-cat-hero__in{align-items:start;padding:36px 28px 24px}
body.wt-cat-page .wt-cat-brands{align-self:start}
body.wt-cat-page .wt-cat-crumbs a{color:rgba(255,255,255,.88);text-decoration:none}
body.wt-cat-page .wt-cat-crumbs a:hover{color:#fff}
body.wt-cat-page .wt-cat-tile__body{padding:22px 12px 12px;background:linear-gradient(180deg,rgba(15,20,40,0),rgba(15,20,40,.88))}
body.wt-cat-page .wt-cat-tile__title{font-size:13.5px}

/* плашки подразделов в hero «Станки» */
body.wt-cat-page .wt-cat-plates{max-width:1240px;margin:0 auto;padding:0 28px 34px}
body.wt-cat-page .wt-cat-plates__in{display:flex;gap:12px}
body.wt-cat-page .wt-cat-link{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;box-sizing:border-box;font-size:13px;line-height:1.25;color:#fff;text-decoration:none;text-align:center;
  border:1px solid rgba(255,255,255,.26);border-radius:10px;padding:12px 14px;background:rgba(255,255,255,.07)}
body.wt-cat-page .wt-cat-link:hover{background:rgba(255,255,255,.17);color:#fff}

/* «Станки»: крошки выровнены с контентом hero */
body.wt-cat-page .storefront-breadcrumb{padding:14px 0}
body.wt-cat-page .storefront-breadcrumb .woocommerce-breadcrumb{padding-left:28px;padding-right:28px}

/* «Станки», мобильный: плашки по две в ряд */
@media (max-width:767px){
  body.wt-cat-page .wt-cat-plates__in{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  body.wt-cat-page .wt-cat-link{width:auto;flex:none;min-height:44px}
}

body.wt-cat-page .storefront-breadcrumb{display:none}

body.wt-cat-page .wt-cat-crumbs{font-size:12px;color:rgba(255,255,255,.68);margin:0 0 16px}
body.wt-cat-page .wt-cat-crumbs a{color:rgba(255,255,255,.88);text-decoration:none}
body.wt-cat-page .wt-cat-crumbs a:hover{color:#fff}
body.wt-cat-page .wt-cat-crumbs .sep{margin:0 6px;color:rgba(255,255,255,.45)}

/* раздел без брендов: hero в одну колонку */
body.wt-cat-page .wt-cat-hero__in--single{grid-template-columns:1fr}
body.wt-cat-page .wt-cat-hero__in--single p{max-width:640px}

/* логотип бренда в hero */
body.wt-cat-page .wt-brand-logo{background:#fff;border-radius:18px;padding:22px;display:flex;align-items:center;justify-content:center;
  width:100%;max-width:320px;aspect-ratio:1/1;box-shadow:0 18px 40px rgba(0,0,0,.28)}
body.wt-cat-page .wt-brand-logo img{max-width:100%;max-height:100%;object-fit:contain;display:block}

/* отступ пагинации от сетки товаров */
body.wt-cat-page .woocommerce-pagination{margin:38px 0 6px}
body.wt-cat-page .woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
body.wt-cat-page .woocommerce-pagination ul li{border:0;margin:0}
body.wt-cat-page .woocommerce-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;
  padding:0 12px;border:1px solid var(--line);border-radius:10px;font-size:14px;color:var(--ink);text-decoration:none;background:#fff}
body.wt-cat-page .woocommerce-pagination ul li .page-numbers.current{background:var(--primary);border-color:var(--primary);color:#fff}
body.wt-cat-page .woocommerce-pagination .page-numbers:hover{border-color:var(--primary);color:var(--primary)}
body.wt-cat-page .woocommerce-pagination ul li .page-numbers.current:hover{color:#fff}

/* «О нас» и «Сервис»: без нумерации в карточках */
body.wt-fullwidth .entry-content .wt-dir__num{display:none}
body.wt-fullwidth .entry-content .wt-dir h3{max-width:100%}

/* ============================================================
   Карточка товара
   ============================================================ */
body.wt-cat-page .wt-prod{max-width:1240px;margin:0 auto;padding:22px 28px 0}
body.wt-cat-page .wt-prod__crumbs{font-size:12.5px;color:var(--muted);margin:0 0 20px;line-height:1.5}
body.wt-cat-page .wt-prod__crumbs a{color:var(--muted);text-decoration:none}
body.wt-cat-page .wt-prod__crumbs a:hover{color:var(--primary)}
body.wt-cat-page .wt-prod__crumbs .sep{margin:0 6px;color:#C3C9D8}

body.wt-cat-page .wt-prod__main{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:40px;align-items:start}
body.wt-cat-page .wt-prod__stage{background:linear-gradient(180deg,#FAFBFE,#EFF3FA);border:1px solid var(--line);border-radius:var(--r-tile);
  padding:26px;display:flex;align-items:center;justify-content:center;min-height:440px;cursor:zoom-in}
body.wt-cat-page .wt-prod__img{max-width:100%;max-height:520px;width:auto;height:auto;object-fit:contain;display:block}
body.wt-cat-page .wt-prod__thumbs{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
body.wt-cat-page .wt-prod__thumb{width:86px;height:86px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;cursor:pointer;transition:border-color .18s,box-shadow .18s}
body.wt-cat-page .wt-prod__thumb img{width:100%;height:100%;object-fit:contain;display:block}
body.wt-cat-page .wt-prod__thumb:hover{border-color:#C9D0E4}
body.wt-cat-page .wt-prod__thumb.is-on{border-color:var(--primary);box-shadow:0 0 0 3px rgba(86,102,170,.15)}

body.wt-cat-page .wt-prod__tags{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px}
body.wt-cat-page .wt-prod__tag{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--primary);
  background:var(--primary-050);border-radius:999px;padding:6px 11px;text-decoration:none}
body.wt-cat-page .wt-prod__info h1{font-size:32px;line-height:1.2;letter-spacing:-.02em;margin:0 0 16px;color:var(--ink)}
body.wt-cat-page .wt-prod__price{font-size:26px;font-weight:750;color:var(--ink);line-height:1.25}
body.wt-cat-page .wt-prod__price small{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:4px}
body.wt-cat-page .wt-prod__price .rub,
body.wt-cat-page .wt-prod__price .wt-rub{display:block;font-size:13px;font-weight:500;color:var(--muted);margin-top:4px}
body.wt-cat-page .wt-prod__note{font-size:12.5px;color:var(--muted);line-height:1.5;margin:8px 0 20px}
body.wt-cat-page .wt-prod__buy{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}
body.wt-cat-page .wt-prod__btn{height:50px;padding:0 26px;border-radius:12px;background:var(--primary);color:#fff;display:inline-flex;align-items:center;
  justify-content:center;font-size:15px;font-weight:650;text-decoration:none;transition:background .18s}
body.wt-cat-page .wt-prod__btn:hover{background:var(--primary-600);color:#fff}
body.wt-cat-page .wt-prod__btn--ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
body.wt-cat-page .wt-prod__btn--ghost:hover{border-color:var(--primary);color:var(--primary);background:#fff}
body.wt-cat-page .wt-prod__short{font-size:15px;line-height:1.65;color:var(--body);margin:0 0 18px}
body.wt-cat-page .wt-prod__short p{margin:0 0 10px}
body.wt-cat-page .wt-prod__usps{list-style:none;margin:0;padding:0;display:grid;gap:9px}
body.wt-cat-page .wt-prod__usps li{font-size:14px;line-height:1.5;color:var(--body);padding-left:24px;position:relative}
body.wt-cat-page .wt-prod__usps li:before{content:"✓";position:absolute;left:0;top:0;color:var(--accent);font-weight:700}

body.wt-cat-page .wt-prod__tabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;margin:52px 0 0}
body.wt-cat-page .wt-prod__tab h2{font-size:26px;letter-spacing:-.01em;margin:0 0 16px;color:var(--ink)}
body.wt-cat-page .wt-prod__text{font-size:17px;line-height:1.75;color:var(--body)}
body.wt-cat-page .wt-prod__text p{margin:0 0 12px}

body.wt-cat-page .wt-specs-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
body.wt-cat-page .wt-specs-table th{width:46%;text-align:left;vertical-align:top;padding:15px 20px;font-size:15.5px;font-weight:600;color:var(--body);
  background:var(--soft);border-bottom:1px solid var(--line)}
body.wt-cat-page .wt-specs-table td{padding:15px 20px;font-size:15.5px;color:var(--ink);border-bottom:1px solid var(--line)}
body.wt-cat-page .wt-specs-table tr:last-child th,
body.wt-cat-page .wt-specs-table tr:last-child td{border-bottom:0}

body.wt-cat-page .wt-prod__related{max-width:1240px;margin:56px auto 0;padding:0 28px}
body.wt-cat-page .wt-prod__related ul.products{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:0}

body.wt-cat-page .wt-lightbox{position:fixed;inset:0;background:rgba(8,10,22,.92);display:flex;align-items:center;justify-content:center;z-index:9999;cursor:zoom-out}
body.wt-cat-page .wt-lightbox img{max-width:94vw;max-height:92vh;object-fit:contain;display:block}

@media (max-width:1024px){
  body.wt-cat-page .wt-prod__main{grid-template-columns:1fr;gap:26px}
  body.wt-cat-page .wt-prod__tabs{grid-template-columns:1fr;gap:28px;margin-top:38px}
  body.wt-cat-page .wt-prod__related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  body.wt-cat-page .wt-prod{padding:16px 20px 0}
  body.wt-cat-page .wt-prod__stage{min-height:260px;padding:14px}
  body.wt-cat-page .wt-prod__thumb{width:64px;height:64px}
  body.wt-cat-page .wt-prod__info h1{font-size:24px}
  body.wt-cat-page .wt-prod__price{font-size:22px}
  body.wt-cat-page .wt-prod__btn{width:100%}
  body.wt-cat-page .wt-prod__related{padding:0 20px}
}

/* архивы каталога без сайдбара: контент на всю ширину */
body.wt-cat-page #primary.content-area{width:100%!important;float:none!important;max-width:1240px;margin:0 auto}
body.wt-cat-page #secondary{display:none!important}

/* блоки «Описание» и «Характеристики» как карточки на «О нас» */
body.wt-cat-page .wt-prod__tabs{gap:22px}
body.wt-cat-page .wt-block{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:26px 28px;box-shadow:var(--sh-1)}
body.wt-cat-page .wt-block__head{margin:0 0 16px}
body.wt-cat-page .wt-block__kicker{display:inline-block;font-size:11.5px;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:var(--primary);margin-bottom:6px}
body.wt-cat-page .wt-block h2{font-size:24px;letter-spacing:-.01em;margin:0;color:var(--ink)}
body.wt-cat-page .wt-block .wt-specs-table{border:0;border-radius:0}
body.wt-cat-page .wt-block .wt-specs-table th{background:var(--soft);border-bottom:1px solid var(--line);padding:12px 14px}
body.wt-cat-page .wt-block .wt-specs-table td{border-bottom:1px solid var(--line);padding:12px 14px}
body.wt-cat-page .wt-block .wt-specs-table tr:first-child th,
body.wt-cat-page .wt-block .wt-specs-table tr:first-child td{border-top:1px solid var(--line)}
@media (max-width:1024px){
  body.wt-cat-page .wt-block{padding:20px 18px}
  body.wt-cat-page .wt-block h2{font-size:21px}
}

/* плитки подкатегорий: крупные, по две в ряд */
body.wt-cat-page .wt-cat-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:8px}
body.wt-cat-page .wt-cat-tile{height:280px;border-radius:var(--r-tile)}
body.wt-cat-page .wt-cat-tile img{padding:18px}
body.wt-cat-page .wt-cat-tile__body{padding:40px 66px 16px 18px;background:linear-gradient(180deg,rgba(15,20,40,0),rgba(15,20,40,.88))}
body.wt-cat-page .wt-cat-tile__title{font-size:18px;line-height:1.3}
@media (max-width:900px){
  body.wt-cat-page .wt-cat-tiles{grid-template-columns:1fr}
  body.wt-cat-page .wt-cat-tile{height:220px}
  body.wt-cat-page .wt-cat-tile__title{font-size:16px}
}

/* стрелка на плитках подкатегорий — как на главной */
body.wt-cat-page .wt-cat-tile .wt-tile__arrow{right:18px;bottom:18px;width:46px;height:46px;border-radius:14px;font-size:18px;
  background:#fff;color:var(--primary);border:1px solid rgba(255,255,255,.95);font-weight:700;
  box-shadow:0 8px 20px rgba(6,10,25,.38), inset 0 1px 0 rgba(255,255,255,.9)}
body.wt-cat-page .wt-cat-tile:hover .wt-tile__arrow{background:var(--accent);color:#0F1730}
