/* Account forms follow the same restrained typography and controls as the account page. */
.customer-dialog { width: min(480px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 36px; border: 1px solid #e7e4df; border-radius: 0; background: #fff; color: #171717; overflow: auto; box-shadow: 0 24px 90px #0003; color-scheme: light; font-family: "Editorial Manrope","Microsoft YaHei",sans-serif; }
.customer-dialog:not([open]) { display: none; }
.customer-dialog::backdrop { background: #0007; backdrop-filter: blur(3px); }
.ca-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.storefront .ca-heading h2,.ca-heading h2 { margin: 0; font: 500 26px/1.35 "Editorial Manrope","Microsoft YaHei",sans-serif; letter-spacing: -.5px; color: #171717; }
.storefront .ca-heading p,.ca-heading p { margin: 18px 0 0; font-size: 15px; line-height: 1.75; color: #3d3b38; }
.dialog-close { display: grid; place-items: center; background: none; border: 0; color: #777; min-width: 36px; min-height: 36px; padding: 8px; cursor: pointer; margin: -5px -10px 0 0; }
.dialog-close:hover { color: #171717; }
.ca-form { padding: 0; margin: 54px 0 0; color: #171717; }
.ca-field { margin-bottom: 24px; }
.ca-control { position: relative; }
.storefront .ca-form .ca-control input,.customer-dialog .ca-form .ca-control input { display: block; width: 100%; min-height: 58px; margin: 0; padding: 23px 40px 9px 0; color: #171717; background: transparent; border: 0; border-bottom: 1px solid #c9c5bf; border-radius: 0; box-shadow: none; outline: none; font: 400 16px/1.5 "Editorial Manrope","Microsoft YaHei",sans-serif; caret-color: #171717; transition: border-color .18s; }
.ca-control > label { position: absolute; top: 20px; left: 0; right: 38px; margin: 0; color: #706c66; font-size: 15px; line-height: 1.5; pointer-events: none; transform-origin: left top; transition: transform .18s,color .18s; }
.ca-control > input:focus + label,.ca-control > input:not(:placeholder-shown) + label { transform: translateY(-16px) scale(.8); color: #5b5751; }
.storefront .ca-form .ca-control input:focus,.customer-dialog .ca-form .ca-control input:focus { border-bottom-color: #171717; box-shadow: 0 1px 0 #171717; }
.ca-field-hint { display: block; margin-top: 7px; font-size: 11px; color: #7d776f; line-height: 1.6; }
.ca-password-toggle { position: absolute; right: -6px; top: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; background: none; color: #77716a; border: 0; cursor: pointer; }
.ca-password-toggle svg { width: 19px; height: 19px; }
.ca-password-toggle[aria-pressed=true] { color: #111; }
.ca-form-options { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; color: #8b847c; font-size: 11px; line-height: 1.6; }
.ca-form-options button,.auth-links button { border: 0; background: none; color: #262421; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 7px 0; }
.ca-form .auth-submit { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 112px; min-height: 46px; margin-top: 30px; padding: 12px 31px; border: 1px solid #191919; border-radius: 999px; background: #191919; color: #fff; font: 500 14px/1.5 "Editorial Manrope","Microsoft YaHei",sans-serif; cursor: pointer; transition: background .18s,transform .18s; }
.ca-form .auth-submit:hover { background: #3b3833; border-color: #3b3833; }
.ca-form .auth-submit:active { transform: translateY(1px); }
.ca-form .auth-submit:disabled,.ca-form button:disabled { opacity: .5; cursor: wait; }
.ca-form .auth-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 23px; color: #77716a; font-size: 12px; line-height: 1.8; }
.ca-form .auth-links:empty { display: none; }
.storefront .ca-form .auth-links p,.ca-form .auth-links p { margin: 0; color: inherit; font-size: inherit; }
.ca-form .auth-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; font-size: 12px; line-height: 1.8; color: #605b54; }
.ca-form .auth-consent input { width: 16px; height: 16px; min-height: 16px; margin-top: 3px; padding: 0; flex-shrink: 0; accent-color: #191919; }
.auth-consent a { color: #171717; text-decoration: underline; text-underline-offset: 3px; }
.storefront .ca-form .auth-error,.ca-form .auth-error { color: #a33329; background: #faf1ef; border-left: 2px solid #bd574b; padding: 11px 13px; margin: 0 0 22px; font-size: 12px; line-height: 1.8; }
.storefront .ca-form .auth-message,.ca-form .auth-message { color: #44674b; padding: 0; margin: 0 0 20px; font-size: 13px; line-height: 1.8; }
.storefront .ca-form .auth-hint,.ca-form .auth-hint { color: #77716a; font-size: 14px; line-height: 1.9; margin: 0 0 20px; }
.customer-account-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 25px; padding: 20px 0; border-block: 1px solid #e9e5de; color: #77716a; font-size: 12px; }
.customer-account-stats strong { color: #171717; }
.customer-review-link { display: block; padding: 17px 0; color: #171717; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.ca-form :is(button,a):focus-visible,.dialog-close:focus-visible { outline: 2px solid #171717; outline-offset: 4px; }
@media(max-width:600px) {
  .customer-dialog { padding: 28px 24px; }
  .storefront .ca-heading h2,.ca-heading h2 { font-size: 24px; }
  .storefront .ca-heading p,.ca-heading p { font-size: 14px; margin-top: 14px; }
  .ca-form { margin-top: 32px; }
  .ca-form-options { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) { .ca-control > label,.ca-control input,.ca-form .auth-submit { transition: none; } }
