/* =====================================================
   DATIA · My Account
   Minimal, emocional, sin ruido
===================================================== */

/* Botones solo en Mi cuenta */
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce input.button,
body.woocommerce-account .woocommerce .button {
  margin: 12px 0 0 0 !important;
  border-radius: 30px !important;
  width: 100% !important;
  color: #000 !important;
  font-family: 'Avenir', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  background-color: #D1C1AC !important;
  border: none !important;
  padding: 14px 20px !important;
}

body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce input.button:hover,
body.woocommerce-account .woocommerce .button:hover {
  background: #222 !important;
  color: #fff !important;
}

/* Quote */
body.woocommerce-account .quote {
  font-family: 'Playfair Display', ui-serif, Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--e-global-color-accent);
}

/* Forms */
body.woocommerce-account label {
  margin: 0 0 8px;
}

body.woocommerce-account input[type=date],
body.woocommerce-account input[type=email],
body.woocommerce-account input[type=number],
body.woocommerce-account input[type=password],
body.woocommerce-account input[type=search],
body.woocommerce-account input[type=tel],
body.woocommerce-account input[type=text],
body.woocommerce-account input[type=url],
body.woocommerce-account select,
body.woocommerce-account textarea {
  width: 100% !important;
  background: #F0F0F0 !important;
  color: #333 !important;
  border: 0 !important;
  border-radius: 18px !important;
  padding: 12px 20px;
  transition: all .3s;
}

body.woocommerce-account input[type=date]:focus-visible,
body.woocommerce-account input[type=email]:focus-visible,
body.woocommerce-account input[type=number]:focus-visible,
body.woocommerce-account input[type=password]:focus-visible,
body.woocommerce-account input[type=search]:focus-visible,
body.woocommerce-account input[type=tel]:focus-visible,
body.woocommerce-account input[type=text]:focus-visible,
body.woocommerce-account input[type=url]:focus-visible,
body.woocommerce-account select:focus-visible,
body.woocommerce-account textarea:focus-visible {
  outline-color: #d1c1ac;
}

/* Page background */
body.woocommerce-account {
  background-color: #F8F8F8;
  min-height: 80vh;
}

body.woocommerce-account #content {
  min-height: 80vh;
  width: 100%;
  padding: 60px 0;
}

body.woocommerce-account #content h1,
body.woocommerce-account #content h2 {
  margin: 0 0 10px;
}

/* Layout */
body.woocommerce-account .woocommerce {
  display: flex;
  flex-direction: column;
}

/* Login card */
body.woocommerce-account .woocommerce-form-login {
  border: 2px solid #D1C1AC !important;
  padding: 40px !important;
  margin: 0 auto !important;
  text-align: left;
  border-radius: 20px !important;
  background: #fff;
  width: 40% !important;
}

body.woocommerce-account .woocommerce form .form-row label {
  line-height: 1.2 !important;
}
body.woocommerce-account .woocommerce-orders-table a.button {
  width: auto !important;
  display: inline-block !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 0;
    background: #fff;
    border-radius: 25px;
}
.page-content a {
    text-decoration: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: right;
    width: 100%;
    padding: 30px;
    background: #fff;
    border-radius: 25px;
    margin: 12px 0px;
}

/* Responsive */
@media (max-width: 767px) {
  body.woocommerce-account .name {
    display: block !important;
  }
  body.woocommerce-account .mid-row {
    width: 100%;
    float: left;
  }

  /* Login card full width on mobile */
  body.woocommerce-account .woocommerce-form-login {
    width: 92% !important;
    padding: 24px !important;
  }
}

