/* Hero Section Styles - Componente Unificado */

/* Hero Section Base - Para páginas internas (contact, brands, products) */
.page-hero {
    background: linear-gradient(90deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 60px 0 40px 0; /* Altura uniforme más generosa */
    text-align: center;
    height: 230px; /* Altura fija para uniformidad visual */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Títulos unificados */
.page-hero-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color, #698C8C);
    margin: 0;
    font-family: var(--montserrat-font), Arial, sans-serif;
    line-height: 1.2;
    text-align: center;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-color, #40403F);
    margin: 0;
    font-family: var(--poppins-font), Arial, sans-serif;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
}

/* Variantes de color para diferentes páginas */
.page-hero.contact-hero .page-hero-title {
    color: var(--primary-color, #698C8C);
}

.page-hero.brands-hero .page-hero-title {
    color: var(--primary-color, #698C8C);
    font-weight: 600;
    font-size: 2.5rem;
}

.page-hero.products-hero .page-hero-title {
    color: #3B564D;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 48px 0 32px 0;
        height: 200px; /* Altura fija en tablet */
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-hero.brands-hero .page-hero-title {
        font-size: 2.2rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0 24px 0;
        height: 170px; /* Altura fija en mobile */
    }
    
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .page-hero.brands-hero .page-hero-title {
        font-size: 2rem;
        font-weight: 600;
    }
}

/* Compatibilidad con clases existentes - DEPRECATED */
/* Estas clases se mantendrán temporalmente para compatibilidad */
.contact-header-section,
.brands-hero,
.products-header-section {
    /* Redirigir a la nueva clase unificada */
    background: linear-gradient(90deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 60px 0 40px 0;
    text-align: center;
    height: 230px; /* Altura fija para uniformidad */
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-title,
.brands-title,
.products-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color, #698C8C);
    margin: 0 0 16px 0;
    font-family: var(--montserrat-font), Arial, sans-serif;
    line-height: 1.2;
}

.contact-subtitle,
.brands-hero-desc,
.products-subtitle {
    font-size: 1.2rem;
    color: var(--text-color, #40403F);
    margin: 0;
    font-family: var(--poppins-font), Arial, sans-serif;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajustes específicos para brands */
.brands-title {
    font-weight: 600;
    font-size: 2.5rem;
}

/* Ajustes específicos para products */
.products-title {
    color: #3B564D;
}

/* Hero Section Styles - Solo Hero Estático */

/* Hero Estático */
.hero-static {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
    max-height: 750px;
}

.hero-image-container {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
}

.hero-static-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 750px;
}

.hero-static .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--light-gray);
    text-align: center;
    padding: 0 20px;
    transform: translateX(10%);
}

/* Estilos de tipografía del hero estático */
.hero-static .hero-title {
    font-family: var(--montserrat-font);
    font-size: 6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    color: #311309;
    line-height: 1.1;
    display: block !important;
    width: 100%;
    pointer-events: auto;
    user-select: text;
    cursor: text;
}

.hero-static .hero-subtitle {
    font-family: var(--poppins-font);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #311309;
    line-height: 1.4;
    display: block !important;
    width: 100%;
    pointer-events: auto;
    user-select: text;
    cursor: text;
}

.hero-highlight {
    color: var(--secondary-color);
    font-weight: 900;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-static .hero-content {
        align-items: center;
        text-align: center;
        padding: 0 5%;
        transform: translateX(5%);
    }
    
    .hero-static .hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
        max-width: none;
    }
    
    .hero-static .hero-subtitle {
        font-size: 1.3rem;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero-static {
        max-height: 600px;
    }
    
    .hero-static-img {
        height: auto;
        max-height: 600px;
        object-fit: cover;
    }
    
    /* Sobrescribir style.css línea 950 - Hero específico con mayor especificidad */
    .hero-static .hero-title {
        font-size: 2rem !important;
        letter-spacing: 1.5px;
        margin-bottom: 0.8rem;
    }
    
    .hero-static .hero-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem;
    }

    .hero-static .hero-content {
        padding: 0 1.5rem;
        align-items: center;
        text-align: center;
        transform: translateX(10%) !important;
    }
}

@media (max-width: 480px) {
    /* Asegurar especificidad sobre cualquier regla genérica */
    .hero-static .hero-title {
        font-size: 2rem !important;
        letter-spacing: 1px;
    }
    
    .hero-static .hero-subtitle {
        font-size: 0.8rem !important;
    }

    .hero-static .hero-content {
        padding: 0 1rem;
        align-items: center;
        text-align: center;
        transform: translateX(10%) !important;
    }
}

/* Contenedor específico del hero - Sin limitaciones de .container */
.hero-container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
} /* Products/Offer Section Styles */
.offer-section,
.offer-products-enhanced {
    padding: 5rem 0; /* 80px */
    background-color: var(--light-gray);
    position: relative;
}

.offer-products-enhanced {
    padding-top: 3.75rem; /* 60px */
    margin-top: 0;
}

.offer-products-enhanced .container,
.offer-section .container,
.offer-carousel-wrapper {
    width: 100%;
    max-width: 100rem; /* 1600px */
    margin: 0 auto 2.5rem; /* 40px */
    position: relative;
    padding: 0 1rem; /* 16px - padding reducido de 40px a 16px */
    box-sizing: border-box;
}

.offer-title-row,
.offer-products-title {
    display: flex;
    align-items: center;
    margin-bottom: 3.125rem; /* 50px */
}

.offer-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 1.25rem; /* 20px */
    white-space: nowrap;
}

.offer-divider,
.offer-products-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
}

/* Swiper container y slides */
.offer-carousel-wrapper swiper-container,
.offer-products-enhanced .offer-enhanced-swiper {
    width: 100%;
    padding: 1.25rem 0; /* 20px */
}

.offer-carousel-wrapper swiper-slide,
.offer-products-enhanced .swiper-slide {
    margin-top: 1.5rem; /* 24px */
    margin-bottom: 1.5rem; /* 24px */
    max-width: none; /* Sin límite de ancho - las tarjetas pueden usar todo el espacio */
    min-width: 16.25rem; /* 260px */
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

/* Tarjeta clásica */
.offer-product-card {
    width: 100%;
    max-width: 26.25rem; /* 420px */
    background-color: white;
    border-radius: 0.75rem; /* 12px */
    padding: 1.875rem; /* 30px */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05); /* 4px 12px */
}

.offer-product-card:hover {
    transform: translateY(-0.3125rem); /* -5px */
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1); /* 8px 24px */
}

.offer-product-img-wrap {
    width: 100%;
    height: 17.5rem; /* 280px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem; /* 20px */
    overflow: hidden;
    background: #fff;
    border-radius: 0.75rem; /* 12px */
}

.offer-product-img {
    max-width: 98%;
    max-height: 17.5rem; /* 280px */
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 0.125rem 0.625rem rgba(59, 86, 77, 0.07); /* 2px 10px */
    background: #fff;
    transition: transform 0.18s, box-shadow 0.18s;
}

.offer-product-name {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    margin-bottom: 0;
    padding-bottom: 0.625rem; /* 10px */
}

/* Tarjeta mejorada */
.offer-product-enhanced {
    padding: 1.125rem 0.625rem; /* 18px 10px */
    width: 100%; /* Usar todo el ancho disponible del slide */
    max-width: none; /* Sin límite máximo */
    min-width: 16.25rem; /* 260px */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    border-radius: 1.125rem; /* 18px */
    box-shadow: 0 0.375rem 1.5rem rgba(59, 86, 77, 0.09); /* 6px 24px */
    position: relative;
    transition: box-shadow 0.18s, transform 0.18s;
    margin: 0; /* Sin margen - el spacing lo maneja Swiper */
    gap: 0.75rem; /* 12px - gap interno reducido de 18px a 12px */
    --swiper-navigation-color: #F8F7F2;
}

.offer-product-enhanced:hover {
    box-shadow: 0 1rem 2.5rem rgba(59, 86, 77, 0.13); /* 16px 40px */
    transform: scale(1.025) translateY(-0.25rem); /* -4px */
}

.offer-product-enhanced .organic-badge {
    position: relative;
    top: 0;
    left: 0;
    margin-left: 0;
    align-self: flex-start;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 1rem; /* 16px */
    padding: 0.1875rem 1rem; /* 3px 16px */
    letter-spacing: 0.03125rem; /* 0.5px */
    box-shadow: 0 0.0625rem 0.25rem rgba(59, 86, 77, 0.06); /* 1px 4px */
    text-transform: capitalize;
    z-index: 2;
    height: 1.5625rem; /* 25px - altura fija para el badge */
    min-height: 1.5625rem; /* 25px - altura mínima */
}

/* Espacio reservado para productos sin badge orgánico */
.offer-product-enhanced .organic-badge-placeholder {
    height: 1.5625rem; /* 25px - misma altura que el badge */
    min-height: 1.5625rem; /* 25px - altura mínima */
    align-self: flex-start;
}

.offer-product-enhanced .offer-product-img-wrap {
    width: 100%;
    height: 22rem; /* 352px - imagen más grande */
    margin-bottom: 1rem; /* 16px - margen reducido */
    background: #fff;
    border-radius: 0.75rem; /* 12px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.offer-product-enhanced .offer-product-img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 0.125rem 0.625rem rgba(59, 86, 77, 0.07); /* 2px 10px */
    background: #fff;
    transition: transform 0.18s, box-shadow 0.18s;
}

.offer-product-enhanced:hover .offer-product-img {
    transform: scale(1.04) translateY(-0.125rem); /* -2px */
    box-shadow: 0 0.5rem 1.5rem rgba(59, 86, 77, 0.13); /* 8px 24px */
}

.offer-product-enhanced .offer-product-name {
    color: var(--primary-color);
    font-size: 1.48rem;
    font-weight: 700;
    margin: 1rem 0 0 0; /* 16px - margen reducido */
    text-align: center;
    letter-spacing: 0.03125rem; /* 0.5px */
    width: 100%;
    align-self: center;
}

.offer-more-btn,
.offer-products-enhanced .offer-more-btn {
    display: block;
    width: fit-content;
    margin: 2.5rem auto 0; /* 40px */
    padding: 0.75rem 1.875rem; /* 12px 30px */
    background-color: var(--primary-color);
    color: var(--light-gray);
    text-decoration: none;
    border-radius: 0.25rem; /* 4px */
    transition: background-color 0.3s;
}

.offer-more-btn:hover,
.offer-products-enhanced .offer-more-btn:hover {
    background-color: var(--hover-color);
}

.offer-products-enhanced .swiper-wrapper {
    align-items: stretch;
}

.offer-products-enhanced .offer-more-btn {
    margin-top: 1.25rem; /* 20px */
}

/* Responsive */
@media (max-width: 106.25rem) { /* 1700px */
    .offer-products-enhanced .container,
    .offer-section .container,
    .offer-carousel-wrapper {
        max-width: 98vw;
    }
}

@media (max-width: 85.375rem) { /* 1366px */
    .offer-products-enhanced .container,
    .offer-section .container,
    .offer-carousel-wrapper {
        max-width: 75rem; /* 1200px */
    }
    
    .offer-product-enhanced {
        max-width: 23.125rem; /* 370px */
    }
}

@media (max-width: 62rem) { /* 992px */
    .offer-product-enhanced {
        max-width: 20rem; /* 320px */
    }
}

@media (max-width: 48rem) { /* 768px */
    .offer-products-enhanced,
    .offer-section {
        padding: 3.75rem 0; /* 60px */
    }

    .offer-products-enhanced .container,
    .offer-section .container,
    .offer-carousel-wrapper {
        padding: 0 1.25rem; /* 20px */
    }

    .offer-products-enhanced .offer-products-title {
        flex-direction: column;
        gap: 0.625rem; /* 10px */
        margin-bottom: 1.5rem; /* 24px - reducir de 50px a 24px para móvil */
    }

    .offer-product-enhanced {
        max-width: 98vw;
        min-width: 0;
        padding: 1.125rem 0.5rem; /* 18px 8px */
    }

    .offer-products-enhanced .offer-carousel-wrapper {
        padding-top: 1rem; /* 16px */
        padding-bottom: 1rem; /* 16px */
    }

    .offer-products-enhanced .swiper-slide {
        margin-top: 0.75rem; /* 12px */
        margin-bottom: 0.75rem; /* 12px */
    }

    .offer-products-enhanced .offer-product-img-wrap {
        margin-top: 0.75rem; /* 12px */
        margin-bottom: 0.75rem; /* 12px */
    }
}

/* Breakpoint adicional para móviles más específico */
@media (max-width: 768px) {
    .offer-products-title {
        margin-bottom: 1.5rem !important; /* 24px - forzar para móvil */
    }
}

@media (max-width: 30rem) { /* 480px */
    .offer-products-enhanced .container,
    .offer-section .container,
    .offer-carousel-wrapper {
        padding: 0 0.625rem; /* 10px */
    }
}

@media (max-width: 36rem) { /* 576px */
    .offer-products-enhanced,
    .offer-section {
        padding: 2.5rem 0; /* 40px */
    }

    .offer-product-enhanced {
        max-width: 99vw;
        padding: 0.625rem 0.125rem; /* 10px 2px */
    }
}

/* Products Page Styles - Sistema Modular */

.products-page {
    padding: 0;
}

/* Header Section */
.products-header-section {
    background: linear-gradient(90deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 48px 0 24px 0;
    text-align: center;
}

.products-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #3B564D;
    margin-bottom: 12px;
    font-family: var(--montserrat-font), Arial, sans-serif;
}

.products-subtitle {
    font-size: 1.2rem;
    color: var(--text-color, #40403F);
    max-width: 100%;
    margin: 0 auto;
    font-family: var(--poppins-font), Arial, sans-serif;
}

/* Products Section Layout - Nuevos colores */
.products-section {
    display: flex;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 20px 80px 20px;
    background: var(--products-bg); /* #ffffff */
    min-height: 600px;
}

.products-filter {
    flex: 0 0 280px;
    background: var(--products-filter-bg); /* #f3f3f3 */
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(59, 86, 77, 0.1);
    padding: 32px 28px;
    min-width: 220px;
    height: fit-content;
    border: 1px solid #E0E0D4;
    position: relative;
    overflow: hidden;
}

.products-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.products-filter h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.products-filter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.products-filter label {
    display: block;
    margin-bottom: 14px;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.products-filter label:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.products-filter input[type="radio"] {
    margin-right: 12px;
    accent-color: var(--primary-color);
    transform: scale(1.2);
}

.superfood-content {
    flex: 1 1 0%;
}

.superfood-header {
    margin-bottom: 20px;
    text-align: left; /* Alineado a la izquierda */
}

/* Títulos específicos de productos con especificidad alta */
.products-page .superfood-title,
.superfood-content .superfood-title,
h2.superfood-title {
    font-family: var(--main-title-font);
    font-size: 3rem !important;
    font-weight: 700;
    color: var(--products-accent); /* #9ac324 */
    margin-bottom: 0;
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.2;
}

.products-page .superfood-subtitle,
.superfood-content .superfood-subtitle,
h3.superfood-subtitle {
    font-family: var(--hero-subtitle-font);
    font-size: 1.4rem !important;
    color: var(--products-subtitle); /* #6b7671 */
    font-weight: 600;
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.3;
}

.superfood-description {
    font-family: var(--body-text-font);
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    text-align: left; /* Alineado a la izquierda */
    margin-bottom: 40px;
    max-width: 800px;
}

.superfood-main-content {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
    align-items: stretch;
    min-height: 500px;
}

.superfood-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 595px;
    height: 595px;
    max-height: 595px;
}

.superfood-image img {
    width: 595px;
    height: 595px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(59, 86, 77, 0.15);
    background: #fff;
}

.superfood-info-columns {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.superfood-presentations,
.superfood-benefits,
.superfood-applications {
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.superfood-presentations:last-child,
.superfood-benefits:last-child,
.superfood-applications:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-section-title {
    font-family: var(--section-title-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--products-accent); /* #9ac324 */
    margin-bottom: 18px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.info-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--products-accent), var(--secondary-color));
    border-radius: 2px;
}

.info-section-content {
    font-family: var(--body-text-font);
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.7;
}

.info-section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-section-content li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    transition: color 0.2s ease;
}

.info-section-content li:hover {
    color: var(--primary-color);
}

.info-section-content li::before {
    content: '▶';
    color: var(--secondary-color);
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 8px;
    transition: transform 0.2s ease;
}

.info-section-content li:hover::before {
    transform: translateX(2px);
    color: var(--primary-color);
}

.superfood-products {
    margin-bottom: 60px;
}

.products-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(59, 86, 77, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
    flex: 1;
    max-width: 280px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(59, 86, 77, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: transform 0.3s ease;
}

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

.product-card h4 {
    font-family: var(--section-title-font);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    padding: 20px 16px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.superfood-certifications {
    text-align: center;
    border-radius: 20px;
    padding: 40px 32px;
    margin-top: 40px;
}

.superfood-certifications h3 {
    font-family: var(--section-title-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--products-accent);
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.certifications-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.certification-card {
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 125px;
    width: 130px;
    flex-shrink: 0;
}

.certification-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 86, 77, 0.12);
}

.certification-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Call to Action Section */
.superfood-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 35px 30px;
    margin: 40px auto 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(59, 86, 77, 0.18);
    max-width: 600px;
    width: 100%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--hero-title-font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--light-gray);
    margin-bottom: 14px;
    letter-spacing: 0.8px;
}

.cta-subtitle {
    font-family: var(--hero-subtitle-font);
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 32px;
    opacity: 0.9;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    color: var(--primary-color);
    font-family: var(--hero-title-font);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: #ffffff;
    color: var(--primary-color);
}

.cta-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-circle {
    position: absolute;
    background: rgba(248, 247, 242, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.cta-circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.cta-circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .products-section {
        flex-direction: column;
        gap: 32px;
        padding: 40px 16px 60px 16px;
    }

    .products-filter {
        width: 100%;
        min-width: unset;
        margin-bottom: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px 16px;
        box-shadow: 0 6px 24px rgba(59, 86, 77, 0.08);
        justify-content: flex-start;
        align-items: stretch;
        padding: 24px 20px;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .products-filter h3 {
        grid-column: 1 / -1;
        margin-bottom: 16px;
        font-size: 1.2rem;
        text-align: center;
    }

    .products-filter label {
        margin-bottom: 0;
        margin-right: 0;
        padding: 8px 10px;
        font-size: 0.95rem;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 44px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: #fff;
        transition: all 0.3s ease;
        overflow: hidden;
        white-space: nowrap;
    }

    .products-filter label:hover {
        background: var(--secondary-color);
        color: var(--primary-color);
        transform: scale(1.02);
        border-color: var(--primary-color);
    }

    .products-filter input[type="radio"] {
        margin-right: 8px;
        margin-left: 0;
        transform: scale(1.1);
        flex-shrink: 0;
    }

    .products-filter input[type="radio"]:checked + * {
        font-weight: 600;
    }

    .products-filter label:has(input:checked) {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }

    /* Fallback para navegadores que no soportan :has() */
    .products-filter input[type="radio"]:checked {
        accent-color: #fff;
    }

    .products-filter label:hover,
    .products-filter label.selected {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
        transform: scale(1.02);
    }

    /* Optimizar hero section para móvil */
    .page-hero.products-hero {
        min-height: 200px;
        padding: 50px 0 40px 0;
    }

    .page-hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .page-hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .superfood-main-content {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
        align-items: center;
    }

    .superfood-image {
        max-width: 100%;
        align-self: center;
        display: block;
        width: 400px;
        height: 400px;
        min-height: 400px;
    }

    .superfood-image img {
        height: 400px;
        width: 400px;
        object-fit: contain;
        background: #fff;
    }

    .superfood-info-columns {
        max-width: 100%;
        gap: 24px;
    }

    .products-grid {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .product-card {
        max-width: 48%;
        flex: 1 1 48%;
    }

    .product-card img {
        height: 160px;
    }

    .product-card h4 {
        padding: 16px 12px;
        font-size: 1.1rem;
    }

    /* Optimizar títulos para móvil */
    .superfood-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 8px;
    }

    .superfood-subtitle {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Títulos específicos con mayor especificidad para móvil */
    .products-page .superfood-title,
    .superfood-content .superfood-title,
    h2.superfood-title {
        font-size: 2.2rem !important;
        text-align: center;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .products-page .superfood-subtitle,
    .superfood-content .superfood-subtitle,
    h3.superfood-subtitle {
        font-size: 1.4rem !important;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .superfood-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .info-section-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .info-section-content {
        font-size: 1rem;
        text-align: left;
    }
}

/* Breakpoint adicional para pantallas muy pequeñas */
@media (max-width: 600px) {
    .products-section {
        padding: 30px 12px 50px 12px;
    }

    .products-filter {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px 12px;
        padding: 20px 16px;
    }

    .products-filter label {
        padding: 6px 8px;
        font-size: 0.9rem;
        min-height: 40px;
    }

    /* Títulos responsive para móvil pequeño */
    .products-page .superfood-title,
    .superfood-content .superfood-title,
    h2.superfood-title {
        font-size: 2rem !important;
        margin-bottom: 6px;
    }

    .products-page .superfood-subtitle,
    .superfood-content .superfood-subtitle,
    h3.superfood-subtitle {
        font-size: 1.3rem !important;
        margin-bottom: 18px;
    }

    .superfood-image {
        width: 360px;
        height: 360px;
        min-height: 360px;
    }

    .superfood-image img {
        height: 360px;
        width: 360px;
    }

    .superfood-description {
        font-size: 0.95rem;
        padding: 0 8px;
    }

    .product-card {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .products-grid {
        flex-direction: column;
        align-items: center;
    }

    .product-card img {
        height: 180px;
    }
}

/* Breakpoint para tablets */
@media (max-width: 768px) and (min-width: 601px) {
    .products-filter {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    /* Títulos responsive para tablet */
    .products-page .superfood-title,
    .superfood-content .superfood-title,
    h2.superfood-title {
        font-size: 2.1rem !important;
    }

    .superfood-image {
        width: 380px;
        height: 380px;
    }

    .superfood-image img {
        height: 380px;
        width: 380px;
    }
}

/* Breakpoint específico para móviles muy pequeños */
@media (max-width: 480px) {
    .products-filter {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 6px 10px;
        padding: 18px 14px;
    }

    .products-filter label {
        padding: 5px 6px;
        font-size: 0.85rem;
        min-height: 38px;
    }

    .products-filter input[type="radio"] {
        margin-right: 6px;
        transform: scale(1.0);
    }

    /* Títulos responsive para móviles muy pequeños */
    .products-page .superfood-title,
    .superfood-content .superfood-title,
    h2.superfood-title {
        font-size: 1.8rem !important;
        margin-bottom: 6px;
    }

    .products-page .superfood-subtitle,
    .superfood-content .superfood-subtitle,
    h3.superfood-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 16px;
    }
} 