/* ══════════════════════════════════════
   CACHER LA TOPBAR ORIGINALE DU THÈME
   ══════════════════════════════════════ */

.header-topbar,
.notibar-frontend-wrap,
.njt-nofi-wrap {
    display: none !important;
}

/* ══════════════════════════════════════
   TOP HEADER BAR - DA BUZZLIFY
   ══════════════════════════════════════ */

/* La topbar n'est PAS dans un <header>, donc pas affectée par header * */
.bzl-topbar,
.bzl-topbar *,
.bzl-topbar span,
.bzl-topbar strong {
    color: rgba(255,255,255,.92) !important;
}

.bzl-topbar strong {
    color: #fff !important;
}

.bzl-topbar-highlight,
.bzl-topbar-highlight * {
    color: #fbbf24 !important;
}

.bzl-topbar {
    position: relative;
    z-index: 99999;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-bottom: 2px solid #f7931e;
}

.bzl-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247,147,30,.04), transparent, rgba(247,147,30,.04), transparent);
    animation: bzl-shimmer 10s linear infinite;
    pointer-events: none;
}

@keyframes bzl-shimmer {
    from { transform: translateX(0); }
    to { transform: translateX(33.33%); }
}

.bzl-topbar-track {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.bzl-topbar-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 9px 0;
    white-space: nowrap;
}

.bzl-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    letter-spacing: 0.15px;
    color: rgba(255,255,255,.85);
}

.bzl-topbar-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.bzl-topbar-item strong {
    color: #fff;
    font-weight: 600;
}

.bzl-topbar-sep {
    color: rgba(255,255,255,.15);
    padding: 0 14px;
    font-size: 10px;
    user-select: none;
}

.bzl-topbar-highlight {
    background: rgba(247,147,30,.12);
    padding: 3px 10px !important;
    border-radius: 20px;
    border: 1px solid rgba(247,147,30,.25);
    color: #fbbf24;
}

.bzl-topbar-highlight strong {
    color: #fbbf24;
}

.bzl-topbar-live-dot {
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
    flex-shrink: 0;
    animation: bzl-dot-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(52,211,153,.6);
}

@keyframes bzl-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ══════════════════════════════════════
   PANIER : géré en inline via PHP
   pour écraser le CSS du customizer
   ══════════════════════════════════════ */

/* ══════════════════════════════════════
   GOOGLE REVIEWS WIDGET
   ══════════════════════════════════════ */

.bzl-google-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
    font-family: 'Google Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bzl-google-badge {
    cursor: pointer;
    transition: transform 0.2s;
}

.bzl-google-badge:hover {
    transform: translateY(-2px);
}

.bzl-google-badge-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
}

.bzl-google-badge-info {
    display: flex;
    flex-direction: column;
}

.bzl-google-badge-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bzl-google-score {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
}

.bzl-google-stars {
    color: #fbbc04;
    font-size: 14px;
    letter-spacing: -1px;
}

.bzl-google-badge-count {
    font-size: 11px;
    color: #70757a;
    margin-top: 1px;
}

.bzl-chevron {
    color: #70757a;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.bzl-google-widget.open .bzl-chevron {
    transform: rotate(180deg);
}

.bzl-google-panel {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: 360px;
    max-height: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.16), 0 0 0 1px rgba(0,0,0,.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bzl-google-widget.open .bzl-google-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.bzl-google-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e8eaed;
}

.bzl-google-panel-header strong {
    font-size: 16px;
    color: #202124;
    display: block;
}

.bzl-google-panel-score {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #70757a;
}

.bzl-google-panel-score .bzl-google-stars {
    font-size: 12px;
}

.bzl-google-reviews-list {
    overflow-y: auto;
    flex: 1;
    padding: 8px 0;
    max-height: 300px;
}

.bzl-google-reviews-list::-webkit-scrollbar {
    width: 4px;
}

.bzl-google-reviews-list::-webkit-scrollbar-thumb {
    background: #dadce0;
    border-radius: 4px;
}

.bzl-google-review {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f4;
}

.bzl-google-review:last-child {
    border-bottom: none;
}

.bzl-google-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.bzl-google-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.bzl-google-reviewer {
    font-size: 13px;
    font-weight: 600;
    color: #202124;
}

.bzl-google-review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #70757a;
}

.bzl-google-stars-sm {
    color: #fbbc04;
    font-size: 12px;
    letter-spacing: -1px;
}

.bzl-google-review-text {
    font-size: 13px;
    line-height: 1.5;
    color: #3c4043;
    margin: 0;
}

.bzl-google-panel-footer {
    padding: 10px 20px;
    border-top: 1px solid #e8eaed;
    text-align: center;
    font-size: 11px;
    color: #70757a;
    background: #f8f9fa;
}

/* ══════════════════════════════════════
   LIVE VISITORS
   ══════════════════════════════════════ */

.bzl-live-visitors {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 1px solid #fed7aa;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #92400e;
}

.bzl-live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
    animation: bzl-pulse 1.5s ease-in-out infinite;
}

@keyframes bzl-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* ══════════════════════════════════════
   TRUST BADGES - DA BUZZLIFY
   ══════════════════════════════════════ */

.bzl-trust-badges {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.bzl-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 10px 4px;
    border-radius: 8px;
    background: #fef7ed;
    border: 1px solid #fde8cd;
    transition: all 0.2s;
}

.bzl-trust-badge:hover {
    background: #fef0db;
    border-color: #f7931e;
}

.bzl-trust-badge span {
    font-size: 10px;
    color: #6b5a3e;
    line-height: 1.3;
}

.bzl-trust-badge strong {
    color: #1a1a2e;
}

/* ══════════════════════════════════════
   URGENCY BAR
   ══════════════════════════════════════ */

.bzl-urgency {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
}

.bzl-urgency-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.bzl-urgency-fill {
    height: 100%;
    background: linear-gradient(90deg, #f7931e, #ef4444);
    border-radius: 3px;
    animation: bzl-urgency-pulse 2s ease-in-out infinite;
}

@keyframes bzl-urgency-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.bzl-urgency-text {
    font-size: 12px;
    color: #92400e;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1100px) {
    .bzl-topbar-items {
        justify-content: flex-start;
        animation: bzl-scroll-mobile 25s linear infinite;
        width: max-content;
    }

    @keyframes bzl-scroll-mobile {
        0% { transform: translateX(5%); }
        100% { transform: translateX(-70%); }
    }
}

@media (max-width: 768px) {
    .bzl-google-panel {
        width: 300px;
        max-height: 350px;
    }

    .bzl-google-widget {
        bottom: 10px;
        left: 10px;
    }

    .bzl-trust-badges {
        grid-template-columns: repeat(3, 1fr);
    }

    .bzl-live-visitors {
        font-size: 12px;
    }

    .bzl-topbar-item {
        font-size: 11px;
    }
}
