/* Helsekost Child Theme — Overrides */

:root {
    --accent: #0d9488;
    --accent-hover: #0f766e;
    --accent-light: #f0fdfa;
    --accent-subtle: #f5fffe;
}

/* === Categories Showcase Section === */
.categories-section {
    padding: 80px 0;
    background: var(--accent-subtle);
}

.categories-section h2 {
    margin-bottom: 8px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.category-card {
    background: var(--elevated, #fff);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,0.08));
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 10px 15px rgba(0,0,0,0.1));
}

.category-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--accent-light);
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-body {
    padding: 24px;
}

.category-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    color: var(--accent);
}

.category-card-icon svg {
    width: 24px;
    height: 24px;
}

.category-card-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--heading);
    margin-bottom: 8px;
}

.category-card-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* === Ingredients Section === */
.ingredients-section {
    padding: 80px 0;
    background: var(--surface);
}

.ingredients-section h2 {
    margin-bottom: 8px;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.ingredient-card {
    background: var(--elevated, #fff);
    border-radius: var(--radius-lg, 12px);
    padding: 28px;
    box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,0.08));
    transition: transform 0.2s, box-shadow 0.2s;
}

.ingredient-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 10px 15px rgba(0,0,0,0.1));
}

.ingredient-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius, 8px);
    color: var(--accent);
    margin-bottom: 16px;
}

.ingredient-card-icon svg {
    width: 26px;
    height: 26px;
}

.ingredient-card-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--heading);
    margin-bottom: 8px;
}

.ingredient-card-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.ingredient-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ingredient-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text);
}

.ingredient-benefit svg {
    flex-shrink: 0;
    color: var(--accent);
}

/* === Responsive === */
@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .ingredients-grid {
        grid-template-columns: 1fr;
    }
}
