/* Мелкие правки поверх собранных стилей (resources/css → public/build), без пересборки Vite */
.sr-only-focusable:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
img { height: auto; }

/* h3→h1 и h5→h2 сменены ради SEO: те же стили, что у прежних тегов, в исходном порядке каскада (сгенерировано из сборки) */
h1.h3,h2.h5{margin-top:0;margin-bottom:.5rem}
h1.h3,h2.h5{margin-bottom:.5rem;font-family:inherit;font-weight:500;line-height:1.2;color:inherit}
h1.h3{font-size:1.96875rem}
h2.h5{font-size:1.40625rem}
@media print{h1.h3{orphans:3;widows:3}h1.h3{page-break-after:avoid}}
h1.h3{font-family:HelveticaNeue;font-size:4.5rem;margin-top:2rem;margin-bottom:2rem;line-height:.94;letter-spacing:-1px}
h2.h5{font-size:1.125rem;font-family:HelveticaNeue-Medium;letter-spacing:.2px;font-weight:500;margin-top:1rem;margin-bottom:1rem}
.main-products h2.h5{font-size:2rem;line-height:70%;font-family:HelveticaNeue-Medium;letter-spacing:.2px;font-weight:500;margin-top:0;margin-bottom:1rem}
.main-products h1.h3{font-family:HelveticaNeue;font-size:3rem;margin-top:2rem;margin-bottom:2rem;line-height:.94;letter-spacing:-1px}
.carousel-item .side h1.h3{font-size:2rem;margin-top:0rem}
.applications .case h2.h5{margin-top:0;margin-bottom:1rem}
@media (max-width: 576px){h1.h3{font-size:1.75rem;letter-spacing:.1px}h1.h3,h2.h5{margin-top:1rem;margin-bottom:1rem}h2.h5{font-size:1.125rem;font-family:HelveticaNeue-Medium;letter-spacing:.2px;font-weight:500}.applications .case h2.h5{font-size:1.125rem}}
.drag-text h1.h3{font-weight:100;text-transform:uppercase;color:#15824b;padding:60px 0}
h1.h3{font-size:2.5rem;margin-top:1.8rem}
@media (max-width: 576px){h1.h3,h2.h5{margin-top:1rem;margin-bottom:1rem;font-size:1.125rem;text-align:center}h1.h3{font-size:1.8rem}.main-products h2.h5{margin-top:40px}}

/* фото товара: вписывать в блок карусели целиком (раньше при невысоком окне срезались верх и низ) */
#color-tabs .carousel-item-height img {
    width: auto !important;
    max-width: 75%;
    max-height: 94%;
    object-fit: contain;
}

/* поля цены/количества/суммы/склада: «14 700 RUB» не помещалось (обрезалось до «RUI»),
   а на телефоне четыре поля по min-width 100px распирали страницу вбок */
.product-cart { gap: 14px 16px; }
.product-cart .product-cart-input-block { margin-right: 0; width: auto; min-width: 0; flex: 1 1 0; }
.product-cart .product-cart-input-block:nth-child(2) { flex: 0.7 1 0; }
.product-cart .product-input { width: 100%; min-width: 0; text-overflow: ellipsis; }
@media (max-width: 576px) {
    .product-cart .product-cart-input-block, .product-cart .product-cart-input-block:nth-child(2) { flex: 1 1 calc(50% - 8px); }
}
