/******* Do not edit this file *******
Code Snippets Manager
Saved: Dec 31 2025 | 08:23:42 */
@charset "UTF-8";
/* --- TRADUCCIÓN MENÚ MI CUENTA --- */
/* Ocultar el texto original de los enlaces */
.woocommerce-MyAccount-navigation-link a {
  font-size: 0 !important;
  display: block;
  /* Asegura que ocupen el espacio */
  line-height: 0;
}
/* 1. Dashboard -> Escritorio */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
  content: "Escritorio";
  font-size: 14px !important;
  /* Tamaño original de tu tema */
  line-height: 1.5;
  visibility: visible;
}
/* 2. Orders -> Pedidos */
.woocommerce-MyAccount-navigation-link--orders a::before {
  content: "Pedidos";
  font-size: 14px !important;
  line-height: 1.5;
  visibility: visible;
}
/* 3. Downloads -> Descargas */
.woocommerce-MyAccount-navigation-link--downloads a::before {
  content: "Descargas";
  font-size: 14px !important;
  line-height: 1.5;
  visibility: visible;
}
/* 4. Addresses -> Direcciones */
.woocommerce-MyAccount-navigation-link--edit-address a::before {
  content: "Direcciones";
  font-size: 14px !important;
  line-height: 1.5;
  visibility: visible;
}
/* 5. Payment Methods -> Métodos de Pago */
.woocommerce-MyAccount-navigation-link--payment-methods a::before {
  content: "Métodos de pago";
  font-size: 14px !important;
  line-height: 1.5;
  visibility: visible;
}
/* 6. Account Details -> Detalles de la cuenta */
.woocommerce-MyAccount-navigation-link--edit-account a::before {
  content: "Detalles de la cuenta";
  font-size: 14px !important;
  line-height: 1.5;
  visibility: visible;
}
/* 7. Log out -> Cerrar sesión */
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
  content: "Cerrar sesión";
  font-size: 14px !important;
  line-height: 1.5;
  visibility: visible;
}
/* --- TRADUCCIÓN DEL CONTENIDO DEL ESCRITORIO (HOLA MANAB...) --- */
/* 1. TRADUCCIÓN DEL PRIMER PÁRRAFO: "Hello manab (not manab? Log out)" */
/* Ocultamos todo el texto del primer párrafo */
.woocommerce-MyAccount-content p:nth-of-type(1) {
  font-size: 0 !important;
  line-height: 1.5;
}
/* Reemplazamos "Hello" por "Hola" al principio */
.woocommerce-MyAccount-content p:nth-of-type(1)::before {
  content: "Hola ";
  font-size: 16px !important;
  color: var(--negro, #222);
  /* Usamos tu color o negro por defecto */
}
/* Hacemos visible el nombre de usuario (manab) */
.woocommerce-MyAccount-content p:nth-of-type(1) strong {
  font-size: 16px !important;
}
/* Insertamos " (¿no eres " después del primer nombre */
/* Usamos el segundo strong para insertar el texto previo a él */
.woocommerce-MyAccount-content p:nth-of-type(1) strong:nth-of-type(2)::before {
  content: " (¿no eres ";
  font-size: 16px !important;
  font-weight: 400;
  /* Letra normal, no negrita */
  color: var(--negro, #222);
}
/* Traducimos el enlace "Log out" y añadimos el cierre de interrogación */
.woocommerce-MyAccount-content p:nth-of-type(1) a {
  font-size: 0 !important;
}
.woocommerce-MyAccount-content p:nth-of-type(1) a::before {
  content: "? Cerrar sesión";
  font-size: 16px !important;
  text-decoration: underline;
  /* Mantener el subrayado del enlace */
}
/* Añadimos el paréntesis final ")" */
.woocommerce-MyAccount-content p:nth-of-type(1) a::after {
  content: ")";
  font-size: 16px !important;
  text-decoration: none;
  /* Sin subrayado */
  display: inline-block;
  color: var(--negro, #222);
  pointer-events: none;
  /* Para que no sea parte del click del enlace */
}
/* 2. TRADUCCIÓN DEL SEGUNDO PÁRRAFO: "From your account dashboard..." */
/* Ocultamos el texto base en inglés */
.woocommerce-MyAccount-content p:nth-of-type(2) {
  font-size: 0 !important;
  line-height: 1.6;
}
/* Reemplazamos el inicio de la frase */
.woocommerce-MyAccount-content p:nth-of-type(2)::before {
  content: "Desde el escritorio de tu cuenta puedes ver tus ";
  font-size: 16px !important;
  color: var(--negro, #222);
}
/* Traducir enlace 1: "recent orders" -> "pedidos recientes" */
.woocommerce-MyAccount-content p:nth-of-type(2) a[href*="orders"] {
  font-size: 0 !important;
}
.woocommerce-MyAccount-content p:nth-of-type(2) a[href*="orders"]::before {
  content: "pedidos recientes";
  font-size: 16px !important;
  text-decoration: underline;
}
/* Conector ", manage your " -> ", gestionar tus " */
/* Lo añadimos después del enlace 1 */
.woocommerce-MyAccount-content p:nth-of-type(2) a[href*="orders"]::after {
  content: ", gestionar tus ";
  font-size: 16px !important;
  text-decoration: none;
  color: var(--negro, #222);
  pointer-events: none;
  /* Evita que el click funcione en el texto negro */
  cursor: text;
}
/* Traducir enlace 2: "shipping and billing addresses" -> "direcciones" */
.woocommerce-MyAccount-content p:nth-of-type(2) a[href*="edit-address"] {
  font-size: 0 !important;
}
.woocommerce-MyAccount-content p:nth-of-type(2) a[href*="edit-address"]::before {
  content: "direcciones de envío y facturación";
  font-size: 16px !important;
  text-decoration: underline;
}
/* Conector ", and " -> ", y " */
/* Lo añadimos después del enlace 2 */
.woocommerce-MyAccount-content p:nth-of-type(2) a[href*="edit-address"]::after {
  content: ", y ";
  font-size: 16px !important;
  text-decoration: none;
  color: var(--negro, #222);
  pointer-events: none;
  cursor: text;
}
/* Traducir enlace 3: "edit your password..." */
.woocommerce-MyAccount-content p:nth-of-type(2) a[href*="edit-account"] {
  font-size: 0 !important;
}
.woocommerce-MyAccount-content p:nth-of-type(2) a[href*="edit-account"]::before {
  content: "editar tu contraseña y detalles de la cuenta.";
  font-size: 16px !important;
  text-decoration: underline;
}
