:root {
    --co-accent:#e83e4d;--co-accent-dark:#c92d3c;--co-accent-soft:#fff1f3;--co-ink:#23272f;
    --co-muted:#737b87;--co-line:#e3e6ea;--co-bg:#f7f8fa;--co-white:#fff;--co-green:#16845f;
    --co-blue:#1677e8;--co-shadow:0 16px 48px rgba(26,33,44,.07)
}
*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}
body{margin:0;color:var(--co-ink);background:var(--co-bg);font-family:Vazirmatn,Tahoma,sans-serif}
body.checkout-modal-open{overflow:hidden}button,input,textarea,select{font-family:inherit}a{color:inherit;text-decoration:none}

.checkout-header{position:sticky;z-index:900;top:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:72px;padding:0 max(24px,4vw);border-bottom:1px solid rgba(225,228,233,.9);background:rgba(255,255,255,.94);backdrop-filter:blur(18px)}
.checkout-brand{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:950}.checkout-brand span{display:grid;width:36px;height:36px;place-items:center;border-radius:50% 50% 42% 58%;color:#fff;background:linear-gradient(145deg,#f65765,var(--co-accent-dark))}
.checkout-back{justify-self:end;color:var(--co-muted);font-size:11px;font-weight:800}.checkout-back:before{margin-left:7px;color:var(--co-accent);content:"←"}
.checkout-steps{display:flex;align-items:center;gap:28px;margin:0;padding:0;list-style:none}.checkout-steps li{position:relative;display:flex;align-items:center;gap:7px;color:#9ba1aa;font-size:10px;font-weight:850;white-space:nowrap}
.checkout-steps li:not(:last-child):after{position:absolute;right:calc(100% + 8px);width:14px;height:1px;background:#dce0e5;content:""}.checkout-steps li>span{display:grid;width:25px;height:25px;place-items:center;border:1px solid #d9dde3;border-radius:50%;font-size:9px}
.checkout-steps .is-done{color:var(--co-green)}.checkout-steps .is-done>span{border-color:#bde8d8;background:#ecfaf5}.checkout-steps .is-current{color:var(--co-ink)}.checkout-steps .is-current>span{color:#fff;border-color:var(--co-accent);background:var(--co-accent);box-shadow:0 6px 14px rgba(232,62,77,.2)}

.checkout-shell{width:min(1240px,100%);margin:auto;padding:34px 24px 76px}.checkout-title{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:13px;margin-bottom:22px}.checkout-title>div>span{color:var(--co-accent);font-size:10px;font-weight:900}
.checkout-title h1{margin:5px 0 0;font-size:clamp(22px,2.4vw,30px)}.checkout-title p{max-width:690px;margin:7px 0 0;color:var(--co-muted);font-size:10px;line-height:2}
.checkout-alert{margin-bottom:18px;padding:13px 15px;border:1px solid #f3c8ce;border-radius:12px;color:#a63142;background:#fff4f5;font-size:10px;line-height:1.9}.checkout-alert.is-success{color:#176447;border-color:#cdebdc;background:#effaf5}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 338px;gap:20px;align-items:start}.checkout-main{display:grid;gap:14px}.checkout-card,.checkout-summary-card{border:1px solid var(--co-line);border-radius:14px;background:#fff;box-shadow:0 8px 28px rgba(34,40,49,.035)}.checkout-card{min-width:0;padding:22px}
.checkout-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.checkout-section-head>div{display:flex;align-items:center;gap:10px}.checkout-section-head>div>span{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;color:var(--co-accent);background:var(--co-accent-soft);font-size:10px;font-weight:900}.checkout-section-head h2{margin:0;font-size:15px}.checkout-section-head>a,.checkout-text-button{border:0;color:var(--co-accent);background:transparent;font:850 10px inherit;cursor:pointer}.checkout-section-head>small{color:var(--co-muted);font-size:9px}.checkout-stage-help{margin:-7px 0 18px;color:var(--co-muted);font-size:10px;line-height:1.9}

.checkout-lines{display:grid}.checkout-line{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:16px;align-items:start;padding:18px 0;border-bottom:1px solid var(--co-line);transition:opacity .18s}.checkout-line:first-child{padding-top:0}.checkout-line:last-child{padding-bottom:0;border-bottom:0}.checkout-line.is-busy{opacity:.55;pointer-events:none}.checkout-line--issue{margin:8px 0;padding:16px;border:1px solid #efc3a9;border-radius:13px;background:#fffaf7}
.checkout-line-image{display:grid;width:84px;height:84px;place-items:center;overflow:hidden;border-radius:12px;color:#fff;background:#f3f4f6;font-size:20px;font-weight:900}.checkout-line-image img{width:100%;height:100%;object-fit:contain}.checkout-line-info h3{margin:1px 0 7px;font-size:12px;line-height:1.9}.checkout-line-info p{margin:3px 0;color:var(--co-muted);font-size:8px}.checkout-color{display:flex;align-items:center;gap:5px}.checkout-color i{width:9px;height:9px;border:2px solid var(--co-accent);border-radius:50%}
.checkout-line-warning,.checkout-blocker{padding:10px 11px;border-radius:9px;color:#8a4b20;background:#fff1e6;font-size:9px;line-height:1.8}.checkout-line-warning{display:flex;gap:8px;margin-top:10px}.checkout-line-side{display:grid;justify-items:end;gap:14px;min-width:120px}.checkout-line-price{display:flex;align-items:baseline;gap:4px;white-space:nowrap}.checkout-line-price strong{font-size:14px}.checkout-line-price span{color:var(--co-muted);font-size:8px}.checkout-remove{border:0;color:#b13a49;background:transparent;font:800 9px inherit;cursor:pointer}.checkout-cart-card .byfa-cart-controls{margin-top:13px}

.checkout-summary{position:sticky;top:92px}.checkout-summary-card{padding:20px}.checkout-summary-card>h2{margin:0 0 18px;font-size:14px}.checkout-summary dl{display:grid;gap:12px;margin:0}.checkout-summary dl>div{display:flex;justify-content:space-between;gap:14px;color:var(--co-muted);font-size:10px}.checkout-summary dd{margin:0;color:var(--co-ink);font-weight:850}.checkout-summary dd span{font-size:8px}.checkout-summary .checkout-shipping dd{color:var(--co-green)}
.checkout-shipping-note{margin:16px 0;padding:12px;border-radius:10px;color:#6c563e;background:#fff8ed}.checkout-shipping-note b{font-size:9px}.checkout-shipping-note p{margin:5px 0 0;font-size:8px;line-height:1.9}.checkout-payable{display:grid;gap:8px;margin:17px -20px 0;padding:18px 20px;border-top:1px solid var(--co-line)}.checkout-payable>span{font-size:10px;font-weight:900}.checkout-payable small{color:var(--co-muted);font-weight:500}.checkout-payable strong{color:var(--co-ink);font-size:22px}.checkout-payable em{font-size:9px;font-style:normal}.checkout-summary-copy{margin:0 0 16px;color:var(--co-muted);font-size:9px;line-height:1.9}
.checkout-primary,.checkout-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:9px;font:900 11px inherit;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s}.checkout-primary{color:#fff;border:1px solid var(--co-accent);background:var(--co-accent);box-shadow:0 9px 20px rgba(232,62,77,.16)}.checkout-primary:hover{background:var(--co-accent-dark);transform:translateY(-1px)}.checkout-secondary{color:var(--co-ink);border:1px solid var(--co-line);background:#fff}.checkout-primary:disabled,.checkout-primary.is-disabled,.checkout-submit.is-disabled{color:#9da3ac;border-color:#eceef1;background:#eceef1;box-shadow:none;cursor:not-allowed;transform:none}.checkout-submit{width:100%;justify-content:space-between;margin-top:15px}.checkout-submit i{font-size:17px;font-style:normal}.checkout-login-note{margin:10px 2px 0;color:var(--co-muted);font-size:8px;line-height:1.8;text-align:center}

.checkout-selected-address{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center;width:100%;padding:17px;border:1px solid var(--co-blue);border-radius:12px;color:var(--co-ink);background:#fbfdff;text-align:right;cursor:pointer}.checkout-selected-address__icon{display:grid;width:44px;height:44px;place-items:center;border-radius:12px;color:var(--co-blue);background:#edf5ff;font-size:22px}.checkout-selected-address>span:nth-child(2){display:grid;gap:4px;min-width:0}.checkout-selected-address small{color:var(--co-blue);font-size:8px;font-weight:850}.checkout-selected-address strong{overflow:hidden;font-size:11px;line-height:1.9;text-overflow:ellipsis;white-space:nowrap}.checkout-selected-address em{color:var(--co-muted);font-size:8px;font-style:normal}.checkout-selected-address>b{color:var(--co-blue);font-size:9px}.checkout-selected-address--empty{border-style:dashed;border-color:#cfd5dc}
.checkout-modal{position:fixed;z-index:2000;inset:0;display:grid;place-items:center;padding:22px}.checkout-modal__backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(20,25,32,.58);backdrop-filter:blur(2px);cursor:default}.checkout-modal__panel{position:relative;display:flex;flex-direction:column;width:min(610px,100%);max-height:min(760px,calc(100vh - 44px));overflow:hidden;border:1px solid rgba(255,255,255,.75);border-radius:17px;background:#fff;box-shadow:0 28px 90px rgba(13,18,27,.24)}.checkout-modal__header,.checkout-modal__footer{flex:0 0 auto;padding:16px 19px;background:#fff}.checkout-modal__header{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--co-line)}.checkout-modal__header small{color:var(--co-accent);font-size:8px;font-weight:850}.checkout-modal__header h2{margin:3px 0 0;font-size:15px}.checkout-modal__header>button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:50%;color:#59616c;background:#f2f4f6;font-size:20px;cursor:pointer}.checkout-modal__body{min-height:0;overflow:auto;padding:16px 19px}.checkout-modal__footer{border-top:1px solid var(--co-line);box-shadow:0 -8px 22px rgba(20,25,32,.04)}.checkout-add-address{display:flex;align-items:center;gap:8px;font-size:10px}.checkout-add-address span{font-size:19px;font-weight:400}

.checkout-addresses{display:grid;gap:10px}.checkout-address-option{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:12px;align-items:start;padding:15px;border:1px solid var(--co-line);border-radius:12px;cursor:pointer;transition:border-color .16s,box-shadow .16s}.checkout-address-option:has(input:checked){border-color:var(--co-blue);box-shadow:0 0 0 3px rgba(22,119,232,.07)}.checkout-address-option>input{position:absolute;opacity:0;pointer-events:none}.checkout-address-radio{width:18px;height:18px;margin-top:2px;border:2px solid #c8ced6;border-radius:50%}.checkout-address-option:has(input:checked) .checkout-address-radio{border:5px solid var(--co-blue)}.checkout-address-content{display:grid;gap:5px;min-width:0}.checkout-address-content strong{font-size:11px}.checkout-address-content em{margin-right:5px;padding:2px 6px;border-radius:999px;color:#22705a;background:#eaf8f3;font-size:7px;font-style:normal}.checkout-address-content small{color:var(--co-muted);font-size:9px;line-height:1.8}.checkout-address-actions{display:grid;justify-items:end;gap:8px}.checkout-address-actions i{color:var(--co-green);font-size:7px;font-style:normal}.checkout-address-actions button{border:0;color:var(--co-blue);background:transparent;font:850 8px inherit;cursor:pointer}.checkout-missing-address{padding:22px;border:1px dashed #d5dae0;border-radius:12px;background:#fafbfc;text-align:center}.checkout-missing-address b{font-size:11px}.checkout-missing-address p{margin:6px 0 0;color:var(--co-muted);font-size:9px}

.checkout-address-editor__panel{width:min(900px,100%)}.checkout-address-editor__body{display:grid;grid-template-columns:minmax(350px,1.05fr) minmax(340px,.95fr);gap:18px}.checkout-map-shell{position:sticky;top:0;height:430px;overflow:hidden;border:1px solid var(--co-line);border-radius:13px;background:#eef0f2}.checkout-map{width:100%;height:100%}.checkout-map-pin{position:absolute;z-index:500;top:50%;left:50%;display:grid;justify-items:center;pointer-events:none;transform:translate(-50%,-100%);filter:drop-shadow(0 5px 5px rgba(20,25,32,.22))}.checkout-map-pin span{display:grid;width:44px;height:44px;place-items:center;border:4px solid #fff;border-radius:50% 50% 50% 8px;color:#fff;background:var(--co-accent);font-size:21px;transform:rotate(-45deg)}.checkout-map-pin b{margin-top:9px;padding:5px 9px;border-radius:999px;color:#fff;background:rgba(30,35,44,.82);font-size:8px;white-space:nowrap}.checkout-map-locate{position:absolute;z-index:600;right:12px;bottom:12px;display:flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid #fff;border-radius:9px;color:var(--co-ink);background:rgba(255,255,255,.95);box-shadow:0 5px 18px rgba(26,33,44,.12);font:850 8px inherit;cursor:pointer}.checkout-map-locate span{color:var(--co-blue);font-size:16px}.checkout-map-status{grid-column:1;padding:9px 11px;border-radius:9px;color:#496070;background:#f0f6fa;font-size:8px;line-height:1.8}.checkout-map-status.is-busy:before{display:inline-block;width:8px;height:8px;margin-left:6px;border:2px solid #a9c8df;border-top-color:var(--co-blue);border-radius:50%;content:"";animation:co-spin .8s linear infinite}.checkout-address-editor form{grid-column:2;grid-row:1/span 2}.checkout-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.checkout-form-grid label{display:grid;align-content:start;gap:6px}.checkout-form-grid label.is-wide{grid-column:1/-1}.checkout-form-grid label>span{font-size:8px;font-weight:850}.checkout-form-grid label>small{color:var(--co-muted);font-size:7px;line-height:1.7}.checkout-form-grid input,.checkout-form-grid textarea{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--co-line);border-radius:9px;color:var(--co-ink);background:#fff;font:500 9px inherit;outline:0}.checkout-form-grid textarea{min-height:76px;resize:vertical;line-height:1.9}.checkout-form-grid input:focus,.checkout-form-grid textarea:focus{border-color:var(--co-blue);box-shadow:0 0 0 3px rgba(22,119,232,.08)}.checkout-geocode-disclosure{margin:12px 0 0;color:var(--co-muted);font-size:7px;line-height:1.8}.checkout-location-warning{margin-top:10px;padding:10px 11px;border:1px solid #cce9dc;border-radius:9px;color:#176447;background:#effaf5;font-size:8px;line-height:1.9}.checkout-location-warning.is-warning{color:#8b4b20;border-color:#f0cfb8;background:#fff4eb}.checkout-editor-actions{display:flex;justify-content:flex-end;gap:8px}

.checkout-delivery-context,.checkout-estimate-card,.checkout-automatic-day{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px;padding:13px 15px;border-radius:11px;background:#f7f8fa}.checkout-delivery-context span,.checkout-estimate-card span,.checkout-automatic-day span{color:var(--co-muted);font-size:8px}.checkout-delivery-context b,.checkout-estimate-card b,.checkout-automatic-day b{font-size:10px}.checkout-estimate-card{display:grid}.checkout-estimate-card p{margin:0;color:var(--co-muted);font-size:9px;line-height:1.9}.checkout-delivery-days{display:grid;gap:16px}.checkout-delivery-choice-title,.checkout-day-panel h3{margin:0 0 10px;font-size:11px}.checkout-day-picker,.checkout-date-grid{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin}.checkout-day-picker button{display:grid;flex:0 0 112px;gap:4px;padding:12px 9px;border:1px solid var(--co-line);border-radius:10px;color:var(--co-ink);background:#fff;text-align:center;cursor:pointer}.checkout-day-picker button span,.checkout-day-picker button small{color:var(--co-muted);font-size:7px}.checkout-day-picker button b{font-size:9px}.checkout-day-picker button.is-active{border-color:var(--co-ink);box-shadow:inset 0 -3px 0 var(--co-accent)}.checkout-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.checkout-date-grid{display:flex}.checkout-date-grid .checkout-slot{flex:0 0 125px}.checkout-slot{position:relative;display:block;cursor:pointer}.checkout-slot input{position:absolute;opacity:0}.checkout-slot>span{display:grid;gap:5px;min-height:58px;padding:12px 14px;border:1px solid var(--co-line);border-radius:10px;background:#fff}.checkout-slot b{font-size:9px}.checkout-slot small{color:var(--co-muted);font-size:7px}.checkout-slot input:checked+span{border-color:var(--co-blue);background:#f4f9ff;box-shadow:0 0 0 3px rgba(22,119,232,.07)}

.checkout-review-list{display:grid}.checkout-review-list>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--co-line);font-size:9px}.checkout-review-list>div:last-child{border-bottom:0}.checkout-review-list small{color:var(--co-muted)}.checkout-review-list b{white-space:nowrap}.checkout-review-copy{margin:0;color:#4f5762;font-size:10px;line-height:2}.checkout-payment-methods{display:grid;gap:10px}.checkout-payment-method{position:relative;display:block;cursor:pointer}.checkout-payment-method input{position:absolute;opacity:0}.checkout-payment-method>span{position:relative;display:grid;gap:5px;min-height:72px;padding:15px 48px 15px 15px;border:1px solid var(--co-line);border-radius:11px}.checkout-payment-method>span:before{position:absolute;top:23px;right:17px;width:17px;height:17px;border:2px solid #c7ccd3;border-radius:50%;content:""}.checkout-payment-method input:checked+span{border-color:var(--co-blue);background:#f6faff}.checkout-payment-method input:checked+span:before{border:5px solid var(--co-blue)}.checkout-payment-method b{font-size:11px}.checkout-payment-method small{color:var(--co-muted);font-size:8px}.checkout-payment-method em{color:#a2404d;font-size:8px;font-style:normal}.checkout-payment-method.is-unavailable{opacity:.58;cursor:not-allowed}
.checkout-empty{display:grid;min-height:460px;place-items:center;align-content:center;text-align:center}.checkout-empty-icon{position:relative;display:block;width:66px;height:54px;border:3px solid #303846;border-top:0;border-radius:7px;background:#fff}.checkout-empty-icon:before{position:absolute;top:-16px;right:9px;width:42px;height:23px;border:3px solid #303846;border-bottom:0;border-radius:22px 22px 0 0;content:""}.checkout-empty-icon:after,.checkout-empty-icon i:after{position:absolute;bottom:-10px;width:9px;height:9px;border-radius:50%;background:var(--co-accent);content:""}.checkout-empty-icon:after{right:9px}.checkout-empty-icon i:after{left:9px}.checkout-empty h2{margin:22px 0 5px}.checkout-empty p{margin:0 0 18px;color:var(--co-muted);font-size:10px}

.checkout-stage-back,.checkout-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--co-line);border-radius:9px;color:#4e5662;background:#fff;font:850 9px inherit;transition:border-color .16s,color .16s,transform .16s}.checkout-stage-back{min-height:37px;padding:0 11px}.checkout-stage-back:hover,.checkout-icon-button:hover{color:var(--co-accent);border-color:#f1bdc3;transform:translateY(-1px)}.checkout-stage-back svg,.checkout-icon-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.checkout-icon-button{min-height:36px;padding:0 10px}.checkout-address-actions .checkout-icon-button{min-height:34px;padding:0 9px;color:var(--co-blue);cursor:pointer}

.checkout-form-grid select{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--co-line);border-radius:9px;color:var(--co-ink);background:#fff;font:500 9px inherit;outline:0}.checkout-form-grid select:focus{border-color:var(--co-blue);box-shadow:0 0 0 3px rgba(22,119,232,.08)}
.select2-container{position:relative;display:inline-block;width:100%!important;vertical-align:middle}.select2-hidden-accessible{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important}.select2-container .selection{display:block}.select2-container .select2-selection--single{display:block;height:44px;border:1px solid var(--co-line);border-radius:9px;background:#fff;outline:0;cursor:pointer}.select2-container--focus .select2-selection--single,.select2-container--open .select2-selection--single{border-color:var(--co-blue);box-shadow:0 0 0 3px rgba(22,119,232,.08)}.select2-selection__rendered{display:block;padding:11px 13px 8px 38px;color:var(--co-ink);font-size:9px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.select2-selection__placeholder{color:#9299a3}.select2-selection__arrow{position:absolute;top:1px;left:7px;width:28px;height:42px}.select2-selection__arrow:after{position:absolute;top:17px;left:9px;width:7px;height:7px;border-right:1.5px solid #747c87;border-bottom:1.5px solid #747c87;content:"";transform:rotate(45deg)}.select2-dropdown{z-index:2300;display:block;border:1px solid var(--co-line);border-radius:10px;background:#fff;box-shadow:0 18px 45px rgba(24,31,42,.18);overflow:hidden}.select2-search--dropdown{display:block;padding:9px}.select2-search__field{width:100%;min-height:40px;padding:8px 11px;border:1px solid var(--co-line);border-radius:8px;font:500 9px inherit;outline:0}.select2-search__field:focus{border-color:var(--co-blue)}.select2-results{display:block}.select2-results__options{max-height:230px;margin:0;padding:5px;overflow-y:auto;list-style:none}.select2-results__option{padding:10px;border-radius:7px;font-size:9px;cursor:pointer}.select2-results__option--highlighted[aria-selected]{color:#fff;background:var(--co-blue)}.select2-results__option[aria-selected=true]{color:#185f9e;background:#edf6ff}

.checkout-location-confirm{z-index:2400}.checkout-confirm-panel{display:grid;width:min(500px,100%);padding:28px;overflow:visible;text-align:center;animation:co-dialog-in .22s ease-out}.checkout-confirm-icon{display:grid;width:54px;height:54px;margin:0 auto 16px;place-items:center;border-radius:50%;color:#a65b1d;background:#fff0df;font-size:25px;font-weight:950;box-shadow:0 0 0 8px #fff8ef}.checkout-confirm-copy small{color:#a65b1d;font-size:8px;font-weight:900}.checkout-confirm-copy h2{margin:6px 0 9px;font-size:17px}.checkout-confirm-copy p{margin:0;padding:11px;border-radius:10px;color:#7b461e;background:#fff6ec;font-size:10px;font-weight:800;line-height:2}.checkout-confirm-copy>span{display:block;margin-top:10px;color:var(--co-muted);font-size:8px;line-height:1.8}.checkout-confirm-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:9px;margin-top:20px}.checkout-confirm-actions button{gap:7px}.checkout-confirm-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

.checkout-day-picker button{flex-basis:88px;border-radius:13px;padding:11px 7px;scroll-snap-align:start;transition:.18s ease}.checkout-day-picker button span,.checkout-day-picker button small{overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.checkout-day-picker button b{font-size:18px}.checkout-day-picker button.is-active{color:var(--co-accent-dark);border-color:var(--co-accent);background:var(--co-accent-soft);box-shadow:0 0 0 3px rgba(232,62,77,.07)}.checkout-day-picker button.is-active span,.checkout-day-picker button.is-active small{color:var(--co-accent-dark)}.checkout-day-picker,.checkout-date-grid{scroll-snap-type:x proximity}.checkout-date-grid .checkout-slot{flex-basis:92px;scroll-snap-align:start}.checkout-slot>span{min-height:64px;border-radius:12px;transition:.16s ease}.checkout-slot b{font-size:10px}.checkout-slot small{font-size:8px}.checkout-slot input:checked+span{border-color:var(--co-accent);background:var(--co-accent-soft);box-shadow:0 0 0 3px rgba(232,62,77,.07)}.checkout-delivery-day-card{justify-items:center;gap:3px!important;padding:11px 5px!important;text-align:center}.checkout-delivery-day-card small,.checkout-delivery-day-card em{color:var(--co-muted);font-size:8px;font-style:normal}.checkout-delivery-day-card b{font-size:18px}.checkout-delivery-selection{display:grid;gap:5px;margin-top:18px;padding:14px 15px;border:1px solid #cce8dc;border-radius:12px;color:#176447;background:#f0faf6}.checkout-delivery-selection span{font-size:8px;font-weight:850}.checkout-delivery-selection strong{font-size:10px;line-height:1.9}

.checkout-review-products{display:grid}.checkout-review-product{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:15px;align-items:center;padding:16px 0;border-bottom:1px solid var(--co-line)}.checkout-review-product:first-child{padding-top:0}.checkout-review-product:last-child{padding-bottom:0;border-bottom:0}.checkout-review-product__image{display:grid;width:88px;height:88px;place-items:center;overflow:hidden;border-radius:12px;color:#fff;background:#f3f4f6;font-size:20px;font-weight:900}.checkout-review-product__image img{width:100%;height:100%;object-fit:contain}.checkout-review-product__body h3{margin:0 0 7px;font-size:11px;line-height:1.9}.checkout-review-product__meta{display:flex;flex-wrap:wrap;gap:6px 13px;color:var(--co-muted);font-size:8px}.checkout-review-color{display:flex;align-items:center;gap:5px}.checkout-review-color i{width:8px;height:8px;border:2px solid var(--co-accent);border-radius:50%}.checkout-review-product__fulfilment{display:flex;align-items:center;gap:7px;margin-top:11px;padding:8px 10px;border-radius:9px;background:#f7f8fa;font-size:8px}.checkout-review-product__fulfilment svg{width:16px;height:16px;fill:none;stroke:var(--co-accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.checkout-review-product__fulfilment small{color:var(--co-muted)}.checkout-review-product__price{display:grid;justify-items:end;gap:5px;white-space:nowrap}.checkout-review-product__price>span{color:var(--co-muted);font-size:7px}.checkout-review-product__price strong{font-size:13px}.checkout-review-product__price small{font-size:8px}

@keyframes co-spin{to{transform:rotate(360deg)}}@keyframes co-dialog-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:980px){.checkout-layout{grid-template-columns:1fr}.checkout-summary{position:static}.checkout-header{grid-template-columns:1fr auto}.checkout-steps{display:none}.checkout-address-editor__body{grid-template-columns:1fr}.checkout-map-shell{position:relative;height:340px}.checkout-map-status{grid-column:1}.checkout-address-editor form{grid-column:1;grid-row:auto}}
@media(max-width:650px){.checkout-header{min-height:62px;padding:0 14px}.checkout-brand{font-size:16px}.checkout-brand span{width:32px;height:32px}.checkout-back{font-size:9px}.checkout-shell{padding:23px 12px 96px}.checkout-title{align-items:flex-start;flex-direction:column;margin-bottom:17px}.checkout-title h1{font-size:21px}.checkout-card,.checkout-summary-card{padding:16px;border-radius:12px}.checkout-section-head{align-items:flex-start}.checkout-line{grid-template-columns:64px minmax(0,1fr);gap:11px}.checkout-line-image{width:64px;height:64px}.checkout-line-side{grid-column:2;grid-template-columns:1fr auto;align-items:center;justify-items:start;width:100%;min-width:0}.checkout-cart-card .byfa-cable-purchase-mode__switch{grid-template-columns:1fr}.checkout-selected-address{grid-template-columns:38px minmax(0,1fr);padding:14px}.checkout-selected-address__icon{width:38px;height:38px}.checkout-selected-address>b{grid-column:2;justify-self:start}.checkout-modal{align-items:end;padding:0}.checkout-modal__panel{width:100%;max-height:92dvh;border-radius:18px 18px 0 0}.checkout-modal__header,.checkout-modal__footer{padding:14px 15px}.checkout-modal__body{padding:14px 15px}.checkout-address-option{grid-template-columns:18px minmax(0,1fr)}.checkout-address-actions{grid-column:2;grid-template-columns:1fr auto;align-items:center;justify-items:start}.checkout-map-shell{height:300px}.checkout-form-grid{grid-template-columns:1fr 1fr}.checkout-form-grid label:first-child,.checkout-form-grid label:nth-last-child(-n+2){grid-column:1/-1}.checkout-editor-actions{display:grid;grid-template-columns:.7fr 1.3fr}.checkout-editor-actions>*{width:100%}.checkout-slot-grid{grid-template-columns:1fr}.checkout-review-list>div{align-items:flex-start;flex-direction:column;gap:5px}.checkout-payable{margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px}}
@media(max-width:650px){.checkout-title{grid-template-columns:auto minmax(0,1fr);align-items:start}.checkout-stage-back{min-height:34px;padding:0 9px}.checkout-section-head .checkout-icon-button span{display:none}.checkout-confirm-panel{padding:24px 18px}.checkout-confirm-actions{grid-template-columns:1fr}.checkout-review-product{grid-template-columns:68px minmax(0,1fr);gap:11px;align-items:start}.checkout-review-product__image{width:68px;height:68px}.checkout-review-product__price{grid-column:2;justify-items:start}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* TASK-0037: cohesive checkout surface and precise location interaction */
.checkout-header{top:12px;grid-template-columns:auto minmax(0,1fr);width:min(1192px,calc(100% - 48px));min-height:74px;margin:12px auto 0;padding:0 22px;border:1px solid rgba(221,226,232,.92);border-radius:18px;background:linear-gradient(115deg,rgba(255,255,255,.98),rgba(248,251,252,.96));box-shadow:0 16px 44px rgba(31,42,55,.08);isolation:isolate}
.checkout-header:before{position:absolute;z-index:-1;inset:0;border-radius:inherit;background:radial-gradient(circle at 12% 0,rgba(22,132,95,.09),transparent 31%);content:"";pointer-events:none}.checkout-brand{padding-left:22px;border-left:1px solid var(--co-line)}.checkout-brand span{box-shadow:0 7px 18px rgba(232,62,77,.2)}.checkout-steps{justify-content:center;gap:25px}.checkout-steps .is-current>span{box-shadow:0 7px 18px rgba(232,62,77,.18)}
.checkout-shell{padding-top:26px}.checkout-title{padding:4px}.checkout-title>div>span{display:inline-flex;align-items:center;gap:6px}.checkout-title>div>span:before{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 5px var(--co-accent-soft);content:""}

.checkout-map-shell{box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 12px 34px rgba(30,41,55,.08)}.checkout-map-pin{top:50%;left:50%;transform:translate(-50%,-100%);filter:drop-shadow(0 6px 7px rgba(13,40,32,.25));transition:transform .22s cubic-bezier(.2,.8,.2,1)}.checkout-map-pin span{position:relative;display:grid;width:29px;height:29px;place-items:center;border:3px solid #fff;border-radius:50%;color:#fff;background:linear-gradient(145deg,#20bc86,#0f8c63);font-size:0;transform:none;box-shadow:0 0 0 1px rgba(10,104,74,.18)}.checkout-map-pin span:after{position:absolute;bottom:-8px;width:0;height:0;border-top:10px solid #118f66;border-right:6px solid transparent;border-left:6px solid transparent;content:""}.checkout-map-pin i{z-index:1;width:7px;height:7px;border:2px solid rgba(255,255,255,.95);border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.18)}.checkout-map-pin b{display:none}.checkout-map-shell.is-moving .checkout-map-pin{transform:translate(-50%,calc(-100% - 9px))}
.checkout-map-locate{min-height:44px;padding:0 10px 0 14px;border-color:rgba(255,255,255,.94);border-radius:12px;color:#185a49;background:rgba(255,255,255,.96);box-shadow:0 8px 26px rgba(25,53,45,.16);transition:transform .16s,box-shadow .16s}.checkout-map-locate:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(25,53,45,.2)}.checkout-locate-icon{position:relative;display:grid!important;width:28px;height:28px;place-items:center;border-radius:50%;color:#fff!important;background:linear-gradient(145deg,#25bc87,#118b64);font-size:0!important}.checkout-locate-icon:before{position:absolute;inset:-4px;border:2px solid rgba(31,174,124,.36);border-radius:50%;content:"";animation:co-location-pulse 1.8s ease-out infinite}.checkout-locate-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.checkout-location-field{position:relative;z-index:20}.checkout-location-control{position:relative;display:block!important;font-size:inherit!important;font-weight:inherit!important}.checkout-location-control>.select2-container:not(.select2){position:absolute!important;z-index:2350!important;top:calc(100% + 5px)!important;right:0!important;left:0!important;width:100%!important}.checkout-location-control>.select2-container:not(.select2) .select2-dropdown{position:static!important;width:100%!important}.checkout-location-field:has(.select2-container--open){z-index:40}
.checkout-form-grid{align-items:start}.checkout-form-row{display:grid;grid-column:1/-1;gap:11px}.checkout-address-details{grid-template-columns:.72fr .72fr 1.56fr}.checkout-recipient-group{grid-column:1/-1;margin:4px 0 0;padding:14px 0 0;border:0;border-top:1px solid var(--co-line)}.checkout-recipient-group legend{display:flex;align-items:center;gap:7px;padding:0 0 9px;color:#304d45;font-size:9px;font-weight:900}.checkout-recipient-group legend svg{width:18px;height:18px;fill:none;stroke:var(--co-green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.checkout-recipient-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-exact-address textarea{min-height:92px}
.checkout-add-address{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid #b9dfd3;border-radius:11px;color:#126b50;background:linear-gradient(135deg,#effbf7,#e5f7f0);box-shadow:0 7px 18px rgba(22,132,95,.08);font:900 9px inherit;cursor:pointer;transition:transform .16s,box-shadow .16s}.checkout-add-address:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(22,132,95,.14)}.checkout-add-address span{font-size:9px;font-weight:900}.checkout-add-address svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

.checkout-step-delivery{--co-delivery:#17885e;--co-delivery-dark:#0d6847;--co-delivery-soft:#e9f8f1}.checkout-step-delivery .checkout-title>div>span{color:var(--co-delivery)}.checkout-step-delivery .checkout-title>div>span:before{box-shadow:0 0 0 5px var(--co-delivery-soft)}.checkout-step-delivery .checkout-section-head>div>span{color:var(--co-delivery);background:var(--co-delivery-soft)}.checkout-step-delivery .checkout-steps .is-current>span{border-color:var(--co-delivery);background:linear-gradient(145deg,#23a777,var(--co-delivery-dark));box-shadow:0 7px 18px rgba(23,136,94,.22)}.checkout-step-delivery .checkout-day-picker button.is-active{color:#fff;border-color:var(--co-delivery);background:linear-gradient(145deg,#28ad7c,var(--co-delivery-dark));box-shadow:0 10px 22px rgba(23,136,94,.2)}.checkout-step-delivery .checkout-day-picker button.is-active span,.checkout-step-delivery .checkout-day-picker button.is-active small{color:rgba(255,255,255,.84)}.checkout-step-delivery .checkout-slot input:checked+span{color:var(--co-delivery-dark);border-color:#3aad82;background:linear-gradient(145deg,#effbf6,#dff5ec);box-shadow:0 0 0 3px rgba(23,136,94,.1),0 9px 22px rgba(23,136,94,.1)}.checkout-step-delivery .checkout-slot input:checked+span small{color:#367460}.checkout-step-delivery .checkout-delivery-selection{border-color:#a9ddcb;background:linear-gradient(135deg,#ecfaf4,#dff5ed);box-shadow:0 10px 28px rgba(23,136,94,.09)}.checkout-step-delivery [data-delivery-reserve]{background:linear-gradient(145deg,#25a977,var(--co-delivery-dark));box-shadow:0 9px 22px rgba(23,136,94,.2)}.checkout-step-delivery [data-delivery-reserve]:hover{box-shadow:0 12px 27px rgba(23,136,94,.27)}.checkout-step-delivery .checkout-automatic-day{border:1px solid #cce9de;background:linear-gradient(135deg,#f2fbf7,#e9f8f2)}

@keyframes co-location-pulse{0%{opacity:.85;transform:scale(.72)}70%,100%{opacity:0;transform:scale(1.38)}}
@media(max-width:980px){.checkout-header{top:8px;width:calc(100% - 24px);margin-top:8px;padding:0 16px;border-radius:15px}.checkout-brand{padding-left:0;border-left:0}.checkout-form-grid>label:first-child,.checkout-form-grid>.checkout-location-field{grid-column:auto}.checkout-address-details label,.checkout-recipient-fields label{grid-column:auto!important}}
@media(max-width:650px){.checkout-header{top:0;width:100%;margin-top:0;border-width:0 0 1px;border-radius:0;box-shadow:0 8px 24px rgba(31,42,55,.07)}.checkout-brand{font-size:15px}.checkout-shell{padding-top:20px}.checkout-form-grid>label:first-child,.checkout-form-grid>.checkout-location-field{grid-column:auto!important}.checkout-address-details{grid-template-columns:.62fr .62fr 1.5fr}.checkout-recipient-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-address-details label,.checkout-recipient-fields label{grid-column:auto!important}.checkout-form-grid input,.checkout-form-grid textarea,.checkout-form-grid select{padding-right:8px;padding-left:8px}.checkout-map-locate{right:9px;bottom:9px}}
@media(max-width:650px){.checkout-location-control>.select2-container:not(.select2){position:absolute!important;z-index:2600!important;top:calc(100% + 5px)!important;right:0!important;bottom:auto!important;left:0!important;width:100%!important}.checkout-location-control>.select2-container:not(.select2) .select2-dropdown{max-height:none;border-radius:10px;box-shadow:0 18px 45px rgba(24,31,42,.2)}}
.checkout-step-delivery [data-delivery-reserve]{border-color:var(--co-delivery-dark)}.checkout-step-delivery [data-delivery-reserve]:hover{border-color:#095c3e;background:linear-gradient(145deg,#20a173,#095c3e)}

/* TASK-0038: production checkout chrome and selection affordances */
.checkout-header{position:static;display:block;width:min(1240px,100%);min-height:0;margin:0 auto;padding:22px 24px 0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;isolation:auto}
.checkout-header:before{display:none}
.checkout-steps{display:flex;justify-content:center;max-width:900px;margin:0 auto;padding:2px 4px 8px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-padding-inline:24px;scroll-snap-type:x proximity;scrollbar-width:none}
.checkout-steps::-webkit-scrollbar{display:none}
.checkout-steps li{flex:0 0 auto;scroll-snap-align:center}
.checkout-shell{padding-top:22px}
.checkout-title{display:block;padding:0;margin-bottom:22px}
.checkout-title>div{display:grid;justify-items:start}
.checkout-title .checkout-stage-back{min-height:34px;margin-bottom:8px;padding:0 10px;color:#53606c;border-color:#dce1e6;background:#fff}
.checkout-title h1{margin-top:0}
.checkout-section-icon svg,.checkout-selected-address__icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.checkout-selected-address__icon{font-size:0}
.checkout-location-notice{z-index:2450}
.checkout-notice-panel{display:grid;width:min(460px,100%);padding:28px;overflow:visible;text-align:center;animation:co-dialog-in .22s ease-out}
.checkout-notice-icon{display:grid;width:58px;height:58px;margin:0 auto 17px;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(145deg,#f2a35b,#dc782a);box-shadow:0 11px 26px rgba(216,118,43,.2)}
.checkout-notice-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.checkout-notice-actions{grid-template-columns:1fr;width:min(220px,100%);margin-right:auto;margin-left:auto}
.checkout-notice-actions .checkout-primary{background:linear-gradient(145deg,#ef9a4d,#dd792b);box-shadow:0 8px 20px rgba(216,118,43,.18)}

.checkout-step-delivery{--co-delivery:var(--co-accent);--co-delivery-dark:var(--co-accent-dark);--co-delivery-soft:var(--co-accent-soft)}
.checkout-step-delivery .checkout-section-head>div>span{color:var(--co-delivery-dark);background:var(--co-delivery-soft)}
.checkout-step-delivery .checkout-steps .is-current>span{border-color:var(--co-accent);background:linear-gradient(145deg,#f65765,var(--co-accent-dark));box-shadow:0 7px 18px rgba(232,62,77,.2)}
.checkout-day-picker button{position:relative;padding-top:34px}
.checkout-day-picker button:before,.checkout-slot>span:before{position:absolute;top:10px;left:10px;width:16px;height:16px;border:1.5px solid #c8cdd3;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 4px #fff;content:"";transition:.16s ease}
.checkout-slot>span{position:relative;padding-left:38px}
.checkout-delivery-day-card{padding-top:34px!important;padding-left:5px!important}
.checkout-step-delivery .checkout-day-picker button.is-active{color:#9f2735;border-color:#ee8792;background:linear-gradient(145deg,#fff7f8,#ffe8eb);box-shadow:0 0 0 3px rgba(232,62,77,.08),0 9px 20px rgba(201,45,60,.1)}
.checkout-step-delivery .checkout-day-picker button.is-active span,.checkout-step-delivery .checkout-day-picker button.is-active small{color:#9f3c47}
.checkout-step-delivery .checkout-day-picker button.is-active:before,.checkout-step-delivery .checkout-slot input:checked+span:before{border-color:var(--co-accent);background:var(--co-accent);box-shadow:inset 0 0 0 4px #fff}
.checkout-step-delivery .checkout-slot input:checked+span{color:#9f2735;border-color:#ee8792;background:linear-gradient(145deg,#fff8f9,#ffe9ec);box-shadow:0 0 0 3px rgba(232,62,77,.08),0 9px 20px rgba(201,45,60,.09)}
.checkout-step-delivery .checkout-slot input:checked+span small{color:#8d5960}
.checkout-step-delivery .checkout-delivery-selection{color:#922b38;border-color:#efb1b8;background:linear-gradient(135deg,#fff7f8,#ffe9ec);box-shadow:0 10px 28px rgba(201,45,60,.08)}
.checkout-step-delivery [data-delivery-reserve]{border-color:var(--co-accent-dark);background:linear-gradient(145deg,#f65765,var(--co-accent-dark));box-shadow:0 9px 22px rgba(201,45,60,.19)}
.checkout-step-delivery [data-delivery-reserve]:hover{border-color:#b82534;background:linear-gradient(145deg,#eb4d5c,#b82534);box-shadow:0 12px 27px rgba(201,45,60,.24)}
.checkout-step-delivery .checkout-automatic-day{border:1px solid #f0c6cb;background:linear-gradient(135deg,#fffafb,#fff0f2)}

@media(max-width:980px){.checkout-header{width:min(100%,760px);margin:0 auto;padding:16px 12px 0;border:0;border-radius:0;box-shadow:none}.checkout-steps{display:flex;justify-content:flex-start;max-width:none;margin:0}.checkout-shell{padding-top:16px}}
@media(max-width:650px){.checkout-header{position:static;width:100%;padding:12px 10px 0;border:0;background:transparent;box-shadow:none}.checkout-steps{gap:22px;scroll-padding-inline:42%}.checkout-steps li{font-size:9px}.checkout-title{display:block;margin-bottom:17px}.checkout-title>div{display:grid}.checkout-title .checkout-stage-back{min-height:32px;margin-bottom:7px}.checkout-notice-panel{padding:24px 18px;border-radius:18px 18px 0 0}.checkout-day-picker button{padding-top:34px}}
