/* ==========================================================================
   HNT REVIEW CAROUSEL CSS (họ hàng với lise-1 & lise-2)
   ========================================================================== */

.hnt-w-lise-3-review-section {
  --hnt-w-lise-3-primary-color: #6b0f1a;
  --hnt-w-lise-3-card-width: 420px;
  --hnt-w-lise-3-card-gap: 24px;

  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: "Inter", sans-serif;
}

.hnt-w-lise-3-review-section *,
.hnt-w-lise-3-review-section *::before,
.hnt-w-lise-3-review-section *::after {
  box-sizing: border-box;
}

.hnt-w-lise-3-review-section::-webkit-scrollbar,
.hnt-w-lise-3-carousel-outer::-webkit-scrollbar,
.hnt-w-lise-3-carousel-main-container::-webkit-scrollbar,
.hnt-w-lise-3-carousel-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.hnt-w-lise-3-carousel-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  cursor: grab;
  padding: 12px 0 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hnt-w-lise-3-carousel-outer:active {
  cursor: grabbing;
}

.hnt-w-lise-3-carousel-main-container {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hnt-w-lise-3-carousel-track {
  display: flex;
  gap: var(--hnt-w-lise-3-card-gap);
  padding-right: var(--hnt-w-lise-3-card-gap);
  flex-shrink: 0;
}

/* Card Review */
.hnt-w-lise-3-review-card {
  width: var(--hnt-w-lise-3-card-width);
  background-color: #ffffff;
  border-radius: 24px;
  padding: 24px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  user-select: none;
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  will-change: transform, opacity;
}

.hnt-w-lise-3-review-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Stars */
.hnt-w-lise-3-review-stars {
  display: flex;
  gap: 0;
  color: #eca338;
}

.hnt-w-lise-3-review-star {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  display: block;
}

/* Text */
.hnt-w-lise-3-review-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  margin: 0;
  color: #3e3e3e;
}

/* Author */
.hnt-w-lise-3-review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hnt-w-lise-3-review-avatar {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-width: 50px;
  max-height: 50px;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #f0f0f0;
  pointer-events: none;
}

.hnt-w-lise-3-review-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hnt-w-lise-3-review-name {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-style: italic;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.03em;
  margin: 0;
  color: #7a2e19;
}

.hnt-w-lise-3-review-date {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: rgba(109, 29, 14, 0.6);
}

/* Controls */
.hnt-w-lise-3-controls-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  opacity: 0;
  transform: translateY(16px);
  will-change: transform, opacity;
  padding-bottom: 20px;
}

.hnt-w-lise-3-segmented-indicators {
  width: 160px;
  height: 36px;
  border-radius: 9999px;
  padding: 6px 10px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  box-sizing: border-box;
}

.hnt-w-lise-3-indicator-bar {
  flex: 1;
  height: 4px;
  background-color: #c7c4bc;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  outline: none;
}

.hnt-w-lise-3-indicator-bar:hover,
.hnt-w-lise-3-indicator-bar:focus {
  background-color: #a8a59d;
}

.hnt-w-lise-3-indicator-bar.hnt-w-lise-3-active {
  background-color: var(--hnt-w-lise-3-primary-color, #6b0f1a);
}

.hnt-w-lise-3-nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hnt-w-lise-3-nav-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  border: none !important;
  background-color: var(--hnt-w-lise-3-primary-color, #6b0f1a);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none !important;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease;
}

.hnt-w-lise-3-nav-btn:hover,
.hnt-w-lise-3-nav-btn:focus {
  opacity: 0.9;
  background-color: var(--hnt-w-lise-3-primary-color, #6b0f1a);
}

.hnt-w-lise-3-nav-btn:active {
  transform: scale(0.92);
}

.hnt-w-lise-3-nav-btn svg {
  width: 11px;
  height: 8px;
  display: block;
  pointer-events: none;
}

.hnt-w-lise-3-nav-btn svg path {
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Responsive Mobile */
@media (max-width: 767px) {
  .hnt-w-lise-3-review-section {
    --hnt-w-lise-3-card-width: 300px !important;
    --hnt-w-lise-3-card-gap: 16px !important;
  }

  .hnt-w-lise-3-review-card {
    padding: 20px;
    gap: 20px;
  }

  .hnt-w-lise-3-review-body {
    gap: 20px;
  }

  .hnt-w-lise-3-review-text {
    font-size: 16px;
  }

  .hnt-w-lise-3-review-author {
    gap: 12px;
  }

  .hnt-w-lise-3-review-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  .hnt-w-lise-3-review-name {
    font-weight: 400;
    font-size: 20px;
  }

  .hnt-w-lise-3-review-date {
    font-size: 12px;
  }

  .hnt-w-lise-3-controls-wrapper {
    margin-top: 24px;
    justify-content: center;
  }
}
