/* ======================================
Testimonials Tabs Wrapper — CUSTOM STYLING
====================================== */

.akoca-testimonials-tabs-wrapper {
  width: 100%;
}

.akoca-testimonials-tabs-wrapper__title {
  text-align: center;
  margin-bottom: 24px;
}

.akoca-testimonials-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.akoca-testimonials-tab-button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 0;
  cursor: pointer;
  font: inherit;
  transition: all 0.2s ease;
  color: #fff;
  font-family: 'Solen';
  text-transform: uppercase;
}

.akoca-testimonials-tab-button.is-active {
  border-bottom-color: currentColor;
}

.akoca-testimonials-tab-panel {
  display: none;
}

.akoca-testimonials-tab-panel.is-active {
  display: block;
}

.akoca-testimonials-results {
  width: 100%;
}

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

.akoca-testimonial-card {
  height: 100%;
  min-width: 0;
}

.akoca-testimonial-card__inner {
  height: 100%;
  padding: 32px;
  border-radius: 24px;
  background: rgba(13, 27, 45, 0.60);
  box-shadow: 0 1px 14px 0 rgba(108, 144, 184, 0.30);
  backdrop-filter: blur(15px);
  box-sizing: border-box;
}

.akoca-testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.akoca-testimonial-card__avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3c6cff 0%, #1f5fff 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.akoca-testimonial-card__initial {
  display: block;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  font-family: 'Poppins';
}

.akoca-testimonial-card__meta {
  flex: 1;
  min-width: 0;
}

.akoca-testimonial-card__name {
  margin: 0 0 0px;
  padding-bottom: 0px;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  font-family: 'Poppins';
}

.akoca-testimonial-card__company {
  margin-bottom: 2px;
  font-size: 12px;
  opacity: 0.8;
  color: #6C8FB7;
}

.akoca-testimonial-stars {
  display: flex;
  gap: 2px;
  line-height: 1;
}

.akoca-testimonial-stars .star {
  font-size: 18px;
}

.akoca-testimonial-stars .star.filled {
  color: #f5c12f;
}

.akoca-testimonial-stars .star.empty {
  color: rgba(255, 255, 255, 0.3);
}

.akoca-testimonial-card__body p {
  margin: 0;
  color: #fff;
}

.akoca-testimonials-load-more-wrap {
  margin-top: 32px;
  text-align: center;
}

.akoca-testimonials-load-more {
  cursor: pointer;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
}

.akoca-testimonial-empty {
  text-align: center;
  padding: 30px 20px;
}

/** Testimonial Reviews Custom **/
.testimonial-reviews .akoca-testimonials-tabs-nav {
  justify-content: left;
}

.testimonial-reviews .akoca-testimonials-tab-button {
  font-family: 'Suck On My Daddy Beans All Caps' !important;
  color: #6C8FB7;
}

.testimonial-reviews .akoca-testimonials-tab-button.is-active {
  color: #ffffff;
}

@media (max-width: 980px) {
  .akoca-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .akoca-testimonials-tab-panel {
    overflow: hidden;
  }

  .akoca-testimonials-results {
    overflow: hidden;
    width: 100%;
  }

  .akoca-testimonials-tab-panel .akoca-testimonial-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
  }

  .akoca-testimonials-tab-panel .akoca-testimonial-grid::-webkit-scrollbar {
    display: none;
  }

  .akoca-testimonials-tab-panel .akoca-testimonial-grid > .akoca-testimonial-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .akoca-testimonial-card__inner {
    padding: 24px;
  }

  .akoca-testimonial-card__header {
    gap: 14px;
  }

  .akoca-testimonial-card__avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .akoca-testimonial-card__initial {
    font-size: 20px;
  }

  .akoca-testimonials-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
  }

  .akoca-testimonials-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(108, 143, 183, 0.35);
    transition: all 0.2s ease;
  }

  .akoca-testimonials-pagination-dot.is-active {
    background: #ffffff;
    transform: scale(1.1);
  }
}