/*форма Запрос скидки*/
#buy_one_click {
  padding: 60px 80px;
}
#buy_one_click .modal_title {
  margin-bottom: 10px;
}
#buy_one_click .modal_title+p {
  font-size: 18px;
  margin-bottom: 40px;
  text-align: center;
}
#buy_one_click #prod_img {
  max-height: 123px;
  margin: 0 auto;
  display: block;
}
.catalog_menu_wrapper {
  top: 106px;
}
.catalog_menu_box>.header_link_wrapper {
  display: none;
}
@media (max-width:1373px) {
  .catalog_menu_wrapper {
    top: 119px;
  }
}
@media screen and (max-width:991px) {
  .catalog_menu_wrapper {
    top: 130px;
  }
  #buy_one_click #prod_img {
    max-height: 82px;
  }
  #buy_one_click .modal_title {
    font-size: 26px;
    margin-bottom: 0;
  }
  #buy_one_click .modal_title+p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 20px;
  }
  #buy_one_click {
    padding: 40px 40px 30px;
  }
  #buy_one_click p:not(:last-child) {
    margin-bottom: 10px;
  }
  #buy_one_click .form_row {
    margin-bottom: 20px;
  }
  #buy_one_click .mfp-close {
    top: 13px;
    right: 13px;
    width: 38px;
    height: 38px;
  }
  #buy_one_click .agreement_box .square_label {
    line-height: 17px;
  }
  #buy_one_click .agreement_box {
    margin: 0;
  }
}
@media (max-width:862px) {
  .catalog_menu_wrapper {
    top: 150px;
  }
}
@media (max-width:767px) {
  .catalog_menu_wrapper {
    top: 62px;
  }
  .catalog_menu_wrapper {
    height: calc(100vh - 62px);
  }
  body.open-menu {
    overflow: hidden;
  }
  .catalog_menu_box>.header_link_wrapper {
    display: flex;
    height: 100px;
    justify-content: flex-start;
    margin: 0 0 5px 17px;
    align-items: center;
    gap: 5px;
    padding-right: 0;
  }
  .catalog_menu_box>.header_link_wrapper a {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 16px;
    color: rgba(var(--white-rgb), 0.65);
    text-decoration: none;
    width: auto;
    margin: 0;
    font-weight: 700;
  }
  .catalog_menu_box>.header_link_wrapper svg {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    fill: rgba(var(--white-rgb), 0.65);
    stroke: rgba(var(--white-rgb), 0.65);
  }
  .catalog_menu_box>.header_link_wrapper svg use {
    fill: rgba(var(--white-rgb), 0.65);
  }
  .catalog_menu_box>.header_link_wrapper a span:last-of-type {
    font-size: 18px;
    font-weight: 600;
  }
  .catalog_menu_box>.header_link_wrapper a span:first-of-type {
    top: -13px;
    right: auto;
    left: 23px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 11px;
  }
}

@media (max-width:350px) {
  .catalog_menu_box>.header_link_wrapper {
    justify-content: center;
    margin-left: 0;
  }
  .catalog_menu_box>.header_link_wrapper a {
    gap: 20px;
  }
}

/**/
.product_wrapper .seo_text {
  margin-top: 40px;
  margin-bottom: 20px;
}

.block_tags {
  justify-content: flex-start;
  margin: 0px 0px 25px 0px;
}
.block_tags a {
  padding: 5px 10px;
  border: 1px solid var(--primary-light-theme);
  color: #000;
  text-decoration: none;
  margin: 0 5px 5px 0;
}
.block_tags a:hover {
  color: #fff;
  background: var(--primary-hover);
}

.sale-button
{
  position: absolute;
  top: 15px;
  background: var(--red);
  color: white;
  padding: 0 5px;
  z-index: 800;
  cursor: pointer;
}

@media only screen and (max-width: 575px)
{
  .sale-button {
    top: 0;
    position: relative;
    order: 1;
    bottom: 0;
    margin-bottom: 10px;
  }
  .product_post .product_title_wrapper {
    order: 2;
  }
  .product_top_mob .product_description .price.price-with-title {
    order: 4;
  }
  .product_top_mob .product_description .price {
    order: 5;
  }
  .product_text.avail {
    order: 4;
  }

  .similar_products .product_carusel .sale-button {
    top: 5px;
    position: absolute;
    bottom: auto;
    margin-bottom: 0;
  }
  .similar_products .product_carusel .product_post .product_text.avail,
  .similar_products .product_carusel .product_post .price.price-with-title,
  .similar_products .product_carusel .product_post .sale-button,
  .similar_products .product_carusel .product_post .product_title_wrapper,
  .similar_products .product_carusel .product_top_mob .product_description .price {
    order: 0;
  }
}

.filter_box-scroll {
  max-height: 150px;
  overflow-y: auto;
  scrollbar-color: #b5b3b3 var(--bg-grey-light);
}

.sort_box .product_lable.sale {
  padding: 2px 17px;
}

.filter_link-flex {
  display: flex;
}

.section__recommendation_article {
  padding-top: 30px;
  padding-bottom: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.section__recommendation_article a {
  font-size: 18px;
  color: rgb(0, 0, 0);
  text-decoration: underline;
  line-height: 2;
  transition: color 0.2s ease-in-out;
}

.section__recommendation_article a:focus,
.section__recommendation_article a:hover {
  color: var(--primary);
}

@media (max-width: 480px) {
  .section__recommendation_article {
    padding-top: 15px;
  }

  .section__recommendation_article a {
    font-size: 16px;
    line-height: 1;
  }
}

.section__hits {
  padding-top: 20px;
  margin-bottom: 60px;
}

.section__hits_title {
  margin-bottom: 47px;
  font-size: 33.222px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  line-height: 1.154;
}

.hits__wrapper {
  display: flex;
  row-gap: 25px;
  column-gap: 10px;
  flex-wrap: wrap;
}

.hits__item {
  padding: 20px 0 0 0;
  width: calc((100% - 10px) / 2);
}

.hits__item_link {
  padding: 0 0 20px 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  background: var(--bg-grey-light);
  transition: background 0.3s ease-in-out;
}

.hits__item_link:focus,
.hits__item_link:hover {
  background: rgb(217, 217, 217);
}

.hits__item_link .show_all_product-img {
  width: 50%;
}

.hits__item_link .hits__item_content {
  width: 50%;
}

.hits__item_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.hits__item_title {
  padding-top: 30px;
  padding-right: 10px;
  margin-bottom: 20px;
  font-size: 18px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  line-height: 1.556;
}

.hits__item_price {
  display: flex;
  align-items: center;
  justify-content: center;
  border-width: 1.278px;
  border-color: rgb(217, 217, 217);
  border-style: solid;
  background-color: rgb(178, 147, 90);
  min-height: 45px;
  color: rgb(255, 254, 254);
  line-height: 1.556;
}

.hits__item .show_all_product-img img {
  position: absolute;
  top: -50px;
  left: 0;
  bottom: 0;
  max-width: 100%;
  max-height: 139%;
}

@media (max-width: 1280px) {
  .hits__item .show_all_product-img img {
    top: -40px;
  }
}

@media (max-width: 1100px) {
  .hits__item .show_all_product-img img {
    top: 0;
  }
}

@media only screen and (max-width: 991px) {
  .hits__item_link {
    flex-direction: column;
    padding: 0 20px 20px 20px;
  }

  .hits__item_link .hits__item_content {
    width: 100%;
  }

  .hits__item .show_all_product-img {
    height: 250px;
    width: 100%;
  }

  .hits__item .show_all_product-img img {
    top: -45px;
    margin: 0 auto;
    max-height: 130%;
  }

  .hits__item_content {
    justify-content: normal;
  }
}

@media only screen and (max-width: 900px) {
  .hits__item .show_all_product-img {
    height: 150px;
  }
}

@media only screen and (max-width: 767.98px) {
  .hits__item .show_all_product-img {
    height: 250px;
  }

  .hits__item {
    width: 100%;
  }

  .hits__item .show_all_product-img img {
    transform: translateX(50%);
  }
}

@media only screen and (max-width: 575.98px) {
  .hits__item .show_all_product-img {
    position: relative;
    width: 100%;
    height: 250px;
    max-width: 100%;
    top: 0;
    right: 0;
    order: 0;
  }

  .hits__item .show_all_product-img img {
    transform: translateX(25%);
  }
}

@media only screen and (max-width: 480px) {
  .hits__wrapper {
    margin-left: -20px;
    margin-right: -20px;
  }

  .hits__item .show_all_product-img img {
    transform: none;
  }

  .hits__item_price {
    max-width: 243px;
  }

  .section__hits_title {
    margin-bottom: 25px;
    font-size: 27px;
  }

  .section__hits {
    padding-top: 5px;
    margin-bottom: 40px;
  }
}

.section__sales_wrapper {
  overflow: hidden;
}

.section__sales_item {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 40px;
  background: var(--bg-grey-light);
  transition: background 0.3s ease-in-out;
}
@media only screen and (min-width: 768px) {
  .section__sales_item {
    width: 50%;
    max-width: 380px;
  }
}

.section__sales_link {
  text-decoration: none;
  background: var(--bg-grey-light);
  transition: background 0.3s ease-in-out;
}

.section__sales_item:hover {
  background: rgb(217, 217, 217);
}

.section__sales_item:hover .section__sales_link {
  background: rgb(217, 217, 217);
}

.section__sales_img {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section__sales_img img {
  object-fit: contain;
}

.section__sales_btns {
  gap: 15px;
  flex-wrap: wrap;
}

.section__sales_btns .btn_light {
  background: #fff;
  min-width: 165px;
}

.section__sales_btns .btn_light:hover {
  background-color: var(--primary);
}

.section__sales_btns .add_to_cart a.btn {
  min-width: 140px;
  color: #fff;
  background: var(--primary);
}

.section__sales_btns .add_to_cart a:hover.btn {
  background-color: var(--primary-hover);
}

.hits__item_content .product_description .price.price-with-title {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .section__sales_item {
    padding: 40px 20px;
  }
}

@media only screen and (max-width: 575px) {
  .hits__item_content .product_btn_wrapp.h_fix {
    display: none;
  }
  .hits__item_content .product_description .price.price-with-title {
    display: flex;
    flex-wrap: wrap;
    column-gap: 13px;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 480px) {
  .section__sales_wrapper {
    margin-right: -30px;
    margin-left: -30px;
  }

  .section__sales_btns .add_to_cart a.btn {
    min-width: 125px;
  }
}

.product_text {
  margin-bottom: 5px;
}
.h_fix {
  height: 64px;
}
.btn_fix {
  display: block;
}
.btn_fix .price {
  margin-left: 5px;
}

/*3D PROJECTS*/
.threed__full_page {
  flex: inherit;
  width: 100%;
}
.grid-wrapper img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}

.grid-wrapper > div {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.grid-wrapper > div > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.grid-wrapper {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
}
.grid-wrapper .wide {
  grid-column: span 2;
}
.grid-wrapper .tall {
  grid-row: span 2;
}
.grid-wrapper .big {
  grid-column: span 2;
  grid-row: span 2;
}

.grid-wrapper__link {
  width: 100%;
  height: 100%;
  display: flex;
}

.grid-wrapper__link:focus img,
.grid-wrapper__link:hover img {
  transform: scale(1.2);
}

@media only screen and (max-width: 991px) {
  .threed__full_page {
    padding-top: 20px;
  }
}

.offer_card_3d {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer_card_3d .personal_coach {
  max-width: 246px;
}

.header_tel_2:nth-of-type(2) {
  padding-left: 7px;
}
.header__top_socials {
  display: inline-block;
  padding-left: 25px;
}

.header__top_socials .social_item {
  text-decoration: none;
}

.header__top_socials .social_item:first-of-type {
  margin-right: 5px;
}

.header__top_socials .social_item img {
  width: 16px;
  height: 16px;
}

.vidy_sporta.row {
  width: 100%;
  margin: 10px 0 40px 0;
}
.vidy_sporta a {
  text-decoration: none;
}
.vidy_sporta .inner_block {
  max-height: 270px;
  position: relative;
}
.vidy_sporta .inner_block img.pic2 {
  display: none;
}
.vidy_sporta .inner_block .name {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  text-align: left;
  position: absolute;
  top: 20px;
  left: 20px;
  color: #111427;
}
@media screen and (max-width: 1024px) {
  .vidy_sporta .inner_block img.pic1 {
    display: none;
  }
  .vidy_sporta .inner_block img.pic2 {
    display: inherit;
  }
}
.vidy_sporta > .col-xl-3.col-md-4.col-6{
  padding: 0;
  margin: 0;
}
@media only screen and (max-width: 768px) {
  .vidy_sporta > .col-xl-3.col-md-4.col-6 {
    max-width: calc(50% - 10px);
    flex: 0 0 calc(50% - 10px);

  }
  .vidy_sporta.row {
    width: 100%;
    margin: 10px 0 40px 0;
    gap: 20px;
  }
  .vidy_sporta .inner_block{
    max-height: 100%;
  }}
@media screen and (max-width: 480px) {
  .vidy_sporta .inner_block {
    max-height: unset;
    /*height: 360px;*/
  }
  .vidy_sporta.row {
    gap: 8px;
  }
  .vidy_sporta .inner_block img {
    max-width: unset;
    width: 100%;
  }
  .vidy_sporta .inner_block .name {
    background: linear-gradient(90deg, transparent 20px, #c0bcbc1a 200px);
    max-width: 100%;
    top: 12px;
    left: 12px;
    font-size: 16px;
  }
}
.conclusion {
  font-style: italic;
  background-color: #e8f4fc;
  padding: 15px;
  border-left: 4px solid #3498db;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
  gap: 30px;
}

.feature-text {
  flex: 1;
  min-width: 300px;
  padding: 15px;
}

.feature-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-image img:hover {
  transform: scale(1.03);
}

.feature-text > h3 {
  color: #2c3e50;
  margin-top: 0;
  font-size: 1.4rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 8px;
  display: inline-block;
}

@media (max-width: 768px) {
  .feature-row {
    flex-direction: column;
  }

  .feature-text, .feature-image {
    min-width: 100%;
  }

  .feature-row:nth-child(even) .feature-text {
    order: 1;
  }
}