html {
  --bg-light: rgba(161,167,179,.1);
  --primary: #2C9A54;
  scroll-padding-top: 195px;
  --text-muted-2: #A1A7B3;
}

.text-muted-2 {
  color: var(--text-muted-2) !important;
}

.button {
    display: inline-flex;;
}

.form__input {
    background-color: var(--input-bg, #fff);
}

.form__input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none' viewBox='0 0 12 7'%3E%3Cpath fill='%23202024' d='m11.354 1.354-5 5a.5.5 0 0 1-.708 0l-5-5a.5.5 0 0 1 .708-.708L6 5.293 10.646.646a.499.499 0 0 1 .816.162.502.502 0 0 1-.108.546Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.link-inherit {
  --link-inherit-hover-color: #005d4c;
  color: inherit;
  text-decoration: none;
}
.link-inherit:hover {
  color: var(--link-inherit-hover-color);
  text-decoration: none;
}

.b-link-more {
  color: var(--primary);
  text-decoration: none;
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 21'%3E%3Cpath d='M15.938 5.5v8.125a.938.938 0 0 1-1.875 0v-5.86l-8.4 8.398a.94.94 0 0 1-1.327-1.328l8.399-8.397h-5.86a.937.937 0 1 1 0-1.875h8.126a.937.937 0 0 1 .937.937'%3E%3C/path%3E%3C/svg%3E");
}
.b-link-more:hover {
  color: #005d4c;
  text-decoration: none;
}
.b-link-more::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
  font-weight: 400 !important;
  vertical-align: middle;
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: currentColor;
  -webkit-mask-position: center;
}

@media (min-width: 1280px) {
  .b-link-more {
    font-size: 18px;
  }
}

.block-form {
  padding: 32px 40px;
  background-color: var(--bg-light);
  border-radius: 20px;
}

.block-form__cols {
  display: flex;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.block-form__left {
  flex: 1 0 auto;
  max-width: 100%;
  width: 380px;
}

.block-form__right {
  flex: 2 1 auto;
  width: 60%;
}


.block-form__title {
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 12px;
}
.block-form__caption {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 32px;
}

.block-form__cols {
  display: flex;
}

@media (max-width: 767.98px) {
  .block-form__cols {
    flex-direction: column;
  }
  .block-form__left {
    max-width: 100%;
    width: 100%;
  }
  .block-form__right {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .block-form {
    padding: 24px 16px;
  }
  .block-form__title {
    font-size: 24px;
  }
  .block-form__caption {
    font-size: 16px;
  }
}


/*To do remake for standart accordion?*/
.accordion.accordion-styled {
  --bs-accordion-border-color: rgba(161,167,179,.3);
  --bs-accordion-active-bg: #fff;
  --bs-accordion-active-color: #000;
  --bs-accordion-btn-icon-width: 14px;
}
.accordion.accordion-styled .accordion-button {
  text-align: left;
  padding-right: 12px;
}
.accordion.accordion-styled .accordion-button::after {
  margin-left: auto;
  margin-right: 0; 
}
.accordion.accordion-styled-lg {
  --bs-accordion-btn-padding-x: 28px;
  --bs-accordion-btn-padding-y: 28px;
  --bs-accordion-body-padding-x: 28px;
  --bs-accordion-body-padding-y: 28px;
  --bs-accordion-border-radius: 12px;
  --bs-accordion-inner-border-radius: 12px;
}
.accordion.accordion-styled-lg .accordion-body {
  padding-top: 0;
}
.accordion.accordion-styled-lg .accordion-button {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}
.accordion.accordion-styled-lg .accordion-button:not(.collapsed) {
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .accordion.accordion-styled-lg {
    --bs-accordion-btn-padding-x: 16px;
    --bs-accordion-btn-padding-y: 16px;
    --bs-accordion-body-padding-x: 16px;
    --bs-accordion-body-padding-y: 16px;
    --bs-accordion-border-radius: 8px;
    --bs-accordion-inner-border-radius: 8px;
  }
  .accordion.accordion-styled-lg .accordion-button {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
  }
}

.accordion-styled-separate {
  --gutter-y: 8px;
}
.accordion-styled-separate.accordion-styled-lg {
  --gutter-y: 16px;
}
.accordion-styled-separate .accordion-item {
  border-radius: var(--bs-accordion-border-radius);
  overflow: hidden;
}
.accordion-styled-separate .accordion-item:not(:first-of-type) {
  margin-top: var(--gutter-y);
  border: 1px solid var(--bs-accordion-border-color);
}

.page-section {
  margin-top: 70px;
  margin-bottom: 70px;
}

.fs-text-content {
  font-size: 18px;
}

@media (max-width: 767.98px) {
  .fs-text-content {
    font-size: 16px;
  }
}


.p-last-margin-0 p:last-child, 
.p-last-margin-0 ul:last-child,
.p-last-margin-0 ol:last-child {
  margin-bottom: 0 !important;
}

.page-anchors-nav {
  margin-top: 36px;
  margin-bottom: 40px;
}
.page-anchors-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 52px;
  padding: 0;
}
.page-anchors-nav__item {
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 2px dashed var(--primary);
}
.page-anchors-nav__link {
  color: #5F6C7B;
  text-decoration: none;
}
.page-anchors-nav__link.active, .page-anchors-nav__link:hover {
  color: var(--primary);
}

@media (max-width: 767.98px) {
  .page-anchors-nav {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  .page-anchors-nav__list {
    gap: 16px 32px;
  }
  .page-anchors-nav__item {
    font-size: 18px;
  }
}

.b-age-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(246, 249, 252, 0.9);
  backdrop-filter: blur(5px);
  transition: opacity .15s linear;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}
.b-age-overlay.fading {
  opacity: 0;
}

.b-age-overlay__icon {
  width: 110px;
  max-width: 60%;
  aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='111' height='111' fill='none' viewBox='0 0 111 111'%3E%3Cpath fill='%23000' d='M73.18 63.16v-6.6h-6.04v-1.52h6.04v-6.48h1.72v6.48h6.16v1.52H74.9v6.6h-1.72ZM51.065 70.32c-1.28 0-2.507-.133-3.68-.4a9.765 9.765 0 0 1-3.08-1.36 6.689 6.689 0 0 1-2.16-2.4c-.507-.987-.76-2.2-.76-3.64 0-1.12.24-2.187.72-3.2a7.188 7.188 0 0 1 2.12-2.6c.933-.72 2.053-1.147 3.36-1.28-1.12-.293-2.054-.76-2.8-1.4a6.73 6.73 0 0 1-1.72-2.4c-.374-.933-.56-1.947-.56-3.04 0-1.253.24-2.333.72-3.24a6.514 6.514 0 0 1 1.92-2.24 8.432 8.432 0 0 1 2.76-1.28 11.88 11.88 0 0 1 3.24-.44c1.093 0 2.146.147 3.16.44 1.04.293 1.96.747 2.76 1.36a6.35 6.35 0 0 1 1.96 2.24c.48.907.72 1.96.72 3.16 0 1.093-.2 2.093-.6 3a5.881 5.881 0 0 1-1.72 2.32c-.774.64-1.774 1.12-3 1.44 1.44.16 2.626.6 3.56 1.32.96.72 1.666 1.6 2.12 2.64.48 1.013.72 2.08.72 3.2 0 1.413-.267 2.613-.8 3.6a6.898 6.898 0 0 1-2.2 2.44c-.907.613-1.947 1.067-3.12 1.36-1.147.267-2.36.4-3.64.4Zm.08-1.44c.986 0 1.946-.107 2.88-.32a8.304 8.304 0 0 0 2.6-1.04 5.633 5.633 0 0 0 1.84-1.96c.453-.8.68-1.787.68-2.96 0-1.547-.4-2.787-1.2-3.72-.8-.96-1.814-1.653-3.04-2.08a11.368 11.368 0 0 0-3.76-.64c-1.28 0-2.547.213-3.8.64-1.254.427-2.294 1.12-3.12 2.08-.8.933-1.2 2.173-1.2 3.72 0 1.173.226 2.16.68 2.96.48.8 1.106 1.453 1.88 1.96.773.48 1.64.827 2.6 1.04.986.213 1.973.32 2.96.32Zm.04-14.12c1.04 0 2.093-.213 3.16-.64 1.093-.427 2-1.067 2.72-1.92.746-.88 1.12-1.973 1.12-3.28 0-1.467-.347-2.64-1.04-3.52a5.7 5.7 0 0 0-2.6-1.92 9.068 9.068 0 0 0-3.4-.64c-1.174 0-2.307.2-3.4.6a5.681 5.681 0 0 0-2.64 1.88c-.694.853-1.04 2-1.04 3.44 0 1.387.346 2.533 1.04 3.44.693.88 1.586 1.533 2.68 1.96 1.093.4 2.226.6 3.4.6ZM32.88 70V45.92h-5.72v-1.16c1.28 0 2.347-.053 3.2-.16.854-.107 1.52-.373 2-.8.507-.427.827-1.12.96-2.08h1.28V70h-1.72Z'/%3E%3Cpath fill='%23000' d='M110 55.5C110 25.4 85.6 1 55.5 1S1 25.4 1 55.5 25.4 110 55.5 110v1C24.848 111 0 86.152 0 55.5S24.848 0 55.5 0 111 24.848 111 55.5 86.152 111 55.5 111v-1c30.1 0 54.5-24.4 54.5-54.5Z'/%3E%3C/svg%3E");
  background-size: contain;
}
.b-age-overlay__text {
  font-size: 16px;
  margin-top: 22px;
}

.slider_navigation-placeholder {
  min-height: 82px;
}

.slider_navigation-placeholder:not(.slider-inited .slider_navigation-placeholder) .swiper-pagination,
.slider_navigation-placeholder:not(.slider-inited .slider_navigation-placeholder) .swiper-button-prev,
.slider_navigation-placeholder:not(.slider-inited .slider_navigation-placeholder) .swiper-button-next {
  display: none;
}

.slider_navigation .swiper-pagination.swiper-pagination-lock,
.slider_navigation .swiper-button-lock.swiper-button-prev,
.slider_navigation .swiper-button-lock.swiper-button-next {
  display: none;
}

.slider-tabs-nav {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.slider-tabs-nav-item {
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #5F6C7B;
  font-size: 18px;
  font-weight: 500;
}
.slider-tabs-nav-item.active {
  color: var(--primary);
}

@media (max-width: 575.98px) {
  .slider-tabs-nav {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    gap: 16px;
  }
}


/*lightbox*/

body.lightbox-open {
  overflow: hidden;
}

.lightbox-swiper-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
}
.lightbox-swiper-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,.5);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}
.lightbox-swiper-close:after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M6.4 19L5 17.6l5.6-5.6L5 6.4L6.4 5l5.6 5.6L17.6 5L19 6.4L13.4 12l5.6 5.6l-1.4 1.4l-5.6-5.6z'/%3E%3C/svg%3E");
  background-size: contain;
}

.lightbox-swiper-backdrop {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: rgba(0,0,0,.8);
}

.lightbox-swiper-container {
  margin: 60px;
}

.lightbox-swiper-modal .lightbox-swiper-slide {
  height: calc(100vh - 120px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-swiper-slide-content {
  display: inline;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  flex: 0 1 auto;
  height: auto;
}

.lightbox-swiper-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-swiper-button-next {
  position: absolute;
  z-index: 10;
  top: 50%;
  right: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,.5);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}
.lightbox-swiper-button-next:after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m10 20l8-8l-8-8l-1.414 1.414L15.172 12l-6.586 6.586z'/%3E%3C/svg%3E");;
  background-size: contain;
}
.lightbox-swiper-button-next.swiper-button-lock {
  display: none;
}

.lightbox-swiper-button-prev {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,.5);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}
.lightbox-swiper-button-prev:after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m14 20l-8-8l8-8l1.414 1.414L8.828 12l6.586 6.586z'/%3E%3C/svg%3E");
  background-size: contain;
}
.lightbox-swiper-button-prev.swiper-button-lock {
  display: none;
}

@media (max-width: 767px) {
  .lightbox-swiper-close {
    top: 10px;
    right: 10px;
  }
  .lightbox-swiper-button-next,
  .lightbox-swiper-button-prev {
    display: none;
  }
  .lightbox-swiper-container {
    margin: 0;
  }
}

/*lightbox end*/

/*
--------
*/

.page-section .reviews {
  margin-top: 0;
  margin-bottom: 0;
}
.page-section .promotions {
  padding-top: 0;
  padding-bottom: 0;
}
.page-section .promotions .slider-overflow {
  overflow: hidden;
}
.page-section .section2 {
  padding-bottom: 0;
}

.b-works {
}
.b-works__item {
    padding: 28px 24px;
    background: #F6F9FC;
}
.b-works__slider {
  overflow: visible;
}
.b-works__slider.swiper {
  overflow: visible;
}
.b-works__slider:not(.swiper-initialized) {
  width: 33%;
  margin-left: 0;
}
.b-works__slider:not(.swiper-initialized) .swiper-wrapper {
  gap: 0 20px;
}

@media (max-width: 1199.98px) {
  .b-works__slider:not(.swiper-initialized) {
    width: 50%;
  }
}
@media (max-width: 575.98px) {
  .b-works__slider:not(.swiper-initialized) {
    width: 100%;
  }
}

.b-doctor-bnr {
  display: flex;
  background-color: var(--bg-light);
  border-radius: 20px;
}

.b-doctor-bnr__info {
  padding: 45px 32px;
  flex: 0 0 auto;
  max-width: Min(60%, 660px);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.b-doctor-bnr__picture {
  flex: 0 1 auto;
  width: 100%;
  max-width: 375px;
  height: auto;
  margin-top: 16px;
  align-self: end;
  text-align: center;
}

.b-doctor-bnr__picture-img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

.b-doctor-bnr__name {
  font-size: 32px;
  min-height: calc(32px * 1.2 * 2);
  line-height: 1.2;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
}

.b-doctor-bnr__params {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}
.b-doctor-bnr__param-label {
  max-width: 160px;
  font-size: 18px;
  font-weight: 600;
}
.b-doctor-bnr__bottom {
  margin-top: auto;
  padding-top: 32px;
}


@media (max-width: 991.98px) {
  .b-doctor-bnr__params {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (max-width: 767.98px) {
  .b-doctor-bnr {
    flex-direction: column;
  }
  .b-doctor-bnr__info {
    padding: 32px;
    max-width: 100%;
  }
  .b-doctor-bnr__picture {
    width: 100%;
    max-width: 320px;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
  }
  .b-doctor-bnr__name {
    font-size: 28px;
    min-height: initial;
  }
  .b-doctor-bnr__params {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 575.98px) {
  .b-doctor-bnr__info {
    padding: 24px;
  }
  .b-doctor-bnr__name {
    font-size: 24px;
  }
}

.p-doctor__socs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-doctor__socs .item-soc {
  flex: 0 0 auto;
}
.p-doctor__socs .item-soc svg, .p-doctor__socs .item-soc img {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.p-doctor__socs .item-soc-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(161,167,179,0.3);
}
.p-doctor__socs .item-soc-link:hover {
  background-color: var(--bg-light);
}

.b-price-list {
  font-size: 18px;  
}
.b-price-list-item__price {
  flex: 0 0 auto;
  text-align: right;
}
@media (max-width: 575.98px) {
  .b-price-list-item__price {
    text-align: left;
  }
}

.b-price-list-heading {
  color: #A1A7B3;
  display: flex;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--bs-border-color);
}
.b-price-list-item__name {
  flex: 1 1 auto;
}
.b-price-list-item {
  display: flex;
  gap: 16px;
  padding-bottom: 19px;
  padding-top: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--bs-border-color);
}
.b-price-list__bottom {
  padding-top: 16px;
}
.b-price-list__caption {
  font-size: 16px;
  color: #A1A7B3;
}
@media (max-width: 575.98px) {
  .b-price-list-item {
    flex-direction: column;
    gap: 8px;
  }
}

.b-share-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.b-share-inline__title {
  font-size: 16px;
  margin-right: 18px;
}

@media (max-width: 575.98px) {
  .b-share-inline__title {
    font-size: 14px;
  }
}


.custom-yashare-style .ya-share2__badge {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(161,167,179,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-yashare-style .ya-share2__badge:hover {
  opacity: 0.8;
}
.custom-yashare-style .ya-share2__item_service_vkontakte .ya-share2__badge {
  background: transparent;
}
.custom-yashare-style .ya-share2__item_service_vkontakte .ya-share2__badge .ya-share2__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath fill='%23202024' d='M13.84 9.45a3.843 3.843 0 0 0-2.085-1.114v-.08a3.026 3.026 0 0 0 1.423-1.178 3.295 3.295 0 0 0 .515-1.824 3.178 3.178 0 0 0-.374-1.561 2.71 2.71 0 0 0-1.13-1.082 4.534 4.534 0 0 0-1.498-.493A17.457 17.457 0 0 0 8.34 2H3.367v14h5.636a9.248 9.248 0 0 0 2.416-.263 4.957 4.957 0 0 0 1.744-.884c.451-.35.816-.796 1.069-1.308.274-.571.41-1.2.397-1.833a3.199 3.199 0 0 0-.788-2.262ZM9.936 6.775c-.123.247-.33.44-.586.544a2.04 2.04 0 0 1-.751.198c-.242.013-.665.019-1.27.019h-.444v-2.96h.246c.63 0 1.104.004 1.422.014.284.003.564.058.827.165.239.1.433.284.544.517.111.215.171.453.175.695.005.279-.05.554-.163.808Zm.827 5.788c-.16.277-.408.49-.704.607-.34.15-.707.237-1.079.254-.353.013-.99.019-1.91.019h-.188V9.935h.652c.63 0 1.133.004 1.508.014.3-.002.599.043.884.136.316.1.593.293.794.555.193.302.286.658.265 1.016a1.84 1.84 0 0 1-.222.907Z'/%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
}
.custom-yashare-style .ya-share2__item_service_telegram .ya-share2__badge {
  background: transparent;
}
.custom-yashare-style .ya-share2__item_service_telegram .ya-share2__badge .ya-share2__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath fill='%23202024' d='m.898 8.412 15.205-6.3s.553-.24.974-.016c.536.283.383.976.383.976l-1.803 11.977s-.069.748-.816.918c-.655.149-1.35-.246-1.35-.246l-5.27-3.6s-.304-.205-.268-.562c-.027-.33.295-.598.295-.598s4.745-4.553 4.922-4.783c.179-.231.362-.48.148-.686-.208-.194-.563.033-.563.033L6.18 9.929s-.523.374-1.076.514c-.638.185-1.278-.015-1.278-.015L.806 9.456S.52 9.338.52 8.97c0-.406.377-.558.377-.558Z'/%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
}

