/* ==========================================================
   HEALTH GOALS
========================================================== */

.health-goals {
    background: #fff;
}

.health-goals-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
}

.health-goal-card {
    height: 100%;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}

.health-goal-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-brand-primary);
    box-shadow: var(--shadow-md);
}

.health-goal-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 22px;
}

.health-goal-link:focus-visible {
    outline: 3px solid var(--color-brand-primary);
    outline-offset: -3px;
}

.health-goal-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #edf7e8;
    color: var(--color-brand-primary);
    margin-bottom: 18px;
}

.health-goal-icon .aanya-icon {
    width: 24px;
    height: 24px;
}

.health-goal-title {
    font-size: 17px;
    margin-bottom: 8px;
}

.health-goal-description {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.6;
    min-height: 44px;
}

.health-goal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.goal-product-count {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-brand-primary);
}

.goal-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf7e8;
    color: var(--color-brand-primary);
    transition: background .25s ease, color .25s ease;
}

.goal-arrow svg {
    width: 15px;
    height: 15px;
}

.health-goal-card:hover .goal-arrow {
    background: var(--color-brand-primary);
    color: #fff;
}

.health-goals-footer {
    text-align: center;
}

.no-health-goals {
    grid-column: 1 / -1;
    padding: 40px 20px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    background: var(--color-background);
}

@media (max-width: 1279px) {
    .health-goals-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 899px) {
    .health-goals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .health-goals-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .health-goal-card {
        transition: none;
    }

    .health-goal-card:hover {
        transform: none;
    }
}
