/* Website checkout only. Catalog, native apps and review/support pages are unchanged. */
.storefront-polished #accountDialog { width: min(880px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: 22px; color: #18382b; }
.storefront-polished #accountDialog [hidden], .storefront-polished #cartDrawer [hidden] { display: none !important; }
.storefront-polished #accountDialog .checkout-shell { display: block; min-height: 0; }
.storefront-polished #accountDialog .checkout-intro { display: grid; min-height: 0; grid-template-columns: 92px 1fr; column-gap: 22px; padding: 28px 68px 28px 32px; background: #f0f7f1; color: #163e29; border-bottom: 1px solid #dce8de; }
.storefront-polished #accountDialog .checkout-intro > img { grid-row: 1 / 4; width: 92px; height: 70px; margin: 0; align-self: center; }
.storefront-polished #accountDialog .checkout-intro .kicker { color: #087440; font-size: 10px; margin: 0; }
.storefront-polished #accountDialog .checkout-intro h2 { font-size: clamp(23px, 3vw, 28px); letter-spacing: -.8px; margin: 6px 0; line-height: 1.2; }
.storefront-polished #accountDialog .checkout-intro > p:not(.kicker) { font-size: 14px; color: #53685b; line-height: 1.5; margin: 0; }
.storefront-polished #accountDialog .checkout-forms { padding: 28px 32px 32px; gap: 26px; }
.storefront-polished #accountDialog .form-title { margin-bottom: 20px; }
.storefront-polished #accountDialog .form-title h3 { font-size: 22px; line-height: 1.3; }
.storefront-polished #accountDialog .form-title .kicker { font-size: 10px; }
.storefront-polished #accountDialog label, .storefront-polished #accountDialog legend { font-size: 14px; line-height: 1.5; }
.storefront-polished #accountDialog :is(input:not([type='radio']):not([type='checkbox']), select, textarea) { font-size: 16px; min-height: 48px; border-radius: 10px; }
.storefront-polished #accountDialog .phone-field { border-radius: 10px; overflow: hidden; }
.storefront-polished #accountDialog .phone-field input { min-width: 0; }
.storefront-polished #accountDialog .phone-field b { font-size: 15px; }
.storefront-polished #accountDialog .button { min-height: 46px; font-size: 14px; border-radius: 10px; }
.storefront-polished #accountDialog .form-actions { display: block; }
.storefront-polished #accountDialog .form-status { font-size: 14px; line-height: 1.6; }
.storefront-polished #accountDialog .form-status:empty { display: none; }
.storefront-polished #accountDialog .account-signed-in { gap: 12px; padding: 16px; border-radius: 12px; }
.storefront-polished #accountDialog .account-signed-in strong { font-size: 16px; }
.storefront-polished #accountDialog .account-signed-in small { font-size: 13px; overflow-wrap: anywhere; }
.storefront-polished #accountDialog .checkout-auth-modes { display: flex; padding: 4px; gap: 4px; border-radius: 12px; background: #eff3ef; }
.storefront-polished #accountDialog .checkout-auth-modes button { flex: 1; min-height: 44px; border: 0; background: transparent; border-radius: 9px; color: #526357; font-size: 15px; font-weight: 700; }
.storefront-polished #accountDialog .checkout-auth-modes button[aria-pressed='true'] { color: #076b3c; background: white; box-shadow: 0 2px 6px #173c2312; }
.storefront-polished #accountDialog .checkout-order-type { padding: 14px 16px; border-radius: 12px; }
.storefront-polished #accountDialog .checkout-order-type small { font-size: 12px; line-height: 1.5; }
.storefront-polished #accountDialog .checkout-address-select { display: none; }
.storefront-polished #accountDialog .checkout-address-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.storefront-polished #accountDialog .checkout-address-option { padding: 16px; border-radius: 12px; min-width: 0; }
.storefront-polished #accountDialog .checkout-address-option strong { font-size: 15px; }
.storefront-polished #accountDialog .checkout-address-option small { font-size: 13px; line-height: 1.5; }
.storefront-polished #accountDialog :is(.checkout-address-help, .checkout-empty-address, .checkout-delivery-quote) strong { font-size: 15px; }
.storefront-polished #accountDialog :is(.checkout-address-help, .checkout-empty-address, .checkout-delivery-quote) small { font-size: 13px; line-height: 1.5; }
.storefront-polished #accountDialog :is(.checkout-new-address-button, .checkout-back-addresses, .checkout-place-presets button, .checkout-current-location) { min-height: 44px; font-size: 14px; }
.storefront-polished #accountDialog .checkout-payment-card { min-height: 84px; padding: 16px; border-radius: 12px; }
.storefront-polished #accountDialog .checkout-payment-card strong { font-size: 16px; }
.storefront-polished #accountDialog .checkout-payment-card small { font-size: 13px; line-height: 1.5; }
.storefront-polished #accountDialog .checkout-review { padding: 22px; margin-top: 6px; border: 1px solid #d8e5da; border-radius: 16px; background: #f8faf7; }
.storefront-polished #accountDialog .checkout-review-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.storefront-polished #accountDialog .checkout-review-heading h3 { margin: 4px 0 0; font-size: 22px; }
.storefront-polished #accountDialog .checkout-review-heading .kicker { margin: 0; font-size: 10px; }
.storefront-polished #accountDialog .checkout-edit-basket { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #cfddd2; border-radius: 9px; background: white; color: #0b6b3a; font-size: 14px; font-weight: 700; white-space: nowrap; }
.storefront-polished #accountDialog .checkout-edit-basket svg { width: 16px; }
.storefront-polished #accountDialog .checkout-review-items { max-height: 280px; overflow-y: auto; }
.storefront-polished #accountDialog .checkout-review-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e1e9e0; }
.storefront-polished #accountDialog .checkout-review-item img { width: 52px; height: 60px; object-fit: contain; border: 1px solid #e2e9e0; border-radius: 8px; background: #fff; }
.storefront-polished #accountDialog .checkout-review-item strong { display: block; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.storefront-polished #accountDialog .checkout-review-item small { display: block; font-size: 13px; color: #637465; margin-top: 6px; }
.storefront-polished #accountDialog .checkout-review-item b { font-size: 16px; font-variant-numeric: tabular-nums; }
.storefront-polished #accountDialog .checkout-review-totals { display: grid; gap: 12px; padding-top: 18px; font-size: 14px; }
.storefront-polished #accountDialog .checkout-review-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.storefront-polished #accountDialog .checkout-review-totals strong { text-align: right; font-variant-numeric: tabular-nums; }
.storefront-polished #accountDialog .checkout-review-total { border-top: 1px solid #d8e5da; padding-top: 16px; font-size: 18px; font-weight: 700; }
.storefront-polished #accountDialog .checkout-review-total strong { font-size: 28px; letter-spacing: -.6px; }
.storefront-polished #accountDialog #checkoutReviewNote { font-size: 12px; line-height: 1.6; color: #576c5d; margin: 0; }
.storefront-polished #accountDialog #checkoutSubmitButton { min-height: 56px; font-size: 16px; }
.storefront-polished #accountDialog .checkout-success-summary strong { font-size: 18px; overflow-wrap: anywhere; }
.storefront-polished #accountDialog .checkout-success-summary small { font-size: 13px; }
.storefront-polished #accountDialog :focus-visible, .storefront-polished #cartDrawer :focus-visible { outline: 3px solid #118449; outline-offset: 3px; }
.storefront-polished #cartDrawer { grid-template-columns: minmax(0, 1fr) min(520px, 100%); }
.storefront-polished #cartDrawer .cart-panel { grid-column: 2; width: 100%; padding: 24px; gap: 18px; }
.storefront-polished #cartDrawer .drawer-header { padding: 0 0 18px; }
.storefront-polished #cartDrawer .cart-delivery { margin: 0; }
.storefront-polished #cartDrawer .cart-items { padding: 0; }
.storefront-polished #cartDrawer .cart-summary { padding: 16px 0 0; }
.storefront-polished #cartDrawer .drawer-header h2 { font-size: 26px; }
.storefront-polished #cartDrawer .cart-line { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
.storefront-polished #cartDrawer .cart-thumb { width: 76px; height: 90px; grid-row: 1 / 3; }
.storefront-polished #cartDrawer .cart-line h3 { font-size: 16px; line-height: 1.5; margin-bottom: 5px; }
.storefront-polished #cartDrawer .cart-line p { font-size: 13px; line-height: 1.5; margin: 0 0 6px; }
.storefront-polished #cartDrawer .cart-line-total { font-size: 20px; font-variant-numeric: tabular-nums; }
.storefront-polished #cartDrawer .cart-remove { border: 0; background: none; color: #657167; text-decoration: underline; font-size: 13px; margin-left: 12px; min-height: 36px; padding: 4px; }
.storefront-polished #cartDrawer .qty-controls { grid-column: 2; justify-self: start; gap: 0; border: 1px solid #ccddd0; border-radius: 10px; overflow: hidden; }
.storefront-polished #cartDrawer .qty-controls button { width: 44px; height: 42px; border: 0; font-size: 22px; background: #f4f8f3; }
.storefront-polished #cartDrawer .qty-controls strong { min-width: 44px; text-align: center; font-size: 16px; }
.storefront-polished #cartDrawer .cart-summary { font-size: 14px; gap: 12px; }
.storefront-polished #cartDrawer .cart-total { font-size: 18px; }
.storefront-polished #cartDrawer .cart-total strong { font-size: 26px; }
.storefront-polished #cartDrawer .cart-fee-note { font-size: 12px; line-height: 1.5; color: #637466; margin: 0; }
.storefront-polished #cartDrawer .cart-summary > button { min-height: 52px; font-size: 16px; }
.storefront-polished #cartDrawer .cart-delivery strong { font-size: 14px; }
.storefront-polished #cartDrawer .cart-delivery small { font-size: 12px; line-height: 1.5; }
.storefront-polished :is(#accountDialog, #cartDrawer) button:disabled { cursor: not-allowed; opacity: .55; }
@media (max-width: 600px) {
  .storefront-polished #accountDialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .storefront-polished #accountDialog .checkout-intro { grid-template-columns: 1fr; padding: 24px 54px 22px 20px; }
  .storefront-polished #accountDialog .checkout-intro > img { display: none; }
  .storefront-polished #accountDialog .checkout-intro h2 { font-size: 24px; }
  .storefront-polished #accountDialog .checkout-forms { padding: 22px 18px max(24px, env(safe-area-inset-bottom)); }
  .storefront-polished #accountDialog .form-title h3 { font-size: 21px; }
  .storefront-polished #accountDialog .two-col, .storefront-polished #accountDialog .checkout-address-options { grid-template-columns: 1fr; }
  .storefront-polished #accountDialog .account-signed-in { grid-template-columns: 36px minmax(0, 1fr); }
  .storefront-polished #accountDialog .account-avatar-small { display: grid; width: 36px; height: 36px; }
  .storefront-polished #accountDialog .account-signed-in > div { min-width: 0; }
  .storefront-polished #accountDialog .account-signed-in > a { grid-column: 1 / -1; }
  .storefront-polished #accountDialog .checkout-review { padding: 16px; }
  .storefront-polished #accountDialog .checkout-review-item { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .storefront-polished #accountDialog .checkout-review-item img { width: 42px; height: 52px; grid-row: 1 / 3; }
  .storefront-polished #accountDialog .checkout-review-item b { grid-column: 2; }
  .storefront-polished #accountDialog .checkout-review-item strong { font-size: 15px; }
  .storefront-polished #accountDialog .checkout-review-total strong { font-size: 26px; }
  .storefront-polished #cartDrawer .cart-panel { padding: 20px 18px max(18px, env(safe-area-inset-bottom)); gap: 14px; }
  .storefront-polished #cartDrawer .cart-line { grid-template-columns: 64px minmax(0, 1fr); }
  .storefront-polished #cartDrawer .cart-thumb { width: 64px; height: 78px; }
}
