/* Единые элементы магазина, карточка, галерея, акции и сравнение. */
.mp-site{--accent-green:var(--mp-green);--hover-green:var(--mp-green-dark);--accent-beige:var(--mp-soft);--primary-dark:var(--mp-ink);--secondary-dark:var(--mp-green);--text-dark:var(--mp-ink)}
.mp-site .mp-btn{color:#fff}.mp-site .mp-btn-secondary{color:var(--mp-green);background:#fff}.mp-site .mp-btn-secondary:hover{background:#e5eee7}
.mp-site button:disabled{cursor:default;opacity:.55}
.mp-site input[type=checkbox],.mp-site input[type=radio]{accent-color:var(--mp-green)}
.mp-site .mp-header{transform:translateY(0)!important;transition:transform .24s ease!important;will-change:transform;position: sticky;top: 0;z-index: 100;}
.mp-site .mp-header.mp-header-away{transform:translateY(-100%)!important;pointer-events:none}
.mp-header-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}
.mp-favorites-link{position:relative;display:grid;place-items:center;width:44px;min-width:44px;height:44px;border:1px solid var(--mp-line);border-radius:8px}
.mp-favorites-link svg,.mp-favorite-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.mp-favorites-link [data-favorite-count]{position:absolute;right:-5px;top:-7px;background:var(--mp-green);color:#fff;border-radius:15px;min-width:20px;max-width:35px;height:20px;padding:0 4px;text-align:center;font-size:11px;overflow:hidden}
.mp-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mp-site .mp-favorite-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:44px;height:44px;border:1px solid var(--mp-line);border-radius:8px;background:#fff;color:var(--mp-green);padding:9px;cursor:pointer;line-height:1.3}
.mp-site .mp-favorite-button[aria-pressed=true]{background:#e7efe7;border-color:#6d8f75}.mp-favorite-button[aria-pressed=true] svg{fill:var(--mp-green)}
.mp-site .mp-favorite-with-text{width:auto;min-height:44px;height:auto;padding:10px 14px;font-size:14px}
.mp-site .product>.mp-favorite-button,.mp-selection-card>.mp-favorite-button,.mp-promo-card>.mp-favorite-button{position:absolute;left:8px;top:8px;z-index:3;box-shadow:0 2px 8px #20302514}
.mp-site .product-badge{max-width:calc(100% - 68px)}
.mp-site .mp-product-sharing{max-width:100%;gap:8px;margin-bottom:24px}.mp-site .mp-share-button{min-height:44px;font-size:14px}
.mp-site .mp-compare-link{color:var(--mp-green);font-size:14px;text-decoration:underline;text-underline-offset:3px}
.mp-site .mp-share-status:empty{display:none}
.mp-site .product-card-container{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.mp-site .product-info h2{font-size:24px;text-align:left;color:var(--mp-ink);line-height:1.3}
.mp-site .product-info h3{color:var(--mp-ink);font-size:17px;text-align:left;line-height:1.4}
.mp-site .product-title{overflow-wrap:anywhere}
.mp-site .product-info .price-details,.mp-site .product-info .total-price{overflow-wrap:anywhere}
.mp-site .product-info .price-block>.add-to-cart{width:100%;white-space:normal;min-height:50px}
.mp-site .product-info .quantity-selector{  display: flex;align-items: center;justify-content: center;width: fit-content;max-width: 70%;margin-left: auto;margin-right: auto;}
.mp-site .product-info .quantity-selector button{width:44px;min-width:44px;height:44px;padding:0;font-size:21px}
.mp-site .product-info .quantity-selector input{width:100%;height:44px;font-size:16px}
.mp-site .mp-product-help{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:18px;line-height:1.5;justify-content: center}
.mp-site .width-options,.mp-site .height-options{display:flex;gap:8px;flex-wrap:wrap;min-width:0}
.mp-site .mp-size-option{margin:0;max-width:100%}.mp-site .mp-size-option span{display:flex;align-items:center;min-height:44px;padding:8px 12px}
.mp-site .mp-specs>div{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.mp-specs dt,.mp-specs dd{overflow-wrap:anywhere;min-width:0}
.mp-site .tab-pane p{margin:0 0 14px;overflow-wrap:anywhere}.mp-site .mp-laying-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-laying-grid figure{min-width:0;margin:0}
.mp-site .accessories-section{display:block;margin:28px 0;padding:0;background:none;border:0;box-shadow:none}
.mp-accessory-note{font-size:14px;color:var(--mp-muted);line-height:1.6}
.mp-accessory-list{display:grid;gap:0;border-top:1px solid var(--mp-line)}
.mp-accessory{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px 14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--mp-line)}
.mp-accessory-image{grid-row:1/3;align-self:start;background:var(--mp-soft);border-radius:8px;overflow:hidden}
.mp-accessory-image img{display:block;width:64px;height:80px;object-fit:contain}
.mp-accessory-info{min-width:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.mp-accessory-info>a{font-weight:600}.mp-accessory-info p{margin:4px 0 0;color:var(--mp-muted)}
.mp-accessory-quantity{grid-column:2;display:grid;grid-template-columns:44px minmax(44px,1fr) 44px;width:160px;max-width:100%;border:1px solid var(--mp-line);border-radius:7px;overflow:hidden}
.mp-accessory-quantity button{height:44px;min-width:44px;border:0;background:var(--mp-soft);color:var(--mp-ink);font-size:20px;padding:0}
.mp-accessory-quantity input{border:0;min-width:0;width:100%;height:44px;padding:4px;text-align:center;font-size:16px;appearance:textfield}.mp-accessory-quantity input::-webkit-inner-spin-button{appearance:none}
.mp-accessory-amount,.mp-accessory-call{grid-column:2;font-size:14px}.mp-accessory-amount{font-variant-numeric:tabular-nums}
.mp-accessory-summary{display:grid;gap:12px;margin:16px 0;padding:16px;border-radius:10px;background:var(--mp-soft);font-size:14px}
.mp-accessory-summary .mp-btn{width:100%;font-size:14px}.mp-accessory-summary [role=status]:empty{display:none}.mp-accessory-summary a{text-decoration:underline}
.mp-site .mp-gallery-dialog{width:min(1440px,96vw);height:94dvh;max-width:96vw;max-height:94dvh;padding:0;border-radius:12px;overflow:hidden}
.mp-site .mp-gallery-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:0;align-items:stretch;justify-items:stretch}
.mp-gallery-top{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:12px;align-items:center;padding:10px 16px;border-bottom:1px solid var(--mp-line)}
.mp-gallery-title{font-size:14px;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.mp-site .mp-gallery-dialog button{position:static;inset:auto;transform:none;width:44px;height:44px;margin:0;min-width:44px;max-width:none}
.mp-site .mp-gallery-dialog .mp-modal-zoom{font-size:16px;border-radius:8px}
.mp-gallery-track{display:flex;position:relative;width:100%;height:100%;min-height:0;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
.mp-gallery-track::-webkit-scrollbar{display:none}
.mp-gallery-slide{flex:0 0 100%;width:100%;height:100%;min-width:0;min-height:0;scroll-snap-align:center;scroll-snap-stop:always;overflow:hidden;background:#f5f6f4}
.mp-gallery-pan{width:100%;height:100%;overflow:hidden}
.mp-site .mp-gallery-dialog .mp-gallery-pan img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;user-select:none;touch-action:pan-x pan-y pinch-zoom}
.mp-gallery-bottom{display:flex;align-items:center;justify-content:center;gap:24px;padding:8px 16px;border-top:1px solid var(--mp-line)}
.mp-site .mp-gallery-dialog .mp-image-counter{position:static;transform:none;color:var(--mp-muted);font-size:14px;min-width:48px;text-align:center}
.mp-gallery-enlarged .mp-gallery-track{overflow:hidden;scroll-snap-type:none}.mp-gallery-enlarged .mp-gallery-pan{overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}
.mp-site .mp-gallery-enlarged .mp-gallery-pan img{width:200%;height:200%;max-width:none;max-height:none}
.mp-selection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.mp-selection-card,.mp-promo-card{position:relative;min-width:0;border:1px solid var(--mp-line);border-radius:12px;background:#fff;overflow:hidden;padding:0 16px 16px;display:flex;flex-direction:column;align-items:stretch}
.mp-selection-card>a:first-child,.mp-promo-card>a:first-child{display:block;margin:0 -16px}
.mp-selection-card img,.mp-promo-card img{width:100%;height:210px;object-fit:contain;background:var(--mp-soft);display:block}
.mp-site .mp-selection-card h3,.mp-site .mp-promo-card h3{font-size:16px;line-height:1.45;font-weight:600;margin:16px 16px 8px;overflow-wrap:anywhere;text-align:left}
.mp-selection-price{font-size:19px;font-weight:600;margin:8px 0 3px;overflow-wrap:anywhere}.mp-selection-unit{font-size:13px;color:var(--mp-muted);margin:0 0 12px;overflow-wrap:anywhere}
.mp-selection-card .mp-btn{margin-top:auto;padding:11px 14px;min-height:44px}.mp-compare-choice,.mp-compare-differences{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:12px;font-size:14px}
.mp-compare-choice input,.mp-compare-differences input{width:20px;height:20px;margin:0;flex-shrink:0}
.mp-favorites-intro{max-width:750px;color:var(--mp-muted)}.mp-empty-selection{padding:28px;border:1px solid var(--mp-line);border-radius:12px;background:var(--mp-soft)}
.mp-comparison-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px;background:var(--mp-soft);border:1px solid var(--mp-line);border-radius:10px;margin:24px 0;font-size:14px}
.mp-comparison-toolbar [role=status]:empty{display:none}.mp-comparison-toolbar a{color:var(--mp-green);text-decoration:underline}
#mp-comparison{margin-top:44px;scroll-margin-top:150px}#mp-comparison>p{color:var(--mp-muted);font-size:14px}
.mp-comparison-scroll{max-width:100%;overflow:auto;border:1px solid var(--mp-line);border-radius:10px;overscroll-behavior-x:contain}
.mp-site .mp-comparison-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;margin:0;background:#fff}
.mp-comparison-table th,.mp-comparison-table td{min-width:200px;width:220px;text-align:left;vertical-align:top;border:0;border-right:1px solid var(--mp-line);border-bottom:1px solid var(--mp-line);padding:14px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.mp-comparison-table tr>:first-child{position:sticky;left:0;width:170px;min-width:170px;background:var(--mp-soft);z-index:1;font-weight:500}
.mp-comparison-table thead th{background:#fff;font-weight:600}.mp-comparison-table img{width:100%;height:120px;object-fit:contain;display:block;margin-bottom:12px}
.mp-comparison-table button{display:block;background:none;border:0;text-decoration:underline;color:var(--mp-green);font-size:12px;min-height:44px;text-align:left;padding:8px 0}
.mp-promo-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;scroll-behavior:smooth;overscroll-behavior-x:contain;padding:4px 0 16px;scrollbar-width:thin;scrollbar-color:#9bab9e var(--mp-soft)}
.mp-promo-card{flex:0 0 calc((100% - 54px)/4);scroll-snap-align:start}.mp-promo-card .mp-btn{margin-top:auto;font-size:14px}
.mp-promo-badge{display:inline-block;align-self:flex-start;padding:4px 9px;border-radius:5px;background:#ebeee2;color:#435127;font-size:12px;margin:10px 0 0;max-width:100%;overflow-wrap:anywhere}
.mp-promo-note{font-size:13px;color:var(--mp-muted);line-height:1.5;margin:0 0 12px}
.mp-promo-controls{display:flex;gap:8px}.mp-promo-controls button{border:1px solid var(--mp-line);background:#fff;border-radius:8px;color:var(--mp-green);width:44px;height:44px;font-size:25px;cursor:pointer}
.mp-promo-empty{padding:22px 26px;border:1px solid var(--mp-line);border-radius:12px;background:var(--mp-soft);display:flex;align-items:center;justify-content:space-between;gap:20px}.mp-promo-empty p{margin:0;color:var(--mp-muted);font-size:15px}
.mp-site .checkout-products,.mp-site .checkout-form section,.mp-site .price-summary,.mp-site .pickup-address,.mp-site .order-info{background:var(--mp-soft);border:1px solid var(--mp-line);border-radius:12px;box-shadow:none}
.mp-site .checkout-container{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mp-site .checkout-item{align-items:flex-start}.mp-site .checkout-item>div{min-width:0;overflow-wrap:anywhere}.mp-site .checkout-item-image{flex:0 0 70px;width:70px;height:80px;object-fit:contain}
.mp-site .checkout-item h3{font-size:16px;color:var(--mp-ink);line-height:1.45;margin:0 0 8px}.mp-site .checkout-item p{font-size:14px}
.mp-site .submit-order,.mp-site .save-order-btn,.mp-site #saveOrderBtn,.mp-site .return-home{background:var(--mp-green-dark);color:#fff;border:1px solid var(--mp-green-dark);border-radius:8px;padding:14px 18px;min-height:48px;font:inherit;font-weight:600;white-space:normal}
.mp-site .summary-row{gap:16px;align-items:baseline;flex-wrap:wrap}.mp-site .summary-row>span:last-child{white-space:nowrap;margin-left:auto}
.mp-site .summary-row.subtotal-row,.mp-site .summary-row.total-row{font-weight:600;color:var(--mp-ink)}
.mp-site .order-section{border-color:var(--mp-line)}.mp-site .order-section h3,.mp-site .order-info h2,.mp-site .thank-you-container h1{color:var(--mp-ink)}
.mp-site .order-info a{color:var(--mp-green);text-decoration:underline}.mp-site .order-info li{overflow-wrap:anywhere}
.mp-site .thank-you-container{width:100%;max-width:850px;padding:0;margin-inline:auto}
.mp-site .thank-you-container>.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border:1px solid var(--mp-green);border-radius:8px;color:var(--mp-green);background:#fff;font:inherit;white-space:normal}
.mp-site .thank-you-container .social-share{display:block;max-width:100%;margin:20px 0 12px}.mp-site .thank-you-container #saveOrderBtn{max-width:100%}
.mp-site .mp-content-page h1{font-size:36px;line-height:1.2;letter-spacing:-.7px;color:var(--mp-soft);font-weight:600;text-align:center;margin:0 0 28px;overflow-wrap:anywhere}
.mp-site .mp-content-page h2{font-size:26px;line-height:1.35;color:var(--mp-ink);font-weight:600;text-align:center}
.mp-site .mp-content-page h3{line-height:1.4;color:rgb(171, 163, 163);}
.mp-site .storage-section,.mp-site .calculation-section,.mp-site .partnership-container,.mp-site .contacts-wrapper{padding:0;max-width:none;background:none;box-shadow:none}
.mp-site .storage-conditions,.mp-site .calculator-container,.mp-site .materials-section,.mp-site .working-hours,.mp-site .partnership-form,.mp-site .floor-calculator{background:var(--mp-soft);border:1px solid var(--mp-line);box-shadow:none;border-radius:12px;padding:24px}
.mp-site .cta-section{background:var(--mp-green-dark);color:#fff;border:0;border-radius:12px;padding:28px}.mp-site .cta-section h2,.mp-site .cta-section h3,.mp-site .cta-section p{color:#fff}
.mp-site .contacts-submit,.mp-site .calculate-btn,.mp-site .benefit-btn,.mp-site .cta-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;background:var(--mp-green-dark);color:#fff;border:1px solid var(--mp-green-dark);border-radius:8px;padding:12px 18px;line-height:1.4;font:inherit;cursor:pointer;text-align:center;white-space:normal}
.mp-site .cta-section .cta-button{background:#fff;color:var(--mp-green-dark);border-color:#fff}
.mp-site .mp-content-page input:not([type=checkbox]):not([type=radio]),.mp-site .mp-content-page select,.mp-site .mp-content-page textarea{max-width:100%;min-width:0;border:1px solid #c5d0c7;border-radius:7px;font-size:16px}
.mp-site .mp-content-page table{border-color:var(--mp-line)}
@media(max-width:1150px){.mp-header-main{gap:16px}.mp-nav{gap:16px}.mp-site .mp-header-phone{display:none}}
@media(max-width:1000px){.mp-selection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mp-promo-card{flex-basis:calc((100% - 36px)/3)}.mp-site .product-card-container{grid-template-columns:minmax(0,1fr);gap:26px}.mp-site .product-gallery{position:static;max-width:640px;width:100%;margin-inline:auto}.mp-site .checkout-container{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
 .mp-site .mp-header-main{grid-template-columns:minmax(0,1fr) 94px 60px;gap:6px}.mp-header-actions{gap:6px}.mp-site .mp-header-actions .mp-cart-link{width:44px;height:44px;padding:8px}.mp-site .mp-menu-toggle{width:60px;font-size:13px}
 .mp-site .mp-logo strong{font-size:19px}.mp-site .mp-logo small{display:none}.mp-site .mp-logo img{width:24px;height:24px;flex-basis:24px}.mp-site .mp-logo{gap:6px}
 .mp-site .product-info,.mp-site .product-gallery,.mp-site .tab-content,.mp-site .price-block,.mp-site .discounts-block{min-width:0;max-width:100%}
 .mp-site .product-info .price-block{padding:18px}.mp-site .product-info .price{font-size:27px;line-height:1.3}.mp-site .product-info .price-per-pack{font-size:14px;line-height:1.5}
 .mp-site .product-info .tabs{gap:0}.mp-site .product-info .tab-link{flex:1 1 125px;white-space:normal;padding:12px 8px;min-height:46px;line-height:1.4}
 .mp-site .mp-specs>div{font-size:14px;gap:12px}.mp-site .product-info h2{font-size:22px}.mp-site .mp-product-help a{font-size:13px}
 .mp-site .mp-share-link{min-width:0;flex-basis:100%}.mp-site .mp-compare-link{flex-basis:100%;min-height:34px;display:flex;align-items:center}
 .mp-site .mp-gallery-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.mp-gallery-top{padding:calc(8px + env(safe-area-inset-top)) 10px 8px;gap:8px}.mp-gallery-bottom{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.mp-gallery-title{font-size:12px}
 .mp-selection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mp-selection-card{padding:0 12px 12px}.mp-selection-card>a:first-child{margin:0 -12px}.mp-selection-card img{height:160px}
 .mp-site .mp-selection-card h3{font-size:14px;margin:12px 12px 8px}.mp-selection-price{font-size:17px}.mp-selection-unit{font-size:12px}.mp-selection-card .mp-btn{font-size:13px;padding:10px 8px}
 .mp-promo-card{flex-basis:78%;max-width:300px}.mp-promo-empty{display:block;padding:20px}.mp-promo-empty .mp-btn{margin-top:16px}.mp-promo-controls{margin-top:14px}
 .mp-comparison-table tr>:first-child{width:115px;min-width:115px}.mp-comparison-table th,.mp-comparison-table td{width:190px;min-width:190px;padding:12px;font-size:13px}
 .mp-site .checkout-products,.mp-site .checkout-form section,.mp-site .price-summary,.mp-site .order-info{padding:16px}.mp-site .checkout-item-image{flex-basis:54px;width:54px;height:64px}.mp-site .checkout-item{gap:10px}
 .mp-site .delivery-options{flex-direction:column;gap:10px}.mp-site .payment-option,.mp-site .delivery-option{min-width:0;gap:9px;padding:12px;font-size:15px}
 .mp-site .delivery-options p, .mp-site .payment-options p{padding-left: 10%;}
 .mp-site .checkout-container input,.mp-site .checkout-container select,.mp-site .checkout-container textarea{max-width:100%;min-width:0;font-size:16px}.mp-site .checkout-container input[type=radio],.mp-site .checkout-container input[type=checkbox]{flex-shrink:0}
 .mp-site .order-summary{padding:16px}.mp-site .order-info h2{font-size:21px;overflow-wrap:anywhere}.mp-site .order-actions{display:flex;flex-direction:column;gap:12px}.mp-site .order-actions>*{width:100%;margin:0}
 .mp-site .mp-content-page h1{font-size:28px;letter-spacing:-.4px;}.mp-site .mp-content-page h2{font-size:22px}.mp-site .storage-conditions,.mp-site .calculator-container,.mp-site .materials-section,.mp-site .working-hours,.mp-site .partnership-form,.mp-site .floor-calculator{padding:18px}.mp-site .cta-section{padding:22px}
}
@media(max-width:380px){.mp-site .mp-logo img{display:none}.mp-site .mp-logo strong{font-size:20px}.mp-site .mp-specs>div{grid-template-columns:minmax(0,1fr);gap:4px}.mp-accessory{grid-template-columns:50px minmax(0,1fr);gap:10px}.mp-accessory-image img{width:50px;height:65px}.mp-site .mp-product-sharing{gap:7px}.mp-site .mp-share-button,.mp-site .mp-favorite-with-text{padding:9px 10px;font-size:13px}.mp-selection-grid{grid-template-columns:minmax(0,1fr)}.mp-selection-card img{height:230px}}
@media(prefers-reduced-motion:reduce){.mp-site .mp-header{transition:none!important}.mp-gallery-track,.mp-promo-track{scroll-behavior:auto}}
