/**
 * Yiğit Efendi — Dinevo cloud-kitchen testimonial yapısı
 * Scoped: #ye-cafe-testimonials
 * Renkler: #01261a / #0a3d2a / #d4af37
 */
 #ye-cafe-testimonials.ye-cafe-testimonials {
  --ye-ink: #01261a;
  --ye-green: #0a3d2a;
  --ye-gold: #d4af37;
  --ye-cream: #f5f1e8;
  --ye-white: #ffffff;
  --ye-muted: rgba(1, 38, 26, 0.58);
  --ye-font: "Poppins", "Hanken Grotesk", system-ui, sans-serif;
  --ye-display: "Poppins", "Hanken Grotesk", system-ui, sans-serif;
  position: relative;
  overflow: hidden;
  background: var(--ye-white);
  padding: 80px 0 96px;
}

#ye-cafe-testimonials .ye-cafe-testimonials__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px 56px;
  margin-bottom: 56px;
  border-top: 1px solid rgba(1, 38, 26, 0.1);
  padding-top: 52px;
}

#ye-cafe-testimonials .ye-cafe-testimonials__title {
  margin: 0;
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  color: var(--ye-ink);
  font-family: var(--ye-display);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

#ye-cafe-testimonials .ye-cafe-testimonials__line {
  position: relative;
  display: inline-block;
}

#ye-cafe-testimonials .ye-cafe-testimonials__highlight {
  display: inline-block;
  color: var(--ye-gold);
  /* font-style: italic; */
  font-weight: 700;
}

#ye-cafe-testimonials .ye-cafe-testimonials__tag {
  position: absolute;
  display: inline-block;
  text-align: center;
  font-family: var(--ye-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  transform: rotate(-15deg);
  border-radius: 10px 0;
  white-space: nowrap;
}

#ye-cafe-testimonials .ye-cafe-testimonials__tag--top {
  background: var(--ye-gold);
  color: var(--ye-ink);
  top: -18px;
  left: -52px;
}

#ye-cafe-testimonials .ye-cafe-testimonials__tag--score {
  background: var(--ye-green);
  color: var(--ye-white);
  border-radius: 100px;
  bottom: 6px;
  right: -72px;
  transform: rotate(-12deg);
}

#ye-cafe-testimonials .ye-cafe-testimonials__lead {
  margin: 0;
  flex: 1 1 280px;
  max-width: 420px;
  font-family: var(--ye-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ye-muted);
  padding-bottom: 6px;
}

/* Slider — aynı anda 3 kart */
#ye-cafe-testimonials .ye-cafe-testimonials__slider-wrap {
  width: 100%;
  overflow: hidden;
  padding: 8px 0 4px;
}

#ye-cafe-testimonials .ye-cafe-testimonials__slider {
  overflow: hidden;
  padding: 4px 2px 12px;
}

#ye-cafe-testimonials .ye-cafe-testimonials__slider .swiper-wrapper {
  align-items: stretch;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

#ye-cafe-testimonials .ye-cafe-testimonials__slider .swiper-slide {
  width: auto;
  height: auto;
  box-sizing: border-box;
}

#ye-cafe-testimonials .ye-cafe-testimonials__item {
  height: 100%;
  padding: 40px 36px 36px;
  border-radius: 26px;
  border: 2px solid var(--ye-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  box-shadow: none;
  transition: transform 0.35s ease;
}

#ye-cafe-testimonials .ye-cafe-testimonials__item:hover {
  transform: translateY(-4px);
}

/* Altın kart */
#ye-cafe-testimonials .ye-cafe-testimonials__item--gold {
  background: var(--ye-gold);
}

#ye-cafe-testimonials .ye-cafe-testimonials__item--gold .ye-cafe-testimonials__stars li,
#ye-cafe-testimonials .ye-cafe-testimonials__item--gold .ye-cafe-testimonials__quote,
#ye-cafe-testimonials .ye-cafe-testimonials__item--gold .ye-cafe-testimonials__name {
  color: var(--ye-ink);
}

#ye-cafe-testimonials .ye-cafe-testimonials__item--gold .ye-cafe-testimonials__name span {
  color: rgba(1, 38, 26, 0.62);
}

/* Yeşil kart */
#ye-cafe-testimonials .ye-cafe-testimonials__item--green {
  background: var(--ye-green);
}

#ye-cafe-testimonials .ye-cafe-testimonials__item--green .ye-cafe-testimonials__stars li {
  color: var(--ye-gold);
}

#ye-cafe-testimonials .ye-cafe-testimonials__item--green .ye-cafe-testimonials__quote,
#ye-cafe-testimonials .ye-cafe-testimonials__item--green .ye-cafe-testimonials__name {
  color: var(--ye-white);
}

#ye-cafe-testimonials .ye-cafe-testimonials__item--green .ye-cafe-testimonials__name span {
  color: rgba(255, 255, 255, 0.72);
}

#ye-cafe-testimonials .ye-cafe-testimonials__header-block {
  flex-grow: 1;
}

#ye-cafe-testimonials .ye-cafe-testimonials__stars {
  margin-bottom: 26px;
}

#ye-cafe-testimonials .ye-cafe-testimonials__stars ul {
  display: flex;
  list-style: none;
  gap: 5px;
  padding: 0;
  margin: 0;
}

#ye-cafe-testimonials .ye-cafe-testimonials__stars li {
  line-height: 1;
  font-size: 16px;
}

#ye-cafe-testimonials .ye-cafe-testimonials__quote {
  margin: 0;
  font-family: var(--ye-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

#ye-cafe-testimonials .ye-cafe-testimonials__footer {
  margin-top: 56px;
  display: flex;
  align-items: center;
}

#ye-cafe-testimonials .ye-cafe-testimonials__name {
  margin: 0;
  font-family: var(--ye-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

#ye-cafe-testimonials .ye-cafe-testimonials__name span {
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0;
}

/* Fade */
#ye-cafe-testimonials .ye-fade-anim {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--ye-fade-delay, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--ye-fade-delay, 0s);
}

#ye-cafe-testimonials .ye-fade-anim[data-dir="bottom"] {
  transform: translateY(var(--ye-fade-dist, 36px));
}

#ye-cafe-testimonials .ye-fade-anim[data-dir="left"] {
  transform: translateX(calc(var(--ye-fade-dist, 36px) * -1));
}

#ye-cafe-testimonials .ye-fade-anim[data-dir="right"] {
  transform: translateX(var(--ye-fade-dist, 36px));
}

#ye-cafe-testimonials .ye-fade-anim.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1199.98px) {
  #ye-cafe-testimonials .ye-cafe-testimonials__item {
    min-height: 340px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__footer {
    margin-top: 40px;
  }
}

@media (max-width: 991.98px) {
  #ye-cafe-testimonials .ye-cafe-testimonials__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(26px, 6vw, 40px);
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__tag {
    display: none;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__lead {
    flex: none;
    max-width: 100%;
    width: 100%;
    font-size: 15px;
    line-height: 1.65;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__item {
    min-height: 0;
    padding: 28px 24px 24px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__stars {
    margin-bottom: 18px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__stars ul {
    justify-content: flex-start;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__footer {
    margin-top: 28px;
  }
}

@media (max-width: 767.98px) {
  #ye-cafe-testimonials.ye-cafe-testimonials {
    padding: 40px 0 48px;
    overflow: visible;
    scroll-margin-top: 96px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__header {
    margin-bottom: 20px;
    padding-top: 28px;
    gap: 12px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__title {
    font-size: clamp(22px, 6.5vw, 30px);
    line-height: 1.25;
    padding-top: 4px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__lead {
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 0;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__slider-wrap {
    padding: 0;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__slider {
    padding: 0;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__item {
    padding: 24px 20px 22px;
    min-height: 0;
    border-radius: 20px;
    justify-content: flex-start;
    gap: 20px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__stars {
    margin-bottom: 14px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__stars ul {
    justify-content: center;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__quote {
    font-size: 14px;
    line-height: 1.55;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__footer {
    margin-top: auto;
    padding-top: 8px;
  }

  #ye-cafe-testimonials .ye-cafe-testimonials__name {
    font-size: 14px;
    text-align: center;
    width: 100%;
  }
}
