/* Компоновка узких экранов. Подключается после прежних стилей сайта. */
.mp-site .mp-catalog-toolbar{display:none}
.mp-site .checkout-button{display:flex;align-items:center;justify-content:center;min-height:52px;padding:15px 18px;background:#234331;color:#fff;font-size:17px;font-weight:600;line-height:1.4;text-align:center;border:1px solid #234331;border-radius:8px;white-space:normal;overflow-wrap:normal}
.mp-site .checkout-button:hover,.mp-site .checkout-button:focus-visible{background:#173323;color:#fff}
.mp-site .cart-item{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:18px;align-items:start}
.mp-site .cart-item-image{width:90px;height:90px;margin:0;object-fit:contain}
.mp-site .cart-item-info{min-width:0}
.mp-site .cart-item-info h3{margin:0 0 10px;overflow-wrap:anywhere}
.mp-site .cart-item-info .price-details{align-items:flex-start}
.mp-site .cart-item-controls{display:grid;grid-template-columns:minmax(140px,1fr) 44px;gap:12px;width:auto;margin:0;padding:0;border:0}
.mp-cart-amounts{grid-column:1/-1;display:grid;gap:3px;font-size:16px;text-align:right}
.mp-cart-volume{color:var(--mp-muted);font-size:14px}
.mp-cart-quantity{display:grid;grid-template-columns:44px minmax(42px,1fr) 44px;align-items:center;gap:0;min-width:0;border:1px solid var(--mp-line);border-radius:8px;overflow:hidden}
.mp-site .mp-cart-quantity .quantity-btn{position:static;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;font-size:22px;line-height:1;background:var(--mp-soft);color:var(--mp-ink)}
.mp-cart-quantity output{min-width:0;text-align:center;padding:4px;font-size:16px;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mp-site .cart-item-controls .remove-item{position:static;inset:auto;justify-self:end;width:44px;height:44px;margin:0;padding:0;line-height:1;border:1px solid var(--mp-line);border-radius:8px;font-size:26px}
.mp-faq details{border-bottom:1px solid var(--mp-line);padding:18px 0}
.mp-faq summary{cursor:pointer;font-weight:600;line-height:1.45}
.mp-faq p{max-width:760px;color:var(--mp-muted);font-size:16px}
.mp-site .mp-nojs-product{margin:16px 0}
@media(max-width:1000px){
 .mp-site .mp-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;margin:0 0 18px;padding:0;position:static;isolation:isolate}
 .mp-site .mp-catalog-toolbar .mobile-filter-btn{display:inline-flex;position:static;inset:auto;transform:none;float:none;z-index:auto;flex:0 1 auto;width:auto;min-width:0;min-height:44px;height:auto;margin:0;padding:10px 12px;font-size:14px;line-height:1.3;gap:7px}
 .mp-site .mp-catalog-toolbar .view-toggle{display:flex;position:static;inset:auto;transform:none;float:none;z-index:auto;flex:0 0 auto;align-items:center;justify-content:flex-end;width:auto;gap:6px;margin:0;padding:0;background:none}
 .mp-site .mp-catalog-toolbar .view-btn{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:1px solid #bdcbbf;border-radius:7px;background:#fff;color:var(--mp-green)}
 .mp-site .mp-catalog-toolbar .view-btn.active{background:var(--mp-green);border-color:var(--mp-green);color:#fff}
 .mp-site .mp-catalog-toolbar .view-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
 .mp-site #sorting-controls{align-items:center;min-width:0}
 .mp-site #sort-select{min-width:0;width:100%;height:auto;min-height:44px;white-space:normal}
 .mp-site .products-container.one-column{grid-template-columns:minmax(0,1fr)}
 .mp-site .products-container.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mp-site .filters-wrapper{min-height:0;margin:0}
}
@media(max-width:700px){
 .mp-site .mp-header-main{display:grid;grid-template-columns:minmax(0,1fr) 50px 66px;gap:8px;min-height:68px;flex-wrap:nowrap}
 .mp-site .mp-logo{min-width:0;gap:7px;flex-shrink:1}
 .mp-site .mp-logo>span{min-width:0}
 .mp-site .mp-logo img{width:28px;height:28px;flex:0 0 28px}
 .mp-site .mp-logo strong{font-size:20px;white-space:nowrap;letter-spacing:-.6px}
 .mp-site .mp-logo small{font-size:10px;line-height:1.3;letter-spacing:0;white-space:normal}
 .mp-site .mp-cart-link{position:relative;width:50px;height:44px;min-width:0;margin:0;padding:8px;justify-content:center}
 .mp-site .mp-cart-link .cart-count{position:absolute;top:-5px;right:-3px;min-width:20px;max-width:35px;height:20px;padding:0 4px;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .mp-site .mp-menu-toggle{display:flex;align-items:center;justify-content:center;width:66px;min-height:44px;margin:0;padding:8px 6px;font-size:14px;line-height:1.3;white-space:nowrap}
 .mp-site .mp-topline .mp-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:6px 0}
 .mp-site .mp-topline .mp-wrap>a:first-child{grid-column:1/-1;font-size:12px;line-height:1.4}
 .mp-site .mp-topline .mp-wrap>a[href^="tel:"]{margin:0;font-size:14px;white-space:nowrap}
 .mp-site .mp-messengers{gap:6px;padding:0;margin:0}
 .mp-site .mp-messenger{width:34px;height:34px}
 .mp-site .mp-catalog-drawer{max-height:calc(100dvh - 150px)}
 .mp-site .cart-container{width:100%;max-width:none;margin:0;padding:0}
 .mp-site .cart-item{grid-template-columns:64px minmax(0,1fr);padding:14px;gap:12px}
 .mp-site .cart-item-image{width:64px;height:64px}
 .mp-site .cart-item-info{min-width:0;width:auto}
 .mp-site .cart-item-controls{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 44px;gap:10px 12px;width:100%;padding-top:12px;border-top:1px solid var(--mp-line)}
 .mp-cart-amounts{text-align:left;grid-template-columns:1fr;gap:4px;overflow-wrap:anywhere}
 .mp-cart-quantity{width:min(100%,200px)}
 .mp-site .cart-total,.mp-site .cart-total-with-discount,.mp-site .cart-discount{text-align:left;overflow-wrap:anywhere;line-height:1.5}
 .mp-site .checkout-button{width:100%;font-size:16px;padding:14px 12px;min-height:54px}
 .mp-site .mp-catalog-search{gap:8px;min-width:0}
 .mp-site .mp-catalog-search button{padding:10px 12px;font-size:14px}
 .mp-site .mp-catalog-search input{width:0;font-size:16px;padding:10px}
 .mp-site .mp-hero-copy{padding:26px 20px}
 .mp-site .mp-actions .mp-btn{flex:1 1 145px;white-space:normal}
 .mp-site .products-container.two-columns .product{width:auto;margin:0;max-width:100%}
 .mp-site .products-container.two-columns .product-price{font-size:16px;overflow-wrap:anywhere}
 .mp-site .product-badge{max-width:calc(100% - 16px);white-space:normal}
 .mp-site .quantity-selector{flex-wrap:nowrap}
}
@media(max-width:380px){
 .mp-site .mp-logo small{display:none}
 .mp-site .mp-category h3{font-size:15px;overflow-wrap:anywhere}
 .mp-site .products-container{gap:10px}
 .mp-site .product-name{margin-left:9px;margin-right:9px}
 .mp-site .product-actions{padding-left:9px;padding-right:9px}
 .mp-site .product-actions .btn{padding:9px 6px;font-size:13px;white-space:normal}
}
