/**
 * Карточки тарифов (по одной на десктоп и мобильную версию). Кнопка «Acheter» — js/order-popup.js.
 */

.sidebarSide {
  background: white;
  border-radius: 20px;
  padding: 10px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  float: left;
  width: 23%;
  margin: 1%;
}

.sidebarSide.sidebarSide--mobile {
  display: none;
}

.price {
  text-align: center;
  margin-bottom: 25px;
}

.CouurseTitle {
  font-size: 1.5rem;
  color: #2c3e50;
  font-weight: 700;
}

.lessons-count {
  font-size: 1.2rem;
  color: #2c3e50;
  font-weight: 600;
}

.new-price {
  font-size: 1.4rem;
  color: #2c3e50;
  font-weight: 700;
}

.btn-primary {
  background: #134fa9;
  color: white;
  border: none;
  padding: 18px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  margin-bottom: 15px;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.course-features {
  list-style: none;
  margin-bottom: 20px;
}

.course-features li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  font-size: 0.95rem;
}

.course-features li::before {
  content: "•";
  color: #134fa9;
  position: absolute;
  left: 0;
}

/* Подпись «цена за занятие»; у тарифа без неё остаётся пустое место, чтобы карточки были одной высоты */
.price-per-lesson {
  color: #2c3e5082;
  font-size: 18px;
}

.price-per-lesson--hidden {
  visibility: hidden;
}

@media (max-width: 768px) {
  .sidebarSide.sidebarSide--desktop {
    display: none;
  }
  .sidebarSide.sidebarSide--mobile {
    display: block !important;
    float: none;
    width: 90%;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: auto;
    margin-bottom: 10%;
  }
  .course-features li {
    padding: 5px 0;
    padding-left: 25px;
    font-size: 1rem;
  }
  .btn-primary {
    padding: 13px 20px;
    font-size: 1rem;
  }
}
