/* Shared store tokens are supplied by the active theme and published store CSS. */
.customer-auth{max-width:680px;margin:var(--sp-7,48px) auto;padding:0 var(--sp-5,24px);color:var(--c-text,#262626);line-height:var(--lh-body,1.85);box-sizing:border-box;font:inherit;overflow-wrap:anywhere}
.customer-auth *{box-sizing:border-box}.customer-auth [hidden]{display:none!important}
.customer-auth__card{padding:var(--sp-6,32px);border:1px solid var(--c-border,#e8e8e6);background:var(--c-bg,#fff)}
.customer-auth h1{font-size:var(--fs-2xl,25px);line-height:1.5;margin:0 0 var(--sp-5,24px);padding-bottom:var(--sp-4,16px);border-bottom:1px solid var(--c-border,#e8e8e6);color:var(--c-ink,#1a2b3c);font-weight:500}
.customer-auth h2{font-size:var(--fs-lg,16px);margin:0 0 var(--sp-3,12px);color:var(--c-ink,#1a2b3c);font-weight:500}
.customer-auth p{margin:var(--sp-3,12px) 0}.customer-auth__lead,.customer-auth__help{color:var(--c-text-sub,#6a6a64)}
.customer-auth a{color:var(--c-ink,#1a2b3c);text-decoration:underline;text-underline-offset:3px}
.customer-auth label{display:inline-block;font-weight:500;margin:var(--sp-4,16px) 0 var(--sp-2,8px)}
.customer-auth input:not([type=hidden]):not([type=checkbox]),.customer-auth textarea,.customer-auth select{display:block;width:100%;min-width:0;max-width:100%;min-height:var(--tap-min,44px);padding:var(--sp-3,12px);border:1px solid var(--c-border-str,#dde3e6);border-radius:var(--radius-control,0);font:inherit;background:var(--c-bg,#fff);color:var(--c-text,#262626)}
.customer-auth :is(input,button,a,textarea,select):focus-visible{outline:2px solid var(--c-accent,#5a8ca8);outline-offset:3px}
.customer-auth button{min-height:var(--tap-min,44px);padding:var(--sp-3,12px) var(--sp-4,16px);border:1px solid var(--c-ink,#1a2b3c);border-radius:var(--radius-control,0);background:var(--c-bg,#fff);color:var(--c-ink,#1a2b3c);font:inherit;font-weight:500;cursor:pointer;max-width:100%;white-space:normal;line-height:1.5}
.customer-auth button:disabled{opacity:.55;cursor:default}.customer-auth .customer-auth__primary{width:100%;background:var(--c-ink,#1a2b3c);border-color:var(--c-ink,#1a2b3c);color:var(--c-bg,#fff);margin-top:var(--sp-5,24px)}
/* Google brand colors and logo remain independent of the store palette. */
.customer-auth .customer-auth__google{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;background:#fff;color:#1f1f1f;border-color:#747775;font-family:Arial,sans-serif;font-size:14px;min-height:44px}
.customer-auth__google img{flex:none;display:block}.customer-auth__divider{display:flex;align-items:center;gap:var(--sp-4,16px);color:var(--c-text-sub,#6a6a64)}.customer-auth__divider:before,.customer-auth__divider:after{content:"";flex:1;height:1px;background:var(--c-border,#e8e8e6)}
.customer-auth__secondary{padding-top:var(--sp-5,24px);text-align:center}.customer-auth__secondary>button{width:100%}.customer-auth__help{font-size:var(--fs-md,13px)}
.customer-auth__error,.customer-auth [data-auth-message][data-error="1"],.customer-auth .ec-errorMessage{color:var(--c-error,#a52525)}
.customer-auth__row{display:flex;flex-wrap:wrap;gap:var(--sp-2,8px);margin-top:var(--sp-3,12px)}.customer-auth__row button{flex:1;padding:var(--sp-2,8px)}
.customer-auth .customer-auth__check{display:flex;align-items:flex-start;gap:var(--sp-3,12px);font-weight:400;margin:var(--sp-5,24px) 0}.customer-auth__check input{flex:none;width:20px;height:20px;margin-top:3px;accent-color:var(--c-ink,#1a2b3c)}
.customer-auth__methods{list-style:none;padding:0;margin:var(--sp-5,24px) 0}.customer-auth__methods li{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3,12px);border-bottom:1px solid var(--c-border,#e8e8e6);padding:var(--sp-4,16px) 0}.customer-auth__methods span{min-width:0;overflow-wrap:anywhere}.customer-auth__methods small{display:block;color:var(--c-text-sub,#6a6a64)}.customer-auth__methods form{flex:none}
.customer-auth__section{border-top:1px solid var(--c-border,#e8e8e6);margin-top:var(--sp-6,32px);padding-top:var(--sp-5,24px)}.customer-auth__email{overflow-wrap:anywhere}
.customer-auth__fields{min-width:0;border:0;padding:0;margin:var(--sp-5,24px) 0}.customer-auth__fields legend{font-size:var(--fs-lg,16px);font-weight:500;padding:0;margin:0;color:var(--c-ink,#1a2b3c);border:0}
.customer-auth__pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-4,16px)}.customer-auth .ec-required{display:inline-block;margin-left:var(--sp-2,8px);color:var(--c-error,#a52525);background:none}
@media(max-width:767px){.customer-auth{margin:var(--sp-5,24px) auto;padding:0 var(--sp-4,16px)}.customer-auth__card{padding:var(--sp-5,24px) var(--sp-4,16px)}.customer-auth h1{font-size:var(--fs-xl,20px)}.customer-auth input:not([type=hidden]),.customer-auth textarea,.customer-auth select{font-size:16px}.customer-auth__pair{grid-template-columns:minmax(0,1fr);gap:0}}

.customer-auth select { width:100%; min-height:48px; margin:8px 0 18px; padding:10px 12px; color:inherit; background:#fff; border:1px solid #b9c9d8; border-radius:6px; font:inherit; }
.customer-auth__primary[href] { display:inline-block; text-decoration:none; padding:12px 20px; }
.customer-auth--checkout-entry{max-width:960px}
.customer-auth__choices{display:grid;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-5,24px);margin:var(--sp-6,32px) 0 var(--sp-4,16px)}
.customer-auth__choice{display:flex;flex-direction:column;min-width:0;padding:var(--sp-5,24px);border:1px solid var(--c-border-str,#dde3e6);background:var(--c-bg,#fff)}
.customer-auth__choice > p{margin:0 0 var(--sp-5,24px);color:var(--c-text-sub,#6a6a64)}
.customer-auth a.customer-auth__choice-button{display:flex;align-items:center;justify-content:center;gap:var(--sp-3,12px);width:100%;min-height:56px;margin-top:auto;padding:14px 16px;border:1px solid var(--c-ink,#1a2b3c);background:var(--c-ink,#1a2b3c);color:var(--c-bg,#fff);text-decoration:none;font-weight:500;line-height:1.5}
.customer-auth a.customer-auth__choice-button:hover{filter:brightness(1.15)}
@media(max-width:767px){.customer-auth__choices{grid-template-columns:minmax(0,1fr);gap:var(--sp-4,16px);margin-top:var(--sp-5,24px)}.customer-auth__choice{padding:var(--sp-5,24px) var(--sp-4,16px)}}

/* Match the registration action in the checkout choice cards. */
.customer-auth--checkout-entry .customer-auth__google{min-height:56px;padding:14px 16px}

.customer-auth__code-address { display: block; overflow-wrap: anywhere; }
.customer-auth input[autocomplete="one-time-code"]:not([type=hidden]) { font-family: inherit; font-size: 20px; letter-spacing: .16em; text-align: center; min-height: 56px; }
@media(max-width:480px) { .customer-auth [data-code-screen] .customer-auth__row { flex-direction: column; } }
