/******************************************************************
Theme Name: fue-clinic
Theme URI: http://www.jointswp.com
Description: 
Author: Your Name Here
Author URI: http://www.yoururlhere.com
Version: 5.1
License: GNU General Public License & MIT
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Sass
******************************************************************/

.loading:before {
  display: none !important;
}


/**/
.main_banner {
  margin: 0 0 43px;
  background: #F5F8FA;
}

.main_banner .width-content {
  padding: 0 20px;
}

@media only screen and (max-width: 768px) {
  .main_banner .width-content {
    padding: 0;
  }

  .item_main_banner {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px;
  }
}

.main_banner_row {
  display: grid;
  grid-template-columns: 540px 1fr;
  padding: 80px 0 0;
  position: relative;
}

@media only screen and (max-width: 1200px) {
  .main_banner_row {
    grid-template-columns: 390px 1fr;
    margin: 0 0 80px;
  }
}

@media only screen and (max-width: 992px) {
  .main_banner_row {
    grid-template-columns: 1fr;
  }
}

.main_banner_row h1 {
  font-size: 48px;
  font-weight: 700;
  color: #004379;
  line-height: 1.4;
  margin: 0 0 36px;
}

.main_banner_row .item_main_desc {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 22px;
}

.icon_num_row {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 54px 0 0;
}

.icon_num_row .icon_num {
  position: relative;
  padding-left: 65px;
}

.icon_num_row .icon_num:nth-child(1) img {
  width: 42px;
}

.icon_num_row .icon_num:nth-child(2) img {
  width: 57px;
}

.icon_num_row .icon_num img {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: 0;
}

.icon_num_row .icon_num .num {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.icon_num_row .icon_num .text {
  font-weight: 300;
  font-size: 16px;
}

.item_main_img {
  position: relative;
}

.item_main_img::before {
  content: '';
  position: absolute;
  background: url(img/figure.svg) no-repeat;
  width: 765px;
  height: 610px;
  background-size: cover;
}

@media only screen and (max-width: 992px) {
  .item_main_img {
    overflow: hidden;
  }

  .item_main_img::before {
    bottom: -50px;
    right: 0;
  }

  .icon_num_row .icon_num .num {
    font-size: 30px;
  }

  .icon_num_row .icon_num .text {
    font-size: 12px;
  }
}

@media only screen and (max-width: 768px) {
  .item_main_img::before {
    width: 493px;
    height: 440px;
    right: -23px;
  }
}

@media only screen and (max-width: 460px) {
  .item_main_img::before {
    width: 340px;
    height: 350px;
    right: 0;
  }
}

.item_main_img .photo {
  position: relative;
  width: 638px;
}

@media only screen and (max-width: 992px) {
  .item_main_img .photo {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 768px) {
  .item_main_img .photo {
    width: 430px;
  }
}

@media only screen and (max-width: 460px) {
  .item_main_img .photo {
    width: 340px;
  }
}

.rating {
  position: absolute;
  right: 1%;
  bottom: 5%;
  max-width: 300px;
}

@media only screen and (max-width: 992px) {
  .rating {
    position: absolute;
    right: 0;
    bottom: -50px;
    margin: 0 auto;
    left: 0;
    width: 300px;
  }
}

.rating img {
  position: relative;
  z-index: 1;
}

.rating::after {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(5px);
  z-index: 0;
  border-radius: 10px;
}

/*main_grid*/
.main_grid_row {
  display: grid;
  grid-template-columns: 448px 1fr;
  gap: 30px;
}

@media only screen and (max-width: 992px) {
  .main_grid_row {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
    padding: 20px;
  }
}

.bottom-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media only screen and (max-width: 992px) {
  .bottom-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.item_grid {
  background: #ccc;
  border-radius: 10px;
  padding: 37px 26px;
  position: relative;
  min-height: 158px;
}

@media only screen and (max-width: 768px) {
  .item_grid {
    min-height: 124px;
  }
}

.main_grid_row .img_grid {
  position: absolute;
  right: -60px;
  bottom: 0;
}

@media only screen and (max-width: 768px) {
  .main_grid_row .img_grid {
    top: 0;
  }

  .main_grid_row .img_grid img {
    width: 100%;
    height: 100%;
  }
}

.bottom-row .img_grid {
  right: 0px;
}

.main_grid_row .top-left {
  background: #CCECF6;
}

.main_grid_row .top-right .img_grid {
  right: 0px;
}

.main_grid_row .top-right {
  background: #E2EAF0;
}

.bottom-row .item_grid:nth-child(1) {
  background: #E2EAF0;
}

.bottom-row .item_grid:nth-child(2) {
  background: #CCECF6;
}

.bottom-row .item_grid:nth-child(3) {
  background: #00A19A;
  padding: 37px 26px 0;
}

@media only screen and (max-width: 768px) {
  .bottom-row .item_grid:nth-child(3) {
    text-align: center;
    padding: 25px 26px 0;
  }
}

.item_grid .title_grid {
  font-size: 25px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 768px) {
  .item_grid .title_grid {
    font-size: 20px;
  }
}

.bottom-row .item_grid:nth-child(3) .title_grid {
  color: #fff;
  margin: 0 0 20px;
}

@media only screen and (max-width: 768px) {
  .bottom-row .item_grid:nth-child(3) .title_grid {
    margin: 0 0 10px;
  }
}

.btn_grid {
  border: 2px solid #FFFFFF;
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  width: max-content;
  height: 48px;
  border-radius: 10px;
}

@media only screen and (max-width: 768px) {
  .btn_grid {
    margin: 0 auto;
    font-size: 16px;
    height: 40px;
  }
}

.btn_grid:hover {
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .main_grid_row .top-right .img_grid {
    left: 0;
    right: auto;
    transform: scale(-1, 1);
  }

  .main_grid_row .top-right .title_grid {
    text-align: right;
  }
}

/*main_grid_price*/
.main_grid_price {
  background: #F5F8FA;
  padding: 44px 0;
  margin: 43px 0 0;
}

.main_grid_price .h2 {
  font-size: 38px;
  text-align: center;
  font-weight: 500;
  color: #004379;
}

.h2_sub {
  text-align: center;
  font-size: 25px;
  color: #5B5A5A;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 824px;
}

.main_grid_price_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 110px 0 0;
}

.item_grid_price {
  background: #fff;
  padding: 45px 13px 13px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.g_price_img {
  border: 1px solid #DDDDE3;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.g_price_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 0 0 46px;
}

.g_price_row span {
  font-size: 23px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding: 0 19px;
  border-radius: 40px;
}

.g_price_row span:nth-child(1) {
  width: 126px;
  background: #E2EAF0;
}

.g_price_row span:nth-child(2) {
  background: #00A19A;
  color: #fff;
}

.g_price_title {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 25px;
}

.g_price_title span {
  font-size: 20px;
  display: block;
  font-weight: 500;
}

.g_prece_desc {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 56px;
}

.item_grid_price:hover {
  background: #E2EAF0;
  transition: all 0.3s;
}

.item_grid_price:hover .g_price_row span:nth-child(1) {
  background: #fff;
}

@media only screen and (max-width: 992px) {
  .g_price_row {
    margin: 0 0 42px;
  }

  .g_price_row span {
    font-size: 20px;
    padding: 0 16px;
  }

  .g_price_title {
    font-size: 35px;
    margin: 0 0 23px;
  }

  .g_prece_desc {
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 30px;
  }

  .main_grid_price_row {
    gap: 10px;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    margin: 60px 0 0;
  }

  .item_grid_price {
    width: 326px;
  }

  .main_grid_price .h2 {
    font-size: 30px;
  }

  .h2_sub {
    font-size: 20px
  }

  .main_grid_price .h2,
  .main_grid_price .h2_sub {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px;
  }
}



/* Новые стили */

.new-style {
  position: relative;
}

.img-rating {
  position: absolute;
  right: 0px;
  bottom: 32px;
}

@media only screen and (max-width: 767px) {
  .img-rating {
    display: none;
  }
}


#kosmetologicheskie-napravleniya .podzagolovok {
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: #303A3D;
  max-width: 615px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -20px;
  margin-bottom: 32px;
}

.kos-napravleniya {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.kos-napravleniya .block {
  width: calc(25% - 12px);
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.kos-napravleniya .img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.kos-napravleniya .img img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}

.kos-napravleniya .cont {
  padding: 16px;
  padding-top: 8px;
  background-color: #F5F8FA;
}

.kos-napravleniya .name {
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  color: #303A3D;
  margin-bottom: 4px;
}

.kos-napravleniya .name span {
  font-size: 12px;
}

.kos-napravleniya .descr {
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  color: #303A3D;
}

.kos-napravleniya .block:hover .img img {
  transform: scale(1.1);
}

.kos-napravleniya .link-page {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.tab__panels .tab__element {
  display: none;
}

.tabs .tabs__pane.active {
  background: #000;
  color: aliceblue;
}

.tab__panels .tab__element.active {
  display: block;
}

#price-procedur {
  background-color: #F5F8FA;
  padding-top: 100px;
  padding-bottom: 1px;
  margin-bottom: clamp(70px, 6.96vw, 100cqw);
}

#price-procedur .tabs {
  margin: 0;
  border: none;
  background: unset;
  list-style-type: none;
}

.tabs__pane {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #CCECF6;
  margin-bottom: 32px;
}

.tabs__pane li {
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  color: #303A3D;
  padding: 10px 16px;
  background-color: #E2EAF0;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.tabs__pane li.active {
  background-color: #CCECF6;
  color: #004379;
}

.price-head {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.price-head h3 {
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 105%;
}

.price-head .podzagolovok {
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 32px;
}

.price_block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.price_block .block {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
  max-width: 800px;
  position: relative;
}

.price_block .block p {
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: #004379;
  background-color: #F5F8FA;
  z-index: 1;
}

.price_block .block p:nth-of-type(1) {
  padding-right: 8px;
}

.price_block .block p:nth-of-type(2) {
  padding-left: 8px;
	min-width: 60px;
    text-align: right;
}

.price_block .block:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  border-bottom: dashed 1px #004379;
  z-index: 0;
}

.btns_tab-element {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btns_tab-element a {
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.btns_tab-element .show-all {
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  text-decoration: underline;
  transition: 0.3s;
  cursor: pointer;
}

.btns_tab-element a:hover,
.btns_tab-element .show-all:hover {
  color: #00a19a;
}

.price_block .block.hidden-block {
  display: none;
}


@media only screen and (max-width: 991px) {
  .kos-napravleniya .block {
    width: calc(100% / 3 - 11px);
  }

  .kos-napravleniya .name {
    font-size: 18px;
    line-height: 130%;
  }

  .kos-napravleniya .descr {
    font-size: 14px;
    line-height: 130%;
  }

  #price-procedur {
    padding-top: 70px;
  }

  #price-procedur .tabs {
    padding: 0 10px;
  }

  .tabs__pane li {
    font-size: 16px;
    line-height: 130%;
  }

  .price-head h3 {
    font-size: 22px;
  }
}

@media only screen and (max-width: 640px) {
  #kosmetologicheskie-napravleniya .podzagolovok {
    margin-bottom: 20px;
  }

  .kos-napravleniya {
    gap: 12px;
  }

  .kos-napravleniya .block {
    width: calc(50% - 6px);
  }

  #price-procedur .tabs {
    padding: 0;
  }

  .tabs__pane {
    flex-wrap: nowrap;
    margin-bottom: 24px;
    justify-content: flex-start;
    overflow: auto;
            margin-right: calc(-1 * (100vw - 448px) / 2);
  }

  .tabs__pane li {
    font-size: 14px;
    white-space: nowrap;
  }

  .price_block .block p {
    font-size: 14px;
  }

  .price_block .block:before {
    display: none;
  }

  .price_block .block {
    border-bottom: 1px solid #CCECF6;
    padding-bottom: 8px;
  }

  .price_block .block p:nth-of-type(1) {
    padding-right: 0;
  }

  .price_block .block p:nth-of-type(2) {
    padding-left: 0;
  }

  .price_block {
    gap: 12px;
  }

  .tab__panels .fc_button {
    font-size: 14px;
    width: 100%;
    padding: 14px;
  }
	
	#kosmetologicheskie-napravleniya .podzagolovok {
		    margin-top: -8px;
	}
}

@media only screen and (max-width: 480px) {
	.tabs__pane {
margin-right: -1rem;
}
}

@media only screen and (max-width: 420px) {
  .kos-napravleniya {
    gap: 16px;
  }

  .kos-napravleniya .block {
    width: 100%;
  }

  .kos-napravleniya .name {
    font-size: 16px;
    line-height: 130%;
  }
}

#method-benefits .gridbox .benefit-item p {
	z-index: 2;
}