/* Geometry from the recovered Stroimarket header, catalog and product templates. */
body.legacy-theme{background:#e9eff4;font-family:Roboto,Arial,sans-serif}
.legacy-container{width:100%;max-width:100%;margin-inline:auto;padding-inline:15px}
.legacy-top{background:#002843;color:#fff}
.legacy-top>.legacy-container{display:flex;align-items:center;gap:24px;min-height:54px}
.legacy-top nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;flex:1;font-size:14px}
.legacy-top nav a:hover,.legacy-phone:hover{color:#aecfe5}
.legacy-top-contacts{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;line-height:18px;white-space:nowrap}
.legacy-top .button{font-size:14px;min-height:36px;padding:7px 20px;background:#f1592a;border:0;color:#fff;border-radius:8px}
.legacy-phone{font-size:17px;font-weight:600;white-space:nowrap}
.legacy-middle{display:flex;align-items:center;gap:24px;min-height:120px;background:#fff}
.legacy-header{background:#fff}
.legacy-logo{display:flex;align-items:center;flex:none}
.legacy-logo img{width:80px;height:86px;object-fit:contain}
.legacy-tagline{max-width:315px;padding-left:24px;font-size:16px;font-style:italic;color:#656565;line-height:1.45}
.legacy-middle .search-form{height:46px;border-radius:8px;min-width:120px;flex:1}
.legacy-middle .search-form input{height:100%;font-size:14px}
.legacy-catalog{border:1px solid #0f75bc;color:#0f75bc;flex:none;min-height:46px}
.legacy-shopping{display:flex;gap:26px;align-items:center}
.legacy-shopping a{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12px;min-width:46px}
.legacy-shopping .icon{width:24px;height:24px;color:#111}
.legacy-shopping b{position:absolute;right:3px;top:-7px;background:#f58220;color:#fff;border-radius:10px;font-size:10px;min-width:16px;height:16px;display:grid;place-items:center}
.legacy-shopping b:empty{display:none}
body.legacy-theme .shop-layout{max-width:100%;grid-template-columns:17% minmax(0,1fr);gap:0;padding-inline:15px}
body.legacy-theme .shop-layout>.sidebar{display:block;background:#0f75bc;font-size:13px;font-weight:400;min-height:0}
body.legacy-theme .sidebar nav>a{min-height:33px;padding:7px 15px;font-size:13px;line-height:17px;border-bottom:1px solid #1281cf}
body.legacy-theme .sidebar nav>a:hover{background:#0d629d}
body.legacy-theme main{padding:0 10px 32px 30px;min-width:0}
.legacy-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.legacy-home{padding-top:15px;min-width:0}
.legacy-theme .legacy-selection{padding:8px 0 24px}
.legacy-selection h2{font-size:24px;margin:0 0 20px}
.legacy-selection .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.legacy-theme .product-card{background:#fff;border-radius:8px}
.legacy-theme .ji-pdp .hero-gallery .product-photo{aspect-ratio:1;background:#f8fafc;padding:8%;border-radius:14px;position:relative}
.legacy-theme .ji-pdp .product-photo>img{mix-blend-mode:normal;max-height:100%;object-fit:contain}
.legacy-theme .ji-pdp .product-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px;overflow:visible}
.legacy-theme .ji-pdp .product-thumbnails a{aspect-ratio:1;width:auto;height:auto;min-width:0;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:6%;display:flex;align-items:center;justify-content:center}
.legacy-theme .ji-pdp .product-thumbnails a[aria-current]{border:2px solid #1976d2}
.legacy-theme .ji-pdp .product-thumbnails img{width:100%;height:100%;object-fit:contain}
.legacy-theme .ji-pdp .pdp-zoom{position:absolute;bottom:12px;right:12px;background:white;border:1px solid #e5e7eb;color:#1976d2}
.legacy-theme .ji-pdp .key-specs-grid{margin:0}
.legacy-theme .ji-pdp dd{margin:0}
.legacy-theme .ji-pdp .qty-control{padding:0;gap:0;border:1px solid #e5e7eb;border-radius:12px;min-width:0}
.legacy-theme .ji-pdp .qty-control .qty-btn{min-width:44px;height:60px;border-radius:0;padding:0}
.legacy-theme .ji-pdp .qty-control .qty-input{border:0;padding:0;height:60px;min-width:0;width:46px;border-radius:0}
.legacy-theme .ji-pdp .btn-analogue,.legacy-theme .ji-pdp .btn-1click{padding:8px;text-decoration:none}
.legacy-theme .ji-pdp .sp-k,.legacy-theme .ji-pdp .sp-v{min-width:0;overflow-wrap:anywhere}
.legacy-theme .ji-pdp .doc-pill-ico{flex:none;white-space:nowrap}
.legacy-theme .ji-pdp .pdp-meta-line{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 20px}
.legacy-theme .ji-pdp .pdp-identity-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;font-size:14px}
.legacy-theme .ji-pdp .pdp-identity-links a{color:#174762;font-weight:650;min-height:30px;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.legacy-theme .ji-pdp .pdp-identity-links a>span{font-size:12px;font-weight:400;color:#64748b}
.legacy-theme .ji-pdp .pdp-identity-links a:hover,.legacy-theme .ji-pdp .pdp-category-links a:hover{color:#dc6518;text-decoration:underline;text-underline-offset:4px}
.legacy-theme .ji-pdp .pdp-category-links{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:-10px}
.legacy-theme .ji-pdp .pdp-category-links a{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#587080;min-height:30px}
.legacy-theme .ji-pdp .pdp-category-links .icon{width:14px;height:14px}
.legacy-theme .ji-pdp .pdp-browse-grid{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.legacy-theme .ji-pdp .pdp-browse-grid>a{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;max-width:100%;min-height:72px;padding:12px 16px;border:1px solid #dce5eb;border-radius:6px;background:#fafcfd;color:#183b50;text-decoration:none;transition:border-color .15s,background-color .15s}
.legacy-theme .ji-pdp .pdp-browse-grid>a:hover{border-color:#f58220;background:#fffaf5;box-shadow:inset 0 -2px #f58220}
.legacy-theme .ji-pdp .pdp-browse-grid small{display:block;font-size:12px;color:#60778a;margin-bottom:5px}
.legacy-theme .ji-pdp .pdp-browse-grid strong{display:block;font-size:16px;font-weight:650;line-height:1.3;word-break:normal;overflow-wrap:normal}
.legacy-theme .ji-pdp .pdp-browse-grid .icon{width:16px;height:16px;color:#648294;flex:none}
.legacy-theme .ji-pdp .pdp-selection{margin:0}
.legacy-theme .ji-pdp .pdp-selection h2{font-size:14px;font-weight:600;color:#60778a;margin:0 0 10px}
.legacy-theme .ji-pdp .pdp-selection .pdp-browse-power{flex:0 1 170px}
.legacy-theme .ji-pdp .pdp-selection .pdp-browse-value{flex:1 1 230px}
.legacy-theme .ji-pdp .pdp-browse-power strong{font-size:26px;font-variant-numeric:tabular-nums;white-space:nowrap}
.legacy-theme .ji-pdp .pdp-browse-power em{font-size:13px;font-style:normal;font-weight:400}
.legacy-theme .ji-pdp .ji-pdp-services{gap:0 16px;padding:6px 12px;margin:0;border-block:1px solid #e3ebef;background:#f6f9fb}
.legacy-theme .ji-pdp .ji-pdp-services a{gap:9px;min-height:48px;color:#254b61;font-size:13px;font-weight:550}
.legacy-theme .ji-pdp .ji-pdp-services a:hover{color:#df681c}
.legacy-theme .ji-pdp .ji-pdp-services a>.icon{width:19px;height:19px;color:#e4792b}
.legacy-theme .ji-pdp .ji-pdp-services a>span{flex:1;min-width:0}
.legacy-theme .ji-pdp .ji-pdp-services .pdp-service-arrow{width:13px;height:13px;color:#7b919e}
@media(max-width:650px){.legacy-theme .ji-pdp .ji-pdp-services{grid-template-columns:minmax(0,1fr)}.legacy-theme .ji-pdp .ji-pdp-services a+a{border-top:1px solid #e3ebef}}
.legacy-theme .ji-pdp .pdp-document-file,.legacy-theme .ji-pdp .desc-body a.pdp-document-file{display:flex;align-items:center;gap:12px;min-width:0;width:100%;padding:14px;border:1px solid #dce5eb;border-radius:6px;background:#f9fbfc;color:#23465d;text-decoration:none;font-size:13px;line-height:1.5}
.legacy-theme .ji-pdp .pdp-document-file:hover{border-color:#f58220;background:#fffaf5}
.legacy-theme .ji-pdp .pdp-file-type{display:grid;place-items:center;flex:none;width:36px;height:44px;border:1px solid #f0cccc;border-radius:4px;background:#fff4f3;color:#c9372b;font-size:10px;font-weight:750}
.legacy-theme .ji-pdp .pdp-file-name{flex:1;min-width:0;overflow-wrap:anywhere}
.legacy-theme .ji-pdp .pdp-document-file>small{flex:none;font-size:11px;white-space:nowrap;color:#6a7e8e}
.legacy-theme .ji-pdp .pdp-download-icon{width:18px;height:18px;flex:none;transform:rotate(90deg)}
.legacy-theme .ji-pdp .desc-body ul:has(>li>a.pdp-document-file){list-style:none;margin:0;padding:0}
.legacy-theme .ji-pdp .docs-pills{display:grid;width:100%;gap:10px}
.legacy-theme .ji-pdp #pdp-description{container-type:inline-size;container-name:product-description;min-width:0}
.legacy-theme .ji-pdp .pdp-description-group{padding:20px 0;border-top:1px solid #e4ebef;margin-top:20px}
.legacy-theme .ji-pdp .pdp-description-group h3{font-size:17px;line-height:1.35;margin:0 0 14px;font-weight:700;color:#183b50}
.legacy-theme .ji-pdp .pdp-description-group ul{display:grid;gap:9px 26px;list-style:disc;padding:0 0 0 19px;margin:0}
.legacy-theme .ji-pdp .pdp-description-group li{padding-left:3px;min-width:0;line-height:1.6;overflow-wrap:anywhere}
.legacy-theme .ji-pdp .pdp-description-group li::marker{color:#ed7d25}
@container product-description (min-width:520px){.legacy-theme .ji-pdp .pdp-description-group ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
.legacy-theme .legacy-price-request{font-size:24px;color:#64748b}
.legacy-theme .catalog-layout{background:#e9eff4;padding-top:15px;gap:16px}
.legacy-theme .catalog-heading h1{font-size:30px;font-weight:500;line-height:1.25}
.legacy-theme .catalog-heading-brand{border:0;background:none;padding:0}
.legacy-theme .catalog-paths{gap:0;border-block:1px solid #d6e1e9;padding:8px 0}
.legacy-theme .catalog-paths-row{display:grid;grid-template-columns:124px minmax(0,1fr);gap:12px;border:0;border-radius:0;background:transparent;padding:0;align-items:baseline}
.legacy-theme .catalog-paths-row h2{margin:0;padding:10px 0;font-size:14px;line-height:1.5;font-weight:600;color:#4f6574}
.legacy-theme .catalog-paths-row>ul{gap:0 22px}
.legacy-theme .catalog-paths-row a{border:0;border-radius:0;padding:11px 0;min-height:44px;font-size:15px;line-height:22px;color:#087ac0;background:none;font-weight:400}
.legacy-theme .catalog-paths-row a[aria-current]{box-shadow:inset 0 -2px #f58220;color:#18384c;font-weight:600}
.legacy-theme .catalog-paths-row details{grid-column:2}
.legacy-theme .catalog-paths-row summary{border:0;background:none;padding:10px 0;margin:0;text-decoration:underline;font-size:14px}
.legacy-theme .catalog-featured,.legacy-theme .catalog-boiler-root .catalog-featured{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.legacy-theme .catalog-featured>a{display:flex;align-items:center;flex-direction:row;gap:10px;padding:10px;min-height:76px}
.legacy-theme .catalog-featured img{width:50px;height:50px;flex:none;padding:0}
.legacy-theme .catalog-featured strong,.legacy-theme .catalog-boiler-root .catalog-featured strong{border:0;padding:0;font-size:15px;font-weight:400;min-height:0}
.legacy-theme .catalog-results .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.legacy-theme .catalog-results .product-card{display:flex;flex-direction:column}
.legacy-theme .catalog-results .card-image{height:190px;display:flex}
.legacy-theme .catalog-results .catalog-product-copy,.legacy-theme .catalog-results .catalog-product-price{display:block;width:100%}
.legacy-theme .catalog-results .card-actions{display:flex;position:static;width:100%;margin-top:auto}
.legacy-theme .catalog-results .card-name{display:block;font-size:15px;line-height:1.4}
.legacy-theme .catalog-results .card-price{font-size:24px}
.legacy-theme .pdp-image-dialog{max-width:min(900px,95vw);max-height:95vh;border:1px solid #dce2e8;border-radius:8px;padding:12px}
.legacy-theme .pdp-image-dialog::backdrop{background:#0009}
.legacy-theme .pdp-image-dialog form{display:flex;justify-content:flex-end}
.legacy-theme .pdp-image-dialog img{display:block;object-fit:contain;max-height:78vh;width:100%}
.legacy-theme .legacy-footer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;padding:40px 30px 24px;background:#002843;color:#a8a8a8;font-size:14px}
.legacy-footer h2{color:#fff;font-size:20px;font-weight:500;line-height:1.3;margin:0 0 15px}
.legacy-footer nav{display:flex;flex-direction:column;gap:9px;font-size:14px}
.legacy-footer a:hover{color:#fff;text-decoration:underline}
.legacy-footer .legacy-footer-contacts{display:flex;flex-direction:column;gap:10px;grid-column:auto;min-width:0}
.legacy-footer .legacy-footer-contacts p{color:#a8a8a8;font-size:14px;margin:0;line-height:1.5;max-width:none}
.legacy-footer .legacy-footer-contacts a{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}
.legacy-footer .icon{width:18px;height:18px}
@media(min-width:1600px){.legacy-top-contacts{flex-direction:row;gap:22px}}
@media(max-width:1250px){.legacy-top>.legacy-container{gap:16px}.legacy-top nav{gap:6px 16px}.legacy-top-contacts{display:none}.legacy-tagline{display:none}.legacy-middle{gap:20px}.legacy-theme .legacy-selection .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:991px){
  .legacy-theme .legacy-footer{grid-template-columns:repeat(2,minmax(0,1fr))}
  .legacy-top{display:none}.legacy-middle{min-height:112px;display:grid;grid-template-columns:44px 56px minmax(0,1fr);gap:8px 12px;padding-block:8px;position:relative}
  .legacy-middle .mobile-menu{display:inline-flex}.legacy-logo img{width:50px;height:55px}.legacy-catalog{display:none}.legacy-middle .search-form{grid-row:2;grid-column:1/-1;width:100%;height:40px}.legacy-shopping{justify-content:flex-end;gap:20px}.legacy-shopping a{min-width:32px}.legacy-shopping span{display:none}
  body.legacy-theme .shop-layout{display:block;padding-inline:12px}
  body.legacy-theme .shop-layout>.sidebar{position:fixed;left:0;top:0;bottom:0;min-height:100dvh;width:min(320px,90vw);z-index:80;overflow:auto;transform:translateX(-100%);transition:transform .2s}
  body.legacy-theme .shop-layout>.sidebar.open{transform:translateX(0)}
  body.legacy-theme .sidebar .mobile-catalog-title{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:#07649f;font-size:20px}
  body.legacy-theme .sidebar nav>a{padding:12px 16px;min-height:44px;font-size:14px;line-height:1.3}
  body.legacy-theme #menu-backdrop:not([hidden]){position:fixed;inset:0;background:#0006;z-index:70}
  body.legacy-theme main{padding:0 0 24px}
}
@media(max-width:650px){.legacy-theme .legacy-selection .product-grid,.legacy-theme .catalog-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-theme .catalog-results .card-image{height:140px}.legacy-theme .catalog-paths-row{display:block}.legacy-theme .catalog-heading h1{font-size:24px}.legacy-theme .catalog-featured,.legacy-theme .catalog-boiler-root .catalog-featured{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-theme .ji-pdp .product-photo{max-height:none}.legacy-theme .ji-pdp .hero-grid{gap:20px}.legacy-theme .ji-pdp .product-thumbnails{grid-template-columns:repeat(5,minmax(0,1fr))}.legacy-theme .ji-pdp .breadcrumb-trail{padding:12px 0;font-size:12px}.legacy-theme .legacy-footer{grid-template-columns:minmax(0,1fr);padding:28px 18px}}
