/*
 * Healthy Fungi — vijf maand-schema kaarten
 * Alleen voor index2.php. Herstelt het rechthoekige kaartvlak met ronde
 * productfoto's, overeenkomstig de Shopify referentie (23-11-2026).
 * Geen wijzigingen aan globale productkaarten, header, footer of agenda.
 */

/* Grid van vijf even brede kaarten, zolang de schermbreedte dit toelaat. */
.hf-index2 .cure-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    margin-top: 48px;
}

/* Winter-thema mag uitsluitend de foto rond maken, NIET de kaart. */
.hf-index2[data-theme="winter"] .cure-product-grid > .cure-product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 464px;
    padding: 12px 12px 22px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid #cedae0;
    border-radius: 22px !important;
    overflow: hidden;
}

/* Alleen het beeldvlak is een ronde, afzonderlijke cirkel. */
.hf-index2[data-theme="winter"] .cure-product-grid .cure-product-card > .hf-schema-group.product-image {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: min(100%, 252px);
    height: auto;
    aspect-ratio: 1 / 1;
    min-width: 0;
    margin: 0 auto;
    padding: 13px;
    overflow: hidden;
    background: #f6f1eb;
    border: 1px solid #ced5d8;
    border-radius: 50% !important;
}

/* Per schema één originele groepsfoto uit de bestaande /img/.
 * Geen losse Shopify-PNGs meer: die waren deels afwezig, waardoor potjes ontbraken.
 */
.hf-index2[data-theme="winter"] .cure-product-grid .cure-product-card > .hf-schema-group.product-image {
    padding: 0;
}
.hf-index2[data-theme="winter"] .cure-product-grid .hf-schema-group > img.hf-schema-set-photo {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 50% !important;
    margin: 0;
    padding: 0;
    box-shadow: none;
    transform: none !important;
}

/* Titel, omschrijving, prijs en bestelknop staan onder de foto. */
.hf-index2 .cure-product-grid .cure-product-card > .product-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    margin: 29px 0 0;
    padding: 0 7px 0;
}

.hf-index2 .cure-product-grid .cure-product-card .product-copy > span {
    display: block;
    width: 100%;
}

.hf-index2 .cure-product-grid .cure-product-card .product-copy strong {
    display: block;
    margin: 0 0 5px;
    color: #173d52;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.12rem, 1.4vw, 1.48rem);
    font-weight: 700;
    line-height: 1.16;
}

.hf-index2 .cure-product-grid .cure-product-card .product-copy small {
    display: block;
    margin: 0;
    color: #597789;
    font-size: .88rem;
    line-height: 1.4;
}

.hf-index2 .cure-product-grid .cure-product-card .product-copy .product-concentration {
    margin-top: 6px;
    color: #5a7c8d;
    font-weight: 800;
}

.hf-index2 .cure-product-grid .cure-product-card .product-copy b {
    display: block;
    margin: 2px 0 0;
    color: #3a7b9c;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 1180px) {
    .hf-index2 .cure-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .hf-index2 .cure-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .hf-index2[data-theme="winter"] .cure-product-grid > .cure-product-card {
        min-height: 0;
        padding: 12px 10px 20px;
    }
    .hf-index2 .cure-product-grid .cure-product-card > .product-copy {
        margin-top: 20px;
    }
}
@media (max-width: 520px) {
    .hf-index2 .cure-product-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 420px;
        margin-right: auto;
        margin-left: auto;
    }
    .hf-index2[data-theme="winter"] .cure-product-grid > .cure-product-card {
        min-height: 0;
    }
}
