/* МеталоСетка: размеры шрифтов и интервалы (10.11.2026). Только размер, межстрочный интервал и отступы текста; цвета в ms-contrast.css. */

/* Шапка (все страницы) */
html .ms-main-nav a{font-size:14px}
html .ms-user-nav a{font-size:13px}
html .ms-search input[type=search]{font-size:14px}
html .ms-phone small{font-size:12px;line-height:1.3}
html .ms-brand-copy small,html body.ms-new-home .ms-brand-copy small{font-size:11px}

/* Главная */
html .ms-side-item span{font-size:14px;line-height:1.35}
html .ms-side-item.ms-side-all span{font-size:13px}
html .ms-benefit strong,html body.ms-new-home .ms-benefit strong{font-size:13px;line-height:1.3}
html .ms-benefit small,html body.ms-new-home .ms-benefit small{font-size:12px;line-height:1.35}
html .ms-product-title,html body.ms-new-home .ms-product-title{font-size:14px;line-height:1.35}
html .ms-stock,html body.ms-new-home .ms-stock{font-size:12px}
html .ms-section-head a{font-size:13px}
html .ms-service-strip small,html body.ms-new-home .ms-service-strip>a small{font-size:12px;line-height:1.4}
html .ms-calc-form label,html body.ms-new-home .ms-calc-form label{font-size:13px}
html .ms-calc-form input,html .ms-calc-form select,html body.ms-new-home .ms-calc-form input,html body.ms-new-home .ms-calc-form select{font-size:14px}
html .ms-calc-note,html body.ms-new-home .ms-calc-note{font-size:13px;line-height:1.5}

/* Подвал (все страницы) */
html .ms-site-footer .ms-footer-brand p,
html .ms-site-footer .ms-footer-column p,
html .ms-site-footer .ms-footer-column a{font-size:13px;line-height:1.55}
html .ms-site-footer .ms-footer-column h3{font-size:13px}
html .ms-site-footer .ms-footer-cta{font-size:13px}
html .ms-site-footer .ms-footer-bottom span,
html .ms-site-footer .ms-footer-bottom a{font-size:12px}

/* Товар: верх и блок покупки */
html body.ms-product-page .ms-product-breadcrumb a,
html body.ms-product-page .ms-product-breadcrumb strong{font-size:13px}
html body.ms-product-page .ms-product-stock,
html body.ms-product-page .ms-product-sku{font-size:12px}
html body.ms-product-page .ms-product-spec-grid span{font-size:12px}
html body.ms-product-page .ms-product-price-row>span{font-size:13px}
html body.ms-product-page .ms-product-qty label{font-size:13px}
html body.ms-product-page .ms-product-add-cart{font-size:16px;min-height:50px;height:auto;margin-bottom:0}
html body.ms-product-page .ms-one-click{font-size:14px;min-height:44px;margin-top:12px}
html body.ms-product-page .ms-product-benefits strong{font-size:13px}
html body.ms-product-page .ms-product-benefits small,
html body.ms-product-page .ms-product-benefits small a{font-size:12px;line-height:1.35}

/* Товар: описание и разделы */
html body.ms-product-page .ms-product-details-main>h2,
html body.ms-product-page .ms-product-related .ms-product-section-head>h2{font-size:26px;line-height:1.25}
html body.ms-product-page .ms-product-description{max-width:72ch}
html body.ms-product-page .ms-product-description p,
html body.ms-product-page .ms-product-description li{font-size:16px;line-height:1.6}
html body.ms-product-page .ms-product-description p{margin-bottom:16px}
html body.ms-product-page .ms-product-description p:empty{display:none}
html body.ms-product-page .ms-product-description li{margin-bottom:6px}
html body.ms-product-page .ms-product-description h2,
html body.ms-product-page .ms-product-description h2 strong{font-size:22px;line-height:1.3}
html body.ms-product-page .ms-product-description h2{margin:28px 0 10px}
html body.ms-product-page .ms-product-help-card>span{font-size:12px}
html body.ms-product-page .ms-product-help-card>p{font-size:13px;line-height:1.55}
html body.ms-product-page .ms-product-help-btn{font-size:14px}
html body.ms-product-page .ms-product-section-head>a{font-size:13px}
html body.ms-product-page .ms-product-related-bottom>a{font-size:12px}
html body.ms-product-page .ms-product-related-title{font-size:13px;line-height:1.35}

/* Телефон */
@media (max-width:620px){
  html .ms-product-title,html body.ms-new-home .ms-product-title{font-size:15px}
  html .ms-hero h1{line-height:1.15}
  html .ms-calc-form input,html .ms-calc-form select,html body.ms-new-home .ms-calc-form input,html body.ms-new-home .ms-calc-form select{font-size:16px}
  html .ms-site-footer .ms-footer-column a{display:flex;align-items:center;min-height:40px}
  html .ms-site-footer .ms-footer-bottom a,
  html body.ms-product-page .ms-product-breadcrumb a,
  html body.ms-product-page .ms-product-section-head>a,
  html body.ms-product-page .ms-product-related-bottom>a{display:inline-flex;align-items:center;min-height:40px}
  html body.ms-product-page .ms-product-benefits small a{display:inline-block;padding:6px 0}
}

/* 10.11.2026: категории, корзина, оформление; области нажатия контактов */
html body.ms-category-page .ms-category-breadcrumb{font-size:13px}
html body.ms-category-page .ms-category-eyebrow{font-size:12px}
html body.ms-category-page .ms-category-hero p{font-size:14px;line-height:1.5}
html body.ms-category-page .ms-category-tags span{font-size:12px}
html body.ms-category-page .ms-category-count-badge{font-size:12px}
html body.ms-category-page .ms-filter-reset{font-size:13px;min-height:40px}
html body.ms-category-page .ms-filter-group legend{font-size:13px}
html body.ms-category-page .ms-filter-group label{font-size:14px}
html body.ms-category-page .ms-filter-help strong{font-size:13px}
html body.ms-category-page .ms-filter-help small{font-size:12px;line-height:1.4}
html body.ms-category-page .ms-category-toolbar p,
html body.ms-category-page .ms-sort-label{font-size:12px}
html body.ms-category-page .ms-sort-label select{font-size:14px}
html body.ms-category-page .ms-category-card-body a{font-size:14px;line-height:1.35}
html body.ms-category-page .ms-category-stock{font-size:12px}
html body.ms-category-page .ms-category-specs span,
html body.ms-category-page .ms-category-specs b{font-size:12px}
html body.ms-category-page .ms-category-cart{font-size:13px;min-height:40px}
html body.ms-category-page .ms-category-order-strip>div>span{font-size:12px}
html body.ms-category-page .ms-category-order-strip p{font-size:13px;line-height:1.5}

html body.ms-commerce-page .ms-commerce-breadcrumb{font-size:13px}
html body.ms-commerce-page .ms-commerce-eyebrow{font-size:12px}
html body.ms-commerce-page .ms-commerce-head p{font-size:14px;line-height:1.5}
html body.ms-commerce-page .ms-checkout-progress>div,
html body.ms-commerce-page .ms-checkout-progress b{font-size:12px}
html body.ms-commerce-page .woocommerce-error,
html body.ms-commerce-page .woocommerce-info,
html body.ms-commerce-page .woocommerce-message{font-size:14px!important}
html body.ms-commerce-page .return-to-shop .button{font-size:14px!important}
html body.ms-commerce-page table.shop_table thead th{font-size:12px}
html body.ms-commerce-page table.shop_table td{font-size:14px}
html body.ms-commerce-page table.shop_table .product-name a{font-size:15px}
html body.ms-commerce-page .quantity .qty{font-size:14px}
html body.ms-commerce-page .coupon .input-text{font-size:14px!important}
html body.ms-commerce-page .woocommerce button.button,
html body.ms-commerce-page .woocommerce a.button,
html body.ms-commerce-page .woocommerce input.button{font-size:14px!important}
html body.ms-commerce-page .cart_totals table th,
html body.ms-commerce-page .cart_totals table td{font-size:14px!important}
html body.ms-commerce-page .wc-proceed-to-checkout a.checkout-button{font-size:16px!important}
html body.ms-commerce-page .ms-commerce-trust strong{font-size:13px}
html body.ms-commerce-page .ms-commerce-trust small,
html body.ms-commerce-page .ms-commerce-trust small a{font-size:12px;line-height:1.4}
html body.ms-commerce-page table.shop_table_responsive tr td::before{font-size:12px}
html body.ms-checkout-page .form-row label{font-size:13px}
html body.ms-checkout-page .form-row input.input-text,
html body.ms-checkout-page .form-row textarea,
html body.ms-checkout-page .form-row select,
html body.ms-checkout-page .select2-container{font-size:15px!important}
html body.ms-checkout-page #order_review table.shop_table thead th{font-size:12px!important}
html body.ms-checkout-page #order_review table.shop_table td,
html body.ms-checkout-page #order_review table.shop_table th{font-size:14px!important}
html body.ms-checkout-page #shipping_method li{font-size:13px}
html body.ms-checkout-page #payment ul.payment_methods li{font-size:14px!important}
html body.ms-checkout-page #payment div.payment_box{font-size:13px!important;line-height:1.5}
html body.ms-checkout-page #place_order{font-size:16px!important}
html body.ms-checkout-page .woocommerce-terms-and-conditions-wrapper{font-size:13px;line-height:1.5}
html body.ms-checkout-page .woocommerce-order-overview li{font-size:12px!important}
html body.ms-checkout-page .woocommerce-order-overview li strong{font-size:14px}
html body.ms-checkout-page .woocommerce-customer-details address{font-size:14px!important}

@media (max-width:620px){
  html body.ms-category-page .ms-sort-label select,
  html body.ms-commerce-page .quantity .qty,
  html body.ms-commerce-page .coupon .input-text,
  html body.ms-commerce-page select,
  html body.ms-checkout-page .form-row input.input-text,
  html body.ms-checkout-page .form-row textarea,
  html body.ms-checkout-page .form-row select,
  html body.ms-checkout-page .select2-container{font-size:16px!important}
  html body.ms-category-page .ms-category-breadcrumb a,
  html body.ms-commerce-page .ms-commerce-breadcrumb a{display:inline-flex;align-items:center;min-height:40px}
  html .ms-search input[type=search]{font-size:16px}
  html body .woocommerce-message a.button{display:inline-flex;align-items:center;min-height:40px}
}
@media (max-width:960px){
  html body .ms-product-help-card a[href^="tel:"],
  html body .ms-product-help-card a[href^="mailto:"],
  html body .ms-site-footer a[href^="tel:"],
  html body .ms-site-footer a[href^="mailto:"],
  html body .ms-site-footer .ms-footer-cta,
  html body .ms-commerce-trust a[href^="tel:"]{display:inline-flex;align-items:center;min-height:44px}
}
/* 10.11.2026: категории «Проволока», «Инструменты» и подкатегории инструментов */
html body.ms-wire-category-page .ms-wire-hero-note small{font-size:12px}
html body.ms-wire-category-page .ms-wire-hero-note strong{font-size:13px}
html body.ms-wire-category-page .ms-category-stock{font-size:12px}
html body.ms-wire-category-page .ms-category-specs span{font-size:12px}
html body.ms-wire-category-page .ms-category-cart{font-size:13px;min-height:40px}
html body.ms-wire-category-page .ms-wire-info-strip p{font-size:13px;line-height:1.6}
html body.ms-wire-category-page .ms-wire-info-points span{font-size:12px}
html body .ms-tools-facts span{font-size:12px}
html body .ms-tools-brand-note small{font-size:12px;line-height:1.4}
html body .ms-tools-section-head p,html body .ms-tools-section-head>a{font-size:13px}
html body .ms-tools-category-body span{font-size:13px}
html body .ms-tools-stock{font-size:12px}
html body .ms-tools-product-bottom>a{font-size:13px}
html body .ms-tools-benefits p{font-size:13px;line-height:1.55}
html body.ms-tools-category-page .ms-category-breadcrumb{font-size:13px}
html body.ms-tools-category-page .ms-tools-hero .ms-category-tags span{font-size:12px}
html body.ms-tools-category-page .ms-tools-hero .ms-category-count-badge{font-size:12px}
html body.ms-tools-category-page .ms-tools-product-bottom>a{font-size:13px}
html body.ms-tools-category-page .ms-tools-service-strip small{font-size:12px}
html body.ms-tools-category-page .ms-category-order-strip span{font-size:12px}
html body.ms-tools-category-page .ms-category-order-strip p{font-size:13px;line-height:1.5}
html body.ms-tools-category-page .ms-category-order-strip .ms-btn{font-size:13px}
html body .ms-tools-sub-main .ms-category-breadcrumb{font-size:13px}
html body .ms-tools-sub-copy .ms-category-tags span{font-size:12px}
html body .ms-tools-sub-visual .ms-category-count-badge{font-size:12px}
html body .ms-tools-sub-nav-head .ms-category-eyebrow{font-size:12px}
html body .ms-tools-sub-chips a{font-size:13px}
html body .ms-tools-sub-products .ms-tools-stock{font-size:12px}
html body .ms-tools-sub-products .ms-tools-sub-sku{font-size:12px}
html body .ms-tools-sub-products .ms-tools-product-bottom>a{font-size:13px}
html body .ms-tools-sub-main .ms-category-order-strip>div>span{font-size:12px}
html body .ms-tools-sub-main .ms-category-order-strip p{font-size:13px;line-height:1.5}
@media (max-width:620px){
  html body.ms-tools-category-page .ms-category-breadcrumb a,
  html body .ms-tools-sub-main .ms-category-breadcrumb a{display:inline-flex;align-items:center;min-height:40px}
}

/* ms-zh11: значки в карточке — без разрыва слов по буквам; колонки переносятся, когда места мало */
html body.ms-product-page .ms-product-benefits{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
html body.ms-product-page .ms-product-benefits strong,html body.ms-product-page .ms-product-benefits small{word-break:normal;overflow-wrap:break-word;hyphens:manual}

/* ms-visual-20261115: иллюстрации вместо CSS-сетки («Производство») и грузовика с надписью («Доставка») */
.ms-production-specs-visual .ms-production-spec-img{display:block;width:auto;height:auto;max-width:min(80%,440px);max-height:210px;margin:0 0 66px 80px}
.ms-delivery-hero-visual .ms-delivery-illustration{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);width:min(84%,440px);height:auto;max-height:78%;object-fit:contain;z-index:1}
@media (max-width:767px){.ms-production-specs-visual .ms-production-spec-img{max-width:84%;max-height:190px;margin:14px 0 70px}.ms-delivery-hero-visual .ms-delivery-illustration{top:40%;width:88%}}

/* ms-hero-proizvodstvo-compact: ниже верхний баннер «Производства» (только эта страница, только десктоп) */
@media (min-width:1051px){
body .ms-production-hero{min-height:0;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr)}
body .ms-production-hero .ms-production-hero-copy{padding:30px 44px 28px}
body .ms-production-hero h1{font-size:38px;margin:8px 0 10px}
body .ms-production-hero p{margin-bottom:18px}
body .ms-production-hero .ms-production-actions{margin-top:16px}
body .ms-production-hero .ms-production-facts{margin-top:20px}
body .ms-production-hero .ms-production-hero-visual img{max-height:250px}
body .ms-production-hero .ms-production-grid-mark{width:250px;height:250px}
body .ms-production-hero .ms-production-visual-note{bottom:18px;right:22px;padding:11px 15px}
}

/* ms-hero-optovikam-compact: ниже верхний баннер «Оптовикам» (только эта страница, только десктоп) */
@media (min-width:1051px){
body .ms-wholesale-hero{min-height:0;grid-template-columns:minmax(0,1.32fr) minmax(330px,.68fr)}
body .ms-wholesale-hero .ms-wholesale-hero-copy{padding:30px 44px 28px}
body .ms-wholesale-hero h1{font-size:38px;margin:8px 0 10px}
body .ms-wholesale-hero p{margin-bottom:0}
body .ms-wholesale-hero .ms-wholesale-actions{margin-top:18px}
body .ms-wholesale-hero .ms-wholesale-facts{margin-top:20px}
body .ms-wholesale-hero .ms-wholesale-hero-visual>img{width:auto;max-width:84%;max-height:172px;height:auto;transform:none;margin-bottom:66px}
body .ms-wholesale-hero .ms-wholesale-orbit{width:250px;height:250px}
body .ms-wholesale-hero .ms-wholesale-hero-card{bottom:18px;right:22px;padding:11px 15px}
}

/* ms-wholesale-request-compact: ниже блок «Оптовый запрос» на «Оптовикам» — без пустого места под кнопкой */
body .ms-wholesale-request .ms-wholesale-form button[type="submit"],body .ms-wholesale-request .ms-wholesale-form .ms-btn{margin-bottom:0}
body .ms-wholesale-request .ms-wholesale-form textarea{height:64px;min-height:64px}

/* ms-contact-hero-compact: ниже верхний баннер «Контакты» (только десктоп) */
@media (min-width:1051px){
body .ms-contact-hero{padding:22px 34px}
body .ms-contact-hero h1{font-size:34px;line-height:1.12;margin:6px 0 8px}
}

/* ms-hero-dostavka-compact: ниже верхний баннер «Доставка и оплата» (только десктоп) */
@media (min-width:1051px){
body .ms-delivery-hero{min-height:0;grid-template-columns:minmax(0,1.32fr) minmax(330px,.68fr)}
body .ms-delivery-hero .ms-delivery-hero-visual{min-height:0}
body .ms-delivery-hero .ms-delivery-hero-copy{padding:28px 44px 26px}
body .ms-delivery-hero h1{font-size:38px;margin:8px 0 10px}
body .ms-delivery-hero p{margin-bottom:0}
body .ms-delivery-hero .ms-delivery-actions{margin-top:16px}
body .ms-delivery-hero .ms-delivery-facts{margin-top:18px;gap:8px 20px}
body .ms-delivery-hero .ms-delivery-route{width:250px;height:250px}
body .ms-delivery-hero-visual .ms-delivery-illustration{top:40%;width:min(86%,330px);max-height:62%}
body .ms-delivery-hero .ms-delivery-hero-card{bottom:18px;right:22px;padding:11px 15px}
}

/* ms-hero-o-kompanii-compact: ниже верхний баннер «О компании» (только десктоп) */
@media (min-width:1051px){
body .ms-about-hero{min-height:0;grid-template-columns:minmax(0,1.32fr) minmax(330px,.68fr)}
body .ms-about-hero .ms-about-hero-copy{padding:28px 44px 26px}
body .ms-about-hero h1{font-size:38px;margin:8px 0 10px}
body .ms-about-hero p{margin-bottom:0}
body .ms-about-hero .ms-about-actions{margin-top:16px}
body .ms-about-hero .ms-about-facts{margin-top:18px;gap:8px 20px}
body .ms-about-hero .ms-about-hero-visual img{width:auto;max-width:84%;max-height:172px;height:auto;transform:none;margin-bottom:66px}
body .ms-about-hero .ms-about-orbit{width:250px;height:250px}
body .ms-about-hero .ms-about-hero-card{bottom:18px;right:22px;padding:11px 15px}
}
