/**
 * Home page — Testimonials & Eco Features
 */

.home-testimonials-section,
.home-eco-features-section {
  position: relative;
  display: block;
  background: var(--color-surface, #fdfbf0);
}

.home-testimonials-section {
  clear: both;
  padding: 2.5rem 0 2rem;
  margin-top: 0;
  z-index: 1;
}

.home-eco-features-section {
  padding: 1.5rem 0 3.5rem;
}

.home-section-title.pageTitle {
  padding-bottom: 1.5rem;
}

.home-section-title h2 {
  font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary, #2e4b30);
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Testimonials card */
.home-testimonials-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  background: var(--color-surface-elevated, #ffffff);
  border: 1px solid var(--color-border-soft, #dddddd);
  border-radius: 28px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.06));
}

.home-testimonials-nav {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--color-border, #e2e2e2);
  border-radius: 50%;
  background: #f5f5f5;
  color: var(--color-text-muted, #5c5c5c);
  cursor: pointer;
  transition:
    background var(--duration-fast, 0.2s) var(--ease-out, ease),
    color var(--duration-fast, 0.2s) var(--ease-out, ease),
    border-color var(--duration-fast, 0.2s) var(--ease-out, ease);
}

.home-testimonials-nav:hover,
.home-testimonials-nav:focus-visible {
  background: var(--color-primary, #2e4b30);
  border-color: var(--color-primary, #2e4b30);
  color: #ffffff;
  outline: none;
}

.home-testimonial-slider {
  flex: 1 1 auto;
  min-width: 0;
}

.home-testimonial-slide {
  padding: 0 0.5rem;
}

.home-testimonial-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.home-testimonial-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-border-soft, #dddddd);
}

.home-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-testimonial-name {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary, #2e4b30);
}

.home-testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
  color: var(--color-text, #1a1a1a);
  font-size: 0.875rem;
}

.home-testimonial-heading {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary, #2e4b30);
}

.home-testimonial-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted, #5c5c5c);
}

/* Eco features grid */
.home-eco-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.home-eco-feature {
  text-align: center;
}

.home-eco-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  color: var(--color-primary, #2e4b30);
  font-size: 2rem;
  line-height: 1;
}

.home-eco-feature__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.home-eco-feature__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text, #1a1a1a);
}

.home-eco-feature__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text-muted, #5c5c5c);
}

@media (max-width: 991.98px) {
  .home-eco-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .home-testimonials-section {
    padding: 2rem 0 1.5rem;
  }

  .home-eco-features-section {
    padding: 1.25rem 0 2.75rem;
  }

  .home-testimonials-card {
    flex-direction: column;
    padding: 1.25rem 1rem 1rem;
    border-radius: 20px;
  }

  .home-testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .home-testimonials-prev {
    left: 0.65rem;
  }

  .home-testimonials-next {
    right: 0.65rem;
  }

  .home-testimonial-slider {
    width: 100%;
    padding: 0 2rem;
  }

  .home-eco-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 320px;
  }
}

/* ------------------------------------------------------------------ */
/* Spotted It? Shop It! — Reels carousel                              */
/* ------------------------------------------------------------------ */

.home-reels-section {
  position: relative;
  display: block;
  padding: 2.5rem 0 3rem;
  background: var(--color-surface, #fdfbf0);
}

.home-reels-carousel {
  position: relative;
  padding: 0 2.75rem;
}

.home-reels-nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border, #e2e2e2);
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-text-muted, #5c5c5c);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.06));
  cursor: pointer;
  transition:
    background var(--duration-fast, 0.2s) ease,
    color var(--duration-fast, 0.2s) ease,
    border-color var(--duration-fast, 0.2s) ease;
}

.home-reels-prev {
  left: 0;
}

.home-reels-next {
  right: 0;
}

.home-reels-nav:hover,
.home-reels-nav:focus-visible {
  background: var(--color-primary, #2e4b30);
  border-color: var(--color-primary, #2e4b30);
  color: #ffffff;
  outline: none;
}

.home-reels-slide {
  padding: 0 0.55rem;
}

.home-reels-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.home-reels-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000000;
  overflow: hidden;
}

.home-reels-card__video,
.home-reels-card__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000000;
}

.home-reels-card__oembed {
  width: 100%;
  height: 100%;
}

.home-reels-card__oembed iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  border: 0;
}

.home-reels-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  text-align: center;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(180deg, #2f7079 0%, #2e4b30 100%);
}

.home-reels-card__brand {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 42%;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.home-reels-card__brand img {
  display: block;
  max-width: 100%;
  max-height: 22px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.home-reels-card__product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 78px;
  padding: 0.85rem 0.9rem;
  text-decoration: none !important;
  background: rgba(18, 18, 18, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

a.home-reels-card__product:hover,
a.home-reels-card__product:focus-visible {
  background: rgba(47, 112, 121, 0.35);
  outline: none;
}

.home-reels-card__product-thumb {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 4px;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.home-reels-card__product-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-reels-card__product-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
}

.home-reels-slider .slick-list {
  overflow: visible;
}

.home-reels-slider .slick-track {
  display: flex;
  align-items: stretch;
}

.home-reels-slider .slick-slide {
  height: auto;
}

.home-reels-slider .slick-slide > div {
  height: 100%;
}

@media (max-width: 767.98px) {
  .home-reels-section {
    padding: 2rem 0 2.5rem;
  }

  .home-reels-carousel {
    padding: 0 2.25rem;
  }

  .home-reels-nav {
    width: 38px;
    height: 38px;
    top: 38%;
  }

  .home-reels-card__product-name {
    font-size: 0.95rem;
  }
}
