/* Black-and-white product labels, inspired by the supplied brand reference. */
body .products-grid:has(.zmd){grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 20px}
body .zmd .products__item-inner{gap:0}
body .zmd .products__item-thumb{height:auto;aspect-ratio:3/4;border-radius:0;overflow:hidden;background:#ecebe8;display:block;position:relative;isolation:isolate;touch-action:pan-y}
body .zmd .products__item-thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
body .zmd .products__item-thumb::after{display:none}
body .zmd .products__item-meta{position:absolute;inset:auto 14px 14px;z-index:2;padding:0;display:flex;flex-direction:column;gap:4px;pointer-events:none}
body .zmd .products__item-title{position:relative;align-self:flex-start;max-width:100%;font:500 clamp(24px,2.35vw,38px)/1.06 'Roboto Flex',Arial,sans-serif;letter-spacing:-1px;margin:0;padding:10px 48px 11px 12px;color:#fff;background:#111;overflow-wrap:anywhere}
body .zmd .products__item-title::after{content:'';position:absolute;right:12px;top:50%;transform:translateY(-50%);width:25px;height:25px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 19 19 5M5 5h14v14' stroke='white' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E")}
body .zmd .products__item-descr{font:400 13px/1.35 'Roboto Flex',Arial,sans-serif;color:#171717;background:white;max-width:none;margin:0;padding:11px 12px;min-height:56px}
body .zmd .products__item-colors,body .zmd .products__item-prices,body .zmd .products__item-buttons{display:none!important}
body .zmd .products__item-bottom{margin:0;padding:0;display:block}
body .zmd .zas-listing-split{margin-top:12px;min-height:36px}
.zmd-dots{position:absolute;z-index:3;top:14px;right:14px;display:flex;gap:5px;background:white;padding:10px}
.zmd-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#c5c5c5}
.zmd-dots i.active{background:#111;width:17px;border-radius:3px}
.zmd-color{position:absolute;z-index:3;left:14px;top:14px;max-width:calc(100% - 120px);background:white;padding:8px 10px;color:#171717;font:11px/1.2 'Roboto Flex',Arial,sans-serif;text-transform:uppercase;letter-spacing:.6px}
.zmd-arrow{display:none}
body .zmd .products__item-thumb:focus-visible{outline:2px solid #111;outline-offset:4px}
@media(max-width:1000px){body .products-grid:has(.zmd){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body .products-grid:has(.zmd){grid-template-columns:1fr;gap:24px}body .zmd .products__item-title{font-size:29px}body .zmd .products__item-descr{font-size:13px;min-height:0}body .zmd .zas-listing-split{min-height:28px;margin-top:8px}}

body.zas-product-preview .pdp-v2-related__card.zmd{display:block;min-width:0}
body.zas-product-preview .pdp-v2-related__card.zmd .pdp-v2-related__prices,body.zas-product-preview .pdp-v2-related__card.zmd .pdp-v2-related__buy{display:none!important}
body.zas-product-preview .pdp-v2-related__card.zmd .products__item-thumb{height:auto;aspect-ratio:3/4;border-radius:0;margin:0}
body.zas-product-preview .pdp-v2-related__card.zmd .products__item-title{font-size:clamp(22px,1.8vw,34px);margin:0}
body.zas-product-preview .pdp-v2-related__card.zmd .products__item-descr{min-height:0;margin:0;font-size:13px;line-height:1.35}
body.zas-product-preview .pdp-v2-related__card.zmd .zas-listing-split{max-width:100%}
body.zas-product-preview .pdp-v2-related__card.zmd yandex-pay-badge{max-width:100%}

body .zmd .products__item-price_new[hidden]{display:none!important}
body .zmd-purchase{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px}
body .zmd-price{font-family:'Roboto Flex',Arial,sans-serif;font-size:clamp(26px,2vw,34px);font-weight:600;line-height:1.1;letter-spacing:-.7px;font-variant-numeric:lining-nums tabular-nums;color:#171717;white-space:nowrap}
body .zmd-cart{display:flex;align-items:center;justify-content:center;background:#aa9288;color:#fff;border:1px solid #aa9288;border-radius:9px;padding:14px 22px;min-height:50px;font:500 15px/1.2 'Roboto Flex',Arial,sans-serif;cursor:pointer;white-space:nowrap}
body .zmd-cart:hover{background:#947c72;border-color:#947c72}body .zmd-cart:disabled{background:#e7e5e2;border-color:#e7e5e2;color:#666;cursor:default}
@media(max-width:1200px) and (min-width:768px){body .zmd-purchase{flex-wrap:wrap}body .zmd-cart{flex:1}}
@media(max-width:767px){body .zmd-price{font-size:30px}body .zmd-cart{min-width:145px;min-height:50px;font-size:15px}body .zmd-purchase{gap:14px;padding-top:16px}}
@media(max-width:360px){body .zmd-cart{min-width:125px;padding-inline:14px}body .zmd-price{font-size:28px}}
