﻿:root {
    --brand: #4d7966;
    --brand-600: #3c6755;
    --brand-050: #f3f7f5;
    --ink: #1f2a2a;
    --muted: #5b6b6b;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 26px rgba(0,0,0,.10);
    --ring: 0 0 0 3px rgba(77,121,102,.25);
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0
}

body {
    font-family: Poppins,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg,var(--brand-050),#fff 35%);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin-inline: auto;
    padding: 16px
}

/* Barre du haut */
header.site {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: saturate(140%) blur(6px);
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid #e8efec;
}

.site__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

.site__title {
    font-weight: 700;
    color: var(--brand-600);
    font-size: 1rem;
    letter-spacing: .3px;
}

.badge {
    font-size: .9rem;
    font-weight: 600;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: .5rem;
    text-align: right;
}

    .badge i {
        display: inline-block;
        width: 8px;
        height: 8px;
        background: var(--brand);
        border-radius: 999px;
        box-shadow: 0 0 0 4px rgba(77,121,102,.15)
    }

/* HERO */
.hero {
    text-align: center;
    padding: 22px 10px 16px;
    display: grid;
    gap: 10px;
    align-items: center
}

.hero-logo {
    margin: 4px auto 10px;
    width: min(260px,38vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.05));
}

.hero h1 {
    font-size: clamp(1.35rem,2vw,1.9rem);
    margin: 0
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-size: .96rem
}

.notice {
    margin: 12px auto 0;
    padding: 10px 14px;
    border: 1px dashed var(--brand);
    border-radius: 12px;
    max-width: 780px;
    background: #ffffffee;
    font-size: .94rem;
    line-height: 1.4
}

/* FILTRES */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0 10px
}

.chip {
    appearance: none;
    border: 1px solid #dfe8e5;
    background: #fff;
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(0,0,0,.03);
    transition: all .15s ease;
}

    .chip:hover {
        border-color: var(--brand);
        color: var(--brand)
    }

    .chip[aria-pressed="true"] {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand)
    }

/* GRILLE PRODUITS */
.grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
}

.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .12s ease,box-shadow .2s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(0,0,0,.12);
    }

.card__media {
    position: relative;
    background: #fff;
    height: 320px; /* image agrandie */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.card:hover .card__img {
    transform: scale(1.07);
}

.card__media small {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px
}

.card__body {
    padding: 18px 20px 10px
}

.card h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700
}

.price {
    font-weight: 800;
    color: var(--brand);
    font-size: 1.05rem;
    margin-top: 2px
}

.desc {
    color: var(--muted);
    font-size: .94rem;
    margin: .3rem 0 .6rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.formline {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding: 0 18px 18px;
}

.qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e0e7e4;
    border-radius: 10px;
    padding: 6px 10px
}

    .qty input {
        width: 46px;
        border: 0;
        outline: none;
        font-weight: 700;
        font-size: 1rem;
        text-align: center;
        background: transparent
    }

.btn {
    appearance: none;
    border: 0;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(77,121,102,.25);
    transition: transform .08s ease,background .15s ease
}

    .btn:hover {
        background: var(--brand-600)
    }

    .btn:active {
        transform: translateY(1px)
    }

    .btn:focus-visible {
        outline: none;
        box-shadow: var(--ring)
    }

.section-title {
    margin: 32px 0 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .6rem
}

    .section-title .line {
        flex: 1;
        height: 1px;
        background: #e3ece8
    }

footer {
    margin-top: 32px;
    padding: 18px 14px;
    color: #4b5a5a;
    background: var(--brand-050);
    border-top: 1px solid #e8efec;
    font-size: .95rem
}

.footwrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
    text-align: center
}

.payicons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    opacity: .9
}

    .payicons span {
        font-size: .85rem
    }

a {
    color: var(--brand-600);
    text-decoration: none
}

    a:focus-visible {
        outline: none;
        box-shadow: var(--ring);
        border-radius: 6px
    }
/* =========================
   Splash page (FR/NL)
   ========================= */
body.splash {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    background: linear-gradient(180deg,var(--brand-050),#fff 35%);
}

.splash .wrap {
    width: min(980px,94vw);
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 22px 20px 26px;
}

.splash header.center {
    text-align: center;
    margin-bottom: 14px;
}

.splash .logo {
    width: min(240px,40vw);
    height: auto;
    display: block;
    margin: 0 auto 6px;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.06));
}

.splash h1 {
    margin: 6px 0 4px;
    font-size: clamp(1.25rem,2.4vw,1.8rem);
}

.splash .lead {
    margin: 0;
    color: var(--muted);
    font-size: .98rem;
}

/* grille & cartes langue */
.splash .grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
}

.splash .card {
    border: 1px solid #e7edea;
    background: #fff;
    border-radius: 14px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .splash .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0,0,0,.08);
        border-color: #dbe7e2;
    }

.splash .flag {
    font-size: 1.2rem
}

.splash .title {
    font-weight: 800
}

.splash .desc {
    color: var(--muted);
    font-size: .95rem;
    margin-top: -2px
}

.splash .btn {
    margin-top: 6px;
}

/* suggestion + toggle mémoire (localStorage) */
.splash .hint {
    margin-top: 14px;
    font-size: .92rem;
    color: var(--muted);
    text-align: center
}

.splash .suggest {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    background: #f6fbf9;
    border: 1px solid #d7ece4;
    color: #2b5145;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600
}

.splash .linklike {
    border: 0;
    background: none;
    color: var(--brand-600);
    font-weight: 700;
    margin-left: 10px;
    cursor: pointer
}

    .splash .linklike:focus-visible {
        outline: none;
        box-shadow: var(--ring);
        border-radius: 8px
    }
/* --- Lisibilité mobile des cartes --- */
@media (max-width: 767px) {
    /* 1) Donner plus de place au texte */
    .card__media {
        height: 200px;
    }
    /* au lieu de 320px */

    /* 2) Ne plus tronquer la description sur mobile */
    .desc {
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }
}

/* Optionnel : meilleur wrapping des mots très longs (FR/NL) */
.desc {
    overflow-wrap: anywhere;
    word-break: normal;
}
/* --- Header compact sur mobile --- */
@media (max-width: 768px) {
    .badge {
        display: none !important; /* masque le bandeau sur mobile */
    }

    .site__bar {
        padding: 8px 12px;
        justify-content: center;
        text-align: center;
    }

    .site__title {
        font-size: 0.95rem;
        line-height: 1.2;
        white-space: normal;
    }
}
/* --- Centrage et largeur cohérente des boutons "Acheter / Betalen" --- */
.formline {
    justify-content: center; /* centre horizontalement */
}

    .formline .btn {
        width: 100%;
        max-width: 220px; /* largeur cohérente */
        text-align: center;
    }
