:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1d1d1f;background:#f5f5f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#0071e3;text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}button{cursor:pointer}button,a,input,summary{outline:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #81b7ff;outline-offset:3px}button:disabled{opacity:.4;cursor:default}input:focus-visible{border-color:#0071e3;box-shadow:0 0 0 3px #0071e320}button{color:inherit}button,input{min-width:0}input[type=checkbox],input[type=radio]{accent-color:#0071e3;flex-shrink:0}input[type=checkbox]{width:17px;height:17px;margin:1px 0}input[type=radio]{width:19px;height:19px;margin:0}[hidden]{display:none!important}.main-header{position:relative!important;z-index:2}.top-menu{max-width:1240px}.prototype{height:32px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#6e6e73;border-bottom:1px solid #e8e8ed;background:#fff}.prototype span{color:#aaa}.checkout{max-width:1240px;margin:auto;padding:30px 32px 70px}.breadcrumbs{display:flex;gap:12px;align-items:center;color:#86868b;font-size:12px;margin-bottom:30px}.breadcrumbs a{color:#6e6e73}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}h1{font-size:38px;font-weight:600;letter-spacing:-1px;line-height:1.13;margin:0 0 12px}.page-heading p{margin:0;color:#6e6e73;font-size:16px}.back-link{font-size:14px}.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.steps{display:grid;gap:20px}.card{border-radius:26px;padding:28px;background:#fff}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}h2{display:flex;align-items:center;gap:12px;font-size:22px;line-height:1.2;font-weight:600;letter-spacing:-.4px;margin:0}.step{display:inline-flex;width:28px;height:28px;flex-shrink:0;border-radius:50%;align-items:center;justify-content:center;background:#f5f5f7;color:#86868b;font-weight:500;font-size:14px}.muted{color:#86868b;font-size:13px}.product-row{display:flex;align-items:center;gap:18px}.product-photo{width:120px;height:125px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.product-photo img{width:100%;height:100%;object-fit:contain}.product-info{flex:1;min-width:0}.eyebrow{font-size:10px;letter-spacing:1.1px;color:#86868b;margin:0 0 8px}.product-title{font-size:16px;line-height:1.4;font-weight:500;color:#1d1d1f}.product-info .muted{margin:8px 0}.stock{color:#168454;font-size:12px}.text-button{border:0;background:none;color:#0071e3;font-size:13px;padding:0;line-height:1.5}.remove{display:block;margin-top:12px;color:#86868b;font-size:12px}.product-end{align-self:flex-start;text-align:right;padding-top:14px;white-space:nowrap}.product-end strong{font-size:20px;font-weight:600}.quantity{display:flex;border:1px solid #e6e6eb;border-radius:10px;overflow:hidden;align-items:center;margin-top:22px}.quantity button{border:0;background:#f5f5f7;width:30px;height:31px;font-size:20px}.quantity output{width:28px;text-align:center;font-size:13px}.quantity button:focus-visible{outline-offset:-3px}.section-intro{font-size:14px;color:#86868b;line-height:1.5;margin:-10px 0 20px}.city{white-space:nowrap}.city span{display:inline-flex;align-items:center;justify-content:center;margin-left:4px}.delivery-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.delivery-option{position:relative;background:#fff;border:1px solid #dedee4;text-align:left;border-radius:16px;padding:16px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:154px}.delivery-option.selected{border:1px solid #0071e3;box-shadow:inset 0 0 0 1px #0071e3;background:#f6faff}.delivery-option span:not(.provider){font-size:11px;color:#86868b;margin-top:6px}.provider{font-size:21px;font-weight:700;letter-spacing:-.5px}.magnit{color:#df252b}.fivepost{color:#49a62b}.cdek{color:#16955a;font-style:italic}.delivery-option strong{font-weight:500;font-size:14px}.delivery-option small{font-size:10px;color:#86868b;line-height:1.4}.delivery-option i{position:absolute;right:10px;top:12px;width:13px;height:13px;border:1px solid #d2d2d7;border-radius:50%}.delivery-option.selected i{border:4px solid #0071e3;background:#fff}.choose-point,.pickup-result{display:flex;width:100%;align-items:center;gap:14px;margin-top:18px;padding:18px 16px;border:0;border-radius:16px;background:#f5f5f7;text-align:left}.choose-point strong,.pickup-result strong{font-size:14px;font-weight:500}.choose-point small,.pickup-result p{display:block;font-size:12px;color:#86868b;margin:5px 0 0;line-height:1.5}.choose-point .chevron{margin-left:auto;font-size:24px;color:#86868b}.pin{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#e8f2ff;color:#0071e3;border-radius:10px;font-size:25px;flex-shrink:0}.pickup-result{background:#f2f8ff}.pickup-result .text-button{margin-left:auto}.fineprint{font-size:11px;color:#86868b;line-height:1.5;margin:14px 0 0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:13px;font-weight:500}.field.full{grid-column:1/-1}.optional{font-size:10px;color:#86868b;font-weight:400}.field input{display:block;width:100%;height:48px;border:1px solid #d2d2d7;border-radius:11px;padding:12px 14px;background:#fff;color:#1d1d1f;font-size:15px;font-weight:400}.field input::placeholder{color:#aaaab0}.payment-options{display:grid;gap:10px}.payment{border:1px solid #e6e6eb;border-radius:14px;display:flex;align-items:center;gap:12px;padding:17px 15px;cursor:pointer}.payment:has(input:checked){border-color:#0071e3;background:#f6faff}.payment strong{font-size:14px;font-weight:500}.payment small{display:block;font-size:12px;color:#86868b;margin-top:5px}.payment-tag,.parts-tag{margin-left:auto;font-size:13px;font-weight:700;color:#20885b}.parts-tag{color:#1d1d1f;font-size:20px}.summary{position:sticky;top:24px}.summary-wrap{align-self:stretch}.summary h2{font-size:24px}.summary-icon{color:#a1a1a6;font-size:22px}.summary dl{font-size:14px;margin:0}.summary dl>div{display:flex;justify-content:space-between;gap:16px;margin-bottom:18px}.summary dt{color:#6e6e73}.summary dd{margin:0;text-align:right}.promo{border-top:1px solid #eeeef0;border-bottom:1px solid #eeeef0;padding:19px 0;margin-top:24px;font-size:13px}.promo summary{color:#0071e3;cursor:pointer;list-style:none}.promo summary:after{content:'+';float:right;font-size:17px}.promo[open] summary:after{content:'−'}.promo-input{display:flex;gap:12px;margin-top:14px}.promo-input input{width:100%;border:1px solid #d2d2d7;padding:10px;border-radius:8px}.total{display:flex;justify-content:space-between;align-items:center;margin-top:24px;font-size:20px;font-weight:600}.total strong{font-size:28px;letter-spacing:-.7px}.total-note{font-size:11px;color:#86868b;text-align:right;margin:6px 0 24px}.primary{width:100%;min-height:48px;border:0;border-radius:999px;background:#0071e3;color:#fff;padding:12px 20px;font-size:15px;text-align:center}.primary:hover{background:#0077ed}.consent{display:flex;gap:9px;font-size:10px;color:#86868b;line-height:1.5;margin-top:16px;cursor:pointer}.consent a{color:inherit;text-decoration:underline;text-underline-offset:2px}.help{display:flex;gap:12px;align-items:center;border-top:1px solid #eeeef0;margin-top:24px;padding-top:22px;color:#86868b;font-size:12px}.help>span{font-size:25px;color:#0071e3}.help a{display:block;margin-top:4px;font-size:14px}.summary-caption{font-size:11px;line-height:1.7;text-align:center;color:#86868b;margin:18px 0}.mobile-total{display:none}#form-status{background:#f0f7ff;padding:14px;border-radius:12px;margin-top:16px;font-size:13px;line-height:1.5}#points-panel{margin-top:18px}.points-list{max-height:270px;overflow:auto;display:grid;gap:8px;margin-top:12px}.point{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;border:1px solid #e6e6eb;background:#fff;padding:14px;border-radius:12px;text-align:left}.point:hover{background:#f6faff;border-color:#0071e3}.point strong{font-size:13px;line-height:1.5;font-weight:500}.point small{display:block;color:#86868b;font-size:10px;margin-top:5px;line-height:1.5}.point b{white-space:nowrap;color:#0071e3;font-size:13px;font-weight:500}.point-empty{font-size:13px;line-height:1.6;color:#86868b}dialog{position:fixed;inset:0;margin:auto;border:0;border-radius:24px;padding:32px;width:min(440px,calc(100% - 32px));max-height:90dvh;color:#1d1d1f;box-shadow:0 20px 90px #0003}dialog::backdrop{background:#0006;backdrop-filter:blur(4px)}dialog p{color:#86868b;line-height:1.5;margin:20px 0 24px}.dialog-close{position:absolute;top:12px;right:12px;width:30px;height:30px;border:0;border-radius:50%;background:#f5f5f7;font-size:22px;display:flex;align-items:center;justify-content:center}#ac-globalfooter{border-top:1px solid #e6e6eb}#ac-globalfooter .ac-gf-directory-column-section-title{font-size:12px}#ac-globalfooter .ac-gf-directory-column-section-title-button{font-family:inherit}
@media(max-width:1080px){.checkout{padding:26px 24px 60px}.checkout-grid{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.card{padding:24px}.product-photo{width:90px;height:110px}.product-row{gap:12px}.product-title{font-size:14px}.product-end strong{font-size:17px}.delivery-option{padding:14px 9px}.provider{font-size:18px}.delivery-option i{top:8px;right:7px;width:10px;height:10px}.delivery-option.selected i{border-width:3px}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.product-info .muted{font-size:11px}}
@media(max-width:800px){.checkout-grid{grid-template-columns:1fr}.summary{position:static}.summary-caption{margin-bottom:0}.checkout{max-width:680px;padding-bottom:40px}.fields{grid-template-columns:1fr 1fr}.field.full{grid-column:1/-1}.product-photo{width:120px;height:125px}.product-title{font-size:16px}.product-info .muted{font-size:13px}.product-end strong{font-size:20px}.delivery-option{padding:16px}.provider{font-size:21px}.delivery-option i{top:12px;right:10px;width:13px;height:13px}.delivery-option.selected i{border-width:4px}.back-link{display:none}h1{font-size:32px}.page-heading{margin-bottom:26px}#ac-globalfooter{padding-bottom:90px}.mobile-total{display:flex;position:fixed;z-index:4;bottom:0;left:0;right:0;gap:20px;align-items:center;justify-content:space-between;background:#ffffffed;backdrop-filter:blur(16px);padding:13px max(20px,calc((100vw - 632px)/2)) calc(13px + env(safe-area-inset-bottom));box-shadow:0 -1px 0 #e6e6eb}.mobile-total .primary{width:auto;min-width:170px;min-height:44px;padding:10px 18px;font-size:14px}.mobile-total small{display:block;font-size:10px;color:#86868b;white-space:nowrap}.mobile-total strong{display:block;font-size:22px;margin-top:4px;white-space:nowrap}}
@media(max-width:480px){.prototype{font-size:10px;height:28px}.checkout{padding:22px 12px 32px}.breadcrumbs{gap:9px;font-size:10px;margin:0 6px 24px}.page-heading{margin:0 6px 24px}h1{font-size:28px;letter-spacing:-.8px}.page-heading p{font-size:13px}.card{padding:22px 18px;border-radius:22px}.steps{gap:14px}.section-heading{margin-bottom:22px}h2{font-size:20px;gap:9px}.step{width:25px;height:25px;font-size:12px}.product-row{flex-wrap:wrap;gap:12px}.product-photo{width:90px;height:102px}.product-info{min-width:160px}.product-title{font-size:14px}.product-info .muted{font-size:11px}.product-end{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 0 0;border-top:1px solid #eeeef0}.quantity{margin:0}.quantity button{width:36px;height:33px}.quantity output{width:34px}.remove{margin-top:8px}.delivery-options{gap:7px}.delivery-option{padding:15px 9px 12px;min-height:151px;border-radius:13px}.provider{font-size:18px}.delivery-option i{width:9px;height:9px;right:7px;top:8px}.delivery-option.selected i{border-width:3px}.delivery-option span:not(.provider){font-size:10px;line-height:1.4;min-height:28px}.delivery-option small{font-size:9px}.delivery-option strong{font-size:13px}.section-intro{font-size:12px}.choose-point,.pickup-result{padding:14px 12px;gap:10px}.choose-point strong,.pickup-result strong{font-size:13px}.choose-point small,.pickup-result p{font-size:10px}.pin{width:30px;height:34px}.fields{grid-template-columns:1fr;gap:16px}.field.full{grid-column:auto}.payment{padding:15px 12px;gap:10px}.payment strong{font-size:13px}.payment small{font-size:11px}.payment-tag{font-size:11px}.summary h2{font-size:22px}.summary-wrap{margin-top:0}.mobile-total{gap:12px;padding-left:18px;padding-right:18px}.mobile-total .primary{min-width:165px}.summary-caption{font-size:10px}.pickup-result{flex-wrap:wrap}.pickup-result>div{flex:1}.pickup-result .text-button{margin-left:40px}}
@media(prefers-reduced-motion:no-preference){button,a,input{transition:background .15s,border-color .15s,box-shadow .15s}}
/* Header matches the existing design-25 layout; this static preview loads no application runtime. */
header.main-header{height:48px;background:#333336;color:#fff;display:flex;align-items:center;justify-content:center;width:100%}nav.top-menu{width:100%;max-width:1200px;padding:0 20px;display:flex;align-items:center;justify-content:space-between}a.logo{display:flex;align-items:center;flex-shrink:0}a.logo img{height:26px;width:auto}.nav-list{display:flex;align-items:center;list-style:none;margin:0;padding:0;gap:25px}.nav-link{color:#fff;font-size:12px;white-space:nowrap}.cart-link img{width:20px;height:20px;vertical-align:middle}.mobile-menu-block{display:none}.menu-toggle{border:0;background:transparent;width:24px;height:28px;display:flex;align-items:center;justify-content:center}.menu-icon,.menu-icon:before,.menu-icon:after{display:block;width:18px;height:1px;background:#fff;position:relative}.menu-icon:before,.menu-icon:after{content:'';position:absolute;left:0;top:-5px}.menu-icon:after{top:5px}.menu-toggle.active .menu-icon{background:transparent}.menu-toggle.active .menu-icon:before{transform:rotate(45deg);top:0}.menu-toggle.active .menu-icon:after{transform:rotate(-45deg);top:0}
@media(max-width:940px){.mobile-menu-block{display:flex;align-items:center;gap:20px}.nav-list{display:none;position:absolute;top:48px;left:0;right:0;padding:25px;background:#232323;flex-direction:column;align-items:flex-start;gap:20px;box-shadow:0 10px 20px #0002}.nav-list.active{display:flex}.nav-list .cart-item{display:none}.nav-list .nav-link{font-size:17px}}
/* Delivery: city is explicit for both pickup and courier; points share one list/map selection. */
.city-row{display:flex;align-items:center;gap:12px;width:100%;padding:15px 16px;margin:0 0 18px;border:1px solid #e3e3e8;border-radius:15px;background:#fff;text-align:left}.city-row small{display:block;color:#86868b;font-size:11px;margin-bottom:4px}.city-row strong{font-size:16px;font-weight:500}.city-change{margin-left:auto;color:#0071e3;font-size:12px;white-space:nowrap}.delivery-modes{display:flex;background:#f5f5f7;border-radius:11px;padding:4px;gap:4px;margin-bottom:20px}.delivery-modes button,.pickup-view-switch button{flex:1;border:0;background:transparent;border-radius:8px;padding:11px 8px;font-size:13px}.delivery-modes button.selected,.pickup-view-switch button.selected{background:#fff;color:#0071e3;box-shadow:0 1px 4px #0001}.provider-logo{display:block;width:90px;height:27px;object-fit:contain;object-position:left center;flex-shrink:0}.provider-logo.magnit-logo{width:125px;max-width:calc(100% - 4px)}.delivery-option{padding-top:20px}.delivery-option span:not(.provider){margin-top:9px}.courier-service{display:flex;align-items:center;gap:20px;margin:4px 0 25px;font-size:14px}.courier-city{line-height:1.7}.courier-quote{padding:15px;border-radius:12px;font-size:13px;line-height:1.6;background:#f0f7ff;color:#285c8e}.calculate-courier{justify-content:space-between;color:#0071e3;font-size:14px}.summary-destination{font-size:12px;color:#0071e3;padding-bottom:18px;margin:-5px 0 18px;border-bottom:1px solid #eeeef0;line-height:1.5}.city-list{display:grid;gap:7px;margin-top:18px}.city-option{border:1px solid #e5e5eb;background:#fff;color:#0071e3;padding:14px 16px;border-radius:11px;text-align:left;font-size:15px}.city-option:hover{background:#f0f7ff}
#pickup-dialog{width:min(1100px,calc(100% - 48px));height:min(760px,92dvh);max-height:92dvh;padding:28px;overflow:hidden}#pickup-dialog[open]{display:flex;flex-direction:column;gap:16px}.pickup-dialog-heading{position:relative;display:flex;justify-content:space-between;padding-right:35px}.pickup-dialog-heading h2{font-size:23px}.pickup-dialog-heading p{margin:9px 0 0;font-size:13px}.pickup-dialog-heading .dialog-close{top:0;right:0}.pickup-search{flex-shrink:0}.pickup-search input{height:43px}.pickup-view-switch{display:none}.pickup-workspace{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);gap:16px;min-height:0;flex:1}.pickup-workspace .points-list{max-height:none;overflow:auto;min-height:0;margin:0;align-content:start;padding:1px 5px 1px 1px}.pickup-workspace .point{gap:10px;align-items:flex-start;padding:13px 10px}.point.selected{border-color:#0071e3;background:#f2f8ff;box-shadow:inset 0 0 0 1px #0071e3}.point-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;border-radius:50%;color:#0071e3;background:#e8f2ff;font-size:11px}.point small{max-height:44px;overflow:auto}.point b{font-size:12px;padding-top:3px}.map-panel{position:relative;min-height:230px;border-radius:15px;overflow:hidden;border:1px solid #e3e3e8;background:#f5f5f7}#pickup-map{height:100%;width:100%;min-height:230px}#map-status{position:absolute;inset:40% 20px auto;text-align:center;font-size:13px;line-height:1.6;color:#6e6e73}#retry-map{position:absolute;top:65%;left:20%;width:60%;min-height:44px}.map-marker{display:flex;align-items:center;justify-content:center;width:32px;height:32px;position:absolute;left:0;top:0;background:#0071e3;color:white;border:2px solid #fff;border-radius:50%;font-size:13px;font-weight:600;box-shadow:0 2px 8px #0004}.map-marker.active{background:#1d1d1f;transform:scale(1.18)}.map-marker:focus-visible{outline:3px solid #0071e3;outline-offset:3px}.pickup-confirm{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e6e6eb;padding-top:16px;flex-shrink:0}.pickup-confirm strong{font-size:14px;line-height:1.5;font-weight:500}.pickup-confirm small{display:block;font-size:11px;color:#86868b;margin-top:5px}.pickup-confirm .primary{width:auto;min-width:205px}.pickup-confirm button:disabled{opacity:1;background:#e8e8ed;color:#86868b}
@media(max-width:734px){.provider-logo{width:70px;height:25px}.provider-logo.magnit-logo{width:105px}.delivery-option{padding-top:18px}.city-row{padding:13px 12px}.city-row .pin{width:30px}.city-row strong{font-size:15px}.city-change{font-size:11px}.delivery-modes button{font-size:12px}.courier-service{font-size:13px;gap:14px}#pickup-dialog{width:calc(100% - 16px);height:94dvh;max-height:94dvh;padding:18px;border-radius:20px}#pickup-dialog[open]{gap:12px}.pickup-dialog-heading h2{font-size:19px}.pickup-dialog-heading p{font-size:12px}.pickup-view-switch{display:flex;background:#f5f5f7;border-radius:10px;padding:3px;flex-shrink:0}.pickup-view-switch button{padding:9px;font-size:12px}.pickup-workspace{display:block;position:relative;min-height:140px}.pickup-workspace .points-list{height:100%;padding-right:3px}.pickup-workspace[data-view=list] .map-panel{display:none}.pickup-workspace[data-view=map] .points-list{display:none}.pickup-workspace .map-panel{height:100%;min-height:0}#pickup-map{min-height:0}.pickup-confirm{flex-direction:column;align-items:stretch;gap:12px;padding-top:12px}.pickup-confirm .primary{width:100%;min-height:44px}.pickup-confirm strong{font-size:12px}.pickup-confirm small{font-size:10px}.pickup-search{font-size:12px}.pickup-search input{height:40px;font-size:13px}.point strong{font-size:12px}.pickup-workspace .point small{font-size:10px}#city-dialog{padding:26px 22px}#city-dialog h2{font-size:21px}}
/* Larger delivery descriptions and live catalog counters. */
.delivery-option{min-height:112px;padding-bottom:18px;gap:10px}.delivery-option span:not(.provider){font-size:14px;line-height:1.45;color:#6e6e73;margin-top:8px;min-height:0}.provider-logo{max-width:100%}.section-intro{font-size:15px;color:#6e6e73}.choose-point small,.pickup-result p{font-size:13px;color:#6e6e73}.fineprint{font-size:12px;color:#6e6e73}.point small{font-size:12px;color:#6e6e73;max-height:none;overflow:visible;line-height:1.5}.point strong{font-size:14px}.pickup-workspace .point{padding:15px}.points-status{margin:0;font-size:13px;line-height:1.4;color:#6e6e73;flex-shrink:0}.load-more-points{width:100%;min-height:44px;border:1px solid #d2d2d7;border-radius:12px;background:#f5f5f7;color:#0071e3;padding:12px;font-size:13px}.city-option strong{font-size:15px;font-weight:500}.city-option small{display:block;font-size:13px;line-height:1.4;color:#6e6e73;margin-top:5px}.city-list{max-height:45dvh;overflow:auto}.pickup-confirm small{font-size:12px;color:#6e6e73}.point-empty{font-size:14px;color:#6e6e73}
@media(max-width:734px){.delivery-option span:not(.provider){font-size:13px;line-height:1.4;min-height:0}.section-intro{font-size:13px}.choose-point strong,.pickup-result strong{font-size:14px}.choose-point small,.pickup-result p{font-size:12px}.fineprint{font-size:12px}.points-status{font-size:12px}.pickup-workspace .point small{font-size:12px}.point strong{font-size:14px}.pickup-confirm strong{font-size:13px}.pickup-confirm small{font-size:12px}.delivery-option{min-height:112px;padding-left:8px;padding-right:8px}.city-option small{font-size:12px}}
/* Keep a single scrolling region in the city picker on short screens. */
#city-dialog{height:min(620px,90dvh);max-height:90dvh;overflow:hidden}#city-dialog[open]{display:flex;flex-direction:column;gap:14px}#city-dialog h2,#city-dialog>p{margin:0;flex-shrink:0}#city-dialog>.field{flex-shrink:0}#city-dialog .city-list{flex:1;min-height:0;max-height:none;margin-top:0;overflow:auto;align-content:start}#city-dialog>.fineprint{font-size:12px;line-height:1.5}

.checkout .product-row + .product-row{border-top:1px solid #eee;margin-top:20px;padding-top:20px}.checkout input[aria-invalid=true]{border-color:#c62828}.checkout .field-error{color:#c62828;font-size:13px}.delivery-options{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.checkout .stage-notice{background:#fff3cd;padding:12px;border-radius:12px;margin-bottom:18px}.checkout .product-end{align-self:center}.checkout .product-title{margin:0}.checkout input[type=radio],.checkout input[type=checkbox]{width:18px;height:18px}.checkout .promo-input{flex-wrap:wrap}.checkout .promo-input input{flex:1;min-width:100px}.checkout .quantity output{display:inline-block}#form-status{color:#1d1d1f}.checkout h1{font-size:38px}.checkout h2{font-size:22px}

.checkout .pay-parts{margin-top:10px;background:#f5f5f7;color:#1d1d1f;border:1px solid #d2d2d7;font-size:13px}.checkout .pay-parts:hover{background:#e8e8ed}

/* Рабочий layout отличается от отдельного макета: явно задаём фон и мобильную типографику. */
body { background: #f5f5f7; color: #1d1d1f; }
main.checkout { color: #1d1d1f; }
.checkout .page-heading h1 { color: #1d1d1f; font-size: 38px; font-weight: 600; line-height: 1.15; text-align: left; }
.checkout .page-heading p { color: #6e6e73; }
.checkout .mobile-total { box-sizing: border-box; }
.checkout .mobile-total .primary { min-width: 0; width: auto; flex: 0 1 54%; height: auto; min-height: 44px; line-height: 1.25; margin: 0; white-space: normal; }
@media (max-width: 734px) {
 .checkout { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
 .checkout .mobile-total { gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
 .checkout .mobile-total > div { min-width: 0; flex: 1 1 auto; }
 .checkout .mobile-total small { font-size: 10px; line-height: 1.4; white-space: normal; }
 .checkout .mobile-total strong { font-size: 22px; line-height: 1.2; }
 .checkout .mobile-total .primary { font-size: 14px; padding: 10px 14px; }
}
@media (max-width: 480px) {
 .checkout .page-heading h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.8px; }
 .checkout .page-heading { margin-bottom: 24px; }
}

/* Размеры управляющих элементов не зависят от общих button/output стилей сайта. */
.checkout .steps, .checkout .steps > .card, .checkout .checkout-grid > * { min-width: 0; max-width: 100%; }
.checkout .city-row { box-sizing: border-box; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; width: 100%; max-width: 100%; min-width: 0; padding: 14px 12px; }
.checkout .city-row > span { min-width: 0; }
.checkout .city-row strong { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.checkout .city-row .city-change { margin-left: 0; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.checkout .city-row .pin { width: 30px; height: 32px; margin: 0; }
.checkout .quantity { display: grid; grid-template-columns: 40px 34px 40px; align-items: stretch; flex: 0 0 auto; width: 114px; height: 40px; margin: 0; padding: 0; box-sizing: border-box; }
.checkout .quantity button, .checkout .quantity output { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: auto; min-width: 0; height: 100%; min-height: 0; margin: 0; padding: 0; line-height: 1; vertical-align: middle; }
.checkout .quantity button { font-size: 22px; border: 0; border-radius: 0; }
.checkout .quantity output { font-size: 14px; background: #fff; }
.checkout .delivery-options { grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); align-items: stretch; }
.checkout .delivery-option { box-sizing: border-box; min-width: 0; min-height: 0; height: auto; padding: 14px 12px; gap: 6px; }
.checkout .delivery-option .provider-logo { height: 24px; width: 85px; max-width: calc(100% - 12px); }
.checkout .delivery-option .service-price { font-size: 14px; line-height: 1.3; font-weight: 600; margin-top: 3px; }
.checkout .delivery-option .service-days { display: block; font-size: 12px; line-height: 1.35; color: #6e6e73; }
@media(max-width:480px) {
 .checkout .delivery-option { padding: 12px 10px; border-radius: 13px; }
 .checkout .product-end { min-width: 0; gap: 10px; }
}

/* Один блок оформления: закреплён до появления собственного места в итогах. */
.checkout .primary, #pickup-dialog .primary { box-sizing: border-box; min-width: 0; max-width: 100%; width: 100%; height: auto; line-height: 1.3; margin-right: 0; margin-left: 0; white-space: normal; overflow-wrap: anywhere; }
.checkout .summary, .checkout .checkout-actions, .checkout .checkout-actions * { box-sizing: border-box; min-width: 0; }
.checkout #checkout-actions-slot { max-width: 100%; margin-top: 22px; }
.checkout .checkout-actions { width: 100%; background: #fff; }
.checkout .checkout-actions .consent { margin: 0 0 14px; font-size: 12px; line-height: 1.45; align-items: flex-start; }
.checkout .checkout-actions .consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.checkout .checkout-actions .consent span { min-width: 0; overflow-wrap: anywhere; }
.checkout .checkout-actions-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.checkout .checkout-actions .total { margin-top: 0; gap: 10px; }
.checkout .checkout-actions .total-note { margin: 4px 0 0; font-size: 11px; line-height: 1.35; }
.checkout .checkout-actions-buttons { min-width: 0; max-width: 100%; }
.checkout .checkout-actions-buttons .primary { display: block; padding: 12px 16px; }
@media (max-width:800px) {
 .checkout .checkout-actions-row { grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); align-items: center; gap: 12px; }
 .checkout .checkout-actions .total { display: block; font-size: 11px; font-weight: 400; line-height: 1.3; }
 .checkout .checkout-actions .total strong { display: block; font-size: 24px; line-height: 1.2; margin-top: 3px; }
 .checkout .checkout-actions .total-note { text-align: left; font-size: 10px; }
 .checkout .checkout-actions .primary { font-size: 14px; min-height: 44px; }
 .checkout .checkout-actions .pay-parts { font-size: 12px; margin-top: 8px; }
 .checkout .checkout-actions.is-floating { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100vw; z-index: 5; padding: 12px 16px calc(12px + env(safe-area-inset-bottom,0px)); box-shadow: 0 -1px 12px #00000012; }
 .checkout .checkout-actions.is-floating .pay-parts { display: none; }
 .checkout .checkout-actions.is-floating .consent { margin-bottom: 9px; font-size: 11px; }
 .checkout .checkout-actions.is-floating .total-note { margin-bottom: 0; }
}
/* Размеры диалога включают padding; длинные адреса не расширяют список. */
#pickup-dialog, #city-dialog { box-sizing: border-box; min-width: 0; max-width: calc(100vw - 24px); }
#pickup-dialog { width: min(1100px,calc(100vw - 24px)); padding: 24px; }
#pickup-dialog *, #city-dialog * { box-sizing: border-box; }
#pickup-dialog .pickup-workspace { grid-template-columns: minmax(0,2fr) minmax(0,3fr); max-width: 100%; min-width: 0; }
#pickup-dialog .pickup-workspace > *, #pickup-dialog .pickup-search, #pickup-dialog .points-list, #pickup-dialog .point { min-width: 0; max-width: 100%; }
#pickup-dialog .point { width: 100%; padding: 12px; overflow-wrap: anywhere; }
#pickup-dialog .point > span { min-width: 0; max-width: 100%; }
#pickup-dialog .point strong, #pickup-dialog .point small, #pickup-dialog #draft-address { overflow-wrap: anywhere; white-space: normal; }
#pickup-dialog .pickup-confirm { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,240px); min-width: 0; }
#pickup-dialog .pickup-confirm > div { min-width: 0; }
#pickup-dialog .pickup-search input { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; }
#pickup-dialog .pickup-dialog-heading { min-width: 0; }
#pickup-dialog .pickup-dialog-heading > div { min-width: 0; }
#pickup-dialog .pickup-dialog-heading h2 { overflow-wrap: anywhere; }
@media(max-width:734px) {
 #pickup-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); padding: 16px; height: min(760px,calc(100dvh - 24px)); max-height: calc(100dvh - 24px); }
 #pickup-dialog .pickup-workspace { min-height: 100px; }
 #pickup-dialog .pickup-confirm { grid-template-columns: minmax(0,1fr); gap: 10px; }
 #pickup-dialog .pickup-confirm .primary { min-width: 0; width: 100%; max-width: 100%; padding: 12px; }
}

/* Неподтверждённое согласие заметно в закреплённом и обычном блоке. */
.checkout .checkout-actions .consent { padding: 8px; border: 1px solid transparent; border-radius: 8px; }
.checkout .checkout-actions .consent:has(#consent:not(:checked)) { color: #b42318; background: #fff1f0; border-color: #f5b5ae; }
.checkout .checkout-actions #consent:not(:checked) { appearance: none; -webkit-appearance: none; border: 2px solid #d92d20; border-radius: 4px; background: #fff; cursor: pointer; }
.checkout .checkout-actions #consent:not(:checked):focus { outline: 3px solid #fda29b; outline-offset: 2px; }
.checkout .checkout-actions #consent:checked { accent-color: #0071e3; }

/* Кнопка выбора ПВЗ и выбранный адрес не расширяют карточку доставки. */
.checkout .choose-point, .checkout .pickup-result { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; }
.checkout .choose-point > span:not(.pin):not(.chevron), .checkout .pickup-result > div { flex: 1 1 0; min-width: 0; }
.checkout .choose-point strong, .checkout .choose-point small, .checkout .pickup-result strong, .checkout .pickup-result p { white-space: normal; overflow-wrap: anywhere; }
.checkout .choose-point .pin, .checkout .pickup-result .pin { flex: 0 0 auto; }
.checkout .choose-point .chevron { flex: 0 0 14px; margin-left: 0; text-align: right; }
.checkout .pickup-result .text-button { min-width: 0; max-width: 100%; white-space: normal; }
