:root{color-scheme:light;--bg:#f3f2f0;--ink:#383a38;--muted:#676b67;--line:#dedfdb;--brand:#075763;--accent:#34b39a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:15px;font-weight:300;line-height:1.55}button,input,select,textarea{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-underline-offset:4px}button{cursor:pointer}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--brand);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2{font-weight:300;line-height:1.15;letter-spacing:-.035em}h1{font-size:44px}h2{font-size:36px}strong,b{font-weight:500}svg{width:24px;height:24px;flex-shrink:0}.commerce-header,#commerce-main,.commerce-foot{width:min(1192px,calc(100% - 80px));margin-inline:auto}.commerce-header{height:100px;display:flex;align-items:center;justify-content:space-between}.commerce-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:24px;letter-spacing:.04em;font-weight:500;color:var(--brand)}.commerce-brand img{object-fit:contain}.commerce-brand sup{font:10px Arial;vertical-align:top;margin-left:2px}.commerce-basket{position:relative;width:44px;height:44px;border:1px solid #d3d5cf;border-radius:50%;display:grid;place-items:center}.cart-count{position:absolute;right:-3px;top:-3px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:50%;background:var(--brand);color:white;font:11px Arial}.cart-heading{padding-top:18px;margin-bottom:32px}.back-link{display:inline-flex;align-items:center;gap:8px;color:var(--muted);text-decoration:none;min-height:44px;font-size:13px}.back-link:hover{text-decoration:underline}h1 span{font-size:22px;letter-spacing:-.02em;color:var(--muted)}.commerce-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:72px;align-items:start}.cart-body{min-width:0}.delivery-note{display:flex;gap:12px;align-items:center;background:white;padding:16px 20px;border-radius:7px;font-size:13px;margin-bottom:20px}.delivery-note svg{width:21px;height:21px}.cart-items{list-style:none;margin:0;padding:0 24px;background:white;border-radius:8px}.cart-item{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:22px;padding:28px 0;border-bottom:1px solid var(--line)}.cart-item:last-child{border:0}.cart-item-image{background:#f3f3f0;border-radius:5px;align-self:start;overflow:hidden}.cart-item-image img{display:block;width:120px;height:148px;object-fit:contain;mix-blend-mode:multiply}.cart-item-title{font-weight:500;font-size:19px;text-decoration:none}.cart-item-info p{color:var(--muted);font-size:13px;margin:7px 0}.cart-unit-price{font-size:12px;color:var(--muted)}.cart-item-price{font-size:17px;white-space:nowrap;font-variant-numeric:tabular-nums}.cart-item-controls{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:20px}.cart-quantity{border:1px solid #d9dcd6;display:flex;align-items:center;border-radius:30px;height:44px}.cart-quantity button{border:0;background:transparent;min-width:40px;height:42px;font-size:20px}.cart-quantity span{min-width:22px;text-align:center;font-size:14px}.cart-quantity button:disabled{opacity:.3;cursor:default}.cart-remove{font-size:12px;background:transparent;border:0;text-decoration:underline;min-height:44px;padding:0 4px;color:var(--muted)}.order-side{min-width:0}.order-side>h2{margin:-72px 0 32px;line-height:40px}.order-card{background:white;border-radius:8px;padding:24px}.cart-total,.summary-line{display:flex;justify-content:space-between;align-items:baseline;gap:18px;font-size:15px;font-variant-numeric:tabular-nums}.cart-total strong,.summary-line strong{white-space:nowrap}.order-card>p{font-size:12px;color:var(--muted);margin:14px 0 24px;line-height:1.6}.cart-primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:14px 20px;border:0;border-radius:30px;background:var(--brand);color:white;text-decoration:none;font-weight:500;font-size:14px}.cart-primary:hover{background:#064650}.cart-primary:disabled{opacity:.55;cursor:wait}.service-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 0}.service>div{background:white;height:52px;border-radius:5px;display:flex;align-items:center;justify-content:center;padding:9px}.service img{display:block;width:100%;max-width:90px;height:30px;object-fit:contain}.service span{display:block;text-align:center;font-size:10px;color:var(--muted);margin-top:6px}.service-note{font-size:11px;color:var(--muted);line-height:1.65;margin-top:20px;max-width:40em}.cart-empty{background:white;border-radius:8px;text-align:center;padding:44px 24px}.cart-empty p:first-of-type{font-size:26px;margin:18px 0 12px}.cart-empty p+p{color:var(--muted);font-size:14px}.empty-cta{max-width:260px;margin:24px auto 0}.empty-icon{width:48px;height:48px;color:var(--brand)}.is-empty .delivery-note,.is-empty .cart-items,.is-empty .order-side{display:none}.is-empty .commerce-grid{grid-template-columns:1fr}.commerce-foot{margin-top:120px;padding:28px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:16px}.cart-storage-note{font-size:13px;padding:20px 0}.visually-hidden,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{display:block;padding:12px}.checkout-content{min-width:0}.form-intro{font-size:14px;color:var(--muted);margin-bottom:32px}.cart-checkout{margin:0}.cart-checkout fieldset{border:0;margin:0 0 32px;padding:26px 0 0;border-top:1px solid #d3d5cf;min-width:0}.cart-checkout legend{float:left;width:100%;font-size:22px;font-weight:400;letter-spacing:-.02em;margin-bottom:20px}.field-note{clear:both;color:var(--muted);font-size:12px;margin-bottom:20px}.cart-checkout label{display:grid;gap:8px;font-size:13px;margin:20px 0 0;clear:both}.cart-checkout input:not([type=checkbox]),.cart-checkout select,.cart-checkout textarea{width:100%;min-width:0;min-height:52px;border:1px solid #b6bbb5;border-radius:6px;background:white;padding:12px 14px;font-size:16px;line-height:1.5;scroll-margin-top:24px}.cart-checkout textarea{resize:vertical;min-height:100px}.cart-checkout input:focus,.cart-checkout textarea:focus,.cart-checkout select:focus{border-color:var(--brand);outline:2px solid #07576330;outline-offset:1px}.cart-checkout input:user-invalid{border-color:#a33425}.contact-fields label:first-of-type{margin-top:0}.cart-checkout p:not(.form-intro){font-size:12px;line-height:1.65;color:var(--muted)}.cart-checkout p[id],.cart-city-status{margin-top:8px}.cart-city-field{position:relative;clear:both}.cart-city-field>label{margin-bottom:8px}.cart-city-options{position:absolute;z-index:10;top:100%;left:0;right:0;margin:4px 0 0;padding:6px;list-style:none;background:white;border:1px solid #aeb5ac;border-radius:6px;box-shadow:0 5px 15px #0000000b;max-height:270px;overflow-y:auto}.cart-city-options li{padding:13px 10px;border-radius:3px;font-size:14px;cursor:pointer}.cart-city-options li[aria-selected=true],.cart-city-options li:hover{background:#e7f2ed}.cart-picker-button,.cart-locate-button{min-height:48px;border:1px solid var(--brand);background:transparent;border-radius:30px;color:var(--brand);padding:12px 20px;margin-top:20px}.cart-picker-button{width:100%}.cart-locate-button{font-size:12px}.cart-map-section{margin-top:20px;scroll-margin-top:24px}.cart-delivery-map{width:100%;height:440px;border:1px solid var(--line);border-radius:6px;background:white;display:block}.cart-selected-point input{font-size:14px!important;background:#f9faf7!important}.cart-checkout-summary{margin:0}.cart-checkout-summary>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin:14px 0;font-size:14px}.cart-checkout-summary .cart-total{border-top:1px solid var(--line);padding-top:20px;margin-top:20px;font-size:20px;align-items:flex-start}.cart-checkout-summary .cart-total strong{white-space:normal;text-align:right}.order-details{background:white;border-radius:7px;margin-bottom:14px;padding:0 20px}.order-details summary{padding:17px 0;cursor:pointer;font-size:13px;display:list-item;list-style-position:inside}.order-details summary span{float:right;font-size:12px;color:var(--muted)}.order-details ul{list-style:none;margin:0;padding:0}.order-details li{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:14px 0;font-size:12px}.order-details img{object-fit:contain;background:#f5f5f2;border-radius:4px}.order-details li div{flex:1;min-width:0}.order-details li span{display:block;margin-top:5px;font-size:11px;color:var(--muted)}.order-details li b{font-size:12px;white-space:nowrap}.order-details>a{display:inline-block;font-size:12px;min-height:44px;padding:12px 0}.cart-checkout .cart-consent{display:flex;gap:10px;align-items:flex-start;margin:16px 0;font-size:11px;line-height:1.65}.cart-consent input{width:18px;height:18px;flex-shrink:0;accent-color:var(--brand);margin:2px 0 0}.cart-legal-consents{margin:20px 0}.cart-checkout a{color:var(--brand)}[data-checkout-error]{color:#a33425!important;margin:12px 0;overflow-wrap:anywhere}[data-checkout-error]:empty{margin:0}.cart-continue{display:block;min-height:44px;padding:12px 0}.bottom-back{margin-top:28px}.checkout-content>.cart-empty{display:none}.is-empty .checkout-content>*{display:none}.is-empty .checkout-content>.cart-empty{display:block}
@media(min-width:1000px) and (min-height:850px){body[data-commerce=cart] .order-side{position:sticky;top:100px}}
@media(max-width:1100px){.commerce-grid{gap:40px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.cart-item{grid-template-columns:90px minmax(0,1fr) auto;gap:16px}.cart-item-image img{width:90px;height:124px}.cart-items{padding:0 20px}.cart-item-title{font-size:17px}.order-card{padding:20px}.service-logos{gap:8px}h1{font-size:38px}h2{font-size:32px}.order-side>h2{margin-top:-72px}}
@media(max-width:800px){.commerce-header,#commerce-main,.commerce-foot{width:calc(100% - 48px)}.commerce-grid{grid-template-columns:1fr;gap:40px}.order-side>h2{margin:0 0 22px}.cart-heading{margin-bottom:28px}.cart-item{grid-template-columns:110px minmax(0,1fr) auto}.cart-item-image img{width:110px;height:140px}.service-logos{max-width:440px}.service-note{max-width:none}.checkout-side{padding-top:4px}.commerce-foot{margin-top:72px}.cart-checkout fieldset:last-of-type{margin-bottom:8px}}
@media(max-width:480px){.commerce-header,#commerce-main,.commerce-foot{width:calc(100% - 40px)}.commerce-header{height:84px}.commerce-brand{font-size:22px}.commerce-brand img{width:26px;height:29px}.cart-heading{padding-top:0;margin-bottom:24px}h1{font-size:32px;letter-spacing:-.04em}h1 span{font-size:18px}h2{font-size:28px}.back-link{font-size:12px}.delivery-note{padding:14px;font-size:12px;align-items:flex-start}.cart-items{padding:0 16px}.cart-item{grid-template-columns:82px minmax(0,1fr);gap:10px 16px;padding:24px 0}.cart-item-image{grid-row:1/3}.cart-item-image img{width:82px;height:116px}.cart-item-title{font-size:17px}.cart-item-price{grid-column:2;font-size:16px}.cart-item-info p{font-size:12px;margin:5px 0}.cart-unit-price{font-size:11px}.cart-item-controls{gap:8px;margin-top:14px}.cart-quantity button{min-width:35px}.cart-remove{font-size:11px}.order-card{padding:20px}.service-logos{gap:8px}.service>div{height:48px;padding:7px}.service span{font-size:9px}.commerce-foot{display:block;line-height:2}.commerce-foot span{display:block;margin-top:10px}.form-intro{font-size:13px;margin-bottom:28px}.cart-checkout legend{font-size:21px}.cart-checkout fieldset{padding-top:22px;margin-bottom:28px}.cart-checkout .cart-consent{font-size:12px}.cart-delivery-map{height:360px}.order-side>h2{margin-bottom:20px}.cart-empty{padding:32px 18px}.cart-empty p:first-of-type{font-size:22px}.cart-checkout-summary .cart-total{font-size:19px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Keep the reference's compact header and aligned title row. */
@media(min-width:801px){.commerce-header{height:80px}.cart-heading{padding-top:0}.order-side>h2{transform:translateY(-7px)}}
h1,h2{overflow-wrap:break-word;text-wrap:balance}.cart-item-title{overflow-wrap:anywhere}.cart-item-info{min-width:0}.photo-unavailable{font-size:10px!important;line-height:1.4;max-width:26ch}.commerce-foot{padding-bottom:max(28px,env(safe-area-inset-bottom))}.service img[alt="Т-Банк"]{max-width:76px}.cart-checkout-summary[aria-live]{min-width:0}.cart-consent:hover{color:var(--brand)}.cart-quantity button:hover:not(:disabled){color:var(--brand);background:#f0f5f2;border-radius:50%}.cart-remove:hover{color:var(--brand)}.cart-picker-button:hover,.cart-locate-button:hover{background:#e5eeeb}
@media(max-width:480px){.service-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.service>div{height:54px}.service img[alt="Яндекс Доставка"]{max-width:130px}.service span{font-size:10px}}

/* Delivery choices reuse the existing select value and checkout events. */
.delivery-choices{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.carrier-choice{background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px;min-width:0}.carrier-logo{height:44px;display:flex;align-items:center;margin-bottom:14px}.carrier-logo img{width:136px;max-width:100%;height:30px;object-fit:contain;object-position:left center}.carrier-choice[aria-label="СДЭК"] .carrier-logo img{width:100px}.carrier-options{display:grid;gap:10px}.carrier-options button{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;padding:12px;border:1px solid #d2d6d1;border-radius:6px;background:white;text-align:left;font-size:13px}.carrier-options svg{width:24px;height:24px;color:var(--brand)}.carrier-options button[aria-checked=true]{border-color:var(--brand);background:#edf5f2;box-shadow:inset 0 0 0 1px var(--brand)}.carrier-options button:hover{border-color:var(--brand)}.choice-dot{width:16px;height:16px;margin-left:auto;border:1px solid #a8b2aa;border-radius:50%;flex-shrink:0}.carrier-options [aria-checked=true] .choice-dot{border:5px solid var(--brand);background:white}.payment-info{margin-top:24px;padding:20px;background:#fff;border-radius:8px}.payment-info h3{font-size:17px;line-height:1.4;font-weight:400;margin-bottom:12px}.payment-method{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.payment-method-title{font-size:14px;line-height:1.5}.payment-method img{display:block;width:94px;height:30px;object-fit:contain;flex-shrink:0}.payment-info>p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:12px}.payment-section .payment-info{border-top:1px solid var(--line);border-radius:0;padding:20px 0 0;margin-top:20px}.order-card .payment-info>p{margin-bottom:0}.carrier-options button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(min-width:801px) and (max-width:1100px){.carrier-choice{padding:12px}.carrier-options button{padding:10px;gap:7px}.delivery-choices{gap:10px}}
@media(max-width:400px){.delivery-choices{gap:10px}.carrier-choice{padding:12px 10px}.carrier-options button{padding:10px 7px;gap:6px;font-size:12px}.carrier-options svg{width:21px;height:21px}.choice-dot{width:14px;height:14px}.carrier-logo img{width:120px}}
@media(max-width:350px){.carrier-options button{flex-wrap:wrap}.carrier-options button .choice-dot{margin-left:auto}.carrier-options button span:not(.choice-dot){flex:1 0 calc(100% - 30px);order:1}.carrier-options svg{margin-right:auto}.carrier-options .choice-dot{order:0}}

/* Suggestions stay in normal flow, keeping delivery choices reachable. */
.cart-city-options{position:relative;top:auto}
/* Existing order recovery is visible even when its paid basket becomes empty. */
.checkout-recovery{margin:0 0 28px;padding:24px;border:1px solid #b8ccc6;border-radius:16px;background:#eaf1ee;color:#163e36;overflow-wrap:anywhere}
.checkout-recovery[hidden]{display:none}
.checkout-recovery h2{margin:0 0 12px;font-size:22px;line-height:1.3}
.checkout-recovery p{margin:8px 0;line-height:1.6}
.recovery-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px}
.recovery-confirm{margin-top:20px;padding:20px;border:1px solid #839e97;border-radius:12px;background:#fffdf8}
.recovery-confirm[hidden]{display:none}
.recovery-confirm h3{margin:0 0 10px;font-size:20px;line-height:1.4}
.checkout-recovery button:disabled{opacity:.6;cursor:wait}
.recovery-confirm .cart-primary{min-height:44px;padding:12px 18px;font:inherit}
.recovery-actions a,.recovery-actions button{margin:0;max-width:100%;white-space:normal;text-align:center}
.checkout-recovery .recovery-actions .cart-primary{width:auto;min-width:220px}
.checkout-recovery .recovery-actions .cart-continue{border:0;background:transparent;padding:12px 10px;min-height:44px;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.checkout-recovery:not([hidden])~.commerce-grid .order-side>h2{margin-top:0;transform:none}
body[data-commerce=checkout] form[data-payment-recovery=blocked],body[data-commerce=checkout] form[data-payment-recovery=checking]{display:none}
.checkout-draft-note{font-size:13px;line-height:1.6;color:#4b5b56}
.draft-clear{border:0;background:none;color:#075763;padding:4px 0;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.draft-clear:focus-visible,.checkout-recovery a:focus-visible,.checkout-recovery button:focus-visible{outline:2px solid #075763;outline-offset:4px}
@media(max-width:480px){.checkout-recovery{padding:18px}.recovery-actions{align-items:stretch;flex-direction:column}}

.control-purchase{padding:16px 20px;margin:0 0 28px;border:1px solid var(--line);border-radius:8px}.control-purchase p{margin:0 0 6px}.control-purchase .draft-clear{min-height:44px}.control-purchase input{width:100%;min-height:44px;margin-top:12px}.control-purchase~.commerce-grid .order-side>h2{margin-top:0;transform:none}

.cart-promo{margin-bottom:20px}.cart-promo label{display:block;margin-bottom:8px;font-weight:600}.cart-promo-controls{display:flex;flex-wrap:wrap;gap:8px}.cart-promo input{min-width:0;width:100%;padding:12px;border:1px solid #aaa;border-radius:8px;font:inherit}.cart-promo button{padding:10px 14px;border:1px solid #555;border-radius:8px;background:#fff;color:#222;font:inherit;cursor:pointer}.cart-promo input[aria-invalid="true"]{border:2px solid #a22}.cart-promo p{font-size:14px;line-height:1.5}.cart-promo [hidden]{display:none}

/* Optional accessory, added only by the buyer. */
.cart-bag-offer {margin-block:28px; padding:24px; border:1px solid #b8c5bc; border-radius:16px; background:#f4f3eb; color:#234239; display:grid; grid-template-columns:132px minmax(0,1fr); gap:24px; align-items:start;}
.cart-bag-offer[hidden] {display:none;}
.cart-bag-photo {display:block; width:132px; height:88px; object-fit:cover; border-radius:10px;}
.cart-bag-offer h2 {font-size:24px; margin:0 0 8px;}
.cart-bag-offer p {line-height:1.5; margin:0 0 12px;}
.cart-bag-offer fieldset {border:0; padding:0; margin:14px 0 18px; display:flex; gap:12px; min-width:0;}
.cart-bag-offer .cart-bag-swatch {position:relative; display:block; width:44px; height:44px; min-height:44px; cursor:pointer;}
.cart-bag-swatch input {position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer;}
.cart-bag-swatch span {display:block; box-sizing:border-box; width:100%; height:100%; border:3px solid #f4f3eb; border-radius:50%; background:linear-gradient(125deg,#ffffff35,#00000018),var(--swatch); box-shadow:inset 0 1px 2px #ffffff60;}
.cart-bag-swatch input:checked + span {outline:1.5px solid #234239;}
.cart-bag-swatch input:focus-visible + span {outline:3px solid #007b91; outline-offset:3px;}
.cart-bag-offer button {white-space:normal; min-height:48px; font-size:16px;}
.cart-bag-offer button:focus-visible {outline:2px solid #234239; outline-offset:4px;}
@media(max-width:600px) {.cart-bag-offer {padding:18px; grid-template-columns:88px minmax(0,1fr); gap:16px;} .cart-bag-photo {width:88px; height:59px;} .cart-bag-offer h2 {font-size:21px;} .cart-bag-offer button {width:100%;} }

/* Compact accessory row: photo, description, swatches and action. */
.cart-bag-offer {padding:20px; grid-template-columns:180px minmax(0,1fr); gap:22px; align-items:center;}
.cart-bag-photo {width:180px; height:120px;}
.cart-bag-copy {display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:16px; align-items:center;}
.cart-bag-copy h2 {grid-column:1; font-size:21px; margin-bottom:6px;}
.cart-bag-copy p {grid-column:1; font-size:14px; margin-bottom:10px;}
.cart-bag-copy > strong {display:none;}
.cart-bag-copy fieldset {grid-column:1; margin:0; gap:8px;}
.cart-bag-copy button {grid-column:2; grid-row:1 / 4; justify-self:end; width:auto; padding:12px 16px; font-size:14px; min-height:44px; border-radius:24px; white-space:nowrap;}
@media(max-width:1100px) and (min-width:761px) {.cart-bag-offer {grid-template-columns:140px minmax(0,1fr); gap:16px;} .cart-bag-photo {width:140px; height:94px;} .cart-bag-copy {grid-template-columns:1fr;} .cart-bag-copy button {grid-column:1; grid-row:auto; justify-self:start; margin-top:10px;}}
@media(max-width:600px) {.cart-bag-offer {padding:16px; grid-template-columns:116px minmax(0,1fr); gap:14px;} .cart-bag-photo {width:116px; height:78px; align-self:start;} .cart-bag-copy {grid-template-columns:1fr;} .cart-bag-copy h2 {font-size:19px;} .cart-bag-copy p {font-size:13px; line-height:1.4;} .cart-bag-copy button {grid-column:1; grid-row:auto; justify-self:start; margin-top:10px; padding:10px 12px; font-size:13px;} }
@media(max-width:360px) {.cart-bag-offer {grid-template-columns:96px minmax(0,1fr); gap:12px;} .cart-bag-photo {width:96px; height:64px;} .cart-bag-copy button {white-space:normal;}}
