.cm-content .cm-catalog-template .catalog-products .find-course-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media only screen and (min-width: 992px) {
  .cm-content .cm-catalog-template .catalog-products .find-course-container {
    flex-direction: row;
  }
}

.cm-content .cm-catalog-template .cm_left_menu {
  width: 100%;
}

@media only screen and (min-width: 992px) {
  .cm-content .cm-catalog-template .cm_left_menu {
    min-width: 300px;
  }
}

.cm-content .cm-catalog-template .cm_left_menu fieldset {
  border: none;
  padding: 0;
}

.cm-catalog-template .cm_left_menu .cm-faceted-search-remove-all {
  margin-top: 20px;
}

.cm-catalog-template .cm_left_menu .cm-faceted-search-filter-block-side-title {
  width: 100%;
  color: var(--dark-purple);
  border-bottom: 1px solid var(--medium-neutral);
  margin-top: 20px;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.cm-catalog-template .cm_left_menu > h4 {
  margin-bottom: 10px;
}

.cm-catalog-template .cm_left_menu .cm_facet_total_found {
  margin-bottom: 0;
}

.cm-catalog-template .cm_left_menu .cm_uncheck_filter_container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cm-catalog-template .cm_left_menu .cm_uncheck_filter_class {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  width: fit-content;
  background-color: var(--medium-neutral);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 24px;
}

.cm-catalog-template .cm_left_menu .cm_uncheck_filter_class::before {
  position: absolute;
  content: "";
  display: block;
  width: 8px;
  height: 24px;
  background-image: url(../../images/icons/filter-tag-left.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  left: -8px;
}

.cm-catalog-template .cm_left_menu .cm_uncheck_filter_class::after {
  position: absolute;
  content: "";
  display: block;
  width: 8px;
  height: 24px;
  background-image: url(../../images/icons/filter-tag-right.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  right: -8px;
}

.cm-catalog-template .cm_left_menu .cm_uncheck_filter_class .cm-facet-remove {
  display: block;
  width: 12px;
  height: 12px;
  background-image: url(../../images/icons/filter-remove-icon.svg);
}

.cm-catalog-template .cm_left_menu .filter-checkbox {
  margin-bottom: 0.5em;
}

.cm-content .cm-catalog-template .site-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media only screen and (min-width: 992px) {
  .cm-content .cm-catalog-template .site-section {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media only screen and (min-width: 1440px) {
  .cm-content .cm-catalog-template .site-section {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
  }
}

.cm-content .cm-catalog-template .product-block {
  display: flex;
  flex-direction: column;
  background-color: var(--light-neutral);
  padding: 16px 24px;
}

.cm-content .cm-catalog-template .product-block .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cm-content .cm-catalog-template .product-image img {
  min-width: 250px;
}

.cm-content .cm-catalog-template .product-block .product-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cm-content .cm-catalog-template .product-block .text-link {
  height: 100%;
  display: grid;
  grid-template-rows: min-content min-content min-content;
}

@media only screen and (min-width: 992px) {
  .cm-content .cm-catalog-template .product-block .text-link {
    grid-template-rows: 0.8fr min-content 1fr;
  }
}

.cm-content .cm-catalog-template .product-block .extra-product-type-info {
  margin-top: auto;
}

.cm-content .cm-catalog-template .product-block .product-title {
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  border-bottom: 1px solid var(--dark-neutral);
}

.cm-content .cm-catalog-template .product-block .product-title a {
  font-family: var(--regular-font);
  text-decoration: none;
}

.cm-content .cm-catalog-template .product-block .extra-product-info {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: center;
}

.cm-content .cm-catalog-template .product-block .extra-product-info > div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  min-height: 28px;
  width: fit-content;
  background-color: var(--bright-blue);
  z-index: 0;
}

.cm-catalog-template .product-block .extra-product-info > div::before {
  position: absolute;
  content: "";
  display: block;
  width: 32px;
  height: 28px;
  background-image: url(../../images/icons/tag-item-left.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  left: -8px;
  z-index: -1;
}

.cm-catalog-template .product-block .extra-product-info > div::after {
  position: absolute;
  content: "";
  display: block;
  width: 27px;
  height: 28px;
  background-image: url(../../images/icons/tag-item-right.svg);
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  right: -8px;
  z-index: -1;
}

.cm-content .cm-catalog-template .product-block .product-text {
  text-align: center;
  margin-bottom: 1rem;
}

.cm-content .cm-catalog-template .product-block .product-text p:last-child {
  margin-bottom: 0;
}

.cm-content .cm-catalog-template .product-block .product-cart-add {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 1rem 0;
}

.cm-content .cm-catalog-template .product-block .product-cart-add p {
  margin-bottom: 0;
}

.cm-content .cm-catalog-template .product-block .view-courses .button {
  margin-bottom: 0;
  width: 100%;
}

.cm-content .cm-catalog-template .product-block .view-courses .button::after {
  position: relative;
  right: 0;
}
