:root{
  --richblack: #010B13;
  --red: #c30e0f;
  --red-shadow: 0 0 0 .25rem rgba(195,14,15,.25);
  --dark-red: #9c0101;
  --yellow: #e2e247;
  --dark--yellow: #ebb915;
  --Montserrat-Regular: "Calibri";
  --border-radius: 10px;
}
body {
  font-family: "Montserrat-Regular", "Calibri", sans-serif;
  font: 18px var(--Montserrat-Regular);
}

a:hover {
  color: var(--red);
}

span.red {
  color: var(--red);
}

span.blue {
  color: #6fa6d6;
}

div[itemprop="articleBody"] ul li:before, div.content-category ul li:before, .about-us ul li:before {
  content: unset;
}

div[itemprop="articleBody"] ul, .custom ul {
  list-style: inside;
  margin-bottom: 1rem;
}

.mine-menu-button, .questions-section-form-button {
  border: 2px solid #fff;
  background-color: var(--red);
  color: #fff;
  transition: all 0.2s ease;
}

.mine-menu-button {
  box-shadow: 0 4px 0 0 var(--dark-red),
              0 8px 16px rgba(0, 0, 0, 0.3);
}

.mine-menu-button:first-child:after {
  background: url(/templates/microton/img/trending_flat_24dp_FILL0_wght400_GRAD0_opsz24_white.svg);
  height: 27px;
  width: 27px;
}

.mine-menu-button:first-child:hover:after {
  background: url(/templates/microton/img/trending_flat_24dp_FILL0_wght400_GRAD0_opsz24_white.svg);
}

.btn:hover {
  border: 2px solid #fff;
  background-color: var(--dark-red);
  transform: translateY(2px);
}

.btn:active {
  transform: translateY(4px);
}

.mine-menu-button .btn:hover {
  box-shadow: 0 2px 0 0 #7a0000,
              0 4px 8px rgba(0, 0, 0, 0.3);
}

.mine-menu-button .btn:active {
  box-shadow: 0 0 0 0 #7a0000,
              0 2px 4px rgba(0, 0, 0, 0.2);
}

.topMenuHeaderFixed button {
  background-color: var(--red);
  color: #fff;
  border: unset;
}

.topMenuHeaderFixed button.btn:hover {
  border: unset;
}

.topMenuHeaderFixed .mine-menu-button:first-child:after {
  background: url(/templates/microton/img/trending_flat_24dp_FILL0_wght400_GRAD0_opsz24_white.svg);
}

.topMenuHeaderFixed button:hover {
  background-color: var(--dark-red);
}

.main-menu > li.active > a, .main-menu li.current > a {
  color: var(--red);
  font-family: "Montserrat-Regular", "Calibri", sans-serif;
}

.main-menu a:hover, .main-menu > li.active > a, .main-menu li.current > a {
  color: var(--red);
}



.text-block h2, .about-section-company-title span, .about-section-company-text h3, .partners-section h2 {
  color: var(--red);
}

@media screen and (max-width: 767px) {
  .delivery-methods {
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  #content {
    margin-top: 115px;
  }

  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 800px) {
  .header__wrapper--first {
    line-height: 20px;
  }
  
  .header__wrapper--first .mb-2 {
    margin-bottom: -0.5rem !important;
  }
}

.header_logo {
  font-size: 17px;
  color: white;
  text-align: center;
  width: 450px;
}

.post_mail {
  font-size: 17px;
  color: #ffffff;       /* исходный цвет */
  font-weight: bold;    /* делаем жирный текст */
  text-decoration: none; /* на всякий случай убираем подчёркивание для ссылок */
}

.post_mail:hover {
  color: #ff6600;        /* цвет при наведении */
  cursor: pointer;       /* приятный эффект — укажем, что можно кликнуть */
}

.logo_footer {
  width: 100%;
}
.logo_item {
  justify-content: center;
}
.gallery.row .thumb {
  margin-bottom: 15px;
}

.gallery.row .img-responsive {
  justify-content: center;
}

.img-responsive {
  width: 100%;
  height: 230px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  cursor: pointer;
}

.category-card:not(div):hover .category-card__text:before,
.category-card__after > * {
  width: 40% !important;

}

.advantages-section-item-btn {
    background-image: url(/templates/microton/img/advantages-icon/bg8.jpg);
    background-size: cover;
}

[class^="advantages-section-item-"]::before {
    background-color: rgba(0, 0, 0, 0.1);
}

/* top-slider */

.mine-top-slider-slide-button {
  border: 2px solid #fff;
  background-color: var(--red);
  color: #fff;
  transition: all 0.2s ease;
  border-radius: var(--border-radius);
}

.mine-top-slider-slide_1 {
  background:  url(/templates/microton/img/top-slider/slide_1.png) center / cover no-repeat ;
  position: relative;
}

.perechen {
  font-size: 20px;
  font: 20px
}


.mine-top-slider-slide_1 > * {
  position: relative;
  z-index: 2; 
}

.mine-top-slider-slide_2 {
  background: url(/templates/microton/img/top-slider/002.png) center / cover no-repeat ;
}

.mine-top-slider-slide_3 {
  background: url(/templates/microton/img/top-slider/004.jpg) center / cover no-repeat ;

}
.swiper-top-slider [class*="mine-top-slider-slide_"]::before,
.swiper-top-slider [class*="mine-top-slider-slide_"]::after {
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  display: none !important;
}


.mine-top-slider-slide_content,
.mine-top-slider-slide_content_subtitle {
  background: transparent !important;
}

.swiper-top-slider .swiper-slide,
.swiper-top-slider [class*="mine-top-slider-slide_"] {
  filter: none !important;
  background-blend-mode: normal !important;
}

/* top-slider end */

.container_header {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1635px;
    align-items: center;
}

.col-12.d-none.d-lg-flex.align-items-center.justify-content-center.col-lg-2.col-xl-3.px-0 {
    padding-right: 45px !important;
}

.partners_h2 {
    text-align: left;
    margin-left: -20px;
    font-size: 40px;
    color: #0b53b3;
}

.advantages-section-title h2 {
  font-weight: unset;
  padding: 30px 0 0px;
  color: var(--red);
}

@media screen and (max-width: 767px) {
  .advantages .col-12.col-sm-3.d-flex.justify-content-center {
    width: 47%;
    margin: 3px;
  }

  .advantages-section-item, .advantages-section-item-btn {
    height: 225px;
  }
  
  .advantages-section-item-btn-block {
    height: unset;
  }
}

.about-section-company-title h2 {
    font-weight: unset;
}

.about-section-company-title span {
    font-weight: unset;
}

.slides {
    height: 600px;
}

.o-kompanii-gl {
    max-width: 620px;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.custom .category-card__img {
    height: calc(100% + 0px);
    width: 100%;


}

.category-card__img {
    height: calc(75% + 40px);
    display: flex;
 
}
.row-category {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + 90px);
  justify-content: space-between;
}
.mine-reviews-slider-slide_content_width {
    position: relative;
    border-radius: var(--border-radius);
}

.mine-reviews-slider-slide {
    min-height: 100%;
}

.mine-reviews-section {
    /* margin-bottom: 70px; */
}

/* clients slider */

.swiper-slide img.logo {
    width: 150px !important;
}

/* our works slider */

.ourWorksSwiper2 .swiper {
    width: 100%;
    height: 100%;
  }

  .ourWorksSwiper2 .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ourWorksSwiper2 .swiper-slide img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
  }

  .ourWorksSwiper2 .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .ourWorksSwiper2 .swiper-slide {
    background-size: cover;
    background-position: center;
  }

  .ourWorksSwiper2 {
    height: 80%;
    width: 100%;
  }

  .ourWorksSwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
  }

  .ourWorksSwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
  }

  .ourWorksSwiper .swiper-slide-thumb-active {
    opacity: 1;
  }

  .ourWorksSwiper .swiper-slide img {
    /* display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; */
    width: 100px;
    height: 75px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

.inner-catalog-card-img img {
    display: block;
    height: 330px;
    object-fit: cover;
}

.inner-catalog-card-properties h2 {
  font-size: 24px;
  color: #1e73be;
  font-weight: bold;
  margin-bottom: 32px;
}

/* mine examples */

.in-card-slider-section-title h2 {
  font-size: 40px !important;
  text-transform: uppercase;
  padding: 30px 0 0 0;
  color: var(--black);
  font-weight: 700;
}

.in-card-slider-tab {
  height: 40px;
  padding: 30px 0;
  font-weight: 700;
  text-align: center;
  /* color: var(--white);
  background-color: var(--gray-dark); */
}

.in-card-slider-tab {
  color: var(--white);
  background-color: #353839;
  border-right: var(--white) 1px solid;
}

.in-card-slider-tab div {
  cursor: pointer;
}

.in-card-slider-tab-active {
  background-color: var(--gray-lightest);
  color: var(--gray-dark);
}

.in-card-slider-area-wrapper {
  background-color: var(--gray-lightest);
  padding: 30px 30px;
}

.in-card-slider-area {
  display: none;
  width: 100%;
  background-color: var(--gray-lightest);
  padding: 30px 30px;
}

.in-card-slider-area-active {
  display: block;
}

.in-card-slider-card {
  background-image: unset;
  background-color: var(--grayest);
  padding: 25px 25px 0px 25px;
  overflow: hidden;
}

.in-card-slider-card:hover {
  background-image: unset;
  background-color: var(--white);
  padding: 25px 25px 0px 25px;
  overflow: hidden;
}

.in-card-slider-card img {
  display: block;
  height: 50vh;
  object-fit: cover;
}

.inner-catalog-card-tabs {
  margin-top: 15px;
}

.inner-catalog-card-price-btn {
  height: 40px;
  padding: 30px 0;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  background-color: var(--blue);
}

.in-card-slider-tab-link {
  position: absolute;
  height: 100%;
  width: 100%;
}

.in-card-slider-tab-link-header {
  font-size: 2.1rem;
  font-weight: 700;
}


/* category card */
.img-frame {
  border: 3px solid #e53935;   
  border-radius: 8px;          
  padding: 8px;                 
  background: #fff;             
}

.img-frame img {
  display: block;
  width: 100%;
  height: auto;
}


/* slider in card */

.tb_standart_500 {
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}

.tb_standart_500 th {
  padding: 3px;
}

.tb_standart_500 td {
  padding: 3px;
}

.tb_standart_500-div {
  width: 75%;
  display: inline-block;
}

.tb_standart_500-1-td {
  text-align: left;
}

@media screen and (max-width: 1100px) {
  .tb_standart_500-div {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .tb_standart_500 tr {
    display: block;
  }

  .tb_standart_500 th {
    display: none;
  }

  .tb_standart_500 td {
    display: block;
  }

  .tb_standart_500-1-td {
    font-weight: 700;
  }

  .tb_standart_500-1-td {
    text-align: center;
  }
  
}

@media screen and (max-width: 767px) {
  .mine-top-slider-slide_content_title .main-menu-logo {
    display: none;
  }

  .mine-top-slider-slide_content_title {
    font-size: 30px;
    color: var(--white);
  }

  .mine-top-slider-slide_content_subtitle {
    
    font-size: 30px;
  }

  .mine-top-slider-slide_content_width {
    /* max-width: 400px !important; */
    margin-left: 30px;
    margin-right: 30px;
  }

  .mine-top-slider-slide_callback-btn {
    padding-right: 21px;
  }

  .mine-top-slider-slide_content_width .mine-top-slider-slide_content_subtitle .row {
    margin-right: calc(4.5* var(--bs-gutter-x));
    margin-left: calc(0.5* var(--bs-gutter-x));
  }

  .mine-top-slider-slide_content_subtitle .col-xs-12.col-md-3 {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
  }

  .mine-top-slider-slide_content_subtitle .mine-top-slider-slide-button {
    width: 200px;
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mine-top-slider-slide-button {
    height: 45px;
  }



  .row-category {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 30px);
    justify-content: space-between;
  }

  .category-card__text {
    position: absolute;
    z-index: 1;
    text-shadow: 1px 1px 5px black;
    
  }

  .category-card__text:before, .link-show-more:before {
    top: 95%;
    position: absolute;
      font-size: 5px;
  }

  .about-section-company-text li {
    margin-bottom: 10px;
  }

  .partners_h2 {
    font-size: 35px;
  }

  .partner-logo img {
    height: 90px;
  }

  .ourWorksSwiper .swiper-slide img {
    max-width: 35px;
    height: 35px;
  }

  .footer-contacts {
    text-align: center;
  }
}

/* .in-card-tab {
  width: 325px;
} */

.sidebar-left .nav-child .nav-child {
  display: block;
}

.sidebar-left-col ul.nav a {
  font-size: 22px;
}

.sidebar-left-col ul.nav li ul.nav-child a {
  font-size: 18px;
}

.sidebar-left-col ul.nav li ul li a {
  /* font-weight: 700; */
}

.sidebar-left-col ul.nav li ul li ul a {
  font-weight: 500;
}

@media (max-width: 768px) {
  .sidebar-left .nav-child .nav-child {
    display: none;
  }

  .nav-child .deeper:hover > .nav-child {
    display: none;
  }

  .nav-child .deeper:hover > .product__title + ul.nav-child {
    display: none;
  }

  .catalog__card.catalog__card--main .tile-card__content:last-child {
    margin: 18px;
    font-size: 16px;
  }
}

/* main menu */

.main-menu-logo {
  border: 2px solid #fff;
  border-radius: var(--border-radius);
  width: 400px;
  color: white
}

.logo_item {
    display: block;
    border: 2px solid ;      
    background-color: var(--red);     
    color: #fff;                
    padding: 10px 15px;         
    border-radius: 6px;         
    text-decoration: none;      
    margin-left: 100px;
}
.main-menu a {
  font-size: 18px;
}

.main-menu ul a {
  padding: 5px 15px;
  color: var(--richblack);
}

.main-menu li {
  margin-top: auto;
  margin-bottom: auto;
  max-width: 165px;
  text-align: center;
}

.main-menu li ul li {
  max-width: unset;
}

.main-menu li ul {
  border: 1px solid #dee2e6;
  border-radius: var(--border-radius);
}

/* sidebar menu */

.sidebar-left a {
  color: var(--richblack);
  text-decoration: none;
}

.sidebar-left a:hover {
  color: black;
  text-decoration: none;
}

.sidebar-left-col ul.nav li {
  margin-top: 10px;
}

@media screen and (max-width: 400px) {
  .catalog__card.catalog__card--main .tile-card__img {
      width: unset;
      height: 155px;
  }
}

.new-year-promo {
  padding: 150px 0 0 0;
  height: 350px;
}

.new-year-promo__header {
  text-align: center;
  font-size: 40px;
  color: #0b53b3;
  text-transform: uppercase;
  margin: 0 0 15px 0;
}

.new-year-promo__text {
  text-align: center;
}

/* kontakty */

@media screen and (max-width: 767px) {
  .kontakty-hide-text {
    display: none;
  }

  .contacts-section-company-text .contacts-section-form-title {
      text-align: left;
  }

  .contacts-section-form-title {
    margin: 5px 0 0px 0;
  }
  
  .contacts-section-company-text p {
    margin: 5px 0;
  }

  .contacts-section-form-label {
    line-height: 0px;
  }

  .contacts-section-form-input {
    line-height: 0px;
  }

  .contacts-section-form-button {
    margin: 10px 0 !important;
  }

  .rf-form .col-12 .row .col .contacts-section-form-input {
    line-height: 25px;
  }
}

/* feedback section */

.questions-section-wrapper {
  background-image: url(/templates/microton/img/questions/questions.webp);
  width: 100%;
  height: 500px;
  min-height: 300px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.questions-section-container {
  background-color: rgba(0, 0, 0, .7);
  width: 100%;
  height: 500px;
  margin: 0;
  padding: 0;
}

.questions-section-inner {
  min-height: 100%;
}

.questions-section-question {
  padding: 80px;
  color: var(--white);
  /* font-size: 20px; */
}

.questions-section-question span {
  font-weight: 700;
}


.questions-section-wrapper .col-12 {
  margin: 0;
  padding: 0;
  align-items: center
}

.questions-section-contacts-wrapper {
  /* position: relative; */
  background-color: var(--white);
  padding: 10px 50px;
  height: 300px;
}

.questions-section-contacts-card {
  /* position: absolute; */
}

.questions-section-contacts-card h2 {
  font-size: 40px !important;
  text-transform: uppercase;
}

.questions-section-contacts-card .col-2 {
  height: 50px;
  margin: 10px 0;
}

.questions-section-contacts-card .col-10 {
  height: 50px;
  margin: 10px 0;
}

.questions-section-contacts-card .col-12 {
  height: 50px;
  margin: 10px 0;
}

.questions-section-contacts-card-icon {
  /* background-image: url(/templates/microton/img/contacts-icon/phone.png); 
  min-width: 100%;
  min-height: 100%;*/
}

.questions-section-contacts-card-icon img {
  width: 50px;
}

.questions-section-contacts-card____check {
  padding: 10px 0 0 32px !important;
}

.questions-section-form-button {
  position: relative;
  height: 65px;
  width: 100%;
  margin: 0 !important;
}

/* questions-section */

.questions-section-wrapper {
  background: url(/templates/microton/img/questions/sklad.jpg) center / cover no-repeat;
  height: 500px;
  align-items: center
}

.questions-section-contacts-wrapper {
    width: 538px;
    height: 350px;
}

.questions-section-contacts-card .col-12 {
    height: 80px;
}

@media screen and (max-width: 991px) {
  .questions-section-question {
      padding: 30px;
      color: var(--white);
      font-size: 20px;
  }
}

@media screen and (max-width: 991px) {
  .questions-section-contacts-wrapper {
      width: auto;
      height: 350px;
  }

  .questions-section-contacts-card .col-12 {
      height: 100px;
  }
}

.modal-fields {
  display: flex;
}

/* contacts form */

.contacts-section-form-check {
  padding: 15px 0 0 35px !important;
}

.contacts-section-form-button:hover {
  border: unset;
}

.contacts-section-form-button {
  margin: 15px 0 !important;
}

/* privacy policy link footer */

.privacy-policy-footer-link1 {
  margin-left: 150px;
}

.privacy-policy-footer-link2 {
  margin-left: 15px;
}

.privacy-policy-footer a {
  color: #fff;
}

@media screen and (max-width: 991px) {
.privacy-policy-footer-link1 {
  margin: 0 30px 10px 30px;
}

.privacy-policy-footer-link2 {
  margin: 0 30px 0 30px;
}
}

/* header */ 

.header__wrapper--first {
  background-color: var(--red);
}

.header__second .main-menu-logo, .header__second .mine-menu-button {
  display: none !important;
}

.header__second.topMenuHeaderFixed .main-menu-logo {
  display: block !important;
}

.header__second.topMenuHeaderFixed .mine-menu-button {
  display: flex !important;
  border-radius: var(--border-radius);
}

.social-links {
  justify-content: center;
}

a.platform img {
  width: 100%;
  height: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--border-radius);
}

a.platform img:hover {
  transform: translateY(-2px) scale(1.1);
}

.container_header .col-12.col-md-2.d-flex {
  display: block !important;
}

.container_header .col-12.col-md-2.d-flex .mine-menu-button {
  width: 100%;
  border-radius: var(--border-radius);
}

/* category */

.category-card:not(div):hover {
  background: linear-gradient(130deg,#700101 0,#c30e0f 50%,#f35454 100%);
}

.category-card-wrap {
  width: 22%;
  margin-bottom: 0px;
}

.category-card__img img {
  display: block;
  max-height: 100px;
  max-width: 50%;
  margin-right: auto;
  margin-left: auto;

}

.category-card {
  border-radius: var(--border-radius);
  margin-top: 20px;
  width: 90%;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.category-card__text {
  max-width: unset;
}

.sertification-test {
  margin-left: 22px;
}

/* about-section */

.about-section-column-left {
    padding-right: 30px;
    border-right: 2px solid var(--red);
}

.about-section-company-text a:hover {
  color: var(--red);
}

/* top_advantage */

.features-row {
    display: flex;
    gap: 10px; 
    padding: 15px 0;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex: 1; 
}
.feature-item--kachestvo {
  width: 70px;
  height: 70px;
    display: flex;
    align-items: center;
    text-align: center;
    flex: 1; 
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
    margin-right: 10px;
    object-fit: contain;
}
.feature-icon--kachestvo {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    margin-right: 8px;
    object-fit: contain;
}

.feature-text {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .features-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .feature-item {
        flex: 0 0 45%; 
        margin-bottom: 15px;
    }
}

/* advantages */

.advantages {
  background: #f2f2f2;
  margin: 50px 0 0;
}

.advantages__list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.advantage-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 20px 15px;
  transition: transform 0.3s ease;
  position: relative;
}

.advantage-item:hover {
  transform: translateY(-5px);
}

.advantage-item__icon {
  width: 100%;
  max-height: 130px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item__icon img {
  /* max-width: 100%; */
  /* width: 100%; */
  /* height: auto; */
  height: 60px;
  width: 60px;
}

.advantage-item__text {
  line-height: 1.4;
  margin: 0;
}

.advantage-item--separator::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  width: 1px;
  background-color: var(--red);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .advantages__list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  
  .advantage-item {
    max-width: 250px;
    width: 100%;
    padding: 25px 15px;
  }
  
  .advantage-item--separator::before {
    display: none;
  }
  
  .advantage-item:not(:last-child) {
    border-bottom: 1px solid var(--red);
  }
}

/* stages */

.stages-section {
  margin: 0px 0 50px;
}

.stages-title {
  font-size: 40px !important;
  text-transform: uppercase;
  padding: 30px 0 30px 0;
  color: var(--red);
  font-weight: unset;
}

.stages-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 225px;
  text-align: center;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stage-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.stage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: unset;
}

.stage-text {
  color: black;
  font-size: 18px;
  font-weight: 500;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* gallery */

.works-gallery {
  padding: 0px 0 40px;
  background: #f2f2f2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-link {
  display: block;
  height: 100%;
   background: linear-gradient(130deg,#494949 0,#818181 50%,#575757 100%);
}

.gallery-link:hover {
  display: block;
  height: 100%;
 background: linear-gradient(130deg,#700101 0,#c30e0f 50%,#f35454 100%);}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-thumb:hover {
  opacity: 0.9;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
  
  .works-gallery {
    padding: 25px 0;
  }
}

/* reviews */

.mine-reviews-slider-wrapper .swiper-button-prev, .mine-reviews-slider-wrapper .swiper-button-next {
  color: var(--red);
}

/* map */ 
/* 
.map-section-container {
  height: 500px;
} */

.map-section-container {
  position: relative;
  height: 700px;
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
}
.map-background {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* z-index: 1; */
  padding: 0;
}

.map-section-contacts-card_under {
  background-color: var(--red);
  height: 400px;
  padding: 60px 60px;
  border-radius: var(--border-radius);
  pointer-events: auto;
  position: relative;
   z-index: 3; 
}

.map-section-contacts-wrapper {
  background-color: var(--red);
  height: 450px;
  padding: 60px 60px;
  border-radius: var(--border-radius);
  pointer-events: auto;
  position: relative;
   z-index: 3; 
}

@media (max-width: 767.98px) {
  .map-background {
        height: 300px !important;
    }

   .map-section-container {
    flex-direction: column;
  }

  .map-background {
    height: 300px; 
  }

  .d-xl-none {
    margin-top: 250px !important; 
  }

  
}

.map-content .d-none.d-xl-flex.align-items-center.col-xl-4{
  position: absolute;
  left: 16%;
}
.map-content {
  position: absolute;      
  inset: 0;               
  z-index: 2;
  pointer-events: none !important; 
}

/* footer */

footer {
  background-color: var(--red);
}

.footer__first {
  margin-bottom: 0px;
}

.section-footer .container {
  display: flex;
  gap: 15px;
}

.section-footer .social-links {
  justify-content: end;
}

.section-footer .text-md-start.col-md-4 p img {
  border: 2px solid #fff;
  border-radius: var(--border-radius);
}

/* left-menu */

.sidebar-left {
  width: 100%;
}

.nav a:hover {
  color: var(--red);
}

/* main-category */

.category-main .category-card-wrap {
  width: 24%;
}

.category-main .category-card {
  padding-left: 9px;
  padding-top: 6px;
  min-width: unset;
  width: 250px;
  height: 170px;
}

.category-main .category-card__img {
  width: 100%;

}



.category-main .category-card__text {
  font-size: 17px;
}

.category-main .category-card__text:before, .category-main .link-show-more:before {
  top: 27%;
}

.category-main .category-card:not(div):hover .category-card__text:before,
.category-main .category-card__after > * {
  width: 55% !important;
}

/* catalog card */

@media screen and (min-width: 1260px) {
  .catalog__card.catalog__card--main:not(:nth-child(4n)) {
    border-right: 1px solid var(--dark--yellow);
  }
}

@media (min-width: 768px) and (max-width: 1259px) {
  .catalog__card.catalog__card--main:not(:nth-child(3n)) {
    border-right: 1px solid var(--dark--yellow);
  }
}

@media screen and (max-width: 767px) {
  .catalog__card.catalog__card--main:nth-child(1), .catalog__card.catalog__card--main:nth-child(2n+1) {
    border-right: 1px solid var(--dark--yellow);
  }
}

.catalog_title {
  color:var(--red);
  font-size: 35px;
  font-weight: 400;
}

.tile-card__content a {
  color: var(--red);
}

/* card */

.card-wrapper .row.mt-5 {
  margin-bottom: 15px;
}

.inCardSwiperWidthSet .row.h-100 div {
  border: 2px solid var(--red);
  border-radius: var(--border-radius);
}

.inCardSwiperWidthSet {
  max-width: 325px !important;
  margin-right: 15px;
}

.inner-catalog-card-properties h2 {
  color: var(--red);
}

.description .table {
  width: 100%;
  border-collapse: collapse;
}
.description .table td {
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.description .table tr:nth-child(1) td {
  vertical-align: top;
  font-size: 11px;
}

.description .table td:nth-child(1), .description .table td:nth-child(8) {
  width: 20%;
}

.description .table td:nth-child(n+2):nth-child(-n+7) {
  width: 10%;
}

.description table td img {
  width: 40px;
  height: 40px;
}

/* left-menu */

.sidebar-left-col {
  position: relative;
  min-height: 100vh;
}

.sidebar-left {
  position: absolute;
  width: 100%;
  transition: transform 0.3s ease;
}

.sidebar-left.sticky {
  position: fixed;
  top: 120px;
  width: calc(18% - 30px);
}

.sidebar-left.sticky-bottom {
  position: absolute;
  transform: none !important;
}

.product__title {
  text-transform: unset;
}

.download_prais-div {
  margin-top: 20px;
  margin-bottom: 20px;
}

.download_prais-div a {
  background-color: var(--red);
  color: #fff;
  padding: 10px 7px 15px 6px;
  border-radius: var(--border-radius);
}

.download_prais-div a:hover {
  color: #fff;
}

.download_prais {
  max-width: 30px;
}

/* form */

.form-check-input:focus {
  border-color: #e65e65;
  outline: 0;
  box-shadow: var(--red-shadow);
}

.form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

.rf-form button {
  background-color: var(--red);
  color: #fff;
  transition: all 0.2s ease;
}

.rf-form button:hover {
  background-color: var(--dark-red);
  color: #fff;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: var(--red-shadow);
}

/* gallery__o-nas */

.custom-gallery-slider {
  width: 100%;
  padding: 0 15px 15px;
}

.custom-gallery-container {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.custom-gallery-wrapper {
  display: flex;
  box-sizing: border-box;
}

.custom-gallery-slide {
  width: calc(20% - 12px); /* 5 images in row with gap */
  margin-right: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease; 
}

.custom-gallery-slide:last-child {
  margin-right: 0;
}

.custom-gallery-slide a {
  display: block;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 186px;
  position: relative;
  transition: all 0.3s ease;
}

.custom-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* доставка  */
 .delivery .delivery_image{
    justify-content: center;
    gap: 30px; 
}

/*




.delivery_image {
  margin-top: 50px;
  max-width: 100%;
  height: 100%;
  align-items: center;
  display: flex;
}

.delivery_image img {
    /* max-width: 100%; */
    width: auto;
    height: 500px;
    display: block;
    margin-bottom: 20px;
}

/* Новые стили при наведении */
.custom-gallery-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-gallery-button-prev,
.custom-gallery-button-next {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.custom-gallery-button-prev:hover,
.custom-gallery-button-next:hover {
  opacity: 1;
}

.custom-gallery-container:hover .swiper-button-prev,
.custom-gallery-container:hover .swiper-button-next {
  opacity: 1;
}

.custom-gallery-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-gallery-button-prev {
  left: 0;
}

.custom-gallery-button-next {
  right: 0;
}

.custom-gallery-button-prev::after,
.custom-gallery-button-next::after {
  font-family: swiper-icons;
  font-size: 20px;
  color: #333;
}

.custom-gallery-button-prev::after {
  content: 'prev';
}

.custom-gallery-button-next::after {
  content: 'next';
}

@media (max-width: 1200px) {
  .custom-gallery-slide {
    width: calc(25% - 12px); /* 4 images in row */
  }
}

@media (max-width: 992px) {
  .custom-gallery-slide {
    width: calc(33.333% - 12px); /* 3 images in row */
  }
}

@media (max-width: 768px) {
  .custom-gallery-slide {
    width: calc(50% - 12px); /* 2 images in row */
  }
}

@media (max-width: 576px) {
  .custom-gallery-slide {
    width: 100%; /* 1 image in row */
    margin-right: 0;
  }
}


/* o nas */
.text_o_nas  {
  color: #c30e0f;
}
/* partners */

.partners {
  background: #f2f2f2;
}

.partners-section {
  padding: 5px 0 40px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.partner-item {
  flex: 0 0 calc((100% - 120px) / 7);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: 1px solid #eee;
  overflow: hidden;
}

.partner-item:hover {
  transform: scale(1.75) translateY(-5px); 
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-color: #ddd;
  z-index: 1; 
}

.partner-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.partner-item:hover .partner-logo {
  opacity: 1;
  transform: scale(1.1); 
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Адаптация */
@media (max-width: 1200px) {
  .partner-item {
    flex: 0 0 calc((100% - 100px) / 6);
  }
  
}

@media (max-width: 992px) {
  .partner-item {
    flex: 0 0 calc((100% - 80px) / 5);
  }

  /* ul li {
    font-size: 17px;
  } */

  .header_logo {
    font-size: 17px;
    color: white;
    text-align: center;
    width: 250px;
    
    background-color:  var(--red);

    padding-top: 5px;
    padding-bottom: 5px;
  }

  .logo_item {
      display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
      border: 2px solid var(--red);   
    background-color: var(--red);
  }
 
  .delivery_image {
    margin-top: 50px;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .delivery_image img {
    width: 100%; 
    max-width: 400px; 
    height: auto; 
    margin-left: auto;
    margin-right: auto;
  }

  .questions-section-wrapper {
    background:  url(/templates/microton/img/questions/sklad.jpg) center / cover no-repeat;
    height: 500px;
    align-items: center
  }


  /* o companii image */
  .right-image {
    float: right;
    width: 100%;
    margin-left: 25px;
    margin-bottom: 15px;
    max-width: 400px;
  }


  /* form */
  .contacts-section-form-label {
    font-size: 1rem; 
  }

  .contacts-section-form-input {
    font-size: 1rem; 
    padding: 12px; 
  }

  textarea.contacts-section-form-input {
    min-height: 120px; 
  }

  .contacts-section-form-button {
    font-size: 1.1rem; 
    padding: 14px 20px;
    width: 100%; 
  }

  .form-check-label {
    font-size: 0.95rem; 
  }

  /* map  */
  .map-section-contacts-wrapper {
        padding: 15px;
    }

  .map-section-contacts-card h2 {
      font-size: 1.3rem;
  }

  .map-section-contacts-card-icon img {
      width: 20px;
  }


  /* catalog main  */


  .category-card__img {
      height: 150px; 

  }
  
  category-card__img img {
      max-height: 80px;
      max-width: 60%;

  }

  .category-card__text {
      font-size: 10px;
      padding: 15px 8px;
  }

  .category-main .category-card:not(div):hover .category-card__text:before {
      width: 0 !important;
      display: none; 
  }
   .category-main .category-card__after > * {
        width: 0 !important;
        display: none;
    }

  /* footer */
  .section-footer .container {
    flex-direction: column;
    gap: 30px;
    align-items: center; 
    text-align: center; 
  }

  .section-footer .col-md-4,
  .section-footer .col-md-6,
  .section-footer .col-md-2 {
    width: 100%;
    max-width: 100%;
    text-align: center; 
  }

  
  .section-footer img {
    width: 160px;
    height: auto;
    border: 2px solid #fff;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
  }

}

@media (max-width: 768px) {
  .partner-item {
    flex: 0 0 calc((100% - 60px) / 4);
  }
  .row-category {
    width: 100%;
    display: flex;
    flex-direction: row;
     flex-wrap: wrap; 
  }
  .category-main .category-card__text:before, .category-main .link-show-more:before {
    top: 90%;
  }

  .category-main .category-card__text {
    font-size: 15px;
  }

  /* доставка */
  .delivery {
        flex-direction: column;
    }
  .delivery_side {
      flex: 1 1 auto;
      width: 100%;
  }
  .delivery_image,
  .contacts-section-column-right {
      width: 100%;
  }

  
}

@media (max-width: 576px) {
  .partner-item {
    flex: 0 0 calc((100% - 40px) / 3);
    height: 80px;
    padding: 10px;
  }
  .category-card-wrap {
      width: 20%; 
      margin-bottom: 20px;
      flex: 0 0 70%; 
  }

  .perechen {
    font-size: 20px;
    font: 20px;
    width: 90%;
  }

  .category-main .category-card__text:before, .category-main .link-show-more:before {
    top: 90%;
  }
  
  
  .partner-item:hover {
    transform: scale(1.05) translateY(-3px);
  }
  
  .partner-item:hover .partner-logo {
    transform: scale(1.1);
  }
  
  .partners-title {
    font-size: 1.5rem;
  }
}

/* Лицензии и сертификаты */

  .licenses-certificates-section {
      padding: 0px 0 40px;
  }
  .licenses-certificates__slider-container {
      position: relative;
      padding: 0 40px;
  }
  .licenses-certificates-slider {
      overflow: hidden;
      padding: 10px;
  }
  .licenses-certificates__wrapper {
      align-items: center;
  }
  .licenses-certificates__slide {
      text-align: center;
      padding: 0 10px;
  }
  .licenses-certificates__img {
      width: auto;
      object-fit: contain;
      border: 1px solid #eee;
      transition: transform 0.3s ease;
  }
  .licenses-certificates__link:hover .licenses-certificates__img {
      transform: scale(1.03);
  }
  
  /* Стили для навигации */
  .licenses-certificates__nav {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 20px;
  }
  
  .licenses-certificates__button {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid #ddd;
      background: #fff;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  
  .licenses-certificates__button:hover {
      background: #f0f0f0;
      border-color: #ccc;
  }
  
  .licenses-certificates__button svg {
      width: 20px;
      height: 20px;
  }
  
  .licenses-certificates__button.swiper-button-disabled {
      opacity: 0.5;
      cursor: not-allowed;
  }
    
@media (min-width: 768px) {
    .licenses-certificates__nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        justify-content: space-between;
        margin-top: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }
    
    .licenses-certificates__button {
        pointer-events: auto;
        position: relative;
        z-index: 1;
    }
    
    .licenses-certificates__button--prev {
        left: -10px;
    }
    
    .licenses-certificates__button--next {
        right: -10px;
    }
}
@media (min-width: 768px) {
  .questions-section-wrapper {
      background: url(/templates/microton/img/questions/sklad.jpg) center / cover no-repeat;
      height: 500px;
      align-items: center;
    }

    
}


/* prajs-list */
.prajs-list__item {
  margin-bottom: 13px;
}

.prajs-list__item p {
  margin-bottom: 5px;
  /* font-size: 20px; */
}

.prajs-list__item a {
  background-color: var(--red);
  color: #fff;
  padding: 3px 8px 8px 8px;
  border-radius: var(--border-radius);
}

.prajs-list__item a img {
  max-width: 24px;
}

/* contacts-section */ 

.contacts-section-inner {
  margin: 0px;
}

.contacts-section-form-title {
  margin: 10px 0 10px 0;
}

.contacts-section-company-text p {
  margin: 5px 0;
}

.contacts-section-form-label {
  margin: 5px 0 0 0;
}

.contacts-section-form-input {
  padding: 5px 0 5px;
}