.customer-drawer,
.customer-page,
.account-form-wrap {
  --customer-surface: #fff;
  --customer-ink: #151619;
  --customer-muted: #f2f3f4;
  --customer-line: #d9dade;
  color: var(--customer-ink);
  color-scheme: light;
}
.customer-drawer { width: min(100%, 440px); background: var(--customer-surface); }
.customer-logo { width: 120px; height: auto; margin-bottom: 12px; filter: contrast(0) brightness(.25); }
.customer-drawer .dialog-head { border-color: var(--customer-line); }
.customer-drawer .icon-button { color: inherit; }
.customer-page, .account-form-wrap { background: var(--customer-surface); }
.customer-page-auth { max-width: 440px; margin-inline: auto; }
.customer-dashboard { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: clamp(22px, 4vw, 60px); }
.customer-nav { border-right: 1px solid var(--customer-line); padding-right: 18px; }
.customer-nav nav { display: grid; gap: 3px; margin-bottom: 18px; }
.customer-nav a { padding: 11px 10px; border-inline-start: 2px solid transparent; }
.customer-nav a[aria-current="page"] { background: var(--customer-muted); font-weight: 700; border-color: var(--customer-ink); }
.customer-main > p { margin: 0 0 7px; }
.customer-main h1, .customer-page-auth h1 { margin: 0 0 25px; font-size: clamp(36px, 5vw, 65px); overflow-wrap: anywhere; }
.customer-tabs { display: flex; gap: 22px; margin: 0 0 18px; border-bottom: 1px solid var(--customer-line); }
.customer-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; color: inherit; font: inherit; font-weight: 700; padding: 8px 0 12px; cursor: pointer; }
.customer-tabs button[aria-pressed="true"] { border-color: currentColor; }
.customer-form { display: grid; gap: 13px; }
.customer-form label { display: grid; gap: 5px; min-width: 0; font-size: .9rem; }
.customer-form .checkbox-label { display: flex; align-items: start; gap: 8px; }
.customer-form input:not([type="checkbox"]) { width: 100%; min-height: 44px; padding: 8px 10px; color: inherit; background: var(--customer-surface); border: 1px solid var(--customer-line); border-radius: 5px; font: inherit; font-size: 1rem; }
.customer-form input[readonly] { background: var(--customer-muted); }
.customer-password { display: grid; gap: 5px; }
.customer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.customer-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.customer-card { padding: clamp(15px, 2vw, 25px); border: 1px solid var(--customer-line); border-radius: 12px; overflow-wrap: anywhere; background: var(--customer-surface); }
.customer-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--customer-line); padding-bottom: 10px; margin-bottom: 12px; }
.customer-card h2 { margin: 0; font-size: 1.1rem; }
.customer-page a, .customer-drawer a:not(.button) { color: inherit; }
.customer-page .button-dark, .customer-drawer .button-dark { background: var(--customer-ink); color: var(--customer-surface); border-color: var(--customer-ink); }
.customer-welcome { display: grid; gap: 13px; }
.customer-welcome h3 { font-size: 2rem; margin: 0; overflow-wrap: anywhere; }
.customer-list { list-style: none; margin: 0; padding: 0; }
.customer-list li { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-block: 10px; }
.customer-list li + li { border-top: 1px solid var(--customer-line); }
.customer-list li > div { display: grid; gap: 4px; }
.customer-order-state { text-transform: capitalize; }
.customer-inline { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; align-items: center; }
.customer-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.customer-info dd { margin: 0; text-align: end; }
.account-text { color: inherit; background: transparent; border: 0; padding: 0; width: fit-content; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.customer-loading::before {
  content: "";
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: customer-loading .7s linear infinite;
}
@keyframes customer-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .customer-loading::before { animation: none; } }
[data-save-product] { margin-top: 11px; }
.customer-drawer [data-form-status]:empty, .customer-page [data-form-status]:empty, [data-save-status]:empty, [data-address-book-status]:empty { display: none; }
@media (max-width: 950px) { .customer-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 650px) {
  .customer-dashboard { display: block; }
  .customer-nav { padding: 0 0 14px; margin-bottom: 19px; border: 0; border-bottom: 1px solid var(--customer-line); }
  .customer-nav nav { display: flex; flex-wrap: wrap; margin-bottom: 7px; }
}
.site-header .header-actions .account-link { display: inline-flex; }
@media (max-width: 420px) {
  .site-header .header-actions .icon-button { width: 34px; }
}

[data-checkout-form] label[hidden], [data-add-address][hidden] { display: none; }
