/* SOC Electro: engineered catalogue, 2026 */
:root{--plate:#e7eee8;--photo:#f4f5f1;--hairline:color-mix(in srgb,var(--line) 72%,transparent)}
html[data-theme="dark"]{--plate:#dce7de;--photo:#e7ece6;--muted:#b6c5ba}
:where(a,button,input,summary):focus-visible{outline:3px solid var(--accent2);outline-offset:3px}
.nav{gap:clamp(12px,1.5vw,24px)}
.brand{min-width:205px}
.nav-links{margin-left:auto;gap:clamp(12px,1.45vw,22px);white-space:nowrap}
.cart-nav-link{white-space:nowrap;padding:8px 0}
.cart-nav-icon{display:none;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav-actions{gap:12px}
.theme-menu{position:relative}
.theme-menu summary{list-style:none;cursor:pointer;border:1px solid var(--line);padding:10px 12px;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}
.theme-menu summary::-webkit-details-marker{display:none}
.theme-menu[open] summary{color:var(--text);border-color:var(--accent)}
.theme-menu .theme-switch{position:absolute;right:0;top:calc(100% + 9px);z-index:60;display:flex;background:var(--surface);padding:9px;border:1px solid var(--line);box-shadow:var(--shadow);white-space:nowrap}
.home-hero{padding:64px 0 54px}
.hero-copy{padding:8px 0}
.hero-copy h1{font-size:clamp(48px,6.3vw,84px);max-width:740px}
.hero-panel{display:grid;grid-template-rows:auto 130px;min-height:0}
.hero-panel>div:first-child{padding:30px 32px}
.hero-panel ul{max-width:370px}
.hero-diagram{position:relative;inset:auto;height:130px;grid-row:2}
.home-category-list{border-top:1px solid var(--line)}
.home-category-row{display:grid;grid-template-columns:70px minmax(0,1fr) 110px 40px;align-items:center;gap:16px;min-height:112px;border-bottom:1px solid var(--line);transition:padding .2s,background-color .2s}
.home-category-row:hover{background:var(--surface);padding-inline:18px}
.home-category-row strong{font-size:clamp(19px,2.5vw,33px);line-height:1.1;letter-spacing:-.045em;font-weight:700}
.category-index,.category-count{font:700 11px ui-monospace,monospace;color:var(--muted)}
.category-index{color:var(--accent)}
.category-arrow{color:var(--accent);font-size:27px;justify-self:end}
.home-all-categories{display:inline-block;margin-top:22px}
.page-hero--catalog,.page-hero--compact{padding:42px 0 36px}
.page-hero--catalog h1,.page-hero--compact h1{font-size:clamp(40px,5.2vw,68px);margin-bottom:12px}
.page-hero--catalog .lede,.page-hero--compact .lede{font-size:17px;max-width:720px;margin:0}
.page-hero--catalog .catalog-search{margin-top:22px}
.section--catalog,.section--cart{padding-top:32px}
.catalog-section-label{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:15px;font:700 11px ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.catalog-section-label span:first-child{color:var(--accent)}
.catalog-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.catalog-category-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 190px;grid-template-rows:auto 1fr;grid-template-areas:"index visual" "body visual";min-height:210px;background:var(--surface);border-radius:3px;overflow:hidden}
.catalog-category-card:first-child{grid-column:1/-1;min-height:275px;grid-template-columns:minmax(0,1fr) minmax(250px,37%)}
.catalog-category-index{grid-area:index;align-self:start;padding:19px 22px 0;font:700 10px ui-monospace,monospace;text-transform:uppercase;letter-spacing:.12em;color:var(--accent)}
.catalog-category-visual{grid-area:visual;display:grid;place-items:center;background:var(--plate);border-left:1px solid var(--line);overflow:hidden}
.catalog-category-visual img,.catalog-category-card img{width:100%;height:100%;max-height:270px;object-fit:contain;background:transparent;padding:24px;mix-blend-mode:multiply}
html[data-theme="dark"] .catalog-category-visual img{mix-blend-mode:multiply}
.catalog-category-card>div{grid-area:body;padding:16px 22px 22px;align-self:end}
.catalog-category-card h2{font-size:clamp(20px,2.3vw,29px);max-width:490px;letter-spacing:-.045em;margin:6px 0 18px}
.catalog-category-card:first-child h2{font-size:clamp(29px,3.5vw,45px)}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product-card{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);min-height:320px;border-radius:3px;box-shadow:none;transition:border-color .2s,transform .2s}
.product-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.product-card-media{min-width:0;background:var(--plate);border-right:1px solid var(--line)}
.product-card-image{height:100%;min-height:320px;padding:28px;background:transparent;border:0}
.product-card-image img{width:100%;height:100%;max-height:255px;object-fit:contain;background:var(--photo);mix-blend-mode:multiply}
.product-card-image .product-no-image{font-size:12px;color:var(--muted)}
.product-card-media .gallery-control{top:48%;width:33px;height:33px;font-size:21px;background:color-mix(in srgb,var(--surface) 88%,transparent)}
.product-card-media .gallery-previous{left:7px}.product-card-media .gallery-next{right:7px}
.image-context{position:absolute;left:12px;bottom:12px;padding:4px 7px;background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--muted);border:1px solid var(--line);font:600 10px ui-monospace,monospace;letter-spacing:.025em}
.product-card-body{padding:20px;gap:10px;min-width:0}
.product-card-kicker{width:100%;display:flex;justify-content:space-between;gap:10px;font:600 10px ui-monospace,monospace;color:var(--muted);line-height:1.4}
.product-card-kicker span:first-child{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-card-body h2{font-size:clamp(19px,1.75vw,24px);letter-spacing:-.04em;line-height:1.1;margin:2px 0 5px}
.product-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;width:100%;border-top:1px solid var(--line)}
.product-facts>div{padding:9px 8px 7px 0;border-bottom:1px solid var(--line);min-width:0}
.product-facts dt{font:600 10px ui-monospace,monospace;color:var(--muted);letter-spacing:.035em}
.product-facts dd{margin:2px 0 0;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.product-facts dd span{font-weight:500;color:var(--muted)}
.product-facts--card dd{font-size:13px}
.product-card-bottom{margin-top:auto;width:100%;padding-top:6px}
.product-card-body .request-price{display:block;font-size:13px;margin:0 0 9px}
.product-card-actions{align-items:center;flex-direction:row;gap:8px}
.product-card-actions .btn{min-height:39px;padding-inline:12px}
.product-card-actions .text-link{font-size:12px;margin:0;padding:0;white-space:nowrap}
.product-hero{padding:28px 0 36px}
.product-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(22px,3.5vw,52px)}
.product-main-image{min-height:440px;max-height:540px;background:var(--plate);border-radius:3px;padding:28px}
.product-main-image img{display:block;max-width:100%;max-height:450px;width:auto;height:auto;object-fit:contain;background:var(--photo);mix-blend-mode:multiply}
.product-main-image .gallery-control{background:var(--surface)}
.product-thumbs{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))}
.product-thumbs img{height:68px;background:var(--photo)}
.product-summary{top:105px}
.product-index{font:700 10px ui-monospace,monospace;letter-spacing:.12em;color:var(--muted);margin-bottom:11px}
.product-summary h1{font-size:clamp(31px,3.4vw,49px);line-height:1.03;letter-spacing:-.06em;margin:0 0 13px}
.product-full-name{color:var(--muted);font-size:14px;line-height:1.45;margin:0 0 15px}
.product-facts--detail{margin:17px 0}
.product-facts--detail dd{font-size:16px}
.product-price-box{padding:15px 18px;border-radius:3px;gap:3px}
.product-price-box strong{font-size:23px}
.product-purchase-actions{margin-top:14px;display:grid;grid-template-columns:1fr 1fr}
.product-purchase-actions .btn{min-width:0;min-height:49px;font-size:13px;padding:8px 10px;text-align:center}
.product-phone-link{display:inline-block;margin-top:13px;font-size:13px;font-weight:700;color:var(--accent)}
.cart-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}
.cart-section-title h2{margin:0;font-size:24px;letter-spacing:-.045em}
.cart-section-title span{color:var(--muted);font:600 11px ui-monospace,monospace}
.cart-item-info strong{font-size:15px;line-height:1.2}
.cart-item-facts{display:flex;flex-wrap:wrap;gap:5px}
.cart-item-facts span{padding:3px 6px;background:var(--surface2);font:600 10px ui-monospace,monospace;color:var(--text)}
.cart-form{padding:22px}
@media(max-width:1180px){.nav-links{gap:12px}.brand{min-width:175px}.brand small{display:none}.nav-actions .btn{max-width:150px;text-align:center;line-height:1.15}.product-card{grid-template-columns:40% 60%}}
@media(max-width:980px){.nav{position:relative}.nav-links,.nav-actions{display:none}.nav>.cart-nav-link{margin-left:auto}.menu-btn{margin-left:0}.nav.open .nav-links{display:flex;position:absolute;top:calc(100% - 1px);left:0;right:0;z-index:51;gap:0;padding:12px 16px 118px;background:var(--surface);border:1px solid var(--line);border-radius:3px;box-shadow:var(--shadow)}.nav.open .nav-links a{padding:10px 0;border-bottom:1px solid var(--line)}.nav.open .nav-actions{display:flex;position:absolute;top:calc(100% + 195px);left:0;right:0;z-index:52;padding:0 16px 16px;background:transparent;border:0;flex-direction:row;justify-content:space-between}.nav-actions .btn{max-width:none}.theme-menu .theme-switch{right:0}.product-layout{grid-template-columns:1fr 1fr}.product-summary{position:static}.product-grid{grid-template-columns:1fr}.product-card{grid-template-columns:42% 58%}}
@media(max-width:680px){.brand{min-width:0}.nav>.cart-nav-link{font-size:0;gap:4px}.cart-nav-icon{display:block}.cart-nav-label{display:none}.cart-count{font-size:11px}.menu-btn{margin-left:0}.nav.open .nav-actions{top:calc(100% + 195px)}.nav-actions .btn{font-size:12px}.home-hero{padding:38px 0 35px}.hero-copy h1{font-size:clamp(42px,11vw,65px)}.hero-panel{min-height:0;grid-template-rows:auto 90px}.hero-panel>div:first-child{padding:22px}.hero-diagram{height:90px}.hero-panel h2{font-size:25px}.hero-panel ul{font-size:12px}.home-category-row{grid-template-columns:30px 1fr 35px;min-height:84px;gap:9px}.home-category-row strong{font-size:20px}.category-count{display:none}.section--catalog,.section--cart{padding-top:22px}.page-hero--catalog,.page-hero--compact{padding:32px 0 28px}.page-hero--catalog h1,.page-hero--compact h1{font-size:43px}.catalog-section-label{font-size:9px}.catalog-category-grid{grid-template-columns:1fr}.catalog-category-card,.catalog-category-card:first-child{grid-column:auto;grid-template-columns:minmax(0,1fr) 120px;min-height:165px}.catalog-category-visual img,.catalog-category-card img{padding:12px;max-height:165px}.catalog-category-card>div{padding:10px 14px 15px}.catalog-category-index{padding:14px 14px 0}.catalog-category-card h2,.catalog-category-card:first-child h2{font-size:19px;margin:4px 0 8px}.catalog-category-card .text-link{font-size:12px}.product-grid{grid-template-columns:1fr}.product-card{grid-template-columns:1fr;min-height:0}.product-card-media{border-right:0;border-bottom:1px solid var(--line)}.product-card-image{height:205px;min-height:205px;padding:18px}.product-card-image img{max-height:170px}.product-card-body{padding:17px}.product-card-body h2{font-size:24px}.product-facts--card dd{font-size:14px}.product-card-actions{flex-direction:row;align-items:center}.product-card-actions .btn{width:auto}.product-layout{grid-template-columns:1fr;gap:14px}.product-gallery{display:flex;flex-direction:column}.product-main-image{min-height:260px;max-height:330px;padding:18px}.product-main-image img{max-height:280px}.product-thumbs{order:2;grid-template-columns:repeat(auto-fill,minmax(58px,1fr))}.product-thumbs img{height:55px}.product-summary h1{font-size:36px}.product-full-name{font-size:12px}.product-facts--detail dd{font-size:15px}.product-purchase-actions{grid-template-columns:1fr}.cart-layout{gap:17px}.cart-item{grid-template-columns:52px minmax(0,1fr) auto;align-items:start}.cart-item>img{width:52px;height:52px}.cart-item-info{grid-column:2}.cart-quantity{grid-column:2}.cart-remove{grid-column:3;grid-row:1 / span 2}.cart-form{padding:18px}.theme-menu .theme-switch{display:flex}}
@media(prefers-reduced-motion:reduce){.home-category-row,.product-card{transition:none}}
