/* Manrope: подключён локально, без обращений к внешним сервисам */
@font-face{font-family:Manrope;font-style:normal;font-weight:300;font-display:swap;src:url(/css/fonts/manrope-300-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:300;font-display:swap;src:url(/css/fonts/manrope-300-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(/css/fonts/manrope-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(/css/fonts/manrope-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(/css/fonts/manrope-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(/css/fonts/manrope-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(/css/fonts/manrope-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(/css/fonts/manrope-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(/css/fonts/manrope-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(/css/fonts/manrope-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(/css/fonts/manrope-800-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(/css/fonts/manrope-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ==========================================================================
   Тюнинг59 — тема оформления
   Белый фон, чёрный текст, фирменный красный. Подключается последней,
   поэтому перекрывает базовые стили движка.
   ========================================================================== */

:root{
    --t-red:#E5322D;
    --t-red-dark:#C42722;
    --t-red-soft:#FDECEB;
    --t-black:#111111;
    --t-ink:#1B1B1B;
    --t-gray-900:#2B2B2B;
    --t-gray-600:#6B6B6B;
    --t-gray-400:#9A9A9A;
    --t-gray-200:#E4E4E4;
    --t-gray-100:#F1F1F1;
    --t-gray-50:#F7F7F8;
    --t-white:#FFFFFF;
    --t-green:#1BA05A;

    --t-radius:10px;
    --t-radius-sm:8px;
    --t-radius-lg:16px;
    --t-shadow:0 2px 12px rgba(17,17,17,.07);
    --t-shadow-hover:0 8px 28px rgba(17,17,17,.13);
    --t-shadow-menu:0 18px 44px rgba(17,17,17,.16);

    --t-container:1280px;
    --t-header-h:84px;

    --t-font:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

/* ---------- база ---------- */
html{-webkit-text-size-adjust:100%}
body{
    font-family:var(--t-font);
    font-weight:400;
    color:var(--t-ink);
    background:var(--t-white)!important;
    font-size:15px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
}
body.t-noscroll{overflow:hidden}
a{color:var(--t-ink);text-decoration:none;transition:color .15s ease}
a:hover{color:var(--t-red);text-decoration:none}
img{max-width:100%}
h1,h2,h3,h4,h5{font-family:var(--t-font);color:var(--t-black);font-weight:700;letter-spacing:-.015em;margin:0}
h1{font-size:34px;line-height:1.15}
h2{font-size:27px;line-height:1.2}
h3{font-size:20px;line-height:1.25}
.t-container{max-width:var(--t-container);margin:0 auto;padding:0 20px}
.t-hidden{display:none!important}

/* заголовок секции с красной чертой */
.t-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 22px}
.t-sec-head h2{position:relative;padding-bottom:12px}
.t-sec-head h2:after{content:"";position:absolute;left:0;bottom:0;width:48px;height:4px;background:var(--t-red);border-radius:2px}
.t-sec-head .t-sec-link{color:var(--t-gray-600);font-weight:600;font-size:14px;white-space:nowrap}
.t-sec-head .t-sec-link:hover{color:var(--t-red)}

/* ---------- кнопки ---------- */
.t-btn{
    display:inline-flex;align-items:center;justify-content:center;gap:9px;
    height:48px;padding:0 24px;border:0;border-radius:var(--t-radius-sm);
    font:inherit;font-weight:600;font-size:15px;line-height:1;cursor:pointer;
    transition:background .15s ease,color .15s ease,box-shadow .15s ease,transform .06s ease;
    white-space:nowrap;
}
.t-btn:active{transform:translateY(1px)}
.t-btn-red{background:var(--t-red);color:#fff}
.t-btn-red:hover{background:var(--t-red-dark);color:#fff}
.t-btn-black{background:var(--t-black);color:#fff}
.t-btn-black:hover{background:var(--t-red);color:#fff}
.t-btn-ghost{background:#fff;color:var(--t-black);box-shadow:inset 0 0 0 1.5px var(--t-gray-200)}
.t-btn-ghost:hover{box-shadow:inset 0 0 0 1.5px var(--t-black);color:var(--t-black)}
.t-btn-sm{height:40px;padding:0 18px;font-size:14px}
.t-btn-block{display:flex;width:100%}

/* ==========================================================================
   ШАПКА
   ========================================================================== */
.t-header{background:#fff;border-bottom:1px solid var(--t-gray-200);position:relative;z-index:900}

/* верхняя служебная полоса */
.t-topbar{border-bottom:1px solid var(--t-gray-200);background:var(--t-gray-50);font-size:13px}
.t-topbar .t-container{display:flex;align-items:center;justify-content:space-between;height:40px;gap:20px}
.t-topbar-nav{display:flex;align-items:center;gap:22px;min-width:0}
.t-topbar-nav a{color:var(--t-gray-600);font-weight:500;white-space:nowrap}
.t-topbar-nav a:hover{color:var(--t-red)}
.t-topbar-right{display:flex;align-items:center;gap:16px}
.t-topbar-addr{color:var(--t-gray-600);display:flex;align-items:center;gap:7px;white-space:nowrap}
.t-topbar-addr svg{width:14px;height:14px;fill:var(--t-gray-400);flex:none}

/* мессенджеры */
.t-mess{display:flex;align-items:center;gap:8px}
.t-mess a{
    width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;
    background:var(--t-gray-200);transition:background .15s ease,transform .15s ease;
}
.t-mess a:hover{background:var(--t-red);transform:translateY(-1px)}
.t-mess svg{width:15px;height:15px;fill:var(--t-gray-900);transition:fill .15s ease}
.t-mess a:hover svg{fill:#fff}
.t-mess-max{font:800 11px/1 var(--t-font);color:var(--t-gray-900);letter-spacing:.02em;transition:color .15s ease}
.t-mess a:hover .t-mess-max{color:#fff}

/* основная строка */
.t-headmain{padding:18px 0}
.t-headmain .t-container{display:flex;align-items:center;gap:22px}
.t-logo{flex:none;display:block;width:172px}
.t-logo img{display:block;width:100%}

/* кнопка каталога */
.t-catbtn{
    flex:none;display:inline-flex;align-items:center;gap:11px;height:52px;padding:0 22px;
    background:var(--t-red);color:#fff;border:0;border-radius:var(--t-radius-sm);
    font:700 15px/1 var(--t-font);letter-spacing:.01em;cursor:pointer;
    transition:background .15s ease;
}
.t-catbtn:hover,.t-catbtn.is-open{background:var(--t-red-dark);color:#fff}
.t-catbtn-ico{position:relative;width:18px;height:14px;flex:none}
.t-catbtn-ico span{position:absolute;left:0;width:100%;height:2px;background:#fff;border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.t-catbtn-ico span:nth-child(1){top:0}
.t-catbtn-ico span:nth-child(2){top:6px}
.t-catbtn-ico span:nth-child(3){top:12px}
.t-catbtn.is-open .t-catbtn-ico span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.t-catbtn.is-open .t-catbtn-ico span:nth-child(2){opacity:0}
.t-catbtn.is-open .t-catbtn-ico span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* поиск */
.t-search{flex:1 1 auto;min-width:0;position:relative}
.t-search form{display:flex;height:52px;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius-sm);overflow:hidden;transition:border-color .15s ease}
.t-search form:focus-within{border-color:var(--t-black)}
.t-search input[type=text]{
    flex:1 1 auto;min-width:0;border:0;outline:0;padding:0 16px;font:inherit;font-size:15px;color:var(--t-ink);background:#fff;
}
.t-search input::placeholder{color:var(--t-gray-400)}
.t-search button{
    flex:none;border:0;background:var(--t-black);color:#fff;padding:0 22px;
    font:700 14px/1 var(--t-font);cursor:pointer;display:flex;align-items:center;gap:8px;transition:background .15s ease;
}
.t-search button:hover{background:var(--t-red)}
.t-search button svg{width:16px;height:16px;fill:#fff}

/* телефон и иконки */
.t-headphone{flex:none;text-align:right;line-height:1.2}
.t-headphone a{display:block;font-weight:700;font-size:19px;color:var(--t-black);white-space:nowrap;letter-spacing:0}
.t-headphone a:hover{color:var(--t-red)}
.t-headphone span{display:block;font-size:12px;color:var(--t-gray-400);margin-top:3px}
.t-headicons{flex:none;display:flex;align-items:center;gap:6px}
.t-headicon{position:relative;width:46px;height:46px;border-radius:var(--t-radius-sm);display:flex;align-items:center;justify-content:center;transition:background .15s ease}
.t-headicon:hover{background:var(--t-gray-100)}
.t-headicon{color:var(--t-black)}
.t-headicon svg{width:23px;height:23px;fill:var(--t-black)}
.t-headicon-count{
    position:absolute;top:5px;right:4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;
    background:var(--t-red);color:#fff;font:700 11px/18px var(--t-font);text-align:center;
}
.t-headicon-count:empty{display:none}

/* ---------- мега-меню каталога ---------- */
.t-mega{
    position:absolute;left:0;right:0;top:100%;background:#fff;
    box-shadow:var(--t-shadow-menu);border-top:1px solid var(--t-gray-200);
    display:none;z-index:950;
}
.t-mega.is-open{display:block}
.t-mega-inner{max-width:var(--t-container);margin:0 auto;padding:26px 20px 30px}
.t-mega-tabs{display:flex;gap:8px;margin-bottom:22px}
.t-mega-tab{
    height:40px;padding:0 20px;border:0;border-radius:100px;background:var(--t-gray-100);
    font:700 14px/40px var(--t-font);color:var(--t-gray-600);cursor:pointer;transition:background .15s ease,color .15s ease;
}
.t-mega-tab.is-active{background:var(--t-black);color:#fff}
.t-mega-pane{display:none}
.t-mega-pane.is-active{display:block}
.t-mega-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:2px 26px}
.t-mega-grid a{
    display:block;padding:7px 0;font-size:14px;color:var(--t-gray-900);
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.t-mega-grid a:hover{color:var(--t-red)}
.t-mega-sec{margin-bottom:22px}
.t-mega-sec:last-child{margin-bottom:0}
.t-mega-sec-title{font:800 12px/1 var(--t-font);letter-spacing:.09em;text-transform:uppercase;color:var(--t-gray-400);margin-bottom:11px}
.t-mega-overlay{position:fixed;inset:0;background:rgba(17,17,17,.35);z-index:899;display:none}
.t-mega-overlay.is-open{display:block}

/* ---------- мобильная шапка ---------- */
.t-mheader{display:none;position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid var(--t-gray-200)}
.t-mhead-row{display:flex;align-items:center;gap:12px;padding:10px 14px}
.t-burger{flex:none;width:40px;height:40px;border:0;background:none;padding:0;position:relative;cursor:pointer}
.t-burger span{position:absolute;left:9px;width:22px;height:2px;background:var(--t-black);border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.t-burger span:nth-child(1){top:13px}
.t-burger span:nth-child(2){top:19px}
.t-burger span:nth-child(3){top:25px}
.t-mlogo{flex:1 1 auto;display:block;max-width:132px}
.t-mlogo img{display:block;width:100%}
.t-micons{flex:none;margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.t-micons-row{display:flex;align-items:center;justify-content:flex-end;gap:2px}
/* второй ряд — мессенджеры, ячейки той же ширины, чтобы столбцы совпадали */
.t-micons-mess .t-micon{height:30px}
.t-micons-mess .t-micon svg{width:26px;height:26px;padding:5px;box-sizing:border-box;border-radius:50%;background:var(--t-gray-100);fill:var(--t-gray-900)}
.t-micons-mess .t-mess-max{
    display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;
    background:var(--t-gray-100);font:800 9px/1 var(--t-font);color:var(--t-gray-900);letter-spacing:.02em;
}
.t-micon{position:relative;width:40px;height:40px;display:flex;align-items:center;justify-content:center}
.t-micon{color:var(--t-black)}
.t-micon svg{width:22px;height:22px;fill:var(--t-black)}
.t-micon .t-headicon-count{top:2px;right:0}

/* мобильная кнопка «Каталог» под шапкой — пункт ТЗ */
.t-mcatbtn{
    display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:46px;
    border:0;background:var(--t-red);color:#fff;font:800 15px/1 var(--t-font);cursor:pointer;
}
.t-mcatbtn .t-catbtn-ico span{background:#fff}
.t-mcatbtn-arrow{width:12px;height:12px;fill:#fff;transition:transform .2s ease}
.t-mcatbtn.is-open .t-mcatbtn-arrow{transform:rotate(180deg)}

/* мобильный поиск */
.t-msearch{padding:0 14px 10px}
.t-msearch form{display:flex;height:42px;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius-sm);overflow:hidden}
.t-msearch input[type=text]{flex:1 1 auto;min-width:0;border:0;outline:0;padding:0 14px;font:inherit;font-size:15px}
.t-msearch button{flex:none;border:0;background:var(--t-black);color:#fff;padding:0 16px;display:flex;align-items:center}
.t-msearch button svg{width:16px;height:16px;fill:#fff}

/* мобильная панель каталога */
/* колонка: вкладки стоят на месте, прокручивается только список.
   Прежний sticky внутри прокручиваемого блока на телефоне отрисовывался с запозданием — марки наезжали на вкладки. */
.t-mcat{display:none;flex-direction:column;background:#fff;border-bottom:1px solid var(--t-gray-200);max-height:72vh}
/* правка: панель каталога открывается на весь экран — значки не обрезаются после пары строк,
   список листается внутри панели, страница под ней не скроллится */
.t-mcat.is-open{display:flex;position:fixed;top:0;left:0;right:0;bottom:0;max-height:none;z-index:1001}
.t-mcat-head{flex:none;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--t-gray-200);background:#fff}
.t-mcat-title{font:800 17px var(--t-font)}
.t-mcat-close{width:40px;height:40px;border:0;border-radius:50%;background:var(--t-gray-100);font-size:26px;line-height:1;color:var(--t-gray-600);cursor:pointer}
.t-mcat-tabs{flex:none;display:flex;gap:8px;padding:12px 14px;background:#fff;border-bottom:1px solid var(--t-gray-100)}
.t-mcat-tab{flex:1 1 0;height:38px;border:0;border-radius:100px;background:var(--t-gray-100);font:700 14px/38px var(--t-font);color:var(--t-gray-600);cursor:pointer}
.t-mcat-tab.is-active{background:var(--t-black);color:#fff}
.t-mcat-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.t-mcat-pane{display:none}
.t-mcat-pane.is-active{display:block}

/* широкая строка «Универсальные товары» */
.t-mcat-univ{display:flex;align-items:center;gap:10px;padding:13px 16px;background:var(--t-gray-50);border-bottom:1px solid var(--t-gray-200);color:var(--t-gray-900)}
.t-mcat-univ:active{background:var(--t-gray-100)}
.t-mcat-univ-text{flex:1 1 auto;min-width:0;display:block}
.t-mcat-univ-name{display:block;font:800 15px/1.2 var(--t-font)}
.t-mcat-univ-sub{display:block;margin-top:3px;font:500 12px/1.3 var(--t-font);color:var(--t-gray-600)}
.t-mcat-univ-arrow{flex:none;width:18px;height:18px;color:var(--t-gray-400)}

/* лента картинок под строкой «Универсальные товары» */
.t-mcat-univ-strip{display:flex;gap:8px;padding:10px 14px 12px;background:var(--t-gray-50);
    border-bottom:1px solid var(--t-gray-200);overflow-x:auto;-webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;scroll-snap-type:x proximity}
.t-mcat-univ-item{flex:none;width:84px;scroll-snap-align:start;display:flex;flex-direction:column;
    align-items:center;gap:5px;color:var(--t-gray-900);text-align:center}
.t-mcat-univ-pic{display:flex;align-items:center;justify-content:center;width:84px;height:62px;
    background:#fff;border:1px solid var(--t-gray-200);border-radius:9px;overflow:hidden}
.t-mcat-univ-pic img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:darken}
.t-mcat-univ-name{font:600 10.5px/1.2 var(--t-font);color:var(--t-gray-700);
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.t-mcat-univ-more .t-mcat-univ-pic{background:var(--t-gray-100);border-style:dashed}
.t-mcat-univ-more-ico{font-size:20px;color:var(--t-gray-500)}

/* сетка значков марок */
.t-mcat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--t-gray-100);padding:1px 0 0}
.t-mcat-brand{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;
    padding:12px 4px 11px;min-height:92px;background:#fff;border:0;cursor:pointer;
    font:inherit;color:var(--t-gray-900);text-align:center;-webkit-tap-highlight-color:transparent}
.t-mcat-brand:active{background:var(--t-gray-50)}
.t-mcat-brand.is-loading{opacity:.45}
.t-mcat-brand-pic{display:flex;align-items:center;justify-content:center;width:100%;height:40px}
.t-mcat-brand-pic img{max-width:46px;max-height:40px;object-fit:contain}
.t-mcat-brand-abbr{display:flex;align-items:center;justify-content:center;width:100%;max-width:80px;height:40px;padding:3px 6px;
    border-radius:9px;background:var(--t-gray-100);font:800 11px/1 var(--t-font);color:var(--t-gray-700);
    text-transform:uppercase;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t-mcat-brand-name{font:600 11px/1.25 var(--t-font);color:var(--t-gray-700);word-break:break-word;hyphens:auto}

/* вкладка «По типу» */
.t-mcat-typerow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;
    font-size:15px;border-bottom:1px solid var(--t-gray-100);color:var(--t-gray-900)}
.t-mcat-typerow span{flex:none;font:600 12px/1 var(--t-font);color:var(--t-gray-400)}
.t-mcat-typerow:active{background:var(--t-gray-50)}

/* второй уровень — модели марки */
.t-mcat-models{display:none;flex:1 1 auto;min-height:0;flex-direction:column}
.t-mcat.is-models .t-mcat-tabs,.t-mcat.is-models .t-mcat-body{display:none}
.t-mcat.is-models .t-mcat-models{display:flex}
.t-mcat-back{flex:none;display:flex;align-items:center;gap:6px;width:100%;padding:12px 14px;border:0;
    border-bottom:1px solid var(--t-gray-100);background:#fff;cursor:pointer;
    font:700 14px/1 var(--t-font);color:var(--t-gray-700);text-align:left}
.t-mcat-back svg{width:18px;height:18px}
.t-mcat-mbody{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.t-mcat-mhead{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--t-gray-100)}
.t-mcat-mhead-pic{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:38px}
.t-mcat-mhead-pic img{max-width:44px;max-height:38px;object-fit:contain}
.t-mcat-mhead-text{display:block;min-width:0}
.t-mcat-mhead-text b{display:block;font:800 16px/1.2 var(--t-font)}
.t-mcat-mhead-text a{display:block;margin-top:2px;font:600 13px/1.2 var(--t-font);color:var(--t-red)}
.t-mcat-mlist a{display:flex;align-items:center;gap:12px;padding:8px 16px;border-bottom:1px solid var(--t-gray-100);color:var(--t-gray-900)}
.t-mcat-mlist a:active{background:var(--t-gray-50)}
.t-mcat-mpic{flex:none;display:flex;align-items:center;justify-content:center;width:58px;height:44px;
    background:var(--t-gray-50);border-radius:8px;overflow:hidden}
.t-mcat-mpic img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:darken}
.t-mcat-mname{font:600 14px/1.3 var(--t-font)}
.t-mcat-sec-title{font:800 11px/1 var(--t-font);letter-spacing:.09em;text-transform:uppercase;color:var(--t-gray-400);padding:16px 16px 8px}

/* мобильное боковое меню */
.t-mmenu{position:fixed;top:0;left:0;bottom:0;width:290px;max-width:86vw;background:#fff;z-index:1001;transform:translateX(-100%);transition:transform .25s ease;overflow-y:auto}
.t-mmenu.is-open{transform:translateX(0)}
.t-mmenu-head{display:flex;align-items:center;justify-content:space-between;padding:14px;border-bottom:1px solid var(--t-gray-200)}
.t-mmenu-head img{max-width:120px}
.t-mmenu-close{width:36px;height:36px;border:0;background:none;font-size:26px;line-height:1;color:var(--t-gray-600);cursor:pointer}
.t-mmenu a.t-mmenu-link{display:block;padding:13px 16px;border-bottom:1px solid var(--t-gray-100);font-size:15px;font-weight:500}
.t-mmenu-foot{padding:16px}
.t-mmenu-foot .t-headphone{text-align:left;margin-bottom:12px}
.t-mmenu-overlay{position:fixed;inset:0;background:rgba(17,17,17,.4);z-index:1000;display:none}
.t-mmenu-overlay.is-open{display:block}

@media (max-width:991px){
    .t-header{display:none}
    .t-mheader{display:block}
}

/* ==========================================================================
   ПОДВАЛ
   ========================================================================== */
.t-footer{background:var(--t-black);color:#fff;margin-top:60px;padding:46px 0 0}
.t-footer a{color:rgba(255,255,255,.72)}
.t-footer a:hover{color:#fff}
.t-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:34px}
.t-footer-logo{width:168px;margin-bottom:16px;display:block}
.t-footer-about{color:rgba(255,255,255,.55);font-size:13px;line-height:1.6;max-width:320px}
.t-footer-title{font:800 13px/1 var(--t-font);letter-spacing:.09em;text-transform:uppercase;color:#fff;margin-bottom:16px}
.t-footer-nav{list-style:none;margin:0;padding:0}
.t-footer-nav li{margin-bottom:10px;font-size:14px}
.t-footer-phone{font-weight:700;font-size:21px;color:#fff!important;display:block;margin-bottom:4px}
.t-footer-note{color:rgba(255,255,255,.45);font-size:12px;margin-bottom:16px}
.t-footer .t-mess a{background:rgba(255,255,255,.12)}
.t-footer .t-mess svg{fill:#fff}
.t-footer .t-mess-max{color:#fff}
.t-footer-bottom{
    margin-top:36px;border-top:1px solid rgba(255,255,255,.12);padding:18px 0 24px;
    display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
    color:rgba(255,255,255,.45);font-size:13px;
}
.t-footer-bottom a{color:rgba(255,255,255,.45);text-decoration:underline}
@media (max-width:991px){
    .t-footer{margin-top:36px;padding-top:32px}
    .t-footer-grid{grid-template-columns:1fr 1fr;gap:26px}
}
@media (max-width:575px){
    .t-footer-grid{grid-template-columns:1fr}
}

/* ==========================================================================
   COOKIE-УВЕДОМЛЕНИЕ
   ========================================================================== */
.t-cookie{
    position:fixed;left:16px;right:16px;bottom:16px;z-index:1200;background:#fff;
    border-radius:var(--t-radius);box-shadow:var(--t-shadow-menu);padding:18px 20px;
    display:none;align-items:center;gap:18px;max-width:860px;margin:0 auto;
}
.t-cookie.is-open{display:flex}
.t-cookie-text{flex:1 1 auto;font-size:13px;color:var(--t-gray-600);line-height:1.5}
.t-cookie-text a{color:var(--t-black);text-decoration:underline}
@media (max-width:575px){
    .t-cookie{flex-direction:column;align-items:stretch;gap:12px;padding:16px}
}

/* ==========================================================================
   ГЛАВНАЯ
   ========================================================================== */
.t-section{padding:44px 0}
.t-section + .t-section{padding-top:0}

/* первый экран */
.t-hero{background:linear-gradient(180deg,var(--t-gray-50) 0%,#fff 100%);padding:52px 0 46px;overflow:hidden}
.t-hero-inner{display:flex;align-items:center;gap:40px}
.t-hero-text{flex:1 1 auto;min-width:0}
.t-hero h1{font-size:44px;line-height:1.1;margin-bottom:16px;letter-spacing:-.02em}
.t-hero-sub{color:var(--t-gray-600);font-size:16px;max-width:620px;margin:0 0 28px}
/* фотография в первом экране: белый фон снимка растворяется в фоне блока режимом darken */
.t-hero-art{flex:none;width:620px;max-width:50%;margin-right:0}
.t-hero-art img{width:100%;display:block;mix-blend-mode:darken}

.t-hero-pick{background:#fff;border-radius:var(--t-radius-lg);box-shadow:var(--t-shadow);padding:20px;max-width:720px}
.t-hero-pick-title{font-weight:800;font-size:14px;margin-bottom:12px}
.t-hero-pick-row{display:flex;gap:10px}
.t-select{
    flex:1 1 0;min-width:0;height:48px;padding:0 14px;border:1.5px solid var(--t-gray-200);
    border-radius:var(--t-radius-sm);font:inherit;font-size:15px;background:#fff;color:var(--t-ink);
    appearance:none;-webkit-appearance:none;cursor:pointer;
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239A9A9A' d='M12 15.5 5.8 9.3a1 1 0 0 1 1.4-1.4l5 5 5-5a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right 10px center;background-size:18px;padding-right:34px;
}
.t-select:focus{outline:0;border-color:var(--t-black)}
.t-select:disabled{background-color:var(--t-gray-50);color:var(--t-gray-400);cursor:default}

.t-hero-facts{display:flex;gap:34px;margin-top:26px;flex-wrap:wrap}
.t-hero-fact b{display:block;font-size:17px;font-weight:700;color:var(--t-black)}
.t-hero-fact span{font-size:13px;color:var(--t-gray-600)}

/* плитки типов */
.t-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.t-tile{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:18px 20px;background:var(--t-gray-50);border-radius:var(--t-radius);
    transition:background .15s ease,transform .12s ease,box-shadow .15s ease;
}
.t-tile:hover{background:#fff;box-shadow:var(--t-shadow-hover);transform:translateY(-2px)}
.t-tile-name{font-weight:600;font-size:15px;color:var(--t-black)}
.t-tile:hover .t-tile-name{color:var(--t-red)}
.t-tile-count{flex:none;font-size:13px;color:var(--t-gray-400);font-weight:600}

/* марки */
.t-brands{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.t-brand{
    display:flex;align-items:center;justify-content:center;text-align:center;
    height:60px;padding:0 10px;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius);
    font-weight:600;font-size:14px;color:var(--t-gray-900);
    transition:border-color .15s ease,color .15s ease,transform .12s ease;
}
.t-brand:hover{border-color:var(--t-black);color:var(--t-black);transform:translateY(-2px)}

/* карточки товаров */
.t-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.t-card{
    display:flex;flex-direction:column;background:#fff;border:1px solid var(--t-gray-200);
    border-radius:var(--t-radius);overflow:hidden;transition:box-shadow .18s ease,transform .12s ease,border-color .18s ease;
}
.t-card:hover{box-shadow:var(--t-shadow-hover);transform:translateY(-3px);border-color:transparent}
.t-card-img{position:relative;padding-top:76%;background:#fff}
.t-card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:14px}
.t-card-badge{
    position:absolute;top:10px;left:10px;z-index:2;background:var(--t-red);color:#fff;
    font:800 12px/1 var(--t-font);padding:6px 9px;border-radius:6px;
}
.t-card-body{flex:1 1 auto;display:flex;flex-direction:column;padding:0 16px 16px}
.t-card-name{
    flex:1 1 auto;font-size:14px;line-height:1.4;color:var(--t-gray-900);margin-bottom:14px;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.t-card:hover .t-card-name{color:var(--t-black)}
.t-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.t-card-prices{display:flex;flex-direction:column;line-height:1.15}
.t-card-old{font-size:12px;color:var(--t-gray-400);text-decoration:line-through}
.t-card-price{font-weight:700;font-size:18px;color:var(--t-black)}
.t-card-buy{
    flex:none;height:36px;padding:0 14px;border-radius:var(--t-radius-sm);background:var(--t-gray-100);
    font:700 13px/36px var(--t-font);color:var(--t-black);transition:background .15s ease,color .15s ease;
}
.t-card:hover .t-card-buy{background:var(--t-red);color:#fff}

/* преимущества */
.t-adv{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:34px;background:var(--t-gray-50);border-radius:var(--t-radius-lg)}
.t-adv-num{font:800 13px/1 var(--t-font);color:var(--t-red);margin-bottom:12px;letter-spacing:.05em}
.t-adv-title{font-weight:700;font-size:16px;margin-bottom:8px;color:var(--t-black)}
.t-adv-text{font-size:14px;color:var(--t-gray-600);line-height:1.55}

/* помощь с подбором */
.t-help{
    display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;
    background:var(--t-black);color:#fff;border-radius:var(--t-radius-lg);padding:36px 40px;
}
.t-help h2{color:#fff;margin-bottom:10px}
.t-help p{color:rgba(255,255,255,.6);margin:0;max-width:520px;font-size:15px}
.t-help-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.t-mess-lg a{width:44px;height:44px;background:rgba(255,255,255,.12)}
.t-mess-lg svg{width:21px;height:21px;fill:#fff}
.t-mess-lg .t-mess-max{color:#fff;font-size:14px}

/* статьи */
.t-articles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.t-article-img{position:relative;padding-top:60%;border-radius:var(--t-radius);overflow:hidden;background:var(--t-gray-100)}
.t-article-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.t-article-name{margin-top:12px;font-weight:700;font-size:16px}
.t-article:hover .t-article-name{color:var(--t-red)}

/* ---------- адаптив главной ---------- */
@media (max-width:1199px){
    .t-tiles{grid-template-columns:repeat(3,1fr)}
    .t-brands{grid-template-columns:repeat(5,1fr)}
    .t-cards{grid-template-columns:repeat(3,1fr)}
    .t-adv{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:991px){
    .t-hero-art{display:none}
    .t-hero h1{font-size:32px}
    .t-hero{padding:30px 0 28px}
    .t-section{padding:32px 0}
    .t-articles{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
    h1{font-size:26px}
    h2{font-size:21px}
    .t-hero h1{font-size:26px}
    .t-hero-sub{font-size:15px;margin-bottom:20px}
    .t-hero-pick{padding:16px}
    .t-hero-pick-row{flex-direction:column}
    .t-hero-facts{gap:18px;margin-top:20px}
    .t-hero-fact{flex:1 1 40%}
    .t-tiles{grid-template-columns:repeat(2,1fr);gap:10px}
    .t-tile{padding:14px;flex-direction:column;align-items:flex-start;gap:4px}
    .t-tile-name{font-size:14px}
    .t-brands{grid-template-columns:repeat(3,1fr)}
    .t-brand{height:52px;font-size:13px}
    .t-cards{grid-template-columns:repeat(2,1fr);gap:10px}
    .t-card-name{font-size:13px;-webkit-line-clamp:2;margin-bottom:10px}
    .t-card-price{font-size:16px}
    .t-card-bottom{flex-direction:column;align-items:stretch;gap:8px}
    .t-card-buy{text-align:center}
    .t-adv{grid-template-columns:1fr;padding:22px;gap:18px}
    .t-help{padding:24px;flex-direction:column;align-items:flex-start}
    .t-help-actions{width:100%}
    .t-articles{grid-template-columns:1fr}
    .t-container{padding:0 14px}
}

/* ==========================================================================
   КАТАЛОГ
   ========================================================================== */
.t-catalog{padding:26px 0 40px}
.t-cat-head{display:flex;align-items:baseline;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.t-cat-count{color:var(--t-gray-400);font-size:14px}

.t-subcats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.t-subcat{
    display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:100px;
    background:var(--t-gray-100);font-size:14px;font-weight:600;color:var(--t-gray-900);
    transition:background .15s ease,color .15s ease;
}
.t-subcat:hover{background:var(--t-black);color:#fff}

.t-cat-layout{display:grid;grid-template-columns:262px 1fr;gap:28px;align-items:start}
.t-cat-main{min-width:0}

/* панель сортировки */
.t-cat-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.t-filter-open{display:none}
.t-dot{width:7px;height:7px;border-radius:50%;background:var(--t-red);display:inline-block}
.t-sort{display:flex;align-items:center;gap:12px;min-width:0}
.t-sort-label{color:var(--t-gray-400);font-size:13px;flex:none}
.t-sort-list{display:flex;gap:6px;flex-wrap:wrap}
.t-sort-item{
    padding:7px 13px;border-radius:100px;font-size:13px;font-weight:600;color:var(--t-gray-600);
    background:var(--t-gray-50);transition:background .15s ease,color .15s ease;
}
.t-sort-item:hover{background:var(--t-gray-100);color:var(--t-black)}
.t-sort-item.is-active{background:var(--t-black);color:#fff}

/* блок фильтра */
.t-filter{border:1px solid var(--t-gray-200);border-radius:var(--t-radius);padding:20px;position:sticky;top:16px}
.t-filter-head{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:17px;margin-bottom:16px}
.t-filter-close{display:none;border:0;background:none;font-size:26px;line-height:1;color:var(--t-gray-600);cursor:pointer}
.t-filter-block{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--t-gray-100)}
.t-filter-label{font-weight:700;font-size:14px;margin-bottom:10px}
.t-filter-price{display:flex;align-items:center;gap:8px}
.t-filter-price input{
    width:100%;min-width:0;height:40px;padding:0 10px;border:1.5px solid var(--t-gray-200);
    border-radius:var(--t-radius-sm);font:inherit;font-size:14px;
}
.t-filter-price input:focus{outline:0;border-color:var(--t-black)}
.t-filter-price span{color:var(--t-gray-400)}
.t-filter-values{display:flex;flex-direction:column;gap:9px}
.t-filter-values.is-collapsed .t-check-extra{display:none}
.t-filter-values.is-open .t-check-extra{display:flex}
.t-filter-more{border:0;background:none;padding:0;font:600 13px/1 var(--t-font);color:var(--t-red);cursor:pointer;text-align:left;margin-top:2px}
.t-filter-reset{display:block;text-align:center;margin-top:12px;font-size:13px;color:var(--t-gray-600)}
.t-filter-overlay{position:fixed;inset:0;background:rgba(17,17,17,.4);z-index:1000;display:none}
.t-filter-overlay.is-open{display:block}

/* чекбоксы */
.t-check{display:flex;align-items:flex-start;gap:9px;cursor:pointer;font-size:14px;color:var(--t-gray-900);margin:0;line-height:1.35}
.t-check input{position:absolute;opacity:0;width:0;height:0}
.t-check-mark{
    flex:none;width:19px;height:19px;border:1.5px solid var(--t-gray-200);border-radius:5px;
    background:#fff;position:relative;transition:background .15s ease,border-color .15s ease;margin-top:1px;
}
.t-check input:checked + .t-check-mark{background:var(--t-red);border-color:var(--t-red)}
.t-check input:checked + .t-check-mark:after{
    content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;
    border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);
}
.t-check:hover .t-check-mark{border-color:var(--t-gray-400)}

/* сетка карточек в каталоге */
.t-cards-3{grid-template-columns:repeat(3,1fr)}
.t-card-art{font-size:12px;color:var(--t-gray-400);margin:-8px 0 10px}
.t-card-name{display:-webkit-box}
button.t-card-buy{border:0;cursor:pointer;font-family:var(--t-font)}
.t-cat-group{margin-bottom:34px}
.t-cat-group h2{font-size:22px}
.t-cat-group .t-sec-head h2:after{display:none}

/* пустая выдача */
.t-empty{text-align:center;padding:56px 20px;border:1px dashed var(--t-gray-200);border-radius:var(--t-radius-lg)}
.t-empty-title{font-weight:800;font-size:20px;margin-bottom:8px}
.t-empty p{color:var(--t-gray-600);max-width:460px;margin:0 auto 20px}

/* пагинация */
.t-pager{display:flex;align-items:center;gap:6px;justify-content:center;margin-top:32px;flex-wrap:wrap}
.t-pager-item{
    min-width:42px;height:42px;padding:0 12px;border-radius:var(--t-radius-sm);
    display:inline-flex;align-items:center;justify-content:center;
    font-weight:700;font-size:14px;background:var(--t-gray-50);color:var(--t-gray-900);
    transition:background .15s ease,color .15s ease;
}
.t-pager-item:hover{background:var(--t-gray-100);color:var(--t-black)}
.t-pager-item.is-active{background:var(--t-black);color:#fff}
.t-pager-dots{color:var(--t-gray-400);padding:0 4px}

/* текст категории */
.t-cat-text{margin-top:36px;padding-top:28px;border-top:1px solid var(--t-gray-200);color:var(--t-gray-600);font-size:14px;line-height:1.65}
.t-cat-text h2,.t-cat-text h3{color:var(--t-black);margin:20px 0 10px}

@media (max-width:1199px){
    .t-cat-layout{grid-template-columns:230px 1fr;gap:20px}
    .t-cards-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:991px){
    .t-cat-layout{grid-template-columns:1fr}
    .t-filter-open{display:inline-flex}
    .t-cat-side{
        position:fixed;top:0;left:0;bottom:0;width:310px;max-width:88vw;background:#fff;z-index:1001;
        transform:translateX(-100%);transition:transform .25s ease;overflow-y:auto;padding:14px;
    }
    .t-cat-side.is-open{transform:translateX(0)}
    .t-filter{position:static;border:0;padding:0}
    .t-filter-close{display:block}
    .t-sort-label{display:none}
    .t-cat-bar{gap:10px}
    .t-sort-list{gap:5px}
    .t-sort-item{padding:6px 11px;font-size:12px}
}
@media (max-width:575px){
    .t-cards-3{grid-template-columns:repeat(2,1fr);gap:10px}
    .t-cat-head h1{font-size:22px}
    .t-sort{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
    .t-sort-list{flex-wrap:nowrap}
    .t-sort-item{white-space:nowrap}
}

/* ==========================================================================
   КАРТОЧКА ТОВАРА
   ========================================================================== */
.t-item{padding:22px 0 46px}
.t-item-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin-bottom:44px}

/* галерея */
.t-item-gallery{display:flex;flex-direction:column;gap:12px}
.t-item-photo{
    position:relative;border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);
    background:#fff;padding-top:74%;overflow:hidden;
}
.t-item-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:22px}
.t-item-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.t-item-thumb{
    width:78px;height:78px;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius-sm);
    background:#fff;padding:5px;cursor:pointer;transition:border-color .15s ease;
}
.t-item-thumb img{width:100%;height:100%;object-fit:contain}
.t-item-thumb.is-active,.t-item-thumb:hover{border-color:var(--t-red)}

/* правая колонка */
.t-item-info h1{font-size:29px;margin-bottom:14px}
.t-item-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px;font-size:14px}
.t-item-art{color:var(--t-gray-600)}
.t-item-art b{color:var(--t-black)}
.t-item-stock{display:inline-flex;align-items:center;gap:7px;color:var(--t-green);font-weight:600}
.t-item-stock:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--t-green)}
.t-item-stock.is-out{color:var(--t-gray-400)}
.t-item-stock.is-out:before{background:var(--t-gray-400)}

.t-item-buy{border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:24px}
.t-item-prices{display:flex;align-items:baseline;gap:14px;margin-bottom:18px}
.t-item-price{font-weight:700;font-size:34px;color:var(--t-black);letter-spacing:-.01em}
.t-item-old{font-size:18px;color:var(--t-gray-400);text-decoration:line-through}
.t-item-actions{display:flex;gap:10px;flex-wrap:wrap}
.t-item-actions .t-btn{flex:1 1 auto}
.t-item-fav{
    flex:none;width:48px;height:48px;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius-sm);
    background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .15s ease,background .15s ease;
}
.t-item-fav svg{width:22px;height:22px;fill:none;color:var(--t-gray-600)}
.t-item-fav:hover{border-color:var(--t-red)}
.t-item-fav:hover svg,.t-item-fav.active svg{color:var(--t-red)}

.t-item-mess{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid var(--t-gray-100);font-size:14px;color:var(--t-gray-600)}
.t-item-phone{font-weight:800;color:var(--t-black)}

.t-item-notes{display:flex;flex-direction:column;gap:14px;margin-top:22px}
.t-item-note{display:flex;flex-direction:column;gap:3px;padding-left:14px;border-left:3px solid var(--t-gray-200)}
.t-item-note b{font-size:14px}
.t-item-note span{font-size:13px;color:var(--t-gray-600);line-height:1.5}

/* характеристики и описание */
.t-item-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin-bottom:44px}
.t-item-details h2{font-size:21px;margin-bottom:16px}
.t-specs{width:100%;border-collapse:collapse}
.t-specs td{padding:11px 0;border-bottom:1px solid var(--t-gray-100);font-size:14px;vertical-align:top}
.t-specs-name{color:var(--t-gray-600);width:46%}
.t-specs-val{font-weight:600;color:var(--t-black)}
.t-item-descr-body{font-size:15px;line-height:1.65;color:var(--t-gray-900)}
.t-item-descr-body img{border-radius:var(--t-radius);margin:10px 0}
.t-cards-4{grid-template-columns:repeat(4,1fr)}

@media (max-width:991px){
    .t-item-top{grid-template-columns:1fr;gap:24px;margin-bottom:32px}
    .t-item-details{grid-template-columns:1fr;gap:28px}
    .t-item-info h1{font-size:23px}
    .t-item-price{font-size:28px}
    .t-cards-4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:575px){
    .t-item-buy{padding:16px;border-radius:var(--t-radius)}
    .t-item-actions{flex-direction:column}
    .t-item-actions .t-btn{width:100%}
    .t-item-fav{width:100%}
    .t-item-thumb{width:62px;height:62px}
    .t-item-photo{padding-top:88%}
}

/* ==========================================================================
   КОРЗИНА (стилизация родной разметки движка)
   ========================================================================== */
.pageContent > .container{max-width:var(--t-container);padding:0 20px}
.jsCartPopup h1{font-size:30px!important;margin:24px 0 14px!important}

.cart_right_column .table{width:100%;border-collapse:collapse}
.cart_right_column .table td{border-top:1px solid var(--t-gray-100);padding:16px 10px;vertical-align:middle}
.cart_right_column .table tr:first-child td{border-top:0;padding-top:0}
.cart_right_column .table img{max-width:120px;border-radius:var(--t-radius-sm)}

/* чекбоксы корзины */
.cartCheckbox{
    width:22px;height:22px;border:1.5px solid var(--t-gray-200)!important;border-radius:6px;
    background:#fff!important;cursor:pointer;display:inline-block;vertical-align:middle;position:relative;
}
.cartCheckbox.active,.cartCheckbox.checked{background:var(--t-red)!important;border-color:var(--t-red)!important}
/* галочку рисуем картинкой: сборка из бордюров давала зазубрину на стыке */
.cartCheckbox.active:after,.cartCheckbox.checked:after{
    content:"";position:absolute;inset:0;width:auto;height:auto;border:0;transform:none;
    background:center/13px 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.2 5.6 5 9.4 12.8 1.6'/%3E%3C/svg%3E");
}
.cartCheckboxAllText{display:inline-block;vertical-align:middle;margin-left:9px;font-size:14px;color:var(--t-gray-600)}

/* количество */
.jsChangeCount,.cartCount a{
    width:34px;height:34px;border-radius:var(--t-radius-sm);background:var(--t-gray-100);
    display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--t-black);
}
.jsChangeCount:hover{background:var(--t-gray-200)}

/* правая колонка с итогом */
.cart_left_column,.cartTotal,.cartOrderBox{
    background:var(--t-gray-50)!important;border-radius:var(--t-radius-lg);padding:24px!important;
}
.cart_left_column .red_button,.cartTotal .red_button,
.jsCartPopup .red_button,.cartOrderSendOrder .red_button{
    background:var(--t-red)!important;border:0!important;border-radius:var(--t-radius-sm)!important;
    color:#fff!important;font-weight:700!important;height:52px;line-height:52px!important;
    box-shadow:none!important;text-align:center;transition:background .15s ease;
}
.cart_left_column .red_button:hover,.jsCartPopup .red_button:hover{background:var(--t-red-dark)!important}
.cart_left_column .red_button a,.jsCartPopup .red_button a{color:#fff!important}

/* форма оформления */
.cartOrderSendOrder input[type=text],.cartOrderSendOrder input[type=tel],
.cartOrderSendOrder input[type=email],.cartOrderSendOrder textarea,.cartOrderSendOrder select{
    height:48px;border:1.5px solid var(--t-gray-200)!important;border-radius:var(--t-radius-sm)!important;
    padding:0 14px!important;font-size:15px!important;box-shadow:none!important;background:#fff!important;
}
.cartOrderSendOrder textarea{height:auto;padding:12px 14px!important}
.cartOrderSendOrder input:focus,.cartOrderSendOrder textarea:focus,.cartOrderSendOrder select:focus{
    border-color:var(--t-black)!important;outline:0!important;
}
.cartOrderSendOrder label{font-weight:600;font-size:14px;margin-bottom:6px;display:block}
.tab_title h2,.product-title-top{border-top:0!important;font-weight:800!important}

/* кнопка оформления заказа */
.orderSumBoxButton{
    display:block!important;width:100%;height:54px;border:0!important;border-radius:var(--t-radius-sm)!important;
    background:var(--t-red)!important;color:#fff!important;font:800 16px/54px var(--t-font)!important;
    box-shadow:none!important;cursor:pointer;padding:0!important;transition:background .15s ease;
    animation:none!important;
}
.orderSumBoxButton:before,.orderSumBoxButton:after{display:none!important}
.orderSumBoxButton span{color:#fff!important;background:none!important}
.orderSumBoxButton:hover{background:var(--t-red-dark)!important}
.orderSumBox,.orderSumBoxTotal{background:var(--t-gray-50);border-radius:var(--t-radius-lg)}

/* переключатели в оформлении заказа */
.shopSelectorInput{
    border:1.5px solid var(--t-gray-200)!important;border-radius:var(--t-radius-sm)!important;
    background:#fff!important;color:var(--t-gray-900)!important;font-weight:600!important;
    box-shadow:none!important;animation:none!important;transition:border-color .15s ease,background .15s ease,color .15s ease;
    padding:13px 18px!important;
}
.shopSelectorInput:before,.shopSelectorInput:after{display:none!important}
.shopSelectorInput:hover{border-color:var(--t-gray-400)!important}
.shopSelectorInput.active{background:var(--t-black)!important;border-color:var(--t-black)!important;color:#fff!important}
.shopSelectorBox,.shopSelectorTitle{font-weight:800}
.cartOrderSendOrder h2,.cartOrderSendOrder h3{font-weight:800!important;margin:26px 0 14px!important}

/* ==========================================================================
   ПОДСКАЗКИ ПОИСКА
   ========================================================================== */
.t-suggest{
    position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;z-index:960;
    border-radius:var(--t-radius);box-shadow:var(--t-shadow-menu);padding:8px;display:none;
    max-height:70vh;overflow-y:auto;-webkit-overflow-scrolling:touch;
}
.t-suggest.is-open{display:block}
.t-suggest-group{padding:6px 0}
.t-suggest-group + .t-suggest-group{border-top:1px solid var(--t-gray-100)}
.t-suggest-title{font:800 11px/1 var(--t-font);letter-spacing:.08em;text-transform:uppercase;color:var(--t-gray-400);padding:8px 12px}
.t-suggest-row{display:block;padding:9px 12px;border-radius:var(--t-radius-sm);font-size:14px;font-weight:600}
.t-suggest-row:hover{background:var(--t-gray-50);color:var(--t-red)}
.t-suggest-item{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:var(--t-radius-sm)}
.t-suggest-item:hover{background:var(--t-gray-50)}
.t-suggest-img{flex:none;width:46px;height:46px;border:1px solid var(--t-gray-100);border-radius:6px;overflow:hidden;background:#fff}
.t-suggest-img img{width:100%;height:100%;object-fit:contain}
.t-suggest-name{flex:1 1 auto;font-size:13px;line-height:1.35;color:var(--t-gray-900);
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.t-suggest-price{flex:none;font-weight:800;font-size:14px;white-space:nowrap}
.t-suggest-all{display:block;text-align:center;padding:12px;margin-top:6px;border-top:1px solid var(--t-gray-100);
    font-weight:700;font-size:14px;color:var(--t-red)}
.t-suggest-empty{padding:20px 14px;text-align:center;color:var(--t-gray-600);font-size:14px}

/* ==========================================================================
   ОПТОВИКАМ
   ========================================================================== */
.t-opt{padding:26px 0 50px}
.t-opt-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;
    background:var(--t-black);color:#fff;border-radius:var(--t-radius-lg);padding:40px;margin-bottom:32px}
.t-opt-hero h1{color:#fff;margin-bottom:14px}
.t-opt-hero p{color:rgba(255,255,255,.65);margin:0;font-size:15px;line-height:1.6}
.t-opt-hero-facts{display:flex;flex-direction:column;gap:16px}
.t-opt-fact b{display:block;font-size:24px;font-weight:700;color:var(--t-red)}
.t-opt-fact span{font-size:13px;color:rgba(255,255,255,.6)}

.t-opt-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:36px}
.t-opt-step{background:var(--t-gray-50);border-radius:var(--t-radius);padding:22px}
.t-opt-step-num{font:800 13px/1 var(--t-font);color:var(--t-red);margin-bottom:10px}
.t-opt-step-title{font-weight:800;font-size:16px;margin-bottom:6px}
.t-opt-step-text{font-size:14px;color:var(--t-gray-600);line-height:1.55}

.t-opt-cols{display:grid;grid-template-columns:1fr 460px;gap:40px;align-items:start}
.t-opt-terms h2{margin-bottom:18px}
.t-opt-list{list-style:none;padding:0;margin:0}
.t-opt-list li{position:relative;padding:0 0 16px 26px;font-size:15px;color:var(--t-gray-600);line-height:1.6}
.t-opt-list li:before{content:"";position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:50%;background:var(--t-red)}
.t-opt-list b{color:var(--t-black)}

.t-opt-form-box{border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:28px}
.t-opt-form-box h2{font-size:21px;margin-bottom:18px}
.t-field{margin-bottom:14px}
.t-field label{display:block;font-weight:600;font-size:13px;margin-bottom:6px}
.t-field label i{color:var(--t-red);font-style:normal}
.t-field input,.t-field textarea{
    width:100%;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius-sm);
    padding:12px 14px;font:inherit;font-size:15px;background:#fff;
}
.t-field input:focus,.t-field textarea:focus{outline:0;border-color:var(--t-black)}
.t-field input.tmpInputError,.t-field textarea.tmpInputError{border-color:var(--t-red)}
.t-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.t-check-agree{margin:6px 0 16px;font-size:13px;color:var(--t-gray-600)}
.t-check-agree a{text-decoration:underline}
.t-form-note{margin-top:12px;font-size:13px;color:var(--t-gray-600);text-align:center}
.t-form-note a{text-decoration:underline}

.t-opt-state{background:var(--t-gray-50);border-radius:var(--t-radius);padding:24px;text-align:center}
.t-opt-state.is-ok{background:#F1FAF4}
.t-opt-state-title{font-weight:800;font-size:18px;margin-bottom:8px}
.t-opt-state p{color:var(--t-gray-600);font-size:14px;margin:0 0 16px}
.t-item-level{font-size:13px;color:var(--t-red);font-weight:700;margin-left:8px}

@media (max-width:991px){
    .t-opt-hero{grid-template-columns:1fr;padding:26px;gap:24px}
    .t-opt-hero-facts{flex-direction:row;flex-wrap:wrap;gap:20px}
    .t-opt-steps{grid-template-columns:1fr}
    .t-opt-cols{grid-template-columns:1fr;gap:28px}
}
@media (max-width:575px){
    .t-opt-form-box{padding:18px}
    .t-field-row{grid-template-columns:1fr}
}

/* ==========================================================================
   ОТЗЫВЫ
   ========================================================================== */
.t-reviews{padding:26px 0 50px}
.t-rev-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;flex-wrap:wrap;margin-bottom:26px}
.t-rev-sub{color:var(--t-gray-600);max-width:560px;margin:10px 0 0;font-size:15px}
.t-rev-total{text-align:center;flex:none;background:var(--t-gray-50);border-radius:var(--t-radius-lg);padding:20px 28px}
.t-rev-total-num{font-weight:700;font-size:40px;line-height:1;letter-spacing:-.015em}
.t-rev-total-count{font-size:13px;color:var(--t-gray-600);margin-top:8px}

.t-stars{display:inline-flex;gap:3px;vertical-align:middle}
.t-star{width:15px;height:15px;background:var(--t-gray-200);display:inline-block;
    clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.t-star.is-on{background:#FFB400}

.t-rev-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:26px}
.t-rev-card{display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid var(--t-gray-200);
    border-radius:var(--t-radius);transition:box-shadow .15s ease,transform .12s ease}
.t-rev-card:hover{box-shadow:var(--t-shadow-hover);transform:translateY(-2px)}
.t-rev-card-dot{width:10px;height:10px;border-radius:50%;flex:none}
.t-rev-card-body{flex:1 1 auto;min-width:0}
.t-rev-card-name{display:block;font-weight:700;font-size:15px;color:var(--t-black)}
.t-rev-card-count{display:block;font-size:12px;color:var(--t-gray-400)}
.t-rev-card-rating{flex:none;font-weight:800;font-size:20px}

.t-rev-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.t-rev-tab{height:40px;padding:0 18px;border:0;border-radius:100px;background:var(--t-gray-100);
    font:700 14px/40px var(--t-font);color:var(--t-gray-600);cursor:pointer;transition:background .15s ease,color .15s ease}
.t-rev-tab span{opacity:.6;font-weight:600}
.t-rev-tab.is-active{background:var(--t-black);color:#fff}

.t-rev-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.t-rev-item{border:1px solid var(--t-gray-200);border-radius:var(--t-radius);padding:20px}
.t-rev-hidden{display:none}
.t-rev-item-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.t-rev-avatar{flex:none;width:42px;height:42px;border-radius:50%;color:#fff;display:flex;align-items:center;
    justify-content:center;font-weight:800;font-size:17px}
.t-rev-author{flex:1 1 auto;min-width:0}
.t-rev-author-name{font-weight:700;font-size:15px}
.t-rev-meta{font-size:12px;color:var(--t-gray-400);display:flex;gap:10px;align-items:center}
.t-rev-src{font-weight:700}
.t-rev-text{font-size:14px;line-height:1.6;color:var(--t-gray-900)}
.t-rev-answer{margin-top:14px;padding:14px;background:var(--t-gray-50);border-radius:var(--t-radius-sm);font-size:13px;line-height:1.55;color:var(--t-gray-600)}
.t-rev-answer b{display:block;color:var(--t-black);margin-bottom:4px;font-size:13px}
.t-rev-more{margin:26px auto 0;display:flex}

/* блок отзывов на главной */
.t-rev-home{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.t-rev-home .t-rev-item{display:flex;flex-direction:column}
.t-rev-home .t-rev-text{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}

@media (max-width:991px){
    .t-rev-list,.t-rev-home{grid-template-columns:1fr}
    .t-rev-total{padding:16px 20px}
    .t-rev-total-num{font-size:32px}
}

/* ==========================================================================
   СТАТЬИ
   ========================================================================== */
.t-blog{padding:26px 0 50px}
.t-blog-head{margin-bottom:28px}
.t-blog-head p{color:var(--t-gray-600);max-width:640px;margin:10px 0 0}
.t-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.t-blog-card{display:block}
.t-blog-img{position:relative;padding-top:60%;border-radius:var(--t-radius);overflow:hidden;background:var(--t-gray-100)}
.t-blog-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.t-blog-card:hover .t-blog-img img{transform:scale(1.04)}
.t-blog-body{padding-top:14px}
.t-blog-date{font-size:12px;color:var(--t-gray-400);margin-bottom:6px}
.t-blog-name{font-weight:700;font-size:17px;line-height:1.35}
.t-blog-card:hover .t-blog-name{color:var(--t-red)}

.t-article-page{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;padding:26px 0 50px;align-items:start}
.t-article-body h1{font-size:32px;margin-bottom:10px}
.t-article-date{color:var(--t-gray-400);font-size:13px;margin-bottom:20px}
.t-article-cover{border-radius:var(--t-radius-lg);overflow:hidden;margin-bottom:24px}
.t-article-cover img{width:100%;display:block}
.t-article-text{font-size:16px;line-height:1.7;color:var(--t-gray-900)}
.t-article-text h2{font-size:23px;margin:30px 0 12px}
.t-article-text h3{font-size:19px;margin:24px 0 10px}
.t-article-text p{margin:0 0 16px}
.t-article-text ul,.t-article-text ol{margin:0 0 16px;padding-left:22px}
.t-article-text li{margin-bottom:8px}
.t-article-text img{border-radius:var(--t-radius);margin:16px 0}
.t-article-text a{color:var(--t-red);text-decoration:underline}

.t-article-side{position:sticky;top:16px;display:flex;flex-direction:column;gap:20px}
.t-article-cta{background:var(--t-gray-50);border-radius:var(--t-radius-lg);padding:24px;text-align:center}
.t-article-cta-title{font-weight:800;font-size:17px;margin-bottom:8px}
.t-article-cta p{font-size:14px;color:var(--t-gray-600);margin:0 0 16px}
.t-article-other{border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:20px}
.t-article-other-title{font:800 12px/1 var(--t-font);letter-spacing:.08em;text-transform:uppercase;color:var(--t-gray-400);margin-bottom:14px}
.t-article-other-item{display:block;padding:10px 0;border-top:1px solid var(--t-gray-100);font-size:14px;font-weight:600;line-height:1.4}
.t-article-other-item:first-of-type{border-top:0;padding-top:0}

@media (max-width:991px){
    .t-blog-grid{grid-template-columns:repeat(2,1fr)}
    .t-article-page{grid-template-columns:1fr;gap:28px}
    .t-article-side{position:static}
    .t-article-body h1{font-size:24px}
}
@media (max-width:575px){
    .t-blog-grid{grid-template-columns:1fr}
}

/* ==========================================================================
   ТЕКСТОВЫЕ СТРАНИЦЫ
   ========================================================================== */
.pageContent .container{max-width:var(--t-container);margin:0 auto;padding:0 20px}
.pageContent h3.text-uppercase{font-size:30px!important;font-weight:800!important;text-transform:none!important;margin:24px 0 18px!important;letter-spacing:-.02em}
.text-description{font-size:16px;line-height:1.7;color:var(--t-gray-900);max-width:900px}
.text-description h2{font-size:22px;margin:28px 0 12px}
.text-description h3{font-size:18px;margin:22px 0 10px}
.text-description p{margin:0 0 14px}
.text-description ul,.text-description ol{margin:0 0 16px;padding-left:22px}
.text-description li{margin-bottom:8px}
.text-description a{color:var(--t-red);text-decoration:underline}
.text-description table{width:100%;border-collapse:collapse;margin:16px 0}
.text-description td,.text-description th{border:1px solid var(--t-gray-200);padding:10px 12px;font-size:14px}
.top_page_nav{padding:18px 0;font-size:13px;color:var(--t-gray-400)}
.top_page_nav a{color:var(--t-gray-400)}
.top_page_nav a:hover{color:var(--t-red)}
.top_page_nav .fa-angle-right{margin:0 6px;opacity:.5}

/* ==========================================================================
   СТРАНИЦА ОПЛАТЫ
   ========================================================================== */
.t-pay{padding:32px 0 60px;max-width:920px}
.t-pay-card{border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:32px;box-shadow:var(--t-shadow)}
.t-pay-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.t-pay-label{font:800 11px/1 var(--t-font);letter-spacing:.1em;text-transform:uppercase;color:var(--t-gray-400);margin-bottom:8px}
.t-pay-head h1{font-size:26px}
.t-pay-customer{margin-top:8px;color:var(--t-gray-600);font-size:14px}
.t-pay-status{flex:none;padding:8px 14px;border-radius:100px;background:var(--t-red-soft);color:var(--t-red);
    font-weight:700;font-size:13px}
.t-pay-status.is-paid{background:#E8F7EE;color:var(--t-green)}

.t-pay-amount{display:flex;align-items:baseline;justify-content:space-between;gap:16px;
    padding:20px 24px;background:var(--t-black);border-radius:var(--t-radius);margin-bottom:26px}
.t-pay-amount-label{color:rgba(255,255,255,.6);font-size:14px}
.t-pay-amount-value{color:#fff;font-weight:700;font-size:32px;letter-spacing:-.01em}

.t-pay-grid{display:grid;grid-template-columns:270px 1fr;gap:30px;align-items:start}
.t-pay-qr-box{text-align:center}
.t-pay-qr{display:inline-block;padding:14px;border:1px solid var(--t-gray-200);border-radius:var(--t-radius);background:#fff}
.t-pay-qr img,.t-pay-qr canvas{display:block}
.t-pay-qr-hint{margin-top:12px;font-size:12px;line-height:1.5;color:var(--t-gray-600)}
.t-pay-qr-empty{padding:30px 20px;border:1px dashed var(--t-gray-200);border-radius:var(--t-radius);
    font-size:13px;color:var(--t-gray-600)}
.t-pay-req-title{font-weight:800;font-size:15px;margin-bottom:12px}
.t-pay-table{width:100%;border-collapse:collapse;margin-bottom:14px}
.t-pay-table td{padding:9px 0;border-bottom:1px solid var(--t-gray-100);font-size:14px;vertical-align:top}
.t-pay-table td:first-child{color:var(--t-gray-600);width:38%}
.t-pay-order{margin-top:26px;padding-top:22px;border-top:1px solid var(--t-gray-200)}
.t-pay-order-body{font-size:14px;color:var(--t-gray-900);overflow-x:auto}
.t-pay-order-body table{width:100%;border-collapse:collapse}
.t-pay-order-body td{padding:8px;border-bottom:1px solid var(--t-gray-100)}
.t-pay-note{margin-top:20px;padding:16px;background:var(--t-gray-50);border-radius:var(--t-radius);font-size:14px;color:var(--t-gray-600)}
.t-pay-done{padding:22px;background:#E8F7EE;border-radius:var(--t-radius);color:#0F7A3D;font-size:15px}
.t-pay-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
    margin-top:28px;padding-top:22px;border-top:1px solid var(--t-gray-200);font-size:14px;color:var(--t-gray-600)}
.t-pay-legal{margin-top:18px;font-size:12px;color:var(--t-gray-400);text-align:center}
.t-pay-legal a{text-decoration:underline}

@media (max-width:767px){
    .t-pay-card{padding:20px}
    .t-pay-grid{grid-template-columns:1fr;gap:22px}
    .t-pay-amount{flex-direction:column;align-items:flex-start;gap:4px;padding:16px}
    .t-pay-amount-value{font-size:26px}
    .t-pay-head h1{font-size:20px}
}

/* ==========================================================================
   КАБИНЕТ: ОПТОВЫЙ БЛОК
   ========================================================================== */
.t-cab-opt{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
    background:var(--t-gray-50);border-radius:var(--t-radius-lg);padding:24px 28px;margin:20px 0 26px}
.t-cab-opt.is-active{background:#F1FAF4}
.t-cab-opt-title{font-weight:800;font-size:19px;margin-bottom:6px}
.t-cab-opt-text{color:var(--t-gray-600);font-size:14px;line-height:1.55;max-width:640px}
.t-cab-opt-text b{color:var(--t-black)}
.t-cab-opt-actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:767px){
    .t-cab-opt{padding:18px;flex-direction:column;align-items:flex-start}
    .t-cab-opt-actions{width:100%}
    .t-cab-opt-actions .t-btn{flex:1 1 auto}
}

/* у Manrope узкий пробел — в ценах отделяем символ рубля */
.t-item-price,.t-card-price,.t-card-old,.t-item-old,.t-pay-amount-value,.t-footer-phone,.t-headphone a{word-spacing:.12em}

/* ---------- плитки категорий и марок с картинками ---------- */
.t-tile{
    display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--t-gray-50);
    border-radius:var(--t-radius);transition:background .15s ease,transform .12s ease,box-shadow .15s ease;
}
.t-tile-img{
    flex:none;width:56px;height:56px;border-radius:var(--t-radius-sm);background:#fff;
    display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.t-tile-img img{width:100%;height:100%;object-fit:contain;padding:5px}
.t-tile-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.t-tile-name{font-weight:600;font-size:15px;color:var(--t-black);line-height:1.25}
.t-tile-count{font-size:12px;color:var(--t-gray-400);font-weight:500}

.t-brand{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
    height:auto;padding:14px 10px;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius);
    transition:border-color .15s ease,transform .12s ease,box-shadow .15s ease;
}
.t-brand:hover{border-color:var(--t-black);transform:translateY(-2px);box-shadow:var(--t-shadow)}
.t-brand-img{width:100%;height:62px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.t-brand-img img{max-width:100%;max-height:100%;object-fit:contain}
.t-brand-name{font-weight:600;font-size:13px;color:var(--t-gray-900);text-align:center;line-height:1.2}
.t-brand:hover .t-brand-name{color:var(--t-black)}

@media (max-width:767px){
    .t-tile{padding:12px;gap:10px;flex-direction:row;align-items:center}
    .t-tile-img{width:44px;height:44px}
    .t-tile-name{font-size:13px}
    .t-brand-img{height:48px}
    .t-brand-name{font-size:12px}
}

/* ---------- иконки в фактах и преимуществах ---------- */
.t-hero-fact{display:flex;align-items:center;gap:11px}
.t-fact-ico{flex:none;width:26px;height:26px;color:var(--t-black);stroke:currentColor;fill:none}
.t-fact-text{display:flex;flex-direction:column;line-height:1.25}
.t-adv-ico{width:32px;height:32px;color:var(--t-red);stroke:currentColor;fill:none;margin-bottom:14px;display:block}

/* ---------- выпадающий каталог: марки слева, подменю справа ---------- */
.t-mega-brands{display:grid;grid-template-columns:270px 1fr;gap:0;min-height:420px}
.t-mega-list{border-right:1px solid var(--t-gray-200);padding-right:10px;max-height:min(520px, calc(100vh - 300px));overflow-y:auto}
.t-mega-brand{
    display:flex;align-items:center;justify-content:space-between;gap:10px;
    padding:9px 14px;border-radius:var(--t-radius-sm);font-size:14px;font-weight:500;color:var(--t-gray-900);
    transition:background .12s ease,color .12s ease;
}
.t-mega-brand .t-mega-arrow{width:14px;height:14px;opacity:0;transition:opacity .12s ease;flex:none}
.t-mega-brand:hover,.t-mega-brand.is-active{background:var(--t-gray-50);color:var(--t-red);font-weight:600}
.t-mega-brand.is-active .t-mega-arrow{opacity:1}

.t-mega-sub{padding-left:30px;min-width:0}
.t-mega-subpane{display:none}
.t-mega-subpane.is-active{display:block}
.t-mega-subbox{min-height:420px}
.t-mega-subbox.is-loading{opacity:.5}
.t-mega-sub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}
.t-mega-sub-title{font-weight:700;font-size:20px;color:var(--t-black);margin-bottom:4px}
.t-mega-sub-all{font-size:13px;font-weight:600;color:var(--t-red)}
.t-mega-pic{
    flex:none;width:190px;height:110px;border-radius:var(--t-radius);overflow:hidden;background:var(--t-gray-50);
    display:flex;align-items:center;justify-content:center;
}
.t-mega-pic img{max-width:100%;max-height:100%;object-fit:contain}
.t-mega-pic-logo{width:132px;height:78px;background:#fff;border:1px solid var(--t-gray-200);padding:10px}
.t-mega-models{
    display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
    max-height:min(380px, calc(100vh - 430px));overflow-y:auto;padding:2px 8px 2px 2px;
}
.t-mega-model{
    display:flex;flex-direction:column;gap:8px;padding:10px;background:#fff;
    border:1px solid var(--t-gray-200);border-radius:var(--t-radius);color:var(--t-gray-900);
    transition:border-color .15s ease,transform .12s ease,box-shadow .15s ease;
}
.t-mega-model:hover{border-color:var(--t-black);transform:translateY(-2px);box-shadow:var(--t-shadow)}
.t-mega-model-pic{
    display:flex;align-items:center;justify-content:center;height:92px;
    background:var(--t-gray-50);border-radius:10px;overflow:hidden;
}
.t-mega-model-pic img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:darken}
.t-mega-model-name{font:600 13px/1.3 var(--t-font);text-align:center}
.t-mega-model:hover .t-mega-model-name{color:var(--t-red)}

/* типы товаров — три столбца */
.t-mega-types{columns:3;column-gap:34px}
.t-mega-types a{
    display:flex;align-items:baseline;justify-content:space-between;gap:12px;
    break-inside:avoid;padding:7px 0;font-size:14px;color:var(--t-gray-900);
}
.t-mega-types a:hover .t-mega-type-name{color:var(--t-red)}
.t-mega-type-cnt{font-size:12px;color:var(--t-gray-400);font-weight:600;flex:none}

/* полосы прокрутки внутри меню */
.t-mega-list::-webkit-scrollbar,.t-mega-models::-webkit-scrollbar{width:6px}
.t-mega-list::-webkit-scrollbar-thumb,.t-mega-models::-webkit-scrollbar-thumb{background:var(--t-gray-200);border-radius:3px}

@media (max-width:1199px){
    .t-mega-brands{grid-template-columns:230px 1fr}
    .t-mega-models{grid-template-columns:repeat(3,1fr)}
    .t-mega-types{columns:2}
}

/* ==========================================================================
   ТИПОГРАФИКА ТЕКСТОВЫХ СТРАНИЦ (переопределяет ранние правила)
   ========================================================================== */
.text-description{font-size:16px;line-height:1.75;color:var(--t-ink);max-width:860px}
.text-description p{margin:0 0 16px;color:var(--t-ink)}
.text-description h2{font-size:24px;font-weight:700;color:var(--t-black);margin:34px 0 14px;letter-spacing:-.015em}
.text-description h2:first-child{margin-top:0}
.text-description h3{font-size:18px;font-weight:700;color:var(--t-black);margin:26px 0 10px}
.text-description b,.text-description strong{font-weight:700;color:var(--t-black)}
.text-description a{color:var(--t-red);text-decoration:none;border-bottom:1px solid rgba(229,50,45,.35)}
.text-description a:hover{border-bottom-color:var(--t-red)}

/* списки: свои маркеры вместо браузерных */
.text-description ul{list-style:none;margin:0 0 18px;padding:0}
.text-description ul li{position:relative;padding:0 0 0 26px;margin-bottom:10px;color:var(--t-ink)}
.text-description ul li:before{
    content:"";position:absolute;left:2px;top:11px;width:7px;height:7px;border-radius:50%;
    background:var(--t-red);
}
.text-description ol{list-style:none;counter-reset:t59li;margin:0 0 18px;padding:0}
.text-description ol li{position:relative;padding:0 0 0 34px;margin-bottom:10px;counter-increment:t59li;color:var(--t-ink)}
.text-description ol li:before{
    content:counter(t59li);position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%;
    background:var(--t-black);color:#fff;font:700 12px/22px var(--t-font);text-align:center;
}
.text-description li b{color:var(--t-black)}

.text-description table{width:100%;border-collapse:collapse;margin:18px 0;font-size:15px}
.text-description th{background:var(--t-gray-50);font-weight:700;text-align:left}
.text-description td,.text-description th{border:1px solid var(--t-gray-200);padding:11px 14px;color:var(--t-ink)}

/* блоки внутри текстовых страниц */
.t-note{
    display:flex;gap:14px;padding:18px 20px;background:var(--t-gray-50);border-radius:var(--t-radius);
    margin:0 0 18px;font-size:15px;line-height:1.6;
}
.t-note-accent{background:var(--t-red-soft)}
.t-note b{display:block;margin-bottom:4px}
.t-cards-info{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 24px}
.t-card-info{border:1px solid var(--t-gray-200);border-radius:var(--t-radius);padding:20px}
.t-card-info-title{font-weight:700;font-size:16px;margin-bottom:8px;color:var(--t-black)}
.t-card-info p{font-size:14px;color:var(--t-gray-600);margin:0;line-height:1.6}
.t-facts-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0 0 28px}
.t-fact-box{background:var(--t-gray-50);border-radius:var(--t-radius);padding:20px}
.t-fact-box b{display:block;font-size:26px;font-weight:700;color:var(--t-black);letter-spacing:-.02em;margin-bottom:4px}
.t-fact-box span{font-size:13px;color:var(--t-gray-600);line-height:1.45;display:block}
.t-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 24px}
.t-contact-card{background:#fff;border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:24px}
.t-contact-card h3{margin-top:0}
.t-contact-line{display:flex;gap:10px;margin-bottom:10px;font-size:15px}
.t-contact-line span:first-child{color:var(--t-gray-400);min-width:96px;flex:none}
.t-contact-line a{border-bottom:0}
.t-contact-phone{font-size:22px;font-weight:700;color:var(--t-black);display:inline-block;margin-bottom:6px}

@media (max-width:991px){
    .t-cards-info,.t-facts-row{grid-template-columns:repeat(2,1fr)}
    .t-contact-grid{grid-template-columns:1fr}
}
@media (max-width:575px){
    .t-cards-info,.t-facts-row{grid-template-columns:1fr}
    .text-description{font-size:15px}
    .pageContent h3.text-uppercase{font-size:23px!important}
}

/* плитки марок и категорий — на белой подложке */
.t-brand{background:#fff}
.t-brand:hover{background:#fff}
.t-tile{background:#fff;border:1px solid var(--t-gray-200)}
.t-tile:hover{background:#fff;border-color:transparent}

/* категории товаров на главной — без картинок, текстом */
.t-tile{padding:16px 18px}
.t-tile-text{width:100%}
.t-tile-name{font-size:15px}
.t-tile-count{font-size:12px}

/* шапка подменю каталога: картинка слева, справа название и ссылка */
.t-mega-sub-head{display:flex;align-items:center;justify-content:flex-start;gap:18px;margin-bottom:20px}
.t-mega-pic{
    flex:none;width:150px;height:88px;background:none;border-radius:0;
    display:flex;align-items:center;justify-content:center;
}
.t-mega-pic img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.t-mega-sub-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.t-mega-sub-title{font-weight:700;font-size:21px;color:var(--t-black);margin:0;line-height:1.2}
.t-mega-sub-all{font-size:13px;font-weight:600;color:var(--t-red);line-height:1.3}
.t-mega-sub-all:hover{color:var(--t-red-dark)}

/* ---------- окно «товар добавлен» ---------- */
.t-added{position:fixed;inset:0;background:rgba(17,17,17,.45);z-index:1300;display:none;align-items:center;justify-content:center;padding:20px}
.t-added.is-open{display:flex}
.t-added-win{position:relative;width:100%;max-width:440px;background:#fff;border-radius:var(--t-radius-lg);
    box-shadow:var(--t-shadow-menu);padding:28px}
.t-added-close{position:absolute;top:10px;right:14px;border:0;background:none;font-size:26px;line-height:1;color:var(--t-gray-400);cursor:pointer}
.t-added-close:hover{color:var(--t-black)}
.t-added-title{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;color:var(--t-black);margin-bottom:8px}
.t-added-ico{width:24px;height:24px;color:var(--t-green);flex:none}
.t-added-name{font-size:14px;color:var(--t-gray-600);line-height:1.5;margin-bottom:22px}
.t-added-actions{display:flex;gap:10px}
.t-added-actions .t-btn{flex:1 1 0}
@media (max-width:575px){
    .t-added-win{padding:22px 18px}
    .t-added-actions{flex-direction:column}
}

/* ---------- корзина: выравнивание и пропорции ---------- */
.cart_right_column .table td{vertical-align:middle}
.jsChangeCount,.cartCount a{vertical-align:middle}
.cartCount,.cart_count_box{display:flex;align-items:center;justify-content:center;gap:6px}
.cartCount input,.cart_count_box input{
    width:44px;height:34px;text-align:center;border:1px solid var(--t-gray-200);border-radius:6px;
    font:600 14px/1 var(--t-font);
}
.orderSumBox,.cart_left_column{position:sticky;top:16px}
.orderSumBoxButton{margin:14px 0 0!important}
.cart_right_column{width:100%!important;max-width:100%!important}

/* левая колонка со списком уже, правая с итогом шире */
@media (min-width:992px){
    .jsCartPopup .row{display:flex;align-items:flex-start;gap:26px}
    .jsCartPopup .row > .col-lg-9{flex:1 1 auto;width:auto!important;max-width:none!important}
    .jsCartPopup .row > .col-lg-3{flex:0 0 380px;width:380px!important;max-width:380px!important}
}

/* ---------- строка товара в корзине ---------- */
.cart_right_column .table{table-layout:auto}
.cart_right_column .table td{padding:18px 12px;border-top:1px solid var(--t-gray-200);vertical-align:middle}
.product_image_cart{
    width:104px!important;height:104px!important;border:1px solid var(--t-gray-200);border-radius:var(--t-radius-sm);
    background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;
    background-color:#fff;
}
.cart_right_column .table td:nth-child(2){width:130px!important}
.cart_right_column .table td:nth-child(3){padding-left:4px}
.cart_right_column .table td:nth-child(3) a,
.cart_right_column .table td:nth-child(3) .product_name{font-weight:600;font-size:15px;line-height:1.4;color:var(--t-black)}

/* цена, количество и удаление — одной колонкой справа */
.cart_right_column .table td.text-right{width:230px;text-align:right}
.priceSumCart{font-weight:700;font-size:19px;color:var(--t-black);margin-bottom:10px;white-space:nowrap}
.original_price{font-size:13px;color:var(--t-gray-400);text-decoration:line-through;margin-bottom:2px}
.quantity{display:flex;justify-content:flex-end;margin:0 0 8px!important}
.quantity_selector{
    display:inline-flex!important;align-items:center;gap:0;border:1px solid var(--t-gray-200);
    border-radius:var(--t-radius-sm);overflow:hidden;background:#fff;
}
.quantity_selector .minus,.quantity_selector .plus{
    width:36px;height:36px;display:flex!important;align-items:center;justify-content:center;
    cursor:pointer;color:var(--t-gray-900);background:var(--t-gray-50);transition:background .15s ease;
}
.quantity_selector .minus:hover,.quantity_selector .plus:hover{background:var(--t-gray-200)}
.quantity_selector .quantity_value{
    min-width:46px;height:36px;display:flex!important;align-items:center;justify-content:center;
    font-weight:700;font-size:15px;color:var(--t-black);outline:none;
}
.removeCartBtn{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--t-gray-400)}
.removeCartBtn:hover{color:var(--t-red)}

/* блок итога */
.orderSumBox{background:var(--t-gray-50);border-radius:var(--t-radius-lg);padding:24px}
.orderSumBoxTitle{font-weight:700;font-size:19px;color:var(--t-black);margin-bottom:12px}
.orderSumBoxText{font-size:14px;color:var(--t-gray-600);margin-bottom:6px}
.orderSumBoxText2{font-size:14px;color:var(--t-gray-600);margin-top:10px}
.orderSumBoxPrice,.orderSumBoxText2 b{font-weight:700;font-size:24px;color:var(--t-black)}

@media (max-width:991px){
    .cart_right_column .table td{padding:12px 8px}
    .product_image_cart{width:76px!important;height:76px!important}
    .cart_right_column .table td:nth-child(2){width:92px!important}
    .cart_right_column .table td.text-right{width:150px}
    .priceSumCart{font-size:16px}
}

/* ---------- счётчик количества в корзине: единый блок без зазоров ---------- */
.quantity{display:flex;justify-content:flex-end;margin:0 0 10px!important}
.quantity_selector{
    display:inline-flex!important;align-items:stretch;gap:0!important;
    border:1px solid var(--t-gray-200)!important;border-radius:var(--t-radius-sm)!important;
    overflow:hidden;background:#fff!important;font-size:0;line-height:0;padding:0!important;margin:0!important;
    box-shadow:none!important;height:38px;
}
.quantity_selector > *{margin:0!important;border-radius:0!important;box-shadow:none!important;float:none!important}
.quantity_selector .minus,
.quantity_selector .plus{
    width:38px;height:38px;display:inline-flex!important;align-items:center;justify-content:center;
    background:var(--t-gray-50)!important;color:var(--t-black)!important;cursor:pointer;
    border:0!important;transition:background .15s ease;user-select:none;
}
.quantity_selector .minus{border-right:1px solid var(--t-gray-200)!important}
.quantity_selector .plus{border-left:1px solid var(--t-gray-200)!important}
.quantity_selector .minus:hover,.quantity_selector .plus:hover{background:var(--t-gray-200)!important}
.quantity_selector .minus i,.quantity_selector .plus i{
    font-size:12px;line-height:1;color:var(--t-black)!important;
}
.quantity_selector .quantity_value{
    min-width:52px;height:38px;display:inline-flex!important;align-items:center;justify-content:center;
    font:700 15px/1 var(--t-font)!important;color:var(--t-black)!important;background:#fff!important;
    outline:none;border:0!important;padding:0 6px!important;
}


/* избранное */
.t-fav{padding:26px 0 60px}
.t-fav .t-card{position:relative}
.t-card-fav{
    position:absolute;top:10px;right:10px;z-index:3;width:36px;height:36px;
    border:1px solid var(--t-gray-200);border-radius:var(--t-radius-sm);background:#fff;
    cursor:pointer;display:flex;align-items:center;justify-content:center;
    transition:border-color .15s ease,color .15s ease;
}
.t-card-fav svg{width:18px;height:18px;fill:none;color:var(--t-gray-400)}
.t-card-fav.active svg{color:var(--t-red)}
.t-card-fav:hover{border-color:var(--t-red)}
.t-card-fav:hover svg{color:var(--t-red)}

.t-fav-empty{
    max-width:560px;margin:8px auto 40px;text-align:center;background:#fff;
    border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:46px 34px;
}
.t-fav-empty svg{width:54px;height:54px;fill:none;color:var(--t-gray-200);margin-bottom:16px}
.t-fav-empty-title{font-weight:800;font-size:20px;margin-bottom:8px;color:var(--t-black)}
.t-fav-empty p{color:var(--t-gray-600);font-size:15px;line-height:1.6;margin:0 0 24px}

@media (max-width:640px){
    .t-fav-empty{padding:34px 20px;margin-bottom:28px}
    .t-fav-empty svg{width:44px;height:44px}
    .t-fav-empty-title{font-size:18px}
    .t-card-fav{width:32px;height:32px;top:8px;right:8px}
    .t-card-fav svg{width:16px;height:16px}
}


/* просмотр фото во весь экран */
.t-item-photo{cursor:zoom-in}
.t-item-photo::after{
    content:"";position:absolute;right:12px;bottom:12px;z-index:2;width:38px;height:38px;
    border:1px solid var(--t-gray-200);border-radius:var(--t-radius-sm);
    background:#fff center/20px 20px no-repeat;
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M15.6 15.6 20 20M11 8.6v4.8M8.6 11h4.8'/%3E%3C/svg%3E");
    pointer-events:none;opacity:.92;transition:opacity .15s ease,border-color .15s ease;
}
.t-item-photo:hover::after{opacity:1;border-color:var(--t-black)}

.t-lb{
    position:fixed;inset:0;z-index:1400;display:none;background:rgba(17,17,17,.93);
    touch-action:none;overscroll-behavior:contain;
    -webkit-user-select:none;user-select:none;
}
.t-lb.is-open{display:block}
.t-lb-stage{
    position:absolute;inset:64px 76px;display:flex;align-items:center;justify-content:center;
    overflow:hidden;touch-action:none;
}
.t-lb-img{
    max-width:100%;max-height:100%;display:block;transform-origin:center center;
    cursor:zoom-in;-webkit-user-drag:none;user-drag:none;
}
.t-lb.is-zoomed .t-lb-img{cursor:grab}
.t-lb.is-zoomed .t-lb-img:active{cursor:grabbing}

.t-lb-btn{
    position:absolute;z-index:2;width:52px;height:52px;padding:0;border:0;border-radius:50%;
    background:rgba(255,255,255,.10);color:#fff;cursor:pointer;
    display:flex;align-items:center;justify-content:center;transition:background .15s ease;
}
.t-lb-btn svg{width:24px;height:24px}
.t-lb-btn:hover{background:rgba(255,255,255,.22)}
.t-lb-close{top:12px;right:12px}
.t-lb-nav{top:50%;margin-top:-26px}
.t-lb-prev{left:12px}
.t-lb-next{right:12px}

.t-lb-counter{
    position:absolute;top:26px;left:0;right:0;z-index:1;text-align:center;
    color:rgba(255,255,255,.75);font:600 14px/1 var(--t-font);
}
.t-lb-hint{
    position:absolute;left:0;right:0;bottom:20px;z-index:1;text-align:center;padding:0 20px;
    color:rgba(255,255,255,.45);font-size:13px;
}
.t-lb-hint-t{display:none}
@media (hover:none){
    .t-lb-hint-d{display:none}
    .t-lb-hint-t{display:inline}
}

@media (max-width:900px){
    .t-lb-stage{inset:60px 12px 96px}
    .t-lb-nav{top:auto;bottom:16px;margin-top:0}
    .t-lb-prev{left:calc(50% - 64px)}
    .t-lb-next{right:calc(50% - 64px)}
    .t-lb-counter{top:22px}
    .t-lb-hint{bottom:80px;font-size:12px}
}
@media (max-width:640px){
    .t-item-photo::after{right:8px;bottom:8px;width:34px;height:34px;background-size:18px 18px}
}


/* ---------- корзина: список товаров ---------- */
.t-cart{padding:6px 0 60px}
.t-cart-head{margin:0 0 22px}
.t-cart-head h1{margin:0}
.t-cart-back{display:inline-block;margin-bottom:8px;font-size:14px;color:var(--t-gray-600)}
.t-cart-back:hover{color:var(--t-red)}

.t-cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}

.t-cart-list{background:#fff;border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:0 22px}
.t-cart-tools{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    padding:16px 0;border-bottom:1px solid var(--t-gray-100);
}
.t-cart-selall{display:flex;align-items:center;gap:0;cursor:pointer}
.t-cart-clear{font-size:14px;color:var(--t-gray-400)}
.t-cart-clear:hover{color:var(--t-red)}

.t-cart-group{
    display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 0;
    font:700 13px/1.3 var(--t-font);text-transform:uppercase;letter-spacing:.02em;color:var(--t-red);
}
.t-cart-group a{font-size:13px;text-transform:none;letter-spacing:0;color:var(--t-gray-400)}
.t-cart-group a:hover{color:var(--t-red)}

/* строка товара: всё в одну линию */
.t-cart-row{
    display:grid;grid-template-columns:22px 80px minmax(0,1fr) auto auto 40px;
    align-items:center;column-gap:18px;padding:12px 0;border-bottom:1px solid var(--t-gray-100);
}
.t-cart-row:last-child{border-bottom:0}

.t-cart-pic{
    display:block;width:80px;height:80px;padding:5px;background:#fff;
    border:1px solid var(--t-gray-200);border-radius:var(--t-radius-sm);
}
.t-cart-pic img{width:100%;height:100%;object-fit:contain;display:block}

.t-cart-info{min-width:0}
.t-cart-name{display:block;font-weight:600;font-size:15px;line-height:1.4;color:var(--t-black)}
.t-cart-name:hover{color:var(--t-red)}
.t-cart-opts{margin-top:6px;display:flex;flex-wrap:wrap;gap:2px 14px;font-size:13px;color:var(--t-gray-600)}

.t-cart-sum{text-align:right;white-space:nowrap;min-width:104px}
.t-cart-old{display:block;font-size:13px;color:var(--t-gray-400);text-decoration:line-through;margin-bottom:2px}
.t-cart-price{font-weight:700;font-size:18px;color:var(--t-black);word-spacing:.12em}

.t-cart-del{
    width:40px;height:40px;padding:0;border:0;background:none;cursor:pointer;color:var(--t-gray-400);
    display:flex;align-items:center;justify-content:center;border-radius:var(--t-radius-sm);
    transition:color .15s ease,background .15s ease;
}
.t-cart-del svg{width:20px;height:20px}
.t-cart-del:hover{color:var(--t-red);background:var(--t-red-soft)}

/* счётчик количества */
.t-cart-row .quantity_selector{height:40px}
.t-cart-row .quantity_selector .minus,
.t-cart-row .quantity_selector .plus{
    width:40px;height:40px;font:400 19px/1 var(--t-font);color:var(--t-gray-900)!important;
}
.t-cart-row .quantity_selector .quantity_value{min-width:52px;height:40px;font-size:15px}

/* итог */
.t-cart-side{position:sticky;top:16px}
.t-cart-total{background:#fff;border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:24px}
.t-cart-total-title{font-weight:800;font-size:19px;color:var(--t-black);margin-bottom:18px}
.t-cart-total-row{
    display:flex;align-items:baseline;justify-content:space-between;gap:12px;
    font-size:14px;color:var(--t-gray-600);margin-bottom:10px;
}
.t-cart-total-row b{font-weight:700;color:var(--t-black)}
.t-cart-total-sum{
    margin:16px 0 20px;padding-top:16px;border-top:1px solid var(--t-gray-200);font-size:15px;
}
.t-cart-total-sum b{font-size:24px;word-spacing:.12em}
.t-cart-note{margin:14px 0 0;font-size:12px;line-height:1.5;color:var(--t-gray-400);text-align:center}

/* пустая корзина */
.t-cart-empty{
    max-width:560px;margin:8px auto 40px;text-align:center;background:#fff;
    border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:46px 34px;
}
.t-cart-empty svg{width:54px;height:54px;fill:var(--t-gray-200);margin-bottom:16px}
.t-cart-empty-title{font-weight:800;font-size:20px;margin-bottom:8px;color:var(--t-black)}
.t-cart-empty p{color:var(--t-gray-600);font-size:15px;line-height:1.6;margin:0 0 24px}

@media (max-width:1100px){
    .t-cart-grid{grid-template-columns:minmax(0,1fr) 300px;gap:18px}
    .t-cart-row{grid-template-columns:22px 74px minmax(0,1fr) auto auto 40px;column-gap:14px}
    .t-cart-pic{width:74px;height:74px}
}

@media (max-width:900px){
    .t-cart-grid{grid-template-columns:1fr}
    .t-cart-side{position:static}
    .t-cart-total{padding:20px}
}

@media (max-width:640px){
    .t-cart{padding-bottom:40px}
    .t-cart-list{padding:0 14px}
    .t-cart-head{gap:10px;margin-bottom:16px}
    .t-cart-row{
        grid-template-columns:20px 74px minmax(0,1fr) 40px;
        grid-template-areas:"chk pic info del" "qty qty sum sum";
        column-gap:12px;row-gap:14px;padding:16px 0;
    }
    .t-cart-row > .cartCheckbox{grid-area:chk}
    .t-cart-pic{grid-area:pic;width:74px;height:74px}
    .t-cart-info{grid-area:info}
    .t-cart-del{grid-area:del;justify-self:end}
    .t-cart-row .quantity_selector{grid-area:qty;justify-self:start}
    .t-cart-sum{grid-area:sum;align-self:center}
    .t-cart-name{font-size:14px}
    .t-cart-price{font-size:17px}
    .t-cart-empty{padding:34px 20px}
    .t-cart-empty svg{width:44px;height:44px}
    .t-cart-empty-title{font-size:18px}
}


/* ---------- оформление заказа ---------- */
.t-order{padding:6px 0 60px}
.t-order-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}

.t-order-form{
    background:#fff;border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:26px 26px 28px;
}
.t-order-sec{margin-bottom:28px}
.t-order-sec:last-of-type{margin-bottom:22px}
.t-order-h{font:800 17px/1.3 var(--t-font);color:var(--t-black);margin:0 0 14px;letter-spacing:0;word-spacing:.1em}

/* переключатели вариантов */
.t-pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.t-pill{
    flex:0 1 auto;min-height:46px;padding:12px 20px;cursor:pointer;user-select:none;
    display:flex;align-items:center;justify-content:center;text-align:center;
    background:#fff;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius-sm);
    font:600 14px/1.25 var(--t-font);color:var(--t-gray-900);
    transition:border-color .15s ease,color .15s ease,background .15s ease;
}
.t-pill:hover{border-color:var(--t-gray-400)}
.t-pill.active{background:var(--t-black);border-color:var(--t-black);color:#fff}

/* поля */
.t-fields{display:flex;flex-wrap:wrap;gap:14px}
.t-field{flex:1 1 calc(50% - 7px);min-width:200px;display:block}
.t-field-wide{flex:1 1 calc(50% - 7px)}
.t-field-sm{flex:0 1 calc(33.333% - 10px);min-width:130px}
.t-field > span{display:block;margin-bottom:6px;font-size:13px;color:var(--t-gray-600)}
.t-field > span i{font-style:normal;color:var(--t-red)}
.t-field input,
.t-order-textarea{
    width:100%;background:#fff;border:1.5px solid var(--t-gray-200);border-radius:var(--t-radius-sm);
    padding:0 14px;height:46px;font:400 15px/1 var(--t-font);color:var(--t-black);
    transition:border-color .15s ease;
}
.t-order-textarea{height:104px;padding:12px 14px;line-height:1.5;resize:vertical;display:block}
.t-field input:focus,
.t-order-textarea:focus{outline:none;border-color:var(--t-black)}
.t-field input::placeholder,
.t-order-textarea::placeholder{color:var(--t-gray-400)}

/* пункт самовывоза */
.t-order-pickup{border:1px solid var(--t-gray-200);border-radius:var(--t-radius);padding:16px 18px}
.t-order-pickup-city{font-weight:800;font-size:15px;color:var(--t-black);margin-bottom:12px}
.t-order-pickup-grid{display:flex;flex-wrap:wrap;gap:14px 34px;font-size:14px;color:var(--t-gray-900)}
.t-order-pickup-grid span{display:block;font-size:12px;color:var(--t-gray-400);margin-bottom:2px}

.t-order-note{
    border:1px solid var(--t-gray-200);border-radius:var(--t-radius);padding:13px 16px;
    font-size:14px;line-height:1.5;color:var(--t-gray-600);
}

/* согласие и кнопка */
.t-order-agree{display:flex;align-items:flex-start;gap:10px;margin:0 0 16px}
.t-order-agree-text{font-size:13px;line-height:1.5;color:var(--t-gray-600)}
.t-order-agree-text a{color:var(--t-gray-900);text-decoration:underline}
.t-order-agree-text a:hover{color:var(--t-red)}
.jsCheckboxPolicyText{display:none;margin-top:4px;font-size:13px;color:var(--t-red)}
.t-order-form .t-btn[disabled]{opacity:.45;cursor:not-allowed}
.t-order-form .t-btn[disabled]:hover{background:var(--t-red)}

/* состав заказа */
.t-order-side{position:sticky;top:16px}
.t-order-total{background:#fff;border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);padding:22px}
.t-order-total-title{font-weight:800;font-size:17px;color:var(--t-black);margin-bottom:16px}
.t-order-items{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}
.t-order-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:start}
.t-order-item-pic{
    display:block;width:52px;height:52px;padding:3px;background:#fff;
    border:1px solid var(--t-gray-200);border-radius:6px;
}
.t-order-item-pic img{width:100%;height:100%;object-fit:contain;display:block}
.t-order-item-info{min-width:0;font-size:13px;line-height:1.4}
.t-order-item-info a{color:var(--t-gray-900)}
.t-order-item-info a:hover{color:var(--t-red)}
.t-order-item-opts{margin-top:3px;font-size:12px;color:var(--t-gray-400)}
.t-order-item-qty{margin-top:3px;font-size:12px;color:var(--t-gray-400)}
.t-order-item-sum{font-weight:700;font-size:14px;color:var(--t-black);white-space:nowrap;word-spacing:.12em}
.t-order-total-row{
    display:flex;align-items:baseline;justify-content:space-between;gap:12px;
    padding-top:14px;border-top:1px solid var(--t-gray-200);font-size:14px;color:var(--t-gray-600);
}
.t-order-total-row b{font-weight:700;color:var(--t-black)}
.t-order-total-sum{margin-top:10px;font-size:15px}
.t-order-total-sum b{font-size:22px;word-spacing:.12em}
.t-order-total-note{margin-top:14px;font-size:12px;line-height:1.5;color:var(--t-gray-400)}

/* ошибки движка */
.tmpInputError{border-color:var(--t-red)!important}
p.tmpErrorField{margin:6px 0 0;font-size:13px;color:var(--t-red)}

@media (max-width:1100px){
    .t-order-grid{grid-template-columns:minmax(0,1fr) 300px;gap:18px}
}
@media (max-width:900px){
    .t-order-grid{grid-template-columns:1fr}
    .t-order-side{position:static;margin:0 0 18px}
    .t-order-form{padding:20px 18px 22px}
    .jsCartRightBox .t-order-total{padding:18px;border-color:var(--t-gray-200)}
}
@media (max-width:640px){
    .t-order-h{font-size:16px}
    .t-pills{gap:8px}
    .t-pill{flex:1 1 100%;min-height:50px}
    .t-field,.t-field-wide,.t-field-sm{flex:1 1 100%;min-width:0}
    .t-order-pickup-grid{gap:12px}
}

/* согласие на обработку данных */
.t-order-head{margin:6px 0 22px}
.t-order-head h1{margin:0}
.tmpCheckboxMin{
    flex:none;width:20px;height:20px;margin-top:1px;position:relative;cursor:pointer;
    background:#fff;border:1.5px solid var(--t-gray-200);border-radius:5px;
    transition:background .15s ease,border-color .15s ease;
}
.tmpCheckboxMin:hover{border-color:var(--t-gray-400)}
.tmpCheckboxMin.active{background:var(--t-red);border-color:var(--t-red)}
.tmpCheckboxMin.active:after{
    content:"";position:absolute;inset:0;
    background:center/12px 9px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.2 5.6 5 9.4 12.8 1.6'/%3E%3C/svg%3E");
}

/* контакты: контент и карта во всю рабочую область */
.t-page-contacts{max-width:none}
.t-contact-map{
    margin:4px 0 30px;border:1px solid var(--t-gray-200);border-radius:var(--t-radius-lg);
    overflow:hidden;background:var(--t-gray-100);
}
.t-contact-map iframe{display:block;width:100%;height:420px;border:0}
@media (max-width:640px){
    .t-contact-map iframe{height:320px}
}


/* ---------- закреплённая шапка ---------- */
/* у донорской обёртки стоял overflow:hidden — он отключает прилипание внутри */
.super_container{overflow:visible}

:root{--t-sticky:96px}

.t-header{position:fixed;top:0;left:0;right:0;z-index:900}
/* распорка держит полную высоту шапки, поэтому при сжатии вёрстка не прыгает */
.t-head-space{display:block;height:0}
.t-topbar{overflow:hidden;transition:height .18s ease,opacity .15s ease}
.t-headmain{transition:padding .18s ease}
.t-logo{transition:width .18s ease}
.t-header.is-compact .t-headmain{padding:8px 0}
.t-header.is-compact .t-logo{width:118px}
.t-header.is-compact .t-topbar .t-container{height:34px}

.t-mheader{position:fixed;top:0;left:0;right:0;z-index:900}
.t-msearch{overflow:hidden;transition:height .18s ease,opacity .15s ease,padding .18s ease}
/* правка: обрезка нужна только для сворачивания шапки. Пока открыты подсказки поиска,
   она их срезала — выпадающий список был в разметке, но на экране его не было видно. */
.t-msearch.is-suggest{overflow:visible}
.t-mheader.is-compact .t-msearch{height:0;opacity:0;padding-top:0;padding-bottom:0}

/* липкие колонки страниц опускаем под шапку */
.t-filter,
.t-article-side,
.t-cart-side,
.t-order-side,
.orderSumBox,
.cart_left_column{top:calc(var(--t-sticky) + 12px)}

@media (max-width:991px){
    :root{--t-sticky:118px}
}
@media (max-width:900px){
    /* в одну колонку липкость не нужна */
    .t-cart-side,.t-order-side{top:auto}
}

/* ============ главная: каталог марок, лента универсальных товаров ============ */

/* широкая карточка «Универсальные товары» над сеткой марок */
.t-univ-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;
    padding:18px 22px;border-radius:var(--t-radius);background:var(--t-gray-50);
    border:1px solid var(--t-gray-200);color:var(--t-gray-900);transition:border-color .15s ease,transform .15s ease}
.t-univ-card:hover{border-color:var(--t-black);transform:translateY(-2px)}
.t-univ-card-text{display:block;min-width:0}
.t-univ-card-name{display:block;font:800 18px/1.2 var(--t-font)}
.t-univ-card-sub{display:block;margin-top:4px;font:500 14px/1.35 var(--t-font);color:var(--t-gray-600)}
.t-univ-card-go{flex:none;font:700 14px/1 var(--t-font);color:var(--t-red)}

/* марка без значка — название в плашке */
.t-brand-abbr{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:4px;
    font:800 12px/1.15 var(--t-font);color:var(--t-gray-600);text-transform:uppercase;text-align:center;word-break:break-word}

/* значок марки в мега-меню */
.t-mega-brand-pic{flex:none;display:flex;align-items:center;justify-content:center;width:26px;height:20px}
.t-mega-brand-pic img{max-width:26px;max-height:20px;object-fit:contain}
.t-mega-brand-pic + span{flex:1 1 auto;min-width:0}

/* марок много — сначала показываем часть */
.t-brands.is-collapsed .t-brand:nth-child(n+25){display:none}
.t-brands-more{display:none;margin:14px auto 0;padding:0 22px;height:44px;border:1.5px solid var(--t-gray-200);
    border-radius:100px;background:#fff;cursor:pointer;font:700 14px/1 var(--t-font);color:var(--t-gray-900)}
.t-brands-more:hover{border-color:var(--t-black)}
.t-brands.is-collapsed + .t-brands-more{display:block}

/* лента с горизонтальной прокруткой */
.t-ribbon-wrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin}
.t-ribbon{display:flex;gap:12px;padding:2px 0 10px}
.t-ribbon-item{flex:none;width:152px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;
    padding:10px;border:1px solid var(--t-gray-200);border-radius:var(--t-radius);background:#fff;
    color:var(--t-gray-900);transition:border-color .15s ease,transform .15s ease}
.t-ribbon-item:hover{border-color:var(--t-black);transform:translateY(-2px)}
.t-ribbon-img{display:flex;align-items:center;justify-content:center;height:96px;background:var(--t-gray-50);
    border-radius:10px;overflow:hidden}
.t-ribbon-img img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:darken}
.t-ribbon-name{font:600 13px/1.3 var(--t-font)}

/* на телефоне лента уходит под края экрана */
@media (max-width:991px){
    .t-home{display:flex;flex-direction:column}
    /* сетку марок с телефона убрали: марки показываются по кнопке «Каталог» */
    .t-home-brands{display:none}
    .t-home-univ{order:1;padding-top:20px}
    .t-home-hits{order:2}
    .t-home-new{order:3}
    .t-home-hero{order:4}
    .t-home-types{order:5}
    .t-home-adv{order:6}
    .t-home-rev{order:7}
    .t-home-help{order:8}
    .t-home-art{order:9}

    .t-brands{grid-template-columns:repeat(4,1fr);gap:8px}
    .t-brands.is-collapsed .t-brand:nth-child(n+21){display:none}
    .t-brand{height:auto;padding:8px 4px}
    .t-brand-img{height:44px}
    .t-brand-name{font-size:11px}
    .t-univ-card{padding:14px 16px;gap:12px}
    .t-univ-card-name{font-size:16px}
    .t-univ-card-sub{font-size:12.5px}
    .t-univ-card-go{font-size:13px}

    .t-home-univ .t-ribbon-wrap{margin:0 -14px;padding:0 14px}
    .t-ribbon-item{width:136px}
    .t-ribbon-img{height:84px}
}
@media (max-width:575px){
    .t-brands{grid-template-columns:repeat(4,1fr)}
}

/* ============ страница типа товара: выбор марки ============ */
.t-typebrands{margin:0 0 26px}
.t-typebrands-head{font:800 16px/1.2 var(--t-font);color:var(--t-black);margin:0 0 12px}
.t-typebrands-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}
.t-typebrand{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
    gap:6px;padding:10px 6px 9px;background:#fff;border:1px solid var(--t-gray-200);
    border-radius:var(--t-radius);color:var(--t-gray-900);text-align:center;
    transition:border-color .15s ease,transform .12s ease,box-shadow .15s ease}
.t-typebrand:hover{border-color:var(--t-black);transform:translateY(-2px);box-shadow:var(--t-shadow)}
.t-typebrand-pic{display:flex;align-items:center;justify-content:center;width:100%;height:36px}
.t-typebrand-pic img{max-width:42px;max-height:36px;object-fit:contain}
.t-typebrand-name{font:600 11px/1.2 var(--t-font);color:var(--t-gray-700);word-break:break-word}
.t-typebrand-cnt{font:700 10px/1 var(--t-font);color:var(--t-gray-400)}
.t-typebrands-grid.is-collapsed .t-typebrand:nth-child(n+17){display:none}
.t-typebrands-grid.is-collapsed + .t-brands-more{display:block}

/* возврат к типу по всем маркам */
.t-type-back{margin:0 0 18px}
.t-type-back a{font:600 14px/1 var(--t-font);color:var(--t-red)}

@media (max-width:1199px){ .t-typebrands-grid{grid-template-columns:repeat(6,1fr)} }
@media (max-width:991px){
    .t-typebrands{margin-bottom:20px}
    .t-typebrands-head{font-size:15px}
    .t-typebrands-grid{grid-template-columns:repeat(4,1fr);gap:6px}
    .t-typebrand{padding:8px 4px}
    .t-typebrand-pic{height:32px}
    .t-typebrand-pic img{max-width:38px;max-height:32px}
    .t-typebrand-name{font-size:10.5px}
    .t-typebrands-grid.is-collapsed .t-typebrand:nth-child(n+13){display:none}
}

/* ============ кнопка «наверх» ============ */
/* на ПК — круг справа внизу, на телефоне — плашка под закреплённой шапкой */
.t-totop{
    position:fixed;right:24px;bottom:24px;z-index:890;
    display:none;align-items:center;justify-content:center;gap:8px;
    width:52px;height:52px;padding:0;border:1px solid var(--t-gray-200);border-radius:50%;
    background:#fff;box-shadow:var(--t-shadow-menu);cursor:pointer;
    font:700 14px/1 var(--t-font);color:var(--t-gray-900);
    transition:border-color .15s ease,color .15s ease,transform .12s ease;
}
.t-totop.is-open{display:flex}
.t-totop:hover{border-color:var(--t-black);color:var(--t-red);transform:translateY(-2px)}
.t-totop svg{width:22px;height:22px;fill:currentColor}
.t-totop span{display:none}

@media (max-width:991px){
    .t-totop{
        top:calc(var(--t-totop-top, 150px) + 10px);
        right:auto;bottom:auto;left:50%;transform:translateX(-50%);
        width:auto;height:40px;padding:0 18px 0 14px;border-radius:100px;
    }
    .t-totop:hover{transform:translateX(-50%)}
    .t-totop svg{width:18px;height:18px}
    .t-totop span{display:inline}
}

/* ============ карточка товара на телефоне: фото → цена → «Купить» ============ */
/* t-item-order-mobile. Клиент показывает товар скриншотом: на одном экране должны быть
   картинка, под ней цена и кнопка. Колонки разбираем через display:contents и
   расставляем блоки по порядку, разметку и микроразметку не трогаем. */
@media (max-width:991px){
    .t-item-top{display:flex;flex-direction:column;gap:0}
    .t-item-gallery,.t-item-info{display:contents}

    .t-item-info h1{order:1;margin:0 0 12px}
    .t-item-photo{order:2}
    .t-item-thumbs{
        order:3;flex-wrap:nowrap;overflow-x:auto;margin-top:8px;padding-bottom:4px;
        -webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scrollbar-width:none
    }
    .t-item-thumbs::-webkit-scrollbar{display:none}
    .t-item-thumb{flex:none;width:58px;height:58px;scroll-snap-align:start}
    .t-item-buy{order:4;margin-top:12px}
    .t-item-prices{margin-bottom:12px}
    .t-item-meta{order:5;margin:14px 0 0}
    .t-item-notes{order:6}
}
@media (max-width:575px){
    .t-item-thumb{width:54px;height:54px}
    .t-item-photo{padding-top:80%}
}

/* t-adv-six: преимуществ шесть — три в ряд, на планшете два, на телефоне в столбик */
.t-adv{grid-template-columns:repeat(3,1fr);gap:30px 34px}
.t-adv-text{font-size:14.5px;line-height:1.6}
@media (max-width:991px){ .t-adv{grid-template-columns:repeat(2,1fr);gap:24px} }
@media (max-width:575px){ .t-adv{grid-template-columns:1fr;gap:20px;padding:22px} }

/* ============ карточка товара: кнопки мессенджеров ============ */
.t-item-mess{flex-direction:column;align-items:stretch;gap:10px}
.t-item-mbtns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.t-item-mbtn{
    display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;height:48px;padding:0 8px;
    border-radius:var(--t-radius-sm);color:#fff;font:600 14px/1 var(--t-font);white-space:nowrap;
    transition:filter .15s ease,transform .06s ease;
}
.t-item-mbtn:hover{color:#fff;filter:brightness(1.08)}
.t-item-mbtn:active{transform:translateY(1px)}
.t-item-mbtn svg{flex:none;width:19px;height:19px;fill:#fff}
.t-item-mbtn span{overflow:hidden;text-overflow:ellipsis;line-height:1.35}
.t-item-mbtn-short{display:none}
/* на ПК «Купить» и «в 1 клик» одинаковой ширины */
.t-item-actions .t-btn{flex:1 1 0;min-width:0}
.t-item-mbtn-tg{background:#27A6E5}
.t-item-mbtn-max{background:#6B4EF2}
.t-item-mbtn-vk{background:#0077FF}
.t-item-mbtn-wa{background:#25B85A}

@media (max-width:575px){
    /* «Купить» во всю ширину, под ним «в 1 клик» и узкое «избранное» одной строкой */
    .t-item-actions{flex-direction:row;flex-wrap:wrap}
    .t-item-actions .t-btn-red{flex:1 1 100%;width:100%}
    .t-item-actions .t-btn-ghost{flex:1 1 0;width:auto;min-width:0}
    .t-item-fav{flex:none;width:48px;height:48px}
    .t-item-mbtn{gap:5px;padding:0 4px;font-size:12.5px}
    .t-item-mbtn svg{width:16px;height:16px}
    /* «ВКонтакте» в треть ширины телефона не влезает */
    .t-item-mbtn-vk .t-item-mbtn-full{display:none}
    .t-item-mbtn-vk .t-item-mbtn-short{display:inline}
}

/* аватары отзывов: пастельный фон и буква того же оттенка, темнее */
.t-rev-avatar{color:var(--t-gray-900)}
.t-av-0{background:#FBE3E1;color:#B8322C}
.t-av-1{background:#FDEAD7;color:#A95B22}
.t-av-2{background:#F5EED3;color:#7E6A1E}
.t-av-3{background:#E3EFDF;color:#3D7443}
.t-av-4{background:#DCEEEC;color:#2C6F6C}
.t-av-5{background:#E0EAF7;color:#34649A}
.t-av-6{background:#EBE5F5;color:#654C96}
.t-av-7{background:#ECECEF;color:#4A4A55}
/* площадка — чёрным */
.t-rev-src{color:var(--t-black)}

/* подразделы каталога плитками с фото (модели марки, разделы универсальных товаров) */
.t-subcats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:26px}
.t-subcat-card{display:flex;flex-direction:column;gap:8px;padding:10px;background:#fff;
    border:1px solid var(--t-gray-200);border-radius:var(--t-radius);color:var(--t-gray-900);
    transition:border-color .15s ease,transform .12s ease,box-shadow .15s ease}
.t-subcat-card:hover{border-color:var(--t-black);transform:translateY(-2px);box-shadow:var(--t-shadow)}
.t-subcat-pic{display:flex;align-items:center;justify-content:center;height:92px;background:var(--t-gray-50);
    border-radius:10px;overflow:hidden}
.t-subcat-pic img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:darken}
.t-subcat-name{font:600 13px/1.3 var(--t-font)}
.t-subcat-cnt{font:700 11px/1 var(--t-font);color:var(--t-gray-400)}
.t-subcat-card:hover .t-subcat-name{color:var(--t-red)}

@media (max-width:1199px){ .t-subcats{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:991px){ .t-subcats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px} }
@media (max-width:575px){
    .t-subcats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:20px}
    .t-subcat-pic{height:84px}
    .t-subcat-name{font-size:12.5px}
}

/* ============ правка: цена 0 = товара нет в наличии ============ */
/* карточка-мини в каталоге/на главной/в избранном */
.t-card-nostock{font:600 13px/1.3 var(--t-font);color:var(--t-gray-400)}
.t-card-buy.is-request{background:var(--t-red);color:#fff;white-space:nowrap}
.t-card:hover .t-card-buy.is-request{background:var(--t-red);color:#fff}
/* детальная карточка товара */
.t-item-price-request{font-weight:700;font-size:24px;color:var(--t-gray-600);letter-spacing:0}
@media (max-width:767px){ .t-item-price-request{font-size:20px} }
