/* =========================================================
   СантехБаза — theme v3 (responsive, single stylesheet)
   ========================================================= */
:root{
  --c-primary:#1565E0; --c-primary-d:#0B4FC2; --c-primary-l:#EAF2FF;
  --c-accent:#C94A08; --c-accent-d:#A93D06;
  --c-ink:#0F2140; --c-text:#2A3547; --c-muted:#5A677B; --c-line:#E3E8F0;
  --c-bg:#F4F6FA; --c-card:#FFFFFF; --c-ok:#14A35A; --c-warn:#E0A100; --c-err:#D93B3B;
  --c-water:#1E7BEF; --c-heat:#E5483B; --c-sewer:#F08A24;
  --r-sm:8px; --r:12px; --r-lg:18px;
  --sh-1:0 1px 2px rgba(15,33,64,.06),0 1px 3px rgba(15,33,64,.06);
  --sh-2:0 8px 24px rgba(15,33,64,.10);
  --sh-3:0 18px 48px rgba(15,33,64,.18);
  --wrap:1280px; --hdr:76px;
  --font:'Manrope',-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body.sb{margin:0;background:var(--c-bg);color:var(--c-text);font:15px/1.55 var(--font);-webkit-font-smoothing:antialiased}
body.sb-lock{overflow:hidden}
.sb img{max-width:100%;height:auto;border:0}
.sb a{color:var(--c-primary);text-decoration:none}
.sb a:hover{color:var(--c-primary-d)}
.sb h1,.sb h2,.sb h3,.sb h4,.sb h5,.sb h6{color:var(--c-ink);font-family:var(--font);line-height:1.25;margin:0 0 .6em}
.sb h1{font-size:30px;font-weight:800;letter-spacing:-.4px}
.sb h2,.sb .sb-h2{font-size:22px;font-weight:800;letter-spacing:-.2px}
.sb h3{font-size:18px;font-weight:700}
.sb p{margin:0 0 1em}
.sb button{font-family:inherit;cursor:pointer}
.sb input,.sb select,.sb textarea{font-family:inherit;font-size:15px;color:var(--c-text)}
.sb input[type=text],.sb input[type=email],.sb input[type=tel],.sb input[type=password],.sb input[type=search],.sb input[type=number],.sb select,.sb textarea{
  border:1.5px solid var(--c-line);border-radius:var(--r-sm);padding:10px 12px;background:#fff;outline:none;transition:border-color .15s,box-shadow .15s;max-width:100%}
.sb input:focus,.sb select:focus,.sb textarea:focus{border-color:var(--c-primary);box-shadow:0 0 0 3px rgba(21,101,224,.15)}
.sb-wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.clear,.clear-both{clear:both}
.hidden{display:none!important}
.nowrap{white-space:nowrap}
.align-center{text-align:center}.align-right{text-align:right}
.float-right{float:right}.float-left{float:left}
.hint,.gray{color:var(--c-muted);font-size:13px}
.bold{font-weight:700}
.error,.errormsg{color:var(--c-err)}

/* ---------- Buttons ---------- */
.sb .bt1,.sb .sb-btn,.sb input[type=submit],.sb .filter-submit,.sb button.button,.sb .wa-form .wa-submit input{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:var(--r-sm);
  background:var(--c-accent);color:#fff;font:700 15px/1.2 var(--font);padding:12px 20px;cursor:pointer;
  transition:background .15s,transform .05s,box-shadow .15s;text-transform:none;box-shadow:0 2px 0 rgba(0,0,0,.08);-webkit-appearance:none}
.sb .bt1:hover,.sb input[type=submit]:hover,.sb .sb-btn--accent:hover{background:var(--c-accent-d);color:#fff}
.sb .bt1:active,.sb .sb-btn:active,.sb input[type=submit]:active{transform:translateY(1px)}
.sb .bt1[disabled],.sb input[type=submit][disabled]{background:#C5CCD8;cursor:not-allowed}
.sb .bt1.is-loading{opacity:.7;pointer-events:none}
.sb .bt1.is-added{background:var(--c-ok)!important}
.sb .bt2,.sb .sb-btn--ghost{background:#fff;color:var(--c-primary);border:1.5px solid var(--c-primary);box-shadow:none}
.sb .bt2:hover,.sb .sb-btn--ghost:hover{background:var(--c-primary-l);color:var(--c-primary-d)}
.sb .sb-btn--accent{background:var(--c-accent);color:#fff}
.sb .sb-btn--lg{padding:15px 26px;font-size:16px;border-radius:10px}
.sb .sb-btn--block{display:flex;width:100%}

/* ---------- Top bar ---------- */
.sb-topbar{background:var(--c-ink);color:#B9C4D6;font-size:13px}
.sb-topbar__in{display:flex;align-items:center;justify-content:space-between;min-height:36px;gap:16px}
.sb-topbar__left{display:flex;align-items:center;gap:8px}
.sb-dot{width:8px;height:8px;border-radius:50%;background:#2BD47D;box-shadow:0 0 0 3px rgba(43,212,125,.2)}
.sb-topbar__links{display:flex;gap:18px;flex-wrap:wrap}
.sb .sb-topbar__links a{color:#DCE4F0}
.sb .sb-topbar__links a:hover{color:#fff}

/* ---------- Header ---------- */
.sb-header{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--c-line);transition:box-shadow .2s}
.sb-header.is-stuck{box-shadow:var(--sh-2)}
.sb-header__in{display:flex;align-items:center;gap:18px;min-height:var(--hdr)}
.sb-logo{display:inline-flex;flex:0 0 auto;--logo-t1:#0F2140;--logo-t2:#1565E0;--logo-t3:#6B7A90}
.sb-logo__svg{width:210px;height:60px;display:block}
.sb-logo--white{--logo-t1:#fff;--logo-t2:#7FB6FF;--logo-t3:#A9B6C8}
.sb-burger{display:none;width:44px;height:44px;border:0;background:transparent;padding:10px;flex-direction:column;justify-content:space-between}
.sb-burger span{display:block;height:2.5px;border-radius:2px;background:var(--c-ink)}
.sb-catbtn{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 20px;border:0;border-radius:10px;background:var(--c-primary);color:#fff;font:700 15px var(--font);white-space:nowrap;transition:background .15s}
.sb-catbtn:hover,.sb-catbtn.is-open{background:var(--c-primary-d)}
.sb-catbtn__ico{display:inline-flex;flex-direction:column;gap:3px;width:16px}
.sb-catbtn__ico i{display:block;height:2px;background:#fff;border-radius:2px}
.sb-catbtn.is-open .sb-catbtn__ico i:nth-child(2){opacity:0}
.sb-search{flex:1 1 auto;display:flex;position:relative;min-width:200px}
.sb-search input[type=search],.sb-msearch input[type=search]{width:100%;height:48px;border:2px solid var(--c-primary)!important;border-radius:10px!important;padding:0 56px 0 16px!important;font-size:15px;-webkit-appearance:none}
.sb-search button,.sb-msearch button{position:absolute;right:4px;top:4px;width:44px;height:40px;border:0;border-radius:8px;background:var(--c-primary);color:#fff;display:flex;align-items:center;justify-content:center}
.sb-contacts{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25;flex:0 0 auto}
.sb .sb-contacts__phone{font-weight:800;font-size:18px;color:var(--c-ink);letter-spacing:-.2px}
.sb .sb-contacts__free{font-weight:600;font-size:13px;color:var(--c-text)}
.sb-contacts__free small{color:var(--c-muted);font-weight:500}
.sb-contacts__call{margin-top:3px;font-size:13px;font-weight:700;color:var(--c-accent);cursor:pointer;border-bottom:1px dashed currentColor}
.sb-contacts__call:hover{color:var(--c-accent-d)}
.sb-iconbtn{display:none;width:44px;height:44px;border-radius:10px;align-items:center;justify-content:center;color:var(--c-primary)!important;background:var(--c-primary-l)}
.sb-cart{flex:0 0 auto}
.sb .sb-cart__link{display:flex;align-items:center;gap:10px;color:var(--c-ink);padding:6px 10px;border-radius:10px;transition:background .15s}
.sb .sb-cart__link:hover{background:var(--c-bg);color:var(--c-ink)}
.sb-cart__ico{position:relative;display:flex;width:44px;height:44px;border-radius:10px;align-items:center;justify-content:center;background:var(--c-primary-l);color:var(--c-primary)}
.sb-cart__count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--c-accent);color:#fff;font:800 11px/20px var(--font);text-align:center;border:2px solid #fff}
.sb-cart__count.is-zero{display:none}
.sb-cart__txt{display:flex;flex-direction:column;line-height:1.2}
.sb-cart__txt small{font-size:12px;color:var(--c-muted)}
.sb-cart__txt strong{font-size:15px;font-weight:800}
.sb-msearch{display:none;padding-bottom:12px}
.sb-msearch form{position:relative}
#cart.fixed1{position:static}

/* ---------- Mega menu ---------- */
.sb-mega{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--c-line);box-shadow:var(--sh-3);max-height:calc(100vh - 140px);overflow:auto}
.sb-mega[hidden]{display:none}
.sb-mega__in{padding-top:24px;padding-bottom:28px}
.sb-mega__list{list-style:none;margin:0;padding:0;columns:4 240px;column-gap:28px}
.sb-mega__item{break-inside:avoid;margin:0 0 18px}
.sb .sb-mega__top{display:block;font-weight:800;color:var(--c-ink);font-size:14.5px;line-height:1.3;margin-bottom:6px}
.sb .sb-mega__top:hover{color:var(--c-primary)}
.sb-mega__sub{list-style:none;margin:0;padding:0}
.sb-mega__sub li{margin:3px 0}
.sb .sb-mega__sub a{color:var(--c-muted);font-size:13.5px}
.sb .sb-mega__sub a:hover{color:var(--c-primary)}
.sb .sb-mega__more a{color:var(--c-primary);font-weight:700}

/* ---------- Desktop nav ---------- */
.sb-nav{background:#fff;border-bottom:1px solid var(--c-line)}
.sb-nav__in{display:flex;align-items:center;gap:4px;min-height:46px;overflow-x:auto;scrollbar-width:none}
.sb-nav__in::-webkit-scrollbar{display:none}
.sb .sb-nav a{padding:12px 12px;color:var(--c-text);font-weight:600;font-size:14px;white-space:nowrap;border-bottom:2px solid transparent}
.sb .sb-nav a:hover,.sb .sb-nav a.is-active{color:var(--c-primary);border-bottom-color:var(--c-primary)}
.sb-nav__spacer{flex:1}
.sb .sb-nav__acc{color:var(--c-muted)}

/* ---------- Main / layout ---------- */
.sb-main{padding:18px 0 48px;min-height:50vh}
.sb-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--c-muted);margin:0 0 16px}
.sb .sb-crumbs a{color:var(--c-muted)}
.sb .sb-crumbs a:hover{color:var(--c-primary)}
.sb-crumbs__sep{color:#B4BECD}
.sb-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.sb-aside{display:flex;flex-direction:column;gap:16px;position:sticky;top:calc(var(--hdr) + 16px);max-height:calc(100vh - var(--hdr) - 32px);overflow:auto;scrollbar-width:thin;padding-bottom:4px}
.sb-content{min-width:0}
.sb .content,.sb .sidebar{float:none;width:auto;margin:0}
.sb .content.right300px,.sb .content.left300px{width:auto!important;margin:0}

/* Sidebar catalog */
.sb-side-card{background:#fff;border:1px solid var(--c-line);border-radius:var(--r);overflow:hidden}
.box-heading{padding:14px 16px;font-weight:800;color:var(--c-ink);font-size:15px;border-bottom:1px solid var(--c-line);background:linear-gradient(180deg,#fff,#F8FAFD)}
.box-category ul{list-style:none;margin:0;padding:0}
.box-category > ul > li{border-bottom:1px solid #EEF2F7}
.box-category > ul > li:last-child{border-bottom:0}
.box-category li{position:relative}
.sb .box-category li > a{display:block;padding:9px 40px 9px 16px;color:var(--c-text);font-size:13.5px;font-weight:600;line-height:1.35}
.sb .box-category li li > a{padding:7px 36px 7px 28px;font-weight:500;font-size:13px;color:var(--c-muted)}
.sb .box-category li li li > a{padding-left:40px}
.sb .box-category li > a:hover{color:var(--c-primary);background:#F5F8FD}
.box-category li.selected > a{color:var(--c-primary)!important;background:var(--c-primary-l)!important;font-weight:700!important}
.box-category li ul{background:#FAFBFD}
.sb-tog{position:absolute;right:6px;top:4px;width:30px;height:30px;border-radius:6px;cursor:pointer}
.sb-tog::before{content:'';position:absolute;left:11px;top:10px;width:7px;height:7px;border:2px solid #9AA6B8;border-left:0;border-top:0;transform:rotate(45deg);transition:transform .2s}
.box-category li.is-open > .sb-tog::before{transform:rotate(-135deg);top:13px}
.sb-tog:hover{background:#EEF3FA}
.sb-side-help{background:linear-gradient(135deg,#0F2140,#163563);color:#C8D3E4;border-radius:var(--r);padding:18px}
.sb-side-help__title{color:#fff;font-weight:800;font-size:16px;margin-bottom:6px}
.sb-side-help p{font-size:13px;margin-bottom:10px}
.sb .sb-side-help__phone{display:block;color:#fff;font-weight:800;font-size:18px;margin-bottom:12px}
.sb .sb-side-help .sb-btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5);width:100%}
.sb .sb-side-help .sb-btn--ghost:hover{background:rgba(255,255,255,.1)}

/* ---------- Home ---------- */
.sb-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:stretch;background:radial-gradient(1200px 400px at 0% 0%,#E3EEFF 0%,transparent 60%),#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);padding:36px;margin-bottom:28px}
.sb-eyebrow{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:var(--c-primary);background:var(--c-primary-l);padding:6px 10px;border-radius:999px;margin-bottom:14px}
.sb h1.sb-hero__title{font-size:36px;line-height:1.15;margin-bottom:14px}
.sb-hero__sub{font-size:16px;color:var(--c-muted);max-width:560px}
.sb-hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}
.sb-hero__facts{display:flex;flex-wrap:wrap;gap:22px;list-style:none;margin:0;padding:0;color:var(--c-muted);font-size:13.5px}
.sb-hero__facts b{display:block;color:var(--c-ink);font-size:20px;font-weight:800}
.sb-dirs{display:grid;gap:12px}
.sb-dir{border-radius:var(--r);padding:16px 18px;color:#fff;display:grid;grid-template-columns:180px 1fr;align-items:center;gap:12px;box-shadow:var(--sh-1);transition:transform .15s,box-shadow .15s}
.sb-dir:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.sb-dir--water{background:linear-gradient(135deg,#2B8CFF,#1157C9)}
.sb-dir--heat{background:linear-gradient(135deg,#F2604F,#C9302A)}
.sb-dir--sewer{background:linear-gradient(135deg,#FFA040,#E8650A)}
.sb-dir__head{display:flex;align-items:center;gap:10px}
.sb-dir__head p{margin:0;font-weight:800;font-size:18px}
.sb-dir__ico{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.sb-dir ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.sb .sb-dir a{display:inline-block;color:#fff;background:rgba(255,255,255,.18);padding:5px 10px;border-radius:999px;font-size:13px;font-weight:700}
.sb .sb-dir a:hover{background:#fff;color:var(--c-ink)}
.sb-section{margin:0 0 32px}
.sb-section__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.sb-section__head h2,.sb .Title__Home{margin:0;font-size:24px;font-weight:800;color:var(--c-ink);text-align:left}
.sb-section__more{font-weight:700}
.homeCategory ul,.sb-homecats ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.homeCategory li,.sb-homecats li{background:#fff;border:1px solid var(--c-line);border-radius:var(--r);padding:14px;text-align:center;transition:box-shadow .15s,transform .15s,border-color .15s;display:flex;flex-direction:column;align-items:center;width:auto!important;float:none!important;margin:0!important;height:auto!important}
.homeCategory li:hover,.sb-homecats li:hover{box-shadow:var(--sh-2);transform:translateY(-2px);border-color:#CFDBEE}
.homeCategory li img,.sb-homecats li img{width:130px;height:130px;object-fit:contain;mix-blend-mode:multiply}
.homecatwrap{margin-top:8px;background:none!important;position:static!important;width:auto!important;height:auto!important}
.sb .homecatwrap a{color:var(--c-ink);font-weight:700;font-size:13.5px;line-height:1.3}
.sb-hits{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:thin}
.sb .sb-hit{scroll-snap-align:start;background:#fff;border:1px solid var(--c-line);border-radius:var(--r);padding:14px;display:flex;flex-direction:column;gap:8px;color:var(--c-text);position:relative;transition:box-shadow .15s}
.sb .sb-hit:hover{box-shadow:var(--sh-2);color:var(--c-text)}
.sb-hit__img{height:170px;display:flex;align-items:center;justify-content:center}
.sb-hit__img img{max-height:170px;width:auto;object-fit:contain}
.sb-hit__name{font-weight:600;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:57px}
.sb-hit__price .price{font-size:18px}
.sb-why__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.sb-why__card{background:#fff;border:1px solid var(--c-line);border-radius:var(--r);padding:20px}
.sb-why__card b{display:block;color:var(--c-ink);font-size:16px;margin-bottom:6px}
.sb-why__card p{color:var(--c-muted);font-size:14px}
.sb .sb-why__card a,.sb .sb-why__card button{font-weight:700;color:var(--c-primary);background:none;border:0;padding:0;font-size:14px}
.sb-brandstory{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.sb-brandstory > div{background:#fff;border-radius:var(--r);border:1px solid var(--c-line);padding:18px;border-left:4px solid var(--c-primary)}
.sb-brandstory b{color:var(--c-ink);font-size:16px}
.sb-brandstory p{color:var(--c-muted);font-size:14px;margin:6px 0 0}
.sb-brands{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.sb .sb-brand{background:#fff;border:1px solid var(--c-line);border-radius:var(--r);height:90px;display:flex;align-items:center;justify-content:center;padding:12px;color:var(--c-ink);font-weight:800;transition:box-shadow .15s}
.sb .sb-brand:hover{box-shadow:var(--sh-2)}
.sb-brand img{max-height:60px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.8;transition:filter .2s,opacity .2s}
.sb-brand:hover img{filter:none;opacity:1}
.sb-tags{background:#fff;border:1px solid var(--c-line);border-radius:var(--r);padding:16px;margin-top:16px}
.sb-tags__title{font-weight:800;color:var(--c-ink);margin-bottom:10px}
.sb-tags .tags{display:flex;flex-wrap:wrap;gap:6px}
.sb .sb-tags .tags a{font-size:13px!important;opacity:1!important;padding:5px 10px;border-radius:999px;background:var(--c-bg);color:var(--c-text)}
.sb .sb-tags .tags a:hover{background:var(--c-primary-l);color:var(--c-primary)}

/* ---------- Category ---------- */
.sb-cathead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.sb-cathead h1{margin:0}
.sb-cathead__tools{display:flex;gap:10px;align-items:center}
.sb .sb-pricelink{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;color:#14804A;background:#E7F6EE;padding:9px 12px;border-radius:var(--r-sm)}
.sb .sb-pricelink:hover{background:#D3EFDF;color:#0F6A3C}
.sb-filters-open{display:none!important}
.sb-subcats{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-bottom:24px}
.sb .sb-subcat{background:#fff;border:1px solid var(--c-line);border-radius:var(--r);padding:12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;color:var(--c-ink);transition:box-shadow .15s,border-color .15s;float:none;width:auto;height:auto;margin:0}
.sb .sb-subcat:hover{box-shadow:var(--sh-2);border-color:#CFDBEE;color:var(--c-primary)}
.sb-subcat img{width:120px;height:120px;object-fit:contain}
.sb-subcat__name{font-weight:700;font-size:13.5px;line-height:1.3}
.scCount{display:inline-block;font-size:11.5px;font-weight:700;color:var(--c-muted);background:var(--c-bg);border-radius:999px;padding:1px 7px;margin-left:2px}
.sb-seo-top,.sb-text{background:#fff;border:1px solid var(--c-line);border-radius:var(--r);padding:20px 24px;margin:0 0 20px;line-height:1.65}
.sb-text img{border-radius:var(--r-sm)}
.sb-text table{border-collapse:collapse;width:100%;margin:10px 0}
.sb-text td,.sb-text th{border:1px solid var(--c-line);padding:8px 10px}
.bottomDescr{margin-top:24px}

/* Sorting */
.sb .sorting{display:flex;flex-wrap:wrap;align-items:center;gap:6px;list-style:none;margin:0 0 14px;padding:0}
.sb .sorting li{margin:0;padding:0}
.sb .sorting a{display:inline-block;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid var(--c-line);color:var(--c-text);font-size:13px;font-weight:600}
.sb .sorting li.selected a{background:var(--c-ink);border-color:var(--c-ink);color:#fff}
.sorting__label{font-size:13px;color:var(--c-muted);margin-right:4px!important}

/* Product cards grid */
.sb .sb-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
#product-list.is-loading{opacity:.45;pointer-events:none;transition:opacity .2s}
.sb .sb-card{margin:0;padding:0;width:auto!important;float:none!important;height:auto!important}
.sb-card .productList{height:100%;background:#fff;border:1px solid var(--c-line);border-radius:var(--r);padding:14px;display:flex;flex-direction:column;gap:10px;transition:box-shadow .15s,border-color .15s;position:relative;width:auto!important;margin:0!important}
.sb-card .productList:hover{box-shadow:var(--sh-2);border-color:#CFDBEE}
.sb-card__img{position:relative;display:flex;align-items:center;justify-content:center;height:190px;background:#fff;border-radius:var(--r-sm);overflow:hidden}
.sb-card__img img{max-height:190px;width:auto;max-width:100%;object-fit:contain}
.tov_sale{position:absolute;left:8px;top:8px;z-index:2;background:var(--c-err);color:#fff;font-weight:800;font-size:12px;padding:3px 8px;border-radius:6px}
.corner{position:absolute;z-index:2}.corner.top{top:8px}.corner.right{right:8px}
.badge{display:inline-block;border-radius:6px;font:800 11px/1 var(--font);padding:5px 8px;text-transform:uppercase}
.badge.new{background:var(--c-ok);color:#fff}.badge.bestseller{background:var(--c-accent);color:#fff}.badge.lowprice{background:var(--c-err);color:#fff}
.badge span{background:none!important;color:inherit!important;padding:0!important}
.sb-card__body{flex:1 1 auto;display:flex;flex-direction:column;gap:6px}
.sb-card__meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--c-muted)}
.sb-card__sku{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nalichie p,.nalichie span{margin:0}
.stock-high,.sb .stock-high{color:var(--c-ok);font-weight:700;font-size:12.5px}
.stock-low{color:var(--c-warn);font-weight:700}.stock-critical{color:var(--c-err);font-weight:700}
.stock-none{color:var(--c-muted);font-weight:700;font-size:12.5px}
.nalichie .stock-high::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--c-ok);margin-right:5px;vertical-align:1px}
.sb .sb-card__name{color:var(--c-ink)}
.sb .sb-card__name:hover{color:var(--c-primary)}
.sb .sb-card__name h5{font-size:14.5px;font-weight:700;line-height:1.35;margin:0;color:inherit;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.prodDescr p{font-size:12.5px;color:var(--c-muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sb-card__buy{border-top:1px dashed var(--c-line);padding-top:10px}
.sb-card__prices{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.sb .price{color:var(--c-ink);font-weight:800;font-size:20px;letter-spacing:-.3px}
.sb .compare-at-price{color:var(--c-muted);text-decoration:line-through;font-size:14px;font-weight:600}
.sb-card__unit{color:var(--c-muted);font-size:12.5px}
.sb .addtocart{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;margin:0}
.sb .addtocart .bt1{width:100%;padding:11px 10px}
.sb-card__oneclick{grid-column:1/-1}
.sb-card__oneclick:empty{display:none}
.sb-qty{display:inline-flex;align-items:center;border:1.5px solid var(--c-line);border-radius:var(--r-sm);background:#fff;height:44px;overflow:hidden}
.sb-qty .count_nav{position:static!important;width:auto!important;height:auto!important;display:block;float:none!important;margin:0!important}
.sb .sb-qty .count_nav a{display:flex;width:32px;height:42px;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:var(--c-ink);background:none!important;user-select:none}
.sb .sb-qty .count_nav a:hover{background:var(--c-bg)!important;color:var(--c-primary)}
.sb .sb-qty input.quant{width:38px;height:42px;border:0!important;box-shadow:none!important;text-align:center;font-weight:700;padding:0!important;margin:0!important;border-radius:0!important;float:none!important}
.edinizmir{display:none}

/* Paging */
.sb-paging{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:22px 0}
.sb .sb-paging ul,.sb ul.menu-h{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}
.sb .sb-paging li a,.sb .sb-paging li span{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border-radius:var(--r-sm);background:#fff;border:1px solid var(--c-line);color:var(--c-text);font-weight:700;padding:0 10px}
.sb .sb-paging li.selected a,.sb .sb-paging li.selected span{background:var(--c-primary);border-color:var(--c-primary);color:#fff}
.sb .sb-paging__all{font-weight:700}

/* Filters */
.sb-filters{background:#fff;border:1px solid var(--c-line);border-radius:var(--r);padding:16px}
.sb-filters__mhead{display:none}
.rightDopBlock{float:none!important;width:auto!important;margin:0!important}
.filters.leadbox{background:transparent;padding:0;margin:0}
.Category__Title--Widget{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:15px;color:var(--c-ink);padding-bottom:12px;border-bottom:1px solid var(--c-line);margin-bottom:12px}
.sb .sb-filters__reset{font-size:12.5px;font-weight:700;color:var(--c-muted)}
.filter-row-clear{display:none}
.filter-param{margin:0 0 4px;border-bottom:1px solid #EEF2F7}
.filter-param:last-of-type{border-bottom:0}
.filter-title{cursor:pointer;position:relative;padding:10px 24px 10px 0;margin:0;font-weight:700;font-size:13.5px;color:var(--c-ink);user-select:none}
.filter-title span{color:inherit;border:0}
.filter-title::after{content:'';position:absolute;right:6px;top:15px;width:7px;height:7px;border:2px solid #9AA6B8;border-left:0;border-top:0;transform:rotate(-135deg);transition:transform .2s}
.filter-title.is-closed::after{transform:rotate(45deg);top:12px}
.filter-title::before{display:none!important}
.filter-content{padding:0 0 12px;margin:0;border:0;max-height:260px;overflow-y:auto;font-size:13.5px}
.filter-content.is-closed{display:none}
.filter-content input[type=text]{width:90px;padding:8px 10px}
.filter-checkbox{display:block;margin:0}
.filter-checkbox input{position:absolute;opacity:0;pointer-events:none}
.sb .filter-checkbox .filter-value{display:block;position:relative;padding:5px 0 5px 28px;color:var(--c-text);font-size:13.5px;line-height:1.4;cursor:pointer}
.filter-checkbox .filter-value::before{content:'';position:absolute;left:0;top:6px;width:18px;height:18px;border:1.5px solid #B8C3D3;border-radius:5px;background:#fff;transition:all .15s}
.filter-checkbox input:checked + .filter-value::before{background:var(--c-primary);border-color:var(--c-primary);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:14px;background-position:center;background-repeat:no-repeat}
.filter-checkbox input:checked + .filter-value{color:var(--c-primary);font-weight:700}
.filter-checkbox input[disabled] + .filter-value{color:#C3CAD5}
.filter-radio{display:inline-flex;align-items:center;gap:6px;margin:0 10px 6px 0;font-size:13.5px}
.filter-slider{display:flex;gap:8px;margin:4px 0 10px}
.Filter__Box--Numeric{position:relative;flex:1}
.Filter__Box--Numeric input{width:100%!important;padding-left:30px!important}
.filter-slider-unit{position:absolute;left:9px;top:50%;transform:translateY(-50%);font-size:11px;color:var(--c-muted)}
.filter-slider-wrapper{padding:4px 8px 6px}
.filters.leadbox .ui-slider-horizontal{height:4px;background:#E3E8F0;border:0;border-radius:4px}
.filters.leadbox .ui-slider-horizontal .ui-widget-header{background:var(--c-primary);border:0;top:0}
.filters.leadbox .ui-widget-content .ui-state-default{background:#fff!important;border:2px solid var(--c-primary)!important;width:16px!important;height:16px!important;border-radius:50%!important;top:-7px;cursor:grab}
.filter-content-buttons{position:sticky;bottom:0;background:#fff;padding-top:8px}
.sb .filter-submit{width:100%;background:var(--c-primary);margin:4px 0 0}
.sb .filter-submit:hover{background:var(--c-primary-d)}

/* ---------- Product page ---------- */
.sb-product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;background:#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);padding:24px;margin-bottom:24px;float:none;width:auto}
.sb-gallery{float:none!important;width:auto!important;margin:0!important}
.sb-gallery .productImage{position:relative;display:flex;align-items:center;justify-content:center;min-height:360px;border:1px solid #EEF2F7;border-radius:var(--r);padding:16px;background:#fff;width:auto!important;height:auto!important;float:none!important}
.sb-gallery .productImage img{max-height:440px;width:auto;object-fit:contain}
#product-gallery{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#product-gallery .image{width:72px;height:72px;border:1.5px solid var(--c-line);border-radius:var(--r-sm);overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fff;margin:0;float:none}
#product-gallery .image.selected,#product-gallery .image:hover{border-color:var(--c-primary)}
#product-gallery img{max-width:64px;max-height:64px}
.sb-buybox{float:none!important;width:auto!important;margin:0!important;min-width:0}
.sb .sb-buybox h1{font-size:26px;margin-bottom:8px}
.sb-buybox__meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:var(--c-muted);font-size:13.5px;margin-bottom:14px}
.sb-buybox__sku b{color:var(--c-ink)}
.sb-buybox .cart{float:none;width:auto;margin:0;position:relative}
.sb-skus-title{font-weight:700;color:var(--c-ink);margin-bottom:8px}
.sb table.skus{width:100%;border-collapse:separate;border-spacing:0 6px;margin:0 0 10px}
.sb table.skus td{background:#F8FAFD;padding:9px 10px;vertical-align:middle;border-top:1px solid var(--c-line);border-bottom:1px solid var(--c-line)}
.sb table.skus td:first-child{border-left:1px solid var(--c-line);border-radius:var(--r-sm) 0 0 var(--r-sm)}
.sb table.skus td:last-child{border-right:1px solid var(--c-line);border-radius:0 var(--r-sm) var(--r-sm) 0;text-align:right}
.sb table.skus label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600}
.sb table.skus .price{font-size:15px}
.sb table.skus tr:has(input:checked) td{background:var(--c-primary-l);border-color:#BBD3F7}
.sb-buy{background:#F8FAFD;border:1px solid var(--c-line);border-radius:var(--r);padding:18px;margin:6px 0 12px}
.sb-buy__prices{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.sb-buy__prices .price{font-size:32px!important}
.sb-buy .stocks{margin-bottom:12px;font-size:13.5px}
.sb-buy .stocks .icon16{display:none}
.sb-buy__row{display:flex;gap:10px;align-items:stretch}
.sb-buy__row .sb-qty{height:52px}
.sb-buy__row .sb-qty .count_nav a,.sb-buy__row .sb-qty input.quant{height:50px}
.sb .sb-buy__row .bt1{flex:1;font-size:16px;padding:14px 18px}
.sb-buy__oneclick{margin-top:10px}
.sb-buy__oneclick:empty{display:none}
.sb-buy__oneclick > *{width:100%}
.sb .services{margin:6px 0 12px}
.sb .services label{display:flex;gap:8px;align-items:center;font-size:14px}
.sb-compare{display:flex;flex-wrap:wrap;gap:14px;font-size:13.5px;margin-bottom:12px}
.sb .sb-compare a{font-weight:700}
.sb-assure{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.sb-assure li{position:relative;padding-left:28px;font-size:13.5px;color:var(--c-muted)}
.sb-assure li::before{content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:#E7F6EE;color:var(--c-ok);font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center}
.sb-assure b{color:var(--c-ink)}
.sb-buybox__help{font-size:13.5px;color:var(--c-muted);padding:12px 14px;border:1px dashed var(--c-line);border-radius:var(--r-sm)}
.sb .sb-buybox__help a,.sb .sb-buybox__help button{font-weight:800;color:var(--c-primary);background:none;border:0;padding:0;font-size:13.5px}
.sb-pinfo{background:#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);padding:8px 24px 24px}
.sb .sb-ptabs{border-bottom:1px solid var(--c-line);margin:0 -24px 20px!important;padding:0 24px!important;gap:0!important;overflow-x:auto;flex-wrap:nowrap!important}
.sb .sb-ptabs li{display:flex;align-items:center;white-space:nowrap}
.sb .sb-ptabs li a{display:block;padding:14px 14px;font-weight:700;color:var(--c-muted);border-bottom:2px solid transparent}
.sb .sb-ptabs li.selected a,.sb .sb-ptabs li a:hover{color:var(--c-ink);border-bottom-color:var(--c-primary)}
.sb .sb-ptabs .hint{background:var(--c-bg);border-radius:999px;padding:1px 7px;font-size:11px;margin-left:-8px;margin-right:6px}
.sb-pinfo__grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px}
.sb-pinfo__grid > .sb-pinfo__main:only-child{grid-column:1/-1}
.sb-pinfo .sb-text{border:0;padding:0;background:none}
.sb table.features{width:100%;border-collapse:collapse;font-size:13.5px}
.sb table.features td{padding:9px 10px;border-bottom:1px solid #EEF2F7;vertical-align:top}
.sb table.features tr:nth-child(odd) td{background:#F8FAFD}
.sb table.features td.name{color:var(--c-muted);width:50%}
.sb table.features td.value{color:var(--c-ink);font-weight:600}
.sb-share{margin:16px 0}
.related{margin-top:24px}
.sb table.product-list{width:100%;border-collapse:collapse}
.sb table.product-list td{padding:12px 10px;border-bottom:1px solid var(--c-line);vertical-align:middle}
.sb table.product-list .image img{max-height:80px;width:auto}
.sb table.product-list h5{font-size:14px;margin:0 0 4px}
.sb table.product-list .price{font-size:17px}
.sb table.product-list .addtocart{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.sb table.product-list .itemTable p{font-size:12.5px;color:var(--c-muted);margin:0}
.sb .reviews .menu-v{list-style:none;padding:0}
.sb .rating .icon16,.sb .rating i{display:inline-block}
.sb-stickybuy{display:none}

/* ---------- Cart ---------- */
.sb-cartpage{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.sb-cartpage__items{background:#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);padding:8px 18px 18px}
.sb table.cart{width:100%;border-collapse:collapse}
.sb table.cart td{padding:14px 8px;border-bottom:1px solid #EEF2F7;vertical-align:middle}
.sb-ci__img img{width:72px;height:72px;object-fit:contain}
.sb .sb-ci__info a.bold{color:var(--c-ink);font-weight:700}
.sb table.cart input.qty{width:70px;text-align:center;font-weight:700}
.sb-ci__sum{font-weight:800;color:var(--c-ink);white-space:nowrap}
.sb .sb-ci__del a{display:inline-flex;width:32px;height:32px;border-radius:50%;align-items:center;justify-content:center;font-size:22px;color:var(--c-muted);background:var(--c-bg)}
.sb .sb-ci__del a:hover{background:#FDE8E8;color:var(--c-err)}
.sb-back{display:inline-block;margin-top:14px;font-weight:700}
.sb-sumcard{background:#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);padding:20px;position:sticky;top:calc(var(--hdr) + 16px)}
.sb-sumcard__row,.sb-sumcard__total{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.sb-sumcard__total{border-top:1px solid var(--c-line);padding-top:12px;margin-bottom:16px}
.sb-sumcard__total b{font-size:26px;color:var(--c-ink);font-weight:800}
.sb .sb-sumcard input[type=submit]{width:100%;font-size:16px;padding:15px}
.sb-sumcard__notes{list-style:none;margin:14px 0 0;padding:0;font-size:13px;color:var(--c-muted);display:grid;gap:6px}
.sb-empty{background:#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);padding:48px 24px;text-align:center}

/* ---------- Checkout / account / forms ---------- */
.checkout{background:#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);padding:24px;max-width:960px;margin:0 auto}
.sb .checkout-navigation{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13.5px;color:var(--c-muted);margin-bottom:16px!important}
.sb .checkout-navigation li.selected a{color:var(--c-ink);font-weight:800}
.sb .checkout-navigation li.upcoming a{color:#A8B2C2}
.checkout-step{overflow:hidden}
.sb .wa-form .wa-field{display:flex;flex-wrap:wrap;gap:6px 14px;margin-bottom:12px;align-items:center}
.sb .wa-form .wa-field .wa-name{width:200px;color:var(--c-muted);font-size:14px;float:none}
.sb .wa-form .wa-field .wa-value{flex:1;min-width:220px;margin:0}
.sb .wa-form .wa-value input[type=text],.sb .wa-form .wa-value input[type=email],.sb .wa-form .wa-value input[type=password],.sb .wa-form .wa-value textarea,.sb .wa-form .wa-value select{width:100%;max-width:420px}
.sb table.table{width:100%;border-collapse:collapse;background:#fff}
.sb table.table td,.sb table.table th{padding:10px;border-bottom:1px solid #EEF2F7}
.sb .shipping-rates,.sb .checkout-options{list-style:none;padding:0}
.sb ul.checkout-options > li{border:1px solid var(--c-line);border-radius:var(--r);padding:14px;margin-bottom:10px}
.sb-page > h1:first-child{margin-top:4px}
#page{min-height:120px}
.sb .content > #page,.sb .content > h1{max-width:900px}

/* ---------- Benefits ---------- */
.sb-benefits{background:#fff;border-top:1px solid var(--c-line)}
.sb-benefits__in{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-top:22px;padding-bottom:22px}
.sb-benefit{padding-left:44px;position:relative}
.sb-benefit::before{content:'';position:absolute;left:0;top:2px;width:32px;height:32px;border-radius:10px;background:var(--c-primary-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%231565E0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.sb-benefit b{display:block;color:var(--c-ink);font-size:14.5px}
.sb-benefit span{color:var(--c-muted);font-size:13px}

/* ---------- Footer ---------- */
.sb-footer{background:var(--c-ink);color:#A9B6C8;padding:40px 0 0;font-size:14px}
.sb-footer__grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:28px;padding-bottom:28px}
.sb-footer__brand p{margin:12px 0;max-width:300px}
.sb-footer__pay img{opacity:.85;filter:brightness(1.6)}
.sb-footer .footSpan{color:#fff;font-weight:800;margin:0 0 10px;font-size:15px}
.sb-footer .sub-links ul{list-style:none;margin:0 0 18px;padding:0}
.sb-footer .sub-links li{margin:0 0 7px}
.sb .sb-footer a{color:#C8D3E4}
.sb .sb-footer a:hover{color:#fff}
.sb-footer__contacts{display:flex;flex-direction:column;gap:4px}
.sb .sb-footer__phone{color:#fff!important;font-weight:800;font-size:16px}
.sb-footer__hours{margin-top:8px}
.sb-footer .currency-toggle{text-align:center}
#copyright{border-top:1px solid rgba(255,255,255,.08);padding:16px 20px;color:#7F8DA3;font-size:13px;float:none}
.sb .sb-footer #copyright a{color:#A9B6C8}

/* ---------- Mobile tab bar, drawer, toast, misc ---------- */
.sb-tabbar{display:none}
.sb-drawer{position:fixed;inset:0;z-index:200;visibility:hidden}
.sb-drawer.is-open{visibility:visible}
.sb-drawer__bg{position:absolute;inset:0;background:rgba(15,33,64,.5);opacity:0;transition:opacity .25s}
.sb-drawer.is-open .sb-drawer__bg{opacity:1}
.sb-drawer__panel{position:absolute;left:0;top:0;bottom:0;width:min(88vw,380px);background:#fff;transform:translateX(-100%);transition:transform .28s ease;display:flex;flex-direction:column}
.sb-drawer.is-open .sb-drawer__panel{transform:none}
.sb-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 16px;border-bottom:1px solid var(--c-line)}
.sb-drawer__head .sb-logo__svg{width:170px;height:48px}
.sb-drawer__close{width:40px;height:40px;border:0;background:var(--c-bg);border-radius:10px;font-size:26px;line-height:1;color:var(--c-ink)}
.sb-drawer__body{overflow:auto;flex:1;padding-bottom:24px}
.sb-drawer__title{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.8px;color:var(--c-muted);padding:16px 16px 6px}
.sb .sb-drawer .box-category li > a{padding-top:11px;padding-bottom:11px;font-size:14.5px}
.sb-drawer .sb-tog{top:6px}
.sb-drawer__pages{list-style:none;margin:0;padding:0}
.sb .sb-drawer__pages a{display:block;padding:11px 16px;color:var(--c-text);font-weight:600;border-bottom:1px solid #EEF2F7}
.sb-drawer__contacts{display:flex;flex-direction:column;gap:6px;padding:16px;margin:12px;border-radius:var(--r);background:var(--c-bg)}
.sb .sb-drawer__contacts a{font-weight:800;color:var(--c-ink)}
.sb-drawer__contacts span{font-size:13px;color:var(--c-muted)}
.sb-backtop{position:fixed;right:20px;bottom:24px;z-index:50;width:46px;height:46px;border-radius:50%;background:var(--c-ink);box-shadow:var(--sh-2);opacity:0;visibility:hidden;transition:opacity .2s;display:flex!important;align-items:center;justify-content:center}
.sb-backtop.is-visible{opacity:.9;visibility:visible}
.sb-backtop span{width:12px;height:12px;border:2.5px solid #fff;border-right:0;border-bottom:0;transform:rotate(45deg);margin-top:5px}
.sb-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,140%);z-index:300;display:flex;align-items:center;gap:12px;background:var(--c-ink);color:#fff;padding:12px 12px 12px 16px;border-radius:14px;box-shadow:var(--sh-3);transition:transform .3s cubic-bezier(.2,.9,.3,1.2);max-width:calc(100vw - 24px)}
.sb-toast.is-visible{transform:translate(-50%,0)}
.sb-toast__ok{width:26px;height:26px;border-radius:50%;background:var(--c-ok);display:flex;align-items:center;justify-content:center;font-weight:800;flex:0 0 auto}
.sb-toast__txt{font-weight:600;white-space:nowrap}
.sb .sb-toast__btn{background:var(--c-accent);color:#fff;font-weight:800;padding:8px 14px;border-radius:9px;white-space:nowrap}
.sb .sb-toast__btn:hover{color:#fff;background:var(--c-accent-d)}

/* Multi-SKU dialog */
.dialog{display:none;position:fixed;inset:0;z-index:250}
.dialog-background{position:absolute;inset:0;background:rgba(15,33,64,.55)}
.dialog-window{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,94vw);max-height:90vh;overflow:auto;background:#fff;border-radius:var(--r-lg);padding:24px;box-shadow:var(--sh-3)}
.dialog-window .cart{position:relative}
.sb .dialog-close{position:absolute;right:-8px;top:-10px;width:36px;height:36px;border-radius:50%;background:var(--c-bg);color:var(--c-ink);font-size:24px;display:flex;align-items:center;justify-content:center;z-index:2}
.productWrapperCart{display:grid;grid-template-columns:220px 1fr;gap:20px}
.productWrapperCart .imageWrapper,.productWrapperCart .ProdInfo{float:none;width:auto;margin:0}
.productWrapperCart h1{font-size:20px!important}
.productWrapperCart .add2cart{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.productWrapperCart .add2cart .price{font-size:24px}

/* Plugin compat: one-click button / callback */
.sb .clicklite-button,.sb [class*="clicklite"] button,.sb [class*="clicklite"] .button,.sb [class*="clicklite"] a.btn{display:flex;width:100%;justify-content:center;align-items:center;background:#fff!important;color:var(--c-primary)!important;border:1.5px solid var(--c-primary)!important;border-radius:var(--r-sm)!important;font:700 14px var(--font)!important;padding:10px 12px!important;text-shadow:none!important;box-shadow:none!important;height:auto!important;line-height:1.2!important}
.sb [class*="clicklite"] button:hover,.sb .clicklite-button:hover{background:var(--c-primary-l)!important}
.currency-toggle select{margin:0 auto 12px}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1180px){
  .sb-contacts__free{display:none}
  .sb-cart__txt{display:none}
  .sb-why__grid{grid-template-columns:repeat(2,1fr)}
  .sb-hero{grid-template-columns:1fr}
  .sb-product{grid-template-columns:1fr 1fr}
  .sb-layout--product{grid-template-columns:minmax(0,1fr)}
  .sb-aside--product{display:none}
}
@media (max-width:1023px){
  :root{--hdr:64px}
  .sb-topbar{display:none}
  .sb-nav{display:none}
  .sb-header__in{gap:8px;min-height:var(--hdr)}
  .sb-burger{display:flex}
  .sb-logo{margin-right:auto}
  .sb-logo__svg{width:160px;height:46px}
  .sb-catbtn,.sb-search,.sb-contacts{display:none}
  .sb-iconbtn{display:inline-flex}
  .sb .sb-cart__link{padding:0}
  .sb-msearch{display:block}
  .sb-mega{display:none!important}
  .sb-layout{grid-template-columns:minmax(0,1fr)}
  .sb-aside{position:static;max-height:none;overflow:visible}
  .sb-aside__nav{display:none}
  .sb-filters{position:fixed;inset:0;z-index:220;border-radius:0;border:0;overflow:auto;transform:translateX(100%);transition:transform .28s ease;padding:0 16px 90px}
  .sb-filters.is-open{transform:none}
  .sb-filters__mhead{display:flex;position:sticky;top:0;background:#fff;z-index:2;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--c-line);margin-bottom:10px;font-size:17px;color:var(--c-ink)}
  .sb-filters__close{width:40px;height:40px;border:0;background:var(--c-bg);border-radius:10px;font-size:26px}
  .sb-filters .filter-content{max-height:none}
  .sb-filters .filter-content-buttons{position:fixed;left:0;right:0;bottom:0;padding:12px 16px;border-top:1px solid var(--c-line);background:#fff}
  .sb-filters-open{display:inline-flex!important}
  .sb-filters:not(.is-open) .filter-content-buttons{position:static}
  .sb-benefits__in{grid-template-columns:repeat(2,1fr)}
  .sb-footer__grid{grid-template-columns:1fr 1fr}
  .sb-pinfo__grid{grid-template-columns:1fr}
  .sb-cartpage{grid-template-columns:1fr}
  .sb-sumcard{position:static}
}
@media (max-width:767px){
  body.sb{font-size:14.5px;padding-bottom:64px}
  .sb-wrap{padding:0 12px}
  .sb h1{font-size:23px}
  .sb h1.sb-hero__title{font-size:25px}
  .sb-section__head h2,.sb .Title__Home{font-size:20px}
  .sb-main{padding-top:12px}
  .sb-hero{padding:20px 16px;gap:18px;border-radius:var(--r)}
  .sb-hero__sub{font-size:14.5px}
  .sb-hero__cta .sb-btn{flex:1}
  .sb-dir{grid-template-columns:1fr;padding:14px}
  .sb-why__grid,.sb-brandstory{grid-template-columns:1fr}
  .homeCategory ul,.sb-homecats ul{grid-template-columns:repeat(2,1fr);gap:10px}
  .homeCategory li img,.sb-homecats li img{width:96px;height:96px}
  .sb-subcats{grid-template-columns:repeat(2,1fr);gap:8px}
  .sb-subcat img{width:84px;height:84px}
  .sb .sb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .sb-card .productList{padding:10px;gap:8px}
  .sb-card__img{height:130px}
  .sb-card__img img{max-height:130px}
  .sb .sb-card__name h5{font-size:13px}
  .prodDescr{display:none}
  .sb .price{font-size:17px}
  .sb .addtocart{grid-template-columns:1fr}
  .sb-card .sb-qty{width:100%;justify-content:space-between;height:40px}
  .sb-card .sb-qty .count_nav a,.sb-card .sb-qty input.quant{height:38px}
  .sb .addtocart .bt1{padding:10px 6px;font-size:14px}
  .sb-card__sku{display:none}
  .sb-cathead{align-items:flex-start}
  .sb-cathead__tools{width:100%}
  .sb-cathead__tools > *{flex:1;justify-content:center}
  .sb .sorting{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
  .sb .sorting a{white-space:nowrap}
  .sb-product{grid-template-columns:1fr;padding:14px;border-radius:var(--r)}
  .sb-gallery .productImage{min-height:240px}
  .sb-gallery .productImage img{max-height:300px}
  .sb .sb-buybox h1{font-size:20px}
  .sb-buy__prices .price{font-size:26px!important}
  .sb-pinfo{padding:4px 14px 16px;border-radius:var(--r)}
  .sb .sb-ptabs{margin:0 -14px 16px!important;padding:0 8px!important}
  .sb-stickybuy{display:flex;position:fixed;left:0;right:0;bottom:64px;z-index:70;background:#fff;border-top:1px solid var(--c-line);padding:10px 12px;align-items:center;justify-content:space-between;gap:12px;transform:translateY(120%);transition:transform .25s;box-shadow:0 -6px 18px rgba(15,33,64,.08)}
  .sb-stickybuy.is-visible{transform:none}
  .sb-stickybuy__val{font-size:20px;font-weight:800;color:var(--c-ink)}
  .sb-stickybuy .sb-btn{flex:0 0 55%}
  .sb table.cart tr{display:grid;grid-template-columns:72px 1fr auto;grid-template-areas:"img info del" "img qty sum";gap:4px 10px;padding:12px 0;border-bottom:1px solid #EEF2F7}
  .sb table.cart td{border:0;padding:0}
  .sb-ci__img{grid-area:img}.sb-ci__info{grid-area:info}.sb-ci__qty{grid-area:qty;text-align:left!important}.sb-ci__sum{grid-area:sum;align-self:center}.sb-ci__del{grid-area:del}
  .sb table.cart tr.no-border{display:block}
  .sb-cartpage__items{padding:4px 12px 14px}
  .checkout{padding:16px}
  .sb .wa-form .wa-field .wa-name{width:100%}
  .sb-benefits__in{grid-template-columns:1fr 1fr;gap:12px;padding-top:16px;padding-bottom:16px}
  .sb-benefit{padding-left:0;padding-top:38px}
  .sb-footer__grid{grid-template-columns:1fr;gap:12px}
  .sb-footer{padding-top:24px}
  .sb-tabbar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:80;height:64px;background:#fff;border-top:1px solid var(--c-line);padding-bottom:env(safe-area-inset-bottom)}
  .sb .sb-tabbar a,.sb .sb-tabbar button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:600 11px var(--font);color:var(--c-muted);background:none;border:0}
  .sb-tabbar svg{width:22px;height:22px}
  .sb-tabbar .sb-cart__count{top:6px;right:calc(50% - 22px)}
  .sb-backtop{bottom:80px;right:12px;width:40px;height:40px}
  .sb-toast{bottom:76px}
  .sb-toast__txt{white-space:normal;font-size:13.5px}
  .productWrapperCart{grid-template-columns:1fr}
  .productWrapperCart .imageWrapper img{max-height:180px}
  .dialog-window{padding:16px;top:auto;bottom:0;transform:translateX(-50%);border-radius:var(--r-lg) var(--r-lg) 0 0;width:100vw;max-height:88vh}
  .jivo-btn,.jivo-iframe-container-bottom,#jvlabelWrap{bottom:72px!important}
}
@media (min-width:1024px){
  .sb-drawer .box-category{display:block}
}

/* ===== v3.1 fixes: homepage blocks, plugins, a11y ===== */
.sb-dirs{grid-template-rows:repeat(3,1fr)}
.sb-dir{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;min-height:128px;padding:18px 20px;position:relative;overflow:hidden;background-repeat:no-repeat;background-size:auto 115%,cover;background-position:right -20px center,center}
.sb-dir > *{position:relative;z-index:1}
.sb-dir ul{max-width:78%}
.sb-dir--water{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 220' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg opacity='.22' stroke-width='14'%3E%3Cpath d='M-10 150h150a40 40 0 0 0 40-40V40'/%3E%3Cpath d='M180 40h250'/%3E%3Cpath d='M300 40v120a30 30 0 0 0 30 30h100'/%3E%3C/g%3E%3Cg opacity='.35' stroke-width='3'%3E%3Crect x='118' y='136' width='34' height='28' rx='5'/%3E%3Crect x='166' y='26' width='28' height='34' rx='5'/%3E%3Crect x='286' y='62' width='28' height='34' rx='5'/%3E%3Cpath d='M229 40V14M213 14h32'/%3E%3Ccircle cx='229' cy='40' r='15'/%3E%3C/g%3E%3Cg fill='%23fff' stroke='none' opacity='.3'%3E%3Cpath d='M372 96s-14 16-14 26a14 14 0 0 0 28 0c0-10-14-26-14-26z'/%3E%3Cpath d='M398 140s-9 10-9 17a9 9 0 0 0 18 0c0-7-9-17-9-17z'/%3E%3C/g%3E%3C/svg%3E%0A"),linear-gradient(135deg,#2B8CFF,#1157C9)}
.sb-dir--heat{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 220' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg opacity='.3' stroke-width='3'%3E%3Crect x='170' y='70' width='230' height='120' rx='10'/%3E%3Cpath d='M196 82v96M222 82v96M248 82v96M274 82v96M300 82v96M326 82v96M352 82v96M378 82v96'/%3E%3Cpath d='M185 190v16M385 190v16'/%3E%3Cpath d='M150 176h20M150 168v16'/%3E%3C/g%3E%3Cg opacity='.38' stroke-width='4'%3E%3Cpath d='M220 54c-8-10 8-16 0-26s8-16 0-26'/%3E%3Cpath d='M285 54c-8-10 8-16 0-26s8-16 0-26'/%3E%3Cpath d='M350 54c-8-10 8-16 0-26s8-16 0-26'/%3E%3C/g%3E%3C/svg%3E%0A"),linear-gradient(135deg,#F2604F,#C9302A)}
.sb-dir--sewer{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 220' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg opacity='.24' stroke-width='30'%3E%3Cpath d='M150 120h290'/%3E%3Cpath d='M290 120V-10'/%3E%3C/g%3E%3Cg opacity='.38' stroke-width='3'%3E%3Cpath d='M150 96v48M200 92v56M380 92v56'/%3E%3Cpath d='M266 30h48M262 60h56'/%3E%3Crect x='196' y='90' width='12' height='60' rx='3'/%3E%3Crect x='376' y='90' width='12' height='60' rx='3'/%3E%3Crect x='260' y='26' width='60' height='12' rx='3'/%3E%3C/g%3E%3C/svg%3E%0A"),linear-gradient(135deg,#FF9A3C,#D9560B)}
.sb .sb-dir a{background:rgba(255,255,255,.2);backdrop-filter:blur(2px)}
.sb-brands{grid-template-columns:repeat(7,1fr)}
.sb .sb-brand{height:84px}
/* one-click (clicklite) */
.sb .clicklite__buttonView,.sb .instantorder-btn{display:flex!important;width:100%!important;justify-content:center;align-items:center;background:#fff!important;color:var(--c-primary)!important;border:1.5px solid var(--c-primary)!important;border-radius:var(--r-sm)!important;font:700 14px/1.2 var(--font)!important;padding:11px 12px!important;text-shadow:none!important;box-shadow:none!important;height:auto!important;margin:0!important;cursor:pointer;transition:background .15s}
.sb .clicklite__buttonView:hover,.sb .instantorder-btn:hover{background:var(--c-primary-l)!important}
.sb-buy__oneclick .clicklite__buttonView{padding:13px 12px!important;font-size:15px!important}
/* messenger icons (site block on pages) */
.sb .socialcall{position:static!important}
.sb .socialcall ul{list-style:none;margin:10px 0;padding:0;display:flex;gap:10px;align-items:center}
.sb .socialcall li{display:block;margin:0;padding:0}
.sb .socialcall img{width:32px!important;height:32px;display:block}
.sb-msgr{display:flex;gap:10px;margin-top:12px}
.sb .sb-msgr a{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;transition:transform .15s}
.sb .sb-msgr a:hover{transform:translateY(-2px);color:#fff}
.sb-msgr__max{background:linear-gradient(135deg,#5B5BFF,#B04CFF)}
.sb-msgr__wa{background:#25D366}
.sb-msgr__tg{background:#2AA3E0}
.sb-drawer .sb-msgr{margin-top:6px}
.sb-footer .currency-toggle label{position:absolute;left:-9999px}
@media (max-width:1180px){.sb-brands{grid-template-columns:repeat(5,1fr)}}
@media (max-width:767px){
  .sb-dir{min-height:112px;background-size:auto 100%,cover;background-position:right -60px center,center}
  .sb-dir ul{max-width:100%}
  .sb-brands{grid-template-columns:repeat(3,1fr);gap:8px}
  .sb .sb-brand{height:64px;padding:8px}
  .sb-brand:nth-child(n+10){display:none}
}
/* links inside text content */
.sb-text a,#page a,.sb-seo-top a,.bottomDescr a{text-decoration:underline;text-underline-offset:2px}
.sb-text a:hover,#page a:hover{text-decoration-thickness:2px}
/* tap targets + footer link */
.sb .sb-contacts a{display:inline-block;padding:3px 0;min-height:24px}
.sb-contacts{gap:2px}
#copyright a{text-decoration:underline}
.sb-hit__img img,.sb-card__img img{object-fit:contain;height:auto}
/* sidebar: show full catalog tree (no clipped inner scroll) */
.sb-aside{position:static;max-height:none;overflow:visible}
/* related products table */
.sb table.product-list td:first-child{width:112px}
.sb table.product-list .image img{width:96px;height:96px;object-fit:contain;max-height:none}
@media (max-width:767px){.sb table.product-list td:first-child{width:76px}.sb table.product-list .image img{width:64px;height:64px}.sb table.product-list tr{display:grid;grid-template-columns:76px 1fr;gap:6px 10px}.sb table.product-list td{border:0;padding:4px 0}.sb table.product-list td.listPrice{grid-column:2;text-align:left!important}.sb table.product-list tr{border-bottom:1px solid var(--c-line);padding:10px 0}}
/* ===== brands list + single brand ===== */
.sb-brandsbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:-4px 0 18px}
.sb-brandsbar p{margin:0;color:var(--c-muted);max-width:560px}
.sb .sb-brandsearch{width:280px;height:44px;border-radius:10px!important}
.sb-brandgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.sb-brandgrid .brand{margin:0;padding:0;float:none;width:auto;height:auto}
.sb-brandgrid .brand br{display:none}
.sb .sb-brandgrid .brand a{display:flex;align-items:center;justify-content:center;height:96px;padding:12px;background:#fff;border:1px solid var(--c-line);border-radius:var(--r);color:var(--c-ink);font-weight:800;font-size:14px;text-align:center;text-decoration:none;transition:box-shadow .15s,border-color .15s,transform .15s}
.sb .sb-brandgrid .brand a:hover{box-shadow:var(--sh-2);border-color:#CFDBEE;transform:translateY(-2px)}
.sb-brandgrid .brand img{max-height:60px;max-width:100%;width:auto;height:auto;object-fit:contain;filter:grayscale(1);opacity:.8;transition:filter .2s,opacity .2s}
.sb-brandgrid .brand a:hover img{filter:none;opacity:1}
.sb-brandgrid__empty{color:var(--c-muted);padding:20px 0}
.sb-action-brand .Category__Box--Plugins{margin-bottom:20px}
.sb-action-brand .Category__Plugin--Search{display:grid;grid-template-columns:220px minmax(0,1fr);gap:8px 24px;align-items:start;background:#fff;border:1px solid var(--c-line);border-radius:var(--r-lg);padding:20px}
.sb-action-brand .Brands__Box--Description{display:contents}
.sb-action-brand .Brands__Box--Description img{grid-column:1;grid-row:1 / span 3;float:none!important;margin:0!important;width:100%;height:auto;max-height:130px;object-fit:contain;padding:14px;border:1px solid #EEF2F7;border-radius:var(--r);background:#fff}
.sb-action-brand .Brands__Description{grid-column:2;color:var(--c-text);line-height:1.6}
.sb-action-brand .Brands__Description:empty{display:none}
.sb-action-brand .Brands__Description p:last-child{margin-bottom:0}
.sb-action-brand .Brands__List--Categories{grid-column:2}
.sb-action-brand .Brands__List--Categories::before{content:'Разделы каталога';display:block;font-weight:800;color:var(--c-ink);margin-bottom:10px}
.sb-action-brand .Brands__List--Categories > div{display:flex;flex-wrap:wrap;gap:8px}
.sb-action-brand .Brands__Item--Categories{margin:0}
.sb .Brands__Link--Categories{display:inline-block;padding:7px 12px;border-radius:999px;background:var(--c-bg);border:1px solid var(--c-line);color:var(--c-text);font-size:13.5px;font-weight:600;line-height:1.3;text-decoration:none}
.sb .Brands__Link--Categories:hover{background:var(--c-primary-l);border-color:#BBD3F7;color:var(--c-primary)}
.sb .sb-chipmore{margin-top:10px;background:none;border:0;padding:0;color:var(--c-primary);font-weight:700;font-size:13.5px;cursor:pointer}
@media (max-width:767px){
  .sb-brandsbar p{display:none}
  .sb .sb-brandsearch{width:100%}
  .sb-brandgrid{grid-template-columns:repeat(3,1fr);gap:8px}
  .sb .sb-brandgrid .brand a{height:68px;padding:8px;font-size:12px}
  .sb-brandgrid .brand img{max-height:44px}
  .sb-action-brand .Category__Plugin--Search{grid-template-columns:1fr;padding:14px}
  .sb-action-brand .Brands__Box--Description img,.sb-action-brand .Brands__Description,.sb-action-brand .Brands__List--Categories{grid-column:1;grid-row:auto}
  .sb-action-brand .Brands__Box--Description img{max-width:180px;max-height:100px}
}
#page.sb-brandgrid a{text-decoration:none}
/* custom category blocks (category param 'cat') use the old subcategory markup */
.sb-catblock{margin-bottom:24px}
.sb-catblock .sub-categories{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.sb-catblock .sub-wrp{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;background:#fff;border:1px solid var(--c-line);border-radius:var(--r);text-align:center;float:none;width:auto;height:auto;margin:0;transition:box-shadow .15s,border-color .15s}
.sb-catblock .sub-wrp:hover{box-shadow:var(--sh-2);border-color:#CFDBEE}
.sb-catblock .subcatImg{display:flex;align-items:center;justify-content:center}
.sb-catblock .subcatImg img{width:120px;height:120px;object-fit:contain}
.sb .sb-catblock .sub-wrp > a:not(.subcatImg){color:var(--c-ink);font-weight:700;font-size:13.5px;line-height:1.3;text-decoration:none}
.sb .sb-catblock .sub-wrp > a:not(.subcatImg)::after{content:'';position:absolute;inset:0}
.sb .sb-catblock .sub-wrp:hover > a:not(.subcatImg){color:var(--c-primary)}
@media (max-width:767px){.sb-catblock .sub-categories{grid-template-columns:repeat(2,1fr);gap:8px}.sb-catblock .subcatImg img{width:84px;height:84px}}
/* price filter row + slider labels */
.filters .filter-content:has(input[name=price_min]){padding:0 10px 14px;overflow:visible}
.filters input[name=price_min],.filters input[name=price_max]{width:calc(50% - 44px)!important;min-width:64px;padding:8px!important}
