* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    padding-top: 20px;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* ---- Navbar ---- */
.navbar {
    position: relative;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    height: 90px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    z-index: 1000;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
    margin-top: 20px; /* Agregar espacio en la parte superior */
}

/* Estilo del botón hamburguesa */
.menu-toggle {
    display: none;
    position: absolute;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1100;
    color: #333;
}

/* Ajustar el menú desplegable para que aparezca pegado al botón hamburguesa */
.nav-links {
    display: flex;
    flex-direction: row; /* Mostrar los elementos en línea horizontal */
    position: static; /* Eliminar posición absoluta */
    width: auto; /* Ajustar al contenido */
    background: none; /* Sin fondo */
    box-shadow: none; /* Sin sombra */
    padding: 0; /* Sin relleno */
    gap: 30px; /* Espaciado entre elementos */
    transform: none; /* Sin transformaciones */
    opacity: 1; /* Totalmente visible */
    overflow: visible; /* Sin restricciones */
    list-style: none; /* Elimina los puntos de la lista */
    margin: 0; /* Asegura que no haya margen adicional */
}

/* Mostrar el menú desplegable cuando está activo */
.nav-links.active {
    transform: scaleY(1); /* Mostrar el menú desplegable */
    opacity: 1;
}

.nav-links li {
    width: 100%;
    text-align: center;
    list-style: none; /* Asegura que los elementos individuales no tengan puntos */
}

/* Reducir ligeramente el tamaño del texto de los elementos del menú principal y desplegable */
.nav-links a {
    display: block;
    padding: 10px 18px; /* Espaciado interno ajustado */
    font-size: 18px; /* Reducir el tamaño de fuente */
    font-weight: bold;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background: #f0f7ff;
    color: #2a7ae9;
}

/* Logo */
.logo {
    width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 120px;
    min-width: 80px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f9d71c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle.night {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.theme-toggle i {
    font-size: 18px;
    color: white;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.theme-toggle.night i {
    transform: rotate(180deg);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Video Hero Section ---- */
.video-container {
    position: relative;
    top: 20px;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 85%, transparent);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    position: relative;
    z-index: 1; /* Asegúrate de que el video esté debajo de la superposición */
}

/* Superposición blanca para el efecto de fade */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 2; /* Asegúrate de que esté encima del video */
}

/* Ocultar controles del video */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}

.video-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    pointer-events: auto;
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-text h1 {
    font-size: 5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-text p {
    font-size: 2rem;
    margin: 10px 0 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, color 0.3s ease;
}

.video-text:hover h1 {
    transform: scale(1.1);
    color: hsl(37, 89%, 81%);
}

.video-text:hover p {
    transform: scale(1.05);
    color: hsl(37, 89%, 81%);
}

/* ---- Marcas Section ---- */
.marcas-container {
    text-align: center;
    padding: 60px 20px;
    margin: 50px auto;
    max-width: 1400px;
}

/* Estilo para los encabezados h4 dentro del contenedor de marcas */
.marcas-container h4 {
    font-size: 1rem; /* Reducir el tamaño de fuente */
    font-weight: bold; /* Negrita */
    color: #2a7ae9; /* Color azul */
    text-align: center; /* Centrar el texto */
    margin-top: 10px; /* Espaciado superior */
    margin-bottom: 10px; /* Espaciado inferior */
    text-transform: uppercase; /* Convertir texto a mayúsculas */
    letter-spacing: 0.5px; /* Reducir el espaciado entre letras */
    transition: none; /* Eliminar transiciones */
}

/* Estilo para los encabezados h3 dentro del contenedor de marcas */
.marcas-container h3 {
    font-size: 1.2rem; /* Reducir el tamaño de fuente */
    font-weight: bold; /* Negrita */
    color: #2a7ae9; /* Color azul */
    text-align: center; /* Centrar el texto */
    margin-top: 15px; /* Espaciado superior */
    margin-bottom: 15px; /* Espaciado inferior */
    text-transform: uppercase; /* Convertir texto a mayúsculas */
    letter-spacing: 0.5px; /* Reducir el espaciado entre letras */
    line-height: 1.4; /* Altura de línea */
    transition: none; /* Eliminar transiciones */
}

/* Estilo específico para el contenedor de marcas en marcas.html */
.marcas-container-especifico {
    background: rgba(249, 249, 249, 0.8); /* Fondo claro con transparencia */
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    padding: 50px; /* Espaciado interno */
    margin: 40px auto; /* Centrar y agregar margen superior/inferior */
    max-width: 1400px; /* Igualar el ancho máximo al de la navbar */
    width: 95%; /* Igualar el ancho al de la navbar */
    text-align: center; /* Centrar el texto */
}

.marcas-container-especifico h2 {
    font-size: 2rem; /* Tamaño de fuente más grande */
    font-weight: bold; /* Negrita */
    color: #2a7ae9; /* Color azul */
    margin-bottom: 20px; /* Espaciado inferior */
    text-transform: uppercase; /* Convertir texto a mayúsculas */
}

.marcas-container-especifico h3 {
    font-size: 1.2rem; /* Tamaño de fuente */
    font-weight: bold; /* Negrita */
    color: #333; /* Color gris oscuro */
    margin-bottom: 30px; /* Espaciado inferior */
    text-transform: uppercase; /* Convertir texto a mayúsculas */
    letter-spacing: 1px; /* Espaciado entre letras */
}

/* Estilo general para h3 */
h3 {
    font-size: 1.4rem; /* Tamaño de fuente general */
    font-weight: 600; /* Peso de fuente */
    color: #333; /* Color del texto */
    margin-bottom: 20px; /* Espaciado inferior */
    text-align: left; /* Alinear a la izquierda por defecto */
}

/*prueba
/* Título de productos disponibles */
.productos-container h3 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 30px 0; /* Aumentar el margen superior e inferior */
}

.marcas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 30px;
}

.marcas-grid img {
    width: 250px;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(20%);
}

.marcas-grid img:hover {
    transform: scale(1.15);
}

.ver-mas-btn {
    display: inline-block;
    margin: 40px auto 0;
    padding: 12px 30px;
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0);
    color: white;
    text-align: center;
    text-decoration: none; /* Quitar subrayado */
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 122, 233, 0.3);
}

.ver-mas-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 122, 233, 0.4);
}

.ver-mas-btn:active {
    transform: translateY(1px);
}

/* Estilo para el botón "Ver productos" */
.ver-productos-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0); /* Fondo degradado */
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.ver-productos-btn:hover {
    background: linear-gradient(135deg, #1a5cb0, #2a7ae9); /* Cambiar degradado al pasar el cursor */
    transform: scale(1.05); /* Aumentar ligeramente el tamaño */
}

.ver-productos-btn:active {
    transform: scale(0.95); /* Reducir ligeramente el tamaño al hacer clic */
}

/* Botón "Ver más" para productos */
.ver-mas-btn-producto {
  display: inline-block;
  margin-top: 10px; /* Reduce el espacio superior del botón */
  padding: 10px 20px;
  background: #fff;
  color: #333;
  border: 2px solid #333;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ver-mas-btn-producto:hover {
  background: #333;
  color: #fff;
  transform: scale(1.05);
}

/* ---- Footer ---- */
.footer {
    background: #ffffff;
    color: #333;
    padding: 60px 0 0;
    background: #ffffff;
    color: #333;
    padding: 60px 0 0;
    font-size: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.footer-slogan {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #2a7ae9;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #2a7ae9;
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #2a7ae9;
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 20px;
    color: #2a7ae9;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #2a7ae9;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #f9f9f9;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-legal a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #2a7ae9;
}

/* ---- Themes ---- */
/* Day Theme */
body.day {
    background-color: #f5f7fa;
    color: #333;
}

.navbar.day {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-links a.day {
    color: #333;
    background: transparent;
}

.nav-links a.day:hover {
    background: #f0f7ff;
    color: #2a7ae9;
}

/* Night Theme */
body.night {
    background-color: #2c3e50;
    color: #ecf0f1;
}

.navbar.night {
    background: #34495e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-links a.night {
    color: #ecf0f1;
    background: transparent;
}

.nav-links a.night:hover {
    background: #3b4a5a;
    color: #1abc9c;
}

body.night .logo-img {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

body.night .ver-mas-btn {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
}

body.night .footer {
    background: #2c3e50;
    color: #ecf0f1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.night .footer-links a,
body.night .footer-contact p,
body.night .footer-slogan {
    color: #bdc3c7;
}

body.night .footer-bottom {
    background: #34495e;
    color: #ecf0f1;
}

body.night .social-icon {
    background: #3b4a5a;
    color: #ecf0f1;
}

/* ---- Responsive Styles ---- */
@media (max-width: 1200px) {
    .navbar {
        width: 98%;
    }
    
    .video-text h1 {
        font-size: 4rem;
    }
    
    .video-text p {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0 30px;
        height: 80px;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Justo debajo del navbar */
        right: 0; /* Alineado a la esquina derecha */
        width: 280px; /* Ancho más grande del menú */
        background: white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        padding: 20px; /* Más espacio interno */
        gap: 20px; /* Más espacio entre elementos */
        border-radius: 10px; /* Bordes redondeados */
        z-index: 1000;
        transform: scaleY(0); /* Oculto inicialmente */
        transform-origin: top right; /* Animación desde la esquina superior derecha */
        opacity: 0;
        overflow: hidden;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }
    
    .nav-links.active {
        transform: scaleY(1); /* Mostrar el menú desplegable */
        opacity: 1;
    }
    
    .nav-links li {
        width: 100%; /* Asegurar que los elementos ocupen todo el ancho del menú */
        text-align: left; /* Alinear el texto a la izquierda */
        list-style: none; /* Sin puntos de lista */
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px; /* Más espacio interno en los enlaces */
        font-size: 18px; /* Tamaño de fuente más grande */
        font-weight: bold;
        color: #333;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .nav-links a:hover {
        background: #f0f7ff;
        color: #2a7ae9;
    }
    
    .menu-toggle {
        display: block; /* Mostrar el botón hamburguesa */
    }
    
    .logo {
        width: 100px;
    }
    
    .video-container {
        height: 50vh;
    }
    
    .video-text h1 {
        font-size: 3rem;
    }
    
    .video-text p {
        font-size: 1.2rem;
    }
    
    .marcas-grid img {
        width: 200px;
    }

    .footer {
        padding: 20px 0; /* Reducir el padding del footer */
        font-size: 0.9rem; /* Reducir el tamaño de fuente */
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Mostrar las secciones en una sola columna */
        gap: 20px; /* Reducir el espacio entre secciones */
        text-align: center; /* Centrar el contenido */
    }

    .footer-logo {
        width: 100px; /* Reducir el tamaño del logo */
        margin: 0 auto 10px;
    }

    .footer-title {
        font-size: 1rem; /* Reducir el tamaño de los títulos */
        margin-bottom: 10px;
    }

    .footer-contact p {
        font-size: 0.9rem; /* Reducir el tamaño del texto de contacto */
        margin-bottom: 10px;
    }

    .footer-social {
        justify-content: center; /* Centrar los íconos sociales */
        gap: 10px; /* Reducir el espacio entre íconos */
    }

    .footer-bottom {
        padding: 10px; /* Reducir el padding inferior */
        font-size: 0.8rem; /* Reducir el tamaño de fuente */
    }

    .footer-legal {
        flex-direction: column; /* Mostrar los enlaces legales en una columna */
        gap: 10px; /* Reducir el espacio entre enlaces */
    }

    
    .producto-card {
        flex-direction: column; /* Cambia a diseño vertical */
        align-items: center; /* Centra los elementos */
        text-align: center; /* Centra el texto */
        padding: 15px; /* Agrega un poco de padding interno */
    }

    .producto-card .producto-img {
        width: 80%; /* Reduce el tamaño de la imagen */
        height: auto; /* Ajusta la altura automáticamente */
        margin-bottom: 10px; /* Espaciado entre la imagen y el texto */
    }

    .producto-card .producto-texto {
        display: flex; /* Asegura que el texto siga visible */
        flex-direction: column; /* Alinea los elementos en columna */
        align-items: center; /* Centra el texto */
        padding: 10px; /* Reduce el padding interno */
    }

    .producto-card h3 {
        font-size: 1.4rem; /* Ajusta el tamaño del título */
        margin-bottom: 10px; /* Espaciado inferior */
        font-weight: bold; /* Negrita para destacar el título */
    }

    .ver-mas-btn-producto {
        margin-top: 10px; /* Espaciado superior del botón */
        padding: 10px 20px; /* Ajusta el tamaño del botón */
        font-size: 1rem; /* Ajusta el tamaño del texto del botón */
    }
}

@media (max-width: 1000px) {
  .producto-card {
    flex-direction: column !important; /* Cambia a diseño vertical */
    align-items: center; /* Centra los elementos */
    text-align: center; /* Centra el texto */
    padding: 10px; /* Reduce el padding interno */
    gap: 10px; /* Espaciado entre los elementos */
    background: none !important; /* Quita el color de fondo */
  }

  .producto-card .producto-img {
    order: 1; /* Asegura que la imagen esté arriba */
    width: 70%; /* Reduce el tamaño de la imagen */
    height: auto; /* Ajusta la altura automáticamente */
    margin-bottom: 10px; /* Espaciado entre la imagen y el texto */
    display: block; /* Asegura que la imagen sea visible */
  }

  .producto-card h3 {
    order: 2; /* Asegura que el título esté debajo de la imagen */
    display: block !important; /* Asegura que el título sea visible */
    font-size: 1.2rem; /* Ajusta el tamaño del título */
    margin-bottom: 10px; /* Espaciado inferior */
    font-weight: bold; /* Negrita para destacar el título */
    color: #333; /* Color del texto */
    text-align: center;
  }

  .ver-mas-btn-producto {
    order: 3; /* Asegura que el botón esté debajo del título */
    display: block !important; /* Asegura que el botón sea visible */
    margin-top: 10px; /* Espaciado superior del botón */
    padding: 8px 16px; /* Ajusta el tamaño del botón */
    font-size: 0.9rem; /* Ajusta el tamaño del texto del botón */
    background: #fff; /* Fondo blanco */
    color: #333; /* Color del texto */
    border: 2px solid #333; /* Borde del botón */
    border-radius: 8px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    text-align: center; /* Centra el texto dentro del botón */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  .ver-mas-btn-producto:hover {
    background: #333; /* Fondo negro al pasar el cursor */
    color: #fff; /* Texto blanco al pasar el cursor */
    transform: scale(1.05); /* Aumenta ligeramente el tamaño */
  }

  /* Mostrar el contenedor de texto */
  .producto-card .producto-texto {
    display: flex !important; /* Asegura que el contenedor de texto sea visible */
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px; /* Espaciado interno */
    background: none !important; /* Quita el color de fondo */
  }

  /* Ocultar elementos específicos dentro del contenedor de texto */
  .producto-card p,
  .producto-card ul,
  .producto-card .caracteristicas-titulo {
    display: none !important; /* Oculta el resto del contenido */
  }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
        border-radius: 20px;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Justo debajo del navbar */
        right: 10px; /* Alineado al lado derecho */
        width: 200px; /* Menú más pequeño */
        background: white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        padding: 10px;
        gap: 10px;
        border-radius: 10px; /* Bordes redondeados */
        z-index: 1000;
        transform: scaleY(0); /* Oculto inicialmente */
        transform-origin: top right; /* Animación desde la esquina superior derecha */
        opacity: 0;
        overflow: hidden;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }
    
    .nav-links.active {
        transform: scaleY(1); /* Mostrar el menú desplegable */
        opacity: 1;
    }
    
    .nav-links li {
        width: 100%; /* Asegurar que los elementos ocupen todo el ancho del menú */
        text-align: left; /* Alinear el texto a la izquierda */
        list-style: none; /* Sin puntos de lista */
    }
    
    .nav-links a {
        display: block;
        padding: 8px 10px; /* Reducir el padding para que quepan todos los elementos */
        font-size: 14px; /* Reducir el tamaño de fuente */
        font-weight: bold;
        color: #333;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .nav-links a:hover {
        background: #f0f7ff;
        color: #2a7ae9;
    }
    
    .menu-toggle {
        display: block; /* Mostrar el botón hamburguesa */
    }
    
    .logo {
        width: 80px;
    }
    
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        top: 20px;
    }
    
    .video-container {
        height: 40vh;
    }
    
    .video-text h1 {
        font-size: 2.5rem;
    }
    
    .video-text p {
        font-size: 1rem;
    }
    
    .marcas-grid {
        gap: 20px;
    }
    
    .marcas-grid img {
        width: 120px;
    }
    
    .ver-mas-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 1000px) {
  .producto-card {
    flex-direction: column !important; /* Cambia a diseño vertical */
    align-items: center; /* Centra los elementos */
    text-align: center; /* Centra el texto */
    padding: 10px; /* Reduce el padding interno */
    gap: 10px; /* Espaciado entre los elementos */
  }

  .producto-card .producto-img {
    order: 1; /* Asegura que la imagen esté arriba */
    width: 70%; /* Reduce el tamaño de la imagen */
    height: auto; /* Ajusta la altura automáticamente */
    margin-bottom: 10px; /* Espaciado entre la imagen y el texto */
    display: block; /* Asegura que la imagen sea visible */
  }

  .producto-card h3 {
    display: block !important;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    text-align: center;
  }

  .ver-mas-btn-producto {
    display: block !important;
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 0.9rem;
    background: #fff;
    color: #333;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
  }

  .producto-card .producto-texto,
  .producto-card p,
  .producto-card ul,
  .producto-card .caracteristicas-titulo {
    display: none !important; /* Oculta el resto del contenido */
  }
}

/* Mostrar el logo y los elementos importantes del footer en pantallas pequeñas */
@media (max-width: 1200px),
       (max-width: 992px),
       (max-width: 768px),
       (max-width: 576px) {
    /* Ocultar elementos no esenciales */
    .footer-grid, /* Ocultar la cuadrícula del footer */
    .footer-social, /* Ocultar los íconos sociales */
    .footer-contact, /* Ocultar la información de contacto */
    .footer-links { /* Ocultar los enlaces del footer */
        display: none;
    }

    /* Mostrar el logo */
    .footer-brand {
        display: flex !important; /* Asegurar que se muestre */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    .footer-logo {
        display: block !important; /* Asegurar que el logo sea visible */
        margin: 0 auto 10px;
        width: 120px; /* Ajustar el tamaño del logo */
    }

    /* Mantener los elementos legales */
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        font-size: 0.8rem; /* Reducir el tamaño de fuente */
        text-align: center;
        background: none; /* Eliminar el fondo */
        box-shadow: none; /* Eliminar cualquier sombra */
    }

    .footer-legal {
        display: flex;
        flex-direction: column; /* Alinear la información legal en una sola columna */
        gap: 5px;
        background: none; /* Eliminar el fondo */
    }
}

/* Prevent zoom on inputs in iOS */
@media screen and (max-width: 767px) {
    input, select, textarea {
        font-size: 16px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive images outside brands section */
img {
    max-width: 100%;
    height: auto;
}

/* Estilo mejorado para el menú desplegable */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f0f7ff;
    color: #2a7ae9;
}

/* Ajustar los elementos del menú principal en pantallas grandes */
@media (min-width: 993px) {
    .nav-links {
        display: flex;
        flex-direction: row; /* Mostrar los elementos en línea horizontal */
        justify-content: center; /* Centrar los elementos */
        align-items: center; /* Alinear verticalmente */
        gap: 25px; /* Espaciado uniforme entre los botones */
        list-style: none; /* Eliminar los puntos de lista */
        padding: 0;
        margin: 0;
    }

    .nav-links li {
        flex: 1; /* Asegurar que todos los botones tengan el mismo tamaño */
        text-align: center;
    }

    .nav-links a {
        display: inline-block;
        padding: 10px 20px; /* Espaciado interno ajustado */
        font-size: 18px; /* Tamaño de fuente consistente */
        font-weight: bold;
        color: #333; /* Solo texto visible */
        text-decoration: none;
        background: none; /* Sin fondo */
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    }

    .nav-links a:hover {
        background: #f0f7ff; /* Fondo al pasar el cursor */
        color: #2a7ae9; /* Color del texto al pasar el cursor */
        transform: translateY(-2px); /* Efecto de elevación */
    }
}

/* Ocultar elementos del footer en todas las media queries con max-width */
@media (max-width: 1200px),
       (max-width: 992px),
       (max-width: 768px),
       (max-width: 576px) {
    .footer-grid, /* Ocultar la cuadrícula del footer */
    .footer-social, /* Ocultar los íconos sociales */
    .footer-brand, /* Ocultar la marca del footer */
    .footer-contact, /* Ocultar la información de contacto */
    .footer-links { /* Ocultar los enlaces del footer */
        display: none;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        font-size: 0.8rem; /* Reducir el tamaño de fuente */
        text-align: center;
        background: none; /* Eliminar el fondo */
        box-shadow: none; /* Eliminar cualquier sombra */
    }

    .footer-legal {
        flex-direction: column; /* Alinear la información legal en una sola columna */
        gap: 5px;
        background: none; /* Eliminar el fondo */
    }
}

/* Estilo para el contenedor de la política de privacidad */
.privacy-policy {
    max-width: 800px; /* Limitar el ancho del contenido */
    margin: 50px auto; /* Centrar el contenedor */
    padding: 20px; /* Espaciado interno */
    background: #ffffff; /* Fondo blanco */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    color: #333; /* Color del texto */
    font-size: 1rem; /* Tamaño de fuente */
    line-height: 1.6; /* Altura de línea para mejor legibilidad */
    opacity: 0; /* Ocultar inicialmente */
    transform: translateY(20px); /* Mover hacia abajo inicialmente */
    animation: fadeInUp 1s ease forwards; /* Animación de entrada */
}

/* Animación para los encabezados */
.privacy-policy h1,
.privacy-policy h2 {
    color: #2a7ae9; /* Color azul para los encabezados */
    margin-bottom: 15px;
    text-align: center;
    opacity: 0; /* Ocultar inicialmente */
    transform: translateY(-20px); /* Mover hacia arriba inicialmente */
    animation: fadeInDown 1s ease forwards;
}

.privacy-policy h1 {
    font-size: 2rem; /* Tamaño más grande para el título principal */
    font-weight: bold;
    animation-delay: 0.2s; /* Retraso para la animación */
}

.privacy-policy h2 {
    font-size: 1.5rem; /* Tamaño más pequeño para subtítulos */
    font-weight: 600;
    animation-delay: 0.4s; /* Retraso para la animación */
}

/* Animación para los párrafos */
.privacy-policy p {
    margin-bottom: 15px;
    text-align: justify; /* Justificar el texto */
    opacity: 0; /* Ocultar inicialmente */
    transform: translateY(10px); /* Mover hacia abajo inicialmente */
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s; /* Retraso para la animación */
}

/* Animación para las listas */
.privacy-policy ul {
    margin-left: 20px; /* Espaciado a la izquierda */
    margin-bottom: 15px;
    list-style-type: disc; /* Estilo de lista con viñetas */
    opacity: 0; /* Ocultar inicialmente */
    transform: translateY(10px); /* Mover hacia abajo inicialmente */
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s; /* Retraso para la animación */
}

.privacy-policy ul li {
    margin-bottom: 10px;
    opacity: 0; /* Ocultar inicialmente */
    transform: translateX(-10px); /* Mover hacia la izquierda inicialmente */
    animation: fadeInLeft 1s ease forwards;
    animation-delay: 1s; /* Retraso para la animación */
}

/* Animación para los enlaces */
.privacy-policy a {
    color: #2a7ae9; /* Color azul para los enlaces */
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0; /* Ocultar inicialmente */
    transform: scale(0.9); /* Reducir tamaño inicialmente */
    animation: fadeInScale 1s ease forwards;
    animation-delay: 1.2s; /* Retraso para la animación */
}

.privacy-policy a:hover {
    color: #1a5cb0; /* Color más oscuro al pasar el cursor */
    transform: scale(1.1); /* Aumentar tamaño al pasar el cursor */
}

/* Definición de animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.item {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px;
    text-align: center;
}

.item img {
    max-width: 300px;
    max-height: 300px;
}

/* Estilo para los ítems cargados desde el JSON */
#contenedor-items {
    display: flex;
    flex-direction: column; /* Asegura que los productos estén en una columna */
    gap: 5px; /* Reduce el espaciado entre las tarjetas de productos */
    padding: 0; /* Elimina cualquier padding interno */
    margin: 0; /* Elimina cualquier margen externo */
}

#contenedor-items .item {
    display: flex; /* Usar Flexbox para centrar contenido */
    flex-direction: column; /* Alinear elementos en columna */
    align-items: center; /* Centrar horizontalmente */
    justify-content: space-between; /* Espaciado uniforme entre elementos */
    width: 250px; /* Ancho consistente */
    height: 350px; /* Altura fija para todos los contenedores */
    text-align: center;
    border: none; /* Quitar el borde */
    background: none; /* Quitar el fondo */
    padding: 10px; /* Espaciado interno */
    box-shadow: none; /* Quitar la sombra */
    transition: transform 0.3s ease; /* Mantener la transición suave */
    margin: -60px 0; /* Reducir el margen vertical a 5px y mantener 0px horizontal */
}

#contenedor-items .item img {
    max-width: 100%; /* Ajustar al ancho máximo permitido */
    max-height: 200px; /* Ajustar a la altura máxima permitida */
    object-fit: contain; /* Mantener proporciones */
    display: block; /* Asegurar que la imagen sea tratada como un bloque */
    margin: auto; /* Centrar la imagen vertical y horizontalmente */
}

#contenedor-items .item .ver-productos-btn {
    margin-top: 5px; /* Reducir el espacio superior del botón */
    padding: 10px 20px;
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0); /* Fondo degradado */
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#contenedor-items .item .ver-productos-btn:hover {
    background: linear-gradient(135deg, #1a5cb0, #2a7ae9); /* Cambiar degradado al pasar el cursor */
    transform: scale(1.05); /* Aumentar ligeramente el tamaño */
}

#contenedor-items .item h4 {
    font-size: 1rem; /* Tamaño de fuente */
    font-weight: bold; /* Negrita */
    color: #333; /* Color del texto */
    margin-top: 10px; /* Espaciado superior */
    text-transform: uppercase; /* Convertir texto a mayúsculas */
    letter-spacing: 0.5px; /* Espaciado entre letras */
}

#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Asegura que esté detrás del contenido */
    background: #f5f7fa; /* Color de fondo base */
}

.marca-seleccionada {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0;
}

.marca-img-grande {
  max-width: 400px;
  width: 90vw;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  margin-bottom: 24px;
  background: #fff;
  padding: 24px;
}

.marca-card {
  display: inline-block;
  width: 220px;
  margin: 24px;
  padding: 20px 16px 16px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  text-align: center;
  transition: transform 0.2s;
}
.marca-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.marca-img-lista {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}
.marca-card button {
  margin-top: 10px;
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.marca-card button:hover {
  background: #0056b3;
}

/* Estilo para el título de la sección marca-seleccionada */
.marca-seleccionada h3 {
  font-size: 2.5rem; /* Tamaño grande para destacar */
  font-weight: bold; /* Negrita */
  color: #2a7ae9; /* Azul vibrante */
  text-align: center; /* Centrar el texto */
  margin-bottom: 20px; /* Espaciado inferior */
  font-family: 'Roboto', sans-serif; /* Fuente moderna */
  text-transform: uppercase; /* Convertir texto a mayúsculas */
  letter-spacing: 1.5px; /* Espaciado entre letras */
  position: relative; /* Para agregar decoraciones */
}

/* Línea decorativa debajo del texto */
.marca-seleccionada h3::after {
  content: '';
  display: block;
  width: 100px; /* Ancho de la línea */
  height: 4px; /* Altura de la línea */
  background-color: #1a5cb0; /* Azul más oscuro */
  margin: 10px auto 0; /* Centrar la línea */
  border-radius: 2px; /* Bordes redondeados */
}

/* Efectos al pasar el mouse */
.marca-seleccionada h3:hover {
  color: #0056b3; /* Cambiar a un azul más oscuro */
  transform: scale(1.05); /* Aumentar ligeramente el tamaño */
  transition: transform 0.3s ease, color 0.3s ease; /* Transiciones suaves */
}

/* Estilo para el h2 en PM.html */
.pm-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #007bff; /* Azul vibrante */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.pm-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #0056b3; /* Azul más oscuro */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Estilo para las imágenes en PM.html */
.pm-marca-img {
  width: 700px; /* Ancho fijo */
  height: 200px; /* Alto fijo */
  object-fit: contain; /* Mantener proporción de aspecto */
  object-position: center; /* Centrar la imagen */
  margin: 20px auto; /* Centrar horizontalmente */
  display: block; /* Asegurar que se comporte como un bloque */
}

/* Contenedor del seleccionador */
.letra-selector {
  margin: 20px auto;
  text-align: center;
  padding: 10px 0;
}

/* Lista de letras */
.letra-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.letra-lista li {
  font-size: 1rem;
  font-weight: bold;
  color: #007bff;
  padding: 5px 10px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.letra-lista li:hover {
  transform: scale(1.2);
  background-color: #0056b3;
  color: #fff;
}

/* Animación al hacer clic */
.letra-lista li:active {
  transform: scale(1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Estilo mejorado para el texto explicativo del seleccionador */
.letra-instrucciones {
  font-size: 1.2rem; /* Tamaño de fuente más grande */
  font-weight: bold; /* Negrita */
  color: #0056b3; /* Azul oscuro */
  text-align: center;
  margin-bottom: 15px;
  padding: 10px 20px; /* Espaciado interno */
  background-color: #f0f7ff; /* Fondo azul claro */
  border: 2px solid #007bff; /* Borde azul vibrante */
  border-radius: 12px; /* Bordes redondeados */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra ligera */
  display: inline-block; /* Ajustar al tamaño del contenido */
  max-width: 80%; /* Limitar el ancho máximo */
  line-height: 1.5; /* Mejorar la legibilidad */
}

/* Contenedor de productos */
.productos-container {
  padding: 20px;
  border-radius: 12px; /* Mantén los bordes redondeados */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra ligera */
  background-color: transparent; /* Cambia el fondo a transparente */
}

.productos-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

/* Contenedor principal de productos */
.productos-lista {
  display: flex;
  flex-direction: column; /* Asegura que los productos estén en una columna */
  gap: 10px; /* Espaciado entre las tarjetas de productos */
  padding: 0; /* Elimina cualquier padding interno */
  margin: 0; /* Elimina cualquier margen externo */
}

/* Tarjetas de productos */
.producto-card {
  margin: 5px 0; /* Reduce el margen entre los productos */
  padding: 10px; /* Ajusta el padding interno */
  display: flex;
  align-items: stretch; /* Asegura que la imagen y el texto tengan el mismo alto */
  justify-content: space-between;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  gap: 0; /* Sin espacio entre la imagen y el texto */
  width: 100%; /* Ajusta el ancho de las tarjetas al contenedor */
}

/* Imagen del producto */
.producto-card .producto-img {
  width: auto; /* Ajusta el ancho automáticamente */
  height: 100%; /* Ocupa todo el alto del contenedor */
  object-fit: contain; /* Mantiene el aspect ratio sin recortar */
  flex-shrink: 0; /* Evita que la imagen se reduzca */
  display: block; /* Asegura que la imagen sea tratada como un bloque */
  margin: 0; /* Elimina cualquier margen adicional */
}

/* Ajustar el centrado vertical de las imágenes de productos */
.producto-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    object-fit: contain;
}

/* Contenedor de texto */
.producto-card .producto-texto {
  flex: 1; /* Ocupa el resto del espacio disponible */
  display: flex;
  flex-direction: column; /* Asegura que los elementos estén uno debajo del otro */
  gap: 10px; /* Espaciado entre los elementos */
  padding: 20px; /* Espaciado interno */
  text-align: left; /* Alinear el texto a la izquierda */
  box-sizing: border-box; /* Incluye el padding en el cálculo del alto */
}

/* Alternar diseño: Imagen a la izquierda */
.producto-card.izquierda {
  flex-direction: row;
}

/* Alternar diseño: Imagen a la derecha */
.producto-card.derecha {
  flex-direction: row-reverse;
}

/* Botón "Ver más" */
.ver-mas-btn-producto {
  display: inline-block;
  margin-top: 10px; /* Reduce el espacio superior del botón */
  padding: 10px 20px;
  background: #fff;
  color: #333;
  border: 2px solid #333;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ver-mas-btn-producto:hover {
  background: #333;
  color: #fff;
  transform: scale(1.05);
}

/* Elementos internos de las tarjetas */
.producto-card h3,
.producto-card p,
.producto-card ul {
  margin: 0; /* Elimina márgenes adicionales en los elementos internos */
  padding: 0; /* Elimina cualquier padding adicional */
}

/* Elementos de la lista de características */
.producto-card ul {
  list-style: none; /* Eliminar las viñetas */
  padding: 0;
  margin: 10px auto; /* Centrar la lista horizontalmente */
  text-align: center; /* Centrar el contenido de la lista */
  display: block; /* Asegurar que las características estén en bloque */
}

/* Elementos de la lista de características */
.producto-card ul li {
  font-size: 0.9rem;
  color: #555;
  margin: 5px 0; /* Espaciado entre elementos */
  text-align: center; /* Centrar el texto de cada elemento */
}

/* Título de características */
.producto-card .caracteristicas-titulo {
  font-size: 0.8rem; /* Tamaño ligeramente más pequeño */
  font-weight: bold; /* Negrita */
  color: #000;
}

/* ---- Media Queries para Responsividad ---- */

/* Pantallas medianas (tablets) */
@media (max-width: 992px) {
  .producto-card {
    flex-direction: column; /* Cambia a diseño vertical */
    align-items: center; /* Centra los elementos */
    text-align: center; /* Centra el texto */
    padding: 15px; /* Agrega un poco de padding interno */
  }

  .producto-card .producto-img {
    width: 80%; /* Reduce el tamaño de la imagen */
    height: auto; /* Ajusta la altura automáticamente */
    margin-bottom: 10px; /* Espaciado entre la imagen y el texto */
  }

  .producto-card .producto-texto {
    display: flex; /* Asegura que el texto siga visible */
    flex-direction: column; /* Alinea los elementos en columna */
    align-items: center; /* Centra el texto */
    padding: 10px; /* Reduce el padding interno */
  }

  .producto-card h3 {
    font-size: 1.4rem; /* Ajusta el tamaño del título */
    margin-bottom: 10px; /* Espaciado inferior */
    font-weight: bold; /* Negrita para destacar el título */
  }

  .ver-mas-btn-producto {
    margin-top: 10px; /* Espaciado superior del botón */
    padding: 10px 20px; /* Ajusta el tamaño del botón */
    font-size: 1rem; /* Ajusta el tamaño del texto del botón */
  }
}

/* Pantallas pequeñas (móviles) */
@media (max-width: 1000px) {
  .producto-card {
    flex-direction: column !important; /* Cambia a diseño vertical */
    align-items: center; /* Centra los elementos */
    text-align: center; /* Centra el texto */
    padding: 10px; /* Reduce el padding interno */
    gap: 10px; /* Espaciado entre los elementos */
    background: none !important; /* Quita el color de fondo */
  }

  .producto-card .producto-img {
    order: 1; /* Asegura que la imagen esté arriba */
    width: 70%; /* Reduce el tamaño de la imagen */
    height: auto; /* Ajusta la altura automáticamente */
    margin-bottom: 10px; /* Espaciado entre la imagen y el texto */
    display: block; /* Asegura que la imagen sea visible */
  }

  .producto-card h3 {
    order: 2; /* Asegura que el título esté debajo de la imagen */
    display: block !important; /* Asegura que el título sea visible */
    font-size: 1.2rem; /* Ajusta el tamaño del título */
    margin-bottom: 10px; /* Espaciado inferior */
    font-weight: bold; /* Negrita para destacar el título */
    color: #333; /* Color del texto */
    text-align: center;
  }

  .ver-mas-btn-producto {
    order: 3; /* Asegura que el botón esté debajo del título */
    display: block !important; /* Asegura que el botón sea visible */
    margin-top: 10px; /* Espaciado superior del botón */
    padding: 8px 16px; /* Ajusta el tamaño del botón */
    font-size: 0.9rem; /* Ajusta el tamaño del texto del botón */
    background: #fff; /* Fondo blanco */
    color: #333; /* Color del texto */
    border: 2px solid #333; /* Borde del botón */
    border-radius: 8px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    text-align: center; /* Centra el texto dentro del botón */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  .ver-mas-btn-producto:hover {
    background: #333; /* Fondo negro al pasar el cursor */
    color: #fff; /* Texto blanco al pasar el cursor */
    transform: scale(1.05); /* Aumenta ligeramente el tamaño */
  }

  /* Mostrar el contenedor de texto */
  .producto-card .producto-texto {
    display: flex !important; /* Asegura que el contenedor de texto sea visible */
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px; /* Espaciado interno */
    background: none !important; /* Quita el color de fondo */
  }

  /* Ocultar elementos específicos dentro del contenedor de texto */
  .producto-card p,
  .producto-card ul,
  .producto-card .caracteristicas-titulo {
    display: none !important; /* Oculta el resto del contenido */
  }
}

/* Estilo para el encabezado de letras */
.letra-encabezado {
  font-size: 1.5rem; /* Tamaño de la letra */
  font-weight: bold;
  color: #333; /* Color del texto */
  margin: 5px 0; /* Reduce el margen superior e inferior */
  text-align: center; /* Centra el texto */
  text-transform: uppercase; /* Convierte a mayúsculas */
  padding: 0; /* Elimina el padding */
}

/* Contenedor principal de marcas */
#marcas-grid {
  display: flex; /* Cambia a diseño horizontal */
  flex-wrap: wrap; /* Permite que las marcas se ajusten a la siguiente línea si es necesario */
  justify-content: center; /* Centra las marcas horizontalmente */
  gap: 20px; /* Espaciado entre las marcas */
  padding: 20px; /* Espaciado interno */
  margin: 0 auto; /* Centra el contenedor */
  max-width: 1200px; /* Limita el ancho máximo */
}

/* Elementos individuales de las marcas */
.marca-item {
  display: flex;
  flex-direction: column; /* Asegura que los elementos estén en columna */
  align-items: center; /* Centra los elementos horizontalmente */
  justify-content: center; /* Centra los elementos verticalmente */
  width: 200px; /* Ancho fijo para cada marca */
  height: auto; /* Ajusta la altura automáticamente */
  padding: 15px; /* Espaciado interno */
  background: #fff; /* Fondo blanco */
  border-radius: 12px; /* Bordes redondeados */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra ligera */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Efectos al pasar el cursor */
.marca-item:hover {
  transform: scale(1.05); /* Aumenta ligeramente el tamaño */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada */
}

/* Imagen dentro de cada marca */
.marca-img {
    max-width: 150px; /* Ancho máximo */
    max-height: 150px; /* Altura máxima */
    object-fit: contain; /* Mantener proporciones dentro del límite */
    display: block; /* Asegurar que se comporte como un bloque */
    margin: 0 auto; /* Centrar la imagen dentro del contenedor */
}

/* Botón "Ver productos" */
.ver-productos-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #2a7ae9, #1a5cb0); /* Fondo degradado */
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.ver-productos-btn:hover {
  background: linear-gradient(135deg, #1a5cb0, #2a7ae9); /* Cambiar degradado al pasar el cursor */
  transform: scale(1.05); /* Aumentar ligeramente el tamaño */
}

/* Estilo para el contenedor del nombre de la marca */
#marca-nombre {
  font-size: 4rem; /* Tamaño grande para destacar */
  font-weight: bold; /* Negrita */
  color: #515e71; /* Azul vibrante */
  text-align: center; /* Centrar el texto */
  margin: 20px 0; /* Espaciado superior e inferior */
  font-family: 'Arial', Arial, Helvetica, sans-serif; /* Fuente moderna y limpia */
  text-transform: uppercase; /* Convertir texto a mayúsculas */
  letter-spacing: 2px; /* Espaciado entre letras */
  transition: transform 0.3s ease, color 0.3s ease; /* Transiciones suaves */
  cursor: pointer; /* Cambiar el cursor al pasar el mouse */
}

/* Efectos al pasar el mouse */
#marca-nombre:hover {
  transform: scale(1.1); /* Aumentar ligeramente el tamaño */
  color: #0056b3; /* Cambiar a un azul más oscuro */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Agregar sombra al texto */
}

/* Estilo para las imágenes de marca en productos */
.imagen-marca-productos {
  display: block;
  margin: 0 auto 10px; /* Centrar la imagen y agregar espaciado inferior */
  max-width: 700px; /* Limitar el ancho máximo */
  height: auto; /* Mantener proporciones */
}

/* ---- Categorías Section ---- */
.categorias-container {
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center; /* Centrar el contenido dentro del contenedor */
}

.categorias-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Ajustar tamaño mínimo */
    gap: 20px;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    text-align: center; /* Centrar el contenido dentro de cada contenedor */
}

.categoria-item {
    display: flex;
    flex-direction: column; /* Colocar imagen y texto en columna */
    align-items: center; /* Centrar horizontalmente */
    justify-content: center; /* Centrar verticalmente */
    text-align: center; /* Centrar el texto */
}

.categoria-item img {
    width: 120px; /* Tamaño fijo para todas las imágenes */
    height: 120px; /* Tamaño fijo para todas las imágenes */
    object-fit: contain; /* Ajustar la imagen dentro del contenedor sin distorsión */
    border-radius: 8px; /* Bordes redondeados */
    display: block; /* Asegurar que se comporten como bloques */
    margin: 0 auto; /* Centrar la imagen horizontalmente */
}

.categoria-item img:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el cursor */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.categoria-item p {
    margin-top: 10px;
    font-size: 1.1rem; /* Aumentar el tamaño del texto */
    color: #333;
}

.ver-mas-btn:hover {
    background-color: #0056b3;
}

.ver-mas-btn-cat {
    display: inline-block;
    margin: 40px auto 0; /* Centrar el botón horizontalmente */
    padding: 12px 30px;
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0);
    color: white;
    text-align: center;
    text-decoration: none; /* Quitar subrayado */
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 122, 233, 0.3);
}

.ver-mas-btn-cat:hover {
    background-color: #0056b3;
    transform: translateY(-3px); /* Efecto de elevación al pasar el cursor */
    box-shadow: 0 6px 20px rgba(42, 122, 233, 0.4);
}

/* ---- Categoría Link ---- */
.categoria-link {
    display: flex;
    flex-direction: column; /* Colocar imagen y texto en columna */
    align-items: center; /* Centrar horizontalmente */
    justify-content: center; /* Centrar verticalmente */
    text-decoration: none; /* Quitar subrayado */
    color: inherit; /* Usar el color del texto por defecto */
}

.categoria-link:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el cursor */
}

.categoria-link img {
    width: 120px; /* Tamaño fijo para todas las imágenes */
    height: 120px; /* Tamaño fijo para todas las imágenes */
    object-fit: contain; /* Ajustar la imagen dentro del contenedor sin distorsión */
    border-radius: 8px; /* Bordes redondeados */
}

.categoria-link p {
    margin-top: 10px;
    font-size: 1.1rem; /* Aumentar el tamaño del texto */
    color: #333;
    text-align: center; /* Centrar el texto */
}

/* Estilo para la burbuja de WhatsApp */
.whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.whatsapp-bubble:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

.whatsapp-bubble .whatsapp-link {
    color: white;
    font-size: 28px;
    text-decoration: none;
}

.whatsapp-tooltip {
    position: absolute;
    left: 80px; /* Ajustar para centrar el mensaje horizontalmente */
    bottom: 50%; /* Centrar verticalmente respecto a la burbuja */
    transform: translateY(50%); /* Ajustar posición vertical */
    background-color: #ffffff;
    color: #333;
    padding: 8px 12px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
}

.whatsapp-bubble:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Estilo para la burbuja del chat */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0); /* Cambiado a tonos azules */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    color: white;
    font-size: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Estilo para el widget del chat */
.chat-widget {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 20px;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.chat-widget.closing {
    animation: fadeOut 0.3s ease;
}

/* Encabezado del chat */
.chat-header {
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0); /* Cambiado a tonos azules */
    color: white;
    padding: 20px;
    text-align: center; /* Centrar el texto */
    position: relative;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.chat-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center; /* Centrar el texto */
    color: white; /* Cambiar el color del texto a blanco */
}

.chat-header p {
    margin: 5px 0 0;
    font-size: 1rem;
    opacity: 0.9;
    text-align: center; /* Centrar el texto */
}

.close-chat {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
}

.close-chat:hover {
    transform: scale(1.2);
}

/* Cuerpo del chat */
.chat-body {
    padding: 20px;
    text-align: center; /* Centrar el texto */
}

.chat-body textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    resize: none;
    font-size: 1rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.chat-body textarea:focus {
    border-color: #2a7ae9; /* Cambiado a azul */
    outline: none;
}

/* Botones de acción */
.chat-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}

.chat-button {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-button {
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0); /* Cambiado a tonos azules */
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #1a5cb0, #2a7ae9); /* Cambiado a tonos azules */
    transform: scale(1.05);
}

.email-button {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Azul para correo */
}

.email-button:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
    transform: scale(1.05);
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de salida */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ---- Producto Detalle Mejorado ---- */
.producto-detalle-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 500px; /* Altura mínima aumentada */
}

.producto-detalle {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    padding: 20px;
}

.producto-detalle-img {
    max-width: 500px; /* Aumentar el tamaño máximo de la imagen */
    width: 100%;
    background: transparent;
    padding: 20px;
}


.producto-detalle-info {
    flex: 1;
    max-width: 600px;
    background: transparent;
    padding: 20px;
    text-align: left;
}

.producto-detalle-info h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2a7ae9;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #2a7ae9;
    padding-bottom: 10px;
}

.producto-detalle-info p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.producto-detalle-info ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.producto-detalle-info ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

.producto-detalle-info h3 {
    font-size: 1.8rem;
    margin-top: 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* Botón de acción estilo Mercado Libre */
.producto-detalle-info .action-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffcc00, #ff9900); /* Fondo amarillo estilo Mercado Libre */
    color: #333;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.producto-detalle-info .action-btn:hover {
    background: linear-gradient(135deg, #ff9900, #ffcc00);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

/* Precio destacado */
.producto-detalle-info .precio {
    font-size: 2.2rem; /* Aumentar el tamaño del precio */
    font-weight: bold;
    color: #00a650; /* Verde estilo Mercado Libre */
    margin: 15px 0;
}

/* Contenedor de los botones */
.botones-container {
    display: flex; /* Usar Flexbox para alinear los botones */
    justify-content: center; /* Centrar los botones horizontalmente */
    align-items: center; /* Alinear los botones verticalmente */
    gap: 20px; /* Espaciado entre los botones */
    margin-top: 20px; /* Espaciado superior para separarlos del contenedor de detalles */
    width: 100%; /* Asegurar que ocupe el ancho del contenedor de detalles */
    max-width: 600px; /* Limitar el ancho máximo para que coincida con el contenedor de detalles */
    margin-left: auto; /* Centrar horizontalmente */
    margin-right: auto; /* Centrar horizontalmente */
}

/* Botón de Cotizar */
.cotizar-btn {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffcc00, #ff9900); /* Fondo amarillo estilo Mercado Libre */
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border: none; /* Eliminar cualquier borde */
    box-shadow: none; /* Eliminar cualquier sombra */
    border-radius: 15px; /* Esquinas redondeadas */
}

.cotizar-btn:hover {
    background: linear-gradient(135deg, #ff9900, #ffcc00);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4); /* Sombra al pasar el mouse */
}

/* Botón de Dudas */
.dudas-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0); /* Fondo azul */
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 15px; /* Esquinas redondeadas */
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 122, 233, 0.3);
}

.dudas-btn:hover {
    background: linear-gradient(135deg, #1a5cb0, #2a7ae9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 122, 233, 0.4);
}

/* Contenedor de opciones dentro del botón de Cotizar */
.cotizar-btn:hover .cotizar-opciones,
.cotizar-btn:focus-within .cotizar-opciones {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.cotizar-opciones {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: none; /* Eliminar cualquier borde */
    border-radius: 15px; /* Esquinas redondeadas */
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

/* Opciones individuales */
.cotizar-opciones a {
    display: block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 15px; /* Esquinas redondeadas */
}

.cotizar-opciones a:last-child {
    border-bottom: none; /* Quitar la línea del último elemento */
}

.cotizar-opciones a:hover {
    background: #f0f7ff;
    color: #2a7ae9;
}

/* Botón de WhatsApp */
.modal-option.whatsapp {
    background: #25d366; /* Verde de WhatsApp */
    border-radius: 15px; /* Esquinas redondeadas */
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaciado entre el ícono y el texto */
}

.modal-option.whatsapp:hover {
    background: #1da851; /* Verde más oscuro al pasar el mouse */
    transform: scale(1.05);
}

/* Botón de Correo */
.modal-option.correo {
    background: #007bff; /* Azul para el correo */
    border-radius: 15px; /* Esquinas redondeadas */
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaciado entre el ícono y el texto */
}

.modal-option.correo:hover {
    background: #0056b3; /* Azul más oscuro al pasar el mouse */
    transform: scale(1.05);
}

/* Íconos dentro de los botones */
.modal-option i {
    font-size: 1.2rem; /* Tamaño del ícono */
}

/* Responsive Design */
@media (max-width: 768px) {
    .producto-detalle {
        flex-direction: column;
        align-items: center;
    }

    .producto-detalle-img {
        max-width: 350px; /* Ajustar el tamaño de la imagen para pantallas pequeñas */
    }

    .producto-detalle-info {
        max-width: 100%;
        text-align: center;
    }

    .producto-detalle-info h1 {
        font-size: 2rem;
    }

    .producto-detalle-info p {
        font-size: 1rem;
    }

    .producto-detalle-info h3 {
        font-size: 1.5rem;
    }
}

/* Estilo para el modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Inicialmente invisible */
    animation: fadeOut 0.3s ease forwards; /* Animación de salida por defecto */
}

/* Mostrar el modal con animación */
.modal.show {
    display: flex;
    opacity: 1; /* Visible */
    animation: fadeIn 0.3s ease forwards; /* Animación de entrada */
}

/* Contenido del modal */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    transform: scale(0.8); /* Escalado inicial */
    animation: scaleOut 0.3s ease forwards; /* Animación de salida por defecto */
}

/* Mostrar el contenido del modal con animación */
.modal.show .modal-content {
    transform: scale(1); /* Escalado normal */
    animation: scaleIn 0.3s ease forwards; /* Animación de entrada */
}

/* Botón de cerrar */
.close-btn {
    position: absolute;
    top: -20px; /* Posicionar fuera del cuadro emergente */
    right: -20px; /* Posicionar fuera del cuadro emergente */
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background: #ff0000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1001; /* Asegurarse de que esté por encima del modal */
}

.close-btn:hover {
    transform: scale(1.1);
    background-color: #cc0000;
}

/* Opciones del modal */
.modal-options {
    display: flex;
    justify-content: center; /* Centrar los botones */
    gap: 15px; /* Espaciado entre los botones */
    margin-top: 20px;
}

.modal-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaciado entre el ícono y el texto */
    padding: 10px 18px; /* Reducir el padding */
    border-radius: 30px;
    font-size: 0.9rem; /* Reducir el tamaño del texto */
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
    width: 160px; /* Tamaño uniforme para ambos botones */
}

/* Botón de WhatsApp */
.modal-option.whatsapp {
    background: #25d366; /* Verde de WhatsApp */
}

.modal-option.whatsapp:hover {
    background: #1da851; /* Verde más oscuro al pasar el mouse */
    transform: scale(1.05);
}

/* Botón de Correo */
.modal-option.correo {
    background: #007bff; /* Azul para el correo */
}

.modal-option.correo:hover {
    background: #0056b3; /* Azul más oscuro al pasar el mouse */
    transform: scale(1.05);
}

/* Íconos dentro de los botones */
.modal-option i {
    font-size: 1.2rem; /* Reducir el tamaño del ícono */
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

@keyframes scaleOut {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.8);
    }
}

/* Contenedor de productos relacionados */
.productos-relacionados {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.productos-relacionados h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.producto-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.producto-card h3 {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #333;
}

.producto-card p {
    font-size: 0.9rem;
    color: #666;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Contenedor principal de productos relacionados */
.productos-relacionados-container {
    margin-top: 40px;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contenedor interno de productos relacionados */
.productos-relacionados {
    max-width: 1200px;
    margin: 0 auto;
}

.productos-relacionados h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.productos-grid-unicos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
}

.producto-card-unico {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px; /* Increased width */
    height: 400px; /* Increased height */
    display: flex;
    flex-direction: column; /* Alinear el contenido en columna */
    justify-content: space-between; /* Espaciar los elementos dentro del contenedor */
    align-items: center; /* Centrar horizontalmente los elementos */
    overflow: hidden; /* Evitar que el contenido se desborde */
}

.producto-card-unico img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.producto-card-unico h3 {
    font-size: 1rem;
    margin: 10px 0;
    color: #333;
    text-align: center;
}

.producto-card-unico p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.producto-card-unico .ver-mas-btn {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, #2a7ae9, #1a5cb0);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Empujar el botón hacia la parte inferior del contenedor */
}

.producto-card-unico .ver-mas-btn:hover {
    background: linear-gradient(135deg, #1a5cb0, #2a7ae9);
    transform: scale(1.05);
}

/* Estilos Generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

.contact-header {
    text-align: center;
    padding: 50px 20px;
    color: rgb(47, 49, 138);
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 1.2rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    gap: 20px;
}

.contact-form, .contact-info {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 45%;
    max-width: 500px;
}

.contact-form h2, .contact-info h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2a7ae9;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #2a7ae9;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #1a5cb0;
}

.contact-info {
    display: flex;
    flex-direction: column; /* Alinear los elementos en columna */
    align-items: center; /* Centrar horizontalmente */
    justify-content: center; /* Centrar verticalmente */
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 45%;
    max-width: 500px;
    gap: 15px; /* Espaciado uniforme entre los elementos */
    text-align: center; /* Centrar el texto */
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2a7ae9;
}

.contact-info p {
    font-size: 1rem;
    margin: 5px 0; /* Reducir el margen entre los párrafos */
    display: flex;
    align-items: center; /* Centrar íconos verticalmente */
    gap: 10px; /* Espaciado entre el ícono y el texto */
}

.contact-info .social-icons {
    display: flex;
    justify-content: center; /* Centrar los íconos horizontalmente */
    gap: 15px; /* Espaciado entre los íconos */
    margin-top: 20px;
}

.contact-info .social-icon {
    color: #2a7ae9;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info .social-icon:hover {
    color: #1a5cb0;
    transform: scale(1.1); /* Efecto de zoom al pasar el cursor */
}

/* Horario de Atención */
.contact-hours {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 45%;
    max-width: 500px;
    text-align: center;
}

.contact-hours h2 {
    color: #2a7ae9;
    margin-bottom: 15px;
}

.contact-hours ul {
    list-style: none;
    padding: 0;
}

.contact-hours li {
    font-size: 1rem;
    margin: 10px 0;
}

/* Mapa Interactivo */
.contact-map {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 100%;
    text-align: center;
}

.contact-map h2 {
    color: #2a7ae9;
    margin-bottom: 15px;
}

/* Preguntas Frecuentes */
.contact-faq {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 100%;
    text-align: left;
}

.contact-faq h2 {
    color: #2a7ae9;
    margin-bottom: 15px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.faq-item p {
    font-size: 1rem;
    color: #666;
}
