:root{
  --bg:#f4fbfc;
  --text:#12353b;
  --muted:#456b72;
  --line:#cfe6ea;
  --white:#ffffff;
  --brand:#23c6d3;
  --brand-dark:#1497a3;
  --brand-deep:#0b6e79;
  --brand-hero:#0f8894;
  --accent:#57d8df;
  --hero-text:#112d34;
  --hero-sub:#294f57;
  --shadow:0 10px 30px rgba(17,111,121,.12);
}
*{box-sizing:border-box}
html{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:var(--bg)}
body{margin:0}
button,input{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible{outline:3px solid rgba(31,197,207,.35);outline-offset:3px}
.shell{max-width:1180px;margin:0 auto;padding:0 22px}
.top{background:var(--white);border-bottom:1px solid var(--line)}
.top-inner{display:flex;align-items:center;justify-content:space-between;min-height:92px;gap:20px}
.brand{display:flex;align-items:center;gap:14px}
.brand strong{display:block;font-family:"Furore",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-weight:700;letter-spacing:.09em;font-size:17px;color:#0a3348}
.brand small{display:block;margin-top:5px;color:var(--muted);font-size:12px}
.logo{width:62px;height:62px;object-fit:contain;border-radius:14px;background:#fff}
.header-note{font-size:13px;color:var(--brand-deep);border:1px solid #8edbe2;border-radius:40px;padding:10px 15px;background:#f0fdff}
.hero{background-color:#e7f7f9;background-image:radial-gradient(ellipse at 90% -10%,rgba(35,198,211,.18),transparent 52%),linear-gradient(135deg,#f2fcfd 0%,#d8f2f5 100%);color:#112d34;padding:68px 0 60px}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:800;color:#0c6874}
.eyebrow.dark{color:var(--brand-dark)}
.hero h1{font-family:"Furore",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-size:clamp(33px,5vw,59px);line-height:1.08;letter-spacing:.01em;max-width:920px;margin:17px 0 19px;color:var(--hero-text)}
.hero h1::after{content:"";display:block;width:56px;height:4px;background:var(--brand-dark);border-radius:3px;margin-top:22px}
.lede{font-size:16px;line-height:1.6;color:var(--hero-sub);max-width:780px;margin-bottom:30px}
.search-wrap{display:flex;align-items:center;background:#fff;border-radius:15px;max-width:870px;padding:0 13px;box-shadow:var(--shadow);color:#21434a}
.search-wrap input{border:0;outline:none;width:100%;height:63px;font-size:17px;padding:0 10px;background:transparent;color:var(--text)}
.search-icon{font-size:31px;line-height:1;color:#4f8c93;transform:rotate(-20deg)}
#clear{border:0;border-radius:8px;background:#eff7f8;color:#416f76;font-size:25px;width:34px;height:34px}
.meta{display:flex;gap:28px;flex-wrap:wrap;font-size:13px;color:#365c65;margin-top:15px}
.catalog{padding-top:48px;padding-bottom:75px}
.section-line{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:20px}
h2{font-family:"Furore",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-size:30px;letter-spacing:.01em;margin:8px 0 0;color:#0b3348}
.reset{background:none;border:0;text-decoration:underline;color:var(--brand-deep);font-weight:700}
.chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:29px}
.chip{border:1px solid var(--line);background:#fff;color:#30545a;padding:10px 14px;border-radius:999px;font-size:13px}
.chip[aria-pressed="true"]{background:var(--brand-dark);color:#fff;border-color:var(--brand-dark)}
.chip span{opacity:.7;margin-left:5px}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.product{background:white;border:1px solid #def0f2;border-radius:17px;padding:16px;display:flex;gap:14px;min-height:178px;box-shadow:0 4px 14px rgba(24,105,111,.06)}
.thumb{width:91px;height:91px;flex:none;border-radius:12px;background:#edf8f9;display:grid;place-items:center;overflow:hidden;color:#6b8a90;font-size:13px;text-align:center}
.thumb img{height:100%;width:100%;object-fit:cover}
.item-body{min-width:0;display:flex;flex:1;flex-direction:column;gap:7px}
.tag{font-size:11px;color:var(--brand-dark);font-weight:700}
.product h3{font-size:16px;line-height:1.34;margin:0;overflow-wrap:anywhere;color:#12353b}
.small{font-size:12px;color:#607282}
.prices{display:grid;grid-template-columns:1fr;gap:5px;margin-top:auto;padding-top:8px;border-top:1px solid #ebeff4}
.price-row{display:flex;justify-content:space-between;gap:10px;font-size:12px}.price-label{color:#63788c}.price-value{color:var(--brand-deep);font-weight:700;white-space:nowrap}
.price-row:last-child .price-value{color:var(--brand-dark)}
.pager{text-align:center;margin-top:26px}.pager button{background:var(--brand-dark);color:#fff;border:0;border-radius:12px;padding:15px 28px;font-weight:700}.pager button[hidden]{display:none}
.empty{padding:40px 15px;background:#fff;border-radius:16px;grid-column:1/-1;color:#60758a;text-align:center}
footer{border-top:1px solid var(--line);background:#fff;padding:27px 0;color:#536c86;font-size:13px}footer strong{color:var(--brand-deep);font-family:"Furore",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}footer p{margin:5px 0 0}
@media(max-width:1000px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.shell{padding:0 15px}.top-inner{min-height:78px}.brand strong{font-size:14px}.brand small{font-size:11px}.logo{width:52px;height:52px}.header-note{display:none}.hero{padding:38px 0 35px}.hero h1{font-size:35px}.hero h1 br{display:none}.lede{font-size:14px}.search-wrap input{height:55px;font-size:15px}.catalog{padding-top:34px}.section-line{align-items:center}h2{font-size:24px}.cards{grid-template-columns:1fr;gap:11px}.product{padding:12px;min-height:153px}.thumb{width:76px;height:76px}.chips{max-height:130px;overflow:auto}.chip{font-size:12px;padding:8px 12px}.price-row{font-size:11px}}

a{color:#075b65}.contact-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.cta{display:inline-block;border-radius:10px;background:#087681;color:white;padding:13px 20px;text-decoration:none;font-weight:700}.cta.secondary{background:white;color:#075b65;border:1px solid #91cbd0}.ask{font-size:12px;margin-top:8px}.thumb img{object-fit:contain;cursor:zoom-in}.tag,.price-row:last-child .price-value{color:#086872}.chip[aria-pressed="true"],.pager button{background:#087681}dialog{border:0;border-radius:16px;max-width:min(92vw,900px)}dialog::backdrop{background:#000a}dialog img{max-width:100%;max-height:75vh;object-fit:contain}#close-photo{float:right;font-size:28px;background:white;border:0}footer .contact-actions{margin:20px auto}@media(max-width:400px){.hero h1{font-size:29px}.product{gap:10px}.thumb{width:65px;height:75px}.price-row{flex-wrap:wrap;gap:3px}.contact-actions .cta{flex:1;text-align:center;padding:12px}.search-wrap input{min-width:0}}

/* v7: контакты и филиалы */
.header-phone{font-size:15px;display:inline-flex;align-items:center;justify-content:center;color:#086872;font-weight:800;border:1px solid #8edbe2;background:#effbfd;text-decoration:none;padding:10px 17px;border-radius:999px;white-space:nowrap}
.branches{padding-top:18px;padding-bottom:64px}
.branches-count{font-size:13px;color:#2b7179;border:1px solid #bfe7ea;border-radius:999px;padding:9px 15px}
.branches-intro{max-width:780px;color:var(--muted);font-size:15px;line-height:1.6;margin:0 0 22px}
.branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.branch{background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px;box-shadow:0 3px 14px rgba(11,90,96,.04);display:flex;flex-direction:column;min-height:145px}
.branch h3{margin:0 0 9px;font-size:16px;color:#13333a}
.branch address{font-size:14px;font-style:normal;line-height:1.5;color:#466970;margin-bottom:12px}
.branch a{margin-top:auto;font-size:13px;font-weight:700;color:var(--brand-deep)}
.get-in-touch{background:#e4f7f9;border-block:1px solid #cfe7eb;padding:42px 0 48px}
.get-in-touch h2{margin:8px 0 12px}
.get-in-touch p{color:#375d65;line-height:1.6;max-width:720px}
.get-in-touch .contact-actions{margin-bottom:0}
.get-in-touch .cta.secondary{background:#fff}
.item-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.item-actions .ask{display:inline-flex;align-items:center;padding:7px 10px;border-radius:9px;background:#e0f8fa;text-decoration:none;font-size:12px;color:#00626c;font-weight:700}
.item-actions .ask-call{background:#f4f9fa;color:#355b61}
.footer-small{font-size:11px;color:#607880}
@media(max-width:1000px){.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.header-phone{font-size:12px;padding:9px 10px}.branches{padding-bottom:40px}.branch-grid{grid-template-columns:1fr}.branch{min-height:auto}.branches-intro{font-size:14px}.branches-count{font-size:12px;padding:7px 10px}.get-in-touch{padding:34px 0}.get-in-touch .contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.get-in-touch .cta{text-align:center;padding:12px 8px}}
@media(max-width:390px){.brand strong{font-size:12px}.logo{width:43px;height:43px}.header-phone{font-size:11px;padding:8px}}


/* v8: филиалы выше и компактнее */
.branches{padding-top:34px;padding-bottom:26px}
.branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.branch{padding:13px 14px;min-height:auto;border-radius:12px;box-shadow:none}
.branch h3{margin:0 0 4px;font-size:15px;line-height:1.25}
.branch address{font-size:13px;line-height:1.35;margin-bottom:6px;color:#4a6870}
.branch a{font-size:12px;text-decoration:none}
.branches-intro{font-size:14px;margin:0 0 14px}
.branches-count{font-size:12px;padding:7px 11px}
.catalog{padding-top:22px;padding-bottom:75px}
@media(max-width:1000px){.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.branches{padding-top:22px;padding-bottom:20px}.branch-grid{grid-template-columns:1fr;gap:8px}.branch{padding:11px 12px}.branch h3{font-size:14px}.branch address{font-size:12px}.branch a{font-size:11px}.catalog{padding-top:18px}}

/* v9: филиалы первым компактным блоком, адреса раскрываются по клику */
.branches-first{width:100%;padding:14px 0 13px;background:#f1fbfc;border-bottom:1px solid #cce7eb}
.branches-first .branch-layout{display:flex;align-items:flex-start;gap:16px}
.branches-first .branch-heading{display:flex;flex-direction:column;gap:3px;flex:none;max-width:250px;padding-top:4px}
.branches-first .branch-heading h2{margin:0;font-family:inherit;font-size:14px;font-weight:800;letter-spacing:0;color:#12353b}
.branches-first .branch-heading span{font-size:11px;line-height:1.35;color:#456b72}
.branches-first .branch-options{display:flex;gap:7px;flex-wrap:wrap;align-items:flex-start;flex:1}
.branches-first .branch-option{position:relative;border:1px solid #b7e0e4;border-radius:8px;background:#fff;min-width:0;flex:none}
.branches-first .branch-option summary{list-style:none;padding:7px 10px;font-size:12px;font-weight:650;line-height:1.3;cursor:pointer;color:#145a64;white-space:nowrap}
.branches-first .branch-option summary::-webkit-details-marker{display:none}
.branches-first .branch-option summary::after{content:'⌄';font-weight:700;margin-left:7px;color:#398b95}
.branches-first .branch-option[open]{border-color:#1599a5;background:#f5feff;z-index:2}
.branches-first .branch-option[open] summary::after{content:'⌃'}
.branches-first .branch-info{position:absolute;top:calc(100% + 5px);left:0;width:max-content;min-width:215px;max-width:min(340px,80vw);background:#fff;border:1px solid #b7e0e4;border-radius:9px;box-shadow:0 8px 20px #0b5a601c;padding:11px 12px;z-index:10}
.branches-first .branch-info address{font-size:12px;line-height:1.45;color:#193d44;font-style:normal;margin-bottom:7px}
.branches-first .branch-info a{font-size:12px;font-weight:700;text-decoration:underline;color:#076e7a}
@media(max-width:850px){.branches-first .branch-layout{display:block}.branches-first .branch-heading{padding:0;margin-bottom:10px;max-width:none}.branches-first .branch-options{gap:6px}}
@media(max-width:650px){.branches-first{padding:12px 0}.branches-first .branch-heading{margin-bottom:8px}.branches-first .branch-heading h2{font-size:13px}.branches-first .branch-heading span{font-size:10px}.branches-first .branch-option summary{font-size:11px;padding:6px 8px}.branches-first .branch-info{min-width:180px;max-width:75vw}}

/* v10: выбор типа товара при расчёте по бирже */
.variant-picker{font-size:12px;display:flex;flex-direction:column;gap:5px;color:#44656d;font-weight:600}
.variant-select{border:1px solid #b7dbdf;background:#f6fcfd;color:#12353b;border-radius:8px;padding:7px 9px;max-width:100%;width:100%;font-size:13px}
.variant-select:focus-visible{outline:3px solid rgba(31,197,207,.35)}
