:root{--primary:#2563eb;--primary-dark:#1d4ed8;--light:#f8fafc;--dark:#1f2937;--muted:#6b7280;--border:#e5e7eb;--shadow:0 4px 12px rgba(0,0,0,.08)}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;background:var(--light);color:var(--dark);line-height:1.55}a{color:inherit}.container{max-width:1400px;margin:0 auto;padding:0 20px}.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.header-row{min-height:78px;display:flex;align-items:center;gap:28px}.brand{font-weight:800;font-size:24px;color:var(--primary);text-decoration:none}.header-search{display:flex;flex:1;max-width:520px}.header-search input{width:100%;border:1px solid var(--border);border-radius:9px 0 0 9px;padding:11px 13px;font-size:15px}.header-search button{border:0;background:var(--primary);color:#fff;padding:0 18px;border-radius:0 9px 9px 0}.main-nav{margin-left:auto;display:flex;gap:20px}.main-nav a{text-decoration:none;font-weight:600}.hero{background:#fff;padding:38px 0;border-bottom:1px solid var(--border)}.hero h1{font-size:32px;margin:0 0 8px}.hero p{margin:0;color:var(--muted);font-size:18px}.entity-hero{background:#fff;padding:30px 0;border-bottom:1px solid var(--border)}.entity-hero-inner{display:flex;align-items:center;gap:25px}.entity-hero img{width:150px;height:110px;object-fit:contain;background:#fff;border-radius:12px}.entity-hero h1{margin:0 0 8px}.catalog-shell{display:grid;grid-template-columns:260px 1fr;gap:28px;padding-top:28px;padding-bottom:45px}.filters{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px;height:max-content;position:sticky;top:100px}.filters section+section{border-top:1px solid var(--border);margin-top:20px;padding-top:18px}.filters h2{font-size:18px;margin:0 0 10px}.filter-link{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:7px;text-decoration:none;font-size:14px}.filter-link:hover,.filter-link.active{background:#eff6ff;color:var(--primary);font-weight:600}.reset-link{display:block;margin-top:20px;color:var(--primary);font-size:14px}.catalog-toolbar{background:#fff;border:1px solid var(--border);border-radius:10px;padding:13px 16px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.catalog-toolbar select{padding:8px;border:1px solid var(--border);border-radius:7px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;text-decoration:none;box-shadow:0 1px 2px rgba(0,0,0,.03);transition:.2s}.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.product-image{aspect-ratio:4/3;background:#fff;display:flex;align-items:center;justify-content:center;padding:12px}.product-image img{width:100%;height:100%;object-fit:contain}.no-image{color:#9ca3af;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#f3f4f6}.product-info{padding:15px}.product-name{font-weight:700;font-size:17px;min-height:52px}.product-meta{color:var(--muted);font-size:13px;margin-top:6px}.product-price{font-size:22px;font-weight:800;margin-top:12px;color:var(--primary-dark)}.empty-state{grid-column:1/-1;background:#fff;padding:45px;text-align:center;border-radius:12px;border:1px solid var(--border)}.site-footer{background:#1f2937;color:#fff;padding:40px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:35px}.footer-grid h3{margin-top:0}.footer-grid p,.footer-grid a{color:#d1d5db}.footer-grid a{display:block;margin:6px 0;text-decoration:none}.footer-bottom{border-top:1px solid #374151;margin-top:28px;padding-top:18px;color:#9ca3af}.product-page{padding-top:28px;padding-bottom:50px}.breadcrumbs{font-size:14px;color:var(--muted);margin-bottom:15px}.product-page h1{font-size:32px}.product-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:30px}.gallery{display:grid;grid-template-columns:90px 1fr;gap:14px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:15px}.gallery-thumbs{display:flex;flex-direction:column;gap:10px}.gallery-thumb{background:#fff;border:2px solid transparent;border-radius:8px;padding:4px;height:78px}.gallery-thumb.active{border-color:var(--primary)}.gallery-thumb img{width:100%;height:100%;object-fit:contain}.gallery-main{min-height:450px;display:flex;align-items:center;justify-content:center}.gallery-main img{max-width:100%;max-height:560px;object-fit:contain}.product-buy{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px;height:max-content}.sku{color:var(--muted)}.detail-price{font-size:36px;font-weight:800;margin:16px 0;color:var(--primary-dark)}.buy-note{background:#eff6ff;padding:14px;border-radius:9px;color:#1e40af}.product-facts{margin:22px 0 0}.product-facts div{display:grid;grid-template-columns:120px 1fr;border-top:1px solid var(--border);padding:11px 0}.product-facts dt{color:var(--muted)}.product-facts dd{margin:0}.product-description{background:#fff;border:1px solid var(--border);border-radius:12px;padding:25px;margin-top:25px}.directory-page{padding-top:35px;padding-bottom:50px}.directory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.directory-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;text-decoration:none;display:flex;gap:18px}.directory-card img{width:120px;height:100px;object-fit:contain}.directory-card h2{margin:0 0 6px}.directory-card p{color:var(--muted)}.mobile-filter-button,.filter-mobile-head,.filter-overlay{display:none}@media(max-width:980px){.header-row{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.header-search{order:3;max-width:none;width:100%}.main-nav{gap:12px;font-size:14px}.catalog-shell{grid-template-columns:1fr}.mobile-filter-button{display:block;width:max-content;background:var(--primary);color:#fff;border:0;border-radius:8px;padding:10px 15px}.filters{display:none;position:fixed;inset:0 auto 0 0;width:min(360px,88vw);z-index:40;border-radius:0;overflow:auto;top:0}.filters.open{display:block}.filter-mobile-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.filter-mobile-head button{font-size:30px;border:0;background:none}.filter-overlay.open{display:block;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:30}.product-grid{grid-template-columns:repeat(2,1fr)}.product-layout{grid-template-columns:1fr}.directory-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.main-nav{display:none}.hero h1{font-size:25px}.product-grid{grid-template-columns:1fr}.catalog-toolbar{align-items:flex-start;flex-direction:column}.gallery{grid-template-columns:1fr}.gallery-thumbs{order:2;flex-direction:row;overflow:auto}.gallery-thumb{min-width:72px}.gallery-main{min-height:320px}.directory-grid{grid-template-columns:1fr}.directory-card img{width:90px}.footer-grid{grid-template-columns:1fr}.entity-hero-inner{align-items:flex-start}.entity-hero img{width:100px;height:90px}}.product-variants{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px;margin-top:25px}.variants-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.variants-heading h2{margin:0}.variants-controls{display:flex;gap:8px}.variants-controls button{width:38px;height:38px;border:1px solid var(--border);border-radius:8px;background:#fff;cursor:pointer;font-size:20px}.variants-strip{display:flex;gap:16px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:thin;padding:2px 2px 10px}.variant-card{flex:0 0 260px}.variant-card .product-card{display:block;height:100%}@media(max-width:620px){.variant-card{flex-basis:220px}.variants-controls{display:none}}

/* Product cards: separated metadata and centered commercial information */
.product-card-category,.product-card-manufacturer{color:var(--muted);font-size:13px;line-height:1.4;text-align:left}
.product-card-manufacturer{margin-top:3px}
.product-card .product-name{text-align:center;margin-top:12px;min-height:52px}
.product-card .product-price{text-align:center;font-weight:600}

/* Product detail layout */
.product-buy-label{font-size:14px;color:var(--muted)}
.product-buy .detail-price{margin:6px 0 20px}
.product-order-placeholder{border-top:1px solid var(--border);padding-top:18px;display:flex;flex-direction:column;gap:5px}
.product-order-placeholder strong{font-size:18px}
.product-order-placeholder span{font-size:14px;color:var(--muted)}
.product-technical{background:#fff;border:1px solid var(--border);border-radius:12px;padding:25px;margin-top:25px}
.product-technical h2{margin:0 0 12px}
.product-technical .product-facts{margin:0}
.product-technical .product-facts div{grid-template-columns:160px 1fr}
.product-description h2{margin-top:0}
@media(max-width:620px){.product-technical .product-facts div{grid-template-columns:1fr;gap:3px}.product-technical .product-facts dt{font-size:13px}}


/* Compact product detail page */
.product-page{padding-top:18px;padding-bottom:30px}
.product-page .breadcrumbs{margin-bottom:8px}
.product-page>h1{font-size:28px;line-height:1.2;margin:0 0 14px}
.product-layout{gap:18px}
.product-buy{padding:18px}
.product-buy .detail-price{font-size:30px;font-weight:600;line-height:1.15;margin:4px 0 14px}
.product-order-placeholder{padding-top:12px;gap:2px}
.product-order-placeholder strong{font-size:16px}
.product-variants{padding:14px 16px;margin-top:16px}
.variants-heading{margin-bottom:10px}
.variants-heading h2{font-size:21px}
.variants-strip{gap:12px;padding-bottom:6px}
.product-technical{padding:14px 18px;margin-top:16px}
.product-technical h2{font-size:21px;margin:0 0 6px}
.product-technical .product-facts div{grid-template-columns:145px 1fr;padding:6px 0}
.product-technical .product-facts dt,.product-technical .product-facts dd{line-height:1.35}
.product-description{padding:16px 18px;margin-top:16px}
.product-description h2{font-size:21px;margin:0 0 8px}
.product-description p{margin:7px 0}
@media(max-width:980px){
  .product-layout{gap:14px}
  .product-buy{padding:15px 17px}
  .product-buy .detail-price{font-size:28px}
}
@media(max-width:620px){
  .container.product-page{padding-left:12px;padding-right:12px}
  .product-page{padding-top:12px;padding-bottom:22px}
  .product-page .breadcrumbs{font-size:12px;margin-bottom:6px}
  .product-page>h1{font-size:23px;margin-bottom:10px}
  .product-layout{gap:10px}
  .gallery{padding:10px;gap:8px}
  .gallery-main{min-height:250px}
  .gallery-thumb{height:62px;min-width:62px}
  .product-buy{padding:12px 14px}
  .product-buy .detail-price{font-size:25px;margin:2px 0 10px}
  .product-order-placeholder{padding-top:9px}
  .product-variants{padding:11px 12px;margin-top:10px}
  .variants-heading{margin-bottom:8px}
  .variants-heading h2{font-size:19px}
  .variant-card{flex-basis:190px}
  .product-technical{padding:11px 13px;margin-top:10px}
  .product-technical h2{font-size:19px;margin-bottom:4px}
  .product-technical .product-facts div{grid-template-columns:1fr;gap:1px;padding:5px 0}
  .product-description{padding:12px 13px;margin-top:10px}
  .product-description h2{font-size:19px;margin-bottom:5px}
}


/* Catalog grid: portrait marketplace cards */
.catalog-shell{grid-template-columns:240px minmax(0,1fr);gap:22px}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.product-image{aspect-ratio:3/4;padding:8px;overflow:hidden;position:relative}
.product-image img{
  width:100%;height:100%;object-fit:contain;
  transform:scale(1);
  transition:transform .28s ease .6s;
  transform-origin:center center;
}
@media (hover:hover) and (pointer:fine){
  .product-card:hover .product-image img{transform:scale(1.7)}
}
.product-info{padding:11px 12px 13px}
.product-card-category,.product-card-manufacturer{
  color:var(--muted);font-size:12px;line-height:1.35;margin-bottom:3px
}
.product-name{font-size:15px;line-height:1.35;min-height:40px;text-align:center;margin-top:8px}
.product-price{font-size:19px;font-weight:500;line-height:1.25;text-align:center;margin-top:8px;color:var(--primary-dark)}
.catalog-pagination{display:flex;justify-content:center;align-items:center;gap:6px;margin:24px 0 4px}
.page-link{min-width:38px;height:38px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:8px;background:#fff;text-decoration:none}
.page-link:hover{border-color:var(--primary);color:var(--primary)}
.page-link.active{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}
@media(max-width:1180px){
  .catalog-shell{grid-template-columns:220px minmax(0,1fr);gap:18px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .catalog-shell{grid-template-columns:1fr}
  .filters{position:static}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-info{padding:9px}
  .product-name{font-size:14px}
  .product-price{font-size:17px}
}
@media(max-width:390px){
  .product-grid{grid-template-columns:1fr}
  .product-image{aspect-ratio:3/4}
}

/* Cart: stage 2 / step 4 */
.cart-page{padding-top:22px;padding-bottom:45px}.cart-page h1{margin:12px 0 24px}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}
.cart-products,.cart-summary,.cart-empty{background:#fff;border:1px solid var(--border);border-radius:12px}
.cart-line{display:grid;grid-template-columns:110px minmax(0,1fr) 90px 125px;align-items:center;gap:16px;padding:18px;border-bottom:1px solid var(--border)}
.cart-line:last-child{border-bottom:0}.cart-line-image{height:110px;display:flex;align-items:center;justify-content:center}
.cart-line-image img{width:100%;height:100%;object-fit:contain}.cart-line-info{min-width:0}
.cart-line-title{font-weight:600;text-decoration:none}.cart-line-sku,.cart-line-unit{color:var(--muted);font-size:13px;margin-top:7px}
.cart-line-count{text-align:center;white-space:nowrap}.cart-line-total{font-weight:600;text-align:right;white-space:nowrap}
.cart-summary{padding:22px}.cart-summary h2{margin:0 0 20px;font-size:21px}
.cart-summary-row{display:flex;justify-content:space-between;gap:10px;font-size:18px}.cart-summary p{font-size:13px;color:var(--muted)}
.cart-summary-note{padding-top:10px;border-top:1px solid var(--border)}
.cart-back{display:inline-block;margin-top:12px;text-decoration:none;border:1px solid var(--border);border-radius:8px;padding:10px 14px}
.cart-empty{padding:30px}
@media(max-width:900px){.cart-layout{grid-template-columns:1fr}}
@media(max-width:600px){.cart-line{grid-template-columns:85px minmax(0,1fr);gap:10px;padding:12px}.cart-line-image{height:85px}.cart-line-count{text-align:left;grid-column:2}.cart-line-total{text-align:left;grid-column:2}.cart-summary{padding:16px}}

/* Cart controls */
.cart-line-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.cart-quantity-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.cart-quantity-form label{font-size:13px;color:var(--muted)}
.cart-quantity-form input{width:75px;padding:7px;border:1px solid var(--border);border-radius:6px}
.cart-quantity-form button,.cart-remove-form button{cursor:pointer;border:1px solid var(--border);border-radius:6px;background:#fff;padding:7px 10px}
.cart-quantity-form button:hover{border-color:var(--primary)}
.cart-remove-form button{color:#a12d2d}
.cart-remove-form button:hover{border-color:#a12d2d}


/* Step 6: cart link in site header */
.main-nav .header-cart{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.header-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:var(--primary);color:#fff;font-size:12px;font-weight:700}

/* Cart step 6b: compact marketplace-style controls */
.cart-line{display:grid;grid-template-columns:110px minmax(0,1fr) 170px;gap:20px;align-items:start}
.cart-line-info{min-width:0}.cart-line-right{display:flex;flex-direction:column;align-items:flex-end;gap:18px}
.cart-line-prices{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.cart-line-total{font-size:21px;font-weight:750;white-space:nowrap}.cart-line-unit{font-size:12px;color:#718096}
.cart-remove-form{margin-top:12px}.cart-icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:10px;background:#f2f5f9;color:#425466;cursor:pointer}
.cart-icon-button:hover{background:#ffecec;color:#c53030}
.cart-quantity-form{display:inline-flex;align-items:center;gap:0;padding:3px;border-radius:12px;background:#f1f4f8}
.cart-quantity-form button[data-step]{width:36px;height:34px;border:0;background:transparent;border-radius:9px;font-size:23px;cursor:pointer;color:#26374a}
.cart-quantity-form button[data-step]:hover:not(:disabled){background:#fff}
.cart-quantity-form button:disabled{opacity:.35;cursor:default}
.cart-quantity-form output{min-width:32px;text-align:center;font-weight:650}
.cart-fallback-update{margin-left:8px}
.cart-fallback-update[hidden]{display:none!important}
@media(max-width:700px){.cart-line{grid-template-columns:84px minmax(0,1fr);gap:12px}.cart-line-right{grid-column:2;align-items:flex-start}.cart-line-prices{align-items:flex-start}.cart-line-total{font-size:19px}}


/* Cart delete icon: larger glyph, transparent button, no visible border. */
.cart-remove-form button.cart-icon-button {
    width: 44px;
    height: 44px;
    padding: 7px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #526174;
    box-shadow: none;
}
.cart-remove-form button.cart-icon-button:hover {
    background: transparent;
    color: #bd3030;
    border: none;
}
.cart-remove-form button.cart-icon-button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Product detail: marketplace-inspired purchase panel */
.product-buy .product-buy-price{font-size:34px;font-weight:500;letter-spacing:-.035em;line-height:1.15;color:var(--primary-dark);margin:7px 0 22px}
.product-buy-price span{font-size:.75em}
.product-buy-form{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.product-quantity-label{font-size:13px;color:var(--muted);font-weight:600}
.product-quantity-control{display:flex;align-items:center;justify-content:space-between;max-width:190px;border-radius:13px;background:#f1f4f8;padding:4px}
.product-quantity-control button{width:42px;height:38px;border:0;background:transparent;border-radius:10px;color:#26374a;font-size:25px;cursor:pointer}
.product-quantity-control button:hover:not(:disabled){background:white}
.product-quantity-control button:disabled{opacity:.3;cursor:default}
.product-quantity-control input{width:55px;text-align:center;border:0;outline:0;background:transparent;font-size:17px;font-weight:700;appearance:textfield;-moz-appearance:textfield}
.product-quantity-control input::-webkit-inner-spin-button,.product-quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.product-buy-form .product-add-button{width:100%;min-height:48px;padding:12px 16px;border:0;border-radius:14px;background:var(--primary);color:#fff;font-size:16px;font-weight:700;cursor:pointer;transition:filter .15s}
.product-buy-form .product-add-button:hover{filter:brightness(.91)}
.product-buy-form .product-add-button:focus-visible,.product-quantity-control button:focus-visible{outline:2px solid var(--primary-dark);outline-offset:2px}
@media(max-width:700px){.product-buy .product-buy-price{font-size:29px}}


/* Site-wide header: contacts, search and navigation (stage 6). */
.site-header{background:#fff}
.header-contact-bar{background:#eff5ff;border-bottom:1px solid #dce9fc}
.header-contact-content{display:flex;gap:10px 30px;align-items:center;justify-content:space-between;min-height:40px;padding-top:6px;padding-bottom:6px}
.header-contact-items{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;font-size:13px;font-weight:650;color:#2b4267}
.header-contact-items a{text-decoration:none;color:#1856a0}
.header-contact-items a:hover{text-decoration:underline}
.header-contact-phone{white-space:nowrap}
.header-contact-hint{margin:0;font-size:12px;color:#4b5a71;text-align:right}
.site-header .header-row{min-height:74px;gap:24px}
.site-header .header-search{max-width:none;min-width:180px}
.site-header .header-cart{display:inline-flex;align-items:center;gap:9px;text-decoration:none;white-space:nowrap;font-weight:700;color:var(--dark)}
.site-header .header-cart:hover{color:var(--primary)}
.header-navigation{border-top:1px solid var(--border);background:#fff}
.header-navigation-items{display:flex;gap:10px 25px;align-items:center;flex-wrap:wrap;min-height:46px}
.header-navigation-items a{font-size:14px;text-decoration:none;font-weight:600;color:#334155;padding:8px 0}
.header-navigation-items a:hover{color:var(--primary)}
.header-navigation-items .header-navigation-highlight{color:#164c92;font-weight:750;margin-left:auto}
.footer-contact-line{display:block;margin:5px 0}
.footer-messengers{display:flex;gap:14px;flex-wrap:wrap;margin:8px 0;font-weight:600;font-size:14px}
.site-footer .footer-contact-note{font-size:13px;line-height:1.45;color:#cbd5e1;margin-top:12px;max-width:340px}
@media(max-width:1100px){
 .header-contact-content{align-items:flex-start;flex-direction:column;gap:2px}
 .header-contact-hint{text-align:left}
 .header-navigation-items{gap:8px 18px;padding-top:4px;padding-bottom:4px}
 .header-navigation-items .header-navigation-highlight{margin-left:0}
}
@media(max-width:760px){
 .site-header{position:static}
 .site-header .header-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:12px;padding-bottom:12px}
 .site-header .brand{font-size:22px}
 .site-header .header-search{grid-column:1/-1;grid-row:2;max-width:none;min-width:0}
 .header-contact-content{padding-top:8px;padding-bottom:8px}
 .header-contact-items{gap:4px 12px;font-size:12px}
 .header-contact-hint{font-size:11px}
 .header-navigation-items{gap:0 18px;justify-content:flex-start}
 .header-navigation-items a{font-size:13px;padding:7px 0}
}
@media(max-width:410px){
 .header-contact-items{gap:4px 10px}
 .header-contact-items a[href^="mailto:"]{overflow-wrap:anywhere}
 .header-navigation-items{gap:0 12px}
}


/* Hero: shop-first catalog landing, blue legacy gradient. */
.hero.hero-store{background:transparent;border:0;padding:22px 0 0}
.hero-store-card{background:linear-gradient(125deg,#2563eb 0%,#1d4ed8 72%,#173b96 100%);border-radius:14px;padding:clamp(22px,3.5vw,45px);box-shadow:0 8px 25px rgba(30,64,175,.13)}
.hero-store-content{max-width:900px}
.hero-store .hero-store-eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#cfe5ff;margin:0 0 9px}
.hero-store h1{color:#fff;font-size:clamp(27px,3.1vw,41px);line-height:1.18;letter-spacing:-.025em;max-width:920px;margin:0 0 14px}
.hero-store .hero-store-description{font-size:clamp(15px,1.4vw,18px);line-height:1.65;color:#e7f0ff;max-width:850px;margin:0}
.hero-store-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:24px 0 0}
.hero-store-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 19px;border-radius:9px;font-weight:700;font-size:14px;text-decoration:none;transition:background-color .15s}
.hero-store-primary{background:#fff;border:1px solid #fff;color:#1d4ed8}
.hero-store-primary:hover{background:#eaf1ff}
.hero-store-secondary{border:1px solid #bfdbfe;color:#fff;background:rgba(255,255,255,.06)}
.hero-store-secondary:hover{background:rgba(255,255,255,.17)}
.hero-store-actions a:focus-visible{outline:3px solid #facc15;outline-offset:3px}
.numbers-notice{border:1px solid #f2cb81;border-left:4px solid #d28b13;background:#fff9e9;color:#58360d;border-radius:9px;padding:14px 17px;line-height:1.45}
.numbers-notice strong{display:block;font-size:16px;line-height:1.35;color:#753d07}
.numbers-notice p{margin:4px 0 0;color:#63461d;font-size:14px;line-height:1.5}
.hero-store .numbers-notice-hero{margin-top:24px;max-width:920px}
.hero-store .numbers-notice-hero p{color:#63461d;font-size:14px}
.numbers-notice-product{padding:12px 13px;margin:0 0 18px}
.numbers-notice-product strong{font-size:14px}
.numbers-notice-product p{font-size:13px}
.numbers-notice-cart{margin:0 0 20px;max-width:960px}
@media(max-width:620px){
 .hero.hero-store{padding-top:12px}
 .hero-store-card{border-radius:10px;padding:22px 17px}
 .hero-store-actions{margin-top:18px}
 .hero-store-actions a{width:100%;text-align:center}
 .hero-store .numbers-notice-hero{margin-top:19px}
 .numbers-notice{padding:12px 13px}
}

/* Restored checkout + cart action styles (Stage 3/4). Keep in the shared stylesheet. */
/* Stage 3: checkout */
.checkout-page{padding-top:22px;padding-bottom:55px}.checkout-page h1{margin:12px 0 24px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.checkout-form,.checkout-summary,.checkout-success{background:#fff;border:1px solid var(--border);border-radius:12px;padding:25px}
.checkout-form h2,.checkout-summary h2{font-size:20px;margin:0 0 18px}.checkout-form h2:not(:first-child){margin-top:30px}
.checkout-field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.checkout-field label{font-size:14px;font-weight:600}
.checkout-field input,.checkout-field textarea{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:9px;padding:12px;font:inherit;background:#fff}
.checkout-field input:focus,.checkout-field textarea:focus{outline:2px solid var(--primary);outline-offset:1px}
.checkout-method{border:1px solid var(--border);border-radius:10px;padding:15px;background:#f8fafc}.checkout-method p{margin:8px 0 0;color:var(--muted)}
.checkout-button{display:block;box-sizing:border-box;text-align:center;text-decoration:none;border:0;border-radius:11px;background:var(--primary);color:#fff;padding:14px 18px;font:inherit;font-weight:650;cursor:pointer;margin-top:18px;width:100%}
.checkout-button:hover{filter:brightness(.92);color:#fff}.checkout-hint{font-size:13px;color:var(--muted)}
.checkout-summary-item{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding:12px 0;font-size:14px}.checkout-summary-item strong{white-space:nowrap}
.checkout-summary-total{display:flex;justify-content:space-between;gap:15px;padding:18px 0;font-size:19px}
.checkout-summary>a{display:inline-block;margin-top:10px}.checkout-errors{color:#a12d2d;font-size:13px}.checkout-success{max-width:650px}.checkout-success .checkout-button{max-width:250px}
@media(max-width:850px){.checkout-layout{grid-template-columns:1fr}}@media(max-width:600px){.checkout-form,.checkout-summary,.checkout-success{padding:16px}}

/* Checkout: conditional delivery and invoice fields */
.checkout-form [hidden], .checkout-form [data-post-address][hidden], .checkout-form [data-post-box][hidden] { display: none !important; }
.checkout-form h3 { margin: 1.3rem 0 .8rem; }

/* Stage 4: visible delivery/payment radio cards */
.checkout-radio-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.checkout-radio-card{display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid var(--border);border-radius:12px;background:#fff;cursor:pointer;font-size:14px;font-weight:500;transition:border-color .15s,background .15s,box-shadow .15s}
.checkout-radio-card:hover{border-color:var(--primary)}
.checkout-radio-card:has(input:checked){border-color:var(--primary);background:#f2f7ff;box-shadow:0 0 0 1px var(--primary)}
.checkout-radio-card:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:2px}
.checkout-radio-card input[type=radio]{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;accent-color:var(--primary)}
.checkout-radio-text{display:block;line-height:1.4}
.checkout-radio-text small{display:block;margin-top:6px;color:var(--muted);font-size:12px;font-weight:400}
.checkout-radio-card.is-disabled{opacity:.55;cursor:not-allowed}
.checkout-field-help{margin:0;line-height:1.5}
@media(max-width:560px){.checkout-radio-options{grid-template-columns:1fr}}

/* Stage 4: vertical checkout choices and clearer order summary */
.checkout-radio-options{display:flex;flex-direction:column;gap:10px}
.checkout-radio-card{width:100%;box-sizing:border-box;align-items:center;min-height:62px}
.checkout-radio-text{flex:1;min-width:0}
.checkout-radio-card:has(input[value="ozon"]){background:#fafbfc}
.checkout-summary-item{gap:16px;align-items:baseline}
.checkout-summary-item:last-of-type{border-bottom:0}
.checkout-summary-total{border-top:2px solid var(--border);margin-top:10px;padding:20px 0 8px;font-size:23px;font-weight:700;align-items:baseline}
.checkout-summary-total strong{font-size:25px;color:var(--primary-dark);white-space:nowrap}
@media(max-width:600px){.checkout-summary-total{font-size:20px}.checkout-summary-total strong{font-size:22px}}

/* Stage 4: checkout/cart layout refinements */
.cart-summary .cart-back{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;margin-top:10px;padding:12px 16px;border:2px solid var(--primary);border-radius:11px;background:#fff;color:var(--primary);font:inherit;font-weight:650;text-align:center;text-decoration:none;transition:background .15s}
.cart-summary .cart-back:hover{background:#f2f7ff;color:var(--primary-dark)}
.checkout-required{color:#c52e36;font-weight:700}
.checkout-field-help{margin:0;line-height:1.5}
.checkout-radio-options{display:flex;flex-direction:column;gap:10px}
.checkout-radio-card{width:100%;box-sizing:border-box}
.checkout-method h3{margin:0 0 10px;font-size:17px}
.checkout-method p{line-height:1.65}
.checkout-method p.checkout-hint{margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.checkout-summary-item strong{font-weight:500;letter-spacing:-.015em}
.checkout-summary-total strong{font-weight:500;letter-spacing:-.025em}
.checkout-return-button{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;width:100%;margin-top:16px!important;padding:11px 16px;border:2px solid var(--primary);border-radius:11px;background:#fff;color:var(--primary);font-weight:650;text-align:center;text-decoration:none}
.checkout-return-button:hover{background:#f2f7ff;color:var(--primary-dark)}

/* Stage 4: contextual delivery details inside delivery section */
.checkout-section + .checkout-section{margin-top:30px;padding-top:26px;border-top:1px solid var(--border)}
.checkout-section h2{margin:0 0 18px!important}
.checkout-delivery-details,.checkout-payment-details{margin:14px 0 8px;padding:18px;border:1px solid var(--border);border-radius:12px;background:#f8fafc}
.checkout-delivery-details h3,.checkout-payment-details h3{margin:0 0 15px;font-size:17px}
.checkout-delivery-details .checkout-field:last-child,.checkout-payment-details .checkout-field:last-child{margin-bottom:0}
.checkout-delivery-details .checkout-radio-card{background:white}
.checkout-delivery-details p{line-height:1.6}
.checkout-form [hidden]{display:none!important}
@media(max-width:600px){.checkout-delivery-details,.checkout-payment-details{padding:13px}}

/* Stage 4: Ozon PVZ form and unobtrusive radio selection */
.checkout-radio-card:has(input:checked){border-color:var(--border);background:#f2f7ff;box-shadow:none}
.checkout-radio-card:has(input:focus-visible){outline:none;box-shadow:none}
.checkout-radio-card input[type="radio"]:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.checkout-ozon-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.checkout-ozon-map{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--primary);border-radius:9px;padding:9px 12px;background:white;color:var(--primary);font-size:13px;font-weight:600;text-decoration:none}
.checkout-ozon-map:hover{background:#f2f7ff;color:var(--primary-dark)}
.checkout-ozon-map:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

/* Stage 4: postal address autocomplete and manual form */
.checkout-text-action{border:0;background:transparent;color:var(--primary);font:inherit;font-size:13px;cursor:pointer;padding:5px}
.checkout-text-action:hover{text-decoration:underline}
.checkout-manual-fields{border:1px solid var(--border);background:#fff;border-radius:12px;padding:18px;margin:12px 0}
.checkout-manual-fields h4{margin:0 0 18px;font-size:16px}
.checkout-address-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.checkout-address-suggestions{background:white;border:1px solid var(--border);border-radius:9px;box-shadow:0 8px 22px #0001;max-height:260px;overflow-y:auto}
.checkout-address-option{display:block;width:100%;padding:11px 13px;text-align:left;background:white;border:0;border-bottom:1px solid var(--border);font:inherit;font-size:14px;cursor:pointer}
.checkout-address-option:hover,.checkout-address-option:focus-visible{background:#f2f7ff}
@media(max-width:520px){.checkout-address-pair{grid-template-columns:1fr}.checkout-manual-fields{padding:12px}}

/* Radio inputs: remove the browser's square focus ring and inherited text-input outline.
   The radio itself and its selected card provide the visual state. */
.checkout-field .checkout-radio-card input[type="radio"],
.checkout-field .checkout-radio-card input[type="radio"]:focus,
.checkout-field .checkout-radio-card input[type="radio"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 50%;
}
.checkout-radio-card:has(input[type="radio"]:focus-visible) {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--primary);
}
/* Semantic H1 for the catalog without changing the existing storefront layout. */
.seo-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
