.customer-page { min-height: 100dvh; }
.customer-header { max-width: 1120px; min-height: 116px; margin: auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.customer-nav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.customer-nav-link:hover { color: var(--ink); }
.customer-main { max-width: 1056px; margin: 36px auto 100px; padding: 0 32px; }
.customer-main h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; overflow-wrap: anywhere; }
.customer-main h2 { font-size: 24px; line-height: 1.3; }
.access-panel { width: min(100%, 420px); margin: 44px auto 0; }
.access-description { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
#access-form { display: grid; gap: 24px; margin-top: 36px; }
.customer-field { display: grid; gap: 10px; }
.customer-field label { font-size: 14px; line-height: 1.4; }
.customer-field input { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 13px 16px; border: 1px solid #85858c; border-radius: 12px; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; }
.customer-field input:disabled { background: var(--soft); }
.field-hint { color: var(--muted); font-size: 13px; line-height: 1.6; }
.customer-status { color: var(--muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.customer-status:empty { display: none; }
.customer-status.is-error { color: #b42318; }
#access-submit { min-height: 52px; width: 100%; }
.access-actions { display: grid; gap: 24px; margin-top: 16px; text-align: center; font-size: 14px; line-height: 1.6; }
.access-actions > button { justify-self: center; }
.access-actions p > span { color: var(--muted); }
.customer-main .text-button { min-height: 44px; font-size: 14px; line-height: 1.5; }
.account-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.customer-eyebrow { margin-bottom: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.continue-shopping { display: inline-flex; margin-bottom: 48px; }
.orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.orders-list { display: grid; }
.order-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.order-card:first-child { border-top: 1px solid var(--line); }
.order-card h3 { font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
.order-card p { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.order-card a { grid-column: 2; grid-row: 1 / 3; align-self: center; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.order-card strong { grid-column: 1; grid-row: 2; font-size: 18px; font-weight: 500; }
.order-heading { margin-top: 32px; }
.order-reference { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; margin-top: 40px; }
.order-products h2, .order-summary h2 { font-size: 20px; }
.order-products .cart-items li { font-size: 16px; }
.order-products .cart-items small { font-size: 14px; }
.order-products details { margin-top: 28px; color: var(--muted); font-size: 14px; }
.order-products summary { min-height: 44px; padding: 12px 0; cursor: pointer; }
.order-summary { border-radius: 22px; padding: 28px; background: var(--soft); }
.order-summary > p { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.order-totals { margin: 28px 0; }
.order-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 16px 0; font-size: 14px; line-height: 1.5; }
.order-totals dt { color: var(--muted); }
.order-totals dd { margin: 0; text-align: right; }
.order-totals > .order-total { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.order-total dt { color: var(--ink); }
.order-total dd { font-size: 28px; font-weight: 500; }
.order-summary > .button { width: 100%; }
.order-summary > .text-button { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 12px; }
.customer-payment { margin-top: 48px; }
.customer-payment h2 { margin-bottom: 24px; }
.order-payments { margin-top: 48px; }
.order-payments > .customer-status { margin-top: 12px; }
.order-installments { margin-top: 24px; }
.installment { padding: 20px 0; border-top: 1px solid var(--line); }
.installment:last-child { border-bottom: 1px solid var(--line); }
.installment summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; cursor: pointer; font-size: 16px; line-height: 1.5; }
.installment summary span { min-width: 0; }
.installment summary small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.installment summary strong { flex: none; font-weight: 500; }
.installment-content { padding-top: 24px; }
.installment-content .button { width: auto; min-height: 48px; padding-inline: 24px; margin: 0 12px 12px 0; }
.installment-content label { display: block; margin-top: 24px; font-size: 14px; }
.installment-content textarea { display: block; width: 100%; min-height: 90px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; resize: vertical; overflow-wrap: anywhere; }
.installment-content img { display: block; width: 220px; height: 220px; object-fit: contain; margin: 20px 0; }
@media (max-width: 760px) {
  .customer-header { min-height: 92px; padding: 16px 24px; gap: 16px; }
  .customer-header .brand img { width: 100px; }
  .customer-nav-link { max-width: 140px; text-align: right; line-height: 1.5; }
  .customer-main { margin-top: 28px; padding: 0 24px; }
  .access-panel { margin-top: 40px; }
  .account-heading { gap: 16px; margin-bottom: 32px; }
  .order-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }
  .order-summary { padding: 24px; }
  .order-card { gap: 12px 16px; }
  .order-card h3 { font-size: 18px; }
  .continue-shopping { width: 100%; margin-bottom: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .access-panel, .account-heading, .order-heading { animation: customer-enter 320ms cubic-bezier(.2, 0, 0, 1); }
  @keyframes customer-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

/* Entrar com Google (05/11/2026) */
.google-area { display: grid; gap: 16px; margin-top: 32px; }
.google-button { display: flex; justify-content: center; min-height: 44px; }
.google-button > div { width: 100%; display: flex; justify-content: center; }
#google-status:empty { display: none; }
.access-divider { display: flex; align-items: center; gap: 16px; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.access-divider::before, .access-divider::after { content: ""; flex: 1; height: 1px; background: var(--line, #d9d9de); }
.google-area:not([hidden]) + #access-form { margin-top: 20px; }
.password-control { position: relative; }
.password-control input { padding-right: 92px; }
.password-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; color: var(--ink); background: transparent; font: inherit; font-size: 14px; cursor: pointer; }
.password-toggle:hover { background: var(--soft, #f4f4f6); }
.password-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
