/* ========== REVIEWS SECTION ========== */

.nt-reviews {
  padding: 60px 0;
}

.nt-reviews__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.nt-reviews__title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.nt-reviews__summary {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nt-reviews__summary-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nt-reviews__score {
  font-size: 28px;
  font-weight: 700;
}

.nt-reviews__stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Filled stars (summary + cards) */
.nt-reviews__stars .nt-star--full path,
.nt-review__rating .nt-star--full path {
  fill: #ff5a3c !important;
}

/* Empty stars */
.nt-reviews__stars .nt-star--empty path,
.nt-review__rating .nt-star--empty path {
  fill: #ddd !important;
}

/* Half star gradients */
.nt-star--half path {
  fill: url(#nt-half-star-big) !important;
}

.nt-star--half.nt-star-icon--small path {
  fill: url(#nt-half-star-small) !important;
}

.nt-star-icon {
  display: inline-block;
}

.nt-star-icon--small {
  width: 22px;
  height: 22px;
}

.nt-reviews__count {
  color: #666;
  font-size: 15px;
}

.nt-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bkntc_landing-page .nt-reviews__btn {
  border: 1px solid #ff5a3c !important;
}

/* Review card */

.nt-review {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.nt-review__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.nt-review__name {
  font-size: 16px;
  font-weight: 600;
}

.nt-review__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 10px;
}

.nt-review__text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.nt-reviews__footer {
  margin-top: 24px;
  text-align: center;
}

/* Load more button */

.nt-reviews__btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid #ff5a3c;
  background: #ffffff;
  font-size: 15px;
  font-weight: 500;
  color: #ff5a3c;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nt-reviews__btn:hover {
  background: #ff5a3c;
  color: #ffffff;
}

/* Responsive */

@media (max-width: 768px) {
  .nt-reviews__grid {
    grid-template-columns: 1fr;
  }

  .nt-reviews__header {
    align-items: flex-start;
  }
}

/* ========== FILTER SIDEBAR + AVATAR ========== */

/* Layout: filters + reviews side-by-side */
.nt-reviews__body {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

/* Sidebar box */
.nt-reviews__filters {
  flex: 0 0 220px;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
}

.nt-reviews__filters-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #444;
}

.nt-reviews__filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  cursor: pointer;
}

/* Right side content */
.nt-reviews__content {
  flex: 1;
}

/* Avatar initials */

.nt-review__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffe4dc; /* soft orange background */
  color: #ff5a3c; /* brand orange text */
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nt-review__meta-text {
  display: flex;
  flex-direction: column;
}

/* Star number + tiny star icon in filter */

.nt-reviews__filter-star {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  font-weight: 600;
  width: 34px;
  font-size: 18px;
}

.nt-reviews__filter-star .nt-filter-star-icon,
.nt-reviews__filter-star .nt-filter-star-icon path {
  fill: #ff5a3c !important;
}

/* Filter bars */

.nt-reviews__filter-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #f2f3f5;
  overflow: hidden;
}

.nt-reviews__filter-bar-fill {
  height: 100%;
  background: #000;
  border-radius: inherit;
}

.nt-reviews__filter-count {
  width: 16px;
  font-size: 12px;
  text-align: right;
  color: #666;
}

/* Disabled filters (row + content) */

.nt-reviews__filter-row input:disabled {
  cursor: not-allowed;
  opacity: 0.45 !important;
  background: #f5f5f5 !important;
  border-color: #ddd !important;
}

.nt-reviews__filter-row input:disabled + span,
.nt-reviews__filter-row input:disabled ~ * {
  opacity: 0.45 !important;
  pointer-events: none !important;
}

/* ========== CUSTOM CHECKBOXES ========== */

.nt-reviews__filter-row input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #ccc !important;
  background: #ffffff !important;
  cursor: pointer;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: none !important;
  outline: none !important;
}

/* Hover */
.nt-reviews__filter-row input[type="checkbox"]:hover:not(:disabled) {
  border-color: #ff5a3c !important;
}

/* Checked: soft background + orange tick */
.nt-reviews__filter-row input[type="checkbox"]:checked {
  background-color: #ffe4dc !important;
  border-color: #ff5a3c !important;
  /* orange tick via SVG background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ff5a3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 12px 12px !important;
}

@media (max-width: 1500px) {
  .nt-reviews {
    padding-top: 60px !important;
  }
}

@media (max-width: 1024px) {
  .nt-reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* RESPONSIVE: stack filters on mobile */

@media (max-width: 768px) {
  .nt-reviews__body {
    flex-direction: column;
  }

  .nt-reviews__filters {
    width: 100%;
  }
  .nt-reviews__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
  }
  .nt-reviews__body {
    gap: 16px;
  }
  .nt-reviews__content {
    width: 100%;
  }
}
