/*
 Theme Name:   Generatepress Child
 Template:     generatepress
*/





/* Ocultar información del sitio (GeneratePress) */
.inside-site-info {
    display: none;
}

/* Botones de productos */

/* Hover botón Añadir al carrito */
.wp-block-button__link.wc-block-components-product-button__button:hover {
    background-color: #003d80; /* color hover */
    transition: background-color 0.3s ease;
	color: white;
}

/* =========================================
   HERO DEL HOME
   ========================================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('https://dharmausaha.cl/tienda/wp-content/uploads/2026/02/hero-dharma-usaha.webp') no-repeat center ;
    background-size: cover;
    height: 65vh;
    font-family: Arial, sans-serif;
    color: #fff;
    padding: 20px;
    padding-left: 5rem; 
}

.contenido {
    /* Le damos un poco más de margen al texto (del 40% al 45%) */
    max-width: 45%; 
}

.titulo {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.1;
				text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.descripcion {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
		margin-top: 2rem;
		margin-bottom: 3rem;
		text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.botones {
    display: flex;
    gap: 15px;
}

.boton {
    border-radius: 32px;
    border: 0;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
    text-align: center;
    display: inline-block;

    /* Sombra base */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* PRIMER BOTÓN */
.boton:first-child {
    background-color: #001A49;
}

.boton:first-child:hover {
    background-color: #003d80;
		color: white;
}

/* SEGUNDO BOTÓN */
.boton:last-child {
    background-color: #0056b3;
		color: white;
}

.boton:last-child:hover {
    background-color: #003d80;
}

/* EFECTO HOVER GENERAL (profundidad + brillo leve) */
.boton:hover {
    /*transform: translateY(-2px);*/
    box-shadow: 
        0 6px 14px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.25);
		color: white;
}

/* EFECTO PRESIONADO */
.boton:active {
    transform: translateY(2px);
    box-shadow: 
        inset 0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 -2px 4px rgba(255, 255, 255, 0.2);
		color: white;
}
/* =========================================
   SECCIÓN BAJO HERO
   ========================================= */
.seccion-bajo-hero {
    background: #ffffff;
    padding: 20px 20px;
    margin-bottom: 3rem;
    box-shadow: 0px 12px 12px -10px rgba(0, 0, 0, 0.15);
}

.contenedor-bajo-hero {
    max-width: 1200px;
    margin: 5rem auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Texto bajo hero */
.texto-bajo-hero {
    flex: 1;
}

.titulo-bajo-hero {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    color: #111;
    margin-bottom: 18px;
}

.descripcion-bajo-hero {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    max-width: 32rem;
}

/* Imagen bajo hero */
.imagen-bajo-hero {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.imagen-bajo-hero img {
    width: 100%;
    max-width: 32rem;
    height: auto;
}

/* =========================================
   DISEÑO RESPONSIVO (MÓVILES Y TABLETS)
   ========================================= */
@media (max-width: 900px) {
    
    /* Ajustes del Hero */
    .hero {
        padding-left: 20px; /* Reseteamos el padding izquierdo para móviles */
        padding-right: 20px;
        justify-content: center;
        text-align: center;
        height: auto; /* Dejamos que el texto dicte la altura */
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .contenido {
        max-width: 100%;
    }

    .titulo {
        font-size: 2.2rem; /* Achicamos el título para que no sature la pantalla */
    }

    .descripcion {
        font-size: 1.1rem;
    }

    .botones {
        flex-direction: column; /* Apilamos los botones en celular */
        width: 100%;
    }
    
    .boton {
        width: 100%; /* Botones ocupan todo el ancho en móvil */
        box-sizing: border-box;
    }

    /* Ajustes de Sección Bajo Hero */
    .seccion-bajo-hero {
        padding: 40px 20px; /* Menos espacio en blanco vertical en móviles */
    }

    .contenedor-bajo-hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .titulo-bajo-hero {
        font-size: 32px; /* Achicamos título inferior */
    }

    .descripcion-bajo-hero {
        margin: 0 auto;
    }

    .imagen-bajo-hero {
        justify-content: center;
        margin-top: 10px;
    }
}


/* =========================================
   AJUSTES DEL HEADER (MENÚ SUPERIOR)
   ========================================= */

/* Forzar la reducción del padding superior e inferior */
.inside-header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    align-items: center; /* Asegura que el logo y el menú queden centrados verticalmente */
}

/* Limitar la altura máxima del logo por si acaso */
.site-logo img {
    height: auto;
    max-height: 60px; /* Puedes bajar este número a 50px si lo quieres aún más delgado */
}

/* Sutil sombra inferior para separar el menú del Hero elegantemente */
.site-header {
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0,0,0,0.02); /* Una línea casi invisible para dar nitidez */
    position: relative;
    z-index: 10; /* Asegura que la sombra se proyecte sobre el Hero */
}

/* Ajustar el alto de los enlaces del menú para que acompañen la nueva altura */
.main-navigation .main-nav ul li a {
    line-height: normal;
    padding-top: 15px;
    padding-bottom: 15px;
}


/* =========================================
   Botón a Tienda
   ========================================= */
.contenedor_boton_tienda {
    display: flex;
    justify-content: center;
	  width: 100%;
}

.boton_tienda {
    border-radius: 32px;
    border: 0;
    padding: 8px 48px;
    text-decoration: none;
    color: #fff;
    background-color: #001A49;
    transition: all 0.5s, transform 0.2s;
}

.boton_tienda:hover {
	background-color: #003d80;
	color: white;
	transform: translateY(-3px);
	
}



/* =========================================
   FOOTER IDÉNTICO AL ORIGINAL
   ========================================= */

.footer-identico {
  background-color: #001A49; /* El color exacto que indicaste */
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Poppins', Arial, sans-serif;
  padding: 80px 20px 40px; /* Espaciado superior, laterales e inferior */
	margin-top: 100px;
}

.footer-contenedor {
  max-width: 1200px;
  margin: 0 auto;
}

/* Título */
.footer-titulo {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 25px;
  color: #ffffff;
}

/* Párrafo e Información */
.footer-parrafo {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  margin-top: 0;
}

.footer-enlace {
  color: #ffffff;
  text-decoration: none;
}

.footer-enlace:hover {
  text-decoration: underline;
}

/* Botón WhatsApp */
.footer-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 25px;
  font-weight: bold;
  font-size: 16px;
}

.footer-whatsapp a {
  color: #ffffff;
  text-decoration: none;
}

/* Grilla de Teléfonos */
.footer-telefonos {
  display: flex;
  flex-wrap: wrap; /* Permite que bajen a la siguiente línea si no caben */
  gap: 30px; /* Separación horizontal entre números */
  margin-bottom: 50px;
  font-size: 16px;
}

.footer-telefonos span {
  display: flex;
  align-items: center;
  gap: 8px; /* Separación entre el icono y el número */
}

/* Línea Divisoria */
.footer-linea {
  border: none;
  border-top: 1px solid #ffffff;
  margin-bottom: 30px;
}

/* Sección Inferior (Redes y Copyright) */
.footer-inferior {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-redes {
  display: flex;
  gap: 15px;
}

.footer-redes a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-redes a:hover {
  opacity: 0.7;
}

.footer-copyright {
  font-size: 15px;
  margin: 0;
}

/* =========================================
   ADAPTACIÓN PARA CELULARES
   ========================================= */
@media (max-width: 768px) {
  .footer-identico {
    padding: 50px 20px 30px;
  }
  
  .footer-telefonos {
    gap: 15px;
    flex-direction: column; /* Apila los números en celular */
  }
}





/* =========================================
   SECCIÓN DE RESPALDO HUMANO (SOPORTE)
   ========================================= */
.seccion-soporte {
  background-color: #f8fafc; /* Gris muy claro para separar secciones */
  padding: 80px 20px;
  font-family: 'Plus Jakarta Sans', 'Poppins', Arial, sans-serif;
}

.contenedor-soporte {
  max-width: 1200px;
  margin: 0 auto;
}

.cabecera-soporte {
  text-align: center;
  margin-bottom: 60px;
}

.titulo-soporte {
  font-size: 38px;
  color: #111;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.descripcion-soporte {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grilla de 3 columnas */
.grid-planes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center; /* Centra verticalmente para que el plan destacado sobresalga */
}

/* Diseño individual de cada tarjeta */
.tarjeta-plan {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid #eaeaea;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Estilos específicos para el plan que queremos vender más */
.tarjeta-plan.destacado {
  border: 2px solid #0056b3; /* Tu azul corporativo */
  box-shadow: 0 15px 40px rgba(0, 86, 179, 0.12);
  padding: 55px 30px; /* La hacemos un poco más alta que las demás */
}

.etiqueta-destacado {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00aaff; /* Tu azul claro/celeste */
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Textos dentro de la tarjeta */
.nombre-plan {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
  margin-top: 0;
  font-weight: 600;
}

.precio-plan {
  font-size: 42px;
  font-weight: bold;
  color: #001A49; /* Azul muy oscuro del footer */
  margin-bottom: 25px;
}

.precio-plan span {
  font-size: 16px;
  font-weight: normal;
  color: #777;
}

/* Lista de características (con un ticket azul en CSS) */
.lista-caracteristicas {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  text-align: left;
}

.lista-caracteristicas li {
  padding: 12px 0;
  border-bottom: 1px solid #f4f4f4;
  color: #555;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lista-caracteristicas li:last-child {
  border-bottom: none;
}

.lista-caracteristicas li::before {
  content: '✓';
  color: #00aaff;
  font-weight: bold;
  font-size: 16px;
}

/* Botones de las tarjetas */
.boton-plan {
  display: inline-block;
  width: 100%;
  padding: 12px 0;
  border-radius: 32px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid #0056b3;
  color: #0056b3;
  background: transparent;
  box-sizing: border-box;
}

.boton-plan:hover {
  background-color: #f0f7ff;
}

.boton-plan.principal {
  background-color: #0056b3;
  color: #ffffff;
}

.boton-plan.principal:hover {
  background-color: #003d80;
  border-color: #003d80;
}

/* =========================================
   DISEÑO RESPONSIVO (MÓVILES Y TABLETS)
   ========================================= */
@media (max-width: 900px) {
  .grid-planes {
    grid-template-columns: 1fr; /* Una columna para que se apilen hacia abajo */
    gap: 40px; 
  }
  
  .tarjeta-plan.destacado {
    padding: 40px 30px; /* Normalizamos la altura para la vista en celular */
  }

  .titulo-soporte {
    font-size: 30px;
  }
  
  .seccion-soporte {
    padding: 60px 20px;
  }
}





/* =========================================
   SECCIÓN DE TESTIMONIOS (PRUEBA SOCIAL)
   ========================================= */
.seccion-testimonios {
  background-color: #ffffff; /* Fondo blanco limpio */
  padding: 80px 20px;
  font-family: 'Plus Jakarta Sans', 'Poppins', Arial, sans-serif;
}

.contenedor-testimonios {
  max-width: 1200px;
  margin: 0 auto;
}

.cabecera-testimonios {
  text-align: center;
  margin-bottom: 60px;
}

.titulo-testimonios {
  font-size: 38px;
  color: #111;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.descripcion-testimonios {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grilla de 3 columnas */
.grid-testimonios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Tarjeta individual */
.tarjeta-testimonio {
  background: #f8fafc; /* Gris ultra claro para las tarjetas */
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  border: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Empuja el autor hacia abajo */
  transition: transform 0.3s ease;
}

.tarjeta-testimonio:hover {
  transform: translateY(-5px); /* Pequeño salto al pasar el mouse */
}

/* Comillas decorativas de fondo */
.icono-comillas {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  color: #00aaff;
  opacity: 0.15; /* Muy transparente para que no moleste la lectura */
  font-family: serif;
  line-height: 1;
}

/* Texto del testimonio */
.texto-testimonio {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  position: relative;
  z-index: 2; /* Para que quede sobre las comillas */
  margin-bottom: 30px;
  font-style: italic;
}

.texto-testimonio strong {
  color: #0056b3; /* Resalta el nombre del producto/servicio */
}

/* Bloque del autor (Foto + Nombre) */
.autor-testimonio {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

/* Contenedor circular para la foto */
.foto-autor {
  width: 55px;
  height: 55px;
  border-radius: 50%; /* Lo hace un círculo perfecto */
  object-fit: cover; /* Evita que la foto se deforme */
  background-color: #e2e8f0; /* Color de fondo mientras carga */
  border: 2px solid #ffffff; /* Borde blanco sutil */
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.info-autor {
  display: flex;
  flex-direction: column;
}

.nombre-autor {
  font-size: 16px;
  font-weight: bold;
  color: #111;
  margin: 0 0 2px 0;
}

.cargo-autor {
  font-size: 13px;
  color: #777;
}

/* =========================================
   DISEÑO RESPONSIVO (MÓVILES Y TABLETS)
   ========================================= */
@media (max-width: 900px) {
  .grid-testimonios {
    grid-template-columns: 1fr; /* Una sola columna en celulares */
    gap: 30px;
  }

  .titulo-testimonios {
    font-size: 30px;
  }
  
  .seccion-testimonios {
    padding: 60px 20px;
  }
}

/* 
========================================

   HERO DEL HOME
   ========================================
= */
.whatsapp-float {
    position: fixed;
    bottom: 5.5rem;          /* Más arriba del borde */
    right: 1.2rem;
		left: auto;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.whatsapp-float img {
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 1.2rem;
		left: auto;
		bottom: 5rem;
    background: #FAF1E6;
    color: #333;
    padding: 8px 12px;
		border: 1px solid #333;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(1rem);
    transition: all 0.2s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}


/* 
========================================

   Banner DJ
   ========================================
*/


/* Contenedor principal con el fondo generado */
.banner-sii-container {
    width: 100%;
    max-width: 1200px;
    height: 300px;
    margin: 0 auto;
    /* Reemplaza 'fondo-banner.jpg' por el nombre del fondo que descargaste */
    background-image: url('https://dharmausaha.cl/tienda/wp-content/uploads/2026/02/fondo-dj.webp'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.banner-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
}

/* Sección Izquierda */
.banner-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-img {
    max-height: 7rem; /* Ajusta según el tamaño de tu logo */
    width: auto;
    margin-bottom: 15px;
}

.disclaimer {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

/* Sección Derecha */
.banner-right {
    flex: 1.5;
    text-align: left;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 40px;
}

.main-title {
    font-size: 26px;
    color: #1a3668; /* Azul corporativo */
    margin: 0 0 10px 0;
    line-height: 1.2;
    font-weight: 700;
}

.main-title span {
    color: #2c3e50;
    font-weight: 600;
}

.subtitle {
    font-size: 18px;
    color: #444;
    margin: 0;
    font-weight: 400;
}

.subtitle strong {
    color: #1a3668;
    font-weight: 700;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .banner-sii-container { height: auto; padding: 20px 0; }
    .banner-content { flex-direction: column; text-align: center; padding: 0 20px; }
    .banner-right { border-left: none; padding-left: 0; margin-top: 20px; text-align: center; }
    .main-title { font-size: 22px; }
}

/* 
========================================

   Alineación de 
   ========================================
*/

.wc-block-product-template__responsive > li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


======================


@media (max-width: 768px) {
.wc-block-product-template__responsive.columns-5 {
    margin-left: 0;
}
}


/* 
========================================

    Convertir el checkout a una sola columna a ancho completo 

========================================
*/

.woocommerce-checkout .col2-set {
    display: block !important; 
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin-bottom: 30px;
}

/* Darle un poco de espacio al título de Información Adicional */
.woocommerce-checkout .col2-set .col-2 {
    margin-top: 40px;
}


/* 
========================================

    Precios Ocultos 

========================================
*/

a.login-para-ver-precio {
    display: inline-block;
    background-color: #2563eb; /* Azul base, cámbialo por el color de tu marca */
    color: #ffffff !important;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 24px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 220px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

a.login-para-ver-precio:hover {
    background-color: #1e40af; /* Azul más oscuro para el hover */
    transform: translateY(-2px);
    color: #ffffff !important;
}


/* 
========================================

    Botón Ver Carrito 

========================================
*/

/* 1. ELIMINAR LOS SALTOS DE LÍNEA INTRUSOS */
span[data-wp-bind--hidden] br,
a.added_to_cart br {
    display: none !important;
}

/* 2. Estilos base para TODOS los botones "Ver carrito" */
a.added_to_cart,
a.added_to_cart.wc-forward,
span[data-wp-bind--hidden] a.added_to_cart {
    background-color: #f59e0b !important; 
    color: #ffffff !important;
    border: 1.5px solid #f59e0b !important;
    
    /* Alineación interna perfecta */
    display: inline-flex !important; 
    align-items: center !important;
    justify-content: center !important;
    
    /* Ajustes de tamaño y fuente */
    padding: 8px 20px !important; 
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: normal !important; 
    white-space: nowrap !important; /* Evita que el texto salte a otra línea */
    
    /* Dimensiones y separación */
    width: max-content !important; 
    margin-top: 8px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

/* 3. Efecto hover para TODOS los botones */
a.added_to_cart:hover,
a.added_to_cart.wc-forward:hover,
span[data-wp-bind--hidden] a.added_to_cart:hover {
    background-color: #d97706 !important; 
    border-color: #d97706 !important;
    color: #ffffff !important;
    transform: scale(0.97) !important; 
}

/* 4. Contenedor del bloque dinámico */
span[data-wp-bind--hidden] {
    text-align: center !important; 
    width: 100%;
    display: block; 
}

/* 5. Forzamos que se oculte cuando WooCommerce lo pida */
span[data-wp-bind--hidden][hidden] {
    display: none !important;
}








/* Sobrescribir el margin-top 0 del botón para mandarlo al fondo */
body.woocommerce ul.products li.product a.button,
body.woocommerce ul.products li.product a.added_to_cart {
    margin-top: 3rem !important;
}

/* Ajuste de texto y padding para los botones principales de las tarjetas */
body .woocommerce ul.products li.product a.button,
body .wc-block-components-product-button__button,
body a.wp-block-button__link.add_to_cart_button {
    padding: 5px 15px !important;
    font-weight: 500 !important;
    font-size: 15px !important; /* Nota: en tu imagen probaste con 16px, puedes cambiar este número a tu gusto */
}
