/* =========================================================
   СтройИнжПро — design system
   ========================================================= */
:root{
  --ink:#162019;
  --ink-2:#243029;
  --muted:#69736B;
  --muted-2:#8B938C;
  --paper:#F5F2EA;
  --paper-2:#EFEBE1;
  --white:#fff;
  --line:#DEDBD1;
  --line-2:#E9E5DB;
  --brand:#E95D24;
  --brand-dark:#C94713;
  --brand-soft:#FBE7DC;
  --forest:#14271D;
  --forest-2:#1C3527;
  --lime:#D9ED86;
  --sand:#E8DECA;
  --blue:#4A7483;
  --success:#3D7B4B;
  --warning:#B87915;
  --danger:#B8432F;
  --r-xs:8px;
  --r-sm:12px;
  --r-md:16px;
  --r-lg:24px;
  --r-xl:32px;
  --shadow-xs:0 2px 8px rgba(20,39,29,.05);
  --shadow-sm:0 10px 30px rgba(20,39,29,.07);
  --shadow-md:0 24px 60px rgba(20,39,29,.11);
  --shadow-lg:0 40px 100px rgba(20,39,29,.18);
  --container:1320px;
  --header-h:82px;
  --ease:cubic-bezier(.2,.75,.3,1);
  --font:'Manrope',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:var(--font);font-size:16px;line-height:1.6;color:var(--ink);
  background:var(--paper);font-feature-settings:"ss01","ss02";-webkit-font-smoothing:antialiased;
}
body.no-scroll,body.drawer-open,body.search-open{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4,h5,p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
::selection{background:var(--lime);color:var(--ink)}
:focus-visible{outline:3px solid rgba(233,93,36,.45);outline-offset:3px}
.container{width:min(calc(100% - 48px),var(--container));margin-inline:auto}
.container-narrow{width:min(calc(100% - 48px),960px);margin-inline:auto}
.section{padding:96px 0}
.section-sm{padding:64px 0}
.section-top{padding-top:96px}
.bg-white{background:var(--white)}
.bg-paper{background:var(--paper)}
.bg-forest{background:var(--forest);color:#fff}
.bg-sand{background:var(--sand)}
.text-center{text-align:center}
.text-muted{color:var(--muted)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:12px;top:-100px;z-index:1000;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px;transition:.2s}
.skip-link:focus{top:12px}
.icon{width:20px;height:20px;flex:none;display:inline-block;vertical-align:middle;fill:none}
.icon-sm{width:16px;height:16px}
.icon-lg{width:26px;height:26px}
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:11px;line-height:1;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--brand)}
.eyebrow::before{content:"";width:22px;height:2px;background:currentColor}
.eyebrow.light{color:var(--lime)}
.display{font-size:clamp(44px,6.5vw,94px);line-height:.98;font-weight:800;letter-spacing:-.055em}
h1,.h1{font-size:clamp(36px,4.8vw,68px);line-height:1.02;font-weight:800;letter-spacing:-.05em}
h2,.h2{font-size:clamp(30px,3.8vw,52px);line-height:1.05;font-weight:800;letter-spacing:-.045em}
h3,.h3{font-size:clamp(22px,2.2vw,30px);line-height:1.15;font-weight:750;letter-spacing:-.03em}
h4,.h4{font-size:18px;line-height:1.3;font-weight:750;letter-spacing:-.015em}
.lead{font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:var(--muted)}
.small{font-size:13px;line-height:1.5}
.tiny{font-size:11px;line-height:1.4}
.num{font-variant-numeric:tabular-nums}
.hr{height:1px;background:var(--line);border:0;margin:0}

/* ---------- buttons ---------- */
.btn{
  --btn-bg:var(--ink);--btn-color:#fff;--btn-border:var(--ink);
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:50px;padding:0 22px;border:1px solid var(--btn-border);border-radius:999px;
  background:var(--btn-bg);color:var(--btn-color);font-size:14px;font-weight:750;letter-spacing:-.01em;
  transition:transform .25s var(--ease),background .25s,color .25s,border-color .25s,box-shadow .25s;
  white-space:nowrap;text-decoration:none;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn .icon{width:18px;height:18px}
.btn-primary{--btn-bg:var(--brand);--btn-border:var(--brand);--btn-color:#fff;box-shadow:0 10px 24px rgba(233,93,36,.23)}
.btn-primary:hover{--btn-bg:var(--brand-dark);--btn-border:var(--brand-dark);box-shadow:0 16px 34px rgba(233,93,36,.3)}
.btn-dark{--btn-bg:var(--forest);--btn-border:var(--forest)}
.btn-dark:hover{--btn-bg:var(--forest-2);--btn-border:var(--forest-2)}
.btn-outline{--btn-bg:transparent;--btn-color:var(--ink);--btn-border:rgba(22,32,25,.22)}
.btn-outline:hover{--btn-bg:var(--ink);--btn-color:#fff;--btn-border:var(--ink)}
.btn-light{--btn-bg:#fff;--btn-color:var(--ink);--btn-border:#fff}
.btn-light:hover{--btn-bg:var(--lime);--btn-border:var(--lime)}
.btn-ghost{--btn-bg:transparent;--btn-color:var(--ink);--btn-border:transparent;min-height:42px;padding:0 12px}
.btn-ghost:hover{--btn-bg:rgba(22,32,25,.06)}
.btn-sm{min-height:40px;padding:0 16px;font-size:13px}
.btn-lg{min-height:58px;padding:0 28px;font-size:15px}
.btn-block{width:100%}
.btn[disabled]{opacity:.5;pointer-events:none}
.btn-icon{
  width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;
  border:1px solid var(--line);background:rgba(255,255,255,.86);color:var(--ink);
}
.btn-icon:hover{background:#fff;border-color:var(--ink)}
.btn-icon.is-active{background:var(--ink);color:#fff;border-color:var(--ink)}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;border-bottom:1px solid rgba(22,32,25,.25);padding-bottom:4px;transition:.2s}
.link-arrow:hover{gap:12px;border-color:var(--ink)}
.link-arrow .icon{width:17px;height:17px}
.link-arrow.light{border-color:rgba(255,255,255,.35)}
.link-arrow.light:hover{border-color:#fff}

/* ---------- badges ---------- */
.badge{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:5px;background:var(--paper-2);color:var(--ink);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.badge-orange{background:var(--brand);color:#fff}
.badge-lime{background:var(--lime);color:var(--forest)}
.badge-dark{background:var(--forest);color:#fff}
.badge-glass{background:rgba(255,255,255,.16);color:#fff;backdrop-filter:blur(8px)}
.badge-stock{background:#E7F2E6;color:#2C6538}
.badge-preorder{background:#F7EEDC;color:#8A5A0B}
.status-dot{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}
.stock{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650;color:var(--success)}
.stock.preorder{color:var(--warning)}

/* ---------- forms ---------- */
.field{display:flex;flex-direction:column;gap:8px}
.field label,.label{font-size:12px;font-weight:750;letter-spacing:.01em;color:var(--ink)}
.input,.select,.textarea{
  width:100%;min-height:50px;border:1px solid var(--line);border-radius:var(--r-sm);
  background:#fff;padding:0 16px;font-size:14px;transition:border-color .2s,box-shadow .2s;
}
.textarea{min-height:110px;padding:14px 16px;resize:vertical}
.input::placeholder,.textarea::placeholder{color:#9BA19B}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(22,32,25,.07)}
.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23162019' stroke-width='1.7'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding-right:42px}
.field-hint{font-size:11px;color:var(--muted)}
.field-error{font-size:12px;color:var(--danger);display:none}
.field.has-error .input,.field.has-error .textarea{border-color:var(--danger)}
.field.has-error .field-error{display:block}
.checkbox{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;color:var(--muted);cursor:pointer}
.checkbox input{appearance:none;width:18px;height:18px;border:1.5px solid #C6C3B9;border-radius:5px;background:#fff;flex:none;margin-top:1px;transition:.2s;position:relative}
.checkbox input:checked{background:var(--brand);border-color:var(--brand)}
.checkbox input:checked::after{content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.checkbox a{text-decoration:underline;text-underline-offset:2px;color:var(--ink)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid .span-2{grid-column:1/-1}
.form-note{display:flex;gap:8px;align-items:flex-start;font-size:11px;line-height:1.5;color:var(--muted)}
.form-note .icon{width:14px;height:14px;margin-top:2px}
.input-group{display:flex;align-items:center;border:1px solid var(--line);background:#fff;border-radius:var(--r-sm);overflow:hidden}
.input-group .input{border:0;box-shadow:none;min-height:48px}
.input-group .btn{border-radius:0;min-height:48px}
.search-field{position:relative}
.search-field .input{padding-left:48px;padding-right:16px}
.search-field>.icon{position:absolute;left:17px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:var(--muted);pointer-events:none}

/* ---------- header ---------- */
.topbar{background:var(--forest);color:rgba(255,255,255,.76);font-size:11px;line-height:1;position:relative;z-index:60}
.topbar-inner{min-height:38px;display:flex;align-items:center;gap:26px}
.topbar a{transition:color .2s}
.topbar a:hover{color:#fff}
.topbar .topbar-city{display:flex;align-items:center;gap:6px;color:#fff;font-weight:650}
.topbar .topbar-city .icon{width:13px;height:13px;color:var(--lime)}
.topbar .topbar-note{margin-left:auto;display:flex;align-items:center;gap:7px}
.topbar .topbar-note .icon{width:13px;height:13px;color:var(--lime)}
.topbar .topbar-links{display:flex;align-items:center;gap:22px}
.topbar .topbar-links a{display:flex;align-items:center;gap:6px}
.topbar .topbar-links .icon{width:13px;height:13px}
.site-header{position:sticky;top:0;z-index:55;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(222,219,209,.8);backdrop-filter:blur(16px);transition:box-shadow .3s}
.site-header.is-scrolled{box-shadow:0 10px 30px rgba(20,39,29,.08)}
.header-inner{height:var(--header-h);display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;gap:11px;flex:none;min-width:196px}
.brand-mark{width:40px;height:40px;border-radius:11px;background:var(--brand);display:grid;place-items:center;position:relative;flex:none;box-shadow:0 6px 14px rgba(233,93,36,.24)}
.brand-mark svg{width:25px;height:25px}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-name{font-size:21px;font-weight:800;letter-spacing:-.055em}
.brand-sub{font-size:8px;line-height:1;font-weight:750;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin-top:5px}
.catalog-btn{height:48px;border-radius:10px;border:1px solid var(--ink);background:var(--ink);color:#fff;display:inline-flex;align-items:center;gap:11px;padding:0 18px;font-size:13px;font-weight:750;flex:none;transition:.2s}
.catalog-btn:hover{background:var(--brand);border-color:var(--brand)}
.catalog-btn .icon{width:19px;height:19px}
.header-search{flex:1;min-width:140px;position:relative;max-width:560px}
.header-search .input{height:48px;min-height:48px;border-radius:10px;background:var(--paper);border-color:transparent;padding-left:46px;font-size:13px}
.header-search .input:focus{background:#fff;border-color:var(--ink)}
.header-search .search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted)}
.header-search .search-hint{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:3px 6px;background:#fff;pointer-events:none}
.header-actions{display:flex;align-items:center;gap:4px;flex:none}
.header-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:52px;height:52px;border:0;background:transparent;border-radius:10px;font-size:10px;line-height:1;color:var(--muted);position:relative;transition:.2s;white-space:nowrap}
.header-action .icon{width:21px;height:21px;color:var(--ink)}
.header-action:hover{background:var(--paper);color:var(--ink)}
.header-action .counter{position:absolute;top:4px;right:7px;min-width:17px;height:17px;padding:0 4px;border-radius:50px;background:var(--brand);color:#fff;font-size:9px;font-weight:800;display:grid;place-items:center;line-height:1}
.header-action.is-active .icon{color:var(--brand)}
.header-phone{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-left:8px;white-space:nowrap}
.header-phone a{font-size:16px;font-weight:800;letter-spacing:-.03em}
.header-phone span{font-size:9px;color:var(--muted);letter-spacing:.02em}
.burger{display:none;width:44px;height:44px;border:0;background:transparent;border-radius:9px;align-items:center;justify-content:center}
.burger .icon{width:24px;height:24px}
.mobile-search-btn{display:none}

/* mega menu */
.mega{
  position:fixed;left:0;right:0;top:calc(38px + var(--header-h));z-index:54;
  background:#fff;border-bottom:1px solid var(--line);box-shadow:0 30px 60px rgba(20,39,29,.12);
  opacity:0;visibility:hidden;transform:translateY(-10px);transition:.25s var(--ease);
  max-height:calc(100vh - 120px);overflow:auto;
}
body.mega-open .mega{opacity:1;visibility:visible;transform:none}
.mega-inner{display:grid;grid-template-columns:1fr 300px;gap:36px;padding:36px 0 40px}
.mega-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 20px}
.mega-link{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:11px;transition:.2s}
.mega-link:hover{background:var(--paper)}
.mega-link .icon{width:21px;height:21px;margin-top:2px;color:var(--brand)}
.mega-link b{display:block;font-size:13px;font-weight:750;line-height:1.3}
.mega-link span{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.mega-promo{background:var(--forest);border-radius:var(--r-md);overflow:hidden;position:relative;min-height:270px;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;color:#fff;isolation:isolate}
.mega-promo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.55}
.mega-promo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 10%,rgba(10,25,16,.9));z-index:-1}
.mega-promo h4{font-size:21px;line-height:1.15;letter-spacing:-.03em}
.mega-promo p{font-size:11px;color:rgba(255,255,255,.7);margin-top:8px}
.mega-promo .link-arrow{margin-top:18px;font-size:11px;align-self:flex-start}

/* mobile nav */
.mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:50;background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(20px);display:none;padding-bottom:env(safe-area-inset-bottom)}
.mobile-nav-inner{display:grid;grid-template-columns:repeat(4,1fr);height:62px}
.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:9px;color:var(--muted);position:relative}
.mobile-nav a .icon{width:21px;height:21px;color:var(--ink)}
.mobile-nav a.is-active{color:var(--brand)}
.mobile-nav a.is-active .icon{color:var(--brand)}
.mobile-nav .counter{position:absolute;top:4px;left:calc(50% + 4px);min-width:15px;height:15px;padding:0 3px;border-radius:20px;background:var(--brand);color:#fff;font-size:8px;font-weight:800;display:grid;place-items:center}

/* ---------- footer ---------- */
.site-footer{background:var(--forest);color:rgba(255,255,255,.68);padding:72px 0 28px;position:relative;overflow:hidden}
.site-footer::before{content:"";position:absolute;width:700px;height:700px;border:1px solid rgba(255,255,255,.05);border-radius:50%;right:-300px;top:-300px;pointer-events:none}
.footer-top{display:grid;grid-template-columns:1.45fr .9fr .9fr 1.2fr;gap:48px;padding-bottom:52px;border-bottom:1px solid rgba(255,255,255,.12);position:relative}
.footer-brand .brand{margin-bottom:20px;min-width:0}
.footer-brand .brand-name{color:#fff}
.footer-brand .brand-sub{color:rgba(255,255,255,.45)}
.footer-brand p{font-size:13px;line-height:1.65;max-width:300px}
.footer-phone{display:block;font-size:24px;font-weight:800;letter-spacing:-.04em;color:#fff;margin:22px 0 3px}
.footer-mail{font-size:13px;color:var(--lime)}
.footer-col h5{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.42);font-weight:750;margin-bottom:16px}
.footer-col a,.footer-col p{display:block;font-size:12px;line-height:1.5;margin-bottom:10px;transition:color .2s}
.footer-col a:hover{color:#fff}
.footer-col .footer-address{display:flex;gap:8px;align-items:flex-start;color:rgba(255,255,255,.58)}
.footer-col .footer-address .icon{width:15px;height:15px;margin-top:2px;color:var(--lime);flex:none}
.footer-cta{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:var(--r-md);padding:22px}
.footer-cta h5{color:#fff;font-size:16px;letter-spacing:-.02em;text-transform:none;margin-bottom:8px}
.footer-cta p{font-size:11px;color:rgba(255,255,255,.6);margin-bottom:16px}
.footer-cta .input{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.17);color:#fff;min-height:44px;font-size:12px;margin-bottom:8px}
.footer-cta .input::placeholder{color:rgba(255,255,255,.4)}
.footer-cta .btn{min-height:44px;font-size:12px;width:100%}
.footer-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;padding-top:24px;font-size:10px;line-height:1.6;color:rgba(255,255,255,.38)}
.footer-bottom-links{display:flex;gap:22px;flex-wrap:wrap}
.footer-bottom a:hover{color:#fff}
.footer-legal{max-width:780px}
.footer-socials{display:flex;gap:8px;margin-top:18px}
.footer-socials a{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;transition:.2s}
.footer-socials a:hover{background:var(--lime);color:var(--forest);border-color:var(--lime)}
.footer-socials .icon{width:16px;height:16px}

/* ---------- sections & headings ---------- */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:38px}
.section-head-copy{max-width:720px}
.section-head h2{margin-top:13px}
.section-head p{color:var(--muted);font-size:15px;margin-top:14px;max-width:560px}
.section-head .link-arrow{margin-bottom:6px}
.section-head.center{flex-direction:column;align-items:center;text-align:center}
.section-head.center p{margin-inline:auto}
.section-head.light h2{color:#fff}
.section-head.light p{color:rgba(255,255,255,.6)}
.section-head.light .eyebrow{color:var(--lime)}

/* ---------- product card ---------- */
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-card{background:#fff;border:1px solid var(--line-2);border-radius:var(--r-md);overflow:hidden;display:flex;flex-direction:column;position:relative;transition:transform .35s var(--ease),box-shadow .35s,border-color .35s;min-width:0}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm);border-color:var(--line)}
.product-media{display:block;position:relative;aspect-ratio:4/3;background:var(--paper-2);overflow:hidden}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.product-card:hover .product-media img{transform:scale(1.045)}
.product-badges{position:absolute;left:10px;top:10px;display:flex;gap:5px;flex-direction:column;align-items:flex-start;z-index:2}
.product-tools{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:6px;z-index:3;opacity:0;transform:translateX(4px);transition:.25s}
.product-card:hover .product-tools,.product-card:focus-within .product-tools{opacity:1;transform:none}
.product-tool{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);display:grid;place-items:center;color:var(--ink);box-shadow:0 3px 10px rgba(0,0,0,.08);transition:.2s}
.product-tool .icon{width:16px;height:16px}
.product-tool:hover{background:var(--ink);color:#fff}
.product-tool.is-active{background:var(--brand);color:#fff}
.product-body{padding:16px 16px 15px;display:flex;flex-direction:column;flex:1}
.product-brand{font-size:10px;font-weight:750;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}
.product-title{font-size:14px;line-height:1.4;font-weight:700;letter-spacing:-.012em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px;transition:color .2s}
.product-card:hover .product-title{color:var(--brand-dark)}
.product-meta{display:flex;align-items:center;gap:9px;margin-top:8px;font-size:10px;color:var(--muted);flex-wrap:wrap}
.product-meta .stock{font-size:10px}
.product-rating{display:flex;align-items:center;gap:3px;color:#D99118;font-weight:700}
.product-rating .icon{width:11px;height:11px}
.product-rating span{color:var(--muted);font-weight:500;margin-left:2px}
.product-bottom{margin-top:auto;padding-top:14px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.product-price{display:flex;flex-direction:column;line-height:1.1}
.product-price .from{font-size:9px;color:var(--muted);margin-bottom:2px}
.product-price strong{font-size:20px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.product-price strong small{font-size:10px;font-weight:600;color:var(--muted);letter-spacing:0;margin-left:2px}
.product-price .old{font-size:10px;color:var(--muted-2);text-decoration:line-through;margin-top:2px}
.product-add{width:38px;height:38px;border-radius:50%;border:0;background:var(--paper);color:var(--ink);display:grid;place-items:center;transition:.2s;flex:none}
.product-add:hover{background:var(--brand);color:#fff;transform:scale(1.05)}
.product-add .icon{width:18px;height:18px}
.product-min{font-size:9px;color:var(--muted);margin-top:6px}
.product-card.list{display:grid;grid-template-columns:190px 1fr auto;align-items:stretch}
.product-card.list .product-media{aspect-ratio:auto;height:100%;min-height:170px}
.product-card.list .product-body{flex-direction:row;align-items:center;gap:22px;padding:16px 20px}
.product-card.list .product-info{flex:1;min-width:0}
.product-card.list .product-title{-webkit-line-clamp:1;font-size:16px;min-height:0}
.product-card.list .product-bottom{margin:0;padding:0;flex-direction:column;align-items:flex-end;min-width:160px}
.product-card.list .product-tools{opacity:1;transform:none;position:static;display:flex;flex-direction:row;margin-left:8px}
.product-card.list .product-tool{background:var(--paper)}
.product-card.list .product-badges{flex-direction:row}

/* skeleton */
.skeleton{background:linear-gradient(90deg,var(--paper-2) 25%,#F8F5EE 37%,var(--paper-2) 63%);background-size:400% 100%;animation:shimmer 1.3s infinite linear}
.skeleton-card{height:390px;border-radius:var(--r-md);border:1px solid var(--line-2)}
@keyframes shimmer{from{background-position:100% 0}to{background-position:0 0}}

/* ---------- breadcrumbs ---------- */
.breadcrumbs{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);flex-wrap:wrap;padding:20px 0}
.breadcrumbs a{transition:color .2s}
.breadcrumbs a:hover{color:var(--ink)}
.breadcrumbs .icon{width:12px;height:12px;color:#B2B6B0}
.breadcrumbs span{color:var(--ink);font-weight:600}

/* ---------- page hero ---------- */
.page-hero{padding:18px 0 42px;background:var(--paper);position:relative}
.page-hero-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.page-hero h1{max-width:760px}
.page-hero p{max-width:600px;color:var(--muted);font-size:15px;margin-top:14px}
.page-hero-side{flex:none;max-width:340px}
.page-hero-stats{display:flex;gap:26px;flex-wrap:wrap}
.page-hero-stat strong{display:block;font-size:25px;font-weight:800;letter-spacing:-.04em}
.page-hero-stat span{font-size:10px;color:var(--muted)}

/* ---------- drawers, modals, search ---------- */
.overlay{position:fixed;inset:0;background:rgba(13,22,16,.55);backdrop-filter:blur(4px);z-index:90;opacity:0;visibility:hidden;transition:.3s}
body.drawer-open .overlay,body.search-open .overlay,body.modal-open .overlay{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(460px,100%);background:#fff;z-index:95;transform:translateX(100%);transition:transform .4s var(--ease);display:flex;flex-direction:column;box-shadow:-20px 0 60px rgba(0,0,0,.16)}
.drawer.is-open{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line-2);flex:none}
.drawer-head h3{font-size:21px}
.drawer-head .count{font-size:12px;color:var(--muted);font-weight:500;margin-left:6px}
.drawer-close{width:36px;height:36px;border:0;border-radius:50%;background:var(--paper);display:grid;place-items:center}
.drawer-close:hover{background:var(--paper-2)}
.drawer-body{flex:1;overflow:auto;padding:22px 24px}
.drawer-foot{border-top:1px solid var(--line-2);padding:20px 24px;background:#fff;flex:none}
.cart-line{display:grid;grid-template-columns:72px 1fr auto;gap:12px;padding:16px 0;border-bottom:1px solid var(--line-2)}
.cart-line:first-child{padding-top:0}
.cart-line img{width:72px;height:72px;border-radius:9px;object-fit:cover}
.cart-line h4{font-size:12px;line-height:1.35;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cart-line .cart-sku{font-size:9px;color:var(--muted);margin-top:3px}
.cart-line .cart-price{font-size:13px;font-weight:800;margin-top:7px}
.cart-line .qty{margin-top:7px}
.cart-remove{border:0;background:none;color:var(--muted);width:26px;height:26px;display:grid;place-items:center;align-self:flex-start}
.cart-remove:hover{color:var(--danger)}
.cart-remove .icon{width:15px;height:15px}
.cart-empty{text-align:center;padding:60px 20px;color:var(--muted)}
.cart-empty .icon{width:52px;height:52px;color:var(--line);margin:0 auto 16px}
.cart-empty h4{color:var(--ink);margin-bottom:6px}
.cart-summary{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:15px}
.cart-summary span{font-size:12px;color:var(--muted)}
.cart-summary strong{font-size:26px;font-weight:800;letter-spacing:-.04em}
.cart-summary small{font-size:10px;color:var(--muted);font-weight:500}
.drawer-foot .btn{width:100%}
.drawer-foot .form-note{margin-top:10px;justify-content:center}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff;height:32px}
.qty button{width:28px;height:100%;border:0;background:transparent;display:grid;place-items:center;color:var(--ink)}
.qty button:hover{background:var(--paper)}
.qty .icon{width:13px;height:13px}
.qty input{width:38px;height:100%;border:0;text-align:center;font-size:12px;font-weight:700;padding:0;background:transparent}
.qty input::-webkit-inner-spin-button{display:none}
.qty.lg{height:50px;border-radius:9px}
.qty.lg button{width:42px}
.qty.lg input{width:52px;font-size:15px}
.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-45%);z-index:95;width:min(560px,calc(100% - 32px));max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transition:.3s var(--ease)}
body.modal-open .modal{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.modal-head{padding:26px 28px 0;display:flex;justify-content:space-between;gap:20px}
.modal-head h3{font-size:25px;line-height:1.15}
.modal-head p{font-size:12px;color:var(--muted);margin-top:6px}
.modal-body{padding:22px 28px 28px}
.modal-close{width:34px;height:34px;border:0;border-radius:50%;background:var(--paper);display:grid;place-items:center;flex:none}
.modal-success{text-align:center;padding:26px 10px 12px;display:none}
.modal-success .success-icon{width:64px;height:64px;border-radius:50%;background:#E8F3E7;color:var(--success);display:grid;place-items:center;margin:0 auto 18px}
.modal-success .success-icon .icon{width:30px;height:30px}
.modal.is-success form{display:none}
.modal.is-success .modal-success{display:block}

/* search overlay */
.search-panel{position:fixed;left:50%;top:100px;transform:translate(-50%,-20px);z-index:95;width:min(780px,calc(100% - 32px));background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transition:.3s var(--ease);overflow:hidden}
body.search-open .search-panel{opacity:1;visibility:visible;transform:translate(-50%,0)}
.search-panel-head{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line-2)}
.search-panel-head .icon{width:21px;height:21px;color:var(--muted)}
.search-panel-head input{flex:1;border:0;font-size:18px;font-weight:600;outline:none;min-width:0}
.search-panel-head .esc{font-size:10px;border:1px solid var(--line);padding:4px 7px;border-radius:5px;color:var(--muted)}
.search-results{max-height:55vh;overflow:auto;padding:10px}
.search-result{display:flex;align-items:center;gap:13px;padding:9px 12px;border-radius:10px;transition:.15s}
.search-result:hover{background:var(--paper)}
.search-result img{width:50px;height:50px;border-radius:7px;object-fit:cover;flex:none}
.search-result b{font-size:12px;line-height:1.35;display:block;font-weight:700}
.search-result span{font-size:10px;color:var(--muted)}
.search-result .price{margin-left:auto;font-size:12px;font-weight:800;white-space:nowrap}
.search-empty{padding:42px 20px;text-align:center;color:var(--muted);font-size:13px}
.search-popular{padding:0 22px 22px}
.search-popular h5{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:10px}
.search-chips{display:flex;flex-wrap:wrap;gap:7px}
.chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:11px;font-weight:600;transition:.2s}
.chip:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.chip.is-active{background:var(--ink);color:#fff;border-color:var(--ink)}

/* toast */
.toast-wrap{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);z-index:120;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}
.toast{display:flex;align-items:center;gap:10px;background:var(--forest);color:#fff;padding:12px 18px;border-radius:10px;font-size:12px;font-weight:600;box-shadow:var(--shadow-md);opacity:0;transform:translateY(12px);transition:.25s;max-width:90vw}
.toast.show{opacity:1;transform:none}
.toast .icon{width:17px;height:17px;color:var(--lime)}
.toast.error{background:var(--danger)}
.toast.error .icon{color:#fff}

/* compare / sticky bars */
.compare-bar{position:fixed;left:50%;bottom:22px;transform:translate(-50%,150%);z-index:60;background:var(--forest);color:#fff;border-radius:14px;padding:10px 12px 10px 18px;display:flex;align-items:center;gap:22px;box-shadow:var(--shadow-lg);transition:.35s var(--ease);width:min(720px,calc(100% - 32px))}
.compare-bar.is-visible{transform:translate(-50%,0)}
.compare-bar b{font-size:12px}
.compare-bar span{display:block;font-size:9px;color:rgba(255,255,255,.6)}
.compare-bar .btn{min-height:38px;font-size:11px;padding:0 16px}
.compare-bar .compare-clear{border:0;background:none;color:rgba(255,255,255,.55);font-size:10px}
.compare-bar .compare-clear:hover{color:#fff}

/* ---------- notifications / misc ---------- */
.notice{display:flex;gap:12px;padding:14px 16px;border-radius:12px;background:#FBF3E4;border:1px solid #EEDDBD;font-size:12px;line-height:1.5;color:#755218}
.notice .icon{width:18px;height:18px;flex:none;margin-top:1px;color:#B87915}
.notice.info{background:#EDF4F6;border-color:#D3E3E8;color:#315D6B}
.notice.info .icon{color:var(--blue)}
.notice.success{background:#EDF6EC;border-color:#D5E8D2;color:#2D6037}
.notice.success .icon{color:var(--success)}
.divider{height:1px;background:var(--line);margin:32px 0}
.tag{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:6px;background:var(--paper);font-size:10px;font-weight:650;color:var(--muted)}
.rating-stars{display:inline-flex;gap:2px;color:#E3A21A}
.rating-stars .icon{width:13px;height:13px}
.rating-stars .muted{color:#DDD9CE}
.avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;background:var(--paper-2)}
.marquee{overflow:hidden;position:relative;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex;gap:50px;align-items:center;width:max-content;animation:marquee 36s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-50%)}}
.brand-logo{font-size:20px;font-weight:800;letter-spacing:-.035em;color:#8A918A;white-space:nowrap;transition:.2s}
.brand-logo:hover{color:var(--ink)}

/* ---------- animations ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .75s var(--ease),transform .75s var(--ease)}
.reveal.in-view{opacity:1;transform:none}
.reveal[data-delay="1"]{transition-delay:.08s}
.reveal[data-delay="2"]{transition-delay:.16s}
.reveal[data-delay="3"]{transition-delay:.24s}
.reveal[data-delay="4"]{transition-delay:.32s}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
  .reveal{opacity:1;transform:none}
}

/* ---------- responsive ---------- */
@media(max-width:1240px){
  .brand{min-width:0}
  .brand-sub{display:none}
  .header-inner{gap:14px}
  .header-phone{display:none}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-top{grid-template-columns:1.4fr 1fr 1fr;gap:36px}
  .footer-cta-col{grid-column:1/-1;max-width:420px}
}
@media(max-width:1024px){
  .container{width:calc(100% - 40px)}
  .section{padding:74px 0}
  .topbar-note{display:none}
  .header-search{max-width:none}
  .header-actions .header-action span:not(.counter){display:none}
  .header-action{min-width:44px;width:44px}
  .mega-grid{grid-template-columns:repeat(2,1fr)}
  .mega-inner{grid-template-columns:1fr 260px;gap:22px}
  .product-card.list{grid-template-columns:150px 1fr auto}
  .product-card.list .product-body{flex-direction:column;align-items:flex-start;gap:10px}
  .product-card.list .product-bottom{margin-top:auto;padding-top:10px;flex-direction:row;align-items:flex-end;width:100%}
  .product-card.list .product-tools{display:none}
}
@media(max-width:860px){
  :root{--header-h:66px}
  body{padding-bottom:62px}
  .container{width:calc(100% - 32px)}
  .section{padding:58px 0}
  .section-sm{padding:48px 0}
  .topbar{display:none}
  .mega{top:var(--header-h)}
  .header-inner{height:var(--header-h);gap:8px}
  .brand{min-width:0;margin-right:auto}
  .brand-mark{width:35px;height:35px;border-radius:9px}
  .brand-mark svg{width:21px;height:21px}
  .brand-name{font-size:18px}
  .brand-sub{display:none}
  .burger{display:flex;order:-1;margin-left:-8px}
  .catalog-btn,.header-search,.header-action[data-action="compare"],.header-action[data-action="favorites"],.header-action.b2b-link{display:none}
  .header-actions .header-action[data-action="cart"]{display:flex}
  .mobile-search-btn{display:flex;width:42px;height:42px;border:0;background:transparent;align-items:center;justify-content:center}
  .mobile-search-btn .icon{width:22px;height:22px}
  .site-header{position:sticky}
  .mobile-nav{display:block}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product-body{padding:12px 12px 12px}
  .product-title{font-size:12px;min-height:34px}
  .product-brand{font-size:8px}
  .product-price strong{font-size:17px}
  .product-price strong small{font-size:9px}
  .product-tools{opacity:1;transform:none}
  .product-tool{width:30px;height:30px}
  .product-tool .icon{width:14px;height:14px}
  .product-badges .badge{height:21px;font-size:8px}
  .product-add{width:33px;height:33px}
  .section-head{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:26px}
  .section-head h2{font-size:32px}
  .section-head p{font-size:13px}
  .page-hero-inner{flex-direction:column;align-items:flex-start;gap:20px}
  .page-hero-side{max-width:none}
  .page-hero{padding-bottom:30px}
  .footer-top{grid-template-columns:1fr 1fr;gap:30px 20px;padding-bottom:36px}
  .footer-brand{grid-column:1/-1}
  .footer-cta-col{grid-column:1/-1;max-width:none}
  .footer-bottom{flex-direction:column;gap:14px}
  .site-footer{padding-top:48px;padding-bottom:24px}
  .drawer{width:100%}
  .search-panel{top:0;width:100%;height:100%;max-height:none;border-radius:0;transform:translate(-50%,-10px)}
  .search-panel-head{padding-top:max(18px,env(safe-area-inset-top))}
  .search-results{max-height:calc(100vh - 210px)}
  .modal{border-radius:var(--r-md)}
  .form-grid{grid-template-columns:1fr}
  .form-grid .span-2{grid-column:auto}
  .compare-bar{bottom:76px;padding:9px 10px 9px 14px;gap:10px}
  .compare-bar span{display:none}
  .compare-bar .btn{padding:0 12px}
  .toast-wrap{bottom:128px}
  .product-card.list{grid-template-columns:110px 1fr}
  .product-card.list .product-media{min-height:130px}
  .product-card.list .product-body{padding:10px 12px}
  .product-card.list .product-title{font-size:13px}
  .product-card.list .product-bottom{min-width:0}
}
@media(max-width:520px){
  .product-grid{gap:9px}
  .product-media{aspect-ratio:1/1}
  .product-body{padding:10px}
  .product-title{-webkit-line-clamp:3;min-height:50px;font-size:11.5px}
  .product-meta{font-size:8px;gap:5px}
  .product-meta .stock{font-size:8px}
  .product-rating{display:none}
  .product-price .from{font-size:8px}
  .product-price strong{font-size:15px}
  .product-add{width:30px;height:30px}
  .product-min{font-size:8px}
  .footer-top{grid-template-columns:1fr}
  .footer-col{display:none}
  .footer-col.footer-col-main{display:block}
  .footer-cta-col{display:block}
  .brand-name{font-size:16px}
  .brand-mark{width:32px;height:32px}
  .footer-legal{font-size:9px}
}

/* hero search icon wrapper */
.search-field > [data-icon]{
  position:absolute;left:17px;top:50%;transform:translateY(-50%);
  width:19px;height:19px;color:var(--muted);pointer-events:none;display:grid;place-items:center;
}
.search-field > [data-icon] .icon{width:19px;height:19px}
@media(max-width:1180px){
  .header-actions .header-action[data-action="cart"]{display:flex!important}
}
@media(max-width:860px){
  .header-actions .header-action[data-action="cart"]{display:flex!important;min-width:40px;width:40px}
  .header-actions .header-action[data-action="cart"] .icon{width:22px;height:22px}
  .header-actions .header-action[data-action="cart"] .counter{top:3px;right:4px}
}

.hero-stat b [data-count]{color:#fff}
@media(max-width:1024px){
  .header-actions .header-action > span:not([data-icon]):not(.counter){display:none}
  .header-actions .header-action > [data-icon]{display:grid!important}
}

.hero-stat b [data-count]{color:#fff;font-size:inherit;font-weight:inherit;line-height:1;letter-spacing:inherit;margin:0}

body.search-open .compare-bar,body.drawer-open .compare-bar,body.mega-open .compare-bar,body.modal-open .compare-bar{opacity:0;pointer-events:none}
