:root {
  --store-accent: #d4af57;
  --store-ink: #11120f;
  --store-page: #faf9f6;
  --store-surface: #ffffff;
  --store-dark: #11120f;
  --store-on-dark: #faf9f6;
  --store-muted: #59564f;
  --store-border: #dedbd4;
  --store-button: #191919;
  --store-on-button: #ffffff;
  font-family: Inter, "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--store-ink);
  background: var(--store-page);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--store-page); color: var(--store-ink); }
.account-shell { width: min(980px, 100% - 36px); margin: auto; padding: 28px 0 22px; }
.account-header, .account-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-header { padding: 4px 0 22px; border-bottom: 1px solid var(--store-border); }
.account-header > a:last-child { color: var(--store-muted); text-decoration: none; font-size: 14px; }
.account-brand { display: flex; align-items: center; gap: 10px; color: var(--store-ink); text-decoration: none; font-size: 20px; font-weight: 850; letter-spacing: .04em; }
.account-brand small { display: block; align-self: flex-end; margin: 0 0 2px -7px; font-size: 9px; letter-spacing: .16em; }
.account-brand img { width: auto; max-width: 150px; height: 42px; object-fit: contain; }
.account-brand img[hidden] { display: none; }
.account-card { width: min(480px, 100%); margin: 64px auto; padding: clamp(24px, 5vw, 42px); background: var(--store-surface); border: 1px solid var(--store-border); border-radius: 18px; box-shadow: 0 22px 58px color-mix(in srgb, var(--store-ink) 7%, transparent); }
.account-card[hidden], #account-dashboard[hidden] { display: none; }
.account-eyebrow { margin: 0 0 10px; color: var(--store-accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.account-card h1, .account-heading h1 { margin: 0; font-size: clamp(30px, 6vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.account-intro { color: var(--store-muted); line-height: 1.6; }
.account-card form { display: grid; gap: 16px; margin-top: 26px; }
.account-card label { display: grid; gap: 7px; color: var(--store-ink); font-size: 13px; font-weight: 650; }
.account-card input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--store-border); border-radius: 9px; background: var(--store-surface); color: var(--store-ink); font: inherit; font-size: 16px; }
.account-card input:focus { outline: 2px solid var(--store-accent); outline-offset: 2px; }
.account-primary, .account-secondary { min-height: 46px; border-radius: 10px; padding: 0 18px; font: inherit; font-weight: 750; cursor: pointer; }
.account-primary { border: 0; background: var(--store-button); color: var(--store-on-button); }
.account-secondary { border: 1px solid var(--store-border); background: var(--store-surface); color: var(--store-ink); }
.account-error { min-height: 20px; margin: 0; color: #a12b21; font-size: 13px; }
.account-note { margin: 20px 0 0; color: var(--store-muted); font-size: 13px; line-height: 1.55; }
.account-heading { margin: 40px 0 24px; }
.customer-orders { display: grid; gap: 14px; }
.customer-order { padding: 20px 22px; background: var(--store-surface); border: 1px solid var(--store-border); border-radius: 14px; }
.customer-order-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.customer-order h2 { margin: 0; font-size: 18px; }
.customer-order p { margin: 5px 0; color: var(--store-muted); font-size: 14px; }
.customer-order-total { color: var(--store-ink) !important; font-size: 17px !important; font-weight: 800; }
.customer-order-items { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--store-border); color: var(--store-ink); font-size: 13px; line-height: 1.7; }
.customer-order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.customer-order-actions a, .customer-order-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 13px; border: 1px solid var(--store-border); border-radius: 8px; background: var(--store-surface); color: var(--store-ink); text-decoration: none; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.customer-order-actions a.primary-link { border-color: var(--store-button); background: var(--store-button); color: var(--store-on-button); }
.customer-timeline { margin: 16px 0 0; padding: 14px 0 0 20px; border-top: 1px solid var(--store-border); color: var(--store-ink); font-size: 13px; }
.customer-timeline li { margin: 0 0 10px; padding-left: 3px; }
.customer-timeline time { display: block; color: var(--store-muted); font-size: 12px; }
.account-empty { padding: 34px; text-align: center; background: var(--store-surface); border: 1px solid var(--store-border); border-radius: 14px; }
.account-empty h2 { margin: 0 0 8px; }
.account-empty p { color: var(--store-muted); }
.account-empty a { color: var(--store-ink); font-weight: 700; }
footer { padding: 40px 0 10px; color: var(--store-muted); text-align: center; font-size: 12px; }
html[data-theme="studio"] .account-card, html[data-theme="studio"] .customer-order { border-radius: 12px; }
@media (max-width: 560px) {
  .account-shell { width: min(100% - 24px, 980px); padding-top: 16px; }
  .account-header { padding-bottom: 16px; }
  .account-heading { align-items: flex-end; margin-top: 28px; }
  .account-heading h1 { font-size: 34px; }
  .customer-order { padding: 16px; }
  .customer-order-head { display: block; }
  .customer-order-head > strong { display: block; margin-top: 9px; }
}
.account-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }
.account-success { margin: 0; color: #1c6b3a; font-size: 14px; line-height: 1.4; }
.account-success:empty { display: none; }
/* Páginas de políticas da loja */
.policy-layout { display: grid; grid-template-columns: 230px 1fr; gap: 48px; padding: 44px 0 64px; align-items: start; }
.policy-nav { position: sticky; top: 24px; display: grid; gap: 4px; }
.policy-nav a { padding: 10px 14px; border-radius: 10px; color: var(--store-muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.policy-nav a:hover { color: var(--store-ink); background: color-mix(in srgb, var(--store-ink) 5%, transparent); }
.policy-nav a[aria-current="page"] { color: var(--store-ink); background: var(--store-surface); border: 1px solid var(--store-border); }
.policy-body { max-width: 720px; background: var(--store-surface); border: 1px solid var(--store-border); border-radius: 18px; padding: clamp(24px, 5vw, 48px); }
.policy-body h1 { margin: 6px 0 22px; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; letter-spacing: -.03em; }
.policy-body h2 { margin: 30px 0 8px; font-size: 18px; }
.policy-body p { margin: 0 0 14px; color: color-mix(in srgb, var(--store-ink) 82%, transparent); line-height: 1.7; font-size: 15px; }
.policy-updated { margin-top: 28px !important; font-size: 13px !important; color: var(--store-muted) !important; }
@media (max-width: 760px) { .policy-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; } .policy-nav { position: static; display: flex; overflow-x: auto; gap: 6px; } .policy-nav a { white-space: nowrap; } }
