/* Acceso y registro de clientes, adaptado al prototipo editorial de 2026. */
.store-page-content--account-auth {
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 86px);
  padding: clamp(44px, 6vw, 82px) 6% clamp(64px, 8vw, 104px);
  background: #f8f6f2;
}

.store-page-content--account-auth > .woocommerce {
  width: min(100%, 440px);
  margin: 0 auto;
}

.store-page-content--account-auth .woocommerce-notices-wrapper:not(:empty),
.store-page-content--account-auth > .woocommerce > .woocommerce-error,
.store-page-content--account-auth > .woocommerce > .woocommerce-message,
.store-page-content--account-auth > .woocommerce > .woocommerce-info {
  width: min(100%, 440px);
  margin-right: auto;
  margin-left: auto;
}

.account-auth {
  width: 100%;
  color: #2c2823;
}

.account-auth__tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #dfd9d0;
}

.account-auth__tab {
  min-height: 44px;
  margin: 0 0 -1px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #9a9188;
  font: 500 11px/1.3 inherit;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}

.account-auth__tab[aria-selected="true"] {
  border-bottom-color: #2c2823;
  color: #2c2823;
}

.account-auth__tab:focus-visible,
.account-auth__password-toggle:focus-visible,
.account-auth__switch button:focus-visible,
.account-auth__back:focus-visible {
  outline: 2px solid #98724f;
  outline-offset: 4px;
}

.account-auth__panel {
  padding-top: 30px;
}

.account-auth__panel[hidden] {
  display: none;
}

.account-auth__panel h1 {
  margin: 0 0 12px;
  color: #2c2823;
  font-size: clamp(30px, 3.1vw, 40px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.account-auth__intro,
.account-auth .anaduran-register-benefit {
  margin: 0;
  color: #5d564f;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
}

.account-auth .anaduran-register-anchor {
  position: absolute;
}

.store-page-content .account-auth form.account-auth__form {
  margin: 26px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.store-page-content .account-auth__panel[data-account-panel="register"] form.account-auth__form {
  margin-top: 0;
}

.account-auth .form-row {
  margin: 0 0 18px;
  padding: 0;
}

.account-auth__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.store-page-content .account-auth .form-row label,
.account-auth__label-row > label {
  margin: 0 0 8px;
  color: #4f4943;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.store-page-content .account-auth .form-row .input-text {
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #d8d1c7;
  background: #fff;
  color: #2c2823;
  font: 400 14px/1.2 inherit;
}

.store-page-content .account-auth .form-row .input-text::placeholder {
  color: #a49b91;
  opacity: 1;
}

.store-page-content .account-auth .form-row .input-text:focus {
  border-color: #8c7256;
  outline: 1px solid #8c7256;
  outline-offset: 0;
}

.account-auth__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.account-auth__label-row > a {
  color: #7c654e;
  font-size: 11px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-auth__password-wrap {
  position: relative;
  display: block;
}

.store-page-content .account-auth .account-auth__password-wrap .input-text {
  padding-right: 88px;
}

.account-auth__password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  min-height: 40px;
  padding: 0 10px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #7c654e;
  font: 600 9px/1 inherit;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
}

.account-auth__password-wrap > .show-password-input {
  display: none !important;
}

.account-auth__remember {
  min-height: 24px;
}

.store-page-content .account-auth .account-auth__remember label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #514b45;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.account-auth__remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #8c7256;
}

.account-auth__submit-row {
  margin-top: 24px !important;
}

.store-page-content .account-auth .account-auth__submit-row .button {
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 14px 20px;
  border: 1px solid #28241f;
  background: #28241f;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.store-page-content .account-auth .account-auth__submit-row .button:hover,
.store-page-content .account-auth .account-auth__submit-row .button:focus-visible {
  background: #8c7256;
  border-color: #8c7256;
  color: #fff;
}

.account-auth__switch {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid #dfd9d0;
  color: #665f58;
  font-size: 12px;
  line-height: 1.7;
}

.account-auth__switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #7c654e;
  font: 500 12px/1.5 inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.account-auth .anaduran-register-benefit {
  margin-top: 12px;
}

.account-auth__benefit {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 22px 0 24px;
  padding: 15px 16px;
  background: #eee9e2;
}

.account-auth__benefit strong {
  flex: none;
  color: #8c7256;
  font-size: 27px;
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1;
}

.account-auth__benefit span,
.account-auth__password-notice,
.account-auth__privacy,
.account-auth .woocommerce-privacy-policy-text {
  color: #696159;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.75;
}

.account-auth__password-notice {
  margin: -6px 0 18px;
}

.account-auth__marketing {
  margin: 4px 0 20px;
  padding: 15px 16px;
  background: #eee9e2;
}

.account-auth__marketing label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #403a34;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
  cursor: pointer;
}

.account-auth__marketing input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #8c7256;
}

.account-auth__marketing small {
  display: block;
  margin: 8px 0 0 26px;
  color: #756d65;
  font-size: 10px;
  line-height: 1.55;
}

.account-auth .woocommerce-privacy-policy-text {
  display: none;
}

.account-auth__privacy {
  margin: 18px 0 0;
}

.account-auth__privacy a,
.account-auth__help a,
.account-auth__back {
  color: #7c654e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-auth__help {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin: 32px 0 0;
  color: #777068;
  font-size: 11px;
  line-height: 1.6;
}

.account-auth--recovery .account-auth__panel {
  padding-top: 0;
}

.account-auth--recovery .account-auth__form {
  margin-top: 28px;
}

.account-auth--reset .account-auth__form {
  margin-top: 28px;
}

.account-auth--reset .woocommerce-password-strength,
.account-auth--reset .woocommerce-password-hint {
  color: #696159;
  font-size: 11px;
  line-height: 1.6;
}

.account-auth--reset .woocommerce-password-strength {
  margin-top: 8px;
  padding: 7px 10px;
  border: 0;
  background: #eee9e2;
  text-align: left;
}

.account-auth__back {
  display: inline-block;
  min-height: 44px;
  margin-top: 2px;
  padding: 12px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
}

@media (max-width: 820px) {
  .store-page-content--account-auth {
    min-height: 0;
    padding: 34px 20px 66px;
  }

  .store-page-content--account-auth > .woocommerce {
    width: 100%;
  }

  .account-auth__panel {
    padding-top: 26px;
  }

  .account-auth__panel h1 {
    font-size: 30px;
  }

  .account-auth__tabs {
    gap: 24px;
  }

  .account-auth__field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 360px) {
  .store-page-content--account-auth {
    padding-right: 16px;
    padding-left: 16px;
  }

  .account-auth__tab {
    letter-spacing: .11em;
  }
}
