.account-page {
  --account-line: rgba(9, 29, 12, .16);
  --account-muted: rgba(9, 29, 12, .62);
  background: var(--paper);
}

.account-page [hidden] { display: none !important; }
.account-page .icon-link.is-current { opacity: 1; }
.account-page .icon-link.is-current::after { background: var(--accent); border-radius: 50%; content: ''; height: 4px; margin: 21px 0 0 -10px; position: absolute; width: 4px; }
.account-page :where(a, button, input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.account-page input:focus-visible,
.account-page select:focus-visible { outline-offset: 0; }
.nav-account-link { display: none; }

.account-main { min-height: 72vh; }
.account-loading { align-items: center; background: var(--paper); display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding-top: 130px; }
.account-loading p { color: var(--account-muted); font-size: 9px; letter-spacing: .14em; margin: 19px 0 0; text-transform: uppercase; }
.account-loading-mark { border: 1px solid rgba(9, 29, 12, .22); border-radius: 50%; height: 37px; position: relative; width: 37px; }
.account-loading-mark::after { animation: accountOrbit 1.2s linear infinite; background: var(--accent); border-radius: 50%; content: ''; height: 5px; left: 15px; position: absolute; top: -3px; transform-origin: 2px 21px; width: 5px; }

.account-kicker { color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: .18em; margin: 0 0 20px; text-transform: uppercase; }
.auth-shell { background: #fff; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr); min-height: 100svh; padding-top: 153px; }
.auth-visual { color: #fff; min-height: 720px; overflow: hidden; position: relative; }
.auth-visual img { animation: accountImageIn 1.5s cubic-bezier(.2, .7, .2, 1) both; height: 100%; object-fit: cover; object-position: center; position: absolute; width: 100%; }
.auth-visual-shade { background: linear-gradient(0deg, rgba(2, 8, 4, .86), rgba(2, 8, 4, .04) 68%), linear-gradient(90deg, rgba(2, 8, 4, .35), transparent); inset: 0; position: absolute; }
.auth-visual-copy { animation: accountRise .8s .2s both; bottom: clamp(48px, 7vw, 95px); left: clamp(38px, 6vw, 92px); position: absolute; right: 35px; }
.auth-visual-copy > p { color: rgba(255, 255, 255, .72); font-size: 9px; letter-spacing: .18em; margin: 0 0 22px; text-transform: uppercase; }
.auth-visual-copy h1 { animation: none; font-size: clamp(48px, 4.7vw, 75px); line-height: .91; margin: 0; }
.auth-visual-copy h1 em { color: #fff; }
.auth-visual-copy > span { border-top: 1px solid rgba(255, 255, 255, .44); display: block; font-size: 8px; letter-spacing: .16em; margin-top: 32px; max-width: 360px; padding-top: 15px; text-transform: uppercase; }

.auth-panel { align-items: center; display: flex; justify-content: center; padding: 70px clamp(45px, 7vw, 110px); }
.auth-panel-inner { animation: accountRise .7s .08s both; max-width: 450px; width: 100%; }
.auth-panel h2 { color: var(--ink); font-size: clamp(48px, 4.5vw, 67px); line-height: .93; margin: 0; }
.auth-intro { color: var(--account-muted); font-size: 12px; line-height: 1.7; margin: 20px 0 31px; max-width: 370px; }
.auth-mode-switch { border-bottom: 1px solid var(--account-line); display: flex; gap: 36px; margin-bottom: 30px; }
.auth-mode-switch button { background: transparent; border: 0; color: rgba(9, 29, 12, .43); cursor: pointer; font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .13em; padding: 0 0 13px; position: relative; text-transform: uppercase; }
.auth-mode-switch button::after { background: var(--accent); bottom: -1px; content: ''; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; width: 100%; }
.auth-mode-switch button[aria-pressed="true"] { color: var(--ink); }
.auth-mode-switch button[aria-pressed="true"]::after { transform: scaleX(1); }

.account-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form { animation: accountFormIn .35s ease both; }
.account-field { display: flex; flex-direction: column; gap: 8px; }
.account-field > span:first-child { color: var(--ink); font-size: 8px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.account-field input,
.account-mobile-nav select { background: transparent; border: 0; border-bottom: 1px solid rgba(9, 29, 12, .28); border-radius: 0; color: var(--ink); font-family: var(--sans); font-size: 12px; min-height: 42px; outline: 0; padding: 5px 0 10px; transition: border-color .2s ease; width: 100%; }
.account-field input:focus { border-bottom-color: var(--accent); }
.account-field input::placeholder { color: rgba(9, 29, 12, .36); }
.account-field input[readonly] { color: rgba(9, 29, 12, .5); cursor: not-allowed; }
.password-input { display: flex; position: relative; }
.password-input button { background: transparent; border: 0; color: var(--accent); cursor: pointer; font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: .08em; padding: 0 0 0 14px; text-transform: uppercase; }
.account-check { align-items: flex-start; color: var(--account-muted); cursor: pointer; display: flex; font-size: 10px; gap: 10px; line-height: 1.5; }
.account-check input { accent-color: var(--accent); flex: 0 0 auto; height: 15px; margin: 0; width: 15px; }
.account-check a { border-bottom: 1px solid rgba(184, 120, 92, .7); color: var(--ink); }
.account-check-optional { margin-top: -4px; }
.account-primary-button,
.account-secondary-button,
.account-danger-button { align-items: center; border: 0; cursor: pointer; display: inline-flex; font-family: var(--sans); font-size: 9px; font-weight: 600; justify-content: space-between; letter-spacing: .12em; min-height: 48px; padding: 14px 17px; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.account-primary-button { background: var(--ink); color: #fff; margin-top: 6px; width: 100%; }
.account-primary-button:hover { background: var(--accent); transform: translateY(-2px); }
.account-primary-button span { font-size: 16px; }
.account-secondary-button { background: transparent; border: 1px solid rgba(9, 29, 12, .45); color: var(--ink); justify-content: center; min-width: 180px; }
.account-secondary-button:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.account-danger-button { background: transparent; border: 1px solid #864f45; color: #864f45; justify-content: center; }
.account-danger-button:hover { background: #864f45; color: #fff; }
.account-text-button { align-self: flex-start; background: transparent; border: 0; border-bottom: 1px solid rgba(184, 120, 92, .6); color: var(--ink); cursor: pointer; font-family: var(--sans); font-size: 9px; letter-spacing: .08em; padding: 0 0 5px; }
.auth-forgot-link { margin: -3px 0 1px auto; }
button[disabled] { cursor: wait; opacity: .58; }
.form-note { color: var(--account-muted); font-size: 10px; line-height: 1.6; margin: -3px 0 2px; }
.account-message { border-left: 2px solid var(--accent); color: var(--ink); font-size: 10px; line-height: 1.55; margin: 0 0 22px; padding: 9px 12px; }
.account-message.is-error { border-left-color: #984c42; color: #773b34; }
.account-message.is-success { border-left-color: #527457; color: #36523a; }
.auth-confirmation { animation: accountFormIn .35s ease both; text-align: left; }
.auth-confirmation-icon { align-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); display: flex; height: 46px; justify-content: center; margin-bottom: 26px; width: 46px; }
.auth-confirmation h3 { font-size: 38px; margin: 0 0 14px; }
.auth-confirmation p { color: var(--account-muted); font-size: 11px; line-height: 1.7; margin: 0 0 25px; }
.auth-confirmation .account-text-button { display: block; margin-top: 20px; }

.consent-gate { align-items: center; background: var(--paper); display: flex; justify-content: center; min-height: 100svh; padding: 180px 7vw 100px; }
.consent-gate > div { max-width: 560px; }
.consent-gate h1 { animation: none; font-size: clamp(52px, 6vw, 78px); line-height: .93; margin: 0; }
.consent-gate > div > p:not(.account-kicker) { color: var(--account-muted); font-size: 12px; line-height: 1.7; margin: 24px 0 32px; max-width: 490px; }
.consent-gate .account-text-button { margin-top: 25px; }

.account-workspace { background: var(--paper); min-height: 100svh; padding: 188px 7vw 130px; }
.account-heading { align-items: end; border-bottom: 1px solid var(--account-line); display: flex; justify-content: space-between; padding-bottom: 48px; }
.account-heading h1 { animation: accountRise .65s ease both; font-size: clamp(52px, 6vw, 86px); line-height: .9; margin: 0; }
.account-heading > p { color: var(--account-muted); font-size: 9px; letter-spacing: .05em; margin: 0 0 5px; }
.account-layout { display: grid; gap: clamp(45px, 8vw, 125px); grid-template-columns: 210px minmax(0, 1fr); margin-top: 58px; }
.account-sidebar { align-self: start; border-top: 1px solid var(--account-line); position: sticky; top: 150px; }
.account-sidebar nav { display: flex; flex-direction: column; }
.account-sidebar nav button { align-items: center; background: transparent; border: 0; border-bottom: 1px solid var(--account-line); color: rgba(9, 29, 12, .5); cursor: pointer; display: flex; font-family: var(--sans); font-size: 9px; font-weight: 500; gap: 18px; letter-spacing: .08em; padding: 18px 0; text-align: left; text-transform: uppercase; transition: color .2s ease, padding .2s ease; }
.account-sidebar nav button span { color: var(--accent); font-size: 8px; }
.account-sidebar nav button:hover,
.account-sidebar nav button.is-active { color: var(--ink); padding-left: 7px; }
.account-sidebar-signout { background: transparent; border: 0; color: var(--account-muted); cursor: pointer; display: flex; font-family: var(--sans); font-size: 9px; justify-content: space-between; margin-top: 34px; padding: 0; width: 100%; }
.account-mobile-nav,
.account-mobile-signout { display: none; }
.account-content { min-width: 0; }
.account-section { animation: accountSectionIn .42s ease both; }
.account-section-heading { align-items: start; border-bottom: 1px solid var(--account-line); display: grid; gap: 28px; grid-template-columns: 36px 1fr; padding-bottom: 28px; }
.account-section-heading > p { color: var(--accent); font-size: 9px; letter-spacing: .15em; margin: 9px 0 0; }
.account-section-heading h2 { font-size: clamp(45px, 5vw, 68px); line-height: .95; margin: 0 0 8px; }
.account-section-heading span { color: var(--account-muted); font-size: 10px; }
.account-empty-state { align-items: center; display: flex; flex-direction: column; min-height: 470px; padding: 70px 20px; text-align: center; }
.account-empty-mark { align-items: center; border: 1px solid rgba(9, 29, 12, .2); border-radius: 50%; display: flex; height: 96px; justify-content: center; margin-bottom: 30px; width: 96px; }
.account-empty-mark svg { fill: none; height: 39px; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.2; width: 39px; }
.account-empty-state h3 { font-size: clamp(32px, 3.6vw, 46px); margin: 0 0 13px; }
.account-empty-state p { color: var(--account-muted); font-size: 10px; line-height: 1.7; margin: 0 0 26px; max-width: 370px; }
.account-empty-state .account-secondary-button span { font-size: 15px; margin-left: 35px; }

.profile-form { padding-top: 44px; }
.account-form-grid { display: grid; gap: 29px clamp(30px, 5vw, 70px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-field-wide { grid-column: 1 / -1; }
.profile-form > .account-primary-button { align-self: flex-end; margin-top: 22px; max-width: 220px; }

.settings-block { border-bottom: 1px solid var(--account-line); display: grid; gap: clamp(35px, 6vw, 90px); grid-template-columns: minmax(180px, .65fr) minmax(280px, 1fr); padding: 43px 0; }
.settings-block-heading h3 { font-size: 30px; line-height: 1; margin: 0 0 11px; }
.settings-block-heading p { color: var(--account-muted); font-size: 9px; line-height: 1.6; margin: 0; max-width: 230px; }
.settings-form { max-width: 440px; }
.settings-form .account-secondary-button { align-self: flex-start; margin-top: 4px; }
.account-preference span { display: flex; flex-direction: column; }
.account-preference strong { color: var(--ink); font-size: 10px; font-weight: 600; margin-bottom: 3px; }
.settings-danger { border-bottom: 0; }
.deletion-status { color: var(--account-muted); font-size: 10px; line-height: 1.6; margin: 0 0 17px; }
.deletion-status strong { color: var(--ink); }

.account-dialog { background: #fff; border: 0; color: var(--ink); max-width: 510px; padding: 0; width: calc(100% - 34px); }
.account-dialog::backdrop { background: rgba(2, 7, 3, .74); backdrop-filter: blur(3px); }
.account-dialog[open] { animation: accountDialogIn .25s ease both; }
.account-dialog form { padding: 52px; position: relative; }
.account-dialog h2 { font-size: 50px; line-height: .92; margin: 0 0 19px; }
.account-dialog form > p:not(.account-kicker) { color: var(--account-muted); font-size: 10px; line-height: 1.7; margin: 0 0 28px; }
.account-dialog .account-field { margin-bottom: 20px; }
.account-dialog .account-check { margin-bottom: 23px; }
.account-dialog .account-danger-button { width: 100%; }
.dialog-close { background: transparent; border: 0; color: var(--ink); cursor: pointer; font-size: 25px; font-weight: 300; line-height: 1; padding: 8px; position: absolute; right: 17px; top: 13px; }

@keyframes accountRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes accountImageIn { from { opacity: .72; transform: scale(1.055); } to { opacity: 1; transform: scale(1); } }
@keyframes accountFormIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes accountSectionIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes accountDialogIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes accountOrbit { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .auth-shell { grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr); }
  .auth-panel { padding-left: 6vw; padding-right: 6vw; }
  .account-workspace { padding-left: 6vw; padding-right: 6vw; }
  .account-layout { gap: 5vw; grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 800px) {
  .nav-account-link { display: block; }
  .auth-shell { display: block; padding-top: 126px; }
  .auth-visual { min-height: 430px; }
  .auth-visual-copy { bottom: 48px; left: 7vw; }
  .auth-visual-copy h1 { font-size: clamp(49px, 12.5vw, 70px); }
  .auth-panel { padding: 65px 8vw 90px; }
  .auth-panel-inner { max-width: 560px; }
  .account-workspace { padding: 135px 7vw 90px; }
  .account-heading { align-items: flex-start; flex-direction: column; gap: 19px; padding-bottom: 32px; }
  .account-heading > p { margin: 0; }
  .account-mobile-nav { display: block; margin: 35px 0 42px; }
  .account-mobile-nav label { color: var(--accent); display: block; font-size: 8px; font-weight: 600; letter-spacing: .14em; margin-bottom: 8px; text-transform: uppercase; }
  .account-mobile-nav select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 17px, calc(100% - 7px) 17px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
  .account-layout { display: block; margin-top: 0; }
  .account-sidebar { display: none; }
  .account-mobile-signout { display: inline-flex; margin-top: 35px; }
  .account-empty-state { min-height: 420px; }
  .settings-block { gap: 28px; grid-template-columns: 1fr; }
  .settings-block-heading p { max-width: 340px; }
}

@media (max-width: 560px) {
  .auth-visual { min-height: 390px; }
  .auth-visual-copy > span { max-width: 270px; }
  .auth-panel { padding-left: 7vw; padding-right: 7vw; }
  .auth-mode-switch { gap: 24px; }
  .account-form-grid { display: flex; flex-direction: column; }
  .profile-form > .account-primary-button { align-self: stretch; max-width: none; }
  .account-section-heading { gap: 13px; grid-template-columns: 25px 1fr; }
  .account-section-heading h2 { font-size: 44px; }
  .account-empty-state { padding-left: 0; padding-right: 0; }
  .account-dialog form { padding: 48px 7vw 38px; }
  .account-dialog h2 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-visual img,
  .auth-visual-copy,
  .auth-panel-inner,
  .auth-form,
  .account-heading h1,
  .account-section,
  .account-dialog[open] { animation: none !important; }
}
.account-orders-loading { color: #737b74; font-size: 11px; padding: 44px 0; text-align: center; }
.account-orders-list { border-top: 1px solid #d9dcd5; }
.account-order { border-bottom: 1px solid #d9dcd5; padding: 27px 0; }
.account-order > header { align-items: start; display: flex; gap: 20px; justify-content: space-between; }
.account-order h3 { color: #142018; font: 500 24px var(--display); margin: 0; }
.account-order header p { color: #737b74; font-size: 9px; letter-spacing: .08em; margin: 6px 0 0; text-transform: uppercase; }
.account-order header > strong { color: #142018; font-size: 12px; white-space: nowrap; }
.account-order-items { margin: 19px 0; }
.account-order-items div { color: #5f685f; display: flex; font-size: 10px; justify-content: space-between; padding: 5px 0; }
.account-order footer { display: flex; flex-wrap: wrap; gap: 7px; }
.account-order footer span { background: #f7f7f4; color: #687068; font-size: 8px; letter-spacing: .09em; padding: 8px 10px; text-transform: uppercase; }
@media (max-width: 560px) {
  .account-order > header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .account-order-items div { gap: 16px; }
  .account-order-items div span:last-child { white-space: nowrap; }
}
/* Authentication reference: centered forms, quiet borders and a navy palette. */
@font-face { font-family: 'Cellier Auth'; src: url('recursos/fuentes/cormorant-garamond-latin.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
.auth-shell { --ink: #081568; --accent: #112d4c; --account-muted: #52659c; --account-line: #d8dff1; display: block; min-height: calc(100dvh - 92px); padding: 190px 24px 28px; color: var(--ink); }
.auth-panel { display: block; padding: 0; }
.auth-panel-inner { max-width: 940px; margin: auto; animation: none; }
.auth-panel h1 { margin: 0; font: 700 clamp(44px, 5vw, 68px)/1.08 'Cellier Auth', Georgia, serif; letter-spacing: -.025em; text-align: center; color: var(--ink); }
.auth-intro { max-width: none; margin: 6px auto 26px; color: #52659c; text-align: center; font-size: 20px; line-height: 1.5; }
.auth-card { max-width: 472px; margin: auto; padding: 28px 32px 22px; border: 1px solid #d8dff1; border-radius: 8px; }
.auth-shell[data-mode='signin'] { padding-top: 222px; padding-bottom: 32px; }
.auth-shell[data-mode='signin'] .auth-intro { margin-bottom: 38px; }
.auth-shell[data-mode='signin'] .auth-card { max-width: 506px; padding: 32px 35px; }
.auth-form { gap: 17px; animation: none; }
.auth-shell[data-mode='signin'] .auth-form { gap: 25px; }
.auth-shell .account-field { gap: 5px; }
.auth-shell .account-field > span:first-child { color: #081568; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.auth-shell .account-field input { min-height: 41px; border: 1px solid #ced8f0; border-radius: 7px; color: #081568; padding: 10px 15px; font-size: 14px; }
.auth-shell[data-mode='signin'] .account-field input { min-height: 49px; font-size: 16px; }
.auth-shell .account-field input::placeholder { color: #6677a5; }
.auth-shell .account-field input:focus { border-color: #344c9e; outline: 2px solid #dce4fa; outline-offset: 1px; }
.auth-shell .password-input input { padding-right: 58px; }
.auth-shell .password-input button { position: absolute; right: 3px; top: 0; height: 100%; min-width: 48px; padding: 0 6px; color: #081568; font-size: 10px; letter-spacing: 0; text-transform: none; }
.auth-shell .account-check { font-size: 12px; line-height: 1.5; gap: 12px; color: #42558f; }
.auth-shell .account-check input { width: 20px; height: 20px; accent-color: #112d4c; }
.auth-shell .account-check a { color: #263f90; border: 0; text-decoration: underline; }
.auth-shell .account-primary-button, .auth-shell .account-secondary-button { min-height: 48px; border-radius: 8px; font-size: 16px; text-transform: none; letter-spacing: 0; justify-content: center; padding: 10px 16px; margin: 0; }
.auth-shell .account-primary-button { background: #112d4c; color: white; }
.auth-shell .account-primary-button:hover { background: #1d4065; transform: none; }
.auth-shell .account-secondary-button { min-height: 42px; border: 1px solid #081b81; color: #081568; background: white; }
.auth-shell .account-secondary-button:hover { background: #f0f4fc; transform: none; }
.auth-shell .account-text-button { color: #263f90; letter-spacing: 0; font-size: 14px; border: 0; text-decoration: underline; padding: 0; }
.auth-shell .auth-forgot-link { margin-top: -15px; align-self: flex-end; }
.auth-divider { display: flex; align-items: center; gap: 15px; color: #52659c; font-size: 14px; margin: -6px 0; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: #ced8f0; }
.auth-guest { color: #263f90; text-align: center; text-decoration: underline; font-size: 14px; }
.auth-responsibility { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 24px auto 0; }
.auth-age { display: flex; align-items: center; justify-content: center; flex: 0 0 42px; height: 42px; border: 2px solid #081568; border-radius: 50%; font-size: 18px; font-weight: 700; letter-spacing: -1px; }
.auth-responsibility p { border-left: 1px solid #bcc9eb; padding-left: 20px; margin: 0; font-size: 12px; line-height: 1.6; color: #52659c; }
.auth-shell .account-message { font-size: 14px; }
@media (max-width: 1099px) { .auth-shell, .auth-shell[data-mode='signin'] { padding-top: 190px; } }
@media (max-width: 600px) {
 .auth-shell, .auth-shell[data-mode='signin'] { padding: 164px 20px 28px; min-height: auto; }
 .auth-intro { font-size: 15px; margin: 10px auto 24px; max-width: 340px; }
 .auth-card, .auth-shell[data-mode='signin'] .auth-card { padding: 24px 20px; }
 .auth-shell .account-field input, .auth-shell[data-mode='signin'] .account-field input { font-size: 16px; min-height: 46px; }
 .auth-responsibility { gap: 12px; }
 .auth-responsibility p { font-size: 10px; padding-left: 12px; }
}
.auth-shell .password-input button img { width: 21px; height: 21px; margin: auto; filter: invert(13%) sepia(72%) saturate(2410%) hue-rotate(219deg) brightness(77%); }
.auth-shell .password-input button[aria-pressed='true'] { opacity: .55; }

.auth-panel h1 { max-width: none; animation: none; }
/* Customer workspace: the global site header and footer keep their shared styles. */
.account-workspace { --ink: #081568; --accent: #112d4c; --account-line: #dce3f3; --account-muted: #52659c; background: #fff; color: var(--ink); padding: 190px 4% 48px; }
.account-heading { display: block; border: 0; padding: 0; text-align: center; }
.account-heading h1 { max-width: none; font: 700 clamp(44px, 5vw, 66px)/1.1 'Cellier Auth', Georgia, serif; letter-spacing: -.025em; animation: none; }
.account-heading > p { margin: 5px 0 0; font-size: 20px; line-height: 1.5; letter-spacing: 0; color: var(--account-muted); }
.account-layout { max-width: 1440px; margin: 24px auto 0; grid-template-columns: 260px minmax(0,1fr); gap: 26px; }
.account-sidebar { border: 1px solid var(--account-line); border-radius: 7px; padding: 16px 12px; min-height: 610px; top: 150px; }
.account-sidebar nav { gap: 2px; }
.account-sidebar nav button { padding: 16px 13px; gap: 22px; border: 0; border-radius: 7px; color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.account-sidebar nav button:hover, .account-sidebar nav button.is-active { padding-left: 13px; background: #f0f3fa; color: var(--ink); }
.account-sidebar nav button.is-active { font-weight: 700; }
.account-sidebar img, .account-summary-card h3 img, .account-avatar img { flex-shrink: 0; width: 25px; height: 25px; filter: invert(12%) sepia(70%) saturate(2900%) hue-rotate(221deg) brightness(75%); }
.account-sidebar-signout { justify-content: flex-start; align-items: center; gap: 22px; font-size: 15px; color: var(--ink); margin-top: 20px; padding: 24px 13px 12px; border-top: 1px solid var(--account-line); }
.account-section { animation: none; scroll-margin-top: 165px; }
.account-section:not(.account-overview) { border: 1px solid var(--account-line); border-radius: 7px; padding: 28px; }
.account-section-heading { display: block; border-color: var(--account-line); padding-bottom: 22px; }
.account-section-heading > p { display: none; }
.account-section-heading h2 { font: 700 36px/1.15 'Cellier Auth', Georgia, serif; letter-spacing: -.02em; }
.account-section-heading span { font-size: 14px; line-height: 1.5; }
.account-welcome { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--account-line); border-radius: 7px; margin-bottom: 18px; }
.account-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 70px; height: 70px; border-radius: 50%; background: #f3f5fa; }
.account-avatar img { width: 32px; height: 32px; }
.account-welcome h2 { font: 700 34px/1.15 'Cellier Auth', Georgia, serif; letter-spacing: -.02em; margin: 0 0 4px; }
.account-welcome p { color: var(--account-muted); font-size: 15px; margin: 0; line-height: 1.5; }
.account-welcome .account-member { margin-left: auto; border-left: 1px solid #ccd6f0; padding-left: 24px; font-size: 13px; white-space: pre-line; }
.account-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.account-summary-card { border: 1px solid var(--account-line); border-radius: 7px; padding: 22px; min-width: 0; }
.account-summary-card > header { display: flex; align-items: center; gap: 14px; justify-content: space-between; margin-bottom: 24px; }
.account-summary-card h3 { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -.025em; line-height: 1.45; }
.account-summary-card header button { background: none; border: 0; cursor: pointer; color: #263f90; font: 13px var(--sans); text-decoration: underline; padding: 4px 0; white-space: nowrap; }
.account-details { margin: 0; font-size: 14px; }
.account-details > div { display: grid; grid-template-columns: 36% minmax(0,1fr); gap: 12px; border-bottom: 1px solid #e7ebf5; padding: 12px 0; }
.account-details > div:last-child { border: 0; }
.account-details dt { color: #354b8d; }
.account-details dd { margin: 0; overflow-wrap: anywhere; color: #354b8d; }
.account-address-summary { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.account-address-summary p { white-space: pre-line; font-size: 15px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.account-soft-badge { border-radius: 99px; padding: 8px 12px; background: #f2f5fb; font-size: 11px; color: #52659c; white-space: nowrap; }
.account-favorite-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-favorite-summary > p { margin: 0; flex: 0 0 auto; }
.account-favorite-summary strong { display: block; font: 700 46px/1.05 'Cellier Auth', Georgia, serif; }
.account-favorite-summary span { font-size: 13px; color: #52659c; }
.account-favorite-previews { display: flex; gap: 8px; min-width: 0; }
.account-favorite-previews a { width: 55px; height: 72px; background: #f7f8fb; border-radius: 5px; padding: 5px; }
.account-favorite-previews img { width: 100%; height: 100%; object-fit: contain; }
.account-local-note { font-size: 11px; color: #52659c; margin: 13px 0 0; }
.summary-empty { color: #52659c; font-size: 14px; line-height: 1.7; margin: 0 0 16px; }
.account-recent-number { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.account-recent-detail { color: #52659c; font-size: 13px; line-height: 1.6; margin: 0 0 10px; }
.account-recent-status { display: inline-block; font-size: 12px; padding: 6px 10px; background: #f0f3fa; border-radius: 99px; margin: 0 0 16px; }
.account-recent-status.is-delivered { background: #e5f4eb; color: #196342; }
.account-workspace .account-primary-button, .account-workspace .account-secondary-button { border-radius: 6px; font-size: 14px; min-height: 42px; padding: 10px 16px; letter-spacing: 0; text-transform: none; justify-content: center; }
.account-workspace .account-primary-button { background: #112d4c; }
.account-workspace .account-primary-button:hover { background: #1d4065; transform: none; }
.account-workspace .account-secondary-button { color: #081568; border-color: #30438f; }
.account-workspace .account-secondary-button:hover { color: #081568; background: #f0f3fa; transform: none; }
.account-summary-card > .account-secondary-button { width: 100%; min-height: 38px; }
.account-workspace .account-field > span:first-child { color: var(--ink); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.account-workspace .account-field input, .account-workspace .account-mobile-nav select { border: 1px solid #ced8f0; border-radius: 6px; padding: 11px 13px; font-size: 15px; min-height: 45px; }
.account-workspace .account-field input::placeholder { color: #6677a5; }
.account-workspace .account-field input:focus { outline: 2px solid #dce4fa; border-color: #344c9e; }
.account-workspace .account-form-grid { gap: 24px; }
.account-workspace .account-message, .account-workspace .account-check, .account-workspace .deletion-status { font-size: 13px; }
.account-workspace .settings-block { grid-template-columns: minmax(130px,.6fr) minmax(0,1fr); gap: 28px; }
.account-workspace .settings-block-heading p { font-size: 13px; }
.account-workspace .settings-block-heading h3 { font: 700 27px 'Cellier Auth', Georgia, serif; }
.account-workspace .account-empty-state { min-height: 320px; padding: 45px 20px; }
.account-workspace .account-empty-state p, .account-workspace .account-orders-loading { font-size: 14px; }
.account-workspace .account-order h3 { color: var(--ink); font-size: 24px; }
.account-workspace .account-order header p, .account-workspace .account-order-items div, .account-workspace .account-order footer span { font-size: 13px; letter-spacing: 0; text-transform: none; }
.account-workspace .account-order header > strong { font-size: 15px; color: var(--ink); }
.account-favorites-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 24px 0; }
.account-favorites-status { font-size: 14px; line-height: 1.6; color: #52659c; }
@media(max-width:1200px) { .account-layout { grid-template-columns: 225px minmax(0,1fr); gap: 20px; } .account-summary-card { padding: 18px; } .account-summary-card h3 { font-size: 14px; gap: 8px; } .account-address-summary { align-items: start; flex-direction: column; } .account-favorite-previews a { width: 40px; height: 60px; } }
@media(max-width:1000px) { .account-summary-grid { grid-template-columns: 1fr; } .account-favorites-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) { .account-workspace { padding: 165px 5% 36px; } .account-heading > p { font-size: 16px; } .account-mobile-nav { margin: 24px 0; } .account-mobile-nav label { font-size: 12px; color: #52659c; text-transform: none; letter-spacing: 0; } .account-layout { display: block; margin: 0; } .account-welcome { padding: 20px; gap: 12px; flex-wrap: wrap; } .account-welcome h2 { font-size: 30px; } .account-welcome .account-member { margin-left: 0; padding: 10px 0 0; border: 0; width: 100%; font-size: 12px; } .account-avatar { flex-basis: 52px; height: 52px; } .account-section:not(.account-overview) { padding: 20px; } .account-workspace .settings-block { grid-template-columns: 1fr; } .account-summary-grid { gap: 16px; } .account-summary-card > header { margin-bottom: 18px; } .account-favorite-previews a { width: 48px; } }
@media(max-width:420px) { .account-favorites-grid { grid-template-columns: 1fr; } .account-details > div { grid-template-columns: 1fr; gap: 5px; } .account-summary-card h3 { font-size: 14px; } .account-summary-card h3 img { width: 21px; height: 21px; } }
