/* Alternate editorial gallery; native image links remain usable without JS. */
.wb-detail-gallery__thumb:first-child { margin-left:auto; }
.wb-detail-gallery__thumb:last-child { margin-right:auto; }
.wb-product-page--photo-grid .wb-product-page__grid { grid-template-columns:minmax(0,1.85fr) minmax(380px,1fr); gap:32px; align-items:start; }
.wb-product-page--photo-grid .wb-product-buy { position:relative; top:auto; align-self:stretch; min-width:0; }
.wb-product-page--photo-grid .wb-product-purchase { position:sticky; top:var(--wb-product-sticky-top,calc(var(--wb-header-visible-height,110px) + 16px)); display:flow-root; min-width:0; }
.wb-product-purchase > .wb-product-buy__price { margin-top:0; }
.wb-product-gallery.wb-photo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; min-width:0; min-height:0; border-radius:0; background:none; overflow:visible; }
.wb-photo-grid__item { position:relative; min-width:0; border-radius:12px; overflow:hidden; background:#f6efeb; }
.wb-photo-grid__item > a { display:block; aspect-ratio:3/4; }
.wb-photo-grid .wb-photo-grid__item img { display:block; width:100%; height:100%; max-height:none; object-fit:cover; }
.wb-photo-grid [hidden] { display:none!important; }
.wb-photo-grid__more { grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:52px; margin:4px 0 0; padding:14px 22px; border:1px solid #c1ddd0; border-radius:10px; background:#f2f8f5; color:#3a755a; font:500 14px/1.5 Onest,Arial,sans-serif; cursor:pointer; transition:background .2s,border-color .2s; }
.wb-photo-grid__more svg { display:block; flex:none; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.wb-photo-grid__more svg:last-child { width:18px; height:18px; }
.wb-photo-grid__more:hover { background:#e2f1ea; border-color:#83b7a0; }
.wb-photo-grid__more:focus-visible,.wb-photo-grid__item > a:focus-visible { outline:2px solid #5ca685; outline-offset:-3px; }
.wb-product-buy .wb-product-brand { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; width:100%; gap:18px; margin:18px 0 0; padding:16px 18px; }
.wb-product-buy .wb-product-brand img { flex:0 1 190px; width:190px; max-width:48%; height:72px; min-width:0; }
.wb-product-buy .wb-product-brand > span { flex:1; min-width:0; color:#567768; font:400 12px/1.6 Onest,Arial,sans-serif; }
.wb-product-buy .wb-product-brand b { display:block; color:#346650; font:600 16px/1.5 Onest,Arial,sans-serif; overflow-wrap:anywhere; }
.wb-product-brand__arrow { flex:none; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }




.wb-product-page--photo-grid .wb-product-buy h1 { font-size:clamp(34px,2.8vw,44px); line-height:1.05; }
.wb-product-buy .wb-product-hook--aux .ya-pay-widget { display:block!important; margin-block:24px!important; }
.wb-product-hook--aux .yandex_description:empty { display:none; }
.wb-product-buy .wb-product-messengers { margin:24px 0; }
.wb-product-benefits { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px; margin:44px 0 0; padding:28px; border:1px solid #d9eae2; border-radius:16px; background:linear-gradient(110deg,#fcf3ed,#f2f8f5); }
/* One rhythm for benefits, reviews, recommendations and recently viewed. */
.wb-product-media { min-width:0; }
.wb-product-heading { margin:0 0 24px; }
.wb-product-heading h1.wb-product__name { margin:0 0 13px; color:#31624c; font:500 clamp(36px,3vw,48px)/1.08 Onest,Arial,sans-serif; }
.wb-product-rating { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; color:#5c8774; font:400 12px/1.5 Onest,Arial,sans-serif; }
.wb-product-rating a,.wb-product-rating__score { display:inline-flex; align-items:center; gap:7px; min-height:32px; text-decoration:none; }
.wb-product-actions > .wb-product-rating { font:inherit; }
.wb-product-actions > .wb-product-rating.wb-product-rating--empty { display:inline-flex; flex-wrap:nowrap; column-gap:7px; }
.wb-product-actions > .wb-product-rating--empty .wb-product-rating__score svg { fill:none; }
.wb-product-rating svg { width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.wb-product-rating__score svg { fill:#8bc6ab; stroke:#8bc6ab; }
.wb-product-rating b { color:#377056; font-weight:700; }
.wb-product-rating__write { color:#39755a; text-decoration:underline!important; text-decoration-color:#8bb8a4; text-underline-offset:4px; }
.wb-photo-layout { display:none; }
.wb-product-buy .wb-product-buy__price { flex-wrap:nowrap; justify-content:flex-start; align-items:center; gap:14px; }
.wb-product-buy .wb-product-buy__price-values { flex:0 1 auto; flex-wrap:nowrap; gap:10px; align-items:baseline; white-space:nowrap; }
.wb-product-buy .wb-product-savings { flex:none; flex-direction:column; gap:0; width:auto; padding:6px 10px; text-align:left; align-items:flex-start; }
.wb-product-buy .wb-product-savings > span { font-size:12px; }
.wb-product-buy .wb-product-savings > strong { font-size:14px; }
.wb-product-reviews [id] { scroll-margin-top:calc(var(--wb-header-visible-height,110px) + 20px); }
.wb-body .wb-product-rating a:focus-visible,.wb-body .wb-photo-layout button:focus-visible { outline:2px solid #70aa90; outline-offset:3px; }
@media(max-width:900px) {
 .wb-product-heading { margin-bottom:18px; }
 .wb-product-heading h1.wb-product__name { font-size:36px; }
 .wb-photo-layout:not([hidden]) { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 12px; color:#628877; font:400 12px/1.4 Onest,Arial,sans-serif; }
 .wb-photo-layout > div { display:flex; gap:3px; padding:3px; border:1px solid #cbe4d9; border-radius:10px; background:#f6fbf9; }
 .wb-photo-layout button { display:grid; place-items:center; width:40px; height:38px; padding:8px; border:0; border-radius:7px; background:transparent; color:#7ba290; cursor:pointer; }
 .wb-photo-layout button[aria-pressed=true] { background:#d1e8de; color:#377056; }
 .wb-photo-layout svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.4; }
 .wb-product-gallery.wb-photo-grid[data-wb-mobile-columns="1"] { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:480px) {
 .wb-product-messengers__links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
 .wb-product-messengers__links .wb-product-messenger { min-width:0; min-height:66px; flex-direction:column; gap:4px; padding:8px 3px; font-size:12px; }
 .wb-product-buy .wb-product-buy__price { gap:10px; }
 .wb-product-buy .wb-product-buy__price-values { gap:8px; }
 .wb-product-buy .wb-product-buy__price .wb-product__price { font-size:26px; }
 .wb-product-buy .wb-product-buy__price del { font-size:15px; }
 .wb-product-buy .wb-product-savings { padding:5px 8px; border-radius:8px; }
 .wb-product-rating { gap:8px 17px; font-size:12px; }
}
@media(max-width:350px) {
 .wb-product-buy .wb-product-buy__price { gap:7px; }
 .wb-product-buy .wb-product-buy__price .wb-product__price { font-size:23px; }
 .wb-product-buy .wb-product-buy__price del { font-size:13px; }
 .wb-product-buy .wb-product-savings { padding:4px 6px; }
 .wb-product-buy .wb-product-savings > strong { font-size:12px; }
}
.wb-product-page { --wb-product-section-gap:54px; }
.wb-product-page > .wb-product-benefits,.wb-product-page > .wb-product-reviews,.wb-product-page > .wb-detail-products { margin-top:var(--wb-product-section-gap); }
.wb-product-page > .wb-product-reviews { border-top:0; padding-top:0; }
.wb-product-benefit { display:grid; grid-template-columns:48px minmax(0,1fr); gap:15px; align-items:start; min-width:0; }
.wb-product-benefit__icon { color:#448b6b; }
.wb-product-benefit__icon svg,.wb-product-benefit__icon img { display:block; width:48px; height:48px; object-fit:contain; }
.wb-product-benefit__title { margin:0 0 8px; color:#31634d; font:600 16px/1.5 Onest,Arial,sans-serif; }
.wb-product-benefit__title a { text-decoration:underline; text-decoration-color:#91bba866; text-underline-offset:4px; }
.wb-product-benefit__title a:hover { text-decoration-color:currentColor; }
.wb-product-benefit p { margin:0; color:#618072; font:400 13px/1.7 Onest,Arial,sans-serif; }
.wb-product-benefit a:focus-visible { outline:2px solid #84b8a1; outline-offset:4px; }
.wb-buy-form[data-wb-detail-cart] .wb-buy-row { align-items:stretch; }
.wb-buy-form[data-wb-detail-cart][data-wb-cart-ready=true] .wb-buy-row { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); }
.wb-buy-form[data-wb-detail-cart] .wb-buy-row > .wb-btn { min-width:0; padding-inline:14px; }
.wb-buy-remove { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:0; min-height:50px; padding:10px 12px; border:1px solid #b6d9c9; border-radius:8px; background:#f4f9f7; color:#3a755a; font:500 13px/1.35 Onest,Arial,sans-serif; cursor:pointer; }
.wb-buy-remove svg { display:block; flex:none; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.wb-buy-remove:hover { background:#e2f1ea; }
.wb-buy-remove:disabled { cursor:wait; opacity:.65; }
.wb-buy-form [hidden] { display:none!important; }
@media(max-width:1150px) { .wb-product-page--photo-grid .wb-product-page__grid { grid-template-columns:minmax(0,1.5fr) minmax(360px,1fr); gap:24px; }.wb-product-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 32px; } }
@media(max-width:900px) { .wb-product-page { --wb-product-section-gap:36px; }.wb-product-page--photo-grid .wb-product-page__grid { grid-template-columns:minmax(0,1fr); gap:28px; }.wb-product-page--photo-grid .wb-product-buy,.wb-product-page--photo-grid .wb-product-purchase { position:static; }.wb-photo-grid { gap:10px!important; }.wb-product-page--photo-grid .wb-product-buy h1 { font-size:36px; }.wb-product-benefits { padding:22px; }.wb-product-buy .wb-product-brand { gap:14px; padding:14px; } }
@media(max-width:550px) { .wb-product-benefits { gap:24px 16px; padding:20px 16px; }.wb-product-benefit { grid-template-columns:1fr; gap:10px; }.wb-product-benefit__icon svg,.wb-product-benefit__icon img { width:38px; height:38px; }.wb-product-benefit__title { font-size:14px; }.wb-product-benefit p { font-size:12px; }.wb-buy-form[data-wb-detail-cart][data-wb-cart-ready=true] .wb-btn { font-size:13px; padding-inline:8px; }.wb-buy-remove { font-size:12px; padding-inline:8px; gap:5px; } }
