[hidden] { display: none !important; }
.checkout-layout > *, .payment-panel > *, .checkout-plan-card > *,
.checkout-plan-top > *, .checkout-price-row > *, .checkout-plan-features > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.checkout-plan-top { flex-wrap: wrap; }
.checkout-plan-top > div { flex: 1 1 160px; }
.checkout-price-row { flex-wrap: wrap; }
.checkout-plan-features b { white-space: normal; text-align: right; }
.payment-panel .bank-card, .payment-panel .qr-box, .payment-panel select {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
}
.inbox-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; position: relative; min-height: 40px; }
.inbox-header-link { width: 40px; flex: 0 0 40px; justify-content: center; margin-left: auto; }
.inbox-envelope { font-family: sans-serif; font-size: 24px; line-height: 1; }
.inbox-count { background: var(--primary); color: #fff; min-width: 20px; height: 20px; border-radius: 10px; padding: 1px 4px; font-size: 11px; text-align: center; line-height: 18px; }
.inbox-header-link .inbox-count { position: absolute; right: -5px; top: -2px; }
.coupon-section, .order-section { padding: 20px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.coupon-section > label { display: block; color: var(--text); font-weight: 600; margin-bottom: 8px; }
#paymentMethodField { color: var(--text); margin-top: 20px; }
.coupon-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.coupon-controls input { flex: 1 1 160px; min-width: 0; width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font: inherit; }
.coupon-controls button, .order-actions button, .gift-actions button { white-space: normal; overflow-wrap: anywhere; }
.transaction-message { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; margin: 10px 0 0; }
.transaction-message:empty { display: none; }
.is-error { color: var(--danger) !important; }
.coupon-totals { margin: 16px 0 0; font-size: 14px; }
.coupon-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; }
.coupon-totals dt { min-width: 0; overflow-wrap: anywhere; }
.coupon-totals dd { margin: 0; flex-shrink: 0; }
.coupon-totals .net-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 700; }
.order-actions, .gift-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#orderStatus { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.inbox-page { padding: 36px 0; min-width: 0; }
.inbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.inbox-heading h1 { font-size: 30px; margin: 0; }
.inbox-filters { display: flex; gap: 20px; border-bottom: 1px solid var(--line); }
.inbox-filters button { background: transparent; color: var(--muted); border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 4px; font: inherit; cursor: pointer; }
.inbox-filters button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--primary); }
.inbox-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 16px; width: 100%; text-align: left; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 20px 8px; cursor: pointer; font: inherit; border-radius: 0; }
.inbox-row:hover, .inbox-row:focus-visible { background: var(--surface); }
.inbox-read-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 9px; background: transparent; }
.is-unread .inbox-read-dot { background: var(--primary); }
.inbox-row-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.inbox-row-main > strong { font-size: 16px; overflow-wrap: anywhere; }
.inbox-row-main > span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.inbox-row time { color: var(--muted); font-size: 12px; }
.gift-status { color: var(--redline-warning); font-size: 12px; overflow-wrap: anywhere; }
.inbox-empty { padding: 40px 0; color: var(--muted); text-align: center; }
.inbox-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 24px; }
.inbox-pagination button { width: 42px; height: 42px; padding: 0; }
.inbox-dialog { position: fixed; width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); overflow: auto; }
.inbox-dialog::backdrop { background: #000a; }
.inbox-dialog h2 { font-size: 22px; padding-right: 42px; overflow-wrap: anywhere; margin: 0 0 12px; }
.inbox-dialog time { font-size: 13px; color: var(--muted); }
.inbox-close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; padding: 0; font-size: 24px; }
.inbox-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 24px 0; line-height: 1.8; }
.inbox-gift:not(:empty) { padding: 20px 0 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.inbox-gift h3 { font-size: 18px; margin: 0 0 8px; }
.inbox-gift p { font-size: 14px; color: var(--muted); }
.gift-code { display: block; padding: 12px 0; font-size: 18px; overflow-wrap: anywhere; }
.selected-coupon-banner { border-left: 3px solid var(--primary); padding: 12px 16px; color: var(--text); background: var(--surface); overflow-wrap: anywhere; font-size: 14px; }
.selected-coupon-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
@media (min-width: 901px) { [data-menu-panel] .inbox-link { display: none; } }
@media (max-width: 600px) {
  .inbox-row { grid-template-columns: 7px minmax(0, 1fr); gap: 10px; padding: 16px 0; }
  .inbox-row time { grid-column: 2; }
  .inbox-heading h1 { font-size: 26px; }
  .inbox-dialog { padding: 20px; }
  .coupon-controls input { flex-basis: 100%; }
  .order-actions > button { flex: 1 1 140px; }
}
