.btn{
    border-radius: unset;
}
.invalid-feedback {
  color: red !important;
  margin-top: 5px !important;
  font-size: 12px;
}
svg.count-minus-js, svg.count-plus-js{
    cursor: pointer;
}
.mt{
    margin-top: 20px;
}
.mr{
    margin-right: 20px;
}
.out-line-red{
    box-shadow: 0 0 0 1px red;
}

/* Promo block: support service, not a course card — no hover/scale on block, only button is clickable */
/* Cross-browser: flexbox (WebKit, MS), gap fallback (Safari < 14.1), object-fit (-o- Opera), box-sizing/transform (-o- Opera) */
.catalog-promo {
  width: 100%;
  margin: 30px 0;
}

.catalog-promo-inner {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  border: 1px solid #E0E0E0;
  padding: 32px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  cursor: default;
}

/* gap fallback for Safari < 14.1: use margin on image */
.catalog-promo-inner .catalog-promo-image {
  margin-right: 24px;
}

@supports (gap: 1px) {
  .catalog-promo-inner {
    gap: 24px;
  }
  .catalog-promo-inner .catalog-promo-image {
    margin-right: 0;
  }
}

.catalog-promo-inner:hover {
  -webkit-transform: none;
  -moz-transform: none;
  -o-transform: none;
  transform: none;
}

/* Image: ~18% larger (200→236), fixed height, object-fit cover, 3:2 ratio */
.catalog-promo-image {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 236px;
  height: 157px;
  overflow: hidden;
}

.catalog-promo-image img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
}

.catalog-promo-content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  min-width: 0;
  -ms-flex-preferred-size: 0;
}

/* Title → description: 12–16px */
.catalog-promo-title {
  font-weight: bold;
  font-size: 22px;
  line-height: 1.4;
  color: #000;
  margin: 0 0 14px 0;
}

/* Description → list: 12px */
.catalog-promo-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 12px 0;
}

.catalog-promo-list {
  margin: 0 0 12px 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.catalog-promo-list li {
  margin-bottom: 4px;
}

/* List → Duration: 12px; Duration → price block: 24px */
.catalog-promo-duration {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 24px 0;
}

/* Price + button: one flex container, aligned; price next to button */
.catalog-promo-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: auto;
}

/* gap fallback for Safari < 14.1 */
.catalog-promo-bottom .btn {
  margin-left: 14px;
}

@supports (gap: 1px) {
  .catalog-promo-bottom {
    gap: 14px;
  }
  .catalog-promo-bottom .btn {
    margin-left: 0;
  }
}

/* Price not larger than course price (courses use 30px); From light, number semibold, "per session" smaller + opacity 0.7 */
.catalog-promo-price {
  font-size: 18px;
  line-height: 1.4;
}

.catalog-promo-price-from {
  font-weight: 400;
  color: #333;
}

.catalog-promo-price-value {
  font-weight: 600;
  color: #333;
}

.catalog-promo-price-secondary {
  font-weight: normal;
  font-size: 14px;
  color: #333;
  opacity: 0.7;
}

/* CTA: same height as BUY, width fit-content, aligned with price */
.catalog-promo-bottom .btn {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .catalog-promo-inner {
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 32px 20px;
  }

  .catalog-promo-inner .catalog-promo-image {
    margin-right: 0;
    margin-bottom: 20px;
  }

  @supports (gap: 1px) {
    .catalog-promo-inner {
      gap: 24px;
    }
    .catalog-promo-inner .catalog-promo-image {
      margin-bottom: 0;
    }
  }

  .catalog-promo-image {
    width: 100%;
    max-width: 280px;
    height: 140px;
    margin-left: auto;
    margin-right: auto;
  }

  .catalog-promo-bottom {
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }

  .catalog-promo-bottom .btn {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 14px;
  }

  @supports (gap: 1px) {
    .catalog-promo-bottom {
      gap: 14px;
    }
    .catalog-promo-bottom .btn {
      margin-top: 0;
    }
  }
}
