:root{--navy:#0b1b2c;--navy2:#102943;--blue:#1167e8;--blue2:#0c55c5;--text:#13243a;--muted:#6b7b8e;--line:#dfe7ef;--soft:#f5f8fb;--white:#fff;--green:#15b869;--shadow:0 18px 50px rgba(11,27,44,.12)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fff}.container{width:min(1180px,calc(100% - 36px));margin:auto}.topbar{background:#081523;color:#b9c9d9;font-size:12px}.topbar .container{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.header{position:sticky;top:0;z-index:50;background:rgba(11,27,44,.96);backdrop-filter:blur(12px);box-shadow:0 4px 20px rgba(0,0,0,.08)}.nav{height:72px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;min-width:210px}.brand strong{font-size:29px;letter-spacing:.5px}.brand span{font-size:9px;line-height:1.25;text-transform:uppercase;color:#c7d4df}.main-nav{display:flex;align-items:center;gap:22px;flex:1}.main-nav>a,.nav-catalog>a{color:#dce6ef;text-decoration:none;font-size:13px;font-weight:700}.main-nav a:hover,.main-nav .active{color:#fff}.nav-actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;padding:12px 18px;text-decoration:none;font-weight:800;font-size:13px;cursor:pointer}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 8px 20px rgba(17,103,232,.23)}.btn-primary:hover{background:var(--blue2)}.btn-light{background:#fff;color:var(--text)}.btn-outline{background:#fff;color:var(--blue);border:1px solid #b9cbe2}.round-btn,.search-btn,.menu-btn{width:38px;height:38px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:transparent;color:#fff;display:grid;place-items:center;text-decoration:none}.wa{color:#40da7a;font-weight:900}.menu-btn{display:none}.nav-catalog{position:relative}.mega{position:absolute;left:-250px;top:42px;width:940px;background:#fff;border-radius:0 0 14px 14px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s}.nav-catalog:hover .mega{opacity:1;visibility:visible;transform:none}.mega .container{width:auto;padding:24px;display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.mega b{display:block;margin-bottom:10px}.mega a{display:block;color:var(--muted);text-decoration:none;font-size:13px;padding:5px 0}.mobile-menu{display:none;background:var(--navy);padding:0 18px 18px}.mobile-menu a{display:block;color:#fff;text-decoration:none;padding:12px;border-top:1px solid rgba(255,255,255,.08)}.hero{background:linear-gradient(90deg,#0b1b2c 0%,#102943 50%,#dce6ef 50%,#eef3f7 100%);color:#fff;overflow:hidden}.hero-grid{min-height:555px;display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:38px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.13em;color:#9fc2e9}.hero h1{font-size:54px;line-height:1.02;margin:12px 0 18px;max-width:620px}.hero p{font-size:18px;line-height:1.6;color:#d1deea;max-width:610px}.hero-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:24px 0}.badge{font-size:12px;color:#dbe7f2;border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:10px 12px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-image{height:455px;display:flex;align-items:center;justify-content:center}.hero-image img{width:110%;max-width:760px;filter:drop-shadow(0 35px 35px rgba(11,27,44,.24))}.section{padding:74px 0}.soft{background:var(--soft)}.dark{background:var(--navy);color:#fff}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}.section h2{font-size:34px;line-height:1.15;margin:7px 0 8px}.section-head p,.section p{color:var(--muted);line-height:1.6}.link-blue{color:var(--blue);text-decoration:none;font-weight:800;font-size:13px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;text-decoration:none;color:var(--text);transition:.2s}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.category-card img{width:100%;height:180px;object-fit:contain}.category-card h3{margin:10px 0 6px}.category-card p{font-size:13px;margin:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}.info-panel{background:linear-gradient(135deg,#fff,#eaf1f7);padding:34px;border-radius:16px;border:1px solid var(--line)}.checks{display:grid;gap:12px;margin-top:25px}.checks span:before{content:'✓';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e8f2ff;color:var(--blue);font-weight:900;margin-right:10px}.lead-form{background:#fff;padding:28px;border-radius:16px;border:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:14px}.lead-form label,.config-form label{font-size:12px;font-weight:800;color:#53667a}.lead-form input,.lead-form select,.lead-form textarea,.config-form input,.config-form select{width:100%;margin-top:7px;padding:12px 13px;border:1px solid #cfd9e4;border-radius:8px;background:#fff;font:inherit}.wide,.filebox,.lead-form .btn,.form-status{grid-column:1/-1}.filebox{border:1px dashed #b8c7d5;border-radius:9px;padding:14px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.product-img{background:linear-gradient(#f7f9fb,#eef3f7);height:220px;display:grid;place-items:center}.product-img img{width:100%;height:100%;object-fit:contain;padding:12px}.product-card .body,.project-card .body,.article-card .body{padding:16px}.sku{font-size:11px;color:#74879a;font-weight:800}.price{font-size:20px;font-weight:900;margin:10px 0}.product-meta{font-size:12px;color:var(--muted);min-height:38px}.card-actions{display:flex;gap:8px;margin-top:15px}.card-actions .btn{flex:1;padding:10px 9px;font-size:11px}.room-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.room-card{position:relative;min-height:255px;border-radius:14px;overflow:hidden;color:#fff;background:#102943}.room-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.62}.room-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(11,27,44,.92))}.room-card .room-copy{position:absolute;z-index:2;left:18px;right:18px;bottom:16px}.room-card h3{margin:0 0 6px}.room-card p{color:#d6e1ea;font-size:12px;margin:0}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}.process{border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:20px;background:#0f263e}.process b{color:#78b5ff;font-size:24px}.process span{display:block;margin-top:12px;font-weight:800}.config-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:25px}.config-card{border:1px solid var(--line);border-radius:16px;padding:28px}.config-form{display:grid;grid-template-columns:1fr 1fr;gap:13px}.notice{background:#edf5ff;color:#2c537b;border-radius:8px;padding:12px;font-size:13px;margin-top:15px}.config-preview{background:linear-gradient(135deg,#e9eef3,#f9fbfc);border-radius:16px;display:grid;place-items:center;min-height:440px}.config-preview img{width:88%;max-height:400px;object-fit:contain}.project-grid,.knowledge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.knowledge-grid{grid-template-columns:repeat(4,1fr)}.project-card,.article-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.project-card img,.article-card img{width:100%;height:190px;object-fit:cover}.article-card img{height:145px}.cta-band{border-radius:18px;background:linear-gradient(110deg,#0c2035,#103f72);color:#fff;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:22px}.footer{background:#071421;color:#d2dde7;padding:46px 0 24px}.footer-grid{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:30px}.footer-col b{display:block;margin-bottom:10px}.footer-col a{display:block;color:#9fb0c0;text-decoration:none;padding:5px 0;font-size:13px}.copyright{border-top:1px solid rgba(255,255,255,.08);margin-top:30px;padding-top:18px;font-size:12px;color:#72879a}.mobile-actions{display:none}.breadcrumbs{font-size:12px;color:#708399;padding:18px 0}.breadcrumbs a{color:var(--blue);text-decoration:none}.page-hero{background:linear-gradient(105deg,#0b1b2c,#173a5d);color:#fff;padding:52px 0}.page-hero h1{font-size:44px;margin:8px 0}.page-hero p{max-width:720px;color:#d5e2ee}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.filter{border:1px solid var(--line);border-radius:999px;padding:9px 14px;font-size:12px;background:#fff}.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:42px}.gallery-main{background:var(--soft);border:1px solid var(--line);border-radius:16px;height:520px;display:grid;place-items:center}.gallery-main img{width:92%;height:92%;object-fit:contain}.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.thumb{height:90px;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;place-items:center}.thumb img{max-width:95%;max-height:90%;object-fit:contain}.product-info h1{font-size:42px;margin:7px 0 10px}.product-info .price{font-size:30px}.specs{border-top:1px solid var(--line);margin-top:22px}.spec-row{display:grid;grid-template-columns:1fr 1fr;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}.spec-row span:first-child{color:var(--muted)}.product-sticky{position:sticky;top:95px}.search-panel{position:fixed;inset:72px 0 auto 0;z-index:60;background:rgba(7,20,33,.97);display:none;padding:18px}.search-panel.open{display:block}.search-box{max-width:800px;margin:auto}.search-box input{width:100%;padding:16px;border-radius:10px;border:0}.search-results{color:#cbd7e2;padding:10px 2px;font-size:13px}.back-top{position:fixed;right:18px;bottom:18px;width:42px;height:42px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;text-decoration:none}
@media(max-width:980px){.main-nav{display:none}.menu-btn{display:grid}.hero{background:linear-gradient(#0b1b2c 0 58%,#e7edf2 58%)}.hero-grid{grid-template-columns:1fr;min-height:0;padding:58px 0 0}.hero h1{font-size:44px}.hero-image{height:380px}.category-grid,.product-grid,.room-grid,.process-grid{grid-template-columns:repeat(2,1fr)}.split,.config-grid,.product-layout{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr 1fr}.knowledge-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.mobile-menu.open{display:block}.product-sticky{position:static}}
@media(max-width:620px){.container{width:min(100% - 24px,1180px)}.topbar{display:none}.nav{height:62px}.brand span{display:none}.brand{min-width:0}.brand strong{font-size:25px}.nav-actions .btn-primary,.round-btn,.search-btn{display:none}.hero{background:linear-gradient(#0b1b2c 0 66%,#e7edf2 66%)}.hero-grid{padding-top:38px;gap:14px}.hero h1{font-size:38px}.hero p{font-size:15px}.hero-badges{grid-template-columns:1fr 1fr}.hero-actions .btn{flex:1}.hero-image{height:315px}.section{padding:54px 0}.section h2{font-size:28px}.section-head{align-items:flex-start;flex-direction:column}.category-grid,.product-grid,.room-grid,.process-grid,.project-grid,.knowledge-grid{grid-template-columns:1fr 1fr}.category-card{padding:12px}.category-card img{height:125px}.category-card h3{font-size:14px}.category-card p{display:none}.product-grid{grid-template-columns:1fr}.room-grid,.project-grid{grid-template-columns:1fr}.knowledge-grid{grid-template-columns:1fr 1fr}.lead-form,.config-form{grid-template-columns:1fr}.lead-form label,.wide,.filebox,.lead-form .btn,.form-status{grid-column:auto}.cta-band{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}.mobile-actions{position:fixed;z-index:70;display:grid;grid-template-columns:repeat(3,1fr);bottom:0;left:0;right:0;background:#071421;border-top:1px solid #20364a}.mobile-actions a{color:#fff;text-decoration:none;text-align:center;padding:13px 5px;font-size:11px;font-weight:800}.back-top{bottom:62px}.page-hero h1,.product-info h1{font-size:34px}.gallery-main{height:360px}.product-layout{gap:20px}}

/* v2.2 — navigation, hover states, quote list */
.mega{overflow:hidden;border:1px solid #e3eaf2}
.mega b{color:var(--text);font-size:14px}
.main-nav .mega a{color:#65788d!important;border-radius:7px;padding:7px 9px;margin:1px -9px;transition:background .16s,color .16s,transform .16s}
.main-nav .mega a:hover,.main-nav .mega a:focus{color:var(--blue)!important;background:#edf5ff;transform:translateX(3px);outline:none}
.nav-catalog>a{display:inline-flex;align-items:center;gap:5px}
.nav-catalog>a:after{content:'⌄';font-size:11px;opacity:.7}
.quote-list-btn{white-space:nowrap;background:#122d49;color:#dce8f3;border:1px solid rgba(255,255,255,.14);position:relative}
.quote-list-btn:hover{background:#183a5d;color:#fff}
.quote-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--blue);color:#fff;font-size:10px;font-weight:900}
.filter{cursor:pointer;transition:.16s;user-select:none}
.filter:hover,.filter.active{border-color:#8db9ef;background:#edf5ff;color:var(--blue)}
.product-card{transition:transform .18s,box-shadow .18s,border-color .18s}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#c8d8e7}
.quote-toast{position:fixed;right:20px;bottom:78px;z-index:120;background:#0b1b2c;color:#fff;padding:13px 16px;border-radius:10px;box-shadow:var(--shadow);opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s;max-width:320px;font-size:13px}.quote-toast.show{opacity:1;transform:none}
.quote-drawer{position:fixed;inset:0;z-index:110;display:none}.quote-drawer.open{display:block}.quote-drawer-backdrop{position:absolute;inset:0;background:rgba(3,12,21,.55)}.quote-drawer-panel{position:absolute;top:0;right:0;width:min(430px,100%);height:100%;background:#fff;box-shadow:-20px 0 60px rgba(0,0,0,.2);padding:24px;overflow:auto}.quote-drawer-head{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding-bottom:16px}.quote-drawer-head h3{margin:0}.quote-close{border:0;background:#eef3f7;width:36px;height:36px;border-radius:8px;font-size:20px;cursor:pointer}.quote-items{display:grid;gap:10px;margin:18px 0}.quote-item{border:1px solid var(--line);border-radius:10px;padding:13px;display:flex;justify-content:space-between;gap:12px;align-items:center}.quote-item b{font-size:13px}.quote-remove{border:0;background:#fff0f0;color:#b03030;border-radius:7px;padding:6px 9px;cursor:pointer}.quote-empty{color:var(--muted);font-size:13px;padding:16px 0}.quote-drawer .btn{width:100%}
@media(max-width:980px){.quote-list-btn{display:none}}


/* v2.4 — functional catalog, quote workspace, accessibility */
.catalog-toolbar{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;margin:0 0 22px}.catalog-search{position:relative}.catalog-search input{width:100%;padding:14px 44px 14px 15px;border:1px solid #cfd9e4;border-radius:10px;font:inherit}.catalog-search span{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#7b8da0}.catalog-summary{font-size:13px;color:var(--muted);white-space:nowrap}.catalog-products{margin-top:38px}.catalog-products .product-card[hidden]{display:none!important}.empty-catalog{display:none;border:1px dashed #c8d5e2;border-radius:12px;padding:26px;text-align:center;color:var(--muted);background:#fafcfe}.empty-catalog.show{display:block}.product-tags{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.product-tag{font-size:10px;padding:5px 7px;border-radius:999px;background:#eef4fa;color:#526b84}.quote-page-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:28px}.quote-workspace{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.quote-workspace-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.quote-table{width:100%;border-collapse:collapse}.quote-table th,.quote-table td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);font-size:13px}.quote-table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#71859a;background:#f7fafc}.qty-control{display:flex;align-items:center;gap:7px}.qty-control button{width:28px;height:28px;border:1px solid #cad6e2;background:#fff;border-radius:6px;cursor:pointer}.quote-total{padding:18px 22px;background:#f7fafc;display:flex;justify-content:space-between;font-weight:900}.quote-side{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;height:max-content;position:sticky;top:94px}.quote-side h3{margin-top:0}.quote-side .lead-form{border:0;padding:0;grid-template-columns:1fr}.quote-side .lead-form label,.quote-side .lead-form .btn,.quote-side .form-status{grid-column:auto}.text-btn{border:0;background:none;color:var(--blue);font-weight:800;cursor:pointer;padding:0}.category-card[href="#"]{pointer-events:none;opacity:.8}.category-card .category-link{display:inline-block;margin-top:10px;color:var(--blue);font-size:12px;font-weight:800}.main-nav a:focus-visible,.btn:focus-visible,.filter:focus-visible,.category-card:focus-visible{outline:3px solid rgba(17,103,232,.3);outline-offset:2px}.footer-col a:hover{color:#fff}.mobile-menu a:hover{background:#102943}.no-scroll{overflow:hidden}
@media(max-width:980px){.quote-page-grid{grid-template-columns:1fr}.quote-side{position:static}.catalog-toolbar{grid-template-columns:1fr}}
@media(max-width:620px){.quote-table th:nth-child(2),.quote-table td:nth-child(2){display:none}.quote-table th,.quote-table td{padding:11px 9px}.catalog-summary{white-space:normal}.quote-workspace-head{align-items:flex-start;flex-direction:column}}

/* v2.4 */
.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.btn:disabled{opacity:.65;cursor:wait}
.thanks-page{min-height:100vh;background:linear-gradient(135deg,#071421,#173a5d);display:grid;place-items:center;padding:24px}.thanks-card{width:min(620px,100%);background:#fff;border-radius:22px;padding:46px;text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.28)}.thanks-check{margin:0 auto 20px;width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:#e9f8ef;color:#16864b;font-size:34px;font-weight:900}.thanks-card h1{font-size:42px;margin:8px 0 12px}.thanks-card p{color:#66798c;line-height:1.65}.thanks-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:26px 0}.thanks-phone{font-size:20px;font-weight:900;color:#1473e6;text-decoration:none}.mega a:hover,.mega a:focus-visible{color:#116fd6!important;background:#edf6ff;border-radius:7px;padding-left:9px}.footer-col a:hover{color:#fff}.form-trust{font-size:11px;color:#74879a;grid-column:1/-1}.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus,.config-form input:focus,.config-form select:focus{outline:3px solid rgba(20,115,230,.12);border-color:#1473e6}
@media(max-width:620px){.thanks-card{padding:32px 20px}.thanks-card h1{font-size:32px}}

/* v2.7 */
.staff-link-top{color:#dbe8f4;text-decoration:none}.staff-link-top:hover{color:#fff;text-decoration:underline}


/* ============================================================
   v4.0.0 — PRODUCT CARDS + CONSULTATION FORM
   ============================================================ */
.product-grid{
  align-items:stretch;
}
.product-card{
  border:1px solid #dfe4e9!important;
  border-radius:0!important;
  background:#fff!important;
  overflow:hidden;
  display:flex!important;
  flex-direction:column;
  min-height:100%;
  box-shadow:none!important;
}
.product-card .product-img{
  height:250px!important;
  min-height:250px;
  padding:18px!important;
  background:#fff!important;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-card .product-img img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  transition:transform .2s ease;
}
.product-card:hover .product-img img{
  transform:scale(1.025);
}
.product-card .body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:14px 20px 20px!important;
}
.product-card-category{
  font-size:11px;
  line-height:1.2;
  color:#8a9198;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:8px;
}
.product-card .sku{
  order:3;
  margin:10px 0 0!important;
  color:#2358df!important;
  font-size:12px!important;
  font-weight:800!important;
}
.product-card h3{
  order:2;
  min-height:48px;
  margin:0!important;
  font-size:17px!important;
  line-height:1.35!important;
  color:#24292f!important;
}
.product-card .product-tags{
  display:none!important;
}
.product-card-description{
  order:4;
  min-height:82px;
  margin:16px 0 12px;
  color:#555f68;
  font-size:13px;
  line-height:1.48;
}
.product-card .price{
  order:5;
  margin-top:auto!important;
  padding-top:8px;
  color:#ff3434!important;
  font-size:15px!important;
  font-weight:900!important;
}
.product-card .card-actions{
  order:1;
  display:grid!important;
  gap:6px!important;
  margin:0 0 18px!important;
}
.product-card-actions-v4 .product-consult-btn,
.product-card-actions-v4 .product-cart-btn{
  width:100%;
  min-height:42px;
  border:0;
  border-radius:8px;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}
.product-consult-btn{
  background:linear-gradient(90deg,#ff6761,#ff302b);
  color:#fff;
}
.product-consult-btn:hover{
  filter:brightness(.96);
}
.product-cart-btn{
  background:#0a0a0b!important;
  color:#fff!important;
}
.product-cart-btn:hover{
  background:#202124!important;
}
.product-detail-link{
  display:inline-flex;
  margin-top:4px;
  color:#176fe8!important;
  font-size:12px;
  font-weight:800;
  text-decoration:none!important;
}

/* Consultation modal */
body.product-consult-open{
  overflow:hidden;
}
.product-consult-modal{
  position:fixed;
  inset:0;
  z-index:50000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.product-consult-modal.open{
  display:flex;
}
.product-consult-backdrop{
  position:absolute;
  inset:0;
  background:rgba(11,27,44,.58);
  backdrop-filter:blur(2px);
}
.product-consult-dialog{
  position:relative;
  z-index:2;
  width:min(610px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  background:#fff;
  border-radius:20px;
  padding:30px;
  box-shadow:0 24px 80px rgba(11,27,44,.24);
}
.product-consult-close{
  position:absolute;
  right:18px;
  top:18px;
  width:42px;
  height:42px;
  border:0;
  border-radius:12px;
  background:#eef3f7;
  color:#0b1b2c;
  font-size:27px;
  line-height:1;
  cursor:pointer;
}
.product-consult-heading{
  padding-right:48px;
}
.product-consult-heading>span{
  display:block;
  color:#6d85a0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}
.product-consult-heading h2{
  margin:5px 0 7px;
  font-size:27px;
  line-height:1.2;
}
.product-consult-heading p{
  margin:0;
  color:#687b8d;
  font-size:13px;
  line-height:1.5;
}
.product-consult-selected{
  margin:22px 0 16px;
  padding:14px;
  border:1px solid #dce5ed;
  border-radius:13px;
  background:#f7fafc;
}
.product-consult-selected>small{
  display:block;
  margin-bottom:9px;
  color:#7890a8;
  font-size:9px;
  font-weight:900;
}
.product-consult-selected-grid{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  align-items:center;
}
.product-consult-selected-grid img{
  width:72px;
  height:72px;
  object-fit:contain;
  padding:6px;
  background:#fff;
  border-radius:9px;
}
.product-consult-selected-grid b{
  display:block;
  color:#1a2c3e;
  font-size:14px;
}
.product-consult-selected-grid span{
  display:block;
  margin-top:4px;
  color:#71879a;
  font-size:10px;
}
.product-consult-form{
  display:grid;
  gap:12px;
}
.product-consult-form label span{
  display:block;
  margin:0 0 5px;
  color:#2c4053;
  font-size:11px;
  font-weight:800;
}
.product-consult-form input{
  width:100%;
  height:48px;
  border:1px solid #cfdae4;
  border-radius:11px;
  background:#fff;
  padding:0 14px;
  color:#11283e;
  font-size:14px;
  outline:none;
}
.product-consult-form input:focus{
  border-color:#287be2;
  box-shadow:0 0 0 3px rgba(40,123,226,.10);
}
.product-consult-note{
  color:#8190a0;
  font-size:10px;
  line-height:1.4;
}
.product-consult-submit{
  width:100%;
  height:50px;
  border:0;
  border-radius:11px;
  background:#176fe8;
  color:#fff;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
}
.product-consult-submit:hover{
  background:#0b63d5;
}
.product-consult-submit:disabled{
  opacity:.65;
  cursor:wait;
}
.product-consult-status{
  min-height:18px;
  text-align:center;
  font-size:11px;
  font-weight:800;
}
.product-consult-status.success{color:#08783a}
.product-consult-status.error{color:#d33535}

@media(max-width:700px){
  .product-card .product-img{height:220px!important;min-height:220px}
  .product-consult-modal{padding:12px}
  .product-consult-dialog{padding:22px 16px}
  .product-consult-heading h2{font-size:22px}
}

/* v4.0.1 — CART + ARTICLE + BIN */
.product-card .sku::before{
  content:'Артикул: ';
  color:#6b737c;
  font-weight:700;
}
.product-cart-btn.in-cart,
[data-add-product].in-cart{
  background:#142d46!important;
  color:#fff!important;
}
.quote-list-btn::before{
  content:'🛒 ';
}
.quote-drawer-head h3::before{
  content:'🛒 ';
}
input[name="bin"]:invalid:not(:placeholder-shown){
  border-color:#e25a5a;
}

/* v4.0.3: whole product card opens product detail */
.product-card[data-card-href]{cursor:pointer}
.product-card[data-card-href] h3,
.product-card[data-card-href] .product-img,
.product-card[data-card-href] .product-meta,
.product-card[data-card-href] .sku{cursor:pointer}


/* ============================================================
   MIIT.kz v4.1.0 — FULL VISUAL REDESIGN
   ============================================================ */
:root{
  --v41-navy:#0b2747;
  --v41-navy2:#123b68;
  --v41-blue:#176fe8;
  --v41-red:#ef343c;
  --v41-text:#10233b;
  --v41-muted:#65788e;
  --v41-line:#dfe7ef;
  --v41-soft:#f6f9fc;
  --v41-bg:#ffffff;
  --v41-radius:12px;
}
*{box-sizing:border-box}
html{background:#fff}
body{
  margin:0;
  background:#fff!important;
  color:var(--v41-text)!important;
  font-family:Inter,Segoe UI,Arial,sans-serif!important;
  -webkit-font-smoothing:antialiased;
}
.container{width:min(1480px,calc(100% - 56px))!important;margin-inline:auto}
.topbar{display:none!important}

/* Header */
.header.miit-v41-header{
  position:sticky!important;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #edf1f5!important;
  box-shadow:none!important;
  backdrop-filter:blur(12px);
}
.miit-v41-header .nav{
  min-height:88px!important;
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  gap:36px!important;
  align-items:center!important;
}
.miit-v41-brand{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  text-decoration:none!important;
  white-space:nowrap;
}
.miit-v41-brand strong{
  font-size:38px!important;
  line-height:1!important;
  letter-spacing:-1.8px;
  color:var(--v41-navy)!important;
  font-weight:900!important;
}
.miit-v41-brand .brand-kz{color:var(--v41-red)!important}
.miit-v41-brand>span{
  color:#20364c!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.miit-v41-header .main-nav{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:34px!important;
}
.miit-v41-header .main-nav>a,
.miit-v41-header .nav-catalog>a{
  color:#10233b!important;
  font-size:14px!important;
  font-weight:750!important;
  text-decoration:none!important;
  padding:16px 0!important;
  white-space:nowrap;
}
.catalog-menu-icon{font-size:16px;margin-right:4px}
.miit-v41-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.v41-icon-btn,
.v41-favorite-header,
.v41-cart-header{
  position:relative!important;
  border:0!important;
  background:transparent!important;
  color:#10233b!important;
  min-height:46px!important;
  border-radius:10px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  cursor:pointer!important;
  font-size:13px!important;
  font-weight:750!important;
  box-shadow:none!important;
}
.v41-icon-btn{width:46px!important;justify-content:center;font-size:27px!important}
.v41-favorite-header:hover,.v41-cart-header:hover,.v41-icon-btn:hover{background:#f4f7fa!important}
.v41-heart{font-size:28px;line-height:1}
.v41-cart-icon{font-size:20px}
.v41-badge{
  position:absolute!important;
  top:0!important;
  right:2px!important;
  display:grid!important;
  place-items:center!important;
  min-width:19px!important;
  height:19px!important;
  border-radius:999px!important;
  padding:0 5px!important;
  background:var(--v41-red)!important;
  color:#fff!important;
  font-size:9px!important;
  font-weight:900!important;
}
.v41-badge:empty{display:none!important}
.miit-v41-header .menu-btn{display:none!important}

/* Mega menu */
.miit-v41-header .mega{
  top:70px!important;
  border:1px solid #e6edf3!important;
  border-radius:16px!important;
  box-shadow:0 18px 50px rgba(10,35,65,.13)!important;
  background:#fff!important;
}
.miit-v41-header .mega .container{padding:24px!important}

/* Breadcrumbs and headings */
.breadcrumbs,.breadcrumb{
  color:#738499!important;
  font-size:12px!important;
  margin-top:24px!important;
}
.page-hero,.catalog-hero{
  background:#fff!important;
  padding:38px 0 26px!important;
}
.page-hero h1,.catalog-hero h1,.section-head h2{
  color:#10233b!important;
  font-weight:900!important;
  letter-spacing:-.7px!important;
}
.page-hero h1,.catalog-hero h1{font-size:36px!important;line-height:1.12!important;margin-bottom:12px!important}
.page-hero p,.catalog-hero p{color:#607286!important;font-size:14px!important;line-height:1.55!important}

/* Product grid */
.product-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
.product-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  border:1px solid var(--v41-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:none!important;
  transform:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.product-card:hover{
  transform:translateY(-2px)!important;
  border-color:#cbd8e4!important;
  box-shadow:0 12px 34px rgba(13,44,77,.08)!important;
}
.product-card .product-img{
  height:300px!important;
  min-height:300px!important;
  padding:25px!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.product-card .product-img img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:contain!important;
  mix-blend-mode:multiply;
}
.product-card .body{
  display:flex!important;
  flex-direction:column!important;
  flex:1!important;
  padding:18px 20px 20px!important;
}
.product-card h3{
  margin:0 0 11px!important;
  min-height:50px!important;
  color:#10233b!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1.32!important;
}
.product-card .sku{
  margin:0 0 10px!important;
  color:#465b70!important;
  font-size:12px!important;
  font-weight:650!important;
  order:initial!important;
}
.product-card .sku::before{
  color:#465b70!important;
  font-weight:650!important;
}
.product-card-category{
  display:none!important;
}
.product-card-description,.product-card .product-meta{
  min-height:68px!important;
  margin:0 0 16px!important;
  color:#53677c!important;
  font-size:13px!important;
  line-height:1.5!important;
  order:initial!important;
}
.product-card .price{
  order:initial!important;
  margin-top:auto!important;
  border-top:1px solid #e8edf2!important;
  padding-top:16px!important;
  color:#10233b!important;
  font-size:14px!important;
  font-weight:900!important;
}
.product-card .card-actions{
  order:initial!important;
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
  margin:14px 0 0!important;
}
.product-card-actions-v4 .product-cart-btn,
.product-card [data-add-product]{
  order:1;
  width:100%!important;
  min-height:43px!important;
  border:1px solid var(--v41-navy)!important;
  border-radius:7px!important;
  background:linear-gradient(180deg,#123b68,#082849)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:850!important;
  cursor:pointer!important;
}
.product-card-actions-v4 .product-consult-btn{
  order:2;
  width:100%!important;
  min-height:43px!important;
  border:1px solid #cbd5df!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#10233b!important;
  font-size:13px!important;
  font-weight:850!important;
  cursor:pointer!important;
}
.product-card-actions-v4 .product-consult-btn::before{content:'◯ ';font-size:11px}
.product-card [data-add-product]::before{content:'🛒 ';font-size:12px}
.product-card .product-detail-link{display:none!important}

/* Favorite heart on every card */
.v41-fav-btn{
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  z-index:10!important;
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.9)!important;
  color:#8492a1!important;
  font-size:27px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.v41-fav-btn.active{color:var(--v41-red)!important}
.v41-fav-btn:hover{background:#fff!important;box-shadow:0 3px 12px rgba(0,0,0,.1)!important}

/* Catalog filters/sorting */
.filters{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-bottom:22px!important;
}
.filter{
  padding:9px 14px!important;
  border:1px solid #dce5ee!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#52667b!important;
  font-size:12px!important;
}
.filter.active,.filter:hover{
  background:#edf5ff!important;
  color:#145eaf!important;
  border-color:#9fc3ea!important;
}
.v41-sortbar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin:-66px 0 34px;
  position:relative;
  z-index:3;
}
.v41-sortbar label{font-size:13px;color:#2b4056}
.v41-sortbar select{
  height:46px;
  min-width:210px;
  border:1px solid #d9e2ea;
  border-radius:9px;
  background:#fff;
  color:#10233b;
  padding:0 14px;
  font:inherit;
}

/* Forms */
.lead-form,.product-consult-dialog,.quote-side,.config-card,.contact-card{
  border:1px solid #e0e8ef!important;
  border-radius:14px!important;
  box-shadow:none!important;
  background:#fff!important;
}
.lead-form input,.lead-form textarea,.lead-form select,
.product-consult-form input{
  border:1px solid #d5e0e9!important;
  border-radius:9px!important;
  background:#fff!important;
  min-height:48px!important;
}
.btn-primary,.product-consult-submit{
  background:linear-gradient(180deg,#176fe8,#0d62cf)!important;
  color:#fff!important;
  border:0!important;
  border-radius:8px!important;
  font-weight:850!important;
}
.btn-outline{border:1px solid #cbd6e0!important;background:#fff!important;color:#10233b!important}

/* Cart drawer */
.quote-drawer-panel{
  width:min(470px,100%)!important;
  background:#fff!important;
  box-shadow:-18px 0 55px rgba(12,39,69,.16)!important;
}
.quote-item{border:1px solid #e0e8ef!important;border-radius:10px!important}
.qty-control button{border-radius:7px!important}

/* Product detail pages */
.product-layout{gap:48px!important}
.gallery-main{border:1px solid #e0e8ef!important;border-radius:14px!important;background:#fff!important}
.product-info h1{font-size:34px!important;color:#10233b!important}
.product-info .sku{color:#52677d!important}

/* Home sections */
.section{padding:64px 0!important}
.section:nth-of-type(even){background:#f8fafc}
.hero{background:#fff!important}
.hero h1{color:#10233b!important;font-weight:900!important;letter-spacing:-1.1px!important}
.hero p{color:#5f7285!important}

/* Footer */
.footer{
  background:#0b2747!important;
  color:#e8f0f7!important;
  padding-top:52px!important;
}
.footer a{color:#c9d7e4!important}
.footer .brand strong{color:#fff!important}
.footer .copyright{border-color:rgba(255,255,255,.12)!important;color:#8fa6bb!important}

/* Remove old "Подробнее" just in case */
.product-card a.product-detail-link,
.product-card .card-actions a[href*="quote-list"]{display:none!important}

/* Favorite panel */
.v41-favorite-panel{
  position:fixed;
  inset:0;
  z-index:50050;
  display:none;
}
.v41-favorite-panel.open{display:block}
.v41-favorite-backdrop{position:absolute;inset:0;background:rgba(7,23,40,.48)}
.v41-favorite-drawer{
  position:absolute;right:0;top:0;height:100%;width:min(470px,100%);
  background:#fff;padding:24px;overflow:auto;
  box-shadow:-18px 0 55px rgba(12,39,69,.16);
}
.v41-favorite-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6edf3;padding-bottom:16px}
.v41-favorite-head h3{margin:0}
.v41-favorite-close{width:38px;height:38px;border:0;border-radius:9px;background:#eef3f7;font-size:22px;cursor:pointer}
.v41-favorite-items{display:grid;gap:10px;margin-top:18px}
.v41-favorite-item{display:flex;gap:12px;align-items:center;border:1px solid #e0e8ef;border-radius:10px;padding:10px}
.v41-favorite-item img{width:72px;height:72px;object-fit:contain}
.v41-favorite-item b{display:block;font-size:12px}
.v41-favorite-item small{display:block;color:#71869a;margin-top:3px}
.v41-favorite-item button{margin-left:auto;border:0;background:#f2f5f8;border-radius:7px;width:32px;height:32px;cursor:pointer}
.v41-favorite-empty{color:#71869a;font-size:13px;padding:24px 0}

/* Pagination style */
.pagination,.pager{display:flex!important;justify-content:center!important;gap:8px!important;margin:34px 0!important}
.pagination a,.pagination button,.pager a,.pager button{
  min-width:42px!important;height:42px!important;border:1px solid #d9e2ea!important;
  border-radius:8px!important;background:#fff!important;color:#10233b!important;
}
.pagination .active,.pager .active{background:#0b315b!important;color:#fff!important;border-color:#0b315b!important}

/* Responsive */
@media(max-width:1200px){
  .miit-v41-header .main-nav{gap:20px!important}
  .v41-action-label{display:none}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .product-card .product-img{height:270px!important;min-height:270px!important}
}
@media(max-width:900px){
  .container{width:min(100% - 28px,1480px)!important}
  .miit-v41-header .nav{grid-template-columns:1fr auto!important;min-height:72px!important}
  .miit-v41-header .main-nav{display:none!important}
  .miit-v41-header .menu-btn{display:inline-flex!important}
  .miit-v41-brand strong{font-size:31px!important}
  .miit-v41-brand>span{display:none!important}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .v41-sortbar{margin:0 0 22px;justify-content:flex-start}
}
@media(max-width:600px){
  .product-grid{grid-template-columns:1fr!important}
  .product-card .product-img{height:280px!important}
  .v41-favorite-header .v41-action-label,.v41-cart-header .v41-action-label{display:none!important}
  .v41-icon-btn,.v41-favorite-header,.v41-cart-header{padding:0 7px!important}
}

/* v4.2.0 — THREE LEVEL MEGA MENU */
.miit-v41-header .nav-catalog{position:static!important}
.miit-v41-header .mega3{
  position:absolute!important;left:50%!important;top:72px!important;
  transform:translateX(-50%) translateY(8px)!important;
  width:min(1180px,calc(100vw - 36px))!important;padding:0!important;
  border:1px solid #dde5ed!important;border-radius:12px!important;background:#fff!important;
  box-shadow:0 22px 70px rgba(9,32,56,.18)!important;overflow:hidden!important;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}
.miit-v41-header .nav-catalog:hover .mega3,
.miit-v41-header .nav-catalog.mega-open .mega3{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transform:translateX(-50%) translateY(0)!important
}
.mega3-grid{display:grid!important;grid-template-columns:280px 330px minmax(360px,1fr)!important;min-height:520px!important}
.mega3-col{min-width:0!important;padding:18px 0!important}
.mega3-col-1{background:#fbfcfd;border-right:1px solid #e5ebf0}
.mega3-col-2{background:#fff;border-right:1px solid #e5ebf0}
.mega3-col-3{background:#f8fafc}
.mega3-col-title{padding:0 18px 12px!important;color:#7b8a98!important;font-size:10px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.mega3-l1-item,.mega3-l2-item{
  width:100%!important;min-height:48px!important;border:0!important;border-bottom:1px solid #eef2f5!important;
  background:transparent!important;color:#263748!important;padding:8px 14px 8px 18px!important;
  display:grid!important;grid-template-columns:27px 1fr auto!important;gap:8px!important;align-items:center!important;
  text-align:left!important;cursor:pointer!important;font-size:13px!important;font-weight:780!important
}
.mega3-l2-item{grid-template-columns:1fr auto!important;padding-left:20px!important}
.mega3-l1-item:hover,.mega3-l1-item.active,.mega3-l2-item:hover,.mega3-l2-item.active{background:#edf5ff!important;color:#155eaa!important}
.mega3-l1-item.active{box-shadow:inset 3px 0 0 #176fe8}
.mega3-icon{width:25px;height:25px;border-radius:7px;background:#fff0f1;color:#ef343c;display:grid;place-items:center;font-size:15px;font-weight:900}
.mega3-l3-wrap{padding:0 20px 20px!important}
.mega3-l3-group{margin-bottom:18px!important}
.mega3-l3-group-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 8px!important}
.mega3-l3-group-head a{color:#10233b!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important}
.mega3-l3-group-head a:hover{color:#176fe8!important}
.mega3-product-list{display:grid!important;grid-template-columns:1fr!important;gap:2px!important}
.mega3-product-link{display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;padding:7px 9px!important;border-radius:7px!important;text-decoration:none!important;color:#57697b!important;font-size:11px!important;line-height:1.25!important}
.mega3-product-link:hover{background:#fff!important;color:#155eaa!important}
.mega3-product-link small{color:#91a0ae!important;font-size:9px!important}
.mega3-empty{padding:8px 0 4px!important;color:#718397!important;font-size:11px!important;line-height:1.45!important}
.mega3-all{display:inline-flex!important;margin-top:5px!important;color:#176fe8!important;font-size:11px!important;font-weight:850!important;text-decoration:none!important}
@media(max-width:900px){
  .miit-v41-header .mega3{position:fixed!important;left:0!important;right:0!important;top:72px!important;bottom:0!important;width:100%!important;transform:none!important;border-radius:0!important;overflow:auto!important}
  .miit-v41-header .nav-catalog.mega-open .mega3{transform:none!important}
  .mega3-grid{grid-template-columns:1fr!important;min-height:0!important}
  .mega3-col{border-right:0!important;border-bottom:1px solid #e5ebf0!important}
  .mega3-col-1,.mega3-col-2,.mega3-col-3{background:#fff!important}
}

/* v4.2.1 — LEFT AD SIDEBAR */
.catalog-products-section{background:#fff!important}
.catalog-with-ad{
  display:grid!important;
  grid-template-columns:260px minmax(0,1fr)!important;
  gap:28px!important;
  align-items:start!important;
}
.catalog-ad-sidebar{
  position:sticky!important;
  top:108px!important;
  min-width:0!important;
}
.catalog-ad-card{
  width:100%!important;
  border:1px solid #dfe7ef!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 8px 26px rgba(13,44,77,.06)!important;
}
.catalog-ad-link{display:block!important;text-decoration:none!important}
.catalog-ad-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:3/5!important;
  object-fit:cover!important;
}
.catalog-ad-video-wrap{background:#081c32}
.catalog-ad-video{display:block;width:100%;height:auto;aspect-ratio:3/5;object-fit:cover}
.catalog-products-main{min-width:0!important}
.catalog-products-main .product-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
@media(min-width:1450px){
  .catalog-with-ad{grid-template-columns:280px minmax(0,1fr)!important}
}
@media(max-width:1100px){
  .catalog-with-ad{grid-template-columns:210px minmax(0,1fr)!important;gap:18px!important}
  .catalog-products-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:800px){
  .catalog-with-ad{grid-template-columns:1fr!important}
  .catalog-ad-sidebar{position:static!important}
  .catalog-ad-card{max-width:100%!important}
  .catalog-ad-image,.catalog-ad-video{aspect-ratio:16/7!important}
  .catalog-products-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .catalog-products-main .product-grid{grid-template-columns:1fr!important}
}


/* ============================================================
   MIIT.kz v5.2.0 — TEZ-PHARM ARCHITECTURE / GRAPHITE + MINT
   ============================================================ */
:root{
  --v5-purple:#20A995;
  --v5-purple2:#32C3B0;
  --v5-purple-dark:#087F78;
  --v5-lav:#EFF8F6;
  --v5-lav2:#DDF2EE;
  --v5-mint:#20A995;
  --v5-graphite:#20252B;
  --v5-text:#24272D;
  --v5-muted:#6E727A;
  --v5-line:#E2E3E8;
  --v5-bg:#fff;
}
html,body{margin:0;background:#fff!important;color:var(--v5-text)!important;font-family:Arial,Segoe UI,sans-serif!important}
body{padding-bottom:0}
.v5-container{width:min(1330px,calc(100% - 34px));margin:0 auto}

/* 3-band header */
.v5-header{position:sticky;top:0;z-index:3000;background:#fff}
.v5-topbar{background:var(--v5-graphite);color:#fff;font-size:12px;font-weight:700}
.v5-topbar-inner{height:34px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.v5-top-left,.v5-top-right{display:flex;align-items:center;gap:24px}
.v5-topbar a{color:#fff;text-decoration:none}
.v5-mainbar{border-bottom:1px solid #ececf0;background:#fff}
.v5-mainbar-inner{min-height:64px;display:grid;grid-template-columns:220px minmax(340px,1fr) auto;gap:28px;align-items:center}
.v5-logo{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--v5-graphite)}
.v5-logo b{font-size:31px;line-height:1;font-weight:900;letter-spacing:-1.5px}
.v5-logo b span{color:var(--v5-purple)}
.v5-logo small{font-size:9px;line-height:1.2;font-weight:700;color:#555b65}
.v5-search{display:flex;height:43px;border:1px solid #dfe1e7;border-radius:10px;overflow:hidden;background:#fafafa}
.v5-search input{flex:1;min-width:0;border:0!important;background:transparent!important;padding:0 15px!important;font-size:13px!important;outline:none!important}
.v5-search button{border:0;background:linear-gradient(135deg,var(--v5-purple),var(--v5-purple2));color:#fff;padding:0 22px;font-weight:800;font-size:13px;cursor:pointer}
.v5-main-actions{display:flex;gap:12px}
.v5-cta{min-height:38px;padding:0 19px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap}
.v5-cta-primary{background:linear-gradient(135deg,var(--v5-purple),var(--v5-purple2));color:#fff}
.v5-cta-dark{background:var(--v5-graphite);color:#fff}
.v5-navrow{border-bottom:1px solid #e5e6eb;background:#fff}
.v5-navrow-inner{min-height:47px;display:grid;grid-template-columns:280px 1fr auto;gap:24px;align-items:center;position:relative}
.v5-catalog-wrap{position:relative}
.v5-catalog-btn{height:37px;width:100%;border:1px solid #d9dce2;background:#fff;border-radius:8px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:0 16px;font-size:13px;font-weight:800;color:#4b5059;cursor:pointer;text-align:left}
.v5-mainnav{display:flex;justify-content:center;align-items:center;gap:28px}
.v5-mainnav a{color:#25282e;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}
.v5-mainnav a:hover,.v5-accent-link{color:var(--v5-purple)!important}
.v5-nav-icons{display:flex;gap:5px}
.v5-icon-action{position:relative;width:43px;height:40px;border:0;background:transparent;font-size:24px;cursor:pointer}
.v5-icon-action span{position:absolute;right:1px;top:0;min-width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:var(--v5-purple);color:#fff;font-size:8px;font-weight:900}

/* cascade mega */
.v5-mega{position:absolute;left:0;top:43px;width:min(1110px,calc(100vw - 36px));min-height:455px;display:none;grid-template-columns:255px 280px 300px 1fr;background:#fff;border:1px solid #e2e3e8;box-shadow:0 15px 45px rgba(36,39,45,.16);z-index:5000}
.v5-catalog-wrap:hover .v5-mega,.v5-catalog-wrap.open .v5-mega{display:grid}
.v5-mega-col{padding:9px 0;border-right:1px solid #e8e9ee;min-width:0}
.v5-mega-l2,.v5-mega-l3{background:#fbfbfd}
.v5-mega-item{width:100%;min-height:43px;border:0;border-bottom:1px dashed #ececf0;background:#fff;padding:8px 13px;display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;gap:9px;color:#40444c;font-size:12px;font-weight:750;cursor:pointer}
.v5-mega-item:hover,.v5-mega-item.active{background:var(--v5-lav);color:var(--v5-purple-dark)}
.v5-mega-item strong{font-size:15px;color:var(--v5-purple)}
.v5-mega-link{display:block;padding:10px 15px;color:#686d76;text-decoration:none;font-size:12px;line-height:1.3}
.v5-mega-link:hover,.v5-mega-link.active{color:var(--v5-purple-dark);background:#fff}
.v5-mega-promo{position:relative;overflow:hidden;background:linear-gradient(135deg,#F5F1FF,#E9E1FF);display:flex;align-items:flex-end}
.v5-mega-promo img{position:absolute;right:-70px;bottom:0;width:320px;max-height:360px;object-fit:contain;opacity:.88}
.v5-mega-promo-copy{position:relative;z-index:2;padding:35px 20px;max-width:190px}
.v5-mega-promo-copy span{color:var(--v5-purple);font-size:11px;font-weight:900}
.v5-mega-promo-copy h3{font-size:21px;line-height:1.17;margin:10px 0 17px;color:#25282e}
.v5-mega-promo-copy a{display:inline-flex;padding:9px 15px;border:2px solid #25282e;border-radius:999px;color:#25282e;text-decoration:none;font-weight:850;font-size:11px}

/* breadcrumb */
.breadcrumbs{padding:12px 0!important;margin-top:0!important;font-size:12px!important;color:#777c84!important;border-bottom:1px solid #ececf0}
.breadcrumbs a{color:#666c75!important;text-decoration:none}

/* home hero — TEZ-like */
.hero{background:linear-gradient(90deg,rgba(31,34,41,.92),rgba(8,127,120,.46)),#30343b!important;color:#fff!important;padding:0!important;min-height:430px!important}
.hero .hero-grid{min-height:430px!important;align-items:center!important}
.hero h1{color:#fff!important;font-size:42px!important;line-height:1.06!important;max-width:600px}
.hero p{color:#E8F8F5!important;font-size:15px!important;max-width:620px}
.hero-image{background:transparent!important}
.hero-image img{filter:drop-shadow(0 25px 35px rgba(0,0,0,.2))}
.hero .badge{color:#fff!important;border-color:rgba(255,255,255,.25)!important;background:rgba(255,255,255,.06)!important}
.hero .btn-primary{background:linear-gradient(135deg,var(--v5-purple),var(--v5-purple2))!important}
.hero .btn-light{background:#fff!important;color:#2f333a!important}

/* category listing shell */
.v5-catalog-section{padding-top:22px!important}
.v5-catalog-shell{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:26px!important;align-items:start}
.v5-cat-sidebar{border:1px solid #e0e1e6;border-radius:8px;background:#fff;overflow:hidden;position:sticky;top:162px}
.v5-cat-title{font-size:18px;font-weight:900;padding:20px 18px 15px;border-bottom:1px solid #e8e9ed}
.v5-cat-title::after{content:'';display:block;width:62px;height:2px;background:var(--v5-purple);margin-top:14px}
.v5-cat-row{border-bottom:1px dashed #e9e9ed}
.v5-cat-row>button{width:100%;border:0;background:#fff;min-height:42px;padding:9px 13px;display:flex;justify-content:space-between;gap:8px;text-align:left;color:#34373d;font-weight:750;font-size:12px;cursor:pointer}
.v5-cat-row>button:hover,.v5-cat-row.open>button{color:var(--v5-purple-dark)}
.v5-cat-children{display:none;padding:0 12px 10px}
.v5-cat-row.open .v5-cat-children{display:block}
.v5-cat-children a{display:block;padding:6px 7px;color:#676b73;font-size:11px;text-decoration:none}
.v5-cat-children a:hover{color:var(--v5-purple)}
.v5-cat-ad{margin:15px;border-radius:8px;overflow:hidden;background:var(--v5-lav)}
.v5-cat-ad img{display:block;width:100%;height:auto}
.v5-products-main{min-width:0}

/* product grid like TEZ */
.v5-products-main .product-grid,.product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border-top:1px solid #e4e5e9;border-left:1px solid #e4e5e9}
.product-card{border-radius:0!important;border:0!important;border-right:1px solid #e4e5e9!important;border-bottom:1px solid #e4e5e9!important;box-shadow:none!important;min-width:0}
.product-card:hover{transform:none!important;box-shadow:inset 0 0 0 1px var(--v5-lav2)!important}
.product-card .product-img{height:235px!important;min-height:235px!important;padding:15px!important}
.product-card .body{padding:11px 16px 17px!important}
.product-card h3{font-size:14px!important;line-height:1.28!important;min-height:54px!important;margin:6px 0 8px!important}
.product-card .sku{font-size:10px!important;color:#5d626b!important}
.product-card-description,.product-card .product-meta{font-size:10px!important;line-height:1.45!important;min-height:58px!important;color:#6b7078!important}
.product-card .price{font-size:14px!important;color:var(--v5-purple-dark)!important;border-top:0!important;padding-top:4px!important}
.product-card .card-actions{gap:4px!important;margin-top:8px!important}
.product-card .product-consult-btn{order:1!important;background:linear-gradient(135deg,var(--v5-purple2),var(--v5-purple))!important;border:0!important;color:#fff!important;border-radius:6px!important;min-height:35px!important}
.product-card [data-add-product],.product-card .product-cart-btn{order:2!important;background:var(--v5-graphite)!important;border:0!important;color:#fff!important;border-radius:6px!important;min-height:35px!important}
.v41-fav-btn{top:10px!important;right:10px!important;color:var(--v5-purple)!important}

/* category heading + sort */
.page-hero{padding:24px 0 12px!important}
.page-hero h1{font-size:27px!important}
.filters{margin:0 0 10px!important}
.v41-sortbar{border:1px solid #e1e2e7;border-radius:8px;padding:7px 10px;margin:0 0 7px!important;justify-content:space-between!important;background:#fff}
.v41-sortbar select{border:0!important;height:34px!important;min-width:180px!important}

/* product detail like TEZ */
.product-layout{grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr)!important;gap:58px!important;align-items:start}
.gallery-main{border-radius:0!important;border:1px solid #dddfe5!important;min-height:530px;display:grid;place-items:center}
.gallery-main img{max-height:500px!important;object-fit:contain!important}
.product-info h1{font-size:25px!important;line-height:1.25!important}
.product-info .price{display:inline-block;background:var(--v5-graphite);color:#fff!important;padding:10px 18px;border-radius:8px;font-size:14px!important}
.product-info .card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:18px 0!important}
.product-info .btn-primary{background:linear-gradient(135deg,var(--v5-purple),var(--v5-purple2))!important}
.product-info .btn-outline{border-color:#d6d7dc!important}
.specs{border-top:1px solid #e6e7eb;margin-top:18px!important}
.spec-row{font-size:12px!important}

/* tabs */
.v5-product-tabs-section{padding:28px 0 0;background:#fff}
.v5-product-tabs{display:flex;gap:46px;border-bottom:1px solid #dedfe5}
.v5-product-tabs button{border:0;background:transparent;padding:14px 0 12px;font-weight:900;font-size:13px;cursor:pointer;border-bottom:3px solid transparent}
.v5-product-tabs button.active{border-color:var(--v5-purple);color:var(--v5-purple-dark)}
.v5-tab-panel{display:none;padding:24px 0;color:#5c6068;font-size:13px;line-height:1.7}
.v5-tab-panel.active{display:block}

/* sticky bottom buybar */
.v5-buybar{position:fixed;left:0;right:0;bottom:0;z-index:2400;background:rgba(255,255,255,.97);border-top:1px solid #dddfe4;box-shadow:0 -8px 24px rgba(0,0,0,.06)}
.v5-buybar-inner{height:70px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.v5-buybar-product{display:flex;align-items:center;gap:14px}
.v5-buybar-product img{width:44px;height:44px;object-fit:contain}
.v5-buybar-product b{font-size:13px}
.v5-buybar-actions{display:flex;align-items:center;gap:12px}
.v5-qty{height:42px;display:grid;grid-template-columns:35px 42px 35px;border:1px solid #dddfe4;border-radius:7px;overflow:hidden}
.v5-qty button{border:0;background:#fff;font-size:18px;cursor:pointer}
.v5-qty span{display:grid;place-items:center;border-left:1px solid #dddfe4;border-right:1px solid #dddfe4;font-size:12px}
.v5-buybar-cart{height:42px;border:0;border-radius:21px;padding:0 34px;background:var(--v5-graphite);color:#fff;font-weight:900;cursor:pointer}

/* floating right contacts */
.v5-float-actions{position:fixed;right:22px;top:55%;transform:translateY(-50%);z-index:2350;display:grid;gap:8px}
.v5-float{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#fff;text-decoration:none;font-size:24px;box-shadow:0 3px 14px rgba(0,0,0,.08)}
.v5-float-phone{border:2px solid var(--v5-purple);color:var(--v5-purple)}
.v5-float-calc{border:2px solid #8791ff;color:#6977ef}
.v5-float-wa{border:2px solid var(--v5-mint);color:var(--v5-mint)}

/* forms */
.lead-form,.product-consult-dialog,.quote-side,.config-card{border-radius:4px!important}
.product-consult-submit,.btn-primary{background:linear-gradient(135deg,var(--v5-purple),var(--v5-purple2))!important}
.product-consult-form input:focus{border-color:var(--v5-purple)!important;box-shadow:0 0 0 3px rgba(32,169,149,.14)!important}

/* footer */
.footer{background:var(--v5-graphite)!important}

/* responsive */
@media(max-width:1250px){
  .v5-mainbar-inner{grid-template-columns:190px 1fr auto;gap:15px}
  .v5-logo small{display:none}
  .v5-mainnav{gap:15px}
  .v5-products-main .product-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:950px){
  .v5-main-actions{display:none}
  .v5-mainbar-inner{grid-template-columns:180px 1fr}
  .v5-mainnav{display:none}
  .v5-navrow-inner{grid-template-columns:1fr auto}
  .v5-catalog-wrap{max-width:300px}
  .v5-mega{position:fixed;left:10px;right:10px;top:145px;width:auto;grid-template-columns:1fr 1fr;max-height:70vh;overflow:auto}
  .v5-mega-promo{display:none}
  .v5-catalog-shell{grid-template-columns:1fr!important}
  .v5-cat-sidebar{position:static}
  .v5-products-main .product-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .product-layout{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  .v5-top-left span:last-child,.v5-top-right a:last-child{display:none}
  .v5-topbar-inner{height:30px;font-size:10px}
  .v5-mainbar-inner{grid-template-columns:1fr;gap:8px;padding:10px 0}
  .v5-logo{justify-content:center}
  .v5-search{height:39px}
  .v5-navrow-inner{grid-template-columns:1fr auto}
  .v5-products-main .product-grid,.product-grid{grid-template-columns:1fr!important}
  .v5-float-actions{right:8px}
  .v5-float{width:48px;height:48px;font-size:18px}
  .v5-buybar-product b{display:none}
  .v5-buybar-cart{padding:0 18px}
}


/* ============================================================
   v5.4.1 — RICH TEXT FORMATTING FIX
   Preserve formatting created in the product editor.
   ============================================================ */

/* Product rich descriptions */
[data-product-description],
[data-product-description-long],
.v5-rich-content,
.product-rich-content{
  line-height:1.65 !important;
  color:inherit;
}

/* Restore bullets and numbering that may be removed by global navigation CSS */
[data-product-description] ul,
[data-product-description-long] ul,
.v5-rich-content ul,
.product-rich-content ul{
  list-style:disc outside !important;
  margin:14px 0 18px 24px !important;
  padding-left:18px !important;
}

[data-product-description] ol,
[data-product-description-long] ol,
.v5-rich-content ol,
.product-rich-content ol{
  list-style:decimal outside !important;
  margin:14px 0 18px 24px !important;
  padding-left:18px !important;
}

[data-product-description] li,
[data-product-description-long] li,
.v5-rich-content li,
.product-rich-content li{
  display:list-item !important;
  margin:7px 0 !important;
  padding-left:3px !important;
  line-height:1.55 !important;
}

/* Paragraphs */
[data-product-description] p,
[data-product-description-long] p,
.v5-rich-content p,
.product-rich-content p{
  margin:0 0 14px !important;
  line-height:1.65 !important;
}

/* Headings from editor */
[data-product-description] h2,
[data-product-description-long] h2,
.v5-rich-content h2,
.product-rich-content h2{
  margin:28px 0 14px !important;
  font-size:26px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
}

[data-product-description] h3,
[data-product-description-long] h3,
.v5-rich-content h3,
.product-rich-content h3{
  margin:22px 0 12px !important;
  font-size:21px !important;
  line-height:1.3 !important;
  font-weight:800 !important;
}

/* Bold / italic / links */
[data-product-description] strong,
[data-product-description-long] strong,
.v5-rich-content strong,
.product-rich-content strong{
  font-weight:800 !important;
}

[data-product-description] a,
[data-product-description-long] a,
.v5-rich-content a,
.product-rich-content a{
  color:#087F78 !important;
  text-decoration:underline !important;
}

/* Tables inserted via editor */
[data-product-description] table,
[data-product-description-long] table,
.v5-rich-content table,
.product-rich-content table{
  width:100% !important;
  border-collapse:collapse !important;
  margin:18px 0 24px !important;
  font-size:14px !important;
}

[data-product-description] th,
[data-product-description] td,
[data-product-description-long] th,
[data-product-description-long] td,
.v5-rich-content th,
.v5-rich-content td,
.product-rich-content th,
.product-rich-content td{
  border:1px solid #d7dfdd !important;
  padding:10px 12px !important;
  text-align:left !important;
  vertical-align:top !important;
}

[data-product-description] th,
[data-product-description-long] th,
.v5-rich-content th,
.product-rich-content th{
  background:#f1f7f5 !important;
  font-weight:800 !important;
}

/* Editor itself should visually match result on site */
#longEditor ul,#shortEditor ul{
  list-style:disc outside !important;
  margin:12px 0 16px 26px !important;
  padding-left:18px !important;
}
#longEditor ol,#shortEditor ol{
  list-style:decimal outside !important;
  margin:12px 0 16px 26px !important;
  padding-left:18px !important;
}
#longEditor li,#shortEditor li{
  display:list-item !important;
  margin:6px 0 !important;
}

/* v5.5.0 product media blocks */
.v55-video-grid{display:flex;flex-wrap:wrap;gap:10px}.v55-video-grid a{display:inline-flex;padding:11px 15px;border:1px solid #d8e3e0;border-radius:8px;text-decoration:none;color:#087F78;background:#fff;font-weight:700}
.v55-doc-list{display:grid;gap:9px}.v55-doc-list a{display:flex;flex-direction:column;gap:3px;padding:13px 15px;background:#fff;border:1px solid #d8e3e0;border-radius:8px;text-decoration:none;color:#20252B}.v55-doc-list a b{color:#087F78}.v55-doc-list a span{font-size:12px;color:#66716f}

/* v5.5.1 live catalog / dynamic product */
.v551-no-photo{height:100%;display:grid;place-items:center;color:#8a9391;font-size:12px}
.v551-dp-gallery{display:flex;gap:8px;margin-top:10px;overflow-x:auto}
.v551-dp-gallery button{width:82px;height:82px;border:1px solid #d9e0de;background:#fff;border-radius:7px;padding:4px;cursor:pointer}
.v551-dp-gallery img{width:100%;height:100%;object-fit:contain}

/* v5.5.6 — Global Calibri */
html,body,button,input,select,textarea,option,table,th,td,h1,h2,h3,h4,h5,h6,p,span,div,a,label,li,strong,em{font-family:Calibri,"Segoe UI",Arial,sans-serif!important}

/* v5.5.7 — Global base font size 12px */
html,body{font-size:12px!important}
body,button,input,select,textarea,option,table,th,td,p,span,div,a,label,li,strong,em{font-size:12px!important}

/* v5.5.8 — Global base font size 16px */
html,body{font-size:16px!important}
body,button,input,select,textarea,option,table,th,td,p,span,div,a,label,li,strong,em{font-size:16px!important}

/* v5.5.9 — Category and product catalogue typography = 14px */
.product-card,
.product-card .body,
.product-card .sku,
.product-card .product-meta,
.product-card .price,
.product-card p,
.product-card span,
.product-card a,
.product-card button,
.category-card,
.category-card p,
.category-card span,
.category-card a,
.category-grid,
.product-grid,
.catalog-content,
.catalog-content p,
.catalog-content li,
.catalog-content a,
.catalog-content span,
.v5-rich-content,
.v5-rich-content p,
.v5-rich-content li,
.v5-rich-content td,
.v5-rich-content th,
.product-info p,
.product-info li,
.specs,
.spec-row,
.spec-row span,
.spec-row b {
  font-size:14px !important;
}

/* Product/category names also 14px as requested. */
.product-card h2,
.product-card h3,
.product-card h4,
.category-card h2,
.category-card h3,
.category-card h4 {
  font-size:14px !important;
}
