#xrv-reviews-widget {
  --xrv-bg: #f3f6fb;
  --xrv-surface: #ffffff;
  --xrv-surface-soft: #f8fafc;
  --xrv-text: #0f172a;
  --xrv-text-soft: #475569;
  --xrv-muted: #64748b;
  --xrv-border: #e2e8f0;
  --xrv-border-strong: #cbd5e1;
  --xrv-google: #4285f4;
  --xrv-trustpilot: #00b67a;
  --xrv-star: #f59e0b;
  --xrv-success-bg: #ecfdf5;
  --xrv-success-text: #047857;
  --xrv-shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.05);
  --xrv-shadow-md: 0 18px 40px rgba(15, 23, 42, 0.08);
  --xrv-radius-md: 18px;
  --xrv-radius-lg: 24px;
  --xrv-radius-xl: 28px;
  --xrv-container: 1200px;
  width: 100%;
  color: var(--xrv-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  isolation: isolate;
}

#xrv-reviews-widget,
#xrv-reviews-widget *,
#xrv-reviews-widget *::before,
#xrv-reviews-widget *::after {
  box-sizing: border-box;
  min-width: 0;
}

#xrv-reviews-widget img,
#xrv-reviews-widget svg {
  display: block;
  max-width: 100%;
  height: auto;
}

#xrv-reviews-widget button,
#xrv-reviews-widget select {
  font: inherit;
}

#xrv-reviews-widget .xrv-shell {
  width: min(var(--xrv-container), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 6vw, 72px);
  
}

#xrv-reviews-widget .xrv-header {
  max-width: 760px;
  margin: 0 auto clamp(28px, 5vw, 48px);
  text-align: center;
}

#xrv-reviews-widget .xrv-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--xrv-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--xrv-muted);
  font-size: clamp(0.8rem, 2vw, 0.92rem);
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(8px);
}

#xrv-reviews-widget .xrv-title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--xrv-text);
  text-wrap: balance;
}

#xrv-reviews-widget .xrv-subtitle {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  color: var(--xrv-text-soft);
  text-wrap: pretty;
}

#xrv-reviews-widget .xrv-trust-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(24px, 5vw, 44px);
}

#xrv-reviews-widget .xrv-trust-item {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--xrv-border);
  border-radius: var(--xrv-radius-xl);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--xrv-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#xrv-reviews-widget .xrv-trust-item::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
}

#xrv-reviews-widget .xrv-trust-item--google::after {
  background: linear-gradient(90deg, var(--xrv-google), rgba(66, 133, 244, 0.2));
}

#xrv-reviews-widget .xrv-trust-item--trustpilot::after {
  background: linear-gradient(90deg, var(--xrv-trustpilot), rgba(0, 182, 122, 0.2));
}

#xrv-reviews-widget .xrv-trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--xrv-shadow-md);
  border-color: var(--xrv-border-strong);
}

#xrv-reviews-widget .xrv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--xrv-surface-soft);
  border: 1px solid var(--xrv-border);
  color: var(--xrv-text-soft);
  font-size: clamp(0.75rem, 1.8vw, 0.84rem);
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
  white-space: normal;
}

#xrv-reviews-widget .xrv-logo-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 36px;
  margin-bottom: 18px;
}

#xrv-reviews-widget .xrv-logo {
  width: auto;
  height: clamp(24px, 4vw, 34px);
  object-fit: contain;
}

#xrv-reviews-widget .xrv-logo--trustpilot {
  filter: brightness(0) saturate(100%) invert(39%) sepia(99%) saturate(900%) hue-rotate(124deg) brightness(94%) contrast(102%);
}

#xrv-reviews-widget .xrv-score {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

#xrv-reviews-widget .xrv-score-value {
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.04em;
}

#xrv-reviews-widget .xrv-trust-item--google .xrv-score-value {
  color: var(--xrv-google);
}

#xrv-reviews-widget .xrv-trust-item--trustpilot .xrv-score-value {
  color: var(--xrv-trustpilot);
}

#xrv-reviews-widget .xrv-score-max {
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--xrv-muted);
  padding-bottom: 4px;
}

#xrv-reviews-widget .xrv-stars,
#xrv-reviews-widget .xrv-review-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}

#xrv-reviews-widget .xrv-stars {
  margin-bottom: 18px;
}

#xrv-reviews-widget .xrv-star {
  font-size: clamp(1rem, 3vw, 1.1rem);
  line-height: 1;
  color: #cbd5e1;
}

#xrv-reviews-widget .xrv-star.is-filled {
  color: var(--xrv-star);
}

#xrv-reviews-widget .xrv-star.is-half {
  position: relative;
  color: #cbd5e1;
}

#xrv-reviews-widget .xrv-star.is-half::before {
  content: "★";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: var(--xrv-star);
}

#xrv-reviews-widget .xrv-review-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--xrv-border);
}

#xrv-reviews-widget .xrv-stat {
  text-align: center;
  padding: 12px;
  border: 1px solid var(--xrv-border);
  border-radius: var(--xrv-radius-md);
  background: var(--xrv-surface-soft);
}

#xrv-reviews-widget .xrv-stat-value {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.08rem);
  font-weight: 700;
  color: var(--xrv-text);
  margin-bottom: 2px;
}

#xrv-reviews-widget .xrv-stat-label {
  display: block;
  font-size: clamp(0.72rem, 1.8vw, 0.76rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--xrv-muted);
}

#xrv-reviews-widget .xrv-cta-wrap {
  text-align: center;
  margin: clamp(22px, 4vw, 32px) 0 clamp(32px, 6vw, 52px);
}

#xrv-reviews-widget .xrv-cta {
  width: 100%;
  max-width: 420px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--xrv-text);
  border-radius: 999px;
  background: var(--xrv-text);
  color: #fff;
  font-size: clamp(0.95rem, 2vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

#xrv-reviews-widget .xrv-cta:hover {
  background: #fff;
  color: var(--xrv-text);
  transform: translateY(-2px);
}

#xrv-reviews-widget .xrv-cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

#xrv-reviews-widget .xrv-cta:hover svg {
  transform: translateX(3px);
}

#xrv-reviews-widget .xrv-global-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 clamp(24px, 4vw, 42px);
}

#xrv-reviews-widget .xrv-global-stat {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--xrv-border);
  border-radius: var(--xrv-radius-lg);
  padding: clamp(18px, 3vw, 26px) 18px;
  text-align: center;
  box-shadow: var(--xrv-shadow-sm);
}

#xrv-reviews-widget .xrv-global-stat-value {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  line-height: 1;
  color: var(--xrv-text);
  letter-spacing: -0.03em;
  font-weight: 700;
}

#xrv-reviews-widget .xrv-global-stat-label {
  color: var(--xrv-muted);
  font-size: clamp(0.8rem, 1.8vw, 0.92rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#xrv-reviews-widget .xrv-filters {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 22px;
}

#xrv-reviews-widget .xrv-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--xrv-border);
  border-radius: 999px;
  box-shadow: var(--xrv-shadow-sm);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

#xrv-reviews-widget .xrv-filter-group::-webkit-scrollbar {
  display: none;
}

#xrv-reviews-widget .xrv-filter-btn {
  border: none;
  background: transparent;
  color: var(--xrv-muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: clamp(0.84rem, 2vw, 0.92rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}

#xrv-reviews-widget .xrv-filter-btn:hover {
  color: var(--xrv-text);
  background: #f8fafc;
}

#xrv-reviews-widget .xrv-filter-btn.is-active {
  background: var(--xrv-text);
  color: #fff;
}

#xrv-reviews-widget .xrv-sort {
  width: 100%;
  padding: 12px 42px 12px 16px;
  border: 1px solid var(--xrv-border);
  border-radius: 999px;
  background-color: #fff;
  color: var(--xrv-text);
  font-size: 0.92rem;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  box-shadow: var(--xrv-shadow-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

#xrv-reviews-widget .xrv-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

#xrv-reviews-widget .xrv-review-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--xrv-border);
  border-radius: var(--xrv-radius-lg);
  padding: clamp(18px, 3vw, 24px);
  box-shadow: var(--xrv-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#xrv-reviews-widget .xrv-review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--xrv-shadow-md);
  border-color: var(--xrv-border-strong);
}

#xrv-reviews-widget .xrv-review-card.is-hidden {
  display: none;
}

#xrv-reviews-widget .xrv-review-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

#xrv-reviews-widget .xrv-review-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#xrv-reviews-widget .xrv-platform-icon {
  width: auto;
  height: 18px;
  flex-shrink: 0;
}

#xrv-reviews-widget .xrv-platform-name {
  font-size: clamp(0.88rem, 1.8vw, 0.93rem);
  font-weight: 700;
  color: var(--xrv-text-soft);
}

#xrv-reviews-widget .xrv-review-title {
  margin: 0 0 10px;
  font-size: clamp(1rem, 2vw, 1.06rem);
  font-weight: 700;
  color: var(--xrv-text);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

#xrv-reviews-widget .xrv-review-text {
  margin: 0;
  color: var(--xrv-text-soft);
  font-size: clamp(0.92rem, 2vw, 0.97rem);
  line-height: 1.7;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

#xrv-reviews-widget .xrv-review-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--xrv-border);
}

#xrv-reviews-widget .xrv-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #334155, #0f172a);
}

#xrv-reviews-widget .xrv-author-info {
  flex: 1 1 140px;
  min-width: 0;
}

#xrv-reviews-widget .xrv-author-name {
  display: block;
  font-weight: 700;
  color: var(--xrv-text);
  margin-bottom: 2px;
  overflow-wrap: break-word;
}

#xrv-reviews-widget .xrv-review-date {
  font-size: 0.84rem;
  color: var(--xrv-muted);
}

#xrv-reviews-widget .xrv-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--xrv-success-bg);
  color: var(--xrv-success-text);
  border: 1px solid #bbf7d0;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

#xrv-reviews-widget .xrv-note {
  margin-top: 8px;
  padding: clamp(16px, 3vw, 20px);
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--xrv-border);
  border-radius: var(--xrv-radius-lg);
  color: var(--xrv-text-soft);
  box-shadow: var(--xrv-shadow-sm);
}

#xrv-reviews-widget .xrv-note p {
  margin: 0;
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  #xrv-reviews-widget .xrv-review-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  #xrv-reviews-widget .xrv-global-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  #xrv-reviews-widget .xrv-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  #xrv-reviews-widget .xrv-shell {
    width: min(var(--xrv-container), calc(100% - 40px));
  }

  #xrv-reviews-widget .xrv-trust-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  #xrv-reviews-widget .xrv-filters {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #xrv-reviews-widget .xrv-filter-group {
    max-width: calc(100% - 220px);
  }

  #xrv-reviews-widget .xrv-sort {
    width: auto;
    min-width: 190px;
  }

  #xrv-reviews-widget .xrv-review-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  #xrv-reviews-widget .xrv-shell {
    width: min(var(--xrv-container), calc(100% - 48px));
  }

  #xrv-reviews-widget .xrv-global-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  #xrv-reviews-widget .xrv-reviews-grid {
    gap: 20px;
  }
}

@media (hover: none) {
  #xrv-reviews-widget .xrv-trust-item:hover,
  #xrv-reviews-widget .xrv-review-card:hover,
  #xrv-reviews-widget .xrv-cta:hover {
    transform: none;
  }

  #xrv-reviews-widget .xrv-cta:active {
    opacity: 0.9;
  }
}

@media (max-width: 380px) {
  #xrv-reviews-widget .xrv-shell {
    width: calc(100% - 20px);
  }

  #xrv-reviews-widget .xrv-cta {
    padding-inline: 16px;
  }

  #xrv-reviews-widget .xrv-badge {
    width: 100%;
  }
}





#xrv-reviews-widget .xrv-review-form-section {
  margin: 0 0 28px;
}

#xrv-reviews-widget .xrv-review-form-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--xrv-border);
  border-radius: var(--xrv-radius-xl);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--xrv-shadow-sm);
}

#xrv-reviews-widget .xrv-review-form-head {
  margin-bottom: 22px;
}

#xrv-reviews-widget .xrv-review-form-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--xrv-border);
  border-radius: 999px;
  background: var(--xrv-surface-soft);
  color: var(--xrv-muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

#xrv-reviews-widget .xrv-review-form-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.15;
  color: var(--xrv-text);
  letter-spacing: -0.02em;
}

#xrv-reviews-widget .xrv-review-form-text {
  margin: 0;
  color: var(--xrv-text-soft);
  font-size: 0.96rem;
}

#xrv-reviews-widget .xrv-review-form {
  display: block;
}

#xrv-reviews-widget .xrv-review-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

#xrv-reviews-widget .xrv-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

#xrv-reviews-widget .xrv-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--xrv-text);
}

#xrv-reviews-widget .xrv-input,
#xrv-reviews-widget .xrv-select,
#xrv-reviews-widget .xrv-textarea {
  width: 100%;
  border: 1px solid var(--xrv-border);
  border-radius: 14px;
  background: #fff;
  color: var(--xrv-text);
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#xrv-reviews-widget .xrv-input:focus,
#xrv-reviews-widget .xrv-select:focus,
#xrv-reviews-widget .xrv-textarea:focus {
  border-color: var(--xrv-border-strong);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

#xrv-reviews-widget .xrv-textarea {
  resize: vertical;
  min-height: 140px;
}

#xrv-reviews-widget .xrv-rating-input {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#xrv-reviews-widget .xrv-rating-option {
  position: relative;
}

#xrv-reviews-widget .xrv-rating-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#xrv-reviews-widget .xrv-rating-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--xrv-border);
  border-radius: 999px;
  background: #fff;
  color: var(--xrv-text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

#xrv-reviews-widget .xrv-rating-option input:checked + span {
  background: var(--xrv-text);
  color: #fff;
  border-color: var(--xrv-text);
}

#xrv-reviews-widget .xrv-field-checkbox {
  margin-top: 6px;
}

#xrv-reviews-widget .xrv-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--xrv-text-soft);
  font-size: 0.92rem;
  cursor: pointer;
}

#xrv-reviews-widget .xrv-checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
}

#xrv-reviews-widget .xrv-review-form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

#xrv-reviews-widget .xrv-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 22px;
  border: 1px solid var(--xrv-text);
  border-radius: 999px;
  background: var(--xrv-text);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

#xrv-reviews-widget .xrv-submit-btn:hover {
  background: #fff;
  color: var(--xrv-text);
}

#xrv-reviews-widget .xrv-form-note {
  margin: 0;
  color: var(--xrv-muted);
  font-size: 0.86rem;
}

#xrv-reviews-widget .xrv-form-feedback {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--xrv-success-text);
}

#xrv-reviews-widget .xrv-input.is-error,
#xrv-reviews-widget .xrv-select.is-error,
#xrv-reviews-widget .xrv-textarea.is-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

@media (min-width: 768px) {
  #xrv-reviews-widget .xrv-review-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #xrv-reviews-widget .xrv-review-form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}



#xrv-reviews-widget .xrv-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

#xrv-reviews-widget .xrv-cta-secondary {
  background: transparent;
  color: var(--xrv-text);
}

#xrv-reviews-widget .xrv-cta-secondary:hover {
  background: var(--xrv-text);
  color: #fff;
}





.xrv-site-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.xrv-main-logo {
  max-width: 180px;
  width: 170px;
  height: auto;
  display: block;
}




/* ====================================
   POPUPS
   ==================================== */

#xrv-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

.xrv-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    background: #fff;
    border-radius: var(--xrv-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.xrv-popup-content {
    max-height: 85vh;
    overflow-y: auto;
    padding: 0;
}

.xrv-popup-reviews-content {
    background: var(--xrv-bg);
}

.xrv-popup-reviews-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 20px 30px;
    border-bottom: 1px solid var(--xrv-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.xrv-popup-reviews-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--xrv-text);
}

.xrv-popup-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--xrv-muted);
    padding: 0 10px;
    transition: color 0.2s ease;
}

.xrv-popup-close:hover {
    color: var(--xrv-text);
}

.xrv-popup-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
}

@media (min-width: 768px) {
    .xrv-popup-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.xrv-popup-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-top: 1px solid var(--xrv-border);
    background: #fff;
}

.xrv-page-btn {
    padding: 8px 16px;
    border: 1px solid var(--xrv-border);
    border-radius: 999px;
    background: #fff;
    color: var(--xrv-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.xrv-page-btn:hover {
    background: var(--xrv-text);
    color: #fff;
    border-color: var(--xrv-text);
}

.xrv-page-info {
    color: var(--xrv-muted);
    font-size: 0.9rem;
}

.xrv-popup-loading {
    text-align: center;
    padding: 50px;
    color: var(--xrv-muted);
    font-size: 1.1rem;
}

.xrv-popup-error {
    text-align: center;
    padding: 50px;
    color: #dc2626;
    font-size: 1.1rem;
}

/* Formulaire popup */
.xrv-popup-form-content {
    max-width: 500px;
    margin: 0 auto;
}

.xrv-popup-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--xrv-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.xrv-popup-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.xrv-popup-body {
    padding: 30px;
}

.xrv-review-form .xrv-form-group {
    margin-bottom: 20px;
}

.xrv-review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--xrv-text);
}

.xrv-review-form input,
.xrv-review-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--xrv-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.xrv-review-form input:focus,
.xrv-review-form textarea:focus {
    outline: none;
    border-color: var(--xrv-text);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.xrv-review-form .xrv-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--xrv-text);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.xrv-review-form .xrv-submit-btn:hover {
    background: var(--xrv-google);
    transform: translateY(-2px);
}

.xrv-review-form .xrv-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.xrv-form-message {
    margin-top: 15px;
}

.xrv-form-message .error {
    color: #dc2626;
    font-size: 0.9rem;
    padding: 10px;
    background: #fee2e2;
    border-radius: 8px;
}

.xrv-form-message .info {
    color: var(--xrv-muted);
    font-size: 0.9rem;
    padding: 10px;
    background: var(--xrv-surface-soft);
    border-radius: 8px;
}

/* Message de succès */
.xrv-popup-success {
    text-align: center;
    padding: 40px 20px;
}

.xrv-success-icon {
    width: 60px;
    height: 60px;
    background: var(--xrv-success-bg);
    color: var(--xrv-success-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    border: 2px solid #bbf7d0;
}

.xrv-popup-success h3 {
    color: var(--xrv-success-text);
    margin-bottom: 10px;
}

.xrv-popup-success p {
    color: var(--xrv-text-soft);
    margin-bottom: 20px;
}

.xrv-popup-close-btn {
    padding: 10px 30px;
    background: var(--xrv-text);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.xrv-popup-close-btn:hover {
    background: var(--xrv-success-text);
}

/* Animation */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.xrv-popup {
    animation: popupFadeIn 0.3s ease;
}