.machine-page__catalog-subtitle {
  text-align: center;
}

.machine-page__section-reset {
  padding: 0;
}

.machine-page__category-wrapper {
  padding: 0;
  border-bottom: 0;
}

.machine-page__category-name-hidden {
  display: none;
}

.machine-page__reach {
  margin-top: 12px;
}

.category-descr--machine[class*="category-descr--cat-"] {
  height: 820px;
  display: flex;
  align-items: center;
}

@media (max-width: 767.98px) {
  .category-descr--machine[class*="category-descr--cat-"] {
    height: 620px;
  }
}

.clinic-benefits {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.benefit {
  display: flex;
  align-items: center;
  max-width: 320px;
  text-align: left;
  gap: 16px;
}

.clinic-title {
  font-size: 48px;
  text-align: center;
  font-weight: 500;
  padding: 0 18% 0 18%;
}

.clinic-subtitle {
  font-size: 24px;
  text-align: center;
  font-weight: 400;
}

.benefit img {
  width: 64px;
  height: 64px;
}

.benefit p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.clinic-button-wrap {
  text-align: center;
  margin-top: 24px;
}

.clinic-button {
  background-color: #ff6a00;
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  margin-top: 52px;
}

.clinic-description {
  max-width: 100%;
  text-align: center;
  font-size: 18px;
}

.banner-mobile {
  display: none;
}

.banner-desktop {
  display: block;
}

.filter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-label {
  font-weight: 500;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.02em;
  margin-right: 4px;
}

.filter-btn {
  background: none;
  border: 2px solid #FFFFFF;
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s;
}

.filter-btn:hover {
  background: #FFFFFF;
  color: #FF6E24;
}

.area-filter__btn {
  background: none;
  border: 2px solid #FFFFFF;
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s;
  font-size: 16px;
}

.area-filter__btn:hover {
  background: #FFFFFF;
  color: #FF6E24;
}

.area-filter__btn.is-active,
.area-filter__btn[aria-current="page"] {
  background: #fff;
  color: #FF6E24;
}

.area-filter__label {
  color: #fff;
  margin-right: 6px;
  font-size: 20px;
}

.pay-btn-desktop,
.cart-btn-mobile {
  background-color: #ff6a00;
  padding: 12px;
  border-radius: 10px;
  width: 90%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  margin: 12px auto 0;
  border: 2px solid #FF6E24;
  text-align: center;
}

.pay-btn-desktop {
  color: #fff;
  display: block;
  margin-top: auto;
}

.pay-btn-desktop--soon {
  background: #4a433f !important;
  border-color: #4a433f !important;
  color: #fff !important;
  pointer-events: none;
  cursor: default;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.catalog-title {
  font-size: 38px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.products__list-price {
  display: block;
  text-align: center;
  font-size: 28px;
  color: #fff;
  font-weight: 600;
  margin-top: 18px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.blockDop {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  line-height: 24px;
  justify-content: center;
}

.products__list-price--old {
  display: block;
  min-height: 24px;
  line-height: 24px;
}

.products__list-price--old strike {
  opacity: 0.7;
  font-size: 15px;
}

.products__list-price--old:empty::before {
  content: "\00a0";
}

.products__list-item {
  display: flex;
  flex-direction: column;
}

.products__list-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blockDop .products__list-price--soon {
  display: none !important;
}

.pay-btn-desktop {
  margin-top: auto;
}

@media (max-width: 768px) {
  .products__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0;
    margin: 0;
  }

  .products__list-item {
    margin: 5px 0;
    width: auto !important;
    margin-left: 0 !important;
  }

  .clinic-description {
    display: none;
  }

  .clinic-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    justify-items: center;
    align-items: start;
    margin: 24px 0;
  }

  .clinic-benefits .benefit:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .benefit {
    flex-direction: column;
    align-items: center;
    max-width: 180px;
    text-align: center;
  }

  .benefit img {
    width: 48px;
    height: 48px;
  }

  .benefit p {
    font-size: 14px;
    line-height: 1.3;
  }

  .benefit:nth-child(3) {
    flex-basis: 100%;
  }

  .clinic-button {
    font-size: 14px;
    padding: 14px 24px;
    width: auto;
    margin-top: 8px;
  }

  .clinic-button-wrap {
    padding: 0 16px;
  }

  .clinic-title {
    font-size: 24px;
    text-align: center;
    padding: 0;
  }

  .clinic-subtitle {
    font-size: 14px;
    text-align: center;
    margin-top: 16px;
  }

  .pay-btn-desktop {
    display: none !important;
  }

  .cart-btn-mobile {
    display: block !important;
    color: #FF6E24;
  }

  .filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 14px;
    min-width: max-content;
  }

  .area-filter__btn {
    white-space: nowrap;
    font-size: 14px;
    padding: 8px 14px;
    min-width: max-content;
  }

  .area-filter__label {
    display: none;
  }

  .products__list-title {
    font-size: 18px;
    text-align: center;
    color: #fff;
    padding: 8px 12px;
    font-weight: 500;
  }

  .products__list-price {
    display: block;
    text-align: center;
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    margin-top: 18px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .machine-page__reach,
  .machine-page__reach + div {
    color: #999;
  }

  .products__list-img-wrapper {
    text-align: center;
  }

  .products__list-img {
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
  }

  .products__list .products__list-price--old {
    display: none;
  }

  .products__list-item button[type="submit"],
  .cart-btn-mobile {
    position: static !important;
    margin: 12px auto 0;
    display: block;
    width: 90% !important;
    font-size: 14px;
    padding: 12px 0;
    background-color: #FF6E24;
    border: none;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .products__list-link {
    
    text-decoration: none;
    justify-content: space-between;
  }

  .cartbutton_buy {
    display: none !important;
  }

  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .catalog-title {
    font-size: 26px;
  }

  .blockDop {
    flex-direction: column;
    gap: 4px;
    min-height: auto;
    line-height: normal;
    justify-content: flex-start;
    align-items: center;
  }

  .products__list-price--old,
  .products__list-price--soon {
    font-size: 14px;
    line-height: 1.2;
  }

  .products__list-price--old:not(:empty) {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .banner-mobile {
    display: block;
  }

  .banner-desktop {
    display: none;
  }
}

@media (max-width: 460px) {
  .products__list-item {
    margin: 5px 0;
    width: auto !important;
    margin-left: 0 !important;
  }
}
