/* Scoped form corrections for checkout and customer accounts. */
.cart-page-shell *, .account-page-shell * { box-sizing: border-box; }
.cart-summary-card, .account-card, .account-form, .whatsapp-order-form { min-width: 0; }
.whatsapp-order-form select, .account-form select { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: 10px; font: inherit; }
.whatsapp-order-form input:not([type=radio]):not([type=checkbox]), .whatsapp-order-form textarea, .account-form input:not([type=radio]):not([type=checkbox]), .account-form textarea { min-width: 0; max-width: 100%; }
.whatsapp-order-form .payment-method-option, .account-form .check-row, .whatsapp-order-form .check-row { display: flex !important; align-items: flex-start; gap: 10px; line-height: 1.5; }
.whatsapp-order-form input[type=radio], .whatsapp-order-form input[type=checkbox], .account-form input[type=radio], .account-form input[type=checkbox] { flex: 0 0 18px; width: 18px !important; height: 18px; min-height: 18px; padding: 0; margin: 3px 0 0 !important; }
.payment-method-option span, .check-row span { min-width: 0; overflow-wrap: anywhere; }
.checkout-actions { position: static !important; margin: 16px 0 0 !important; padding: 0 !important; box-shadow: none !important; }
.checkout-actions button, .account-form button, .cart-list-actions button { min-height: 44px; white-space: normal; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
.checkout-actions button { width: 100%; }
.account-mini-nav, .cart-list-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-mini-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.whatsapp-order-form [hidden], #shipping-threshold-hint[hidden] { display: none !important; }
.whatsapp-order-form > *, .account-form > * { min-width: 0; }
.whatsapp-order-form input:not([type=checkbox]):not([type=radio]), .whatsapp-order-form select, .whatsapp-order-form textarea,
.account-form input:not([type=checkbox]):not([type=radio]), .account-form select, .account-form textarea { max-width: 100%; box-sizing: border-box; font-size: 16px; }
.checkout-actions button { white-space: normal; overflow-wrap: anywhere; min-height: 48px; }
.whatsapp-order-form :focus-visible, .account-form :focus-visible { outline: 3px solid #9a6d24; outline-offset: 3px; }
.order-detail-actions { flex-wrap: wrap; gap: 10px; }
@media(max-width:600px) { .account-mini-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); } .cart-list-actions { display: grid; grid-template-columns: 1fr; } .account-mini-nav a { text-align: center; overflow-wrap: anywhere; } }
