/* =========================================================
   FoodSync product layouts
   Bestand: public/assets-shop/foodsync-product-layouts.css

   Doel:
   - cards = standaard kaartweergave
   - list-left = afbeelding links, info rechts
   - list-right = info links, afbeelding rechts
   - los bestand zodat storefront.css later opgeschoond kan worden
   ========================================================= */


/* =========================================================
   Basis: voorkom dat oude storefront-regels blijven vechten
   ========================================================= */

.fs-product-layout-list-left .fs-products-grid,
.fs-product-layout-list-right .fs-products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
}

.fs-product-layout-list-left .fs-product-card,
.fs-product-layout-list-right .fs-product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 168px !important;
    display: grid !important;
    overflow: hidden !important;
    background: #1d2026;
    border: 1px solid var(--fs-border, rgba(255,255,255,.12));
}

.fs-product-layout-list-left .fs-product-card *,
.fs-product-layout-list-right .fs-product-card * {
    box-sizing: border-box;
}


/* =========================================================
   List rechts: tekst links, afbeelding rechts
   ========================================================= */

.fs-product-layout-list-right .fs-product-card {
    grid-template-columns: minmax(0, 1fr) 150px !important;
    grid-template-areas: "body media" !important;
}

.fs-product-layout-list-right .fs-product-card-media {
    grid-area: media !important;
}


/* =========================================================
   List links: afbeelding links, tekst rechts
   ========================================================= */

.fs-product-layout-list-left .fs-product-card {
    grid-template-columns: 150px minmax(0, 1fr) !important;
    grid-template-areas: "media body" !important;
}

.fs-product-layout-list-left .fs-product-card-media {
    grid-area: media !important;
}


/* =========================================================
   Afbeelding compact, vierkant en randloos tegen kaartzijde
   ========================================================= */

.fs-product-layout-list-left .fs-product-card-media,
.fs-product-layout-list-right .fs-product-card-media {
    position: relative !important;
    width: 150px !important;
    height: 100% !important;
    min-height: 168px !important;
    max-width: 150px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
    background: transparent !important;
}

.fs-product-layout-list-left .fs-product-card-img,
.fs-product-layout-list-right .fs-product-card-img {
    width: 150px !important;
    height: 100% !important;
    min-height: 168px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
}

.fs-product-layout-list-left .fs-product-card-img--placeholder,
.fs-product-layout-list-right .fs-product-card-img--placeholder {
    width: 150px !important;
    height: 100% !important;
    min-height: 168px !important;
}


/* =========================================================
   Body compact houden
   ========================================================= */

.fs-product-layout-list-left .fs-product-card-body,
.fs-product-layout-list-right .fs-product-card-body {
    grid-area: body !important;
    min-width: 0 !important;
    padding: 20px 22px 18px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: transparent !important;
}


/* =========================================================
   Kopregel: titel/info links, prijs rechts
   ========================================================= */

.fs-product-layout-list-left .fs-product-card-head,
.fs-product-layout-list-right .fs-product-card-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: start !important;
    margin: 0 !important;
}

.fs-product-layout-list-left .fs-product-card-title-wrap,
.fs-product-layout-list-right .fs-product-card-title-wrap {
    min-width: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.fs-product-layout-list-left .fs-product-card-title,
.fs-product-layout-list-right .fs-product-card-title {
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 21px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: var(--fs-heading, #ffffff) !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.fs-product-layout-list-left .fs-product-info-btn,
.fs-product-layout-list-right .fs-product-info-btn {
    flex: 0 0 auto !important;
    margin-top: 1px !important;
}

.fs-product-layout-list-left .fs-product-card-price-wrap,
.fs-product-layout-list-right .fs-product-card-price-wrap {
    white-space: nowrap !important;
    text-align: right !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

.fs-product-layout-list-left .fs-product-card-price,
.fs-product-layout-list-right .fs-product-card-price {
    font-size: 21px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: var(--fs-heading, #ffffff) !important;
}

.fs-product-layout-list-left .fs-price-old,
.fs-product-layout-list-right .fs-price-old {
    font-size: 13px !important;
    opacity: .72 !important;
}


/* =========================================================
   Omschrijving afkappen naar 1 regel
   ========================================================= */

.fs-product-layout-list-left .fs-product-card-desc,
.fs-product-layout-list-right .fs-product-card-desc {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: var(--fs-muted, #9ca3af) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


/* =========================================================
   Actiegebied: knop links met ademruimte
   ========================================================= */

.fs-product-layout-list-left .fs-product-card-actions,
.fs-product-layout-list-right .fs-product-card-actions {
    margin: 0 !important;
    padding: 14px 0 0 0 !important;
    border-top: 1px solid var(--fs-border, rgba(255,255,255,.10)) !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    background: transparent !important;
}

.fs-product-layout-list-left .fs-product-card-actions .fs-btn,
.fs-product-layout-list-right .fs-product-card-actions .fs-btn,
.fs-product-layout-list-left .fs-product-card-actions .fs-product-card-cta,
.fs-product-layout-list-right .fs-product-card-actions .fs-product-card-cta {
    width: auto !important;
    min-width: 150px !important;
    height: 44px !important;
    padding: 0 22px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    line-height: 1 !important;
}


/* =========================================================
   Actiebadge netjes over afbeelding
   ========================================================= */

.fs-product-layout-list-left .fs-product-card-badge,
.fs-product-layout-list-right .fs-product-card-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 2 !important;
}


/* =========================================================
   Grote desktops: 3 naast elkaar blijft actief
   ========================================================= */

@media (min-width: 1500px) {
    .fs-product-layout-list-left .fs-products-grid,
    .fs-product-layout-list-right .fs-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   Normale desktops/laptops: 2 naast elkaar
   ========================================================= */

@media (max-width: 1499px) {
    .fs-product-layout-list-left .fs-products-grid,
    .fs-product-layout-list-right .fs-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   Tablet: 1 naast elkaar
   ========================================================= */

@media (max-width: 980px) {
    .fs-product-layout-list-left .fs-products-grid,
    .fs-product-layout-list-right .fs-products-grid {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   Mobiel: terug naar afbeelding boven, tekst eronder
   ========================================================= */

@media (max-width: 680px) {
    .fs-product-layout-list-left .fs-product-card,
    .fs-product-layout-list-right .fs-product-card {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "media"
            "body" !important;
    }

    .fs-product-layout-list-left .fs-product-card-media,
    .fs-product-layout-list-right .fs-product-card-media,
    .fs-product-layout-list-left .fs-product-card-img,
    .fs-product-layout-list-right .fs-product-card-img,
    .fs-product-layout-list-left .fs-product-card-img--placeholder,
    .fs-product-layout-list-right .fs-product-card-img--placeholder {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
    }

    .fs-product-layout-list-left .fs-product-card-body,
    .fs-product-layout-list-right .fs-product-card-body {
        padding: 20px !important;
    }

    .fs-product-layout-list-left .fs-product-card-actions .fs-btn,
    .fs-product-layout-list-right .fs-product-card-actions .fs-btn,
    .fs-product-layout-list-left .fs-product-card-actions .fs-product-card-cta,
    .fs-product-layout-list-right .fs-product-card-actions .fs-product-card-cta {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================================================
   FoodSync list layout - knop meer ademruimte onderin
   Knop blijft rechts, afbeelding blijft tegen de randen.
   ========================================================= */

.fs-product-layout-list-left .fs-product-card,
.fs-product-layout-list-right .fs-product-card {
    min-height: 168px !important;
    max-height: 168px !important;
}

.fs-product-layout-list-left .fs-product-card-media,
.fs-product-layout-list-right .fs-product-card-media,
.fs-product-layout-list-left .fs-product-card-img,
.fs-product-layout-list-right .fs-product-card-img {
    width: 168px !important;
    height: 168px !important;
    min-width: 168px !important;
    min-height: 168px !important;
    max-width: 168px !important;
    max-height: 168px !important;
}

.fs-product-layout-list-left .fs-product-card,
.fs-product-layout-list-right .fs-product-card {
    grid-template-columns: minmax(0, 1fr) 168px !important;
}

.fs-product-layout-list-left .fs-product-card {
    grid-template-columns: 168px minmax(0, 1fr) !important;
}

.fs-product-layout-list-left .fs-product-card-body,
.fs-product-layout-list-right .fs-product-card-body {
    padding: 18px 20px 18px 20px !important;
}

.fs-product-layout-list-left .fs-product-card-actions,
.fs-product-layout-list-right .fs-product-card-actions {
    padding-top: 12px !important;
    padding-bottom: 0 !important;
    justify-content: flex-end !important;
}

/* =========================================================
   FoodSync list layout - knop meer ademruimte onderin
   Knop blijft rechts, afbeelding blijft tegen de randen.
   ========================================================= */

.fs-product-layout-list-left .fs-product-card,
.fs-product-layout-list-right .fs-product-card {
    min-height: 168px !important;
    max-height: 168px !important;
}

.fs-product-layout-list-left .fs-product-card-media,
.fs-product-layout-list-right .fs-product-card-media,
.fs-product-layout-list-left .fs-product-card-img,
.fs-product-layout-list-right .fs-product-card-img {
    width: 168px !important;
    height: 168px !important;
    min-width: 168px !important;
    min-height: 168px !important;
    max-width: 168px !important;
    max-height: 168px !important;
}

.fs-product-layout-list-left .fs-product-card,
.fs-product-layout-list-right .fs-product-card {
    grid-template-columns: minmax(0, 1fr) 168px !important;
}

.fs-product-layout-list-left .fs-product-card {
    grid-template-columns: 168px minmax(0, 1fr) !important;
}

.fs-product-layout-list-left .fs-product-card-body,
.fs-product-layout-list-right .fs-product-card-body {
    padding: 18px 20px 18px 20px !important;
}

.fs-product-layout-list-left .fs-product-card-actions,
.fs-product-layout-list-right .fs-product-card-actions {
    padding-top: 12px !important;
    padding-bottom: 5px !important;
    justify-content: flex-end !important;
}

.fs-product-layout-list-left .fs-product-card-body,
.fs-product-layout-list-right .fs-product-card-body {
    padding: 18px 20px 18px 20px !important;
}

/* =========================================================
   FoodSync categorieknoppen - actieve categorie
   Active gebruikt dezelfde look als hover.
   ========================================================= */

body.fs-shop .fs-cat-chips .fs-chip.is-active {
    background: var(--fs-primary, #d30d20) !important;
    color: var(--fs-primary-contrast, #ffffff) !important;
    border-color: var(--fs-primary, #d30d20) !important;
}

/* Zeker stellen dat tekst wit blijft binnen actieve knop */
body.fs-shop .fs-cat-chips .fs-chip.is-active,
body.fs-shop .fs-cat-chips .fs-chip.is-active * {
    color: var(--fs-primary-contrast, #ffffff) !important;
}

/* Product card branding colors */
body.fs-shop .fs-product-card .fs-product-card-title,
body.fs-shop .fs-product-card .fs-product-card-title a,
body.fs-shop .fs-product-card .fs-product-card-head .fs-product-card-title {
    color: var(--fs-product-card-heading) !important;
}

body.fs-shop .fs-product-card .fs-product-card-desc {
    color: var(--fs-product-card-text) !important;
}

/* =========================================================
   FoodSync product card color overrides
   Komt uit branding dashboard:
   --fs-product-card-heading
   --fs-product-card-text
   ========================================================= */

body.fs-shop .fs-product-card .fs-product-card-title,
body.fs-shop .fs-product-card .fs-product-card-title a,
body.fs-shop .fs-product-card .fs-product-card-head .fs-product-card-title,
body.fs-shop .fs-product-card .fs-product-card-title-wrap,
body.fs-shop .fs-product-card .fs-product-card-title-wrap * {
    color: var(--fs-product-card-heading, var(--fs-heading)) !important;
}

body.fs-shop .fs-product-card .fs-product-card-price,
body.fs-shop .fs-product-card .fs-product-card-price-wrap,
body.fs-shop .fs-product-card .fs-product-card-price-wrap *,
body.fs-shop .fs-product-card .fs-price-old {
    color: var(--fs-product-card-heading, var(--fs-heading)) !important;
}

body.fs-shop .fs-product-card .fs-product-card-desc {
    color: var(--fs-product-card-text, var(--fs-muted)) !important;
}

/* =========================================================
   FoodSync product cards - mobile clean override
   Doel:
   - alleen mobiele product cards corrigeren
   - list-right blijft tekst links / afbeelding rechts
   - producttitel max 2 regels zonder rare afkapping
   - info-icoon krijgt vaste plek links naast prijs
   - desktop styling blijft ongemoeid
   ========================================================= */

@media (max-width: 760px) {
    body.fs-shop .fs-grid,
    body.fs-shop .fs-products-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        width: 100% !important;
    }

    body.fs-shop .fs-product-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    /* =====================================================
       LIST RIGHT mobiel:
       tekst links, afbeelding rechts
       ===================================================== */

    body.fs-shop.fs-product-layout-list-right .fs-product-card {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 128px !important;
        grid-template-areas: "body media" !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        padding: 0 !important;
        overflow: hidden !important;
        align-items: stretch !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-media {
        grid-area: media !important;
        width: 128px !important;
        min-width: 128px !important;
        max-width: 128px !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        align-self: stretch !important;
        justify-self: end !important;
        display: block !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-img--placeholder {
        width: 128px !important;
        min-width: 128px !important;
        max-width: 128px !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-body {
        grid-area: body !important;
        position: relative !important;
        min-width: 0 !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        padding: 14px 10px 12px 12px !important;
        display: grid !important;
        grid-template-rows: 44px 20px 1fr 32px !important;
        gap: 4px !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-head {
        display: block !important;
        position: static !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /*
     * Belangrijk:
     * De titel krijgt zijn eigen vaste ruimte.
     * Het info-icoon zit niet meer IN de titelbreedte.
     */
    body.fs-shop.fs-product-layout-list-right .fs-product-card-title-wrap {
        display: block !important;
        width: calc(100% - 108px) !important;
        max-width: calc(100% - 108px) !important;
        min-width: 0 !important;
        height: 44px !important;
        max-height: 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1.22 !important;
        font-weight: 900 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: manual !important;

        overflow: hidden !important;
        text-overflow: clip !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-info-btn {
        position: absolute !important;
        top: 14px !important;
        right: 80px !important;

        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1 !important;

        color: #ffffff !important;
        opacity: .86 !important;
        background: transparent !important;
        border: 0 !important;

        transform: none !important;
        z-index: 3 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-price-wrap {
        position: absolute !important;
        top: 14px !important;
        right: 10px !important;
        display: flex !important;
        align-items: baseline !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        white-space: nowrap !important;
        text-align: right !important;
        z-index: 2 !important;
        max-width: 70px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-price {
        font-size: 16px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-price-old {
        font-size: 10px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-desc {
        grid-row: 2 !important;
        margin: 0 !important;
        font-size: 12.5px !important;
        line-height: 1.3 !important;
        height: 18px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        min-width: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions {
        grid-row: 4 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions::before,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions::after,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-body::before,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-body::after {
        display: none !important;
        content: none !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions .fs-product-card-cta {
        width: auto !important;
        min-width: 108px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 12px !important;
        margin: 0 !important;
        font-size: 12.5px !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-badge {
        top: 4px !important;
        left: 8px !important;
        z-index: 3 !important;
        font-size: 10px !important;
        padding: 4px 8px !important;
    }

    /* =====================================================
       LIST LEFT mobiel:
       huidige compacte rijkaart behouden
       ===================================================== */

    body.fs-shop.fs-product-layout-list-left .fs-product-card {
        display: grid !important;
        grid-template-columns: clamp(104px, 31vw, 132px) minmax(0, 1fr) !important;
        grid-template-areas: "media body" !important;
        min-height: 136px !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-media {
        grid-area: media !important;
        width: clamp(104px, 31vw, 132px) !important;
        min-width: clamp(104px, 31vw, 132px) !important;
        max-width: clamp(104px, 31vw, 132px) !important;
        height: 100% !important;
        min-height: 136px !important;
        max-height: none !important;
        align-self: stretch !important;
        display: block !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-img--placeholder {
        width: 100% !important;
        height: 100% !important;
        min-height: 136px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        border-radius: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-body {
        grid-area: body !important;
        min-width: 0 !important;
        padding: 13px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        gap: 8px !important;
        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px !important;
        align-items: start !important;
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-title-wrap {
        min-width: 0 !important;
        display: flex !important;
        gap: 6px !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-title {
        margin: 0 !important;
        font-size: 16px !important;
        line-height: 1.14 !important;
        font-weight: 900 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-price {
        font-size: 16px !important;
        line-height: 1.14 !important;
        white-space: nowrap !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-desc {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions {
        margin: 0 !important;
        padding: 8px 0 0 0 !important;
        border-top: 1px solid var(--fs-border, rgba(255,255,255,.10)) !important;
        justify-content: flex-start !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-product-card-cta {
        width: auto !important;
        min-width: 112px !important;
        height: 38px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
        justify-content: center !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-badge {
        top: 10px !important;
        left: 10px !important;
        z-index: 3 !important;
    }

    /* =====================================================
       CARDS mobiel:
       normale kaart met afbeelding boven behouden
       ===================================================== */

    body.fs-shop.fs-product-layout-cards .fs-product-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-media {
        order: 1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
        display: block !important;
        overflow: hidden !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-img,
    body.fs-shop.fs-product-layout-cards .fs-product-card-img--placeholder {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        border-radius: 0 !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-body {
        order: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 18px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 12px !important;
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-title {
        font-size: 22px !important;
        line-height: 1.12 !important;
        -webkit-line-clamp: 2 !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-price {
        font-size: 22px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-desc {
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: unset !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-actions {
        margin-top: 2px !important;
        padding-top: 14px !important;
        padding-bottom: 0 !important;
        justify-content: flex-start !important;
    }

    body.fs-shop.fs-product-layout-cards .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-cards .fs-product-card-actions .fs-product-card-cta {
        width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;
        padding: 0 18px !important;
        justify-content: center !important;
    }
}

/* =========================================================
   FoodSync product cards - mobile list-right title/icon final
   Doel:
   - titel blijft normaal zichtbaar
   - geen rare afbraak per paar letters
   - info-icoon terug op vaste plek links naast prijs
   - prijs, afbeelding en button blijven ongemoeid
   ========================================================= */

@media (max-width: 760px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card-body {
        position: relative !important;
    }

   body.fs-shop.fs-product-layout-list-right .fs-product-card-title-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-title {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: manual !important;

        overflow: visible !important;
        text-overflow: unset !important;

        line-height: 1.2 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-info-btn {
        position: absolute !important;
        top: 18px !important;
        right: 74px !important;

        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1 !important;

        color: #ffffff !important;
        opacity: .86 !important;
        background: transparent !important;
        border: 0 !important;

        transform: none !important;
        z-index: 3 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-info-btn:hover {
        color: #ffffff !important;
        opacity: 1 !important;
    }
}


/* =========================================================
   FoodSync product cards - mobile list-right info icon on image
   Doel:
   - info-icoon weg uit titel/prijslijn
   - info-icoon rechtsonder over afbeelding
   - titel, prijs, kortingsprijs, button en afbeelding-layout ongemoeid
   ========================================================= */

@media (max-width: 760px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card {
        position: relative !important;
    }

    /*
     * Belangrijk:
     * De button zit in de HTML nog in de body/title-wrap.
     * Daarom moet de body hem niet afknippen.
     */
    body.fs-shop.fs-product-layout-list-right .fs-product-card-body {
        position: static !important;
        overflow: visible !important;
    }

    /*
     * Prijs opnieuw netjes rechts in het tekstdeel houden,
     * omdat de body hierboven niet meer de position-context is.
     * 128px = huidige mobiele afbeeldingsbreedte.
     */
    body.fs-shop.fs-product-layout-list-right .fs-product-card-price-wrap {
        position: absolute !important;
        top: 7px !important;
		right:3px !important;
        right: calc(128px + 10px) !important;
        z-index: 4 !important;
    }

    /*
     * Info-icoon als overlay op de afbeelding.
     */
    body.fs-shop.fs-product-layout-list-right .fs-product-info-btn {
        position: absolute !important;
        top: auto !important;
        right: 6px !important;
        bottom: 4px !important;

        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 17px !important;
        line-height: 1 !important;

        color: #ffffff !important;
        background: rgba(0, 0, 0, .55) !important;
        border: 1px solid rgba(255, 255, 255, .65) !important;
        border-radius: 999px !important;
        opacity: .95 !important;

        transform: none !important;
        z-index: 6 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-info-btn:hover {
        opacity: 1 !important;
        color: #ffffff !important;
    }
}

/* =========================================================
   FoodSync product cards - desktop/tablet list card height fix
   Doel:
   - voorkomt dat de Voeg toe-knop onderin wordt afgesneden
   - geeft meer ruimte onder de knop
   - geldt niet voor mobiel
   ========================================================= */

@media (min-width: 761px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card,
    body.fs-shop.fs-product-layout-list-left .fs-product-card {
        min-height: 190px !important;
        height: 190px !important;
        max-height: 190px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-media,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-media,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-img--placeholder,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-img--placeholder {
        height: 190px !important;
        min-height: 190px !important;
        max-height: 190px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-body,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-body {
        min-height: 190px !important;
        height: 190px !important;
        max-height: 190px !important;
        padding-bottom: 16px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions {
        padding-bottom: 8px !important;
    }
}

/* =========================================================
   FoodSync product cards - mobile list-left mirror of list-right
   Doel:
   - afbeelding links
   - tekst rechts
   - info-icoon als overlay rechtsonder over afbeelding
   - prijs rechtsboven in tekstdeel
   - mobiele list-left gelijkwaardig aan list-right
   ========================================================= */

@media (max-width: 760px) {
    body.fs-shop.fs-product-layout-list-left .fs-product-card {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 128px minmax(0, 1fr) !important;
        grid-template-areas: "media body" !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        padding: 0 !important;
        overflow: hidden !important;
        align-items: stretch !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-media {
        grid-area: media !important;
        position: relative !important;
        width: 128px !important;
        min-width: 128px !important;
        max-width: 128px !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        align-self: stretch !important;
        justify-self: start !important;
        display: block !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-img--placeholder {
        width: 128px !important;
        min-width: 128px !important;
        max-width: 128px !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-body {
        grid-area: body !important;
        position: static !important;
        min-width: 0 !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        padding: 14px 10px 12px 14px !important;
        display: grid !important;
        grid-template-rows: 44px 20px 1fr 32px !important;
        gap: 4px !important;
        overflow: visible !important;
        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-head {
        display: block !important;
        position: static !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-title-wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 104px 0 0 !important;
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-title {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: manual !important;

        overflow: visible !important;
        text-overflow: unset !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-price-wrap {
        position: absolute !important;
        top: 7px !important;
        right: 10px !important;
        display: flex !important;
        align-items: baseline !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        white-space: nowrap !important;
        text-align: right !important;
        z-index: 4 !important;
        max-width: 98px !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-price {
        font-size: 16px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-price-old {
        font-size: 10px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        opacity: .72 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-desc {
        grid-row: 2 !important;
        margin: 0 !important;
        font-size: 12.5px !important;
        line-height: 1.3 !important;
        height: 18px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        min-width: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions {
        grid-row: 4 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions::before,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions::after,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-body::before,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-body::after {
        display: none !important;
        content: none !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-product-card-cta {
        width: auto !important;
        min-width: 108px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 12px !important;
        margin: 0 !important;
        font-size: 12.5px !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /*
     * Info-icoon als overlay op de linker afbeelding.
     */
    body.fs-shop.fs-product-layout-list-left .fs-product-info-btn {
        position: absolute !important;
        top: auto !important;
        left: 102px !important;
        right: auto !important;
        bottom: 4px !important;

        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 17px !important;
        line-height: 1 !important;

        color: #ffffff !important;
        background: rgba(0, 0, 0, .55) !important;
        border: 1px solid rgba(255, 255, 255, .65) !important;
        border-radius: 999px !important;
        opacity: .95 !important;

        transform: none !important;
        z-index: 6 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-info-btn:hover {
        opacity: 1 !important;
        color: #ffffff !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-badge {
        top: 8px !important;
        left: 8px !important;
        z-index: 7 !important;
        font-size: 10px !important;
        padding: 4px 8px !important;
    }
}

/* =========================================================
   FoodSync product cards - mobile list-left spacing/button fix
   Doel:
   - button rechts uitlijnen
   - omschrijving directer onder titel
   - geen grote lege ruimte bij korte titels
   - alleen mobiele list-left weergave
   ========================================================= */

@media (max-width: 760px) {
    body.fs-shop.fs-product-layout-list-left .fs-product-card-body {
        display: grid !important;
        grid-template-rows: auto auto 1fr auto !important;
        gap: 7px !important;
        padding: 14px 10px 12px 14px !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-title-wrap {
        height: auto !important;
        max-height: none !important;
        padding: 0 104px 0 0 !important;
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        font-size: 16px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-desc {
        grid-row: auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;

        font-size: 12.5px !important;
        line-height: 1.3 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions {
        grid-row: auto !important;
        justify-content: flex-end !important;
        align-items: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-product-card-cta {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

/* =========================================================
   FoodSync product cards - mobile list-left fixed button position
   Doel:
   - button vast rechtsonder in tekstkolom
   - titel en omschrijving blijven bovenin
   - geen zwevende/verspringende button
   - alleen mobiele list-left weergave
   ========================================================= */

@media (max-width: 760px) {
    body.fs-shop.fs-product-layout-list-left .fs-product-card-body {
        position: relative !important;
        display: block !important;
        height: 142px !important;
        min-height: 142px !important;
        max-height: 142px !important;
        padding: 14px 10px 12px 14px !important;
        overflow: hidden !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-title-wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 104px 0 0 !important;
        margin: 0 0 9px 0 !important;
        overflow: visible !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-desc {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 8px 0 0 !important;

        font-size: 12.5px !important;
        line-height: 1.3 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions {
        position: absolute !important;
        right: 10px !important;
        bottom: 12px !important;

        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;

        margin: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-product-card-cta {
        width: auto !important;
        min-width: 108px !important;
        height: 32px !important;
        min-height: 32px !important;

        margin: 0 !important;
        padding: 0 12px !important;

        font-size: 12.5px !important;
        line-height: 1 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* =========================================================
   FoodSync product cards - mobile list-left info icon image fix
   Doel:
   - info-icoon terug over de linker afbeelding
   - niet tegen de button/tekstkolom
   - button blijft rechts staan
   ========================================================= */

@media (max-width: 760px) {
    body.fs-shop.fs-product-layout-list-left .fs-product-card-body {
        overflow: visible !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-info-btn {
        position: absolute !important;
        top: auto !important;

        /*
         * Body begint rechts van de afbeelding.
         * Afbeelding is 128px breed.
         * -26px zet het icoon rechtsonder over de afbeelding.
         */
        left: -36px !important;
        right: auto !important;
        bottom: 7px !important;

        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 17px !important;
        line-height: 1 !important;

        color: #ffffff !important;
        background: rgba(0, 0, 0, .55) !important;
        border: 1px solid rgba(255, 255, 255, .65) !important;
        border-radius: 999px !important;
        opacity: .95 !important;

        transform: none !important;
        z-index: 8 !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-info-btn:hover {
        opacity: 1 !important;
        color: #ffffff !important;
    }
}

/* =========================================================
   FoodSync product cards - mobile list-right spacing fix
   Doel:
   - omschrijving dichter onder korte producttitels
   - titel mag nog steeds max 2 regels gebruiken
   - button blijft links onderin
   - info-icoon blijft over afbeelding rechts
   ========================================================= */

@media (max-width: 760px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card-body {
        display: grid !important;
        grid-template-rows: auto auto 1fr auto !important;
        gap: 7px !important;
        padding: 14px 10px 12px 12px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-title-wrap {
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 104px 0 0 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-desc {
        grid-row: auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;

        font-size: 12.5px !important;
        line-height: 1.3 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions {
        grid-row: auto !important;
        justify-content: flex-start !important;
        align-items: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 0 !important;
    }
}

/* =========================================================
   FoodSync product cards - desktop button compact
   Doel:
   - Voeg toe-knop op desktop/tablet iets kleiner
   - mobiel ongemoeid laten
   ========================================================= */

@media (min-width: 761px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions .fs-product-card-cta,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-product-card-cta {
        min-width: 126px !important;
        max-width: 140px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 14px !important;
        font-size: 13px !important;
        line-height: 1 !important;
    }
}

/* =========================================================
   FoodSync product cards - desktop/tablet description 2 lines
   Doel:
   - productomschrijving op desktop/tablet max 2 regels tonen
   - minder grote lege ruimte rond omschrijving
   - knop blijft onderin netjes staan
   - mobiel ongemoeid laten
   ========================================================= */

@media (min-width: 761px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card-body,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-body {
        gap: 6px !important;
        justify-content: flex-start !important;
        padding-top: 16px !important;
        padding-bottom: 14px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-head,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-head {
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-title-wrap,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-title-wrap {
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-title,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-title {
        margin: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-desc,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;

        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: unset !important;

        margin: 4px 0 0 0 !important;
        padding: 0 !important;

        font-size: 13px !important;
        line-height: 1.28 !important;
        max-height: 34px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions {
        margin-top: auto !important;
        padding-top: 6px !important;
        padding-bottom: 0 !important;
        border-top: 0 !important;
    }
}

/* =========================================================
   FoodSync product cards - desktop/tablet compact final
   Doel:
   - kaart minder hoog maken
   - afbeelding blijft vierkant
   - titel blijft natuurlijk max 2 regels
   - omschrijving max 2 regels
   - knop blijft gelijk onderaan
   - mobiel ongemoeid laten
   ========================================================= */

@media (min-width: 761px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card,
    body.fs-shop.fs-product-layout-list-left .fs-product-card {
        min-height: 162px !important;
        height: 162px !important;
        max-height: 162px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card {
        grid-template-columns: minmax(0, 1fr) 174px !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card {
        grid-template-columns: 174px minmax(0, 1fr) !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-media,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-media,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-img--placeholder,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-img--placeholder {
        width: 162px !important;
        min-width: 162px !important;
        max-width: 162px !important;
        height: 162px !important;
        min-height: 162px !important;
        max-height: 162px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-body,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-body {
        height: 162px !important;
        min-height: 162px !important;
        max-height: 162px !important;

        padding: 14px 16px 14px 16px !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 7px !important;

        overflow: hidden !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-head,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-head {
        margin: 0 !important;
        padding: 0 !important;
        gap: 10px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-title-wrap,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-title-wrap {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-title,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-title {
        font-size: 18px !important;
        line-height: 1.12 !important;
        margin: 0 !important;
        padding: 0 !important;

        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-desc,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;

        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: unset !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 13px !important;
        line-height: 1.28 !important;
        max-height: 34px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions {
        margin-top: auto !important;
        margin-bottom: 0 !important;

        padding: 0 !important;
        border-top: 0 !important;

        display: flex !important;
        justify-content: flex-end !important;
        align-items: flex-end !important;

        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions .fs-product-card-cta,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-btn,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions .fs-product-card-cta {
        min-width: 126px !important;
        max-width: 140px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 14px !important;
        margin: 0 !important;

        font-size: 13px !important;
        line-height: 1 !important;

        transform: none !important;
    }
}

/* =========================================================
   FoodSync product cards - desktop/tablet image flush fix
   Doel:
   - afbeelding weer strak tegen rechter/onderrand
   - geen padding/gap rond afbeelding
   - afbeelding blijft vierkant
   - mobiel ongemoeid laten
   ========================================================= */

@media (min-width: 761px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card,
    body.fs-shop.fs-product-layout-list-left .fs-product-card {
        height: 162px !important;
        min-height: 162px !important;
        max-height: 162px !important;
        overflow: hidden !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card {
        grid-template-columns: minmax(0, 1fr) 162px !important;
    }

    body.fs-shop.fs-product-layout-list-left .fs-product-card {
        grid-template-columns: 162px minmax(0, 1fr) !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-media,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-media {
        width: 162px !important;
        min-width: 162px !important;
        max-width: 162px !important;

        height: 162px !important;
        min-height: 162px !important;
        max-height: 162px !important;

        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;

        display: block !important;
        overflow: hidden !important;
        align-self: stretch !important;
        justify-self: stretch !important;
        background: transparent !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-img,
    body.fs-shop.fs-product-layout-list-right .fs-product-card-img--placeholder,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-img--placeholder {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;

        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;

        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;

        display: block !important;
        object-fit: cover !important;
        object-position: center !important;
        aspect-ratio: 1 / 1 !important;
    }
}

/* =========================================================
   FoodSync product cards - final desktop/tablet polish
   Doel:
   - knop 4px hoger vanaf de onderrand
   - info-icoon niet wit forceren, maar subtiel zoals light theme
   - mobiel ongemoeid laten
   ========================================================= */

@media (min-width: 761px) {
    body.fs-shop.fs-product-layout-list-right .fs-product-card-actions,
    body.fs-shop.fs-product-layout-list-left .fs-product-card-actions {
        padding-bottom: 6px !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-info-btn,
    body.fs-shop.fs-product-layout-list-left .fs-product-info-btn {
        color: var(--fs-product-card-text, var(--fs-muted, #9ca3af)) !important;
        opacity: .85 !important;
    }

    body.fs-shop.fs-product-layout-list-right .fs-product-info-btn:hover,
    body.fs-shop.fs-product-layout-list-left .fs-product-info-btn:hover {
        color: var(--fs-product-card-text, var(--fs-muted, #9ca3af)) !important;
        opacity: 1 !important;
    }
}

/* =========================================================
   FoodSync desktop product info button click fix
   Doel:
   - info-icoon op desktop klikbaar houden
   - voorkomt overlap/pointer-events problemen door product layouts
   - mobiel ongemoeid laten
   ========================================================= */

@media (min-width: 761px) {
  body.fs-shop .fs-product-card {
    position: relative !important;
  }

  body.fs-shop .fs-product-card-head,
  body.fs-shop .fs-product-card-title-wrap {
    position: relative !important;
    z-index: 8 !important;
  }

  body.fs-shop .fs-product-card .fs-product-info-btn,
  body.fs-shop .fs-product-card button[data-fs-open-product-info] {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.fs-shop .fs-product-card .fs-product-card-media,
  body.fs-shop .fs-product-card .fs-product-card-img,
  body.fs-shop .fs-product-card .fs-product-card-img--placeholder {
    pointer-events: none !important;
  }
}

/* =========================================================
   FoodSync extra info modal - desktop layout fix
   Doel:
   - afbeelding en tekst netjes naast elkaar
   - geen overlap tussen afbeelding en tekst
   - simple product popup ongemoeid laten
   ========================================================= */

@media (min-width: 761px) {
  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) {
    display: grid !important;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr) !important;
    gap: 42px !important;
    align-items: start !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) .fs-product-modal-media {
    width: 100% !important;
    max-width: 460px !important;
    min-width: 0 !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) .fs-product-modal-img,
  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) .fs-product-modal-img--placeholder {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) .fs-product-modal-copy {
    min-width: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }
}

/* =========================================================
   FoodSync extra info modal - desktop image smaller
   Doel:
   - afbeelding in Meer info popup circa 40% kleiner
   - tekst/extra-info layout netjes houden
   - simple product popup ongemoeid laten
   ========================================================= */

@media (min-width: 761px) {
  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 36px !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) .fs-product-modal-media {
    width: 280px !important;
    max-width: 280px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
  }

  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) .fs-product-modal-img,
  body.fs-shop #fs-product-info-modal .fs-product-modal-content:not(.fs-product-order-content) .fs-product-modal-img--placeholder {
    width: 280px !important;
    max-width: 280px !important;
    height: 280px !important;
    object-fit: cover !important;
  }
}