/* Tras un envío, el servidor imprime el modal del plugin ya visible (woo-login-popup-sc-show) y se vería con su diseño original hasta que auth-ui.js lo reorganiza (.cca-auth-popup-modal). Se oculta hasta entonces; si el JS no llega a aplicarse, se muestra pasados 2 s. */
body .woo-login-popup-sc-modal:not(.cca-auth-popup-modal) {
  animation: cca-auth-modal-fallback 0s linear 2s forwards;
  visibility: hidden;
}

@keyframes cca-auth-modal-fallback {
  to { visibility: visible; }
}

.cca-auth-side {
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 470px;
  padding: 38px 34px;
  text-align: left;
}

.cca-auth-side__bottom {
  margin-top: 64px;
  text-align: left;
  width: 100%;
}

.cca-auth-side__logo {
  display: block;
  height: auto;
  max-width: 132px;
  width: 100%;
  filter: brightness(0) invert(1);
}

.cca-auth-side__title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 14px;
  text-align: left;
}

.cca-auth-side__copy {
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
  max-width: 220px;
  text-align: left;
}

.cca-auth-eyebrow {
  color: #555;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.cca-auth-title {
  color: #000;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px;
}

.cca-auth-subtitle {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  margin: 16px 0 14px;
}

.cca-auth-helper-link {
  color: #111;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.cca-auth-helper-link:hover,
.cca-auth-helper-link:focus {
  color: #000;
  text-decoration: underline;
}

.cca-auth-login-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 12px 0 2px;
}

.cca-auth-login-meta label {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  margin: 0;
}

.cca-auth-login-meta input[type="checkbox"] {
  height: 12px;
  margin: 0;
  width: 12px;
}

.cca-auth-register-link {
  color: #555;
  font-size: 10px;
  margin-top: 14px !important;
  text-align: center;
}

.cca-auth-register-link a {
  color: #111 !important;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.cca-auth-register-link a:hover,
.cca-auth-register-link a:focus {
  text-decoration: underline;
}

.cca-auth-popup-modal .cca-auth-side__title,
.cca-auth-register-layout .cca-auth-side__title {
  text-align: left !important;
}

.cca-auth-popup-modal .cca-auth-side__copy,
.cca-auth-register-layout .cca-auth-side__copy {
  text-align: left !important;
}

.cca-auth-hidden {
  display: none !important;
}

body.cca-auth-register-page h1:not(.cca-auth-title) {
  display: none !important;
}

body.cca-auth-register-page .cca-auth-template-title,
body.cca-auth-register-page .entry-title:not(.cca-auth-title),
body.cca-auth-register-page .page-title:not(.cca-auth-title) {
  display: none !important;
}

body.cca-auth-register-page .b-page {
  padding-top: 14px !important;
}

body.cca-auth-register-page .b-page > .container {
  max-width: none;
}

body.cca-auth-register-page main.wrap.main > .hero.py-100:empty {
  display: none !important;
}

body.cca-auth-register-page .b-wysiwyg {
  align-items: flex-start !important;
  padding-bottom: 56px !important;
  padding-top: 24px !important;
}

body.cca-auth-register-page .b-wysiwyg > .container {
  margin-top: 0 !important;
  max-width: none;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal {
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28) !important;
  font-family: inherit !important;
  max-width: 980px !important;
  overflow: visible !important;
  width: calc(100% - 48px) !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal input,
body .woo-login-popup-sc-modal.cca-auth-popup-modal button,
body .woo-login-popup-sc-modal.cca-auth-popup-modal select,
body .woo-login-popup-sc-modal.cca-auth-popup-modal textarea,
.cca-auth-register-layout input,
.cca-auth-register-layout button,
.cca-auth-register-layout select,
.cca-auth-register-layout textarea {
  font-family: inherit !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc-modal-inner {
  display: block !important;
  width: 100%;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc-left {
  background: #fff !important;
  display: grid !important;
  float: none !important;
  grid-template-columns: minmax(300px, 36%) minmax(0, 1fr);
  min-height: 560px;
  padding: 0 !important;
  text-align: left !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc-bg {
  display: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc-close {
  background: transparent !important;
  border-radius: 0 !important;
  height: 28px !important;
  right: 14px !important;
  top: 14px !important;
  width: 28px !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc-close a {
  height: 22px !important;
  margin: 0 !important;
  width: 22px !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc-close a::before,
body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc-close a::after {
  background: #777 !important;
}

.cca-auth-popup-main {
  align-self: center;
  box-sizing: border-box;
  justify-self: center;
  max-width: 560px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 46px 72px;
  width: 100%;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-open] {
  max-height: calc(100dvh - 56px); /* auth-ui.js lo ubica a 28 px del borde: 28 px arriba y 28 px abajo */
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

@media (max-width: 699px) {
  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-open] {
    max-height: calc(100dvh - 40px); /* en móvil el JS lo ubica a 20 px */
  }
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-popup-main {
  align-self: stretch;
  max-width: 640px;
  padding-bottom: 42px;
  padding-left: 54px;
  padding-right: 54px;
  padding-top: 42px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc > h2 {
  display: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal form.login,
body .woo-login-popup-sc-modal.cca-auth-popup-modal form.lost_reset_password,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register form {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register form,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-user-forms,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-register-user {
  max-width: none !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register form > ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-register-grid {
  column-gap: 18px;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 0;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-register-grid > * {
  grid-column: 1 / -1;
  min-width: 0;
  order: 90;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-register-grid > .cca-auth-field-half {
  grid-column: auto;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-username {
  order: 10;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password {
  order: 20;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password-repeat {
  order: 30;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-first-name {
  order: 40;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-last-name {
  order: 41;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-email {
  order: 50;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-dni {
  order: 51;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-company {
  order: 70;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-address,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-city {
  order: 80;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal form.login p,
body .woo-login-popup-sc-modal.cca-auth-popup-modal form.lost_reset_password p,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register p,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .form-row,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-form-field {
  align-items: flex-start !important;
  clear: both;
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal label {
  color: #111 !important;
  display: block;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  margin: 0 0 6px !important;
  text-align: left !important;
  width: 100%;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register label:not(.woocommerce-form__label-for-checkbox),
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-form-field label:not(.wppb-checkboxes label, .wppb-radios label) {
  align-self: flex-start !important;
  color: #111 !important;
  display: block !important;
  float: none !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  margin: 0 0 6px !important;
  max-width: none !important;
  padding: 0 !important;
  text-align: left !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-auth-login-meta label {
  display: inline-flex !important;
  flex: 0 0 auto;
  margin: 0 !important;
  width: auto;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-auth-login-meta .cca-auth-helper-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal input[type="text"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal input[type="password"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal input[type="email"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register input[type="date"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register input[type="number"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register input[type="tel"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register input[type="url"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register select,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register textarea {
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  color: #111 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  height: 36px !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  padding: 8px 11px 6px !important;
  text-align: left !important;
  vertical-align: top !important;
  width: 100% !important;
}

/* Ojo del login: misma posición (12px de padding de la caja + 4px, centrado en el input), tamaño e iconos que el del registro (ver más abajo wppb-toggle-pw). */
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-login form.login .cca-v2__field {
  position: relative;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-login form.login .cca-v2__field input[type="password"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-login form.login .cca-v2__field input[name="password"] {
  padding-right: 36px !important;
}

/* WooCommerce agrega su propio botón de mostrar contraseña con JS en sus páginas (p. ej. /item/), después de nuestro script: se oculta por CSS para que no ocupe lugar ni duplique el ojo. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal .show-password-input {
  display: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-auth-password-toggle {
  position: absolute;
  right: 16px;
  top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  box-shadow: none;
  background: transparent !important;
  cursor: pointer;
  outline: none;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-auth-password-toggle::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: var(--cca-v2-gray-800);
  -webkit-mask: url("../../../../plugins/profile-builder/assets/images/eye-off-outline.svg") center / contain no-repeat;
  mask: url("../../../../plugins/profile-builder/assets/images/eye-off-outline.svg") center / contain no-repeat;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-auth-password-toggle.cca-auth-password-visible::before {
  -webkit-mask-image: url("../../../../plugins/profile-builder/assets/images/eye-outline.svg");
  mask-image: url("../../../../plugins/profile-builder/assets/images/eye-outline.svg");
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register textarea {
  height: auto !important;
  min-height: 84px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register input[type="date"] {
  min-height: 36px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password .wppb-description-delimiter {
  display: block !important;
  float: none !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
  margin: 5px 0 0 !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password #pass-strength-result {
  background: transparent;
  border: 1px solid var(--cca-v2-gray-600);
  border-radius: var(--cca-v2-radius);
  box-sizing: border-box;
  clear: both;
  color: var(--cca-v2-gray-800);
  float: none !important;
  font-family: var(--cca-v2-font-text);
  font-size: var(--cca-v2-type-small);
  font-style: italic;
  font-weight: var(--cca-v2-weight-light);
  display: block; /* En línea, su relleno invadía el espacio de abajo y sus márgenes se ignoraban. */
  height: auto;
  line-height: 1.4;
  margin: var(--cca-v2-grid-gap, 8px) 0 0 !important;
  max-width: 100%;
  padding: var(--cca-v2-space-4) 12px;
  text-align: left;
  width: fit-content;
}

/* Niveles del medidor de Profile Builder, con los colores del plugin: muy débil (rojo), débil (naranja), medio (amarillo) y fuerte (verde). "Muy débil" también cubre la contraseña que no coincide. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password #pass-strength-result:is(.short, .bad, .good, .strong) {
  color: var(--cca-v2-black);
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password #pass-strength-result.short {
  background: #ffa0a0;
  border-color: #f04040;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password #pass-strength-result.bad {
  background: #ffb78c;
  border-color: #ff853c;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password #pass-strength-result.good {
  background: #ffec8b;
  border-color: #fc0;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-field-password #pass-strength-result.strong {
  background: #c3ff88;
  border-color: #8dff1c;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .password-input,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wp-pwd,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-password-input-wrapper,
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-form-field-wrapper {
  box-sizing: border-box !important;
  display: block !important;
  float: none !important;
  max-width: none !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .woocommerce-plogin {
  display: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-eyebrow {
  display: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal input[type="submit"],
body .woo-login-popup-sc-modal.cca-auth-popup-modal .woocommerce-Button,
.cca-auth-register-layout .wppb-user-forms input[type="submit"] {
  background: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  color: #fff !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  height: 42px !important;
  line-height: 1 !important;
  margin: 18px 0 0 !important;
  max-width: none !important;
  padding: 0 18px !important;
  text-align: center !important;
  text-transform: uppercase;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal form.login .form-row {
  max-width: none !important;
  text-align: left !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal form.login p.text-center {
  max-width: none !important;
  text-align: center !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal input[type="submit"]:hover,
body .woo-login-popup-sc-modal.cca-auth-popup-modal .woocommerce-Button:hover,
.cca-auth-register-layout .wppb-user-forms input[type="submit"]:hover {
  background: #222 !important;
  border-color: #222 !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-divider {
  display: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-social-login {
  margin: 0 0 18px !important;
  text-align: left !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-social-login .nsl-container,
body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-social-login .nsl-container-buttons {
  display: block !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .nsl-button {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #111 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111 !important;
  display: flex !important;
  height: 38px !important;
  justify-content: center !important;
  max-width: none !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .nsl-button-label-container {
  color: #111 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-turnstile {
  justify-content: center !important;
  margin: 14px 0 !important;
  transform: scale(.86);
  transform-origin: center top;
  width: 100%;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woocommerce-LostPassword,
body .woo-login-popup-sc-modal.cca-auth-popup-modal .woocommerce-plogin {
  color: #555 !important;
  font-size: 10px !important;
  margin: 14px 0 0 !important;
  text-align: center !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woocommerce-LostPassword a,
body .woo-login-popup-sc-modal.cca-auth-popup-modal .woocommerce-plogin a {
  color: #111 !important;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .woocommerce-LostPassword a:hover,
body .woo-login-popup-sc-modal.cca-auth-popup-modal .woocommerce-plogin a:hover {
  text-decoration: underline !important;
}

.cca-auth-register-layout {
  background: #fff;
  display: grid;
  font-family: inherit;
  grid-template-columns: minmax(290px, 34%) minmax(0, 1fr);
  margin: 0 auto 70px;
  max-width: 960px;
  min-height: 720px;
  width: min(calc(100% - 48px), 960px);
}

.cca-auth-register-layout .cca-auth-side {
  min-height: 100%;
}

.cca-auth-register-main {
  padding: 38px 70px 42px;
}

.cca-auth-register-main > .cca-auth-eyebrow {
  display: none;
}

.cca-auth-register-main .cca-auth-title {
  margin-bottom: 18px;
}

.cca-auth-register-layout .wppb-user-forms,
.cca-auth-register-layout .wppb-register-user {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.cca-auth-register-layout .wppb-user-forms > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cca-auth-register-layout .wppb-form-field {
  align-items: flex-start !important;
  clear: both;
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

.cca-auth-register-layout .wppb-form-field label:not(.wppb-checkboxes label, .wppb-radios label),
.cca-auth-register-layout .wppb-send-credentials-checkbox label {
  color: #111 !important;
  display: block;
  float: none !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  margin: 0 0 6px !important;
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.cca-auth-register-layout .wppb-form-field input[type="text"],
.cca-auth-register-layout .wppb-form-field input[type="number"],
.cca-auth-register-layout .wppb-form-field input[type="email"],
.cca-auth-register-layout .wppb-form-field input[type="date"],
.cca-auth-register-layout .wppb-form-field input[type="tel"],
.cca-auth-register-layout .wppb-form-field input[type="url"],
.cca-auth-register-layout .wppb-form-field input[type="password"],
.cca-auth-register-layout .wppb-form-field select,
.cca-auth-register-layout .wppb-form-field textarea {
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  color: #111 !important;
  font-size: 12px !important;
  height: 36px !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  padding: 8px 11px 6px !important;
  text-align: left !important;
  vertical-align: top !important;
  width: 100% !important;
}

.cca-auth-register-layout .wppb-form-field textarea {
  height: auto !important;
  min-height: 84px;
}

.cca-auth-register-layout .wppb-form-field .password-input,
.cca-auth-register-layout .wppb-form-field .wp-pwd,
.cca-auth-register-layout .wppb-form-field .wppb-password-input-wrapper {
  display: block !important;
  float: none !important;
  max-width: none !important;
  width: 100% !important;
}

.cca-auth-register-layout .wppb-form-field .password-input input[type="password"],
.cca-auth-register-layout .wppb-form-field .wp-pwd input[type="password"],
.cca-auth-register-layout .wppb-form-field .wppb-password-input-wrapper input[type="password"] {
  width: 100% !important;
}

.cca-auth-register-layout .cca-auth-register-password-row .cca-auth-register-password-control,
.cca-auth-register-layout .cca-auth-register-password-row .password-input,
.cca-auth-register-layout .cca-auth-register-password-row .wp-pwd,
.cca-auth-register-layout .cca-auth-register-password-row .wppb-password-input-wrapper,
.cca-auth-register-layout .cca-auth-register-password-row .wppb-form-field-wrapper {
  display: block !important;
  float: none !important;
  max-width: none !important;
  width: 100% !important;
}

.cca-auth-register-layout .cca-auth-register-password-row input {
  box-sizing: border-box !important;
  display: block !important;
  float: none !important;
  max-width: none !important;
  width: 100% !important;
}

.cca-auth-register-layout .wppb-form-field input[type="text"],
.cca-auth-register-layout .wppb-form-field input[type="number"],
.cca-auth-register-layout .wppb-form-field input[type="email"],
.cca-auth-register-layout .wppb-form-field input[type="date"],
.cca-auth-register-layout .wppb-form-field input[type="tel"],
.cca-auth-register-layout .wppb-form-field input[type="url"],
.cca-auth-register-layout .wppb-form-field input[type="password"],
.cca-auth-register-layout .wppb-form-field select,
.cca-auth-register-layout .wppb-form-field textarea {
  display: block !important;
  float: none !important;
  max-width: none !important;
}

.cca-auth-register-layout .wppb-form-field input[type="checkbox"] {
  margin: 0 7px 0 0;
  vertical-align: middle;
}

.cca-auth-register-layout .wppb-form-error {
  color: #d1112b !important;
  display: block;
  font-size: 10px !important;
  font-family: var(--cca-v2-font-mono) !important;
  font-style: normal !important;
  line-height: 1.35;
  margin-top: 5px;
}

.cca-auth-register-layout .cca-turnstile-wrap {
  margin: 16px 0 !important;
  transform: scale(.9);
  transform-origin: left top;
}

.cca-auth-register-layout .form-submit,
.cca-auth-register-layout .submit {
  margin: 0 !important;
}

.cca-auth-login-link {
  color: #555;
  font-size: 10px;
  margin: 16px 0 0;
  text-align: center;
}

.cca-auth-login-link a {
  color: #111;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.cca-auth-login-link a:hover,
.cca-auth-login-link a:focus {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .cca-auth-register-layout {
    grid-template-columns: 1fr;
  }

  body.cca-auth-register-page .b-wysiwyg {
    padding-top: 18px !important;
  }

  .cca-auth-side {
    min-height: 250px;
  }

  .cca-auth-popup-main,
  .cca-auth-register-main {
    padding: 34px 26px 38px;
  }
}

@media (max-width: 700px) {
  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"],
  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"].woo-login-popup-sc-modal-on,
  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"].woo-login-popup-sc-show {
    bottom: auto !important;
    height: calc(100vh - 20px) !important;
    height: calc(100dvh - 20px) !important;
    left: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    right: 10px !important;
    top: 10px !important;
    width: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal .woo-login-popup-sc-left {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-auth-popup-main {
    max-height: none;
    overflow: visible;
    padding: 28px 28px 36px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-popup-main {
    max-width: none;
    padding: 24px 28px 36px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-side {
    box-sizing: border-box;
    min-height: 0;
    padding: 20px 30px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-side__logo {
    max-width: 108px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-side__bottom {
    margin-top: 28px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-side__title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-register-grid {
    grid-template-columns: 1fr;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-auth-register-grid > .cca-auth-field-half {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  body .woo-login-popup-sc-modal.cca-auth-popup-modal {
    width: calc(100% - 16px) !important;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"],
  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"].woo-login-popup-sc-modal-on,
  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"].woo-login-popup-sc-show {
    height: calc(100vh - 16px) !important;
    height: calc(100dvh - 16px) !important;
    left: 8px !important;
    right: 8px !important;
    top: 8px !important;
    width: auto !important;
  }

  .cca-auth-side {
    padding: 30px 24px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-side {
    padding: 18px 24px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-side__logo {
    max-width: 98px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-side__bottom {
    margin-top: 24px;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] .cca-auth-popup-main {
    padding: 20px 24px 32px;
  }

  .cca-auth-side__title {
    font-size: 28px;
  }

  .cca-auth-login-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Login, recuperación y registro: modal a una columna (diseños "Inicio sesión", "Contraseña" y "Registrate"). */
body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) {
  border-radius: var(--cca-v2-radius, 6px) !important;
  max-width: 589px !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .woo-login-popup-sc-left {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-side {
  display: none;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-popup-main {
  align-self: stretch;
  max-height: none;
  max-width: none;
  overflow: visible;
  padding: 24px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .woo-login-popup-sc-close {
  height: 40px !important;
  right: 8px !important;
  top: 8px !important;
  width: 40px !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .woo-login-popup-sc-close a {
  height: 40px !important;
  width: 40px !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .woo-login-popup-sc-close a::before,
body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .woo-login-popup-sc-close a::after {
  background: var(--cca-v2-black, #000) !important;
  height: 1.5px;
  margin-top: -.75px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-panel-heading .cca-auth-eyebrow {
  display: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-title--hero {
  color: var(--cca-v2-black, #000);
  font-family: var(--cca-v2-font-headline, Arial, sans-serif);
  font-size: var(--cca-v2-type-h3, 70px);
  font-weight: var(--cca-v2-weight-medium, 500);
  letter-spacing: var(--cca-v2-tracking-h3, -.02em);
  line-height: .95;
  margin: 0;
  padding: 36px 0 60px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-subtitle {
  color: var(--cca-v2-black, #000);
  font-family: var(--cca-v2-font-headline, Arial, sans-serif);
  font-size: 32px;
  font-weight: var(--cca-v2-weight-regular, 400);
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 40px;
}

/* Campos y casilla: componentes del design system (.cca-v2__field, .cca-v2__label, .cca-v2__input e input[type="checkbox"]).
   El plugin y las reglas anteriores del modal los pisan con !important; acá se devuelven los valores del componente. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) form:is(.login, .lost_reset_password) p.cca-v2__field {
  display: flex !important;
  margin: 0 0 var(--cca-v2-grid-gap) !important;
  padding: var(--cca-v2-space-8) 12px !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) form:is(.login, .lost_reset_password) p.cca-v2__field > label.cca-v2__label {
  color: var(--cca-v2-gray-800) !important;
  font-size: var(--cca-v2-type-label) !important;
  font-weight: var(--cca-v2-weight-medium) !important;
  margin: 0 !important;
  width: auto !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) form:is(.login, .lost_reset_password) input.cca-v2__input {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--cca-v2-black) !important;
  font-family: var(--cca-v2-font-text) !important;
  font-size: var(--cca-v2-type-body) !important;
  font-weight: var(--cca-v2-weight-light) !important;
  height: auto !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) form:is(.login, .lost_reset_password) input.cca-v2__input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--cca-v2-gray-200) inset !important;
  -webkit-text-fill-color: var(--cca-v2-black) !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-meta {
  justify-content: flex-start;
  margin: 38px 0 0;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-meta label.cca-v2__label {
  color: var(--cca-v2-black) !important;
  cursor: pointer;
  font-size: var(--cca-v2-type-label) !important;
  font-weight: var(--cca-v2-weight-medium) !important;
  gap: var(--cca-v2-space-8);
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-meta input[type="checkbox"] {
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' stroke='black'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important;
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-meta input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' stroke='black'/%3E%3Cpath d='M12.416 3.37604C12.7607 3.60581 12.8538 4.07146 12.624 4.4161L7.62404 11.9161C7.4994 12.1031 7.2975 12.2243 7.0739 12.2464C6.8503 12.2686 6.62855 12.1893 6.46967 12.0304L3.46967 9.03041C3.17678 8.73752 3.17678 8.26264 3.46967 7.96975C3.76256 7.67686 4.23744 7.67686 4.53033 7.96975L6.88343 10.3229L11.376 3.58405C11.6057 3.23941 12.0714 3.14628 12.416 3.37604Z' fill-rule='evenodd' clip-rule='evenodd' fill='black'/%3E%3C/svg%3E") !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--cca-v2-space-16, 16px);
  margin: 38px 0 0;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions > p:is(.text-center, .form-row) {
  margin: 0 !important;
  text-align: left !important;
  width: auto !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions input.cca-v2__button {
  background: var(--cca-v2-ink) !important;
  border: 1px solid var(--cca-v2-ink) !important;
  border-radius: var(--cca-v2-radius-pill) !important;
  color: var(--cca-v2-surface) !important;
  display: inline-flex !important;
  font-family: var(--cca-v2-font-mono) !important;
  font-size: var(--cca-v2-type-label) !important;
  font-weight: var(--cca-v2-weight-medium) !important;
  height: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 15px !important;
  width: auto !important;
}

@media (hover: hover) {
  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions input.cca-v2__button:hover {
    background: transparent !important;
    color: var(--cca-v2-ink) !important;
  }
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .cca-social-login {
  margin: 0 !important;
  width: auto;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-container,
body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-container-buttons {
  display: block !important;
  width: auto !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-container a {
  text-decoration: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-button.cca-v2__button {
  align-items: center !important;
  background: transparent !important;
  border: 1px solid var(--cca-v2-ink) !important;
  border-radius: var(--cca-v2-radius-pill) !important;
  box-shadow: none !important;
  color: var(--cca-v2-ink) !important;
  display: inline-flex !important;
  gap: var(--cca-v2-space-8) !important;
  height: auto !important;
  justify-content: center !important;
  max-width: none !important;
  padding: 11px 15px !important; /* con el ícono de 20 px, mide los mismos 44 px que "Ingresar" */
  width: auto !important;
}

@media (hover: hover) {
  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-button.cca-v2__button:hover {
    background: var(--cca-v2-ink) !important;
    color: var(--cca-v2-surface) !important;
  }
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-button-svg-container {
  display: flex !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-button-label-container {
  color: inherit !important;
  font-family: var(--cca-v2-font-mono) !important;
  font-size: var(--cca-v2-type-label) !important;
  font-weight: var(--cca-v2-weight-medium) !important;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: uppercase !important;
}

/* El foco lo recibe el enlace; se dibuja sobre el botón como en el design system. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-container a:focus-visible {
  outline: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-container a:focus-visible .nsl-button {
  box-shadow: 0 0 0 3px var(--cca-v2-surface) !important;
  outline: 2px solid var(--cca-v2-ink);
  outline-offset: 3px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-links {
  align-items: center;
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 40px 0 0 !important;
  text-align: left !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-links a {
  color: var(--cca-v2-black, #000) !important;
  font-family: var(--cca-v2-font-mono, "Courier New", monospace);
  font-size: var(--cca-v2-type-label, 12px);
  font-weight: var(--cca-v2-weight-medium, 500);
  letter-spacing: 0;
  line-height: 1;
  text-decoration: underline solid !important;
  text-decoration-skip-ink: auto;
  text-transform: uppercase;
  text-underline-offset: 20%;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-links a:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 520px) {
  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-meta {
    align-items: center;
    flex-direction: row;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions > p:is(.text-center, .form-row),
  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions input[type="submit"],
  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) .cca-auth-login-actions .nsl-button.cca-v2__button {
    display: flex !important;
    width: 100% !important;
  }
}

/* Registro: el formulario es de Profile Builder y las reglas anteriores del modal usan #woo-login-popup-sc-register con !important;
   por eso estos ajustes llevan el mismo id. Campos, casilla y botón son los componentes del design system. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-register-grid {
  grid-template-columns: minmax(0, 1fr);
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-register-grid > .cca-auth-field-half {
  grid-column: 1 / -1;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-field-dni {
  order: 50;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-field-email {
  order: 51;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .wppb-form-field.cca-v2__form-field {
  margin: 0 0 var(--cca-v2-grid-gap) !important;
}

/* Todas las filas del registro, la misma separación: cualquier fila de la grilla (campos, casilla, aviso de un plugin) deja el mismo espacio debajo, y las que no tienen contenido no ocupan lugar. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-register-grid > * {
  margin: 0 0 var(--cca-v2-grid-gap) !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-register-grid > :is(:empty, [hidden], .cca-auth-hidden) {
  display: none !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-v2__field label.cca-v2__label {
  color: var(--cca-v2-gray-800) !important;
  display: block !important;
  float: none !important;
  font-size: var(--cca-v2-type-label) !important;
  font-weight: var(--cca-v2-weight-medium) !important;
  line-height: 1;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: auto !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-v2__field .cca-v2__input {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--cca-v2-black) !important;
  display: block !important;
  float: none !important;
  font-family: var(--cca-v2-font-text) !important;
  font-size: var(--cca-v2-type-body) !important;
  font-weight: var(--cca-v2-weight-light) !important;
  height: auto !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  vertical-align: baseline !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-v2__field textarea.cca-v2__input {
  field-sizing: content;
  min-height: 1.4em !important;
  resize: none;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-v2__field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--cca-v2-gray-200) inset !important;
  -webkit-text-fill-color: var(--cca-v2-black) !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-v2__form-field .wppb-description-delimiter {
  color: var(--cca-v2-gray-600) !important;
  display: block !important;
  float: none !important;
  font-family: var(--cca-v2-font-text) !important;
  font-size: var(--cca-v2-type-small) !important;
  font-weight: var(--cca-v2-weight-light) !important;
  line-height: 1.4 !important;
  margin: var(--cca-v2-grid-gap) 0 0 !important;
  width: 100% !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-login-meta {
  align-items: center !important;
  display: flex !important;
  margin: calc(38px - var(--cca-v2-grid-gap)) 0 0 !important; /* en la grilla no se fusionan los márgenes: se descuentan los 8 px del último campo */
  padding: 0 !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-login-meta label.cca-v2__label {
  color: var(--cca-v2-black) !important;
  cursor: pointer;
  display: inline-flex !important;
  font-size: var(--cca-v2-type-label) !important;
  font-weight: var(--cca-v2-weight-medium) !important;
  gap: var(--cca-v2-space-8);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 !important;
  text-transform: uppercase;
  width: auto !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-login-meta input[type="checkbox"] {
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' stroke='black'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important;
  flex: 0 0 16px;
  height: 16px;
  margin: 0 !important;
  width: 16px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-login-meta input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' stroke='black'/%3E%3Cpath d='M12.416 3.37604C12.7607 3.60581 12.8538 4.07146 12.624 4.4161L7.62404 11.9161C7.4994 12.1031 7.2975 12.2243 7.0739 12.2464C6.8503 12.2686 6.62855 12.1893 6.46967 12.0304L3.46967 9.03041C3.17678 8.73752 3.17678 8.26264 3.46967 7.96975C3.76256 7.67686 4.23744 7.67686 4.53033 7.96975L6.88343 10.3229L11.376 3.58405C11.6057 3.23941 12.0714 3.14628 12.416 3.37604Z' fill-rule='evenodd' clip-rule='evenodd' fill='black'/%3E%3C/svg%3E") !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-login-actions > :is(p, li) {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register .cca-auth-login-links {
  display: flex !important;
  margin: 40px 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Avisos de WooCommerce y de Profile Builder dentro del modal: el mismo aviso del carrito, la cuenta y la ficha (píldora con borde negro y círculo con "!"). */
body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error) {
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  width: auto;
  margin: 0 0 var(--cca-v2-space-16);
  padding: 8px 16px;
  border: 1px solid var(--cca-v2-black);
  border-radius: 50px;
  list-style: none;
  color: var(--cca-v2-black);
  background: transparent;
  font-size: var(--cca-v2-type-small);
  font-style: normal;
  line-height: 1.4;
  text-align: left;
  position: static;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error)::before {
  content: none;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error) li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error).woocommerce-error li::before {
  content: "!";
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  height: 20px;
  border-radius: 50%;
  color: var(--cca-v2-white);
  background: var(--cca-v2-black);
  font-family: var(--cca-v2-font-mono);
  font-size: var(--cca-v2-type-tag);
  line-height: 1;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error):is(.woocommerce-message, .woocommerce-info) {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error):is(.woocommerce-message, .woocommerce-info)::before {
  content: "i";
  position: static;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 50%;
  color: var(--cca-v2-white);
  background: var(--cca-v2-black);
  font-family: var(--cca-v2-font-mono);
  font-size: var(--cca-v2-type-tag);
  line-height: 1;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error).woocommerce-message::before {
  content: "\2713";
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error).wppb-error {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal .cca-v2 form > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info, p.wppb-error).wppb-error::before {
  content: "!";
  position: static;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 50%;
  color: var(--cca-v2-white);
  background: var(--cca-v2-black);
  font-family: var(--cca-v2-font-mono);
  font-size: var(--cca-v2-type-tag);
  line-height: 1;
}

/* Error por campo de Profile Builder: texto rojo bajo el campo, sin la línea punteada de su CSS. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-form-field > span.wppb-form-error {
  display: block;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  color: #d1112b;
  font-size: 10px;
  font-family: var(--cca-v2-font-mono);
  font-style: normal;
  line-height: 1.35;
  text-align: left;
}

/* La contraseña de Profile Builder envuelve etiqueta e input en .wppb-password-subfield; sin esto pierde el espacio etiqueta-input de .cca-v2__field y la caja queda más baja que las demás. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-v2__field .wppb-password-subfield {
  display: flex;
  flex-direction: column;
  gap: var(--cca-v2-space-4);
}

/* Ojo de mostrar/ocultar contraseña de Profile Builder. El plugin muestra el icono de la acción (ojo abierto = "mostrar"); aquí se muestra el estado: contraseña oculta = ojo tachado, contraseña visible = ojo abierto. Se pinta con el gris de las etiquetas mediante máscara, y el <img> del plugin se oculta. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-v2__field button.wppb-toggle-pw img {
  display: none;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-v2__field button.wppb-toggle-pw::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: var(--cca-v2-gray-800);
  -webkit-mask: url("../../../../plugins/profile-builder/assets/images/eye-off-outline.svg") center / contain no-repeat;
  mask: url("../../../../plugins/profile-builder/assets/images/eye-off-outline.svg") center / contain no-repeat;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .cca-v2__field button.wppb-toggle-pw.wppb-hide-pw::before {
  -webkit-mask-image: url("../../../../plugins/profile-builder/assets/images/eye-outline.svg");
  mask-image: url("../../../../plugins/profile-builder/assets/images/eye-outline.svg");
}

/* Login y recuperación: campo vacío marcado antes de enviar. La fila .cca-v2__field es la caja gris (el foco usa outline), y el mensaje va debajo, como los errores del registro. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal form:is(.login, .lost_reset_password) .cca-v2__field.cca-auth-field-error {
  margin-bottom: 0 !important;
  outline: 1px solid #d1112b;
  outline-offset: 0;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal form:is(.login, .lost_reset_password) .cca-auth-error-text {
  color: #d1112b;
  display: block;
  font-size: 10px;
  font-family: var(--cca-v2-font-mono);
  font-style: normal;
  line-height: 1.35;
  margin: 6px 0 var(--cca-v2-grid-gap);
  text-align: left;
}

/* Profile Builder pinta la fila con error de rosa y con borde punteado (con !important): se anula, el error ya se marca en la caja del campo. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-form-field.wppb-field-error {
  background: transparent !important;
  border: 0 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

/* Campo con error: borde rojo en la caja gris del campo (.cca-v2__field, que marca el foco con outline). El JS quita el span del error al editar, y con él el borde. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register .wppb-form-field:has(> span.wppb-form-error) .cca-v2__field {
  outline: 1px solid #d1112b;
  outline-offset: 0;
}

/* En el registro, las reglas anteriores del panel (#woo-login-popup-sc-register p) fuerzan display, margen y relleno con !important. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal[data-cca-auth-mode="register"] #woo-login-popup-sc-register form > p.wppb-error {
  align-items: center !important;
  display: flex !important;
  margin: 0 0 var(--cca-v2-space-16) !important;
  padding: 8px 16px !important;
}

/* Registro exitoso (Profile Builder no vuelve a imprimir el formulario): el mensaje de éxito va en la misma píldora de los avisos, con tilde, y el aviso de redirección como texto simple. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register.cca-auth-register-success p.wppb-success {
  align-items: center !important;
  background: transparent !important;
  border: 1px solid var(--cca-v2-black) !important;
  border-radius: 50px !important;
  box-sizing: border-box;
  color: var(--cca-v2-black) !important;
  display: flex !important;
  font-size: var(--cca-v2-type-small) !important;
  gap: 12px;
  line-height: 1.4;
  margin: 0 0 var(--cca-v2-space-16) !important;
  padding: 8px 16px !important;
  text-align: left;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register.cca-auth-register-success p.wppb-success::before {
  align-items: center;
  background: var(--cca-v2-black);
  border-radius: 50%;
  color: var(--cca-v2-white);
  content: "\2713";
  display: grid;
  flex: 0 0 20px;
  font-family: var(--cca-v2-font-mono);
  font-size: var(--cca-v2-type-tag);
  height: 20px;
  justify-content: center;
  line-height: 1;
  width: 20px;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register.cca-auth-register-success p.wppb-success strong {
  font-weight: var(--cca-v2-weight-medium, 500);
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register.cca-auth-register-success p.redirect_message {
  color: var(--cca-v2-gray-800);
  font-size: var(--cca-v2-type-small) !important;
  line-height: 1.4;
  margin: 0 !important;
  text-align: left;
}

body .woo-login-popup-sc-modal.cca-auth-popup-modal #woo-login-popup-sc-register.cca-auth-register-success p.redirect_message a {
  color: var(--cca-v2-black);
  text-decoration: underline;
}

/* Sin campos que enfocar (registro exitoso), el foco cae en el propio modal: sin contorno. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal:focus {
  outline: none;
}

/* Margen vertical de los modales de login, registro y recuperación: el mismo que el modal de edición de datos (assets/css/cca-v2-account.css). Arriba, 10 vh hasta 108 px, y abajo la misma reserva (20 vh hasta 216 px); desde 767 px hacia abajo, 16 px arriba y abajo y a los lados. Pisa el top inline de auth-ui.js y la altura fija del registro en móvil. */
body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]) {
  max-height: calc(100dvh - min(20vh, 216px)) !important;
  top: min(10vh, 108px) !important;
}

@media (max-width: 767px) {
  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]),
  body .woo-login-popup-sc-modal.cca-auth-popup-modal:is([data-cca-auth-mode="login"], [data-cca-auth-mode="password"], [data-cca-auth-mode="register"]).woo-login-popup-sc-show {
    height: auto !important;
    left: 16px !important;
    max-height: calc(100dvh - 32px) !important;
    right: 16px !important;
    top: 16px !important;
  }
}
