/* Keep the existing store design comfortable inside the mobile browser. */
.order-page .order-card { margin-left: auto; margin-right: auto; }
.order-page .order-intro { color: #52645a; text-align: center; margin: -12px 0 24px; }
.app-order-note { color: #285d36; background: #f1f8f3; border: 1px solid #d8e9dc; border-radius: 12px; padding: 14px; line-height: 1.6; font-size: 14px; }
.order-page .condition-grid label[hidden], #condition-search-empty[hidden] { display: none; }
.order-page .condition-grid label:has(input:checked) { border-color: #287a38; background: #edf8ef; box-shadow: inset 0 0 0 1px #287a38; }
.order-page #condition-search { margin: 10px 0 16px; width: 100%; }
.order-page .condition-search-label { margin-top: 16px; }
.order-page #condition-search-empty { color: #52645a; }
.order-page .order-form input:focus-visible, .order-page .order-form textarea:focus-visible,
.order-page button:focus-visible, .subscription-page input:focus-visible, .subscription-page textarea:focus-visible,
.subscription-page button:focus-visible { outline: 3px solid #287a38; outline-offset: 3px; }
.order-page button:disabled, .subscription-page button:disabled { opacity: .65; cursor: wait; transform: none; }
.order-page #order-message { line-height: 1.65; overflow-wrap: anywhere; }
.from-mobile-app .app-order-note { border-color: #84ba90; }
@media (max-width: 768px) {
  .order-page .order-card { width: 100%; padding: 22px 18px; }
  .order-page .order-form input:not([type="checkbox"]), .order-page .order-form textarea,
  .subscription-page input, .subscription-page textarea { font-size: 16px; min-height: 48px; }
  .order-page .condition-grid label { min-height: 52px; padding: 12px; }
  .order-page .condition-grid { max-height: 380px; overscroll-behavior: contain; }
  .order-page .cart-summary { gap: 12px; align-items: flex-start; }
  .order-page .cart-summary strong { white-space: nowrap; }
  .order-page .order-form button[type="submit"], .subscription-page button[type="submit"] { min-height: 50px; }
  .order-page .order-hero { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  .order-page *, .subscription-page * { animation: none !important; transition: none !important; }
}
