/* ============================================================
   PROOF WIDGET — STATIC SLIDER  |  proof-static.css
   ============================================================ */

/* ── SECTION STATIQUE ── */
.pw-static {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* En-tête */
.pw-static__header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
    .pw-static__header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}
.pw-static__title { font-size: 15px; font-weight: 600; color: #111827; margin: 0; }
.pw-static__right { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
@media (min-width: 640px) { .pw-static__right { align-items: flex-end; } }

.pw-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #22c55e;
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
}
.pw-badge__stars { color: #fde68a; font-size: 11px; }
.pw-badge__score { font-size: 12px; font-weight: 600; }

.pw-verified { display: flex; align-items: center; gap: 5px; }
.pw-verified__label { font-size: 11px; color: #9ca3af; }
.pw-verified__logo { height: 14px; opacity: 0.85; }

/* Item avis */
.pw-static__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pw-static__content { display: flex; align-items: flex-start; gap: 10px; min-width: 0; flex: 1; }
.pw-static__avatar {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #D9D9D9 !important;
    color: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    text-transform: uppercase !important;
}
.pw-static__body { flex: 1; min-width: 0; }
.pw-static__meta { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.pw-static__name { font-size: 13px; font-weight: 500; color: #111827; }
.pw-static__date { font-size: 12px; color: #6b7280; }
.pw-static__text { font-size: 13px; color: #374151; line-height: 1.55; margin: 0; }
.pw-static__like { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; padding-top: 2px; }
.pw-static__like svg { color: #22c55e !important; }

/* Bouton Voir plus */
.pw-seemore-cell { display: flex; align-items: center; justify-content: center; }
.pw-seemore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #22c55e;
    color: #fff;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}
.pw-seemore-btn:hover { background: #16a34a; }

/* ── SLIDER ── */
.pw-slider-container {
    display: block;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.pw-slider-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Chaque slide occupe exactement la largeur visible du container.
   On utilise 100vw comme base de calcul via JS (offsetWidth),
   donc ici on pose juste le minimum nécessaire. */
.pw-slide {
    flex: 0 0 auto;          /* taille pilotée par le JS en pixels          */
    box-sizing: border-box;
}

/* ── LAYOUT DESKTOP / MOBILE ── */
.pw-slide__desktop { display: none; }
.pw-slide__mobile  { display: flex; flex-direction: column; gap: 1.25rem; }

@media (min-width: 1024px) {
    .pw-slide__desktop {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .pw-slide__mobile { display: none; }
}

/* Grille 2 colonnes — minmax(0,1fr) comme Tailwind grid-cols-2 */
.pw-slide__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

/* ── BOUTONS PREV / NEXT ── */
.pw-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.pw-nav__btn {
    width: 2rem; height: 2rem;
    border-radius: 9999px;
    background: #e5e7eb;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
}
.pw-nav__btn:hover { background: #d1d5db; }
.pw-nav__btn svg { width: 1rem; height: 1rem; color: #4b5563; }
