/* Products Hero Section */
.products-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff05" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-products-showcase {
    position: relative;
    height: 400px;
}

.product-floating {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    animation: float 6s ease-in-out infinite;
}

.product-floating img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-1 {
    width: 200px;
    height: 120px;
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.product-2 {
    width: 150px;
    height: 150px;
    top: 150px;
    right: 80px;
    animation-delay: 2s;
}

.product-3 {
    width: 180px;
    height: 180px;
    bottom: 50px;
    left: 100px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Products Navigation */
.products-navigation {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
    /*position: sticky;
    top: 0;
    z-index: 100;*/
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-tab:hover,
.nav-tab.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Products Sections */
.products-section {
    padding: 80px 0;
}

.products-section.bg-light {
    background: #f8f9fa;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
}

.eco-badge {
    background: #28a745;
}

.premium-badge {
    background: #ffd700;
    color: #000;
}

.innovation-badge {
    background: #dc3545;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.product-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* CTA Section */
.products-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-buttons .btn i {
    margin-right: 0.5rem;
}



/* --- Estilos para la Sección de Precios (Adaptado) --- */
.product-price-section {
    /* Utiliza flex para alinear */
    display: flex;
    align-items: center;
    gap: 15px; /* Más semajante al espaciado de tus tags */
    margin-bottom: 1.5rem; /* Ajustado al margen de product-description */
}

/* Estilo para el precio original (tachado) */
.product-price-section .old-price {
    /* Color neutro para el precio antiguo */
    color: #6c757d; /* Color de tu .product-description */
    text-decoration: line-through; 
    font-size: 1em; 
    font-weight: 400;
}

/* Estilo para el precio de oferta o precio actual (resaltado) */
.product-price-section .current-price {
    /* Usaremos el color primario de tu sitio para que resalte */
    color: #667eea; /* Color principal de tu gradiente de hero */
    font-size: 1.8rem; /* Tamaño grande y visible */
    font-weight: 700; /* Negrita para un impacto visual */
    line-height: 1; 
}

/* Opcional: Agregar un badge de "Ahorra" para mayor impacto */
.product-price-section .discount-badge {
    background: #dc3545; /* Color del badge 'Innovation' para destacar el descuento */
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 5px;
}

#afficheurs .product-image-container {
    height: auto;
    text-align: center;
}

    /* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .products-hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .hero-products-showcase {
        height: 300px;
        margin-top: 2rem;
    }
    
    .product-floating {
        transform: scale(0.8);
    }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}