.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}@media(max-width:1024px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );}}@media(max-width:767px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );}}/* Start custom CSS for html, class: .elementor-element-ad4c905 */.account-title-pro {
  max-width: 1100px;
  margin: 20px auto 0;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #143379;
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-52024283 *//* ========================= */
/* 🟣 MI CUENTA - LAYOUT */
/* ========================= */

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
}

/* ========================= */
/* 🟣 MENÚ IZQUIERDA */
/* ========================= */

.woocommerce-MyAccount-navigation {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 8px;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  transition: all 0.25s ease;
}

/* hover */
.woocommerce-MyAccount-navigation a:hover {
  background: rgba(20,51,121,0.05);
  color: #143379;
}

/* activo */
.woocommerce-MyAccount-navigation .is-active a {
  background: #143379;
  color: #fff;
}

/* ========================= */
/* 🟣 CONTENIDO */
/* ========================= */

.woocommerce-MyAccount-content {
  background: #fff;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* título */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  color: #143379;
  font-weight: 500;
  margin-bottom: 15px;
}

/* texto */
.woocommerce-MyAccount-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* enlaces dentro */
.woocommerce-MyAccount-content a {
  color: #c7a87a;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.woocommerce-MyAccount-content a:hover {
  opacity: 0.7;
}

/* ========================= */
/* 🟣 MENSAJE BIENVENIDA */
/* ========================= */

.woocommerce-MyAccount-content p:first-child {
  font-size: 15px;
  margin-bottom: 15px;
}

/* ========================= */
/* 🟣 ANIMACIÓN SUTIL */
/* ========================= */

.woocommerce-account .woocommerce {
  animation: fadeAccount 0.6s ease;
}

@keyframes fadeAccount {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* 📱 MOBILE */
/* ========================= */

@media (max-width: 767px) {

  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px auto;
    padding: 0 15px;
  }

  .woocommerce-MyAccount-navigation {
    padding: 15px;
  }

  /* menú horizontal */
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    gap: 10px;
  }

  .woocommerce-MyAccount-navigation li {
    margin: 0;
  }

  .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 10px;
  }

  .woocommerce-MyAccount-content {
    padding: 20px;
  }

}
/* ========================= */
/* 🟣 FIX LAYOUT REAL */
/* ========================= */

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start; /* 🔥 clave */
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
}

/* evitar que el contenido baje raro */
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  align-self: start;
}

/* ========================= */
/* 🟣 CONTENIDO MEJOR ALINEADO */
/* ========================= */

.woocommerce-MyAccount-content {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 🔥 centra verticalmente el mensaje */
}

/* mejorar ancho del texto */
.woocommerce-MyAccount-content p {
  max-width: 500px;
}

/* ========================= */
/* 🟣 MENÚ MÁS FIRME */
/* ========================= */

.woocommerce-MyAccount-navigation {
  position: sticky;
  top: 120px; /* se queda visible al hacer scroll */
}

/* ========================= */
/* 🟣 MICRO UX */
/* ========================= */

.woocommerce-MyAccount-navigation a {
  position: relative;
}

/* línea elegante al hover */
.woocommerce-MyAccount-navigation a::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: #c7a87a;
  transition: width 0.3s ease;
}

.woocommerce-MyAccount-navigation a:hover::after {
  width: 20px;
}

/* ========================= */
/* 📱 MOBILE PRO */
/* ========================= */

@media (max-width: 767px) {

  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px auto;
    padding: 0 12px;
  }

  /* menú tipo barra horizontal */
  .woocommerce-MyAccount-navigation {
    position: static;
    padding: 10px;
    overflow-x: auto;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 8px;
  }

  .woocommerce-MyAccount-navigation a {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .woocommerce-MyAccount-navigation .is-active a {
    background: #143379;
    color: #fff;
  }

  /* contenido más natural */
  .woocommerce-MyAccount-content {
    padding: 18px;
    justify-content: flex-start;
  }

  .woocommerce-MyAccount-content p {
    max-width: 100%;
  }

}
/* ========================= */
/* 🟣 RESET ESTRUCTURA */
/* ========================= */

.woocommerce-account .woocommerce {
  display: flex !important;              /* 🔥 cambiamos grid → flex (más estable) */
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
  align-items: flex-start;               /* 🔥 FIX REAL DESALINEADO */
}

/* evitar márgenes raros internos */
.woocommerce-account .woocommerce > * {
  margin-top: 0 !important;
}

/* ========================= */
/* 🟣 SIDEBAR (MENÚ) */
/* ========================= */

.woocommerce-MyAccount-navigation {
  width: 260px;
  flex-shrink: 0;

  background: #fff;
  padding: 20px;
  border-radius: 8px;

  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* lista limpia */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* items */
.woocommerce-MyAccount-navigation li {
  margin-bottom: 6px;
}

/* links */
.woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 12px;
  font-size: 13px;

  color: #333;
  text-decoration: none;

  border-radius: 6px;

  transition: all 0.25s ease;
}

/* hover */
.woocommerce-MyAccount-navigation a:hover {
  background: rgba(20,51,121,0.06);
  color: #143379;
  transform: translateX(3px);
}

/* activo */
.woocommerce-MyAccount-navigation .is-active a {
  background: #143379;
  color: #fff;
}

/* ========================= */
/* 🟣 CONTENIDO DASHBOARD */
/* ========================= */

.woocommerce-MyAccount-content {
  flex: 1;

  background: #fff;
  padding: 35px;
  border-radius: 8px;

  box-shadow: 0 20px 45px rgba(0,0,0,0.05);

  margin-top: 0 !important; /* 🔥 FIX clave */
}

/* eliminar margen fantasma */
.woocommerce-MyAccount-content > *:first-child {
  margin-top: 0 !important;
}

/* ========================= */
/* 🟣 BIENVENIDA (ESTILO PRO) */
/* ========================= */

.woocommerce-MyAccount-content p:first-child {
  font-size: 16px;
  color: #111;
  margin-bottom: 15px;
}

/* links internos */
.woocommerce-MyAccount-content a {
  color: #c7a87a;
  text-decoration: none;
}

.woocommerce-MyAccount-content a:hover {
  opacity: 0.7;
}

/* texto */
.woocommerce-MyAccount-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  max-width: 520px;
}

/* ========================= */
/* 🟣 EFECTO DASHBOARD */
/* ========================= */

.woocommerce-account .woocommerce {
  animation: fadeDashboard 0.6s ease;
}

@keyframes fadeDashboard {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* 🟣 STICKY MENU (PRO) */
/* ========================= */

@media (min-width: 768px) {
  .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 120px;
  }
}

/* ========================= */
/* 📱 MOBILE DASHBOARD */
/* ========================= */

@media (max-width: 767px) {

  .woocommerce-account .woocommerce {
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
    padding: 0 12px;
  }

  /* menú horizontal tipo app */
  .woocommerce-MyAccount-navigation {
    width: 100%;
    padding: 10px;
    overflow-x: auto;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 8px;
  }

  .woocommerce-MyAccount-navigation li {
    margin: 0;
  }

  .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 12px;
    background: #f6f6f6;
    border-radius: 20px;
  }

  .woocommerce-MyAccount-navigation .is-active a {
    background: #143379;
    color: #fff;
  }

  /* contenido */
  .woocommerce-MyAccount-content {
    padding: 20px;
  }

}
/* ========================= */
/* ❌ OCULTAR TÍTULO WOOCOMMERCE */
/* ========================= */

.woocommerce-account h1.entry-title {
  display: none !important;
}
/* ========================= */
/* 📱 MENÚ MI CUENTA MOBILE FIX */
/* ========================= */

@media (max-width: 767px) {

  /* eliminar scroll horizontal */
  .woocommerce-MyAccount-navigation {
    overflow: visible !important;
  }

  .woocommerce-MyAccount-navigation ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr; /* 🔥 2 columnas */
    gap: 10px;
  }

  .woocommerce-MyAccount-navigation li {
    width: 100%;
  }

  .woocommerce-MyAccount-navigation a {
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 10px;

    font-size: 13px;
    border-radius: 8px;

    background: #f6f6f6;
  }

  /* activo */
  .woocommerce-MyAccount-navigation .is-active a {
    background: #143379;
    color: #fff;
  }

}
/* ========================= */
/* 📱 FIX HOVER MENÚ (SIN SCROLL) */
/* ========================= */

.woocommerce-MyAccount-navigation a {
  transform: none !important; /* 🔥 elimina el desplazamiento */
}

/* hover limpio SIN crecer */
.woocommerce-MyAccount-navigation a:hover {
  transform: none !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* asegurar que nada desborde */
.woocommerce-MyAccount-navigation ul {
  overflow: hidden;
}/* End custom CSS */