/* Estilos base para el cuerpo, fuentes y colores personalizados */
body { font-family: 'Ubuntu', sans-serif; background-color: #FFFFFF; color: #060606; }
h1, h2, h3, h4 { font-family: 'Verdana', sans-serif; }
.text-accent-primary { color: #345D79; }
.bg-accent-primary { background-color: #345D79; }
.text-accent-secondary { color: #AABFC4; }
.bg-accent-secondary { background-color: #AABFC4; }
.text-casinegro { color: #060606; }
.bg-black-40 { background-color: rgba(0, 0, 0, 0.4); }
/* .bg-card-light { background-color: #F5F5F5; } */ /* Eliminado/comentado ya que ahora se usa .soy-wax-card */

/* Transiciones y visibilidad del modal */
.modal { transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; }
.modal.hidden { opacity: 0; visibility: hidden; }
.modal.visible { opacity: 1; visibility: visible; }
.modal-open { overflow: hidden; padding-right: var(--scrollbar-width); } /* Evita el 'salto' de la barra de desplazamiento */

/* Imágenes del carrusel para la sección principal */
.carousel-image { opacity: 0; transition: opacity 1s ease-in-out; position: absolute; width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; z-index: 0; }
.carousel-image.active { opacity: 1; z-index: 1; }

/* Botón de reproducción para audio/video */
.play-button { cursor: pointer; font-size: 1rem; color: #6B8E23; transition: color 0.2s ease-in-out; }
.play-button:hover { color: #345D79; }
.audio-text-display { font-size: 0.75rem; color: #AABFC4; margin-left: 0.5rem; display: inline-block; vertical-align: middle; }
.audio-text-display-modal { font-size: 1rem; color: #AABFC4; margin-left: 0.5rem; display: inline-block; vertical-align: middle; } /* Tamaño ajustado para el modal */

/* Estilos del menú desplegable */
.dropdown-menu { display: none; position: absolute; background-color: #FFFFFF; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1000; top: 100%; left: 0; border-radius: 0.5rem; overflow: hidden; }
.dropdown-menu a { color: #060606; padding: 12px 16px; text-decoration: none; display: block; text-align: left; font-family: 'Ubuntu', sans-serif; }
.dropdown-menu a:hover { background-color: #F9FAFB; color: #345D79; }
.group:hover .dropdown-menu { display: block; }

/* Línea de tiempo para la sección "Nuestra Historia" */
.timeline { position: relative; max-width: 1200px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 2px; background-color: #AABFC4; top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-container { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; }
.timeline-container::after { content: ''; position: absolute; width: 16px; height: 16px; right: -8px; background-color: #345D79; border: 2px solid #AABFC4; top: 15px; border-radius: 50%; z-index: 1; }
.left { left: 0; }
.right { left: 50%; }
.left::before { content: " "; height: 0; position: absolute; top: 22px; width: 0; z-index: 1; right: 30px; border: medium solid white; border-width: 10px 0 10px 10px; border-color: transparent transparent transparent white; }
.right::before { content: " "; height: 0; position: absolute; top: 22px; width: 0; z-index: 1; left: 30px; border: medium solid white; border-width: 10px 10px 10px 0; border-color: transparent white transparent transparent; }
.right::after { left: -8px; }
.timeline-content { padding: 20px 30px; background-color: #F9FAFB; position: relative; border-radius: 6px; box-shadow: 0px 4px 8px rgba(0,0,0,0.05); }
@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-container { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-container::before { left: 60px; border: medium solid white; border-width: 10px 10px 10px 0; border-color: transparent white transparent transparent; }
    .left::after, .right::after { left: 23px; }
    .right { left: 0%; }
}

/* Insignias de producto */
.best-seller-badge { position: absolute; top: 10px; left: 10px; background-color: #345D79; color: #fff; padding: 0.35rem 0.85rem; border-radius: 0.5rem; font-size: 0.8rem; font-weight: bold; z-index: 10; display: flex; align-items: center; gap: 0.25rem; }
.best-seller-badge .star-icon { color: #FFD700; font-size: 0.9rem; line-height: 1; }
.new-collection-badge { position: absolute; top: 10px; left: 10px; background-color: #345D79; color: #FFFFFF; padding: 0.3rem 0.6rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: bold; z-index: 10; box-shadow: 0 2px 4px rgba(0,0,0,0.1); letter-spacing: 0.05em; text-transform: uppercase; }

/* Banner deslizante en la parte inferior */
.moving-banner-container { width: 100%; overflow: hidden; background-color: #AABFC4; padding: 0.5rem 0; position: fixed; bottom: 0; left: 0; z-index: 40; box-shadow: 0 -2px 5px rgba(0,0,0,0.1); }
.moving-banner-content { display: flex; white-space: nowrap; text-align: center; align-items: center; }
.moving-banner-item { display: inline-block; margin: 0 2rem; color: #4B5563; font-size: 0.9rem; font-weight: 500; }

/* Carrusel de testimonios */
.testimonials-carousel-wrapper { position: relative; overflow: hidden; max-width: 960px; margin-left: auto; margin-right: auto; padding: 0 4rem; }
.testimonials-slider { display: flex; transition: transform 0.7s ease-in-out; padding-bottom: 2rem; }
.testimonial-card { flex: 0 0 33.3333%; min-width: 33.3333%; box-sizing: border-box; padding: 1rem; }
.carousel-button { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(52, 93, 121, 0.7); color: white; border: none; padding: 0.75rem 0.5rem; cursor: pointer; z-index: 20; border-radius: 0.5rem; transition: background-color 0.3s ease-in-out; font-size: 1.5rem; line-height: 1; }
.carousel-button:hover, .carousel-button:focus { background-color: #345D79; }
.carousel-button-prev { left: 0.5rem; }
.carousel-button-next { right: 0.5rem; }
@media (max-width: 768px) {
    .testimonials-carousel-wrapper { padding: 0 2rem; }
    .testimonial-card { flex: 0 0 100%; min-width: 100%; padding: 0.5rem; }
}

/* Tooltips de superpoderes */
.superpower-container { position: relative; display: inline-flex; align-items: center; gap: 0.25rem; cursor: default; }
.superpower-tooltip { visibility: hidden; opacity: 0; background-color: #060606; color: #fff; text-align: center; border-radius: 0.375rem; padding: 0.5rem 0.75rem; position: absolute; z-index: 1; bottom: 125%; left: 50%; transform: translateX(-50%); white-space: nowrap; transition: opacity 0.3s ease, visibility 0.3s ease; font-size: 0.75rem; }
@media (max-width: 768px) {
    .superpower-tooltip { white-space: normal; max-width: 90vw; left: 50%; transform: translateX(-50%); padding: 0.5rem; }
}
.superpower-tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #060606 transparent transparent transparent; }
.superpower-container:hover .superpower-tooltip { visibility: visible; opacity: 1; }

/* Texto de feedback en modales de producto */
.feedback-text { color: #AABFC4; }

/* Botón para cerrar modal de video */
#close-video-modal { background-color: rgba(0, 0, 0, 0.7); border-radius: 9999px; padding: 0.5rem; font-size: 1.875rem; line-height: 1; right: 0.5rem; top: 0.5rem; transform: none; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

/* Botón de desplazar hacia arriba */
#scroll-to-top-button { display: none; position: fixed; bottom: 80px; right: 20px; z-index: 99; border: none; outline: none; background-color: #345D79; color: white; cursor: pointer; padding: 10px 15px; border-radius: 10px; font-size: 18px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: opacity 0.3s, background-color 0.3s; }
#scroll-to-top-button:hover { background-color: #AABFC4; }

/* Mensaje de compartir (ej. "Enlace copiado!") */
#share-message { position: fixed; bottom: 140px; left: 50%; transform: translateX(-50%); background-color: #345D79; color: white; padding: 0.75rem 1.5rem; border-radius: 0.5rem; box-shadow: 0 4px 8px rgba(0,0,0,0.2); z-index: 100; opacity: 0; visibility: hidden; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; white-space: nowrap; }
#share-message.show { opacity: 1; visibility: visible; }

/* Calificación de estrellas para testimonios */
.stars { color: #FFD700; font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Estilo de texto resaltado */
.highlight-text { font-style: italic; color: #AABFC4; font-size: 0.875rem; margin-top: 0.25rem; }

/* Estilo para el enlace de WhatsApp en las instrucciones */
.whatsapp-instruction-link {
    color: #345D79; /* Azul eléctrico de la paleta */
    font-weight: bold;
    text-decoration: none; /* Eliminar subrayado */
}

/* Contenedor para el bloque del número de teléfono, para centrarlo */
.whatsapp-phone-block-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem; /* Espacio superior para separarlo de las instrucciones */
    margin-bottom: 2rem; /* Espacio inferior */
}

/* Estilo para el bloque del número de teléfono */
.whatsapp-phone-block {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background-color: #F5F5F5; /* Fondo ligeramente diferente para destacarlo */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none; /* Asegura que no tenga subrayado */
    color: #345D79; /* Color principal de tu paleta */
    font-size: 2.25rem; /* Tamaño grande para que destaque */
    font-weight: bold;
}

.whatsapp-phone-block:hover {
    background-color: #E0E0E0;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.whatsapp-phone-block .whatsapp-icon {
    margin-right: 0.75rem; /* Espacio entre el icono y el número */
    font-size: 2.5rem; /* Tamaño del icono */
    color: #25D366; /* Color oficial de WhatsApp */
}

/* Estilo para las cards de beneficios de cera de soja */
.soy-wax-card {
    background-color: #AABFC4; /* Azul claro gris o pastel */
}

/* Media query para hacer el bloque de instrucciones más ancho en pantallas grandes */
@media (min-width: 1024px) { /* Por ejemplo, a partir de 1024px (lg) */
    .instructions-block {
        max-width: 900px; /* Ancho máximo para que quepan en una línea */
        margin-left: auto;
        margin-right: auto;
        flex-direction: row; /* Asegura que estén en fila */
        justify-content: space-around; /* Distribuye el espacio */
    }
    .instructions-block span {
        flex-shrink: 0; /* Evita que los elementos se encojan */
    }
}

