.shell:has(.checkout-express) { max-width: 520px; padding: 20px; }
.express-heading { font-size: 22px; margin: 0 0 18px; }
.checkout.checkout-express { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.checkout-express .checkout-steps,
.checkout-express .legacy-box,
.checkout-express .cart-panel { display: contents; }
.checkout-express .express-order-title { order: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 14px 16px 8px; background: #f3f4f3; font-size: 16px; }
.express-order-title small { font-size: 12px; font-weight: 400; white-space: nowrap; }
.checkout-express table { order: 2; width: 100%; margin: 0; background: #f3f4f3; table-layout: fixed; }
.checkout-express table thead { display: none; }
.checkout-express td { padding: 8px 16px; border: 0; font-size: 14px; overflow-wrap: anywhere; }
.checkout-express td:first-child { width: 42px; padding-right: 0; }
.checkout-express td:nth-child(3) { width: 105px; text-align: right; white-space: nowrap; }
.checkout-express td:last-child { width: 44px; padding: 4px; }
.checkout-express .cart-remove { width: 36px; height: 38px; border: 1px solid #d7ded9; border-radius: 4px; padding: 0; background: #fff; color: #b91c1c; font-size: 20px; cursor: pointer; }
.checkout-express .cart-remove:hover { background: #fee2e2; }
.checkout-express .cart-remove:disabled { opacity: .5; cursor: wait; }
.checkout-express .cart-totals { order: 3; padding: 8px 16px 14px; margin: 0 0 14px; background: #f3f4f3; }
.checkout-express .cart-totals p { display: flex; justify-content: space-between; gap: 16px; margin: 6px 0; font-size: 13px; }
.checkout-express .cart-totals .total { padding-top: 10px; border-top: 1px solid #dfe3df; font-size: 16px; }
.checkout-express [data-order-total] { color: #078538; }
.checkout-express .legacy-step { order: 4; border: 0; border-top: 1px solid #e0e4e0; padding: 16px 0; margin: 0; }
.checkout-express .legacy-step > :not(summary) { margin-left: 0; margin-right: 0; }
.checkout-express .legacy-step summary { list-style: none; padding: 0; margin: 0 0 14px; pointer-events: none; }
.checkout-express .legacy-step summary::-webkit-details-marker { display: none; }
.checkout-express .step-title { font-size: 16px; font-weight: 700; text-transform: none; }
.checkout-express .step-button { display: none; }
.checkout-express .checkout-login-call { background: none; border: 0; padding: 0; margin: 0 0 12px; font-size: 12px; color: #57645d; }
.checkout-express .fields { display: flex; flex-direction: column; gap: 12px; }
.checkout-express label { margin: 0; font-size: 13px; color: #42554a; }
.checkout-express input:not([type="radio"]):not([type="checkbox"]),
.checkout-express select,
.checkout-express textarea { display: block; width: 100%; min-width: 0; min-height: 42px; box-sizing: border-box; margin: 6px 0 0; padding: 10px 12px; border: 1px solid #cfd8d1; border-radius: 6px; background: #fff; font-size: 14px; }
.checkout-express input:focus, .checkout-express textarea:focus { outline: 2px solid #078538; outline-offset: 1px; }
.checkout-express .delivery-choice { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.checkout-express .choice-card { display: flex; align-items: center; gap: 10px; border: 0; padding: 0; background: none; min-height: 30px; }
.checkout-express .choice-card:has(input:checked) { border: 0; background: none; box-shadow: none; }
.checkout-express .choice-card strong { font-size: 14px; font-weight: 400; }
.checkout-express input[type="radio"] { accent-color: #078538; margin: 0; }
.checkout-express .delivery-panel { padding: 0; background: none; border: 0; }
.checkout-express .express-address { margin: 12px 0 0; }
.checkout-express .express-address summary { display: list-item; list-style: disclosure-closed; pointer-events: auto; cursor: pointer; font-size: 13px; padding: 8px 0; }
.checkout-express .express-address[open] summary { list-style: disclosure-open; }
.checkout-express .address-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 8px; }
.checkout-express .wide-field { grid-column: 1 / -1; }
.checkout-express .auto-region { border: 0; background: #eff8f1; padding: 10px; margin: 12px 0 0; font-size: 12px; }
.checkout-express .auto-region strong { display: block; margin-top: 4px; font-size: 13px; }
.checkout-express .observacoes-link { order: 5; margin: 0; padding: 16px 0; text-decoration: none; border-top: 1px solid #e0e4e0; font-size: 16px; font-weight: 700; }
.checkout-express .observacoes-link span { font-size: 12px; font-weight: 400; }
.checkout-express textarea { resize: vertical; min-height: 82px; font-weight: 400; }
.checkout-express .legacy-step.checkout-customer { order: 6; padding: 16px 0; margin: 0; }
.checkout-express .checkout-payment-note { order: 7; display: grid; grid-template-columns: 1fr auto; gap: 8px; border: 0; border-top: 1px solid #e0e4e0; border-radius: 0; padding: 16px 0; background: none; color: #25392d; }
.checkout-express .checkout-payment-note > span { grid-column: 1 / -1; font-size: 16px; font-weight: 700; }
.checkout-express .checkout-payment-note > strong { font-size: 14px; }
.checkout-express .checkout-payment-note > small { grid-column: 1 / -1; font-size: 12px; }
.checkout-express .finish-order { order: 8; display: flex; align-items: center; justify-content: center; gap: 12px; height: auto; min-height: 48px; padding: 12px; border: 0; border-radius: 6px; background: #078538; color: #fff; font-size: 14px; }
.checkout-express .finish-order:hover { background: #066b2e; }
.checkout-express .finish-order:disabled { opacity: .5; cursor: not-allowed; }
.checkout-express .finish-order strong, .checkout-express .finish-order b { padding: 0; font-size: 14px; }
.checkout-express .checkout-terms { order: 9; border: 0; padding: 12px 0; font-size: 11px; color: #68726b; }
.checkout-express [hidden] { display: none !important; }
@media (max-width: 420px) {
  .shell:has(.checkout-express) { padding: 16px 12px; }
  .checkout-express td { padding-left: 10px; padding-right: 10px; }
  .checkout-express td:nth-child(3) { width: 85px; }
}
@media (min-width: 900px) {
  body:has(.checkout-express) .topbar { max-width: 1040px; }
  .shell:has(.checkout-express) { max-width: 1040px; padding: 28px 32px; }
  .express-heading { margin-bottom: 24px; font-size: 26px; }
  .checkout.checkout-express { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: start; }
  .checkout-express .checkout-steps { display: block; grid-column: 1; grid-row: 1; }
  .checkout-express .legacy-box { display: block; border: 0; background: none; }
  .checkout-express .legacy-step { padding-top: 0; padding-bottom: 24px; margin-bottom: 24px; }
  .checkout-express .legacy-step:first-child { border-top: 0; }
  .checkout-express .legacy-step + .legacy-step { padding-top: 20px; }
  .checkout-express .cart-panel { display: block; grid-column: 2; grid-row: 1; border: 0; padding: 0; background: none; min-width: 0; }
  .checkout-express .observacoes-link, .checkout-express .checkout-payment-note { display: block; width: 100%; }
  .checkout-express .checkout-payment-note { display: grid; }
  .checkout-express .finish-order { width: 100%; }
}
