/* ============================================================
   WCSE Trustpilot — widget note globale
   ============================================================ */

.wcse-tp-widget {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 20px;
    font-family: var(--wcse-font-body);
}
.wcse-tp-align-center { text-align: center; align-items: center; }
.wcse-tp-align-left   { text-align: left;   align-items: flex-start; }
.wcse-tp-align-right  { text-align: right;  align-items: flex-end; }

.wcse-tp-widget-top {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wcse-tp-score {
    font-size: 15px;
    color: var(--wcse-text);
}
.wcse-tp-score strong { font-weight: 700; }
.wcse-tp-theme-dark .wcse-tp-score { color: #fff; }

.wcse-tp-stars {
    height: 24px;
    width: auto;
}

.wcse-tp-widget-bottom {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: color-mix(in srgb, var(--wcse-text) 70%, transparent);
}
.wcse-tp-theme-dark .wcse-tp-widget-bottom { color: rgba(255,255,255,0.8); }

.wcse-tp-logo {
    height: 16px;
    width: auto;
}

/* Mini inline */
.wcse-tp-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--wcse-font-body);
    font-size: 13px;
    color: var(--wcse-text);
    line-height: 1;
    vertical-align: middle;
}
.wcse-tp-theme-dark.wcse-tp-mini { color: #fff; }
.wcse-tp-mini-stars { height: 16px; width: auto; }
.wcse-tp-mini-score strong { font-weight: 700; }
.wcse-tp-mini-sep { color: color-mix(in srgb, var(--wcse-text) 30%, transparent); }
.wcse-tp-mini-count { color: color-mix(in srgb, var(--wcse-text) 70%, transparent); }
.wcse-tp-theme-dark .wcse-tp-mini-count,
.wcse-tp-theme-dark .wcse-tp-mini-sep { color: rgba(255,255,255,0.7); }
.wcse-tp-mini-logo { height: 14px; width: auto; margin-left: 2px; }

/* Badge TP 2024 */
.wcse-tp-badge {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

/* Cliquable — hover subtil */
a.wcse-tp-widget,
a.wcse-tp-mini,
a.wcse-tp-badge-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}
a.wcse-tp-widget:hover,
a.wcse-tp-mini:hover,
a.wcse-tp-badge-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}


/* v4.1.3 — verrouillage contre les thèmes FSE (img{height:auto} / display) */
.wcse-tp-mini,a.wcse-tp-mini,span.wcse-tp-mini{display:inline-flex!important;align-items:center!important;gap:8px!important;line-height:1!important;white-space:nowrap!important}
img.wcse-tp-mini-stars,.wcse-tp-mini-stars{height:16px!important;width:auto!important;max-width:none!important;display:inline-block!important;margin:0!important}
img.wcse-tp-mini-logo,.wcse-tp-mini-logo{height:14px!important;width:auto!important;max-width:none!important;display:inline-block!important;margin:0 0 0 2px!important}
.wcse-tp-mini-score,.wcse-tp-mini-sep,.wcse-tp-mini-count{display:inline!important;white-space:nowrap!important}
img.wcse-tp-badge,.wcse-tp-badge{width:auto!important;max-width:100%!important;display:inline-block!important}

/* v4.1.4 — widget complet [wcse_trustpilot] : mêmes verrous (Elementor : .elementor img{height:auto} bat .wcse-tp-stars) */
.wcse-tp-widget,a.wcse-tp-widget,div.wcse-tp-widget{display:inline-flex!important;flex-direction:column!important;gap:6px!important;padding:12px 20px!important;max-width:100%!important;text-decoration:none!important}
.wcse-tp-widget-top,.wcse-tp-widget-bottom{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;white-space:nowrap!important}
.wcse-tp-widget-top{gap:10px!important}
.wcse-tp-widget-bottom{gap:6px!important;font-size:12px!important}
.wcse-tp-score{font-size:15px!important;white-space:nowrap!important}
.wcse-tp-count{white-space:nowrap!important;display:inline!important}
img.wcse-tp-stars,.wcse-tp-stars{height:24px!important;width:auto!important;max-width:none!important;display:inline-block!important;margin:0!important}
img.wcse-tp-logo,.wcse-tp-logo{height:16px!important;width:auto!important;max-width:none!important;display:inline-block!important;margin:0!important}

/* ============================================================
   WCSE Trustpilot — cartes d'avis inline [wcse_reviews_cards]  (v4.1.12)
   Verrouillé (body + !important sur les images) contre Hello Elementor / .elementor img{height:auto}
   ============================================================ */
body .wcse-rc{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding:0;font-family:var(--wcse-font-body)}
body .wcse-rc-1{grid-template-columns:minmax(0,1fr)}
body .wcse-rc-2,body .wcse-rc-4{grid-template-columns:repeat(2,minmax(0,1fr))}
body .wcse-rc-card{background:#fff;border:1px solid rgba(0,0,0,.1);padding:22px 22px 20px;display:flex;flex-direction:column;gap:10px;min-width:0;margin:0;box-shadow:none}
body .wcse-rc-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
body .wcse-rc-stars{height:18px!important;width:auto!important;max-width:none!important;display:inline-block!important;margin:0!important}
body .wcse-rc-date{font-size:12.5px;color:color-mix(in srgb,var(--wcse-text) 60%,transparent);white-space:nowrap}
body .wcse-rc-title{font-family:var(--wcse-font-heading);font-size:17px;font-weight:600;line-height:1.3;margin:0;padding:0;color:var(--wcse-text);text-transform:none;letter-spacing:0}
body .wcse-rc-body{font-size:15px;line-height:1.5;color:var(--wcse-text);margin:0;padding:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;flex:1}
body .wcse-rc-meta{display:flex;align-items:center;gap:10px;padding-top:12px;border-top:1px solid rgba(0,0,0,.08);font-size:13.5px;color:var(--wcse-text);flex-wrap:wrap}
body .wcse-rc-avatar{width:30px;height:30px;border-radius:50%;background:var(--wcse-primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex:none;line-height:1}
body .wcse-rc-name{font-weight:600}
body .wcse-rc-city{color:color-mix(in srgb,var(--wcse-text) 60%,transparent)}
body .wcse-rc-verified{margin-left:auto;font-size:12px;color:#00B67A;font-weight:600;white-space:nowrap}
@media (max-width:900px){body .wcse-rc,body .wcse-rc-2,body .wcse-rc-4{grid-template-columns:minmax(0,1fr)}}
