/**
 * NixPulse Review Pro - Frontend Luxury Widget & Social Proof Stylesheet
 */

/* ==========================================================================
   Base Cards & Universal Widget Styling
   ========================================================================== */
.nxrev-widget-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    box-sizing: border-box;
    width: 100%;
    margin: 30px 0;
    position: relative;
}

.nxrev-widget-wrap * {
    box-sizing: border-box;
}

/* Glassmorphism Luxury Theme (Default & Hero Overlays) */
.nxrev-theme-glass .nxrev-card,
.nxrev-card.nxrev-glass-card {
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 18px !important;
    padding: 26px !important;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 380px !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.nxrev-theme-glass .nxrev-card:hover,
.nxrev-card.nxrev-glass-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    box-shadow: 0 28px 55px -15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.25) !important;
}

.nxrev-theme-glass .nxrev-author-name,
.nxrev-theme-glass h4.nxrev-author-name {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.nxrev-theme-glass .nxrev-card-title,
.nxrev-theme-glass h4.nxrev-card-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 12px 0 8px 0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.nxrev-theme-glass .nxrev-card-text,
.nxrev-theme-glass p.nxrev-card-text {
    color: #e2e8f0 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.nxrev-theme-glass .nxrev-meta-sub {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

.nxrev-theme-glass .nxrev-stars {
    color: #fbbf24 !important;
    font-size: 18px !important;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4) !important;
}

.nxrev-theme-glass .nxrev-rating-num {
    color: #fbbf24 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    margin-left: 6px !important;
}

.nxrev-theme-glass .nxrev-tour-pill {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #7dd3fc !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 5px 12px !important;
}

.nxrev-theme-glass .nxrev-destination-tag {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

.nxrev-theme-glass .nxrev-card-actions button {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    padding: 5px 10px !important;
    transition: all 0.2s ease !important;
}

.nxrev-theme-glass .nxrev-card-actions button:hover {
    background: rgba(16, 185, 129, 0.25) !important;
    color: #ffffff !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
}

.nxrev-theme-glass .nxrev-video-play-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.12)) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
}

.nxrev-theme-glass .nxrev-video-play-btn:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

/* Clean Light Luxury Theme */
.nxrev-theme-light .nxrev-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 26px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
    color: #1e293b !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 380px !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.nxrev-theme-light .nxrev-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: #cbd5e1 !important;
}

.nxrev-theme-light .nxrev-author-name,
.nxrev-theme-light h4.nxrev-author-name {
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.nxrev-theme-light .nxrev-card-title,
.nxrev-theme-light h4.nxrev-card-title {
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 12px 0 8px 0 !important;
    line-height: 1.4 !important;
}

.nxrev-theme-light .nxrev-card-text,
.nxrev-theme-light p.nxrev-card-text {
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.nxrev-theme-light .nxrev-tour-pill {
    background: #f0fdf4 !important;
    color: #00875a !important;
    border: 1px solid rgba(0, 170, 108, 0.2) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Dedicated TripAdvisor Slider Theme (Trustindex Elite Parity) */
.nxrev-theme-tripadvisor .nxrev-card,
.nxrev-card.nxrev-tripadvisor-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 22px 20px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
    color: #111827 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    height: 100% !important;
    min-height: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.nxrev-theme-tripadvisor .nxrev-card:hover,
.nxrev-card.nxrev-tripadvisor-card:hover {
    transform: translateY(-4px) !important;
    border-color: #00aa6c !important;
    box-shadow: 0 12px 30px rgba(0, 170, 108, 0.12) !important;
}

.nxrev-theme-tripadvisor .nxrev-author-name,
.nxrev-card.nxrev-tripadvisor-card .nxrev-author-name {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-shadow: none !important;
}

.nxrev-theme-tripadvisor .nxrev-date,
.nxrev-card.nxrev-tripadvisor-card .nxrev-date {
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    text-shadow: none !important;
}

.nxrev-theme-tripadvisor .nxrev-card-title,
.nxrev-card.nxrev-tripadvisor-card .nxrev-card-title {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    margin: 4px 0 8px 0 !important;
    line-height: 1.35 !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: none !important;
}

.nxrev-theme-tripadvisor .nxrev-card-body,
.nxrev-card.nxrev-tripadvisor-card .nxrev-card-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nxrev-theme-tripadvisor .nxrev-card-text,
.nxrev-card.nxrev-tripadvisor-card .nxrev-card-text {
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.nxrev-theme-tripadvisor .nxrev-card-text.truncated,
.nxrev-card.nxrev-tripadvisor-card .nxrev-card-text.truncated {
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.nxrev-theme-tripadvisor .nxrev-card-text.full,
.nxrev-card.nxrev-tripadvisor-card .nxrev-card-text.full {
    max-height: 160px !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
    margin: 0 !important;
}

.nxrev-theme-tripadvisor .nxrev-tour-pill,
.nxrev-card.nxrev-tripadvisor-card .nxrev-tour-pill,
.nxrev-theme-tripadvisor .nxrev-card-footer,
.nxrev-card.nxrev-tripadvisor-card .nxrev-card-footer,
.nxrev-theme-tripadvisor .nxrev-management-reply,
.nxrev-card.nxrev-tripadvisor-card .nxrev-management-reply,
.nxrev-management-reply,
.nxrev-management-reply-wrap,
.nxrev-reply-badge,
.nxrev-reply-toggle-btn {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.nxrev-theme-tripadvisor .nxrev-helpful-btn,
.nxrev-card.nxrev-tripadvisor-card .nxrev-helpful-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

.nxrev-theme-tripadvisor .nxrev-helpful-btn:hover,
.nxrev-card.nxrev-tripadvisor-card .nxrev-helpful-btn:hover {
    background: #f0fdf4 !important;
    border-color: #00aa6c !important;
    color: #00aa6c !important;
}

.nxrev-theme-tripadvisor .nxrev-share-btn,
.nxrev-card.nxrev-tripadvisor-card .nxrev-share-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

.nxrev-theme-tripadvisor .nxrev-share-btn:hover,
.nxrev-card.nxrev-tripadvisor-card .nxrev-share-btn:hover {
    background: #00aa6c !important;
    border-color: #00aa6c !important;
    color: #ffffff !important;
}

/* Dedicated TripAdvisor Slider Header Banner */
.nxrev-ta-header-banner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 24px 30px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.nxrev-ta-banner-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.nxrev-ta-badge-icon-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: #e6f7f0 !important;
    border: 2px solid #00aa6c !important;
    flex-shrink: 0 !important;
}

.nxrev-ta-award-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(0, 170, 108, 0.08) !important;
    color: #00875a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    margin-bottom: 6px !important;
    border: 1px solid rgba(0, 170, 108, 0.2) !important;
}

.nxrev-ta-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.25 !important;
}

.nxrev-ta-score-bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.nxrev-ta-rating-text {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.nxrev-ta-count {
    font-size: 13.5px !important;
    color: #64748b !important;
}

.nxrev-ta-banner-right {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.nxrev-ta-btn-write {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    border: 1.5px solid #00aa6c !important;
    color: #00aa6c !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border-radius: 24px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(0, 170, 108, 0.12) !important;
}

.nxrev-ta-btn-write:hover {
    background: #00aa6c !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 170, 108, 0.25) !important;
}

/* Nav arrows enhancement */
.nxrev-nav-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.nxrev-nav-btn:hover {
    background: #00aa6c !important;
    border-color: #00aa6c !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(0, 170, 108, 0.3) !important;
}

.nxrev-theme-glass .nxrev-nav-btn {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.nxrev-theme-glass .nxrev-nav-btn:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

/* Titanium Dark Theme */
.nxrev-theme-dark .nxrev-card {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    border-radius: 18px !important;
    padding: 26px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    color: #f9fafb !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 380px !important;
}

/* Card Header */
.nxrev-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.nxrev-card-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nxrev-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(16, 185, 129, 0.4);
}

.nxrev-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nxrev-author-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: inherit;
}

.nxrev-verified-badge svg {
    display: block;
}

.nxrev-meta-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nxrev-destination-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Platform Source Badges */
.nxrev-badge-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.nxrev-badge-source.nxrev-google {
    background: rgba(66, 133, 244, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.nxrev-badge-source.nxrev-tripadvisor {
    background: rgba(0, 170, 108, 0.1);
    color: #34d399;
    border: 1px solid rgba(0, 170, 108, 0.2);
}

.nxrev-badge-source.nxrev-direct {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Stars Row */
.nxrev-stars-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.nxrev-stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}

.nxrev-star.empty {
    color: #475569;
}

.nxrev-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
}

/* Card Body */
.nxrev-card-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: inherit;
}

.nxrev-card-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nxrev-card-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nxrev-tour-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

/* ==========================================================================
   Carousel / Slider Specific Styles
   ========================================================================== */
.nxrev-carousel-wrap {
    overflow: hidden;
}

.nxrev-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.nxrev-widget-title {
    margin: 6px 0 0 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nxrev-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    margin-right: 4px;
}

.nxrev-nav-arrows {
    display: flex;
    gap: 8px;
}

.nxrev-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nxrev-nav-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    transform: scale(1.05);
}

.nxrev-carousel-track-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.nxrev-carousel-track {
    display: flex !important;
    align-items: stretch !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.nxrev-slide {
    flex: 0 0 calc(33.333% - 16px);
    margin-right: 24px;
    min-width: 0;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    align-self: stretch !important;
}

.nxrev-slide .nxrev-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
}

.nxrev-slide .nxrev-card-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.nxrev-slide .nxrev-card-footer {
    margin-top: auto !important;
}

/* Management reply toggle */
.nxrev-management-reply-wrap {
    margin-top: 10px;
    margin-bottom: 6px;
}

.nxrev-reply-toggle-btn {
    background: #f0fdf4 !important;
    border: 1px solid rgba(0, 170, 108, 0.3) !important;
    color: #00875a !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}

.nxrev-reply-toggle-btn:hover {
    background: #00aa6c !important;
    color: #ffffff !important;
    border-color: #00aa6c !important;
}

.nxrev-theme-glass .nxrev-reply-toggle-btn {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}

.nxrev-theme-glass .nxrev-reply-toggle-btn:hover {
    background: #10b981 !important;
    color: #ffffff !important;
}

.nxrev-management-reply {
    margin-top: 8px !important;
    padding: 12px 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 3px solid #00aa6c !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: #475569 !important;
}

.nxrev-theme-glass .nxrev-management-reply {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    border-left: 3px solid #10b981 !important;
    color: #cbd5e1 !important;
}


.nxrev-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.nxrev-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.nxrev-dot.active {
    width: 24px;
    border-radius: 12px;
    background: #10b981;
}

/* ==========================================================================
   Masonry Grid & Wall of Love
   ========================================================================== */
.nxrev-grid-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.nxrev-filter-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #cbd5e1;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nxrev-filter-btn.active, .nxrev-filter-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.nxrev-grid-items {
    display: grid;
    grid-template-columns: repeat(var(--nxrev-cols, 3), 1fr);
    gap: 24px;
}

/* ==========================================================================
   Floating Trust Badge & Slide-over Drawer
   ========================================================================== */
.nxrev-floating-badge {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99990;
    cursor: pointer;
    animation: nxrev-bounce-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nxrev-badge-inner {
    background: #0f172a;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 30px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.nxrev-floating-badge:hover .nxrev-badge-inner {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.25);
}

.nxrev-badge-stars {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 1px;
}

.nxrev-badge-text strong {
    display: block;
    font-size: 13px;
    color: #f8fafc;
}

.nxrev-badge-text span {
    font-size: 11px;
    color: #94a3b8;
}

/* Drawer Modal */
.nxrev-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 100000;
}

.nxrev-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 440px;
    max-width: 90vw;
    background: #0f172a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    padding: 24px;
    overflow-y: auto;
    animation: nxrev-slide-right 0.3s ease;
}

.nxrev-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.nxrev-drawer-header h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 18px;
}

.nxrev-drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #94a3b8;
    cursor: pointer;
}

.nxrev-drawer-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #1e293b;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.nxrev-drawer-score {
    font-size: 38px;
    font-weight: 800;
    color: #fbbf24;
}

.nxrev-drawer-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   Rating Summary Bar Widget
   ========================================================================== */
.nxrev-summary-widget {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    display: grid;
    grid-template-columns: 200px 1fr 180px;
    gap: 30px;
    align-items: center;
    backdrop-filter: blur(12px);
    color: #f1f5f9;
}

.nxrev-big-score {
    font-size: 44px;
    font-weight: 900;
    color: #f8fafc;
    line-height: 1;
}

.nxrev-stars-gold {
    color: #fbbf24;
    font-size: 20px;
    letter-spacing: 2px;
    margin: 6px 0;
}

.nxrev-sum-count {
    font-size: 13px;
    color: #94a3b8;
}

.nxrev-nps-tag {
    font-size: 12px;
    color: #a855f7;
    margin-top: 4px;
}

.nxrev-sum-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nxrev-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nxrev-bar-label {
    width: 55px;
    font-size: 12px;
    color: #94a3b8;
}

.nxrev-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.nxrev-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.nxrev-bar-count {
    width: 35px;
    font-size: 12px;
    color: #cbd5e1;
    text-align: right;
}

.nxrev-btn-cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.2s;
}

.nxrev-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   Hero Single Quote Card
   ========================================================================== */
.nxrev-hero-quote-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
    max-width: 820px;
    margin: 40px auto;
}

.nxrev-quote-icon {
    font-size: 64px;
    line-height: 0.5;
    color: rgba(16, 185, 129, 0.4);
    font-family: Georgia, serif;
    margin-bottom: 20px;
}

.nxrev-quote-title {
    font-size: 22px;
    font-weight: 800;
    color: #f8fafc;
    margin: 12px 0;
}

.nxrev-quote-text {
    font-size: 16px;
    line-height: 1.8;
    color: #cbd5e1;
    font-style: italic;
    margin: 0 0 28px 0;
}

.nxrev-quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.nxrev-avatar-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #10b981;
}

.nxrev-author-details {
    text-align: left;
}

.nxrev-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #f8fafc;
}

.nxrev-verified-check {
    font-size: 12px;
    color: #10b981;
    margin-left: 6px;
    font-weight: 600;
}

.nxrev-author-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.nxrev-dot-sep {
    margin: 0 4px;
}

/* ==========================================================================
   Floating Social Proof Live Popups (Fomo)
   ========================================================================== */
.nxrev-social-proof-container {
    position: fixed;
    z-index: 99990;
    bottom: 24px;
    pointer-events: none;
}

.nxrev-social-proof-container.nxrev-pos-bottom-left {
    left: 24px;
}

.nxrev-social-proof-container.nxrev-pos-bottom-right {
    right: 24px;
}

.nxrev-social-proof-card {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 380px;
    position: relative;
    animation: nxrev-slide-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nxrev-popup-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.nxrev-popup-close:hover {
    color: #cbd5e1;
}

.nxrev-popup-media {
    position: relative;
    flex-shrink: 0;
}

.nxrev-popup-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #10b981;
}

.nxrev-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #0f172a;
}

.nxrev-popup-content {
    flex: 1;
    min-width: 0;
}

.nxrev-popup-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nxrev-popup-name {
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
}

.nxrev-popup-verified {
    font-size: 10px;
    color: #10b981;
    font-weight: 600;
}

.nxrev-popup-stars-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #fbbf24;
    margin: 2px 0;
}

.nxrev-popup-time {
    color: #64748b;
    font-size: 10px;
}

.nxrev-popup-tour {
    font-size: 11px;
    font-weight: 600;
    color: #38bdf8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nxrev-popup-text {
    margin: 2px 0 0 0;
    font-size: 11px;
    color: #cbd5e1;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Review Collector Form & Smart Sentiment Funnel
   ========================================================================== */
.nxrev-collector-box {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px;
    max-width: 680px;
    margin: 40px auto;
    color: #f1f5f9;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.4);
}

.nxrev-collector-header {
    text-align: center;
    margin-bottom: 28px;
}

.nxrev-collector-title {
    margin: 10px 0 6px 0;
    font-size: 24px;
    font-weight: 800;
    color: #f8fafc;
}

.nxrev-collector-sub {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}

.nxrev-rating-picker-wrap {
    text-align: center;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.nxrev-star-picker {
    display: inline-flex;
    gap: 8px;
    cursor: pointer;
    font-size: 38px;
    color: #fbbf24;
    user-select: none;
}

.nxrev-picker-star {
    transition: transform 0.15s;
}

.nxrev-picker-star:hover {
    transform: scale(1.2);
}

.nxrev-picker-star.inactive {
    color: #475569;
}

.nxrev-rating-label {
    font-size: 14px;
    font-weight: 700;
    color: #fbbf24;
    margin-top: 6px;
}

.nxrev-nps-scale {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.nxrev-nps-opt {
    flex: 1;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s;
}

.nxrev-nps-opt input {
    display: none;
}

.nxrev-nps-opt.selected, .nxrev-nps-opt:hover {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.nxrev-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nxrev-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.2s;
}

.nxrev-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.55);
}

/* Funnel Screens */
.nxrev-funnel-screen {
    text-align: center;
    padding: 30px 10px;
    animation: nxrev-fade-in 0.4s ease;
}

.nxrev-funnel-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.nxrev-funnel-heading {
    font-size: 22px;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 10px 0;
}

.nxrev-funnel-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 24px auto;
}

.nxrev-funnel-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.nxrev-btn-external {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.nxrev-btn-external.google {
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nxrev-btn-external.tripadvisor {
    background: #00AA6C;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 170, 108, 0.3);
}

.nxrev-btn-external:hover {
    transform: translateY(-2px);
}

/* Animations */
@keyframes nxrev-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes nxrev-slide-right {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes nxrev-bounce-in {
    0% { transform: scale(0.6); opacity: 0; }
    80% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes nxrev-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
    .nxrev-slide { flex: 0 0 calc(50% - 12px); }
    .nxrev-grid-items { grid-template-columns: repeat(2, 1fr); }
    .nxrev-summary-widget { grid-template-columns: 1fr; text-align: center; }
    .nxrev-sum-bars { margin: 16px 0; }
}

@media (max-width: 600px) {
    .nxrev-slide { flex: 0 0 100%; margin-right: 0; }
    .nxrev-grid-items { grid-template-columns: 1fr; }
    .nxrev-grid-2 { grid-template-columns: 1fr; }
    .nxrev-hide-mobile { display: none !important; }
}

/* ==========================================================================
   Advanced Feature: AI Topic Filter Pills
   ========================================================================== */
.nxrev-topic-pills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.nxrev-topic-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nxrev-topic-pill:hover, .nxrev-topic-pill.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #34d399;
}

/* ==========================================================================
   Advanced Feature: Video Testimonial Overlay & Badge
   ========================================================================== */
.nxrev-avatar-wrap {
    position: relative;
    display: inline-block;
}

.nxrev-avatar-video-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.nxrev-video-cta-wrap {
    margin: 12px 0 6px 0;
}

.nxrev-video-play-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.3) 100%);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.nxrev-video-play-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.nxrev-play-icon {
    font-size: 11px;
}

/* Universal Video Lightbox Modal */
.nxrev-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nxrev-video-box {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nxrev-video-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    z-index: 10;
}

.nxrev-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.nxrev-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Advanced Feature: Helpful Voting & Social Share
   ========================================================================== */
.nxrev-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nxrev-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nxrev-helpful-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.nxrev-helpful-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #34d399;
}

.nxrev-helpful-btn.voted, .nxrev-helpful-btn.already-voted {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #34d399;
    cursor: default;
}

.nxrev-share-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.nxrev-share-btn:hover {
    background: #38bdf8;
    color: #fff;
    border-color: #38bdf8;
}

.nxrev-expand-btn, .nxrev-collapse-btn {
    background: none;
    border: none;
    color: #38bdf8;
    font-weight: 600;
    font-size: 12px;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

/* ==========================================================================
   Topic Highlights Filter Pills & WooCommerce Tour Tab Styling
   ========================================================================== */
.nxrev-topic-pills-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 16px 0 24px 0;
    padding-bottom: 4px;
}

.nxrev-topic-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.nxrev-topic-pill:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.nxrev-topic-pill.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.35) 100%);
    border-color: #10b981;
    color: #34d399;
    box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.3);
}

/* Light theme support for topic pills */
.nxrev-theme-light .nxrev-topic-pill {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}
.nxrev-theme-light .nxrev-topic-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.nxrev-theme-light .nxrev-topic-pill.active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

/* WooCommerce Tab & Section Custom Styles */
.nxrev-wc-product-reviews-wrap {
    width: 100%;
    margin: 15px 0;
    box-sizing: border-box;
}

.nxrev-wc-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nxrev-wc-title {
    margin: 8px 0 4px 0;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.nxrev-wc-sub {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
}

.nxrev-toggle-collector {
    cursor: pointer;
    border: none;
    outline: none;
}


