/* --- 1. ESTILOS GENERALES Y RESET --- */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; margin: 0; color: #333; background-color: #fff; }
h2, h3, h4, p, ul { margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }

/* --- 2. CLASES GLOBALES (Contenedor, Botones) --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn-principal { display: inline-block; background-color: #ff6900; color: white; padding: 18px 35px; border-radius: 8px; font-weight: bold; transition: background-color 0.3s ease, transform 0.3s ease; font-size: 1.1em; cursor: pointer; border: none; }
.btn-principal:hover { background-color: #e65c00; transform: translateY(-3px); }

/* --- 3. CABECERA PRINCIPAL --- */
.main-header { background-color: #fff; border-bottom: 1px solid #eee; padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5em; font-weight: bold; }
.main-menu ul { list-style: none; }
.main-menu li { display: inline-block; margin-left: 30px; }
.main-menu a { font-weight: 500; transition: color 0.3s ease; padding-bottom: 5px; }
.main-menu a.sel { color: #ff6900; border-bottom: 2px solid #ff6900;}
.main-menu a:hover { color: #ff6900; border-bottom: 2px solid #ff6900;}

/* --- 4. CARRUSEL PRINCIPAL (HOME) --- */
.home-slider-seccion { min-height: 500px; background-color: #f7f7f7; }
#home-slider { width: 100%; height: 100%; min-height: 500px; }
.swiper-slide { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 500px; }
/* Slide 1: Oferta */
.slide-oferta-dia { background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%); color: white; }
.oferta-grid { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.oferta-imagen { flex: 1; min-width: 300px; }
.oferta-imagen img { max-width: 100%; }
.oferta-contenido { flex: 1; min-width: 300px; }
.oferta-contenido h2 { font-size: 1.2em; font-weight: bold; background-color: rgba(255,255,255,0.2); display: inline-block; padding: 5px 10px; border-radius: 5px; }
.oferta-contenido h3 { font-size: clamp(2em, 5vw, 3em); margin: 15px 0; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.oferta-contenido p { font-size: 1.2em; line-height: 1.6; max-width: 600px; }
.oferta-contenido .producto-precios { margin: 25px 0; background-color: rgba(0,0,0,0.2); padding: 15px; border-radius: 8px; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.oferta-contenido .precio-final { font-size: 3.4em; font-weight: bold; color: #fff; }
.oferta-countdown { margin-top: 25px; }
#countdown { font-size: clamp(1em, 5vw, 1.5em); font-weight:NORMAL; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.descuento-tag { background-color: #ff6900; color: white; padding: 5px 10px; border-radius: 5px; font-weight: bold; }
/* Slide 2: Promo */
.slide-promo-portal { background-color: #f7f7f7; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; width: 100%; }
.promo-imagen { text-align: center; }
.promo-imagen img { max-width: 142%; max-height: 520px; }
.promo-contenido h2 { font-size: clamp(2.5em, 5vw, 4em); font-weight: bold; color: #ff6900; }
.promo-contenido p { font-size: 1.8em; color: #333; margin: 10px 0 20px 0; }
.promo-contenido .tagline { font-size: 1.2em; color: #555; font-style: italic; display: block; margin-bottom: 30px; }

/* Slide 3: Placeholder */
.slide-placeholder { background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%); color: white; text-align: center; }
.slide-placeholder h2 { font-size: 3em; margin-bottom: 15px; }
.slide-placeholder p { font-size: 1.5em; margin-bottom: 30px; }
/* Nav/Paginación del Slider Home */
#home-slider .swiper-button-next, #home-slider .swiper-button-prev { color: white; background-color: rgba(0, 0, 0, 0.2); width: 50px; height: 50px; border-radius: 50%; transition: background-color 0.3s ease; }
#home-slider .swiper-button-next:hover, #home-slider .swiper-button-prev:hover { background-color: rgba(0, 0, 0, 0.5); }
#home-slider .swiper-button-next::after, #home-slider .swiper-button-prev::after { font-size: 20px; font-weight: bold; }
#home-slider .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.7); width: 10px; height: 10px; opacity: 1; }
#home-slider .swiper-pagination-bullet-active { background: #ff6900; }

/* --- 4.B. ENCABEZADO DE CATEGORÍA (Patinetes, FAQ, etc.) --- */
.category-header { padding: 50px 0; background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%); color: white; text-align: center; }
.category-header h1 { font-size: 2.8em; margin-bottom: 10px; color: #fff; }
.category-header p { font-size: 1.2em; color: #eee; }

/* --- 5. SECCIÓN DE PRODUCTOS (Reutilizada) --- */
.productos-seccion { padding: 80px 0; }
.productos-seccion h2 { text-align: center; margin-bottom: 50px; font-size: 2.5em; }
.productos-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.producto-card { border: 1px solid #eee; border-radius: 12px; width: 250px; text-align: left; overflow: hidden; background-color: #fff; box-shadow: 0 4px 8px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.producto-card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.producto-imagen { position: relative; }
.producto-imagen img { width: 100%; display: block; }
.descuento-badge { position: absolute; top: 12px; right: 12px; background-color: #ff6900; color: white; padding: 5px 10px; border-radius: 5px; font-size: 0.9em; font-weight: bold; }
.producto-card h3 { font-size: 1.1em; padding: 15px; min-height: 60px; }
.producto-precios-card { padding: 0 15px 15px 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; flex-grow: 1; }
.precio-tachado { text-decoration: line-through; color: #95a5a6; }
.producto-precios-card .precio-final { font-size: 1.4em; font-weight: bold; color: #000; } 

/* --- 5.B. ESTILOS LISTADO DE PRODUCTOS (Stock, Botón Negro) --- */
.producto-enlace-card { display: block; color: inherit; text-decoration: none; }
.producto-enlace-card:hover h3 { color: #ff6900; }
.producto-stock { font-size: 0.9em; font-weight: bold; padding: 5px 15px 10px 15px; display: flex; align-items: center; gap: 6px; }
.producto-stock .circulo-stock { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.producto-stock.disponible { color: #27ae60; }
.producto-stock.disponible .circulo-stock { background-color: #27ae60; }
.producto-stock.agotado { color: #e74c3c; }
.producto-stock.agotado .circulo-stock { background-color: #e74c3c; }
.producto-acciones { padding: 15px; border-top: 1px solid #f0f0f0; margin-top: 10px; }
.btn-comprar { display: block; width: 100%; padding: 12px; background-color: #000; color: white; text-align: center; border-radius: 8px; font-weight: bold; transition: background-color 0.3s ease; font-size: 0.95em; }
.btn-comprar:hover { background-color: #333; color: white; }
.btn-comprar.disabled { background-color: #bdc3c7; cursor: not-allowed; pointer-events: none; }

/* --- 6. SECCIÓN DE BENEFICIOS (HOME) --- */
.beneficios-seccion { background-color: #f7f7f7; padding: 50px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.beneficios-grid { display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 20px; }
.beneficio-item { min-width: 250px; padding: 20px; }
.beneficio-item h4 { font-size: 1.2em; margin-bottom: 8px; }

/* --- 7. SLIDER DE CATEGORÍAS (HOME) --- */
.categorias-slider { padding: 80px 0; text-align: center; }
.categorias-slider h2 { margin-bottom: 50px; font-size: 2.5em; }
.categorias-slider .swiper-container { width: 100%; padding: 10px 0; }
.categoria-card { position: relative; color: white; border-radius: 12px; overflow: hidden; height: 400px; padding-left: 9%}
.categoria-card img {  height: 380px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.categoria-card:hover img { transform: scale(1.05); }
.categoria-info { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 40px 20px 20px 20px; }
.categorias-slider .swiper-button-next, .categorias-slider .swiper-button-prev { color: #ff6900; font-weight: bold; }

/* --- 8. SECCIÓN NOVEDAD XIAOMI (HOME) --- */
.novedad-seccion { background-color: #f7f7f7; padding: 80px 0; }
.novedad-grid { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.novedad-contenido { flex: 1; min-width: 300px; }
.novedad-contenido h2 { font-size: 1.5em; color: #ff6900; text-transform: uppercase; font-weight: bold; }
.novedad-contenido h3 { font-size: clamp(2.5em, 5vw, 3.5em); margin: 15px 0; }
.novedad-contenido p { font-size: 1.2em; line-height: 1.7; margin-bottom: 35px; }
.novedad-imagen { flex: 1; min-width: 300px; text-align: center; }
.novedad-imagen img { /* max-width: 100%; */ border-radius: 10px; }

/* --- 9. SECCIÓN DE TESTIMONIOS (HOME) --- */
.testimonios-seccion { padding: 80px 0; }
.testimonios-seccion h2 { text-align: center; margin-bottom: 50px; font-size: 2.5em; }
.testimonios-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.testimonio-card { background-color: #f7f7f7; border-top: 4px solid #ff6900; border-radius: 8px; padding: 30px; max-width: 350px; }
.testimonio-card p { font-style: italic; color: #555; line-height: 1.6; margin-bottom: 15px; }
.testimonio-card cite { display: block; font-weight: bold; color: #333; font-style: normal; text-align: right; }

/* --- 10. SECCIÓN DE NEWSLETTER (Reutilizada) --- */
.newsletter-seccion { padding: 60px 0; background-color: #2c3e50; color: white; text-align: center; }
.newsletter-seccion h3 { font-size: 2em; }
.newsletter-seccion p { margin: 10px 0 25px 0; font-size: 1.1em; color: #bdc3c7; }
.newsletter-form { display: flex; justify-content: center; max-width: 500px; margin: 0 auto; }
.newsletter-form input { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 5px 0 0 5px; font-size: 1em; }
.newsletter-form input:focus { outline: 2px solid #ff6900; }
.newsletter-form button { padding: 15px 25px; border: none; background-color: #ff6900; color: white; font-size: 1em; font-weight: bold; cursor: pointer; border-radius: 0 5px 5px 0; transition: background-color 0.3s ease; }
.newsletter-form button:hover { background-color: #e65c00; }

/* --- 10.B. PÁGINA "QUIÉNES SOMOS" --- */
.about-section { padding: 80px 0; line-height: 1.7; }
.about-section h2 { font-size: 2.5em; margin-bottom: 20px; text-align: center; }
.about-section > .container > p { font-size: 1.1em; color: #555; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; }
.about-section h3 { font-size: 2em; margin-bottom: 15px; color: #ff6900; }
.about-main-image { width: 100%; max-width: 900px; margin: 10px auto 60px auto; display: block; border-radius: 12px; }
.about-grid { display: flex; gap: 50px; align-items: center; margin-bottom: 60px; flex-wrap: wrap; }
.about-grid .about-text, .about-grid .about-image { flex: 1; min-width: 300px; }
.about-grid .about-text p { font-size: 1.1em; color: #555; text-align: left; margin-left: 0; margin-right: 0; max-width: 100%; }
.about-grid .about-image img { width: 100%; border-radius: 12px; box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.about-grid.reverse { flex-direction: row-reverse; }

/* --- 10.C. PÁGINA DE CONTACTO --- */
.contact-main-module { display: grid; grid-template-columns: 1fr 1fr; width: 100%; background-color: #f7f7f7; }
.contact-photo { background-image: url('../img/atencion2.jpg'); background-size: cover; background-position: center; min-height: 500px; }
.contact-info { padding: 40px 60px; display: flex; flex-direction: column; justify-content: center; }
.contact-info h2 { font-size: 2.8em; margin-bottom: 15px; }
.contact-info p { font-size: 1.1em; line-height: 1.7; color: #555; max-width: 500px; }
.contact-info h3 { font-size: 1.5em; color: #ff6900; margin-top: 30px; margin-bottom: 10px; }
.contact-info a { color: #ff6900; font-weight: bold; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-form-seccion { padding: 80px 0; }
.contact-form-seccion h2 { text-align: center; font-size: 2.5em; margin-bottom: 50px; }
.contact-form { max-width: 700px; margin: 0 auto; display: grid; gap: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 8px; font-size: 1em; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: 2px solid #ff6900; border-color: #ff6900; }
.contact-form .btn-principal { width: 100%; font-size: 1.2em; }

/* --- 10.D. PÁGINA DE PREGUNTAS FRECUENTES (FAQ) --- */
.faq-top-seccion { padding: 80px 0; background-color: #fff; }
.faq-top-seccion h2, .faq-list-seccion h2 { text-align: center; font-size: 2.5em; margin-bottom: 50px; }
.faq-top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.faq-top-card { background-color: #f7f7f7; border-top: 4px solid #ff6900; border-radius: 8px; padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.faq-icon { width: 50px; height: 50px; margin-bottom: 20px; }
.faq-icon svg { width: 100%; height: 100%; fill: #ff6900; }
.faq-top-card h3 { font-size: 1.4em; margin-bottom: 15px; }
.faq-top-card p, .faq-list-seccion p { font-size: 1em; line-height: 1.6; color: #555; }
.faq-top-card a, .faq-list-seccion a { color: #ff6900; font-weight: 500; }
.faq-list-seccion { padding: 0 0 80px 0; background-color: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; padding: 25px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { font-size: 1.25em; margin-bottom: 10px; }


/* === [ACTUALIZADO] SECCIÓN 10.E. PÁGINA DE FICHA DE PRODUCTO === */
.breadcrumbs {
    padding: 20px 0;
    background-color: #f9f9f9;
    font-size: 0.9em;
    color: #555;
    border-bottom: 1px solid #eee;
}
.breadcrumbs a {
    color: #ff6900;
}
.producto-detalle-seccion {
    padding: 60px 0;
}
.producto-detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
/* Galería de imágenes */
.galeria-imagen-principal img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #eee;
}
.galeria-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.galeria-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.galeria-thumbnails img:hover,
.galeria-thumbnails img.active {
    border-color: #ff6900;
}
/* Info de producto */
.producto-info h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}
/* Reutilizamos el stock, solo ajustamos margen */
.producto-info .producto-stock {
    padding-left: 0;
    margin-bottom: 20px;
}
.producto-detalle-precios {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
}
.producto-detalle-precios .precio-final {
    font-size: 2.8em;
    font-weight: bold;
    color: #ff6900;
}
.producto-detalle-precios .precio-tachado {
    font-size: 1.4em;
    color: #95a5a6;
}
.descuento-tag-detalle {
    background-color: #e74c3c;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
}
.producto-resumen {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}
.producto-features-list {
    list-style-position: inside;
    list-style-type: '✔ '; /* Icono check */
    margin-bottom: 30px;
    padding-left: 5px;
}
.producto-features-list li {
    margin-bottom: 8px;
    font-size: 1.05em;
}
.producto-acciones-detalle {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.form-group-cantidad {
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-group-cantidad label {
    font-weight: 500;
}
.form-group-cantidad input {
    width: 70px;
    padding: 15px;
    font-size: 1.1em;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
}
.btn-comprar-grande {
    flex: 1; /* Ocupa el resto del espacio */
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1.1em;
}
.beneficios-compactos {
    display: flex;
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 25px;
}
.beneficios-compactos .beneficio-item {
    padding: 0;
    min-width: 0;
}
.beneficios-compactos .beneficio-item h4 {
    font-size: 1.1em;
}
.beneficios-compactos .beneficio-item p {
    font-size: 0.9em;
    color: #555;
}

/* --- [NUEVO] ESTILOS INFO ADICIONAL EN SCROLL (SIN PESTAÑAS) --- */
.producto-info-adicional {
    background-color: #f9f9f9;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.producto-descripcion-bloque {
    margin-bottom: 50px;
}

.producto-descripcion-bloque h3, 
.producto-specs-bloque h3 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #111;
    border-bottom: 2px solid #ff6900;
    display: inline-block;
    padding-bottom: 5px;
}

.producto-descripcion-bloque p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    max-width: 900px;
}

.specs-table {
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table td {
    padding: 15px 20px;
}

.specs-table td:first-child {
    font-weight: bold;
    color: #333;
    width: 35%;
    background-color: #fcfcfc;
}

/* --- 11. PIE DE PÁGINA --- */
.site-footer { background-color: #1d2936; color: #bdc3c7; padding: 50px 0; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.footer-col { min-width: 200px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: #ff6900; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid #34495e; padding-top: 30px; font-size: 0.9em; }
.payment-methods { display: flex; align-items: center; gap: 8px;  }

/* --- 12. GLOBO DE WHATSAPP --- */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 1001; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* --- 13. PÁGINA DE ARTÍCULO / BLOG --- */
.article-container { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.article-header { text-align: center; margin-bottom: 40px; }
.article-tag { display: inline-block; background-color: #ff6900; color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 0.9em; font-weight: bold; margin-bottom: 15px; text-transform: uppercase; }

.article-title { font-size: clamp(2em, 5vw, 3em); margin-bottom: 20px; color: #111; line-height: 1.2; }
.article-lead { font-size: clamp(1.1em, 3vw, 1.3em); color: #555; line-height: 1.6; font-style: italic; margin-bottom: 30px; }

.article-meta { font-size: 0.9em; color: #888; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 15px 0; margin-bottom: 40px; }
.article-hero-img { width: 100%; border-radius: 12px; margin-bottom: 40px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.article-body { font-size: 1.15em; line-height: 1.8; color: #333; }
.article-body h2 { font-size: clamp(1.5em, 4vw, 2em); color: #ff6900; margin: 40px 0 20px 0; }
.article-body p { margin-bottom: 25px; }
.article-body blockquote { font-size: clamp(1.1em, 3vw, 1.3em); font-style: italic; border-left: 4px solid #ff6900; padding-left: 20px; margin: 40px 0; color: #555; }
.article-cta { text-align: center; margin-top: 50px; padding: 40px 20px; background-color: #f7f7f7; border-radius: 12px; }
.article-cta h3 { font-size: clamp(1.4em, 4vw, 1.8em); margin-bottom: 15px; }



/* =======================================================
   MODAL DE COMPRA TEMPORAL (MINIMALISTA Y ELEGANTE)
   ======================================================= */
.modal-overlay {
    display: none; /* Oculto por defecto, el JS lo cambia a flex */
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo más suave y translúcido */
    backdrop-filter: blur(6px); /* Desenfoque elegante estilo Apple */
    z-index: 2000;
    align-items: center; justify-content: center;
}

.modal-minimalista {
    background-color: #fff;
    padding: 50px 60px;
    border-radius: 20px; /* Bordes más redondeados y suaves */
    max-width: 850px;
    width: 95%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1); /* Sombra muy difusa */
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Aparición más fluida */
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute; top: 20px; right: 25px;
    font-size: 2.2em; font-weight: 300; cursor: pointer;
    color: #bbb; transition: color 0.3s ease; line-height: 1;
}
.modal-close:hover { color: #111; }

/* Cabecera del Modal */
.modal-header-minimalista { margin-bottom: 45px; }
.modal-header-minimalista h3 {
    font-size: 2em; font-weight: 600; color: #111;
    margin-bottom: 12px; letter-spacing: -0.5px;
}
.modal-header-minimalista p {
    font-size: 1.05em; color: #666; line-height: 1.6;
    max-width: 600px; margin: 0 auto;
}

/* Layout de dos columnas sin cajas pesadas */
.modal-grid-minimalista {
    display: flex; align-items: stretch; justify-content: space-between; gap: 40px;
    text-align: left;
}

.modal-bloque {
    flex: 1; display: flex; flex-direction: column;
}
.modal-bloque h4 {
    font-size: 0.95em; text-transform: uppercase; letter-spacing: 1.5px;
    color: #111; margin-bottom: 15px; font-weight: 700;
}
.modal-bloque p {
    color: #777; font-size: 0.95em; line-height: 1.6;
    margin-bottom: 30px; flex-grow: 1;
}

/* Línea sutil en lugar de la letra "O" */
.modal-linea-divisoria {
    width: 1px; background-color: #eaeaea; margin: 0 10px;
}

/* --- ESTILOS DE BOTONES MINIMALISTAS --- */
.btn-minimalista {
    display: block; width: 100%; padding: 16px;
    text-align: center; text-transform: uppercase; letter-spacing: 1px;
    font-size: 0.85em; font-weight: 600; border-radius: 8px;
    transition: all 0.3s ease; border: none; cursor: pointer; text-decoration: none;
}

/* WhatsApp: Verde sutil que se llena al pasar el ratón */
.btn-whatsapp {
    background-color: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0;
}
.btn-whatsapp:hover { background-color: #16a34a; color: #fff; border-color: #16a34a; }

/* Correo: Negro elegante que cambia al naranja corporativo */
.btn-dark { background-color: #111; color: #fff; }
.btn-dark:hover { background-color: #ff6900; }

/* --- FORMULARIO INVISIBLE (Líneas inferiores) --- */
.form-minimalista { display: flex; flex-direction: column; gap: 20px; }
.form-minimalista input, .form-minimalista textarea {
    width: 100%; padding: 10px 0;
    border: none; border-bottom: 1px solid #ddd; /* Solo línea abajo */
    background: transparent; font-family: inherit; font-size: 1em; color: #333;
    transition: border-color 0.3s ease;
}
.form-minimalista input:focus, .form-minimalista textarea:focus {
    outline: none; border-bottom-color: #ff6900; /* Se pinta de naranja al escribir */
}
.form-minimalista textarea { resize: none; }
.form-minimalista .btn-dark { margin-top: 15px; }

/* --- RESPONSIVE PARA MÓVILES --- */
@media (max-width: 768px) {
    .modal-minimalista { padding: 40px 25px; }
    .modal-grid-minimalista { flex-direction: column; gap: 35px; }
    .modal-linea-divisoria { width: 100%; height: 1px; margin: 0; }
    .modal-header-minimalista h3 { font-size: 1.6em; }
}



/* --- 14. ESTILOS RESPONSIVE --- */
@media (max-width: 768px) {
	
	
	/* Modal 2 Bloques Móvil */
    .modal-grid-opciones { flex-direction: column; padding: 15px; }
    .modal-divisor { justify-content: center; margin: 10px 0; }
	
	
  
  /* Home Slider */
    .promo-grid { grid-template-columns: 1fr; padding: 40px 20px; }
    .promo-imagen { order: -1; margin-bottom: 20px; }
    .promo-imagen img { max-height: 250px; }
    .promo-contenido { text-align: center; }
    .slide-oferta-dia .oferta-grid { flex-direction: column; padding: 40px 20px; }
    
    /* Página "Quiénes Somos" */
    .about-grid, .about-grid.reverse { flex-direction: column; }
    
    /* Página de Contacto */
    .contact-main-module { grid-template-columns: 1fr; }
    .contact-photo { min-height: 300px; }
    .contact-info { padding: 40px 20px; }

    /* Página de Producto */
    .producto-detalle-grid {
        grid-template-columns: 1fr;
    }
    .producto-info h1 {
        font-size: 2em;
    }
    .producto-acciones-detalle {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-comprar-grande {
        width: 100%;
    }
    .form-group-cantidad input {
        width: 100%;
    }

    /* Info en scroll móvil */
    .producto-descripcion-bloque h3, 
    .producto-specs-bloque h3 {
        font-size: 1.5em;
    }
    .specs-table td {
        padding: 12px 10px;
        font-size: 0.9em;
    }

    /* Página Artículo / Blog */
    .article-container { padding: 20px 15px; }
    .article-header { margin-bottom: 25px; }
    .article-hero-img { margin-bottom: 25px; }
    .article-body { font-size: 1.05em; }
    .article-body h2 { margin: 30px 0 15px 0; }
    .article-body blockquote { margin: 25px 0; }
    .article-cta { padding: 30px 15px; margin-top: 30px; }

    /* WhatsApp */
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}