.account-page { background: #f7f2e9; }
.account-shell { width: min(1240px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 96px; }
.account-intro { max-width: 690px; margin-bottom: 36px; }
.account-intro h1 { margin: 4px 0 12px; font: clamp(2.8rem, 7vw, 5.8rem)/.95 Georgia, serif; letter-spacing: -.045em; }
.account-intro > p:last-child, .login-card > div > p:last-child { color: var(--muted); line-height: 1.65; }
.login-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; max-width: 920px; padding: clamp(28px, 5vw, 54px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 26px 70px rgb(50 40 28 / 8%); }
.login-card h2, .account-panel h2, .account-welcome h2 { margin: 3px 0 10px; font: 500 2rem/1.1 Georgia, serif; }
.account-form { display: grid; gap: 15px; }
.account-form label { display: grid; gap: 7px; font-weight: 650; }
.account-form label small { color: var(--muted); font-weight: 400; }
.account-form input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.account-form input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 36%, transparent); border-color: var(--accent); }
.account-form input:disabled { background: #f5f2ec; color: var(--muted); }
.account-feedback { min-height: 1.4em; margin: 0; color: var(--accent); font-size: .9rem; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.secondary-button { min-height: 42px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; }
.account-welcome { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; background: #181715; color: #fff; border-radius: 20px; }
.account-welcome p { margin: 0; color: #c9c3bb; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.account-stats article { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.account-stats span { display: block; color: var(--muted); font-size: .86rem; }
.account-stats strong { display: block; margin-top: 8px; font: 500 2rem Georgia, serif; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: 18px; align-items: start; }
.account-side { display: grid; gap: 18px; }
.account-panel { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.panel-heading h2 { margin-bottom: 0; }
.orders-list, .addresses-list { display: grid; gap: 12px; }
.order-card, .address-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fcfbf8; }
.order-card-head, .address-card-head, .order-total { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.order-card h3, .address-card h3 { margin: 0; font-size: 1rem; }
.order-meta, .order-items, .address-card p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.order-items { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-total { margin-top: 13px; align-items: center; }
.status-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #f0ece5; color: #5e5851; font-size: .75rem; font-weight: 700; }
.status-pill.paid { background: #e4f3e9; color: #22633b; }
.status-pill.pending { background: #fff0dc; color: #8a4a14; }
.address-actions { display: flex; gap: 12px; margin-top: 12px; }
.address-actions button { border: 0; padding: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.default-badge { color: var(--accent); font-size: .75rem; font-weight: 700; }
.address-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.account-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-label { display: flex !important; grid-template-columns: auto 1fr; align-items: center; align-self: end; min-height: 48px; font-weight: 500 !important; }
.checkbox-label input { width: 18px; min-height: 18px; }
.form-actions { display: flex; gap: 10px; }
.empty-account { padding: 28px 12px; text-align: center; color: var(--muted); }
.global-feedback { margin-top: 18px; }
button[aria-busy="true"] { cursor: wait; opacity: .72; }
@media (max-width: 900px) { .account-shell { padding-top: 38px; } .login-card, .account-grid { grid-template-columns: 1fr; } .login-card { gap: 28px; } .account-stats { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 620px) { .account-shell { width: calc(100% - 24px); max-width: 100%; padding: 30px 0 64px; } .account-intro, .login-card, .login-card > *, .account-form, .account-form label { min-width: 0; max-width: 100%; } .account-intro h1 { font-size: 3.2rem; } .account-intro p, .login-card p { overflow-wrap: anywhere; } .login-card { width: 100%; padding: 24px 20px; } .account-form input { min-width: 0; } .account-stats { grid-template-columns: 1fr; gap: 8px; } .account-stats article { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; } .account-stats strong { margin: 0; font-size: 1.5rem; } .account-panel { padding: 20px 16px; } .account-welcome { padding: 22px 18px; } .account-form .form-row { grid-template-columns: 1fr; } .form-actions, .order-total { align-items: stretch; flex-direction: column; } .order-total .primary-button { width: 100%; } }
