/* ── Bandeau de confiance ── */
.trust-bar {
    background: #fff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 20px 0;
}

.trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 32px;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.trust-bar__item--link {
    transition: opacity 0.2s;
}

.trust-bar__item--link:hover {
    opacity: 0.75;
}

.trust-bar__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trust-bar__icon--gold { color: #FFB81C; }
.trust-bar__icon--red  { color: #C8102E; }

.trust-bar__text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

.trust-bar__stars {
    font-size: 1rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.trust-bar__sep {
    width: 1px;
    height: 28px;
    background: #ebebeb;
    flex-shrink: 0;
}

/* ── Gage paiement avec logos ── */
.trust-bar__item--payment {
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-bar__payment-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-bar__payment-logos {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-bar__payment-logo {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 3px;
    padding: 2px 5px;
    line-height: 0;
    flex-shrink: 0;
}

.trust-bar__payment-logo img {
    height: 20px;
    width: auto;
    display: block;
}

/* Wrapper transparent sur desktop : les items restent enfants directs du flex */
.trust-bar__slide {
    display: contents;
}

.trust-bar__dots {
    display: none;
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .trust-bar__inner {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        scroll-behavior: smooth;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
    }

    .trust-bar__inner::-webkit-scrollbar {
        display: none;
    }

    .trust-bar__sep {
        display: none;
    }

    .trust-bar__slide {
        display: flex;
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        scroll-snap-align: start;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 0 16px;
    }

    .trust-bar__slide .trust-bar__item {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 8px 0;
    }

    .trust-bar__slide .trust-bar__item--link {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .trust-bar__text {
        white-space: normal;
        word-break: break-word;
        min-width: 0;
    }

    .trust-bar__dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        padding-top: 10px;
    }

    .tb-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        border: none;
        background: #d0cec8;
        padding: 0;
        cursor: pointer;
        transition: all 0.2s;
    }

    .tb-dot--active {
        width: 20px;
        border-radius: 3px;
        background: #C8102E;
    }
}
