/* Solo el acceso y registro de Mi cuenta. No afecta al checkout. */
body.woocommerce-account .tudtf-account-intro {
  max-width: 1080px;
  margin: 4px auto 27px;
  padding: 0 4px;
  text-align: center;
}

body.woocommerce-account .tudtf-account-intro__eyebrow {
  margin: 0 0 8px;
  color: #c90000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body.woocommerce-account .tudtf-account-intro h1 {
  margin: 0 0 9px;
  color: #202020;
  font-size: clamp(29px, 3.2vw, 42px);
  font-weight: 750;
  line-height: 1.13;
  letter-spacing: -.035em;
}

body.woocommerce-account .tudtf-account-intro p:last-child {
  margin: 0;
  color: #62656a;
  font-size: 16px;
  line-height: 1.5;
}

body.woocommerce-account #customer_login {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  width: min(100%, 1080px);
  max-width: 1080px;
  margin: 0 auto 54px !important;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
  display: none !important;
}

body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2 {
  float: none !important;
  display: flex;
  flex-direction: column;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 30px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(20, 20, 20, .045);
}

body.woocommerce-account #customer_login > .u-column1 {
  border-top: 4px solid #dc0000;
}

body.woocommerce-account #customer_login h2 {
  margin: 0 0 18px;
  color: #202020;
  font-size: 25px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.025em;
}

body.woocommerce-account #customer_login form.login,
body.woocommerce-account #customer_login form.register {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-account #customer_login form p.form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 17px;
  padding: 0;
}

body.woocommerce-account #customer_login form p.form-row label {
  display: block;
  margin-bottom: 7px;
  color: #303033;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

body.woocommerce-account #customer_login form input.input-text {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 11px 14px;
  color: #222;
  font-size: 16px;
  background: #fff;
  border: 1px solid #cfd2d5;
  border-radius: 10px;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}

body.woocommerce-account #customer_login form input.input-text:focus {
  border-color: #d00000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(208, 0, 0, .11);
}

body.woocommerce-account #customer_login form.login .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 1px 0 16px;
  color: #54575b;
  font-size: 14px;
  font-weight: 400;
}

body.woocommerce-account #customer_login form.login .woocommerce-form-login__rememberme input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #d00000;
}

body.woocommerce-account #customer_login form .woocommerce-button {
  display: block;
  float: none !important;
  width: 100%;
  min-height: 52px;
  margin: 0 !important;
  padding: 12px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  background: #d00000;
  border: 1px solid #d00000;
  border-radius: 10px;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}

body.woocommerce-account #customer_login form .woocommerce-button:hover,
body.woocommerce-account #customer_login form .woocommerce-button:focus-visible {
  color: #fff;
  background: #ae0000;
  border-color: #ae0000;
}

body.woocommerce-account #customer_login form .woocommerce-button:active {
  transform: translateY(1px);
}

body.woocommerce-account #customer_login form.login .lost_password {
  margin: 0;
  text-align: center;
  font-size: 14px;
}

body.woocommerce-account #customer_login form.login .lost_password a {
  color: #bc0000;
  font-weight: 600;
  text-decoration: none;
}

body.woocommerce-account #customer_login form.login .lost_password a:hover {
  text-decoration: underline;
}

body.woocommerce-account #customer_login form.register > p:not(.form-row),
body.woocommerce-account #customer_login form.register .woocommerce-privacy-policy-text {
  color: #62656a;
  font-size: 13px;
  line-height: 1.5;
}

body.woocommerce-account #customer_login form.register .woocommerce-privacy-policy-text p {
  margin: 0 0 16px;
}

body.woocommerce-account #customer_login form.register > p.form-row:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

body.woocommerce-account #customer_login a:focus-visible,
body.woocommerce-account #customer_login button:focus-visible {
  outline: 3px solid rgba(208, 0, 0, .32);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.woocommerce-account .tudtf-account-intro {
    margin: 0 auto 21px;
    padding: 0 3px;
    text-align: left;
  }

  body.woocommerce-account .tudtf-account-intro h1 {
    font-size: clamp(28px, 7.2vw, 34px);
  }

  body.woocommerce-account .tudtf-account-intro p:last-child {
    font-size: 15px;
  }

  body.woocommerce-account #customer_login {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 34px !important;
  }

  body.woocommerce-account #customer_login > .u-column1,
  body.woocommerce-account #customer_login > .u-column2 {
    padding: 22px 20px;
    border-radius: 15px;
  }

  body.woocommerce-account #customer_login h2 {
    margin-bottom: 17px;
    font-size: 22px;
  }
}
