/* Shared town -> receipt type -> carrier. Reuse the storefront's type and colors. */
.sm-location-first .sm-town-row{padding:0!important;margin:22px 0 14px!important}
.sm-location-first .sm-town-region{font-size:14px;line-height:1.5;color:var(--sm-muted);margin:8px 0 0}
body.sm-commerce .sm-location-first #sm-receive-panel{margin:22px 0 24px;padding:20px 0 0;border-top:1px solid var(--sm-line)}
.sm-location-first .sm-courier-title{margin:0 0 12px}
.sm-location-first #sm-courier-choices{display:grid;grid-template-columns:1fr!important;gap:10px;margin-top:0}
body.sm-commerce.woocommerce-checkout .sm-location-first button.sm-courier-choice{display:grid;grid-template-columns:28px 1fr;gap:5px 12px;min-height:84px;padding:17px 44px 17px 16px}
.sm-location-first .sm-courier-choice .sm-courier-symbol{grid-row:1/3;align-self:center}
body.sm-commerce.woocommerce-checkout .sm-location-first button.sm-courier-choice strong{font-size:18px;white-space:normal}
body.sm-commerce.woocommerce-checkout .sm-location-first button.sm-courier-choice small{font-size:15px;grid-column:2;line-height:1.4}
.sm-location-first .sm-courier-choice[aria-pressed=true]::after{top:calc(50% - 10px);right:15px}
.sm-location-first #sm-unavailable-couriers{display:grid;gap:0;margin-top:10px}
body.sm-commerce.woocommerce-checkout .sm-location-first #sm-unavailable-couriers button{display:grid;grid-template-columns:1fr;gap:4px;padding:12px 0;border:0;border-top:1px solid var(--sm-line);border-radius:0;background:transparent;min-height:0;opacity:1;color:#72767c;cursor:default}
.sm-location-first #sm-unavailable-couriers .sm-courier-symbol{display:none}
body.sm-commerce.woocommerce-checkout .sm-location-first #sm-unavailable-couriers button strong{font-size:15px;font-weight:600}
body.sm-commerce.woocommerce-checkout .sm-location-first #sm-unavailable-couriers button small{font-size:14px;grid-column:1;color:#72767c}
.sm-location-first [hidden],.sm-net-total{display:none!important}
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-delivery-fields>:is(#billing_state_field,#billing_city_field,#billing_shipping_type_field){display:none!important}
body.sm-commerce.woocommerce-checkout .sm-location-first[data-sm-selected-courier=pigeon]:not([data-sm-receive=address]) .sm-delivery-fields{display:none!important}
body.sm-commerce.woocommerce-checkout .sm-location-first .pe-wc-location-picker{display:none!important}
body.sm-commerce.woocommerce-checkout .sm-location-first #sm-pigeon-office_field{margin:18px 0 0!important;padding:0!important}
.sm-location-first #sm-unavailable-couriers:empty,.sm-location-first #sm-courier-status:empty{display:none}
body.sm-commerce.woocommerce-checkout .sm-location-first #sm-courier-status{font-size:15px;font-weight:500;color:var(--sm-muted);margin-top:14px}
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-town-row .select2-container{width:100%!important;max-width:100%}
body.sm-commerce .select2-dropdown{border-color:var(--sm-line);border-radius:10px;overflow:hidden;box-shadow:0 8px 24px #00000012}
body.sm-commerce .select2-results__option{font-size:16px;line-height:1.5;padding:12px}
body.sm-commerce .select2-search--dropdown{padding:10px}
body.sm-commerce .select2-search--dropdown .select2-search__field{font-size:17px;min-height:44px;border:1px solid var(--sm-line);border-radius:7px;padding:8px 10px}
body.sm-commerce .select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--sm-ink);color:white}
body.sm-commerce .sm-location-first #sm-receive-types button:disabled{opacity:1;color:#898d94;background:#f4f5f6;border-color:#e5e7eb}
@media(max-width:780px){body.sm-commerce.woocommerce-checkout .sm-location-first button.sm-courier-choice{padding:15px 40px 15px 13px;min-height:80px}body.sm-commerce.woocommerce-checkout .sm-location-first button.sm-courier-choice strong{font-size:17px}.sm-location-first .sm-town-region{font-size:13px}body.sm-commerce .select2-results__option{font-size:15px}.sm-location-first #sm-receive-types{gap:6px}body.sm-commerce.woocommerce-checkout .sm-location-first #sm-receive-types button{font-size:14px;min-height:48px;padding:10px 5px}}

.sm-location-first .sm-town-row .select2-selection__clear{float:right!important;margin:0 10px!important}

.sm-location-first:not([data-sm-selected-courier="boxnow"]) #box_now_selected_locker_details{display:none!important}

/* One read-only location summary follows the visible recipient heading. */
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location{box-sizing:border-box;width:100%;margin:0 0 24px;padding:14px 18px 18px;border:1px solid #dfe7da;border-radius:12px;background:#f5f8f2;clear:both}
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location-heading{margin:0 0 14px}
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location-heading strong{font-size:16px;font-weight:600;line-height:1.4}
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0}
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location dl>div{min-width:0;margin:0;padding:0;border:0}
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location dt{font-size:14px;line-height:1.4;font-weight:400;color:var(--sm-muted,#656b72);margin:0 0 5px}
body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location dd{font-size:17px;line-height:1.45;font-weight:600;color:var(--sm-ink,#17191b);margin:0;overflow-wrap:anywhere}
@media(max-width:520px){body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location{padding:12px 14px 16px}body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}body.sm-commerce.woocommerce-checkout .sm-location-first .sm-recipient-location dl>div:last-child{grid-column:1/-1}}

/* Store-owned Econt destination and quote controls. */
body.sm-commerce .sm-location-first[data-sm-selected-courier=econt]:not([data-sm-receive=address]) .sm-delivery-fields{display:none!important}
body.sm-commerce .sm-location-first #sm-econt-panel{margin:22px 0 0;border-top:1px solid var(--sm-line);padding-top:16px}
body.sm-commerce .sm-location-first #sm-econt-panel [role=status]:empty{display:none}
body.sm-commerce .sm-location-first #sm-econt-panel [role=status]{font-size:16px;line-height:1.5;margin:12px 0}

body.sm-commerce .sm-location-first #sm-econt-panel .form-row{float:none;width:100%;padding:0;margin:0 0 12px}
body.sm-commerce .sm-location-first #sm-econt-panel input{box-sizing:border-box;width:100%;min-height:48px}
body.sm-commerce .sm-location-first #sm-econt-quote{clear:both;padding-top:18px}
body.sm-commerce .sm-location-first #sm-econt-quote button{min-height:48px}
body.sm-commerce .sm-location-first #sm-econt-quote [role=status]{font-size:16px;line-height:1.5;margin:12px 0 0}
body.sm-commerce .sm-location-first #sm-econt-quote [role=status]:empty{display:none}

body.sm-commerce.woocommerce-checkout .sm-location-first #sm-econt-quote button{font:inherit;font-size:16px;font-weight:600;line-height:1.35;padding:12px 20px;border:1px solid var(--sm-ink,#17191b);border-radius:6px;background:var(--sm-ink,#17191b);color:#fff;cursor:pointer}
body.sm-commerce.woocommerce-checkout .sm-location-first #sm-econt-quote button:disabled{opacity:.65;cursor:wait}
body.sm-commerce.woocommerce-checkout .sm-location-first #sm-econt-quote button:focus-visible{outline:2px solid var(--sm-ink,#17191b);outline-offset:3px}

/* One shared home-address form, in the same order for every courier. */
body.sm-commerce.woocommerce-checkout .sm-location-first[data-sm-receive=address]:is([data-sm-selected-courier=speedy],[data-sm-selected-courier=econt],[data-sm-selected-courier=pigeon]) .sm-delivery-fields{display:grid!important}
body.sm-commerce.woocommerce-checkout .sm-location-first[data-sm-selected-courier=econt][data-sm-receive=address] #sm-econt-panel{display:none!important}
