.mk-commerce{min-width:0;max-width:100%;font:inherit}.mk-commerce__price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}.mk-commerce__price-row strong{font-size:1.25rem}.mk-commerce button,.mk-cart button,.mk-unit-menu button{cursor:pointer;font:inherit}.mk-commerce button:disabled,.mk-cart button:disabled{cursor:default;opacity:.55}.mk-commerce__unit{border:1px solid #8b8b8b;border-radius:5px;background:white;padding:6px}.mk-commerce__order{display:grid;gap:8px;margin-top:12px}.mk-commerce__order-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.mk-commerce select{max-width:100%;padding:6px}.mk-commerce__quantity{display:flex;max-width:230px;min-width:0}.mk-commerce__quantity button{flex:0 0 40px;padding:8px;border:1px solid #aaa;background:#f5f5f5}.mk-commerce__quantity input{min-width:0;width:100%;padding:8px;border:1px solid #aaa;background:white;color:#222}.mk-commerce__notice,.mk-commerce__message{font-size:.9rem;margin:8px 0;overflow-wrap:anywhere}.mk-commerce__message{color:#6e2c00}.mk-commerce__total{margin:0}.mk-unit-menu{position:fixed;z-index:100100;box-sizing:border-box;max-height:calc(100vh - 16px);overflow-y:auto;background:white;border:1px solid #777;border-radius:5px;box-shadow:0 4px 18px #0004;padding:4px;color:#222}.mk-unit-menu button{display:block;width:100%;text-align:left;border:0;background:white;padding:10px;white-space:normal}.mk-unit-menu button:hover,.mk-unit-menu button:focus-visible,.mk-unit-menu button[aria-selected=true]{background:#fff1af;outline:2px solid #745d00;outline-offset:-2px}.mk-cart{min-width:0}.mk-cart__line{padding:18px 0;border-bottom:1px solid #ccc;overflow-wrap:anywhere}.mk-cart__line>strong{display:block;margin:8px 0}.mk-cart form{max-width:620px;display:grid;gap:14px;margin-top:24px}.mk-cart form>label{display:grid;gap:6px}.mk-cart input:not([type=checkbox]),.mk-cart textarea{width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #aaa}.mk-cart input[type=checkbox]{width:auto}.mk-commerce [hidden]{display:none!important}
.mk-cart form>label.mk-cart__consent{display:flex;align-items:flex-start;gap:8px}.mk-cart__consent input[type=checkbox]{flex:0 0 auto;margin-top:4px}
/* Компактные позиции каталога: полные сведения о заказе остаются в карточке и корзине. */
.product-line .mk-commerce,.mininpz_product-line .mk-commerce{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 14px}
.product-line .mk-commerce__order,.mininpz_product-line .mk-commerce__order,.product-card .mk-commerce__order{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:6px}
.product-line .mk-commerce__order-label,.mininpz_product-line .mk-commerce__order-label,.product-card .mk-commerce__order-label{font-size:0}
.product-line .mk-commerce__order-label select,.mininpz_product-line .mk-commerce__order-label select,.product-card .mk-commerce__order-label select{font:12px/1.4 inherit;max-width:66px;height:36px;padding:3px;border:1px solid #dfe4eb;border-radius:5px}
.product-line .mk-commerce__quantity,.mininpz_product-line .mk-commerce__quantity,.product-card .mk-commerce__quantity{width:118px;max-width:100%;height:36px}
.product-line .mk-commerce__quantity button,.mininpz_product-line .mk-commerce__quantity button,.product-card .mk-commerce__quantity button{flex-basis:24px;padding:0}
.product-line .mk-commerce__quantity input,.mininpz_product-line .mk-commerce__quantity input,.product-card .mk-commerce__quantity input{padding:3px;text-align:center;font-size:12px}
.product-line .mk-commerce__order>small,.product-line .mk-commerce__total,.mininpz_product-line .mk-commerce__order>small,.mininpz_product-line .mk-commerce__total,.product-card .mk-commerce__order>small,.product-card .mk-commerce__total{display:none}
.product-line .mk-commerce__order>.btn,.mininpz_product-line .mk-commerce__order>.btn,.product-card .mk-commerce__order>.btn{min-width:0;min-height:36px;height:36px;padding:6px 10px;font-size:12px;border-radius:6px}
.mk-commerce__message:empty{display:none}
.mk-commerce__quantity-control{display:grid;gap:4px;min-width:0}
.mk-commerce__quantity-caption{font-size:12px;color:#617087}
.product-line .mk-commerce__quantity-control,.mininpz_product-line .mk-commerce__quantity-control,.product-card .mk-commerce__quantity-control{display:flex;align-items:center;gap:6px}
.product-line .mk-commerce__quantity-caption,.mininpz_product-line .mk-commerce__quantity-caption,.product-card .mk-commerce__quantity-caption{font-size:11px;white-space:nowrap}
/* Выбор единиц и корзина по действующим компонентам ТНМК, в цветах МК «Звезда». */
.mk-commerce__price-row{align-items:center;gap:0 5px;line-height:1.4}
.mk-commerce__price-caption{font-weight:700;font-size:1.25rem}
.mk-commerce__unit{display:inline-flex;align-items:center;min-height:38px;padding:2px 6px;border:0;border-radius:5px;background:transparent;color:inherit;white-space:nowrap;line-height:1.4}
.mk-commerce__unit::after{content:'▾';margin-left:5px;color:#66717c;font-size:.72em}
.mk-commerce__unit:hover,.mk-commerce__unit[aria-expanded=true],.mk-commerce__unit:focus-visible{background:#f1f3f5;outline:none}
.mk-unit-menu{padding:5px;border:1px solid #dfe3e7;border-radius:7px;box-shadow:0 10px 28px rgba(24,35,47,.14);color:#1f2933}
.mk-unit-menu button{min-height:40px;padding:8px 10px;border-radius:5px;font-size:14px;line-height:1.35;background:transparent}
.mk-unit-menu button:hover,.mk-unit-menu button:focus-visible,.mk-unit-menu button[aria-selected=true]{background:#f2f5f7;outline:none}
.mk-unit-menu button[aria-selected=true]{font-weight:600}
.mk-commerce__quantity{height:40px;border:1px solid #dfe4eb;border-radius:8px;overflow:hidden;background:#fff}
.mk-commerce__quantity button{border:0;background:#fff;color:#617087;padding:0;flex-basis:26px;font-size:18px}
.mk-commerce__quantity button:hover{background:#f5f6f8;color:#252b40}
.mk-commerce__quantity input{border:0;text-align:center;font-size:13px;font-weight:600;color:#252b40;outline-offset:-2px}
.product-line .mk-commerce__order-label select,.mininpz_product-line .mk-commerce__order-label select,.product-card .mk-commerce__order-label select{font-family:inherit;font-size:12px;line-height:1.4}
.mk-cart{--cart-ink:#252b40;--cart-muted:#768092;--cart-line:#e8ecf2;--cart-accent:#b88700;padding:30px 0 64px;background:#f5f6f8;color:var(--cart-ink);font-size:14px;line-height:1.55;min-width:0}
.mk-cart__container{max-width:1320px;box-sizing:border-box}
.mk-cart__breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 28px;color:var(--cart-muted);font-size:12px}
.mk-cart__breadcrumbs a{color:inherit}
.mk-cart__heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.mk-cart h1{display:flex;align-items:center;gap:13px;margin:0;font-size:34px;line-height:1.2;font-weight:700;letter-spacing:-.8px}
.mk-cart__count{display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border:1px solid #e1e5ec;border-radius:9px;background:#fff;color:#657084;font-size:15px;letter-spacing:0;box-sizing:border-box}
.mk-cart__back{color:#586276;font-size:13px}
.mk-cart__back:hover,.mk-cart__product a:hover{color:var(--cart-accent)}
.mk-cart__layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}
.mk-cart__layout>section{box-sizing:border-box;min-width:0;padding:0;margin:0;border:1px solid #e4e8ef;border-radius:16px;background:#fff;box-shadow:0 5px 22px #20263a04}
.mk-cart__section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px;border-bottom:1px solid var(--cart-line)}
.mk-cart__section-heading>button{border:0;background:transparent;color:var(--cart-muted);font-size:12px;padding:4px}
.mk-cart h2{margin:0;color:var(--cart-ink);font-size:18px;line-height:1.35;font-weight:700}
.mk-cart__line{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 124px 142px 28px;align-items:center;gap:18px;margin:0 24px;padding:24px 0;border-bottom:1px solid var(--cart-line);overflow-wrap:anywhere}
.mk-cart__line:last-child{border-bottom:0}
.mk-cart__product{display:flex;align-items:flex-start;gap:13px;min-width:0}
.mk-cart__product>div{min-width:0}
.mk-cart__marker{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:10px;background:#f5f6f9;color:#8a94a6;font-size:12px;font-weight:700}
.mk-cart__product a{display:inline-block;color:var(--cart-ink);font-size:13px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.mk-cart__sku,.mk-cart__stock{margin:5px 0 0;color:var(--cart-muted);font-size:11px}
.mk-cart__unit-price{margin:9px 0 0;color:var(--cart-muted);font-size:11px;line-height:1.7}
.mk-cart__unit-price>span{color:#596477;font-size:12px}
.mk-cart__quantity>label,.mk-cart__line-total>span{display:block;margin-bottom:8px;color:var(--cart-muted);font-size:11px}
.mk-cart__quantity select{width:100%;max-width:100%;margin:0 0 6px;padding:3px 5px;border:1px solid #dce1e8;border-radius:5px;background:#fff;color:#30343b;font-size:12px;line-height:1.4}
.mk-cart__quantity .mk-commerce__quantity{width:100%;height:40px;box-sizing:border-box}
.mk-cart .mk-commerce__quantity input{margin:0;border:0;padding:0 1px;font-family:inherit;font-size:13px;line-height:1}
.mk-cart__equivalent{margin:6px 0 0;color:#617087;font-size:11px;line-height:1.5}
.mk-cart__line-total strong{display:block;font-size:14px;font-weight:700;line-height:1.5}
.mk-cart__remove{display:grid;place-items:center;width:32px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:#a0a8b5;font-size:24px!important;cursor:pointer}
.mk-cart__remove:hover{color:#b21b28;background:#fff1f2}
.mk-cart__warning{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:8px;background:#fff8e9;color:#785414;font-size:12px;line-height:1.5}
.mk-cart__quantity-note{margin:0;padding:12px 24px 20px;color:var(--cart-muted);font-size:12px;line-height:1.6}
.mk-cart__layout>.mk-cart__contact{padding:24px}
.mk-cart__summary{padding-bottom:21px;margin-bottom:22px;border-bottom:1px solid var(--cart-line)}
.mk-cart__summary>span{display:block;margin-bottom:6px;color:#687488;font-size:12px}
.mk-cart__summary>strong{display:block;font-size:28px;line-height:1.3;letter-spacing:-.7px}
.mk-cart__summary>p{margin:10px 0 0;color:var(--cart-muted);font-size:11px;line-height:1.7}
.mk-cart__contact-intro{margin:8px 0 14px;color:#778195;font-size:12px}
.mk-cart form{max-width:none;margin-top:0;gap:14px}
.mk-cart form>label{margin:0;color:#505c70;font-size:12px}
.mk-cart form input:not([type=checkbox]),.mk-cart form textarea{box-sizing:border-box;width:100%;padding:11px 12px;margin-top:0;border:1px solid #dfe4eb;border-radius:8px;background:#fff;color:var(--cart-ink);font-family:inherit;font-size:12px;line-height:1.5}
.mk-cart form textarea{resize:vertical;min-height:70px}
.mk-cart form input:focus,.mk-cart form textarea:focus{outline:2px solid #d4a82a;outline-offset:1px}
.mk-cart__optional{float:right;font-size:10px;color:#929aab}
.mk-cart form>.mk-cart__consent{font-size:12px;line-height:1.7;color:#68758a;gap:9px}
.mk-cart__consent input{width:15px;height:15px;accent-color:#e9bd36}
.mk-cart__submit{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:46px;padding:10px 16px;border:0;border-radius:9px;background:#f7d65b;color:#252b40;font:700 13px/1.4 inherit;white-space:normal;cursor:pointer}
.mk-cart__submit:hover{background:#f3ca3f}
.mk-cart__submit:disabled{opacity:.5;cursor:default}
.mk-cart__empty{padding:54px 30px 60px;text-align:center}
.mk-cart__empty h3{margin:0 0 8px;font-size:19px;line-height:1.4;font-weight:700}
.mk-cart__empty p{max-width:300px;margin:0 auto 24px;color:#8a93a4;font-size:13px}
.mk-cart__empty a{display:inline-flex;align-items:center;padding:12px 20px;border-radius:9px;background:#f7d65b;color:#252b40;font-size:12px;font-weight:700}
.mk-cart [data-mk-line-message]:empty,.mk-cart [data-mk-cart-message]:empty{display:none}
.mk-cart [role=status]{font-size:12px;overflow-wrap:anywhere}
.mk-cart a:focus-visible,.mk-cart button:focus-visible{outline:3px solid #4382ce;outline-offset:3px}
@media(max-width:1250px){.mk-cart__layout{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.mk-cart__line{grid-template-columns:minmax(0,1fr) 116px 122px 26px;gap:12px;margin:0 18px}.mk-cart__marker{display:none}.mk-cart__layout>.mk-cart__contact{padding:20px}}
@media(max-width:1021px){.mk-cart__layout{grid-template-columns:1fr}.mk-cart__layout>.mk-cart__contact{max-width:600px;width:100%}.mk-cart__line{grid-template-columns:minmax(0,1fr) 124px 142px 28px}.mk-cart__marker{display:grid}}
@media(max-width:766px){.mk-cart__line{grid-template-columns:minmax(0,1fr) 124px 28px;gap:14px}.mk-cart__product{grid-column:1/-2}.mk-cart__remove{grid-column:3;grid-row:1}.mk-cart__quantity{grid-column:2;grid-row:2}.mk-cart__line-total{grid-column:1;grid-row:2}.mk-cart__marker{display:none}.mk-cart__heading{align-items:flex-end}.mk-cart__back{max-width:112px;text-align:right}}
@media(max-width:640px){.mk-commerce__unit{min-height:44px}.mk-unit-menu button{min-height:44px}}
@media(max-width:520px){.mk-cart{padding:22px 0 40px}.mk-cart__breadcrumbs{margin-bottom:22px;font-size:11px}.mk-cart h1{font-size:28px}.mk-cart__section-heading{padding:18px}.mk-cart h2{font-size:16px}.mk-cart__line{margin:0 18px;padding:20px 0}.mk-cart__line-total strong{font-size:15px}.mk-cart form input:not([type=checkbox]),.mk-cart form textarea{font-size:16px}.mk-cart__empty{padding:36px 20px}}
.mk-commerce__unit{font-size:1.25rem;font-weight:700}
.product-line .mk-commerce__unit,.product-line .mk-commerce__price-row strong,.mininpz_product-line .mk-commerce__unit,.mininpz_product-line .mk-commerce__price-row strong{font-size:16px}
.product-line .mk-commerce__price-caption,.mininpz_product-line .mk-commerce__price-caption{display:none}
.mk-cart__submit{font-family:inherit;font-size:13px;line-height:1.4;font-weight:700}
@media(max-width:766px){.mk-cart__line{grid-template-columns:minmax(0,1fr) 124px;gap:14px}.mk-cart__product{grid-column:1/-1;padding-right:28px}.mk-cart__remove{position:absolute;top:20px;right:0;grid-column:auto;grid-row:auto}.mk-cart__quantity{grid-column:2;grid-row:2}.mk-cart__line-total{grid-column:1;grid-row:2}.mk-cart__line-total strong{white-space:nowrap}}
