/* --- 1. VARIABLES Y ESTILOS GLOBALES --- 
linea para ver los precios en productos.json(linea 82 en main.js): 
<span class="price">$${product.precio.toLocaleString('es-AR')}</span>
${product.descuento ? `<span class="discount">${product.descuento}</span>` : ''}
*/
:root {
    --primary-color: #0056b3; /* Azul corporativo fuerte */
    --secondary-color: #004494; /* Azul más oscuro para hover */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --font-family: 'Roboto', sans-serif;
    --container-width: 1200px;
    --section-padding: 80px 0;
    --footer-bg: #000000; /* Fondo negro para el footer */
    --footer-text: #cccccc; /* Texto gris claro */
    --footer-heading: #ffffff; /* Títulos en blanco */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* --- 2. TIPOGRAFÍA --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h3 { font-size: 1.8rem; margin-bottom: 15px; }
h4 { font-size: 1.2rem; }

/* --- 3. COMPONENTES (Botones, Cards, etc.) --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}
.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.card {
    background: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* --- 4. LAYOUT DE SECCIONES --- */

/* Header */
.main-header {
    background: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 5%;  /* Empuja el logo hacia adentro */
    padding-right: 5%;
}
.main-header .logo img {
    height: 40px;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.main-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
/* Hero Section */
#hero {
    position: relative;
    height: 60vh; 
    min-height: 500px; 
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Estilos de cada Slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
    /* Flexbox para posicionar el texto dentro del slide */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinea verticalmente al fondo */
    align-items: flex-start;   /* Alinea horizontalmente a la izquierda */
    
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2; /* El activo siempre arriba */
}

/* Contenido del Hero (Texto y Botón) */
.hero-content {
    max-width: 800px;
    padding-left: 60px;   /* Mantenemos tu padding original */
    padding-bottom: 100px; /* Un poco más de espacio abajo para los puntos */
    padding-right: 20px;
    color: var(--white-color);
    
    /* Configuración inicial para la animación */
    opacity: 0;
    transform: translateY(30px); /* Empieza un poco más abajo */
    transition: all 1s ease-out;
}

/* ANIMACIÓN: Cuando el slide tiene la clase .active, el texto aparece */
.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0); /* Sube a su posición original */
    transition-delay: 0.5s;   /* Espera medio segundo para que aparezca el fondo primero */
}
.hero-content h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Navegación con Flechas */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    font-size: 2.5rem;
    color: white;
    text-decoration: none;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Indicadores (Puntos) */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px; /* Espacio entre las píldoras */
    z-index: 3;
}

.dot {
    cursor: pointer;
    height: 8px; /* Altura de la píldora */
    width: 40px; /* Ancho de la píldora */
    background-color: transparent; /* Fondo transparente por defecto */
    border: 1px solid rgba(255, 255, 255, 0.7); /* Borde blanco semi-transparente */
    border-radius: 10px; /* Bordes redondeados para forma de píldora */
    transition: all 0.3s ease; /* Transición suave para todos los cambios */
}

.dot.active, .dot:hover {
    background-color: var(--white-color); /* Fondo blanco sólido al activar o pasar el mouse */
    border-color: var(--white-color); /* El borde se vuelve del mismo color */
    transform: scale(1.1); /* Un ligero aumento de tamaño */
}

/* Nosotros Section */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.team-member {
    text-align: center;
}
.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 5px solid var(--light-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.team-member h4 {
    margin-bottom: 5px;
}
.team-member p {
    color: #6c757d;
}

/* Productos Section */
.bg-light {
    background-color: var(--light-color);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.product-card h4 {
    padding: 15px;
    font-size: 1.2rem;
}
.product-card p {
    padding: 0 15px 20px;
    color: #6c757d;
}

/* Contacto Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-info h4 {
    margin-bottom: 20px;
}
.contact-info p {
    margin-bottom: 10px;
}

/* --- FOOTER ESTILOS NUEVOS --- */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0 20px;
    font-family: var(--font-family);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--footer-heading);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--footer-heading);
}

.payment-methods,
.shipping-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.payment-methods img,
.shipping-methods img {
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.payment-methods img:hover,
.shipping-methods img:hover {
    opacity: 1;
}

.fiscal-data {
    text-align: center;
}

.fiscal-data img {
    height: 100px;
    margin-bottom: 10px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}


/* --- CARRUSEL DE PRODUCTOS MERCADO LIBRE --- */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.product-slide {
    flex: 0 0 100%;
    padding: 0 15px;
}

.product-card-ml {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-ml:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;

}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;

}

.product-card-ml:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 700;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.discount {
    background-color: #00a650;
    color: white;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 700;
}

.product-badges {
    margin-bottom: 20px;
}

.badge-free, .badge-mp {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.badge-free {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.badge-mp {
    background-color: #e3f2fd;
    color: #1565c0;
}

.product-info .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Controles del carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.carousel-control:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
}

/* --- CARRUSEL DE PRODUCTOS MERCADO LIBRE --- */

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



/* --- CARRUSEL DE MARCAS --- */
.marcas-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.marcas-carousel {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.marca-item {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    margin: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 15px;
    transition: transform 0.3s ease;
}

.marca-item:hover {
    transform: translateY(-5px);
}

.marca-item img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.marca-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
}

/* Efecto de desenfoque en los extremos */
.marcas-carousel-container::before,
.marcas-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marcas-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
}

.marcas-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
}

/* Animación del carrusel */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mensajes de error */
.error-message {
    text-align: center;
    padding: 40px;
    color: #dc3545;
    font-size: 1.1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Pausar la animación al pasar el mouse */
.marcas-carousel-container:hover .marcas-carousel {
    animation-play-state: paused;
}

.ubicacion-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.map-container {
    position: relative;
}

.map-header {
    text-align: right;
    margin-bottom: 20px;
}

.map-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    display: inline-block;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.info-direccion p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.info-direccion strong {
    color: var(--primary-color);
}

/* Grid de imágenes */
.grid-ofertas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.oferta-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #fff;
    position: relative;
}

.oferta-img-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Efecto al pasar el mouse */
.oferta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.oferta-card:hover .oferta-overlay { opacity: 1; }
.oferta-card:hover img { transform: scale(1.05); }

.btn-consultar {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Botón WhatsApp Flotante Izquierda */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px; /* IMPORTANTE: Lado izquierdo */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor de la página de ofertas */
.carousel-container {
    overflow: hidden; /* Esto es vital para que las fotos no se desborden */
    position: relative;
}

#contenedor-ofertas-page {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.oferta-slide {
    padding: 5px;
    box-sizing: border-box;
}

.oferta-card-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.oferta-card-wrapper img {
    width: 100%;
    display: block;
    height: auto;
}

.btn-ws-float {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #25d366;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Ajuste para que las imágenes de ofertas se vean completas */
.oferta-card-v {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 5px;
}

.oferta-card-v img {
    width: 100%;
    height: auto;
    display: block;
    /* Esto ayuda a que si las fotos son verticales se mantengan proporcionadas */
    object-fit: contain; 
}

.countdown-container {
    text-align: center;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed var(--primary-color);
}

.countdown-container p {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.time-segment span {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.time-segment small {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .time-segment span { font-size: 1.5rem; }
    #countdown { gap: 10px; }
}

@media (max-width: 600px) {
    .grid-ofertas { grid-template-columns: 1fr; }
}

/* --- 5. RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .product-slide {
        flex: 0 0 33.333%;
    }
    .section-header h2 { font-size: 2.2rem; }
    #hero h1 { font-size: 3.2rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .product-slide {
    flex: 0 0 50%;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .slider-nav { font-size: 2rem; padding: 10px; }
    .prev { left: 10px; }
    .next { right: 10px; }
    .hero-content { 
        padding-left: 30px;
        padding-bottom: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .payment-methods,
    .shipping-methods {
        justify-content: center;
    }
}

/* Estilos específicos para Celulares (hasta 576px) */
@media (max-width: 576px) {
    /* Header y Navegación */
    .main-header .container { flex-direction: row;justify-content: space-between;align-items: center; gap: 15px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }

    .main-header .btn-primary {
        padding: 8px 15px;  /* Menos relleno que en PC */
        font-size: 0.85rem; /* Letra un poco más chica */
        white-space: nowrap; /* Obliga al texto a quedarse en una sola línea */
    }
    .main-nav {
        display: none; 
    }

    /* Sección Hero */
    #hero { height: 200px;min-height: unset; align-items: center; text-align: center; }
    .hero-content { padding: 0 20px 20px; max-width: 100%;text-align: center; }
    .hero-content h1 {
       display: none;
    }
    .hero-content p { display: none;}
    .hero-content .btn-primary {
        display: none;
    }

    /* Grids de productos y equipo */
    .products-grid { grid-template-columns: 1fr; }
    .team-member img { width: 150px; height: 150px; }

    /* Carrusel de Productos */
    .product-slide { flex: 0 0 100%; }
    .product-image { height: 180px; }
    .product-info h4 { font-size: 1.1rem; }
    .price { font-size: 1.3rem; }

    /* Formularios y Botones */
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .contact-form input, .contact-form textarea { padding: 12px; }

    /* Mapa */
    .map-wrapper iframe { height: 300px; }
    .map-header { text-align: center; }

    /* Carrusel de Marcas */
    .marca-item { width: 150px; height: 100px; margin: 0 15px; }

    /* Tipografías y Padding */
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 2rem; }
    .section-header p { font-size: 1rem; }
    .card { padding: 25px; }

    .countdown-container {
        padding: 10px !important; /* Menos relleno */
        margin-bottom: 15px;      /* Menos espacio abajo */
    }

    /* 2. Achicamos el texto del título "¡Aprovechá..." */
    .countdown-container p {
        font-size: 0.8rem;        /* Letra más chica */
        margin-bottom: 5px;
    }

    /* 3. Achicamos los NÚMEROS (00, 23, etc.) */
    .time-segment span {
        font-size: 1.5rem !important; /* Estaban muy grandes, esto los baja */
        line-height: 1.1;
    }

    /* 4. Achicamos las etiquetas (Días, Horas, etc.) */
    .time-segment small {
        font-size: 0.6rem;
    }

    /* 5. Juntamos un poco los bloques de tiempo */
    #countdown {
        gap: 10px;
    }

    main .section-padding {
        padding-top: 20px !important;    /* Bajamos de 80px a 20px */
        padding-bottom: 20px !important;
    }
    
    /* 2. Reducimos el margen del encabezado "Desliza para ver..." */
    .section-header {
        margin-bottom: 20px !important; /* Estaba en 60px o 40px */
    }

}

@media (min-width: 1200px) {
    .product-slide {
        flex: 0 0 20%; /* 5 productos visibles en pantallas muy grandes */
    }
 }