#section-block-3 {
  display: flex;
  width: 100%;
  /* padding: 20px; */
  margin-top: 50px;
  justify-content: center;
  align-items: center;
}

.yellow-esistzeit {
    width: 90%;
    /* height: 1000px; */
    position: relative;
    background: linear-gradient(180deg, #eec638 0%, #e5af26 100%);
    display: flex;
    justify-content: center;
    isolation: isolate;
    align-items: center;
    overflow: hidden;
    border-radius: 40px;
}

.yellow-esistzeit>div {
  margin-top: 2%;
  margin-bottom: 4%;
}

.card-price-items-title {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}

@media (max-width: 600px) {
  .card-price-items-title {
    margin-top: 0px;
  }

  .card-price-items-title h2 {
    font-size: 26px !important;
  }
}

.yellow-esistzeit-content-review {
  gap: 0px !important;
}

@media (max-width: 600px) {
  .yellow-esistzeit-content-review {
    margin-top: 40px !important;
  }

  .yellow-esistzeit-content-review h2 {
    font-size: 24px !important;
    line-height: 32px !important;
    letter-spacing: -0.7px !important;
  }
}

.card-price-item {
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid rgba(221, 233, 248, 1);
  /* width: 260px; */
  /* height: 555px; */
  border-radius: 20px;
  box-shadow: 0px 15px 35px 0px rgba(103, 110, 118, 0.08),
    0px 5px 15px 0px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-top: 28px;
  padding-bottom: 28px;
  /* box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.12); */
  height: fit-content;
}

.yellow-esistzeit-sub {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: clamp(4px, 2.778vw, 67px);
}

@media (max-width: 1070px) {
  .yellow-esistzeit-sub {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(4px, 2.778vw, 67px);
  }
}

.yellow-esistzeit-sub .card-price-item {
  margin-top: 32px;
}

.yellow-esistzeit-sub {
  margin-top: 0px;
}

@media (max-width: 600px) {
  .yellow-esistzeit-sub .card-price-item {
    margin-top: 5%;
  }

  .yellow-esistzeit-sub {
    margin-top: 5%;
  }
}

.card-price-item-sub {
  width: 90%;
  height: 96%;
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.token-card-price-item-sub {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1070px) {
  .token-card-price-item-sub {
    flex-direction: row;
  }
}

.token-card-price-item {
  padding: 5px 10px 5px 10px;
  background: rgba(240, 248, 242, 1);
  border-radius: 6px;
  width: fit-content;
}

.col-prices-title {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

.col-prices-title-sub-p {
  padding: 10px;
  background: rgba(232, 240, 250, 1);
  border-radius: 6px;
}

.col-price-item {
  width: 100%;
  display: flex;
  /* flex-direction: row; */
  justify-content: center;
  align-items: center;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 5.88px;
  box-shadow: 0px 0.73px 0.73px 0px rgba(0, 0, 0, 0.12),
    0px 0px 0px 0.73px rgba(103, 110, 118, 0.16),
    0px 1.47px 3.67px 0px rgba(103, 110, 118, 0.08);
}

.col-prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

/* Добавляем стили для активного состояния и кнопки */
.col-price-item {
  cursor: pointer;
  transition: background-color 0.3s;
}

.col-price-item.active {
  background-color: #f7ce3b !important;
  border-radius: 4px;
}

/* Показываем кнопку когда есть активный элемент */
.card-price-item:has(.col-price-item.active) .custom-button-2 {
  display: flex;
}

.custom-button-2 {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 18px 26px;
  background-color: rgba(247, 206, 59, 1);
  border: none;
  border-radius: 100px;

  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: center;

  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12),
    0px 0px 1px rgba(103, 110, 118, 0.16), 0px 2px 5px rgba(103, 110, 118, 0.08);
}

.custom-button-2:hover {
  background-color: rgba(230, 190, 50, 1);
  transform: scale(1.05);
}

@media (max-width: 1070px) {
  .yellow-esistzeit {
    width: 100%;
    border-radius: 0;
  }

  .yellow-esistzeit-sub {
    grid-template-columns: 1fr 1fr;
  }

  .col-prices {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .yellow-esistzeit-sub {
    grid-template-columns: 1fr;
  }

  .col-prices {
    grid-template-columns: 1fr;
  }

  .yellow-esistzeit>div {
    margin-bottom: 8%;
  }
}

#reviews-section-main {
  /* width: 100%; */

  padding: 8.3334%;
  padding-top: 6%;
  padding-bottom: 5%
}

.reviews-section-main-sub {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.title-reviews p {
  font-weight: 600;
  font-size: 52px;
  line-height: 62.4px;
  letter-spacing: -3%;
}

.reviews-container {
  display: flex;
  align-items: center;
  position: relative;
}

/* Обертка для скролла */
.scroll-wrapper {
  width: 110%;
  /* overflow: hidden; */
  position: relative;
}

/* Контейнер с карточками */
.cards-reviews {
  display: flex;
  flex-direction: row;
  gap: 40px;

  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  /* Скрываем стандартный скролл (Firefox) */
  -ms-overflow-style: none;
  /* Скрываем стандартный скролл (IE/Edge) */
}

/* Скрываем скроллбар в WebKit (Chrome, Safari) */
.cards-reviews::-webkit-scrollbar {
  display: none;
}

/* Стили карточек */
.card-review {
  background: rgba(246, 247, 249, 1);
  width: 560px;
  height: 278px;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Кастомные кнопки */
.scroll-btn {
  /* background: rgba(0, 0, 0, 0.6); */
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  width: 56px;
  height: 56px;

  transform: translateY(-50%);
}

/* Левая кнопка */
.scroll-btn.left {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.12),
    0px 0px 0px 1px rgba(103, 110, 118, 0.16),
    0px 2px 5px 0px rgba(103, 110, 118, 0.08);
}

/* Правая кнопка */
.scroll-btn.right {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e5af26;
}

/* Кастомный скроллбар */
.custom-scrollbar {
  /* position: absolute; */
  /* bottom: -10px; */
  /* left: 0; */
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  cursor: pointer;
}

/* Ползунок (скролл) */
.custom-scroll-thumb {
  height: 3px;
  width: 273px;
  /* Будет динамически меняться */
  background: rgba(230, 190, 92, 1);

  border-radius: 3px;
  position: relative;
  cursor: grab;
}

.card-reiew-sub {
  width: 90%;
  height: 85%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.profile-photo-review {
  width: 62px;
  height: auto;
  border-radius: 50%;
}

.title-name-rev {
  display: flex;
  flex-direction: column;
}

.title-rev {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.h1-title-name-rev {
  font-weight: 600;
  font-size: 24px;
  line-height: 31.2px;
  letter-spacing: -3%;
}

.h10-title-name-rev {
  font-weight: 500;
  font-size: 18px;
  line-height: 25.2px;
  letter-spacing: -2%;
  color: rgba(144, 157, 162, 1);
}

.text-rev {
  width: 100%;
  word-wrap: break-word;
  overflow-y: auto;
}

.text-rev p {
  font-size: 16px !important;
}

.title-service-card {
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 24px);
  line-height: 31.2px;

  text-align: center;
}

@media (max-width: 770px) {
  .title-service-card {
    line-height: unset;
  }
}