/* Checkout only. Shared brand tokens, native fields and validation stay in control. */
body.secret-cc-commerce.woocommerce-checkout main{max-width:1240px!important;padding:32px 24px 56px!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;align-items:center;margin:0 0 22px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro .secret-cc-back{grid-column:1/-1;font-size:14px;justify-self:start;min-height:32px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro h1{font-size:clamp(28px,3vw,36px);line-height:1.2;letter-spacing:-.8px;margin:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro p{font-size:14px;line-height:1.6;margin:0;text-align:right}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro p a{display:block;font-size:17px;text-decoration:none}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-purchase-steps{gap:24px;margin-bottom:24px;padding-bottom:18px;font-size:16px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-purchase-step{gap:9px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-purchase-steps [aria-current]{color:var(--secret-cc-ui-action)}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-purchase-steps [aria-current] b{background:var(--secret-cc-ui-action);border-color:var(--secret-cc-ui-action)}
body.secret-cc-commerce.woocommerce-checkout main :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--secret-cc-ui-action)!important;outline-offset:3px}
body.secret-cc-commerce.woocommerce-checkout main :is(a,button,summary):focus:not(:focus-visible){outline:none!important}

body.secret-cc-commerce.woocommerce-checkout form.secret-cc-courier-first{grid-template-columns:minmax(0,1.5fr) minmax(340px,1fr);gap:24px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first :is(#secret-cc-checkout-flow,#secret-cc-payment-slot,#secret-cc-checkout-summary){padding:28px;border-radius:var(--secret-cc-ui-card-radius,12px)}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #secret-cc-checkout-summary{background:var(--secret-cc-ui-soft)}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-section-heading{font-size:24px;line-height:1.3;letter-spacing:-.4px;margin:0 0 12px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-section-heading>span{width:30px;height:30px;font-size:14px;color:var(--secret-cc-ui-action);border-color:var(--secret-cc-ui-line);background:white}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-section-note{font-size:16px;line-height:1.5;margin:8px 0 20px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first .secret-cc-town-row{margin:22px 0 0!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-town-region{font-size:14px;margin-top:8px}
.secret-cc-town-region:empty{display:none}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-panel{margin:24px 0;padding-top:22px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-receive-title{font-size:17px;line-height:1.4;margin-bottom:12px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-types button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:58px;padding:12px 8px;font-size:16px;border-radius:8px;line-height:1.3}
#secret-cc-receive-types button svg{width:22px;height:22px;flex-shrink:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-types button:hover:not(:disabled):not([aria-pressed=true]){border-color:var(--secret-cc-ui-action);color:var(--secret-cc-ui-action)}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-types button[aria-pressed=true]{color:#fff;background:var(--secret-cc-ui-action);border-color:var(--secret-cc-ui-action)}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first button.secret-cc-courier-choice{min-height:80px;border-radius:10px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first button.secret-cc-courier-choice:hover:not(:disabled){border-color:var(--secret-cc-ui-action);background:#f7faf6}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first button.secret-cc-courier-choice[aria-pressed=true]{border-color:var(--secret-cc-ui-action);box-shadow:inset 0 0 0 1px var(--secret-cc-ui-action);background:#f3f8f1}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-choice[aria-pressed=true]::after{background:var(--secret-cc-ui-action)}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-symbol{color:var(--secret-cc-ui-action)}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-availability-status{font-size:14px;line-height:1.5;margin:12px 0 0}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-availability-retry{color:var(--secret-cc-ui-action);font-size:15px;text-underline-offset:4px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-courier-status{margin:16px 0;font-size:15px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .form-row label{font-size:16px;line-height:1.5;margin-bottom:7px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first :is(input.input-text,select,textarea){font-size:17px;min-height:52px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .select2-selection--single{min-height:52px;padding:11px 13px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .select2-selection__rendered{font-size:17px!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-field-help{font-size:14px}
body.secret-cc-commerce.woocommerce-checkout .form-row .optional{font-size:13px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-recipient{padding-top:24px;margin-top:24px}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-address-extra{margin-top:8px;padding-top:14px}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-address-extra>h4{font-size:16px;padding-top:0}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-address-extra .form-row label{font-size:15px}
body.secret-cc-commerce.woocommerce-checkout #box_now_delivery_button{background:var(--secret-cc-ui-action)!important}
body.secret-cc-commerce.woocommerce-checkout #box_now_delivery_button:hover{background:var(--secret-cc-ui-action-hover)!important}

body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-unavailable-couriers{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-unavailable-couriers button{align-content:start;padding:12px 0 4px}

/* The editable basket and its prices read as a single, compact summary. */
.secret-cc-review-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-review-heading #order_review_heading{font-size:23px;line-height:1.3;letter-spacing:-.4px;margin:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-review-edit{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;color:var(--secret-cc-ui-action);font-size:14px;font-weight:600;text-underline-offset:4px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review table :is(th,td){font-size:16px;line-height:1.5;padding:15px 0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .cart_item td{font-size:16px;padding:16px 0 22px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .cart_item td:last-child{font-size:17px;padding-left:14px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-review-product{gap:12px;align-items:flex-start}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-review-image{width:60px!important;height:72px!important;border-radius:8px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-review-product>span{min-width:0;overflow-wrap:anywhere;font-weight:500}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .product-quantity{font-size:14px;line-height:1.4;margin-top:6px!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .secret-cc-shipping-summary td{font-size:14px;font-weight:500;max-width:170px;color:var(--secret-cc-ui-muted)}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .order-total :is(th,td){font-size:20px;line-height:1.4;padding:20px 0 8px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-coupon{margin:20px 0 0;border-bottom:0;padding:4px 0 0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-coupon summary{min-height:48px;font-size:16px;font-weight:600}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-coupon-controls{padding:8px 0 0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-coupon-notice{margin:10px 0 0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #payment ul.payment_methods{padding:18px!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #payment div.payment_box{font-size:15px;line-height:1.6}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #payment .woocommerce-privacy-policy-text{font-size:14px;line-height:1.6}
body.secret-cc-commerce.woocommerce-checkout #place_order{font-size:18px;min-height:56px}

@media(max-width:1000px){
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first :is(#secret-cc-checkout-flow,#secret-cc-payment-slot,#secret-cc-checkout-summary){padding:22px}
 body.secret-cc-commerce.woocommerce-checkout form.secret-cc-courier-first{grid-template-columns:minmax(0,1.35fr) minmax(310px,1fr);gap:18px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-types button{flex-direction:column;gap:6px;min-height:76px}
}
@media(max-width:780px){
 body.secret-cc-commerce.woocommerce-checkout main{padding:22px 16px 40px!important}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro{display:block;margin-bottom:18px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro .secret-cc-back{display:inline-flex;align-items:center;margin-bottom:8px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro h1{font-size:28px;letter-spacing:-.6px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro p{font-size:14px;text-align:left;margin-top:10px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-checkout-intro p a{display:inline;font-size:15px;margin-left:4px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-purchase-steps{grid-template-columns:1fr .9fr 1.55fr;font-size:13px;gap:8px;padding-bottom:16px;margin-bottom:20px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-purchase-step{gap:6px;line-height:1.3}
 body.secret-cc-commerce.woocommerce-checkout form.secret-cc-courier-first{display:flex;gap:18px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first :is(#secret-cc-checkout-flow,#secret-cc-payment-slot,#secret-cc-checkout-summary){padding:20px 16px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-section-heading{font-size:22px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-section-note{font-size:15px;margin-bottom:16px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first .secret-cc-town-row{margin-top:18px!important}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-panel{margin:20px 0;padding-top:20px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-types{gap:8px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-receive-types button{font-size:14px;padding:10px 4px;min-height:76px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first :is(input.input-text,select,textarea){font-size:16px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .select2-selection__rendered{font-size:16px!important}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-location-first #secret-cc-unavailable-couriers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-review-heading #order_review_heading{font-size:22px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-review-image{width:52px!important;height:62px!important}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .cart_item td{font-size:15px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .cart_item td:last-child{font-size:16px;padding-left:10px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .order-total :is(th,td){font-size:18px}
}
@media(max-width:359px){
 body.secret-cc-commerce.woocommerce-checkout main{padding-left:12px!important;padding-right:12px!important}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first :is(#secret-cc-checkout-flow,#secret-cc-payment-slot,#secret-cc-checkout-summary){padding:18px 14px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-purchase-steps{font-size:12px;gap:6px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-purchase-step{gap:5px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-review-heading{gap:10px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-review-heading #order_review_heading{font-size:20px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-review-product{gap:8px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-review-image{width:44px!important;height:54px!important}
}
