/* Product-only MTB skin. Native cart, gallery and plugin forms retain their handlers. */
.mtb-product-view{--wb-accent:#3e704d;--wb-text:#233029;--wb-muted:#68766b;--wb-line:#dce3d8;--wb-bg:#f5f6f0;--wb-paper:#fff;--wb-accent-soft:#e7eedf}
.mtb-product-view .wb-product-page__grid{grid-template-columns:minmax(0,1.25fr) minmax(340px,1fr);gap:28px 48px;align-items:start}
.mtb-product-view .wb-product-heading{grid-column:1/-1;margin:0}
.mtb-product-view .wb-product-heading h1.wb-product__name{font:600 clamp(26px,2.8vw,42px)/1.22 Onest,Arial,sans-serif;color:#233029;letter-spacing:-.035em;margin-bottom:16px}
.mtb-product-view .wb-product-buy{position:static;min-width:0;padding:28px;border:1px solid #dce3d8;border-radius:12px;background:#fff}
.mtb-product-view .wb-product-purchase{position:static}
.mtb-product-view .wb-product-gallery{min-height:0;background:#e9ede4;border-radius:12px}
.mtb-product-view .wb-product-gallery.wb-detail-gallery{display:block;background:transparent;min-height:0}
.mtb-product-view .wb-detail-gallery__stage{aspect-ratio:4/3;border-radius:12px;background:#e9ede4}
.mtb-product-view .wb-detail-gallery__slide img{max-height:none;object-fit:contain}
.mtb-product-view .wb-product-gallery>a{display:block;width:100%;aspect-ratio:4/3}
.mtb-product-view .wb-product-gallery>a img{width:100%;height:100%;object-fit:contain}
.mtb-product-view .wb-detail-gallery__thumbs{gap:12px;padding-top:14px;scrollbar-width:thin;scrollbar-color:#9aaf91 transparent}
.mtb-product-view .wb-detail-gallery__thumb{flex:0 0 calc((100% - 36px)/4);aspect-ratio:4/3;border-radius:8px;background:#e9ede4;opacity:.8}
.mtb-product-view .wb-detail-gallery__thumb:first-child,.mtb-product-view .wb-detail-gallery__thumb:last-child{margin:0}
.mtb-product-view .wb-detail-gallery__thumb img{object-fit:cover}
.mtb-product-view .wb-detail-gallery__thumb[aria-current=true]{border-color:#3e704d;background:#fff;opacity:1}
.mtb-product-view .wb-detail-gallery__arrow,.mtb-product-view .wb-detail-gallery__counter{color:#233029;background:#fffffff0;border-color:#dce3d8;box-shadow:0 3px 12px #23302912}
.mtb-product-view :is(.wb-product-action,.wb-product-rating,.wb-product-summary,.wb-product-action--sku){color:#68766b;font-family:Onest,Arial,sans-serif}
.mtb-product-view .wb-product-buy .wb-product__price{color:#233029;font:650 32px/1.2 Onest,Arial,sans-serif}
.mtb-product-view .wb-product-buy__price{margin:22px 0}
.mtb-product-view :is(.wb-product-buy del,.wb-buy-stock,.wb-buy-quantity,.wb-panel-intro){color:#68766b}
.mtb-product-view :is(.wb-product-action:hover,.wb-product-rating a:hover,.wb-product-action[aria-pressed=true]){color:#3e704d}
.mtb-product-view .wb-product-rating__score svg{stroke:#6c8c5f;fill:none}
.mtb-product-view .wb-product-page :is(.product-group__title,.product-group__toggler){color:#3e5144}
.mtb-product-view .wb-product-page .product-group__item{border-color:#ccd9c4;background-color:#fff;color:#59695e}
.mtb-product-view .wb-product-page .product-group__item:hover{border-color:#7e9a72;color:#3e704d;box-shadow:0 3px 10px #23302912}
.mtb-product-view .wb-product-page .product-group__item.product-group__item--active{background-color:#edf2e7;border-color:#3e704d;color:#31513b;box-shadow:0 0 0 2px #3e704d20}
.mtb-product-view :is(.wb-product-rating__score,.wb-product-rating a,.wb-product-action--review){color:#68766b}
.mtb-product-view .wb-review-form{color:#59695e;font-family:Onest,Arial,sans-serif}
.mtb-product-view .wb-review-form :is(input[type=text],input[type=email],textarea){background:#fff;border-color:#ccd9c4;color:#233029;font-family:Onest,Arial,sans-serif}
.mtb-product-view .wb-review-form :is(small,.wb-review-form__author strong){color:#59695e}
.mtb-product-view .wb-review-form :is(.wb-review-form__notice,.wb-review-form__status){background:#edf2e7;border-color:#ccd9c4;color:#3e5144}
.mtb-product-view .wb-review-form :is(.wb-review-form__agreement a,.wb-review-form__auth a,.wb-review-form__providers a){color:#3e704d}
.mtb-product-view .wb-review-rate label{color:#aabca0}
.mtb-product-view .wb-review-rate label:has(input:checked),.mtb-product-view .wb-review-rate label:has(~ label input:checked){color:#3e704d}
.mtb-product-view .wb-review-rate label:has(input:checked) svg,.mtb-product-view .wb-review-rate label:has(~ label input:checked) svg{fill:#7e9a72}
.mtb-product-view .wb-review-form__agreement input[type=checkbox]{accent-color:#3e704d}
.mtb-product-view .wb-review-form__images input::file-selector-button{background:#edf2e7;border-color:#ccd9c4;color:#3e5144}
.mtb-product-view :is(.wb-buy-quantity input,.wb-buy-remove){border-color:#dce3d8;background:#f5f7f1;color:#233029}
.mtb-product-view .wb-product-messenger{background:#f4f7ef;border-color:#dce3d8;color:#3e704d;font-family:Onest,Arial,sans-serif}
.mtb-product-view .wb-product-messenger:hover{background:#e7eedf;border-color:#7e9a72}
.mtb-product-view .wb-product-panels .wb-product-detail{border-color:#dce3d8}
.mtb-product-view .wb-product-panels summary{color:#233029;font:550 16px/1.5 Onest,Arial,sans-serif;padding-block:20px}
.mtb-product-view .wb-product-panels summary:hover{color:#3e704d}
.mtb-product-view .wb-product-drawer{color:#233029;background:#f9fbf5;border-radius:14px 0 0 14px;box-shadow:-18px 0 80px #14251c26}
.mtb-product-view .wb-product-drawer::backdrop{background:#14251c88}
.mtb-product-view .wb-product-drawer__head{border-color:#dce3d8;background:#edf2e7}
.mtb-product-view .wb-product-drawer__head h2{color:#233029;font:600 28px/1.25 Onest,Arial,sans-serif;letter-spacing:-.025em}
.mtb-product-view .wb-product-drawer__head button{background:#fff;border-color:#ccd9c4;color:#3e704d}
.mtb-product-view .wb-product-drawer__body{font-family:Onest,Arial,sans-serif;scrollbar-color:#9aaf91 transparent}
.mtb-product-view .wb-product-drawer__body .wb-feature-list{font-size:14px;line-height:1.65}
.mtb-product-view .wb-product-drawer :is(.wb-prose,h3,h4,dd){color:#233029;font-family:Onest,Arial,sans-serif}
.mtb-product-view .wb-product-drawer :is(p,li,dt){color:#59695e}
.mtb-product-view .wb-product-drawer :is(a,.wb-link){color:#3e704d}
.mtb-product-view .wb-product-drawer :is(.wb-feature-list>div,.wb-panel-service){border-color:#dce3d8}
.mtb-product-view .wb-panel-service>svg{background:#e7eedf;color:#3e704d}
.mtb-product-view .wb-panel-demo{background:#edf2e7;color:#59695e}
.mtb-product-view .wb-product-benefits{background:#edf2e7;border-color:#dce3d8;border-radius:12px}
.mtb-product-view :is(.wb-product-benefit__title,.wb-product-benefit__icon){color:#3e704d}
.mtb-product-view .wb-product-benefit p{color:#68766b}
.mtb-product-view .wb-product-benefit__title a{text-decoration-color:#92ab81}
.mtb-product-view .wb-lightbox{background:#f9fbf5;color:#233029;border-color:#dce3d8;box-shadow:0 24px 90px #14251c55}
.mtb-product-view .wb-lightbox::backdrop{background:#14251cbb}
.mtb-product-view .wb-lightbox__bar{border-color:#dce3d8;font-family:Onest,Arial,sans-serif}
.mtb-product-view .wb-lightbox button{background:#f9fbf5;color:#3e704d;border-color:#ccd9c4}
.mtb-product-view .wb-lightbox button:hover,.mtb-product-view .wb-lightbox__thumbs [aria-pressed=true]{background:#e7eedf}
.mtb-product-view .wb-lightbox__thumbs button{width:72px;height:54px}
.mtb-product-view .wb-lightbox__status{color:#68766b}
.mtb-product-view .i-bestprice__button{appearance:none;display:inline-flex;max-width:100%;min-height:46px;padding:12px 20px;border:1px solid #bed0b1;border-radius:7px;background:#edf4e4;color:#31513b;font:550 15px/1.4 Onest,Arial,sans-serif;cursor:pointer;transition:background .2s,border-color .2s}
.mtb-product-view .i-bestprice__button:hover{background:#dcebcf;border-color:#77986a}
.mtb-product-view .fancybox-wrap:has(.b-bestprice){position:fixed!important;top:24px!important;left:50%!important;transform:translateX(-50%);width:min(540px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)}
.mtb-product-view .fancybox-wrap:has(.b-bestprice) .fancybox-skin{padding:0!important;background:#f9fbf5;border:1px solid #dce3d8;border-radius:14px;box-shadow:0 24px 80px #14251c44}
.mtb-product-view .fancybox-wrap:has(.b-bestprice) .fancybox-inner{width:100%!important;max-width:100%;height:auto!important;max-height:calc(100dvh - 50px);overscroll-behavior:contain}
.mtb-product-view .b-bestprice{box-sizing:border-box;width:100%;padding:32px;color:#233029;font:400 14px/1.55 Onest,Arial,sans-serif}
.mtb-product-view .b-bestprice__pretext{color:#68766b;font-size:14px;margin-bottom:22px;padding-right:12px}
.mtb-product-view .b-bestprice__pretext::before{content:'Нашли дешевле?';display:block;margin-bottom:12px;color:#233029;font:600 28px/1.25 Onest,Arial,sans-serif;letter-spacing:-.025em}
.mtb-product-view .b-bestprice .wa-field{float:none;clear:both;display:block;margin:0 0 16px;padding:0}
.mtb-product-view .b-bestprice :is(.wa-name,.wa-value){float:none;width:auto;margin:0;padding:0}
.mtb-product-view .b-bestprice .wa-name{margin-bottom:7px;color:#3e5144;font-weight:500}
.mtb-product-view .b-bestprice :is(input[type=text],input[type=email],input[type=tel],textarea){box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:46px;border:1px solid #ccd9c4;border-radius:7px;background:#fff;padding:11px 13px;color:#233029;font:400 15px/1.5 Onest,Arial,sans-serif;box-shadow:none}
.mtb-product-view .b-bestprice textarea{min-height:100px;resize:vertical}
.mtb-product-view .b-bestprice input[type=checkbox]{accent-color:#3e704d;width:17px;height:17px;vertical-align:middle;margin:0 7px 0 0}
.mtb-product-view .b-bestprice a{color:#3e704d;text-decoration:underline;text-underline-offset:3px}
.mtb-product-view .b-bestprice input[type=submit]{appearance:none;width:100%;min-height:48px;padding:12px 20px;border:1px solid #3e704d;border-radius:7px;background:#3e704d;color:#fff;font:550 15px/1.5 Onest,Arial,sans-serif;cursor:pointer}
.mtb-product-view .b-bestprice input[type=submit]:hover{background:#315b3d}
.mtb-product-view .fancybox-wrap:has(.b-bestprice) .fancybox-close{top:12px;right:12px;width:32px;height:32px;border:1px solid #dce3d8;border-radius:50%;background:#edf2e7;color:#3e704d;text-decoration:none}
.mtb-product-view .fancybox-wrap:has(.b-bestprice) .fancybox-close::before{content:'×';display:grid;place-items:center;height:100%;font:24px/1 Arial,sans-serif}
.mtb-product-view :is(.wb-product-page,.wb-product-drawer,.b-bestprice) :is(button,a,input,textarea,summary):focus-visible{outline:2px solid #3e704d;outline-offset:3px}
@media(max-width:900px){
 .mtb-product-view .wb-product-page__grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .mtb-product-view .wb-product-buy{padding:22px}
 .mtb-product-view .wb-product-heading{grid-column:auto}
}
@media(max-width:600px){
 .mtb-product-view .wb-product-buy{padding:20px 16px}
 .mtb-product-view .wb-detail-gallery__thumbs{gap:8px}
 .mtb-product-view .wb-detail-gallery__thumb{flex-basis:calc((100% - 24px)/4)}
 .mtb-product-view .wb-product-messengers__links{display:flex}
 .mtb-product-view .wb-product-messengers__links .wb-product-messenger{min-height:46px;flex-direction:row;font-size:14px}
 .mtb-product-view .b-bestprice{padding:28px 20px 20px}
 .mtb-product-view .b-bestprice__pretext::before{font-size:24px;padding-right:24px}
 .mtb-product-view .wb-product-drawer{border-radius:0}
 .mtb-product-view .wb-product-drawer__head h2{font-size:24px}
 .mtb-product-view .wb-product-drawer__body .wb-feature-list>div{gap:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
