/**
 * Affichage des avis en front.
 *
 * @author    23 Juin
 * @copyright Since 2026 23 Juin
 * @license   Proprietary
 */

.vtj-rating {
  display: inline-flex;
  gap: 1px;
  line-height: 1;
  white-space: nowrap;
}

.vtj-star {
  color: #d8d8d8;
}

.vtj-star-full {
  color: #f5a623;
}



.vtj-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: inherit;
  text-decoration: none;
}

.vtj-summary:hover {
  text-decoration: none;
}


.vtj-summary-centered {
  display: flex;
  justify-content: center;
  width: 100%;
}

.vtj-summary-count {
  font-size: 0.8125rem;
  color: #7a7a7a;
}



.vtj-reviews {
  scroll-margin-top: 1rem;
}

.vtj-reviews-header {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ebebeb;
}

.vtj-reviews-score {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 140px;
}

.vtj-score-value {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.vtj-score-count {
  font-size: 0.875rem;
  color: #7a7a7a;
}

.vtj-distribution {
  flex: 1 1 260px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.vtj-distribution a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.125rem 0;
  font-size: 0.8125rem;
  color: inherit;
  text-decoration: none;
}

.vtj-filter-active {
  font-weight: 700;
}

.vtj-filter-label {
  flex: 0 0 4.5rem;
}

.vtj-bar {
  flex: 1 1 auto;
  height: 8px;
  overflow: hidden;
  background: #ebebeb;
  border-radius: 4px;
}

.vtj-bar span {
  display: block;
  height: 100%;
  background: #f5a623;
}

.vtj-filter-count {
  flex: 0 0 2.5rem;
  text-align: right;
  color: #7a7a7a;
}

.vtj-active-filter,
.vtj-sort-note {
  font-size: 0.8125rem;
  color: #7a7a7a;
}



.vtj-review {
  padding: 1.25rem 0;
  border-bottom: 1px solid #ebebeb;
}

.vtj-review-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: baseline;
}

.vtj-review-title {
  margin: 0;
  font-size: 1rem;
}

.vtj-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.375rem 0 0.75rem;
  font-size: 0.8125rem;
  color: #7a7a7a;
}

.vtj-review-author {
  font-weight: 600;
  color: #333;
}

.vtj-verified {
  padding: 0.0625rem 0.5rem;
  color: #2c6e49;
  cursor: help;
  background: #e6f3ec;
  border-radius: 10px;
}

.vtj-review-criteria {
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #7a7a7a;
  list-style: none;
}

.vtj-review-content {
  line-height: 1.6;
}

.vtj-merchant-reply {
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  background: #f7f7f7;
  border-left: 3px solid #2f4f6f;
  border-radius: 0 4px 4px 0;
}

.vtj-merchant-reply-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.vtj-review-actions {
  margin: 0.75rem 0 0;
}

.vtj-report {
  padding: 0;
  font-size: 0.75rem;
  color: #7a7a7a;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: 0;
}



.vtj-pagination {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
}

.vtj-pagination-status {
  font-size: 0.8125rem;
  color: #7a7a7a;
}

.vtj-empty,
.vtj-legal {
  font-size: 0.875rem;
  color: #7a7a7a;
}

.vtj-reviews-list[aria-busy='true'] {
  opacity: 0.5;
}



.vtj-criterion {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.vtj-criterion legend {
  margin: 0 0 0.25rem;
  padding: 0;
  border: 0;
}


.vtj-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.vtj-stars input[type='radio'] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.vtj-stars label {
  margin: 0;
  padding: 0 0.1em;
  font-size: 1.75rem;
  line-height: 1;
  color: #d8d8d8;
  cursor: pointer;
}

.vtj-stars label::before {
  content: '\2605';
}

.vtj-stars input[type='radio']:checked ~ label,
.vtj-stars label:hover,
.vtj-stars label:hover ~ label {
  color: #f5a623;
}

.vtj-stars input[type='radio']:focus-visible + label {
  outline: 2px solid #2f4f6f;
  outline-offset: 2px;
}

.vtj-consent {
  padding: 1rem;
  background: #fff;
  border-radius: 4px;
}

.vtj-gdpr {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6c6c6c;
}


.vtj-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.vtj-free-review {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: #f7f7f7;
  border-radius: 4px;
}

.vtj-free-review-toggle {
  font-weight: 600;
  cursor: pointer;
}

.vtj-free-review-form {
  padding-top: 1rem;
}

.vtj-free-review-form .vtj-criterion legend {
  font-size: 0.9375rem;
}

.vtj-free-notice {
  margin: 0.75rem 0;
  font-size: 0.8125rem;
  color: #6c6c6c;
}



.vtj-modal {
  width: min(30rem, calc(100vw - 2rem));
  padding: 1.5rem;
  color: inherit;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 18%);
}

.vtj-modal::backdrop {
  background: rgb(0 0 0 / 45%);
}


.vtj-modal:not([open]) {
  display: none;
}

.vtj-modal-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.vtj-modal-intro {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #6c6c6c;
}


.vtj-modal-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
}

.vtj-modal textarea {
  width: 100%;
}

.vtj-modal-feedback {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.vtj-modal-success {
  color: #2c6e49;
}

.vtj-modal-error {
  color: #a4231f;
}

.vtj-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}



.vtj-free-review-open {
  margin-bottom: 1.5rem;
}


.vtj-free-review-modal {
  display: flex;
  flex-direction: column;
  width: min(40rem, calc(100vw - 2rem));
  max-height: min(44rem, calc(100vh - 3rem));
  padding: 0;
  overflow: hidden;
}

.vtj-free-review-modal .vtj-free-review-body,
.vtj-free-review-modal .vtj-free-review-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  
  min-height: 0;
}

.vtj-modal-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 1px solid #ececec;
}

.vtj-modal-header .vtj-modal-title {
  margin: 0;
}

.vtj-modal-close {
  flex: none;
  padding: 0 0.25rem;
  font-size: 1.5rem;
  line-height: 1;
  color: #6c6c6c;
  cursor: pointer;
  background: none;
  border: 0;
}

.vtj-modal-close:hover,
.vtj-modal-close:focus {
  color: #1a1a1a;
}

.vtj-free-review-modal .vtj-free-review-fields {
  flex: 1;
  min-height: 0;
  padding: 1rem 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}



.vtj-useful {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-right: 1rem;
}

.vtj-useful-label {
  color: #6c6c6c;
}

.vtj-useful-btn {
  padding: 0.125rem 0.625rem;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
}

.vtj-useful-btn:hover {
  border-color: #6c6c6c;
}


.vtj-useful-chosen {
  font-weight: 600;
  color: #2c6e49;
  border-color: #2c6e49;
}

.vtj-useful-count {
  margin-left: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.vtj-useful-count[hidden] {
  display: none;
}


.vtj-summary-under-title {
  display: inline-flex;
  margin: 0.25rem 0 0.75rem;
}



.vtj-free-review-product {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.vtj-free-review-thumb {
  flex: none;
  width: 5.625rem;
  height: auto;
  border: 1px solid #ececec;
  border-radius: 4px;
}


.vtj-free-review-identity {
  flex: 1 1 12rem;
  min-width: 0;
}

.vtj-free-review-name {
  margin: 0 0 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
}

.vtj-free-review-summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.875rem;
  color: #6c6c6c;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vtj-free-review-grades {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 0.5rem;
}

.vtj-free-review-grades .vtj-criterion {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  border: 0;
}

.vtj-free-review-grades legend {
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
}



.vtj-free-review-grid {
  display: grid;
  gap: 0 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vtj-free-review-wide {
  grid-column: 1 / -1;
}


abbr.vtj-required[title] {
  color: #a4231f;
  text-decoration: none;
  cursor: help;
  border: 0;
}

.vtj-required-legend {
  flex: 1;
  margin: 0;
  font-size: 0.8125rem;
  color: #6c6c6c;
  text-align: left;
}

@media (max-width: 575px) {
  .vtj-free-review-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vtj-free-review-grades .vtj-criterion {
    justify-content: flex-start;
  }
}

.vtj-free-review-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.25rem;
}


.vtj-free-review-modal .vtj-free-review-actions {
  flex: none;
  padding: 0.875rem 1.5rem;
  margin-top: 0;
  background: #fff;
  border-top: 1px solid #ececec;
}

.vtj-modal-title:focus {
  outline: none;
}

@media (max-width: 575px) {
  
  .vtj-free-review-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  
  .vtj-free-review-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .vtj-free-review-actions .btn {
    width: 100%;
  }

  .vtj-required-legend {
    flex: 1 0 100%;
    order: -3;
  }

  .vtj-free-review-actions .btn-primary {
    order: -2;
  }

  .vtj-free-review-actions .btn-secondary {
    order: -1;
  }
}



.vtj-google {
  margin: 2rem 0;
}

.vtj-google-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.vtj-google-heading {
  margin: 0;
  font-size: 1.25rem;
}


.vtj-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px rgba(16, 24, 40, 0.08);
}

a.vtj-google-badge:hover {
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08), 0 6px 16px rgba(16, 24, 40, 0.12);
}

.vtj-google-badge-logo {
  flex: 0 0 auto;
}

.vtj-google-badge-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.vtj-google-badge-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vtj-google-badge-score {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}

.vtj-google-badge .vtj-rating {
  font-size: 1.0625rem;
}

.vtj-google-badge-count {
  color: #667085;
  font-size: 0.8125rem;
  line-height: 1.2;
}




.vtj-google-badge--inline .vtj-google-badge-body {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.vtj-google-badge--inline .vtj-google-badge-score {
  font-size: 1.0625rem;
}

.vtj-google-badge--inline .vtj-google-badge-count {
  font-size: 0.875rem;
}


.vtj-google-badge--stacked {
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.875rem 1.25rem;
  text-align: center;
}

.vtj-google-badge--stacked .vtj-google-badge-body {
  align-items: center;
}

.vtj-google-badge--stacked .vtj-google-badge-line {
  flex-direction: column;
  gap: 0.25rem;
}

.vtj-google-badge--stacked .vtj-google-badge-score {
  font-size: 2rem;
}


.vtj-google-badge--plain {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

a.vtj-google-badge--plain:hover {
  box-shadow: none;
  text-decoration: none;
}

.vtj-google-badge--plain .vtj-google-badge-body {
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
}


.vtj-google-badge--banner {
  flex: 1 1 100%;
  justify-content: flex-start;
  padding: 0.75rem 1.125rem;
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: none;
}

.vtj-google-badge--banner .vtj-google-badge-body {
  flex: 1 1 auto;
  flex-direction: row;
  align-items: baseline;
  gap: 0.625rem;
}

.vtj-google-badge--banner .vtj-google-badge-count {
  margin-left: auto;
}


.vtj-carousel-track {
  display: flex;
  gap: 1rem;
  margin: 0;
  
  padding: 0.375rem 0 0.875rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  list-style: none;
  -webkit-overflow-scrolling: touch;
  
  scrollbar-width: thin;
}

.vtj-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.vtj-carousel-track::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #c7c7c7;
}


@media (hover: hover) and (pointer: fine) {
  .vtj-carousel-has-nav .vtj-carousel-track {
    scrollbar-width: none;
  }

  .vtj-carousel-has-nav .vtj-carousel-track::-webkit-scrollbar {
    display: none;
  }
}

.vtj-carousel-slide {
  flex: 0 0 min(20rem, 85%);
  scroll-snap-align: start;
}


.vtj-google-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.25rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px rgba(16, 24, 40, 0.08);
}

.vtj-google-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vtj-google-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  
  background: #f2f4f7;
}


.vtj-google-logo {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: flex-start;
}

.vtj-google-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f7;
  color: #667085;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
}

.vtj-google-author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}


.vtj-google-author a {
  color: inherit;
}

.vtj-google-date {
  color: #98a2b3;
  font-size: 0.8125rem;
  font-weight: 400;
}


.vtj-google-card .vtj-rating {
  gap: 2px;
  font-size: 1.125rem;
}


.vtj-google-content {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #475467;
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}


.vtj-google-source {
  margin-top: auto;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

.vtj-google-source:hover {
  text-decoration: underline;
}


.vtj-carousel-nav-group {
  display: flex;
  gap: 0.375rem;
  margin-left: auto;
}

.vtj-carousel-nav {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #fff;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.vtj-carousel-nav:hover:not([disabled]) {
  border-color: #c7c7c7;
}

.vtj-carousel-nav[disabled] {
  opacity: 0.35;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .vtj-carousel-track {
    scroll-behavior: auto;
  }
}



.vtj-shop-reviews {
  margin: 2rem 0;
}

.vtj-shop-reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.vtj-shop-reviews-heading {
  margin: 0;
  font-size: 1.25rem;
}

.vtj-shop-reviews-all {
  color: #667085;
  font-size: 0.875rem;
}

.vtj-shop-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 100%;
  padding: 1.25rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px rgba(16, 24, 40, 0.08);
}

.vtj-shop-card .vtj-rating {
  gap: 2px;
  font-size: 1.125rem;
}

.vtj-shop-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}


.vtj-shop-card-content {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #475467;
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.vtj-shop-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  color: #98a2b3;
}

.vtj-shop-card-author {
  color: #475467;
  font-weight: 600;
}


.vtj-shop-card-product {
  margin-top: auto;
  padding-top: 0.625rem;
  border-top: 1px solid #f2f4f7;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

.vtj-shop-card-product:hover {
  text-decoration: underline;
}


.vtj-shop-card-scope {
  color: #667085;
  font-weight: 500;
}



.vtj-scope-tabs {
  display: flex;
  gap: 1.5rem;
  margin: 0 0 1rem;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid #ebebeb;
  list-style: none;
}

.vtj-scope-tabs a {
  color: #7a7a7a;
  text-decoration: none;
}

.vtj-scope-tabs .vtj-scope-active {
  color: inherit;
  font-weight: 700;
}

.vtj-scope-count {
  color: #98a2b3;
  font-size: 0.8125rem;
}

.vtj-shop-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}
