/* Keep optional fields quiet and make the order visible before the mobile form. */
.checkout-mobile-overview { display: none; }
.mobile-checkout .checkout-optional summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; color: #17202b; font-size: 16px; font-weight: 700; }
.mobile-checkout .checkout-optional summary::-webkit-details-marker { display: none; }
.mobile-checkout .checkout-optional summary::after { content: '+'; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: #315d47; }
.mobile-checkout .checkout-optional[open] summary::after { content: '−'; }
.mobile-checkout .checkout-optional summary span { margin-left: auto; color: #726f67; font-size: 12px; font-weight: 500; }
.mobile-checkout .age-optional { max-width: 250px; margin-top: 16px; }
.mobile-checkout .checkout-contact > label:last-child { grid-column: auto; max-width: none; }
.mobile-checkout .age-optional summary { font-size: 13px; font-weight: 650; }
.mobile-checkout .age-optional label { margin-top: 12px; }
.mobile-checkout .checkout-optional-body { display: grid; gap: 10px; padding-top: 20px; }
.mobile-checkout .checkout-optional-body label[for=orderNote] { margin-top: 10px; }
.mobile-checkout .checkout-optional-body .promo-policy-note { margin: 0; }
.mobile-checkout .checkout-optional-body #promoResult:empty { display: none; }
.mobile-checkout .checkout-optional-body #promoResult { margin: 0; }
.mobile-checkout .checkout-optional-body textarea { min-height: 90px; }
.mobile-checkout .checkout-choice:has(input:focus-visible) { outline: 2px solid #315d47; outline-offset: 2px; }
.mobile-checkout #placeOrder { background: #315d47 !important; border-color: #315d47 !important; color: #fff !important; }
.mobile-checkout #placeOrder:hover { background: #244b38 !important; }
.mobile-checkout #placeOrder:disabled { background: #315d47 !important; opacity: .55; }
.mobile-checkout .checkout-complete .checkout-mobile-overview { display: none; }

@media (max-width: 850px) {
  .mobile-checkout .checkout-mobile-overview { display: flex; grid-column: 1/-1; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid #294c3b; border-radius: 14px; background: #203b30; color: #fff; }
  .mobile-checkout .checkout-mobile-overview>div { display: grid; gap: 2px; }
  .mobile-checkout .checkout-mobile-overview>div:last-child { text-align: right; }
  .mobile-checkout .checkout-mobile-overview span { font-size: 11px; color: #d2e0d5; }
  .mobile-checkout .checkout-mobile-overview strong { font-size: 16px; font-variant-numeric: tabular-nums; }
  .mobile-checkout .checkout-main { gap: 12px; }
  .mobile-checkout .checkout-section { padding: 18px 16px; }
  .mobile-checkout .page-heading { margin-bottom: 16px; }
}
