[hidden] { display: none !important; }
.last-order { margin-top: 13px; border: 1px solid #ffffff80; border-radius: 10px; background: #ffffff18; color: #fff; padding: 9px 11px; font: inherit; font-weight: 700; }
.checkout-view, .order-view { min-height: calc(100vh - 145px); padding-bottom: 24px; }
.checkout-view h1, .order-view h1 { margin: 7px 0 10px; font-size: 25px; }
.checkout-items, .order-panel { border: 1px solid var(--line); border-radius: 15px; padding: 14px; margin: 13px 0; background: #fff; }
.checkout-items > div, .order-lines > div, .order-total, .checkout-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.checkout-items span, .order-lines span { min-width: 0; overflow-wrap: anywhere; }
.checkout-form { display: grid; gap: 12px; }
.checkout-form fieldset { border: 1px solid var(--line); border-radius: 15px; padding: 14px; display: grid; gap: 13px; margin: 0; min-width: 0; }
.checkout-form legend { padding: 0 5px; font-weight: 800; font-size: 15px; }
.checkout-form label, .account-section .auth-form label { display: grid; gap: 6px; font-weight: 650; }
.checkout-form input:not([type=radio]), .checkout-form textarea, .checkout-form select, .account-section input:not([type=checkbox]), .account-section textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px; font: inherit; min-width: 0; }
.checkout-form input:focus, .checkout-form textarea:focus, .checkout-form select:focus, .account-section input:focus { outline: 2px solid #99f6e4; border-color: var(--primary); }
.checkout-form .radio-row, .account-section .check-row { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.radio-row input, .check-row input { accent-color: var(--primary); }
.coordinate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-hint { margin: 0; color: var(--muted); line-height: 1.45; font-size: 12px; }
.checkout-form .secondary-action, .account-section .secondary-action { background: var(--soft); color: var(--primary); padding: 10px 12px; justify-self: start; }
.promo-list { display: grid; gap: 5px; border-radius: 10px; background: var(--soft); padding: 10px; }
.promo-list:empty { display: none; }
.promo-list p { margin: 0; font-size: 12px; line-height: 1.4; }
.checkout-summary { border: 1px solid var(--line); border-radius: 15px; padding: 12px; }
.checkout-summary > div:last-of-type { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 12px; font-weight: 750; }
.checkout-summary small { color: var(--muted); line-height: 1.4; display: block; margin-top: 5px; }
.checkout-submit { border: 0; border-radius: 12px; background: var(--primary); color: #fff; padding: 15px; font: inherit; font-weight: 800; }
.checkout-submit:disabled { opacity: .5; }
.order-status { display: inline-block; padding: 9px 12px; border-radius: 10px; background: var(--soft); color: var(--primary); font-weight: 700; }
.order-panel > p { color: var(--muted); line-height: 1.4; }
.order-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 12px 0; padding: 7px 0; }
.order-total.final { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 12px; font-size: 16px; }
.order-events { margin: 10px 0 0; padding-left: 20px; }
.order-events li { padding: 5px 0; }
.order-events small { display: block; color: var(--muted); margin-top: 2px; }
.bank-account { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); }
.bank-account span { color: var(--muted); }
.bank-account strong { font-size: 17px; overflow-wrap: anywhere; }
.payment-qr { display: block; width: min(240px, 100%); margin: 12px auto; }
.contact-link { display: inline-block; margin-top: 10px; color: var(--primary); font-weight: 700; }
#confirmationForm { padding: 15px; border: 1px solid var(--line); border-radius: 15px; max-width: none; margin: 14px 0; }
#confirmationForm h2 { margin: 0; font-size: 16px; }
#refreshOrder { display: block; width: 100%; margin: 16px 0; }
.account-section { max-width: 440px; border: 1px solid var(--line); border-radius: 14px; margin: 13px 0; padding: 13px; }
.account-section summary { cursor: pointer; font-weight: 800; font-size: 15px; }
.account-section .auth-form { margin: 15px 0 3px; }
.address-list { display: grid; gap: 8px; margin: 15px 0; }
.address-card { border: 1px solid var(--line); border-radius: 11px; padding: 10px; display: grid; gap: 5px; }
.address-card > span, .address-card p { color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.address-card > div { display: flex; gap: 8px; }
.address-card button, .order-detail-action { border: 0; border-radius: 8px; background: var(--soft); color: var(--primary); font-weight: 700; padding: 8px 10px; }
.profile-status { max-width: 440px; border-radius: 10px; background: var(--soft); color: var(--primary); padding: 11px; }
.profile-status.error { background: #fef2f2; color: #991b1b; }
.order-detail-action { justify-self: start; }
@media (max-width: 380px) { .coordinate-fields { grid-template-columns: 1fr 1fr; gap: 6px; } .checkout-view .section, .order-view .section { padding-left: 14px; padding-right: 14px; } }
