
  /* ===================== */
  /* GLOBAL TYPOGRAPHY */
  /* ===================== */
  body,
  button,
  a,
  span,
  div {
    font-family: Inter, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  /* ===================== */
  /* FILTERS */
  /* ===================== */
  .reviews-controls {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
  }

  .filter-pill-group,
  .sort-pill-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .filter-pill,
  .sort-pill {
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    font-size: 14px;
    color: #1b1b1b;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 52px;
  }

  .filter-pill:hover,
  .sort-pill:hover {
    background: #f0f0f0;
  }

  .filter-pill.active,
  .sort-pill.active {
    background: #1b1b1b;
    color: #ffffff;
    border-color: #1b1b1b;
    font-weight: 500;
  }

  /* star icon inside filter pill */
  .filter-pill-star {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .filter-pill.active .filter-pill-star {
    filter: invert(1);
  }

  /* mobile: scroll orizzontale */
  @media (max-width: 767px) {
    .filter-pill-group,
    .sort-pill-group {
      overflow-x: auto;
      padding-bottom: 4px;
      -webkit-overflow-scrolling: touch;
      flex-wrap: nowrap;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .filter-pill-group::-webkit-scrollbar,
    .sort-pill-group::-webkit-scrollbar {
      display: none;
    }

    .filter-pill,
    .sort-pill {
      white-space: nowrap;
    }
  }

  /* ===================== */
  /* REVIEW CARD */
  /* ===================== */
  .review-card {
    background: #ffffff;
    border: 1px solid #dbdbdb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 26px;
    position: relative;
    transition: box-shadow 0.2s ease;
  }

  .review-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  }

  @media (max-width: 767px) {
    .review-card {
      padding: 16px;
    }
  }

  /* ===================== */
  /* STARS */
  /* ===================== */
  .review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
  }

  .review-stars img {
    width: 19px;
    height: 19px;
  }

  /* ===================== */
  /* VERIFIED BADGE */
  /* ===================== */
  .review-verified {
    position: absolute;
    top: 18px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .review-verified img {
    width: 18px;
    height: 18px;
  }

  .review-verified span {
    font-size: 15px;
    font-weight: 600;
    color: #1b1b1b;
  }

  @media (max-width: 767px) {
    .review-verified img {
      width: 16px;
      height: 16px;
    }

    .review-verified span {
      font-size: 13px;
    }
  }

  /* ===================== */
  /* TEXT & TYPOGRAPHY */
  /* ===================== */
  .review-title {
    font-size: 18px;
    font-weight: 500;
    color: #1b1b1b;
    margin-bottom: 8px;
  }

  @media (max-width: 767px) {
    .review-title {
      font-size: 17px;
    }
  }

  .review-text {
    font-size: 15px;
    color: #525252;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .review-footer {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .review-author {
    font-size: 14px;
    font-weight: 600;
    color: #a1a1a1;
  }

  .review-date {
    font-size: 14px;
    color: #a1a1a1;
  }

  /* ===================== */
  /* REPORT + SHARE ROW */
  /* ===================== */
  .review-actions {
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .review-report,
  .review-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #a1a1a1;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .review-report:hover,
  .review-share:hover {
    opacity: 0.7;
  }

  .review-report img,
  .review-share img {
    width: 15px;
    opacity: 0.75;
  }

  /* ===================== */
  /* NO REVIEWS BLOCK */
  /* ===================== */
  .no-reviews-box {
    width: 100%;
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 48px 20px;
    border-radius: 16px;
    text-align: center;
  }

  .no-reviews-text {
    font-size: 17px;
    color: #1b1b1b;
    margin-bottom: 24px;
  }

  .review-button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    width: 100%;
    margin: 0 auto;
    min-height: 44px;
    padding: 10px 20px;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1b1b1b;
    background-color: transparent;
    border: 1px solid #d4d4d4;
    border-radius: 200px;
    text-decoration: none;
    transition: background-color 0.25s ease;
  }

  .review-button:hover {
    background-color: #efefef;
  }

  .review-button img {
    width: 18px;
    height: 18px;
  }

  @media (max-width: 767px) {
    .review-button {
      max-width: none;
      width: 100%;
    }
  }

  /* ===================== */
  /* LOAD MORE BTN */
  /* ===================== */
  .load-more-reviews {
    margin: 8px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    width: 100%;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: #1b1b1b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
  }

  .load-more-reviews:hover {
    opacity: 0.9;
  }

  .load-more-reviews:active {
    transform: translateY(1px);
  }

  /* ===================== */
  /* MEDIA PREVIEW STRIP */
  /* ===================== */
  .review-media {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
  }

  .review-media-thumb {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #dbdbdb;
    background: #050505;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  /* distanza tra primo (main) e secondo */
  .review-media-thumb--main + .review-media-thumb {
    margin-left: -50px;
  }

  /* distanza tra tutte le altre thumb */
  .review-media-thumb + .review-media-thumb {
    margin-left: -50px;
  }

  /* primo thumb inclinato + ombra */
  .review-media-thumb--main {
    transform: rotate(-5deg);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  }

  /* gli altri dritti */
  .review-media-thumb--secondary {
    transform: none;
    box-shadow: none;
  }

  .review-media-thumb img,
  .review-media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
    pointer-events: none; /* il click resta sul container */
  }

  /* Zoom solo su immagini (non video con icona play) */
  .review-media-thumb img:hover {
    transform: scale(1.06);
  }

  .review-media-video-thumb {
    width: 100%;
    height: 100%;
    background: #050505;
    position: relative;
    overflow: hidden;
  }

  .review-media-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
  }

  .review-media-play-icon::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #000000;
    margin-left: 2px;
  }

  .review-media-thumb:hover .review-media-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ffffff;
  }

  /* ===================== */
  /* LIGHTBOX */
  /* ===================== */
  .review-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 12, 16, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    overscroll-behavior: contain;
    backdrop-filter: blur(4px);
  }

  .review-lightbox-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .review-lightbox-inner {
    position: relative;
    max-width: min(96vw, 720px);
    width: 100%;
    padding: 24px 56px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .review-lightbox-media-container {
    flex: 1;
    max-width: 640px;
    max-height: 80vh;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .review-lightbox-media {
    max-width: 100%;
    max-height: 100%;
    display: block;
  }

  .review-lightbox-media video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
  }

  .review-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: all 0.22s ease;
    backdrop-filter: blur(3px);
  }

  .review-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.08);
  }

  .review-lightbox-close svg {
    width: 18px;
    height: 18px;
  }

  .review-lightbox-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40;
    transition: all 0.22s ease;
    backdrop-filter: blur(3px);
  }

  .review-lightbox-prev,
  .review-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .review-lightbox-prev {
    left: 16px;
  }

  .review-lightbox-next {
    right: 16px;
  }

  .review-lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.1);
  }

  .review-lightbox-nav[disabled] {
    opacity: 0.35;
    cursor: default;
    transform: translateY(-50%);
  }

  .review-lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    z-index: 40;
    backdrop-filter: blur(3px);
  }

  @media (max-width: 767px) {
    .review-lightbox-inner {
      padding: 18px 20px;
    }

    .review-lightbox-media-container {
      max-height: 78vh;
      border-radius: 20px;
    }

    .review-lightbox-nav {
      width: 38px;
      height: 38px;
      font-size: 22px;
    }

    .review-lightbox-prev {
      left: 8px;
    }

    .review-lightbox-next {
      right: 8px;
    }

    .review-lightbox-close {
      top: 10px;
      right: 10px;
      width: 34px;
      height: 34px;
    }

    .review-lightbox-counter {
      bottom: 12px;
      font-size: 12px;
      padding: 5px 10px;
    }
  }

  /* ===================== */
  /* HINT FILTRI ATTIVI */
  /* ===================== */
  .reviews-active-hint {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
  }
