#ktt-customer-checkout .field input:invalid:not([aria-invalid="true"]):not(:user-invalid){border-color:var(--line)}
#ktt-customer-checkout [aria-invalid="true"]{border-color:#b52658;outline-color:#b52658}
#ktt-customer-checkout .checkout-field-error{display:block;color:#a5204c;font-size:.88rem;font-weight:700;margin-top:6px}
#ktt-customer-checkout .checkout-field-error[hidden]{display:none}
#ktt-customer-checkout .customer-terms{align-items:flex-start;gap:10px;margin-top:18px}
#ktt-customer-checkout .customer-terms input{flex-shrink:0;margin-top:4px}
#ktt-customer-checkout .customer-terms a{text-decoration:underline;text-underline-offset:3px}
#ktt-customer-checkout [aria-busy="true"]{cursor:progress}
#customer-checkout-feedback:focus{outline:2px solid #0b3549;outline-offset:3px}
#ktt-customer-checkout .delivery-option input[type="radio"]{display:block;position:static;opacity:1;appearance:auto;flex:0 0 auto;width:20px;height:20px;accent-color:var(--pink)}
@media(max-width:400px){#ktt-customer-checkout [data-customer-validate]{white-space:normal;line-height:1.35}}

/* Presentation only: all four steps belong to the same native checkout form. */
#ktt-customer-checkout.checkout-wizard{display:block;max-width:980px;margin:0 auto 48px}
.checkout-wizard .checkout-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0 0 28px}
.checkout-steps button{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:14px;background:#f5f8fc;color:var(--navy);padding:13px 8px;font:inherit;font-size:15px;font-weight:800;min-height:52px;cursor:pointer}
.checkout-steps button b{display:grid;place-items:center;border-radius:50%;background:#e4ebf3;width:27px;height:27px;flex:none}
.checkout-steps button[aria-current=step]{border-color:#e0007c;background:#fff0f8;color:#9f0057}
.checkout-steps button[aria-current=step] b{background:#e0007c;color:white}
.checkout-steps button:disabled{cursor:default;color:#687681}
.checkout-wizard [hidden]{display:none!important}
.checkout-wizard .checkout-step>h2{font-size:28px;scroll-margin-top:20px;margin:0 0 20px}
.checkout-wizard .panel{margin-bottom:16px;padding:24px}
.checkout-wizard .panel>h3{margin:0 0 18px;font-size:20px}
.checkout-step-navigation{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}
.checkout-step-navigation .button{min-width:135px;min-height:48px}
.checkout-step-navigation .secondary{margin-right:auto}
.checkout-wizard #checkout-step-4{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.checkout-wizard #checkout-step-4>h2{grid-column:1/-1;margin-bottom:0}
.checkout-final-details{grid-column:1;grid-row:2}
.checkout-final-details>div+div{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}
.checkout-final-details h3{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px;font-size:18px}
.checkout-final-details p{margin:0;white-space:pre-line;overflow-wrap:anywhere;font-size:15px;line-height:1.6}
.checkout-edit{padding:8px;border:0;background:transparent;color:#af0064;text-decoration:underline;font:inherit;font-size:14px;cursor:pointer}
.checkout-wizard #ktt-customer-review{grid-column:2;grid-row:2 / 4;position:static;min-width:0}
.checkout-back-final{grid-column:1;justify-self:start}
.checkout-wizard .field textarea{padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit;resize:vertical;width:100%}
.checkout-wizard :is(input,select,textarea,button,a):focus-visible{outline:3px solid #0094b4;outline-offset:3px}
@media(max-width:600px){
 .checkout-wizard .checkout-steps{gap:4px;margin-bottom:22px}
 .checkout-steps button{flex-direction:column;gap:5px;padding:8px 2px;font-size:11px;min-height:65px;border-radius:10px}
 .checkout-steps button b{width:25px;height:25px;font-size:13px}
 .checkout-wizard .checkout-step>h2{font-size:24px;margin-bottom:16px}
 .checkout-wizard .panel{padding:18px 14px;border-radius:16px}
 .checkout-wizard #checkout-step-4{display:block}
 .checkout-wizard #ktt-customer-review{margin-top:18px}
 .checkout-step-navigation .button{min-width:0;flex:1}
 .checkout-wizard .fields-grid{gap:14px}
 .checkout-wizard input,.checkout-wizard select,.checkout-wizard textarea{font-size:16px}
}
@media(max-width:600px){.checkout-title{font-size:clamp(25px,7.2vw,32px);line-height:1.18;margin-bottom:24px}.checkout-title em{display:none}.checkout-steps button:disabled{opacity:.65}}
.ktt-delivery-tiles{border:0;padding:0;margin:0 0 18px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.ktt-delivery-tiles legend{font-weight:800;font-size:18px;margin-bottom:14px}.ktt-delivery-tile{position:relative;cursor:pointer;min-width:0}.ktt-delivery-tile>input{position:absolute;top:10px;right:10px;width:17px;height:17px;accent-color:#e60079;z-index:1}.ktt-delivery-tile>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:144px;padding:20px 10px 12px;border:2px solid #dfe8ee;border-radius:15px;text-align:center;background:#fff}.ktt-delivery-tile img{width:100%;max-width:110px;height:40px;object-fit:contain}.ktt-delivery-tile .icon{height:40px;width:40px}.ktt-delivery-tile b{font-size:15px;line-height:1.25}.ktt-delivery-tile small{font-size:12px;line-height:1.3}.ktt-delivery-tile>input:checked+span{border-color:#df0076;background:linear-gradient(135deg,#fff0f7,#effbff)}.ktt-delivery-tile>input:focus-visible+span{outline:3px solid #0094b4;outline-offset:2px}.checkout-wizard.is-enhanced .ktt-delivery-select{display:none}.checkout-wizard [data-pickup-payment][hidden]{display:none!important}.checkout-wizard .delivery-option:has(input:checked){border-color:#df0076;background:#fff3f9}@media(max-width:760px){.ktt-delivery-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ktt-delivery-tile>span{min-height:120px;padding:18px 8px 10px}.ktt-delivery-choice.is-local-pickup{grid-column:1/-1}.ktt-delivery-choice.is-local-pickup .ktt-delivery-tile>span{min-height:82px;display:grid;grid-template-columns:32px 1fr;gap:4px 10px;text-align:left}.ktt-delivery-choice.is-local-pickup .ktt-delivery-tile .icon{grid-row:1/3;width:28px;height:28px}.ktt-delivery-choice.is-local-pickup .ktt-delivery-tile small{grid-column:2}.ktt-delivery-tile img{height:34px;max-width:105px}}

/* Locker selection uses the existing official Furgonetka map and session fields. */
.ktt-delivery-choice{min-width:0;align-self:start}
.ktt-delivery-choice .ktt-delivery-tile{display:block}
.checkout-wizard.is-enhanced #ktt-locker-fields{margin-top:10px;min-width:0;padding:0;border-radius:12px}
.checkout-wizard.is-enhanced #select-point-container{margin:0}
.checkout-wizard.is-enhanced #selected-point,
.checkout-wizard.is-enhanced #ktt-locker-fields>p.muted{display:none}
.checkout-wizard .ktt-locker-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;padding:12px 10px;border:2px solid #c70069;border-radius:12px;background:#c70069;color:#fff!important;font-size:16px;font-weight:800;line-height:1.3;text-align:center;text-decoration:none!important;box-sizing:border-box;cursor:pointer}
.checkout-wizard .ktt-locker-button:hover{background:#ad005c;border-color:#ad005c}
.checkout-wizard .ktt-locker-button:focus-visible{outline:3px solid #0b3549;outline-offset:3px}
.checkout-wizard .ktt-locker-button svg{width:20px;height:20px;flex:0 0 20px}
.checkout-wizard .ktt-locker-button[aria-disabled=true]{opacity:.7;cursor:progress}
.checkout-wizard .ktt-locker-help{font-size:13px;line-height:1.45;margin:8px 2px 0;color:#435965}
.checkout-wizard .ktt-locker-confirmation{display:flex;flex-direction:column;gap:5px;background:#edf9f0;border:1px solid #88c99a;border-radius:10px;color:#1a6132;padding:10px;margin-bottom:8px;line-height:1.4;font-size:13px;overflow-wrap:anywhere}
.checkout-wizard .ktt-locker-confirmation strong{font-size:15px}
.checkout-wizard #ktt-locker-fields.has-error{outline:2px solid #b52658;outline-offset:5px;background:#fff4f7}
@media(max-width:760px){.checkout-wizard.is-enhanced .ktt-delivery-choice.is-selected{grid-column:1/-1}.checkout-wizard.is-enhanced .ktt-delivery-choice.is-selected:not(.is-local-pickup) .ktt-delivery-tile>span{min-height:90px;padding:12px}.checkout-wizard .ktt-locker-button{min-height:54px}.checkout-wizard .ktt-locker-help{font-size:14px}}
