/* ============================================
   HELADERÍA KAFIT — Home Page Sections
   ============================================ */

/* ── Categories Section ── */
.categories-section {
    padding: var(--space-16) 0;
    background: var(--kafit-cream);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}

/* ── Featured Products Section ── */
.featured-section {
    padding: var(--space-20) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: var(--space-6);
}

.featured-section .view-all {
    text-align: center;
    margin-top: var(--space-10);
}

/* ── Promo Banner Section ── */
.promo-banner {
    position: relative;
    padding: var(--space-16) 0;
    background: var(--kafit-gradient-dark);
    overflow: hidden;
}

.promo-banner__bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E8467C' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.promo-banner__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--kafit-white);
}

.promo-banner__content h2 {
    color: var(--kafit-white);
    background: none;
    -webkit-text-fill-color: inherit;
    margin-bottom: var(--space-4);
}

.promo-banner__content p {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

/* ── Social Section ── */
.social-section {
    padding: var(--space-16) 0;
    background: var(--kafit-cream);
}

.social-grid {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    background: var(--kafit-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-card);
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--kafit-dark);
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.social-link--instagram:hover { color: #E4405F; }
.social-link--tiktok:hover { color: #000000; }
.social-link--facebook:hover { color: #1877F2; }

.social-link__icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-link--instagram .social-link__icon { background: linear-gradient(135deg, #833AB4, #E4405F, #FCAF45); color: white; }
.social-link--tiktok .social-link__icon { background: #000; color: white; }
.social-link--facebook .social-link__icon { background: #1877F2; color: white; }

/* ── Newsletter Section ── */
.newsletter-section {
    padding: var(--space-16) 0;
    background: var(--kafit-gradient-primary);
    text-align: center;
    color: var(--kafit-white);
}

.newsletter-section h2 {
    color: var(--kafit-white);
    background: none;
    -webkit-text-fill-color: inherit;
    margin-bottom: var(--space-3);
}

.newsletter-section p {
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-8);
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: var(--kafit-white);
    font-size: var(--text-base);
    outline: none;
    backdrop-filter: blur(8px);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.6); }

@media (max-width: 480px) {
    .newsletter-form { flex-direction: column; }
    .categories-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-3); }
}
