/* Shared product-card composition. Product gallery and H1 retain their styles. */
body>nav.top-menu{margin-bottom:8px}
header.header .contacts-tel svg{display:none}
.monstad-lab main{padding-top:0}
.monstad-lab .ml-crumbs{padding:16px 0 20px}
.monstad-lab .ml-purchase>.ml-benefits{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 14px;font-size:12px}
.monstad-lab .ml-benefits>span{display:inline-flex;align-items:center;gap:7px}
.monstad-lab .ml-product-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:16px 0 22px}
.monstad-lab .ml-product-meta .ml-rating{margin:0;width:150px;height:50px;border:0}
.monstad-lab .ml-product-sku{font-size:13px;color:#64787d;white-space:nowrap}
.monstad-lab .ml-choice-block{border:1px solid #cfdddf;border-radius:6px;padding:18px;margin:0 0 18px;min-width:0}
.monstad-lab .ml-choice-block .ml-step{border-top:0;padding-top:0}
.monstad-lab .ml-fabric-block .ml-color-step{border-top:1px solid #dce5e5;padding-top:18px;margin-top:16px}
.monstad-lab .ml-choice-block h2{margin-top:0}
.monstad-lab .ml-extra-options fieldset:last-child{margin-bottom:0}
.monstad-lab .ml-fabric-block .ml-sample{width:100%;margin:12px 0 0}
.monstad-lab .ml-purchase-summary{border:1px solid #cfdddf;border-radius:6px;padding:22px;background:#f7f9f8;margin-top:4px}
.monstad-lab .ml-summary-title{font-size:13px;color:#6d8184;margin:0 0 8px}
.monstad-lab .ml-purchase-summary .ml-price-row{margin:0;padding:0 0 16px}
.monstad-lab .ml-purchase-summary .ml-current-price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.monstad-lab .ml-purchase-summary .ml-price{font-size:32px;line-height:1.15}
.monstad-lab .ml-purchase-summary .ml-old-price del{font-size:17px}
.monstad-lab .ml-purchase-summary .ml-dolyami{width:100%;border:1px solid #e2e8e7;border-radius:5px;background:white;text-align:left;margin:0 0 18px;cursor:pointer}
.monstad-lab .ml-purchase-links{display:flex;gap:12px 20px;align-items:center;flex-wrap:wrap;padding:16px 0;border-top:1px solid #dce5e5;margin-top:14px;color:#006d80;font-size:13px}
.monstad-lab .ml-purchase-links a{display:flex;align-items:center;gap:8px;text-decoration:underline;text-underline-offset:3px}
.monstad-lab .ml-purchase-links svg{width:20px;height:20px;flex:none}
.monstad-lab .ml-purchase-links button{padding:0;color:#006d80}
.monstad-lab .ml-payment-note{margin:12px 0 0;font-size:12px;text-align:center;color:#61767a}
.monstad-lab .ml-delivery{padding-top:0;border:0}
.monstad-lab #ml-current-city{border-bottom:1px dashed currentColor;padding:2px 0;border-radius:0;font-size:inherit}
.monstad-lab .ml-delivery-rates{display:block}
.monstad-lab .ml-delivery-rate{display:flex;justify-content:space-between;gap:12px;margin:8px 0}
.monstad-lab .ml-delivery-rate span{color:#526368}
.monstad-lab .ml-delivery-rate strong{white-space:nowrap;color:#303638}
.monstad-lab .ml-delivery-hours{margin-bottom:12px}
.monstad-lab .ml-delivery-note{font-size:11px;color:#7a8b8e;margin-top:10px}
.ml-city-dialog{position:fixed;inset:0;margin:auto;padding:24px;border:0;border-radius:8px;width:min(460px,calc(100% - 32px));max-height:90dvh;box-sizing:border-box;color:#263b3e;font-family:HelveticaNeueCyr,Arial,sans-serif}
.ml-city-dialog::backdrop{background:#183b3b80}
.ml-city-dialog form{display:grid;gap:14px}.ml-city-dialog label{display:grid;gap:8px}.ml-city-dialog input{padding:12px;border:1px solid #c7d7da;border-radius:5px;font:inherit;font-size:16px;min-width:0;width:100%;box-sizing:border-box}.ml-city-dialog button{font:inherit;cursor:pointer}.ml-city-dialog .city-close{float:right;border:0;background:none;font-size:26px;color:#006d80}.ml-city-dialog h2{font-size:22px;margin:0 40px 22px 0}.ml-city-dialog .city-apply{padding:12px;border:0;border-radius:5px;background:#00778b;color:white}.ml-city-dialog [role=status]{margin:0;color:#a5284d;font-size:13px}.ml-city-dialog button:disabled{opacity:.6}
@media(max-width:700px){
 body.hemny-mobile-card header.new-header.header{position:sticky;top:0;z-index:40;background:#fff;height:56px;min-height:56px;padding:0;box-shadow:0 1px 4px #163c3c0d}
 body.hemny-mobile-card header.new-header.header>.wrap{height:56px;min-height:56px;padding:0 14px;display:flex;align-items:center;gap:14px}
 body.hemny-mobile-card header.header .logo{order:1;flex:1;padding:0;margin:0}
 body.hemny-mobile-card header.header .logo img{width:120px;height:auto}
 body.hemny-mobile-card header.header .slogan{display:none}
 body.hemny-mobile-card header.header .menu-button{position:static;order:0;display:block;font-size:23px;border:0;background:none;padding:4px;color:#006d80;margin:0}
 body.hemny-mobile-card header.header .contacts{position:static;order:2;display:block;width:28px;margin:0;transform:none}
 body.hemny-mobile-card header.header .contacts-tel a{display:block;width:28px;height:28px;font-size:0;padding:0;background:none;text-indent:0}
 body.hemny-mobile-card header.header .contacts-tel a:before{display:none}
 body.hemny-mobile-card header.header .contacts-tel svg{display:block;width:25px;height:25px;color:#006d80}
 body.hemny-mobile-card header.header .cart{position:relative;order:3;width:28px;min-width:28px;height:32px;margin:0;display:block}
 body.hemny-mobile-card header.header .cart>a{position:absolute;inset:0;z-index:2}
 body.hemny-mobile-card header.header .cart .h{display:none}
 body.hemny-mobile-card header.header .cart>div{position:relative;width:28px;margin:0}
 body.hemny-mobile-card header.header .cart img{width:25px!important}
 body.hemny-mobile-card header.header [data-header-basket-count]{font-size:10px;min-width:15px;height:15px;line-height:15px}
 body.hemny-mobile-card .test-ribbon{font-size:10px;padding:5px 12px}
 body.hemny-mobile-card .monstad-lab{margin-top:0;padding-top:0}
 .monstad-lab .ml-crumbs{padding:12px 0 14px}
 .monstad-lab .ml-mobile-config>.ml-gallery{top:56px}
 .monstad-lab .ml-choice-block{padding:14px;margin-bottom:16px}
 .monstad-lab .ml-mobile-intro>.ml-benefits{font-size:11px;gap:8px 14px;margin-bottom:12px}
 .monstad-lab .ml-product-meta{gap:12px;margin:14px 0 18px}
 .monstad-lab .ml-product-sku{font-size:12px}
 .monstad-lab .ml-purchase-summary{padding:16px}
 .monstad-lab .ml-purchase-summary .ml-price{font-size:30px}
 .monstad-lab .ml-purchase-links{font-size:12px;gap:12px}
 body.hemny-mobile-card nav.top-menu.opened{display:block!important;position:fixed!important;inset:56px 0 0!important;max-width:none!important;width:100%!important;height:auto!important;overflow:auto;background:#fff;z-index:45;padding:32px 22px}
 body.hemny-mobile-card nav.top-menu.opened>.wrap{display:block}
 body.hemny-mobile-card nav.top-menu.opened .close{position:absolute;top:8px;right:14px;display:block}
}

/* The original Dolyami integration locates its price and mount point by these legacy selectors. */
.monstad-lab .ml-dolyami-bridge.item-page,
.monstad-lab .ml-dolyami-bridge.item-page>.right-side,
.monstad-lab .ml-dolyami-bridge.item-page>.right-side>.result,
.monstad-lab .ml-dolyami-bridge.item-page>.right-side>.result>.price-result{all:unset;display:block;box-sizing:border-box;width:100%;min-width:0}
.monstad-lab .ml-dolyami-bridge .digi-dolyame-button{width:100%;margin:0 0 18px;border-radius:5px;box-sizing:border-box}

/* Shared card polish, 27 Nov. */
.monstad-lab .ml-dolyami-bridge .digi-dolyame-button{border:1px solid #cfdddf!important;background:#fff!important;transition:background .15s}
.monstad-lab .ml-dolyami-bridge .digi-dolyame-button:hover{background:#eaecec!important}
.monstad-lab .ml-delivery dl>div,.monstad-lab .ml-delivery-rate{display:flex;align-items:baseline;gap:8px;margin:6px 0;font-size:12px;line-height:1.4}
.monstad-lab .ml-delivery dl>div:after,.monstad-lab .ml-delivery-rate:after{content:'';order:1;flex:1;min-width:12px;border-bottom:1px dotted #91a5a9}
.monstad-lab .ml-delivery dt,.monstad-lab .ml-delivery-rate>span{color:#526368;font-size:inherit;flex:0 1 auto}
.monstad-lab .ml-delivery dd,.monstad-lab .ml-delivery-rate>strong{order:2;font-size:inherit;font-weight:700;white-space:nowrap;color:#303638;margin:0}
.monstad-lab .ml-delivery dt:after,.monstad-lab .ml-delivery-rate>span:after{display:none}
.monstad-lab .ml-fabric-block{--block-pad:18px;padding-bottom:0}
.monstad-lab .ml-fabric-block .ml-sample{display:flex;width:calc(100% + 2 * var(--block-pad));max-width:none;margin:14px calc(-1 * var(--block-pad)) 0;border-width:1px 0 0;border-radius:0 0 5px 5px}
.monstad-lab .ml-color-advice{font-size:13px;line-height:1.5;color:#006d80;background:#edf5f5;border-left:3px solid #00778b;padding:10px 12px;margin:14px 0 0}
.monstad-lab #fabric-options button{position:relative}
.monstad-lab #fabric-options .ml-tile-feature{position:absolute;top:7px;left:7px;width:24px;height:24px;padding:4px;border-radius:50%;background:#fffffff0;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.monstad-lab #fabric-options .ml-tile-feature img{width:16px;height:16px;object-fit:contain;margin:0;border-radius:0}
@media(max-width:700px){.monstad-lab .ml-fabric-block{--block-pad:14px}.monstad-lab .ml-delivery dl>div,.monstad-lab .ml-delivery-rate{font-size:12px}.monstad-lab .ml-color-advice{font-size:12px}}

.monstad-lab .ml-gallery-note{display:none}
.monstad-lab .ml-choice-block.ml-fabric-block{padding-bottom:0!important}
.monstad-lab .ml-fabric-block #samples{margin:14px calc(-1 * var(--block-pad)) 0!important;width:calc(100% + 2 * var(--block-pad))!important}

.monstad-lab .ml-delivery-heading{font-size:14px;line-height:1.4}
.monstad-lab .ml-delivery-hours{font-size:11px;line-height:1.4;margin:6px 0 10px}
.monstad-lab .ml-delivery-note{font-size:10px;line-height:1.4}
@media(max-width:700px){.monstad-lab .ml-delivery-heading{font-size:13px}.monstad-lab .ml-delivery dl>div,.monstad-lab .ml-delivery-rate{font-size:11px}}

.monstad-lab .ml-fabric-block .ml-color-step{padding-bottom:0;margin-bottom:0}
.monstad-lab .ml-fabric-block .ml-color-advice{box-sizing:border-box;width:calc(100% + 2 * var(--block-pad));margin:4px calc(-1 * var(--block-pad)) 0!important;padding:8px 10px;font-size:11px;line-height:1.4}
.monstad-lab .ml-fabric-block #samples{margin-top:0!important}
@media(max-width:700px){.monstad-lab .ml-fabric-block .ml-color-advice{font-size:clamp(9px,2.5vw,11px);padding:7px 8px}}

.monstad-lab #fabric .ml-text-button{font-size:13px}
.monstad-lab .ml-fabric-block .ml-color-advice{border:0;background:transparent;display:flex;align-items:baseline;gap:5px;padding-left:8px;padding-right:8px}
.monstad-lab .ml-notice-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 13px;width:13px;height:13px;border:1px solid currentColor;border-radius:50%;font:500 10px/1 Arial,sans-serif;color:#006d80}
.monstad-lab .ml-purchase-summary .ml-payment-note{text-align:left;display:flex;align-items:baseline;gap:6px}

.monstad-lab #model-options.ml-model-rail{display:flex!important;flex-wrap:nowrap;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 10px;background:transparent;scrollbar-width:thin;scrollbar-color:#93b5b6 #eef3f2}
.monstad-lab #model-options.ml-model-rail>button{position:relative;flex:0 0 126px;width:126px;min-width:0;min-height:140px;display:flex;flex-direction:column;gap:8px;align-items:stretch;justify-content:flex-start;padding:10px;border:1px solid #d0dedd;border-radius:5px;font-size:12px;line-height:1.35;text-align:left;scroll-snap-align:start;background:white;white-space:normal}
.monstad-lab #model-options.ml-model-rail>button>img{width:100%;height:62px;object-fit:contain;mix-blend-mode:multiply;margin:0}
.monstad-lab #model-options.ml-model-rail>button[aria-pressed=true]{background:#edf5f4;border-color:#00788b}
.monstad-lab #model-options.ml-model-rail>button[aria-pressed=true]:after{content:'✓';position:absolute;right:5px;top:3px;color:#00788b}
.monstad-lab .ml-model-rail-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#708789;margin-top:6px}
.monstad-lab .ml-model-rail-tools>div{display:flex;gap:6px;flex:none}
.monstad-lab .ml-model-rail-tools button{width:29px;height:29px;padding:0;border:1px solid #cededc;border-radius:50%;color:#00788b;background:white}
@media(max-width:700px){.monstad-lab #model-options.ml-model-rail>button{flex-basis:119px;width:119px}.monstad-lab .ml-model-rail-tools{font-size:10px}}
/* Same filter controls as samples, embedded in the fabric selector. */
.monstad-lab .ml-card-filters.sc-dialog{position:static;inset:auto;display:block;margin:0 0 16px;padding:0;border:0;width:100%;height:auto;max-width:none;max-height:none;overflow:visible;background:transparent;font-family:inherit}
.ml-card-filters .sc-filterbar{position:relative;top:auto;padding:0 0 10px;z-index:auto;box-shadow:none;border:0;gap:8px}
.ml-card-filters .sc-filterbar::before{display:none}.ml-card-filters .sc-filter-top{flex-wrap:wrap}.ml-card-filters .sc-filter-backdrop{position:fixed;inset:0;margin:0;padding:0;border:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#173d4326;color:#263f45}.ml-card-filters .sc-filter-backdrop::backdrop{background:#173d4333}.ml-card-filters .sc-filter-panel{height:100%;font-family:HelveticaNeueCyr,Arial,sans-serif}.ml-card-filters .sc-filter-panel h2{font-size:22px}.ml-card-filters [hidden]{display:none!important}
.monstad-lab #fabric-options button:disabled{opacity:.32;cursor:not-allowed;filter:grayscale(.6)}
@media(max-width:700px){.monstad-lab .ml-card-filters.sc-dialog{margin-bottom:12px}.ml-card-filters .sc-filter-top{gap:5px;flex-wrap:wrap}.ml-card-filters .sc-filter-top button{font-size:10px;padding:7px 6px}.ml-card-filters .sc-filter-top .sc-icon,.ml-card-filters .sc-filter-top img{width:14px;height:14px}}
.monstad-lab .ml-card-filters .sc-filter-option{border:1px solid #cbd9d9;background:#fff}.monstad-lab .ml-card-filters .sc-filter-option[aria-pressed=true]{border-color:#00788b;background:#edf6f5}.ml-card-filter-empty{font-size:12px;color:#657a7c;margin:8px 0}
/* Fabric names distinguish identical color numbers across collections. */
.monstad-lab #colors button{width:62px;height:auto;min-height:88px;gap:5px;flex-shrink:0}
.monstad-lab #colors .ml-color-fabric-label{display:block;width:100%;font-size:9px;line-height:12px;font-weight:500;text-align:center;white-space:nowrap;color:#657a7c}
.monstad-lab #colors button .ml-color-badge{top:51px;right:0}
@media(max-width:700px){.monstad-lab #colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px 6px;width:100%}.monstad-lab #colors button{width:100%;min-width:0;justify-self:center}.monstad-lab #colors button .ml-color-badge{right:calc(50% - 28px)}}
.monstad-lab #colors button{min-height:70px}

/* Fabric chooser: same horizontal browsing pattern as the model chooser. */
.monstad-lab #fabric-options.ml-fabric-rail{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 10px;scrollbar-width:thin;scrollbar-color:#93b5b6 #eef3f2}
.monstad-lab #fabric-options.ml-fabric-rail>button{flex:0 0 calc((100% - 28px)/3.5);width:calc((100% - 28px)/3.5);min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:5px;text-align:left;scroll-snap-align:start;white-space:normal}
.monstad-lab #fabric-options.ml-fabric-rail>button>img{width:100%;height:auto;aspect-ratio:2.25;object-fit:cover;margin:0;border-radius:3px}
.monstad-lab #fabric-options.ml-fabric-rail .ml-fabric-kind{font-size:10px;line-height:1.3;font-weight:400;color:#8a9899;min-height:26px;display:flex;align-items:center}
.monstad-lab .ml-fabric-rail-tools{margin-bottom:6px}
@media(max-width:700px){.monstad-lab #fabric-options.ml-fabric-rail>button{flex-basis:calc((100% - 16px)/2.35);width:calc((100% - 16px)/2.35)}.monstad-lab .ml-fabric-rail-tools>span{max-width:calc(100% - 75px)}}

/* Compact color heading and stable five-column mobile palette. */
.monstad-lab .ml-fabric-block #fabric{padding-bottom:0;margin-bottom:0}
.monstad-lab .ml-fabric-block .ml-color-step{margin-top:10px;padding-top:12px}
.monstad-lab .ml-color-step #color-number{font-size:.85em}
.monstad-lab .ml-color-separator{font-size:.85em;font-weight:400;color:#819797;margin:0 .25em}

@media(max-width:700px){body.hemny-mobile-card nav.top-menu.opened{display:block!important;position:fixed!important;inset:56px 0 0!important;width:100%!important;max-width:none!important;overflow:auto;z-index:45}}
@media(max-width:700px){body.hemny-mobile-card nav.top-menu.opened{box-sizing:border-box;min-width:0;right:0;max-width:100vw!important}body.hemny-mobile-card nav.top-menu.opened>.wrap{box-sizing:border-box;width:100%;min-width:0;padding:0}body.hemny-mobile-card nav.top-menu.opened .close{position:absolute;top:8px;right:14px;width:28px;height:28px;z-index:2;background:none;font-size:22px;line-height:28px;text-align:center}body.hemny-mobile-card nav.top-menu.opened .close:after{content:'×';color:#006d80}}
@media(max-width:700px){body.hemny-mobile-card nav.top-menu.opened .close{left:auto!important;right:14px!important;margin:0!important}}
