.main-section {
  margin-bottom: 32px;
  scroll-margin-top: 112px;
}
.main-section-inner {
  max-width: 1456px;
  margin: 0 auto;
}
.main-section-title {
  max-width: 100%;
  margin: 0 auto;
  padding: 14px;
  background-color: #eee;
  background-color: #7d7d7d;
  box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -1px,
    rgb(0 0 0 / 30%) 0px 1px 3px -1px;
}
.main-section-title h1,
.main-section-title h2 {
  max-width: 1456px;
  margin: 0 auto;
  color: #fafafa;
}
.main-section-title a {
  color: #fafafa;
}
.main-section .main-section-subtitle {
  max-width: 100%;
  padding: 16px 14px 0;
  background-color: #eee;
  /* border-top: 1px solid #7d7d7d; */
}
.main-section .main-section-subtitle h2 {
  max-width: 1456px;
  margin: 0 auto;
  font-size: 1.25em;
  line-height: 1.25;
  color: #444;
}
.main-section .main-section-subtitle h3 {
  max-width: 1456px;
  margin: 0 auto;
}
.main-section .main-section-subsection {
  background-color: #eee;
}
.section-services .new-services-list,
.section-goods-categories .product_card_list,
.section-our-works .our-works-list,
.section-autonews .autonews-list {
  padding: 32px 0;
  box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -3px,
    rgb(0 0 0 / 30%) 0px 3px 3px -3px;
}
.main-section .product_link_card {
  background-color: #fff;
}
.mainpage_block_content {
  padding: 0 14px;
}
/* section-goods-categories & services ---------------------------------------------------------------------------------------------------------------------------------------------------------- */

.section-goods-categories .goods-categories-list,
.section-goods-categories .goods-subcategories-list,
.section-services .services-list,
.section-services .services-sublist {
  list-style-type: none;
}
.section-goods-categories .goods-categories-list,
.section-services .services-list {
  max-width: 1456px;
  margin: 32px auto 0;
  padding: 0 14px;
}
.section-goods-categories .goods-categories-list > li,
.section-services .services-list > li {
  width: 100%;
  text-align: center;
}
.section-services .services-list > li {
  text-align: left;
}
.section-services .services-list img {
  width: 100%;
}
.section-goods-categories .goods-categories-list h3,
.section-services .services-list h3 {
  position: relative;
  margin-bottom: 24px;
  padding: 16px 0 16px 0;
  /* border-bottom: 2px solid var(--main-red-color); */
}
.section-goods-categories .goods-categories-list h3 {
  font-size: 1em;
  white-space: nowrap;
  text-align: center;
}
.section-goods-categories .goods-categories-list li:hover h3::after,
.section-services .services-list h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--main-red-color);
}
.section-services .services-list h3::after {
  width: 100%;
  max-width: 300px;
}
.section-goods-categories .goods-subcategories-list,
.section-services .services-sublist {
  margin-bottom: 24px;
}
.section-goods-categories .goods-subcategories-wrap {
  position: absolute;
  left: 0;
  z-index: 5;
  display: none;
  width: 100%;
  background: #fff;
  opacity: 0;
  text-align: left;
  pointer-events: none;
}
.section-goods-categories .goods-subcategories-list {
  width: 100%;
  max-width: 1456px;
  margin: 0 auto 0;
  padding: 0 24px;
  columns: 4;
}
.section-goods-categories
  .goods-categories-list
  li:hover
  .goods-subcategories-wrap {
  opacity: 1;
  pointer-events: all;
}
.section-goods-categories .goods-subcategories-list li,
.section-services .services-sublist li {
  padding: 8px 0;
  padding: 8px 24px 8px 0;
}
.goods-subcategories-btn {
  margin-bottom: 32px;
}
.section-goods-categories .goods-subcategories-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* new-services-list ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

.section-services .new-services-list {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  overflow-x: auto;
  width: 100%;
  margin: 0;
  padding: 16px 14px 32px 3px;
  list-style-type: none;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
}
.section-services .new-services-list li {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 80vw;
  margin: 0 24px 3px 0;
  padding: 0 0 0;
  border-radius: 8px;
  scroll-snap-align: start;
  scroll-margin-left: 3px;
}
.section-services .new-services-list a {
  display: flex;
  width: 100%;
}
.section-services .new-services-list img {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

/* section-our-works ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

.section-our-works .main-section-inner {
  background-color: #eee;
}
.page-sidebar.right .our-works-list,
.section-our-works .our-works-list {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  width: 100%;
  margin: 0;
  padding: 16px 14px 32px 3px;
  list-style-type: none;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
}
.page-sidebar.right .our-works-list li,
.section-our-works .our-works-list li {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 80vw;
  margin: 0 24px 3px 0;
  padding: 0 0 0;
  background-color: #fff;
  box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -1px,
    rgb(0 0 0 / 30%) 0px 1px 3px -1px;
  border-radius: 8px;
  scroll-snap-align: start;
  scroll-margin-left: 3px;
}
.page-sidebar.right .our-works-list a,
.section-our-works .our-works-list a {
  width: 100%;
}
.page-sidebar.right .our-works-list img,
.section-our-works .our-works-list img {
  display: block;
  width: 100%;
  border-radius: 8px 8px 0 0;
  transition: transform 0.2s;
}
.page-sidebar.right .our-works-list h4,
.section-our-works .our-works-list h4 {
  bottom: 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.page-sidebar.right .our-works-list .title-wrapper,
.section-our-works .our-works-list .title-wrapper{
  padding: 16px;
}
.page-sidebar.right .our-works-list p,
.section-our-works .our-works-list p {
  /* height: 70px; */
  /**/
  /*overflow: hidden;*/
}
.section-our-works .our-works-list .description-wrapper{
  padding: 0 16px 16px;
}
.page-sidebar.right .our-works-list li.our-works-show-all,
.section-our-works .our-works-list li.our-works-show-all {
  margin-right: 0;
  background-color: transparent;
  box-shadow: unset;
  flex: 0 0 240px;
}
.our-works-show-all a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #7d7d7d;
}
.our-works-show-all span {
  display: flex;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  background-color: #7d7d7d;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fafafa' fill-rule='evenodd' d='M15.483 9.297l-3.9 3.9-3.9-3.9a.99.99 0 00-1.4 1.4l4.593 4.593a1 1 0 001.414 0l4.593-4.593a.99.99 0 10-1.4-1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 36px;
  transform: rotate(-90deg);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 60px;
  transition: background-color 0.25s ease-in;
}
.our-works-show-all a:hover span {
  background-color: #ccc;
}

/* section-new-goods ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
.section-goods-categories .product_card_list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto;
  width: 100%;
  margin: 0;
  padding: 16px 14px 32px 3px;
  list-style-type: none;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
}
.section-goods-categories .product_card_list li {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 80vw;
  margin: 0 24px 3px 0;
  scroll-snap-align: start;
  scroll-margin-left: 3px;
  overflow: hidden;
}

/* section-autonews ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
.section-autonews .main-section-inner {
  background-color: #eee;
}
.section-autonews .autonews-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto;
  width: 100%;
  margin: 0;
  padding: 32px 14px 32px 3px;
  list-style-type: none;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
}
.section-autonews .autonews-list li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  flex: 0 0 80vw;
  margin: 0 24px 3px 0;
  background-color: #fff;
  box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -1px,
    rgb(0 0 0 / 30%) 0px 1px 3px -1px;
  border-radius: 8px;
  scroll-snap-align: start;
  scroll-margin-left: 3px;
}
.section-autonews .autonews-list h3 {
  margin-bottom: 10px;
  word-wrap: break-word;
  hyphens: auto;
}
.section-autonews .autonews-list img {
  border-radius: 8px 8px 0 0;
}
.section-autonews .autonews-item-text {
  padding: 16px 8px 44px;
}
.section-autonews .autonews-item-text time {
  position: absolute;
  right: 8px;
  bottom: 16px;
  display: block;
  margin: 0 8px;
  color: gray;
  font-size: 12px;
  text-align: right;
}
.scroll-left-btn,
.scroll-right-btn {
  display: none;
}
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* @media ----------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

@media screen and (min-width: 390px) {
  .section-goods-categories .goods-categories-list,
  .section-services .services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .section-goods-categories .goods-categories-list > li,
  .section-services .services-list > li {
    width: calc(50% - 7px);
  }
}
@media screen and (min-width: 440px) {
  .section-autonews .autonews-list img {
    width: 100%;
  }
}

@media screen and (min-width: 640px) {
  .section-goods-categories .goods-categories-list,
  .section-services .services-list {
    display: flex;
    flex-wrap: wrap;
  }
  .section-goods-categories .goods-categories-list > li,
  .section-services .services-list > li {
    padding: 0;
  }
  .section-services .new-services-list li {
    width: calc(100% / 3 - 7px);
  }
}

@media screen and (min-width: 640px) {
  .page-sidebar.right .our-works-list li,
  .section-our-works .our-works-list li {
    flex: 0 0 50vw;
  }
  .section-goods-categories .product_card_list li {
    flex: 0 0 50vw;
  }
  .section-services .new-services-list li {
    flex: 0 0 50vw;
  }

  .section-autonews .autonews-list li {
    flex: 0 0 50vw;
  }
}

@media screen and (min-width: 768px) {
  .section-goods-categories .goods-categories-list > li {
    width: calc(100% / 3);
  }
  .page-sidebar.right .our-works-list li,
  .section-our-works .our-works-list li {
    flex: 0 0 35vw;
  }
  .section-goods-categories .product_card_list li {
    flex: 0 0 26vw;
  }
  .section-services .new-services-list li {
    flex: 0 0 26vw;
  }

  .section-autonews .autonews-list li {
    flex: 0 0 26vw;
  }
}

@media screen and (min-width: 1024px) {
  .main-section-title {
    padding: 14px 24px;
  }
  .main-section .main-section-subtitle {
    padding: 16px 24px 0;
  }
  .mainpage_block_content {
    padding: 0 24px;
  }
  .section-goods-categories .goods-categories-list,
  .section-services .services-list {
    padding: 0 24px;
  }
  .section-goods-categories .goods-categories-list > li {
    width: calc(100% / 6);
  }
  .section-goods-categories .goods-subcategories-wrap {
    display: flex;
  }
  .section-services .services-list > li {
    width: calc((100% - 72px) / 4);
  }
  .section-services .new-services-list li {
    width: calc(100% / 6 - 7px);
  }
  .section-our-works .main-section-title {
    margin-bottom: 8px;
  }
  .page-sidebar.right .our-works-list li,
  .section-our-works .our-works-list li {
    flex: 0 0 24vw;
  }
  .page-sidebar.right .our-works-list p {
    display: none;
  }
  .section-goods-categories .product_card_list li {
    flex: 0 0 20vw;
  }
  .section-services .new-services-list li {
    flex: 0 0 20vw;
  }

  .section-autonews .autonews-list li {
    flex: 0 0 22vw;
  }
}

@media screen and (min-width: 1024px) and (hover) {
  .main-section-inner {
    padding: 0;
  }
  .section-our-works .main-section-subtitle a,
  .section-autonews .main-section-title a {
    position: relative;
    margin: 0 auto 0 0;
    padding-right: 32px;
  }
  .section-our-works .main-section-subtitle a::after,
  .section-autonews .main-section-title a::after {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    top: 50%;
    right: 0;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23444444' fill-rule='evenodd' d='M15.483 9.297l-3.9 3.9-3.9-3.9a.99.99 0 00-1.4 1.4l4.593 4.593a1 1 0 001.414 0l4.593-4.593a.99.99 0 10-1.4-1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right;
    background-size: 28px;
    transform: rotate(-90deg) translate(50%, 0);
    opacity: 0;
    transition: opacity 0.35s ease-in;
  }
  .section-autonews .main-section-title a::after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fafafa' fill-rule='evenodd' d='M15.483 9.297l-3.9 3.9-3.9-3.9a.99.99 0 00-1.4 1.4l4.593 4.593a1 1 0 001.414 0l4.593-4.593a.99.99 0 10-1.4-1.4z'/%3E%3C/svg%3E");
    background-size: 36px;
    background-position: center;
  }
  .section-our-works:hover .main-section-subtitle a::after,
  .section-autonews:hover .main-section-title a::after {
    opacity: 1;
  }
  .section-services .main-section-subsection,
  .section-goods-categories .main-section-subsection,
  .section-our-works .main-section-inner,
  .section-autonews .main-section-inner {
    position: relative;
  }
  .section-services .new-services-list,
  .section-goods-categories .product_card_list,
  .section-our-works .our-works-list,
  .section-autonews .autonews-list {
    scroll-padding: 80px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .section-our-works .our-works-list a {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
  }
  .section-services .new-services-list::before,
  .section-goods-categories .product_card_list::before,
  .section-our-works .our-works-list::before,
  .section-autonews .autonews-list::before {
    content: "";
    flex: 0 0 80px;
  }
  .section-services .new-services-list::after,
  .section-goods-categories .product_card_list::after,
  .section-our-works .our-works-list::after,
  .section-autonews .autonews-list::after {
    content: "";
    flex: 0 0 80px;
  }
  .section-services .new-services-list li,
  .section-goods-categories .product_card_list li,
  .section-our-works .our-works-list li,
  .section-autonews .autonews-list li {
    scroll-margin-left: 0;
    scroll-margin-right: 0;
  }

  .section-our-works .our-works-list li:hover img {
    transform: scale(1.015);
  }
  .scroll-left-btn,
  .scroll-right-btn,
  .scroll-down-btn {
    position: absolute;
    top: 15px;
    display: block;
    width: 80px;
    height: calc(100% - 48px);
    background: transparent;
    border: none;
    color: var(--main-red-color);
    line-height: 24px;
    font-size: 32px;
    cursor: pointer;
    appearance: none;
    z-index: 4;
  }
  .scroll-left-btn {
    left: 0;
    background-image: linear-gradient(
      to left,
      rgba(255, 255, 255, 0.0001),
      #eee
    );
  }
  .scroll-right-btn {
    right: 0;
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.0001),
      #eee
    );
  }
  .select-car-slider .scroll-left-btn {
    left: 0;
    background-image: linear-gradient(
      to left,
      rgba(255, 255, 255, 0.0001),
      #fff
    );
  }
  .select-car-slider .scroll-right-btn {
    right: 0;
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.0001),
      #fff
    );
  }
  .scroll-down-btn {
    width: 100%;
    height: 24px;
    top: unset;
    bottom: 0;
  }
  .scroll-left-btn::after,
  .scroll-right-btn::after,
  .scroll-down-btn::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    top: 50%;
    left: 50%;
    /* background-color: #fff; */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M15.483 9.297l-3.9 3.9-3.9-3.9a.99.99 0 00-1.4 1.4l4.593 4.593a1 1 0 001.414 0l4.593-4.593a.99.99 0 10-1.4-1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 64px;
  }
  .scroll-right-btn::after {
    transform: rotate(-90deg) translate(50%, -50%);
  }
  .scroll-left-btn::after {
    transform: rotate(90deg) translate(-50%, 50%);
  }
  .scroll-down-btn::after {
    top: 0;
    transform: translate(-50%, 0);
  }
  .section-goods-categories-banner {
    overflow: hidden;
  }
  .section-goods-categories-banner img {
    width: 100%;
    object-fit: cover;
  }
}

@media screen and (min-width: 1280px) {
  .section-goods-categories .goods-categories-list > li {
    width: calc(100% / 6);
  }

  .section-our-works .our-works-list li {
    flex: 0 0 22vw;
  }
  .section-goods-categories .product_card_list li {
    flex: 0 0 18vw;
  }
  .section-services .new-services-list li {
    flex: 0 0 20vw;
  }
  .section-autonews .autonews-list li {
    flex: 0 0 20vw;
  }
}
@media screen and (min-width: 1456px) {
  .section-services .main-section-inner,
  .section-goods-categories .main-section-inner,
  .section-autonews .main-section-inner,
  .section-our-works .main-section-inner,
  .section-autonews .main-section-inner {
    width: 100%;
    max-width: 100%;
    /* padding: 0 14px 0 14px; */
  }

  .section-our-works .our-works-list li {
    flex: 0 0 15vw;
  }
  .section-goods-categories .product_card_list li {
    flex: 0 0 20vw;
  }
  .section-services .new-services-list li {
    flex: 0 0 18vw;
  }
  .section-autonews .autonews-list li {
    flex: 0 0 20vw;
  }
}

@media screen and (min-width: 1920px) {
  .section-our-works .our-works-list li {
    flex: 0 0 15vw;
  }
  .section-goods-categories .product_card_list li {
    flex: 0 0 14vw;
  }
  .section-services .new-services-list li {
    flex: 0 0 15vw;
  }
  .section-autonews .autonews-list li {
    flex: 0 0 20vw;
  }
}

@media screen and (min-width: 2304px) {
  .section-our-works .our-works-list li {
    flex: 0 0 15vw;
  }
  .section-goods-categories .product_card_list li {
    flex: 0 0 11vw;
  }
  .section-services .new-services-list li {
    flex: 0 0 13vw;
  }
  .section-autonews .autonews-list li {
    flex: 0 0 20vw;
  }
}
/* other ---------------------------------------------------------------------------------------------------------------- */
