/* One sequence: courier and destination, recipient, review, payment.
   Native vendor inputs and WooCommerce AJAX fragments remain the source of truth. */
body.secret-cc-commerce.woocommerce-checkout form.secret-cc-courier-first{grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:24px;align-items:start}
.secret-cc-courier-first #secret-cc-checkout-flow{grid-column:1;grid-row:1;border:1px solid var(--secret-cc-line);border-radius:18px;padding:26px;background:#fff;min-width:0}
.secret-cc-courier-first #secret-cc-checkout-summary{grid-column:2;grid-row:1/3;min-width:0;background:var(--secret-cc-soft);border:1px solid var(--secret-cc-line);border-radius:18px;padding:24px}
.secret-cc-courier-first #secret-cc-payment-slot{grid-column:1;grid-row:2;min-width:0;border:1px solid var(--secret-cc-line);border-radius:18px;background:#fff;padding:26px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #customer_details{border:0;padding:0;border-radius:0;margin:0;width:100%}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #secret-cc-delivery-methods{border:0;padding:0;margin:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review_heading{border:0;border-radius:0;margin:0 0 12px;padding:0;background:transparent;font-size:23px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review{border:0;padding:0;border-radius:0;background:transparent}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #payment{border:0;padding:0;background:transparent}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-section-heading{font-size:23px;margin-bottom:12px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-section-note{font-size:15px;line-height:1.5;color:var(--secret-cc-muted);margin:8px 0 18px}
#secret-cc-courier-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}
#secret-cc-courier-choices:has(>button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;min-height:145px;margin:0;border:1px solid #d9dde2;border-radius:12px;padding:16px 12px;background:#fff;color:var(--secret-cc-ink);text-align:left;box-shadow:none;cursor:pointer;font-family:var(--secret-cc-ui-font)}
body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice strong{font-size:19px;line-height:1.2;font-weight:700;white-space:nowrap}
body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice small{font-size:14px;line-height:1.4;color:var(--secret-cc-muted);font-weight:400}
body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice:hover:not(:disabled){border-color:var(--secret-cc-ink);background:#fafafa}
body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice[aria-pressed=true]{border-color:var(--secret-cc-ink);box-shadow:inset 0 0 0 1px var(--secret-cc-ink);background:#f6f6f5}
.secret-cc-courier-choice[aria-pressed=true]::after{content:'✓';position:absolute;right:11px;top:10px;display:grid;place-items:center;border-radius:50%;width:20px;height:20px;background:var(--secret-cc-ink);color:#fff;font-size:12px}
body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice:disabled{cursor:default;opacity:.52;background:#f6f6f6}
.secret-cc-courier-symbol{font-size:22px;line-height:1;color:var(--secret-cc-ui-accent-text,#806329);height:24px}
#secret-cc-courier-choices button:focus-visible,#secret-cc-receive-types button:focus-visible{outline:3px solid var(--secret-cc-ui-accent-text,#806329);outline-offset:3px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #secret-cc-courier-status{margin:20px 0 12px;color:var(--secret-cc-ink);font-weight:600}
#secret-cc-receive-panel{grid-column:1/-1;min-width:0;padding:4px 0 0}
#secret-cc-receive-panel[hidden],#secret-cc-availability-retry[hidden]{display:none!important}
body.secret-cc-commerce .secret-cc-receive-title{font-size:16px;font-weight:650;margin:0 0 12px}
#secret-cc-receive-types{display:flex;flex-wrap:wrap;gap:8px;margin:0}
#secret-cc-availability-status{font-size:14px;line-height:1.5;color:var(--secret-cc-muted);margin:10px 0 0}
#secret-cc-availability-status:empty{display:none}
body.secret-cc-commerce #secret-cc-availability-retry{background:none;color:var(--secret-cc-ink);text-decoration:underline;border:0;padding:8px 0;min-height:44px;font-size:15px;cursor:pointer}
body.secret-cc-commerce .select2-results__group{font-size:14px;font-weight:700;color:var(--secret-cc-ui-accent-text,#806329);padding:12px 12px 6px}
#secret-cc-receive-types[hidden]{display:none!important}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-receive-types button{flex:1;min-width:90px;min-height:46px;border:1px solid var(--secret-cc-line);border-radius:8px;padding:10px 8px;background:#fff;color:var(--secret-cc-ink);font:600 16px/1.3 var(--secret-cc-ui-font);cursor:pointer;box-shadow:none}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-receive-types button[aria-pressed=true]{color:#fff;background:var(--secret-cc-ink);border-color:var(--secret-cc-ink)}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-receive-types button:disabled{opacity:.4;cursor:default}
/* Shipping radios retain their names and native events, with the cards as their visible controls. */
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first:not(.secret-cc-has-other-courier) #shipping_method>li>input,
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first:not(.secret-cc-has-other-courier) #shipping_method>li>label{display:none!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first:not(.secret-cc-has-other-courier) #shipping_method>li{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:16px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #secret-cc-delivery-methods .secret-cc-courier-table{margin:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #shipping_method{gap:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #box_now_delivery_button{font-size:16px;margin:0 0 16px;min-height:50px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first :is(.locker-title,.locker-details,.locker-info){font-size:15px}
.secret-cc-courier-first.secret-cc-receive-buttons #billing_shipping_type_field{display:none!important}
.secret-cc-courier-first #secret-cc-locker-requirement{display:none!important}
/* No irrelevant address controls before choosing a courier, or for BOX NOW. */
body.secret-cc-commerce.woocommerce-checkout form.secret-cc-courier-pending :is(#customer_details,#secret-cc-payment-slot,#place_iframe_here,.secret-cc-courier-table){display:none!important}
body.secret-cc-commerce.woocommerce-checkout form[data-secret-cc-selected-courier=boxnow] .secret-cc-delivery-fields{display:none!important}
body.secret-cc-commerce.woocommerce-checkout form.secret-cc-speedy-destination-pending .secret-cc-delivery-fields> :not(#billing_state_field):not(#billing_city_field):not(#billing_country_field):not(#secret-cc-receive-panel),
body.secret-cc-commerce.woocommerce-checkout form.secret-cc-speedy-destination-pending #secret-cc-payment-slot{display:none!important}
body.secret-cc-commerce.woocommerce-checkout form[data-secret-cc-selected-courier=speedy][data-secret-cc-receive=office] #billing_address_2_field,
body.secret-cc-commerce.woocommerce-checkout form[data-secret-cc-selected-courier=speedy][data-secret-cc-receive=office2] #billing_address_2_field{display:none!important}
#secret-cc-address-extra{grid-column:1/-1;border-top:1px solid var(--secret-cc-line);padding-top:8px;font-size:15px}
#secret-cc-address-extra[hidden]{display:none!important}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-address-extra>h4{font-size:16px;font-weight:650;line-height:1.5;margin:0;padding:12px 0 4px}
.secret-cc-address-extra-fields{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px 12px;padding:12px 0}
#secret-cc-address-recipient{grid-column:1/-1;border-top:1px solid var(--secret-cc-line);margin-top:8px;padding-top:24px;min-width:0}
#secret-cc-address-recipient[hidden]{display:none!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first.secret-cc-recipient-before-address .secret-cc-recipient{border-top:0;padding-top:8px;margin-top:16px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first.secret-cc-recipient-before-address .secret-cc-recipient>.secret-cc-section-heading{display:none!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-address-extra-fields input.input-text{margin:0!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-address-extra-fields :is(#billing_block_field,#billing_entrance_field,#billing_floor_field,#billing_apartment_field){grid-column:span 3}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #ship-to-different-address:not(:has(input:checked)){display:none}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #billing_street_field{grid-column:span 9}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #billing_street_number_field{grid-column:span 3}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-recipient{border-top:1px solid var(--secret-cc-line);padding-top:26px;margin-top:26px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-contact-fields{padding:0;gap:16px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-delivery-fields{gap:16px 12px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .form-row label{font-size:16px}
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-courier-first :is(input.input-text,select,textarea){font-size:17px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-address-requirement{grid-column:1/-1;font-size:14px;line-height:1.5;color:var(--secret-cc-muted);padding:0;background:none;border:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .smp-checkout-places{margin-top:20px;padding:16px 0 0;border-top:1px solid var(--secret-cc-line)}
.secret-cc-courier-first .smp-checkout-places:not(:has(.smp-place-option))>h3,
.secret-cc-courier-first .smp-checkout-places:not(:has(.smp-place-option))>p{display:none}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .smp-checkout-places .smp-check{font-size:15px}
.secret-cc-order-notes{margin-top:20px;border-top:1px solid var(--secret-cc-line);padding-top:12px}
.secret-cc-order-notes>summary{cursor:pointer;font-size:15px;font-weight:600;min-height:44px;line-height:44px}
.secret-cc-order-notes[open] #order_comments_field{padding-top:10px!important}
.secret-cc-courier-first #ship-to-different-address{font-size:16px!important}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review table.shop_table{margin-bottom:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review table :is(th,td){font-size:15px;padding:14px 0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .cart_item td{font-size:14px;padding:12px 0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .cart_item td:last-child{padding-left:10px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .product-quantity{font-size:13px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #order_review .order-total :is(th,td){font-size:18px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #payment ul.payment_methods label{font-size:17px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #payment div.payment_box{font-size:15px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first #payment .woocommerce-privacy-policy-text{font-size:13px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-shipping-summary td{white-space:normal!important;max-width:180px}
@media(max-width:900px){
 body.secret-cc-commerce.woocommerce-checkout form.secret-cc-courier-first{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:16px}
 .secret-cc-courier-first :is(#secret-cc-checkout-flow,#secret-cc-payment-slot,#secret-cc-checkout-summary){padding:20px}
 body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice{padding:14px 10px}
}
@media(max-width:780px){
 body.secret-cc-commerce.woocommerce-checkout form.secret-cc-courier-first{display:flex;flex-direction:column;gap:20px}
 .secret-cc-courier-first :is(#secret-cc-checkout-flow,#secret-cc-checkout-summary,#secret-cc-payment-slot){width:100%;box-sizing:border-box;padding:20px 16px;border-radius:14px}
 #secret-cc-courier-choices{gap:7px}
 body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice{padding:13px 9px;min-height:135px}
 body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice strong{font-size:16px}
 body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice small{font-size:13px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-section-heading{font-size:21px}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-contact-fields{grid-template-columns:1fr}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-courier-first .secret-cc-contact-fields .form-row{grid-column:1/-1}
 body.secret-cc-commerce.woocommerce-checkout .secret-cc-address-extra-fields :is(#billing_block_field,#billing_entrance_field,#billing_floor_field,#billing_apartment_field){grid-column:span 6}
 body.secret-cc-commerce.woocommerce-checkout #secret-cc-receive-types button{font-size:15px;min-width:70px}
 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}
}
@media(max-width:359px){
 #secret-cc-courier-choices{grid-template-columns:1fr}
 body.secret-cc-commerce.woocommerce-checkout button.secret-cc-courier-choice{min-height:64px;display:grid;grid-template-columns:24px 1fr;gap:4px 10px;padding:12px}
 .secret-cc-courier-symbol{grid-row:1/3}
 .secret-cc-courier-choice small{grid-column:2}
}

/* Waiting sections remain readable, but cannot be edited before destination selection. */
body.secret-cc-commerce.woocommerce-checkout .secret-cc-gated{color:#777d85}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-gated :is(label,.secret-cc-section-heading){color:#777d85}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-gated :is(input.input-text,textarea,.secret-cc-phone-prefix){background:#f1f2f4;color:#7b8188;border-color:#e2e4e8;box-shadow:none}
body.secret-cc-commerce.woocommerce-checkout form.secret-cc-recipient-pending #secret-cc-payment-slot{display:none!important}
/* The summary precedes the form grid, rather than being auto-placed after payment. */
body.secret-cc-commerce.woocommerce-checkout #secret-cc-checkout-errors{width:100%;grid-column:1/-1;grid-row:1;scroll-margin-top:110px;outline:none}
#secret-cc-checkout-errors:empty{display:none}
body.secret-cc-commerce.woocommerce-checkout form.secret-cc-has-errors #secret-cc-checkout-flow{grid-row:2}
body.secret-cc-commerce.woocommerce-checkout form.secret-cc-has-errors #secret-cc-checkout-summary{grid-row:2/4}
body.secret-cc-commerce.woocommerce-checkout form.secret-cc-has-errors #secret-cc-payment-slot{grid-row:3}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-checkout-errors .woocommerce-error{margin:0;border:1px solid #bb1834;border-radius:12px;background:#fff5f6;padding:20px 24px;color:#89152a;font-size:16px;list-style:none}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-checkout-errors .woocommerce-error::before{display:none}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-checkout-errors ul{margin:8px 0 0;padding-left:20px;list-style:disc}
body.secret-cc-commerce.woocommerce-checkout #secret-cc-checkout-errors a{color:inherit;text-decoration:underline;text-underline-offset:3px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-phone-control{display:flex;align-items:stretch;min-width:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-phone-prefix{display:flex;align-items:center;flex:none;padding:0 13px;background:#f5f5f6;color:var(--secret-cc-ink);border:1px solid #d9dde2;border-right:0;border-radius:10px 0 0 10px;font-size:16px}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-phone-control input.input-text{min-width:0;flex:1;width:0;border-radius:0 10px 10px 0!important;margin:0}
body.secret-cc-commerce.woocommerce-checkout .secret-cc-field-help{display:block;margin:7px 0 0;color:var(--secret-cc-muted);font-size:13px;line-height:1.45}
body.secret-cc-commerce.woocommerce-checkout .form-row .secret-cc-field-error{display:block;margin:7px 0 0;color:#b11230;font-size:14px;font-weight:500;line-height:1.4}
body.secret-cc-commerce.woocommerce-checkout .form-row.secret-cc-field-invalid :is(input.input-text,select,textarea,.select2-selection,.secret-cc-phone-prefix){border-color:#bb1834!important;background:#fff7f8!important;box-shadow:0 0 0 1px #bb1834!important}
body.secret-cc-commerce.woocommerce-checkout .form-row.secret-cc-field-invalid>label{color:#a10f29}
body.secret-cc-commerce.woocommerce-checkout .form-row{scroll-margin-top:110px}
@media(max-width:780px){#secret-cc-checkout-errors{order:-1}body.secret-cc-commerce.woocommerce-checkout #secret-cc-checkout-errors .woocommerce-error{padding:16px;font-size:15px}}
