/* Home review surfaces (1.7) — trust banner + recent-reviews carousel.
   Loaded only on the home template to avoid pulling carousel styles
   into every page. */

/* --- Trust banner --- */

.site-trust-banner-wrapper {
  background: #1c1917;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  gap: 4px;
}

.site-trust-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  background: transparent;
  color: #fef3c7;
  text-decoration: none;
  font-size: 14px;
  flex-wrap: wrap;
}

.site-trust-banner:hover,
.site-trust-banner:focus {
  background: #292524;
  text-decoration: none;
}

.site-trust-banner__stars {
  display: inline-flex;
  gap: 1px;
  font-size: 18px;
  line-height: 1;
}

.site-trust-banner__star {
  color: #57534e;
}

.site-trust-banner__star.on {
  color: #f59e0b;
}

.site-trust-banner__text {
  color: #fef3c7;
}

.site-trust-banner__text strong {
  color: #fff;
  font-weight: 700;
}

.site-trust-banner__cta {
  color: #fdba74;
  font-weight: 500;
}

.site-trust-banner__methodology {
  font-size: 12px;
}

/* --- Recent-reviews carousel --- */

.home-review-carousel {
  margin: 48px auto;
  padding: 0 24px;
  max-width: 1200px;
}

.home-review-carousel__head {
  text-align: center;
  margin-bottom: 24px;
}

.home-review-carousel__title {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #1c1917;
}

.home-review-carousel__subtitle {
  font-size: 15px;
  color: #78716c;
  margin: 0;
}

.home-review-carousel__viewport {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.home-review-carousel__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 220px;
}

.home-review-carousel__slide {
  flex: 0 0 100%;
  padding: 0 8px;
  box-sizing: border-box;
  display: none;
}

.home-review-carousel__slide[data-active="true"] {
  display: block;
}

.home-review-carousel__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.home-review-carousel__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.home-review-carousel__stars {
  display: inline-flex;
  gap: 1px;
  font-size: 16px;
}

.home-review-carousel__stars .star {
  color: #c4c4c4;
}

.home-review-carousel__stars .star.on {
  color: #f59e0b;
}

.home-review-carousel__verified {
  font-size: 11px;
  background: #ecfdf5;
  color: #047857;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
}

.home-review-carousel__body {
  font-size: 15px;
  line-height: 1.5;
  color: #292524;
  margin: 0;
  flex: 1;
}

.home-review-carousel__card-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed #e7e5e4;
}

.home-review-carousel__author {
  color: #57534e;
  font-size: 13px;
}

.home-review-carousel__author strong {
  color: #1c1917;
  font-weight: 600;
}

.home-review-carousel__date {
  color: #a8a29e;
}

.home-review-carousel__product-link {
  color: #c2410c;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.home-review-carousel__product-link:hover {
  text-decoration: underline;
}

.home-review-carousel__nav {
  flex: 0 0 40px;
  width: 40px;
  background: #fff;
  border: 1px solid #d6d3d1;
  border-radius: 50%;
  font-size: 24px;
  color: #57534e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 40px;
}

.home-review-carousel__nav:hover {
  background: #fafaf9;
  border-color: #a8a29e;
}

.home-review-carousel__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.home-review-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d3d1;
  cursor: pointer;
  transition: background-color 0.2s;
}

.home-review-carousel__dot.on {
  background: #c2410c;
}
