/* Pantalla «Completá tus datos» (edcre-0622): mismo lenguaje de Mi cuenta (storefront-account.css); sólo lo que no trae. */
.customer-registration { padding-bottom: 12px; }
.customer-registration-layout { display: block; max-width: 760px; margin: 0 auto; padding-top: 18px; }
.customer-registration-card { padding: 24px 26px 26px; }
.customer-registration-card:focus { outline: 0; }
.customer-registration-card h1 { margin: 0; font-size: 26px; line-height: 1.15; color: var(--account-ink); }
.customer-registration-loading { margin: 10px 0 0; color: var(--account-muted); }
.reg-lead { margin: 8px 0 18px; color: #4a5568; font-size: 15px; line-height: 1.5; max-width: 62ch; }
.reg-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.reg-panel-actions .primary-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 46px; padding: 0 22px; background: var(--account-orange); border-color: var(--account-orange); text-decoration: none; }
.reg-panel-actions .customer-auth-google { max-width: 340px; }
.reg-banner { margin: 0 0 16px; padding: 11px 13px; border-radius: 9px; font-size: 14px; line-height: 1.4; }
.reg-banner-warn { background: #fff4e5; border: 1px solid #f5c98f; color: #7a4300; }
.reg-error-summary { margin: 0 0 4px; padding: 11px 13px; border-radius: 9px; border: 1px solid #f1b3a6; background: #fdeeea; color: #9a2410; font-size: 14px; font-weight: 700; }
.reg-error-summary:focus { outline: 3px solid #172033; outline-offset: 2px; }
.reg-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.reg-section { display: grid; gap: 16px; }
.reg-group { display: grid; gap: 12px; margin: 0; padding: 14px 16px 16px; border: 1px solid var(--account-line); border-radius: 10px; min-width: 0; }
.reg-group > legend { padding: 0 7px; color: var(--account-ink); font-size: 14px; font-weight: 900; }
.reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.reg-phone { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 12px 14px; }
.reg-field { display: grid; gap: 5px; min-width: 0; align-content: start; }
.reg-field > label { color: var(--account-ink); font-size: 13px; font-weight: 800; }
.reg-field input, .reg-field select { width: 100%; min-height: 46px; padding: 0 11px; border: 1px solid #cfd6dd; border-radius: 8px; background: #f8fafb; color: var(--account-ink); font: inherit; font-size: 15px; }
.reg-field input:hover, .reg-field select:hover { border-color: #aeb8c4; }
.reg-field input:focus-visible, .reg-field select:focus-visible { outline: 0; border-color: var(--account-orange); box-shadow: 0 0 0 3px rgba(255, 75, 32, .2); background: #fff; }
.reg-field [aria-invalid="true"] { border-color: #c4311a; background: #fff7f5; }
.reg-field > label { white-space: nowrap; }
.reg-optional, .reg-hint { color: var(--account-muted); font-size: 11px; font-style: normal; font-weight: 700; }
.reg-help { margin: 0; color: var(--account-muted); font-size: 12px; line-height: 1.4; }
.reg-error { margin: 0; color: #b3270f; font-size: 13px; font-weight: 700; line-height: 1.35; }
.reg-error[hidden], .reg-help[hidden], .reg-section[hidden], [data-reg-razon][hidden] { display: none; }
.reg-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.reg-choice { display: flex; align-items: flex-start; gap: 10px; min-height: 56px; padding: 11px 13px; border: 1px solid #cfd6dd; border-radius: 10px; background: #f8fafb; cursor: pointer; }
.reg-choice:has(input:checked) { border-color: var(--account-orange); background: #fff4f0; box-shadow: 0 0 0 2px rgba(255, 75, 32, .14); }
.reg-choice:has(input:focus-visible) { outline: 3px solid #172033; outline-offset: 2px; }
.reg-choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--account-orange); }
.reg-choice span { display: grid; gap: 2px; color: var(--account-ink); font-size: 14px; }
.reg-choice small { color: var(--account-muted); font-size: 12px; }
.reg-terms { display: grid; gap: 5px; }
.reg-check { display: flex; align-items: flex-start; gap: 10px; color: var(--account-ink); font-size: 14px; line-height: 1.45; }
.reg-check input { width: 22px; height: 22px; flex: 0 0 auto; margin: 0; accent-color: var(--account-orange); }
.reg-check a, .reg-actions a, .reg-link, .customer-registration-footer a { color: var(--account-ink); font-weight: 700; text-decoration: underline; }
.reg-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.reg-actions .primary-btn { width: auto; min-width: 170px; min-height: 48px; margin: 0; background: var(--account-orange); border-color: var(--account-orange); }
.reg-actions .primary-btn:disabled { opacity: .6; cursor: wait; }
.customer-registration-footer { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 18px auto 6px; padding: 14px; border-top: 1px solid var(--account-line); font-size: 13px; }
@media (max-width: 640px) {
  .customer-registration-layout { padding-top: 10px; }
  .customer-registration-card { padding: 18px 16px 20px; }
  .customer-registration-card h1 { font-size: 23px; }
  .reg-grid, .reg-choices { grid-template-columns: 1fr; }
  .reg-phone { grid-template-columns: minmax(0, 110px) minmax(0, 1fr); }
  .reg-actions .primary-btn, .reg-panel-actions .primary-btn { width: 100%; }
}

/* edcre-0622: aviso de datos pendientes (sólo con el ingreso exigido por la tienda). */
.customer-account-registration-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; padding: 13px 15px; border: 1px solid #f5c98f; border-radius: 10px; background: #fff7ea; color: #5c3600; }
.customer-account-registration-note[hidden] { display: none; }
.customer-account-registration-note strong { display: block; font-size: 14px; }
.customer-account-registration-note p { margin: 3px 0 0; font-size: 12px; line-height: 1.4; }
.customer-account-registration-note .primary-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 44px; margin: 0; padding: 0 16px; background: var(--account-orange); border-color: var(--account-orange); text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) { .customer-account-registration-note { align-items: stretch; flex-direction: column; } .customer-account-registration-note .primary-btn { width: 100%; } }

/* edcre-0643/0646: domicilio opcional plegado y selector de localidad con autocompletado. */
.reg-optional-address { border: 1px solid var(--account-line); border-radius: 10px; padding: 0 16px; background: #fff; }
.reg-optional-address > summary { cursor: pointer; padding: 13px 0; color: var(--account-ink); font-size: 14px; font-weight: 800; line-height: 1.35; list-style-position: outside; min-height: 44px; }
.reg-optional-address > summary:focus-visible { outline: 3px solid #172033; outline-offset: 2px; border-radius: 6px; }
.reg-optional-address[open] > summary { border-bottom: 1px solid var(--account-line); margin-bottom: 12px; }
.reg-optional-address > .reg-help { margin: 0 0 12px; }
.reg-optional-address > .reg-grid { padding-bottom: 16px; }
.reg-combo { position: relative; }
.reg-combo-list { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; max-height: 240px; overflow-y: auto; margin: 2px 0 0; padding: 4px 0; list-style: none; border: 1px solid #cfd6dd; border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(23, 32, 51, .16); }
.reg-combo-list[hidden] { display: none; }
.reg-combo-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 12px; cursor: pointer; color: var(--account-ink); font-size: 15px; }
.reg-combo-list li small { color: var(--account-muted); font-size: 12px; }
.reg-combo-list li[aria-selected="true"], .reg-combo-list li:hover { background: #fff4f0; }
.reg-field input[readonly] { background: #eef1f4; color: #3a4655; }
