/* Checkout steps and the server-confirmed order. */
.compact-customer .checkout-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 16px;
}
.compact-customer .checkout-heading h1 { margin: 0; }
.checkout-heading a, .checkout-shipping-info summary, .checkout-price-lines summary {
  color: #224b39;
  font-size: 14px;
  font-weight: 700;
}
.checkout-heading a { text-decoration: underline; text-underline-offset: 3px; }
.compact-customer .checkout-step-nav {
  gap: 4px;
  margin: 0 0 19px;
  padding: 3px;
  border-radius: 9px;
  background: #eff2ec;
}
.compact-customer .checkout-step-nav > button {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
}
.compact-customer .checkout-step-nav > button[aria-selected=true] {
  border-color: #b5c6b8;
  background: #fff;
  color: #183f32;
  box-shadow: 0 1px 3px #1a382915;
}
.compact-customer .checkout-step-nav .checkout-step-number {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background: #dce5db;
  color: #344c3d;
  font-size: 12px;
}
.compact-customer .checkout-step-nav [aria-selected=true] > .checkout-step-number {
  background: #184536;
  color: #fff;
}
.compact-customer .checkout-step-label { font-size: 14px; line-height: 1.25; }
.checkout-methods { display: grid; gap: 16px; }
.checkout-method-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.checkout-method-group legend {
  margin-bottom: 6px;
  padding: 0;
  color: #263c2e;
  font-size: 17px;
  font-weight: 750;
}
[data-checkout-choices] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 115px), 1fr));
  gap: 8px;
}
.checkout-method-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 7px 11px;
  border: 1px solid #c7cfc4;
  border-radius: 8px;
  color: #344337;
  background: #fff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
}
.checkout-method-choice input[type=radio] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: #184536;
}
.checkout-method-choice:has(:checked) {
  border-color: #37664f;
  background: #edf4ee;
  color: #153c2c;
  font-weight: 800;
}
.checkout-method-choice:focus-within { outline: 2px solid #286548; outline-offset: 2px; }
.checkout-method-choice:has(:disabled) { cursor: default; }
.compact-customer [data-payment-help] { margin: 8px 0 0; color: #515c50; font-size: 13px; }
.checkout-estimate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 15px;
  padding: 10px 13px;
  border: 1px solid #e0d5bd;
  border-radius: 8px;
  background: #fffaf0;
}
.checkout-estimate > span { color: #484031; font-size: 15px; font-weight: 700; }
.checkout-estimate strong { color: #805714; font-size: clamp(23px, 2vw, 28px); font-weight: 800; line-height: 1.25; }
.compact-customer #checkout-step-1 .checkout-step-actions {
  margin-top: 10px;
  padding: 0;
  border: 0;
}
.checkout-shipping-info, .checkout-price-lines {
  margin-top: 12px;
  border-top: 1px solid #dce2d7;
}
.checkout-shipping-info summary, .checkout-price-lines summary { padding-block: 9px; cursor: pointer; }
.compact-customer .checkout-step-actions .btn:not(.alt), .compact-customer [data-place-order] {
  min-height: 48px;
  padding: 9px 13px;
  border-radius: 8px;
  background: #184536;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}
.compact-customer .checkout-step-actions .btn:not(.alt):enabled:hover, .compact-customer [data-place-order]:enabled:hover { background: #0e3226; }
.compact-customer [data-place-order]:disabled { background: #e5e8e2; color: #424f45; opacity: 1; }
.checkout-review {
  overflow: hidden;
  border: 1px solid #d6cbb7;
  border-top: 3px solid #b18a44;
  border-radius: 10px;
  background: #fffdf8;
}
.checkout-review-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid #d7e3d7;
  background: #edf4ee;
}
.checkout-review-methods dt { color: #485c4c; font-size: 13px; font-weight: 650; }
.checkout-review-methods dd { margin: 1px 0 0; color: #183f32; font-size: 16px; font-weight: 750; }
.checkout-review-body { container-type: inline-size; padding: 14px 16px; }
.checkout-payable { margin: 0; }
.checkout-payable dt { color: #3b3529; font-size: 17px; font-weight: 750; }
.checkout-payable dd {
  margin: 2px 0;
  color: #805714;
  font-size: clamp(24px, 9.7cqi, 40px);
  line-height: 1.22;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.quote-is-expired [data-payable-total] { color: #645d50; }
.checkout-installment { margin: 4px 0; color: #4d574b; font-size: 13px; line-height: 1.4; }
.compact-customer .checkout-review .quote-expiry {
  margin: 10px 0;
  padding: 7px 10px;
  border-radius: 6px;
}
.compact-customer .checkout-review .quote-countdown-line { font-size: 13px; }
.compact-customer .checkout-review [data-quote-countdown] { font-size: 18px; line-height: 1.25; }
.compact-customer .checkout-review .quote-expiry p { margin: 0; }
.checkout-review .legal-read-button { color: #224b39; font-size: 14px; font-weight: 700; line-height: 1.4; }
.compact-customer .checkout-review .check-line { margin: 9px 0 13px; color: #424d41; font-size: 13px; line-height: 1.5; }
.compact-customer .checkout-review [data-place-order] { width: 100%; font-size: 18px; }
.checkout-price-lines .summary-lines dd { max-width: none; }
.checkout-price-lines .summary-lines > div { flex-wrap: wrap; }
.compact-customer #checkout-content .cart-summary { top: 96px; }
.compact-customer #confirmed-quote:focus { outline: none; }
#checkout-step-2 { container-type: inline-size; }
.checkout-saved-address {
  padding: 12px 16px;
  border: 1px solid #c9d8cb;
  border-radius: 9px;
  background: #eff5ef;
}
.compact-customer .checkout-saved-address .field {
  margin: 0;
  color: #244834;
  font-size: 15px;
  font-weight: 750;
}
.checkout-saved-address p {
  margin: 6px 0 0;
  color: #4f6254;
  font-size: 13px;
  line-height: 1.45;
}
.checkout-address-group {
  min-width: 0;
  margin: 20px 0 0;
  padding: 12px 16px 16px;
  border: 1px solid #d7dfd6;
  border-radius: 9px;
}
.checkout-address-group legend {
  margin-left: -5px;
  padding: 0 5px;
  color: #263c2e;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
}
.checkout-contact-fields, .checkout-street-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.checkout-street-fields { margin-top: 10px; }
.compact-customer .checkout-address-group .field {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}
.compact-customer .checkout-address-group .field small:not(.field-error) {
  margin: 0;
  color: #526054;
  font-size: 12px;
  line-height: 1.45;
}
.compact-customer .checkout-address-group .address-selector-actions button {
  min-height: 36px;
  padding: 5px 0;
  color: #224b39;
  font-size: 13px;
  font-weight: 650;
}
.compact-customer #checkout-step-2 .checkout-options { margin: 16px 0 0; }
.compact-customer #checkout-step-2 .checkout-submit {
  margin-top: 12px;
  padding-top: 0;
  border: 0;
}
@container (min-width: 560px) {
  .checkout-contact-fields { grid-template-columns: 1.12fr 1fr 1fr; }
  .checkout-address-group .address-selector-grid { grid-template-columns: 1fr 1fr 1.25fr; }
  .checkout-address-group .address-locality-field { grid-column: auto; }
  .checkout-street-fields { grid-template-columns: minmax(0, 1fr) minmax(135px, 24%); }
}
@container (max-width: 440px) {
  .checkout-saved-address, .checkout-address-group { padding-inline: 12px; }
  .checkout-address-group .address-selector-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .compact-customer .checkout-heading { margin-bottom: 12px; }
  .compact-customer .checkout-panel { padding: 12px; }
  .compact-customer .checkout-step-nav { margin-bottom: 14px; }
  .compact-customer .checkout-step-label { font-size: 13px; }
  .checkout-methods { gap: 12px; }
  .checkout-method-choice { padding: 7px 8px; gap: 6px; font-size: 15px; }
  .checkout-review-methods { padding: 9px 11px; }
  .checkout-review-body { padding: 11px; }
}
