@font-face {
  font-family: OpenSans;
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/OpensansRegular.woff2) format("woff2")
}
@font-face {
  font-family: OpenSans;
  font-style: normal;
  font-weight: 500;
  src: url(../fonts/OpensansRegular.woff2) format("woff2")
}
@font-face {
  font-family: OpenSans;
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/Opensanssemibold.woff2) format("woff2")
}
@font-face {
  font-family: OpenSans;
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/OpenSansBold.woff2) format("woff2")
}
@font-face {
  font-family: OpenSans;
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/OpenSansBold.woff2) format("woff2")
}
body,
html {
  height: 100%
}
body {
  font-family: OpenSans,sans-serif;
  font-size: 1em;
  line-height: 1.5;
  width: 100%;
  min-width: 320px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  color: #032956;
  background-color: #f3f4fc;
  font-weight: 400
}
footer,
header {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none
}
main {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto
}
.container {
  padding-left: 30px;
  padding-right: 30px;
}
@media all and (max-width:1199px) {
  .container {
    padding-left: 15px;
    padding-right: 15px
  }
}
@media all and (max-width: 575px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Отображение блоков в два ряда */
  .box__advantages {
    width: 48%; /* Каждый блок будет занимать 48% ширины */
    margin-bottom: 20px; /* Отступ снизу для каждого блока */
  }
}
ul {
  list-style: none;
  margin: 0
}
p {
  font-style: normal;
  margin: 0
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-style: normal;
  margin: 0
}
.heading {
  margin-bottom: 40px
}
@media all and (max-width:575px) {
  .heading {
    margin-bottom: 30px
  }
}
.heading.heading-white h2 {
  color: #f3f4fc
}
.heading h2 {
  font-family: OpenSans,sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  color: #353535
}
@media all and (max-width:575px) {
  .heading h2 {
    font-size: 32px
  }
}
.btn {
  display: inline-block;
  text-align: center;
  color: #fff;
  background-color: #032956;
  padding: 15px 20px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  border: none;
  border-radius: 15px;
  text-transform: uppercase;
  -webkit-transition: .25s all;
  transition: .25s all
}
.btn:hover {
  color: #fff;
  background-color: #013778
}
.btn.btn-blue {
  background-color: #c0e8ff;
  color: #032956
}
.btn.btn-blue:hover {
  color: #fff;
  background-color: #013778
}
a {
  -webkit-transition: .25s all;
  transition: .25s all;
  text-decoration: none
}
a:active,
a:focus,
a:hover {
  text-decoration: none
}
button {
  cursor: pointer;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out
}
button:active,
button:focus {
  outline: 0
}
button:disabled,
button[disabled] {
  border: 1px solid #999;
  background-color: #ccc;
  color: #666;
  pointer-events: all!important
}
button:disabled:hover,
button[disabled]:hover {
  border: 1px solid #999;
  background-color: #ccc;
  color: #666;
  pointer-events: all!important
}
:focus {
  outline: 0
}
* {
  margin: 0;
  padding: 0
}
img {
  max-width: 100%
}
.center {
  text-align: center
}
.stop-scrolling {
  height: 100%;
  overflow: hidden
}
input,
textarea {
  outline: 0!important;
  border-radius: 0
}
input.wpcf7-submit {
  cursor: pointer;
  -webkit-transition: .3s all;
  transition: .3s all
}
.row-40 {
  margin-left: -20px;
  margin-right: -20px
}
@media all and (max-width:1199px) {
  .row-40 {
    margin-left: -15px;
    margin-right: -15px
  }
}
.row-40 .box-40 {
  padding-left: 20px;
  padding-right: 20px
}
@media all and (max-width:1199px) {
  .row-40 .box-40 {
    padding-left: 15px;
    padding-right: 15px
  }
}
@-webkit-keyframes showBlock {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
@keyframes showBlock {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
.hidden  {
  display: none;
}
.modal {
  border-radius: 10px;
  max-width: 400px;
  width: 100%
}
.modal h2 {
  text-align: center;
  margin-bottom: 30px
}
.form__inner form .form__item {
  margin-bottom: 20px
}
.form__inner form .form__item input {
  width: 100%;
  height: 44px;
  border-radius: 15px;
  background-color: #f3f4fc;
  border: none;
  padding-left: 59px;
  padding-right: 10px;
  font-weight: 600;
  background-size: 24px;
  background-position: 16px 50%;
  background-repeat: no-repeat
}
.form__inner form .form__item textarea {
  width: 100%;
  height: 100px; /* можно увеличить при необходимости */
  border-radius: 15px;
  background-color: #f3f4fc;
  border: none;
  padding: 10px 10px 10px 59px;
  font-weight: 600;
  resize: vertical; /* позволяет менять размер вручную */
  background-size: 24px;
  background-position: 16px 16px;
  background-repeat: no-repeat;
  line-height: 1.5;
}
.form__inner form .form__item input.name {
  background-image: url(../img/icon_34.svg)
}
.form__inner form .form__item input.phone {
  background-image: url(../img/icon_35.svg)
}
.form__inner form .form__item input.email {
  background-image: url(../img/icon_38.svg)
}
.form__inner form .form__submit {
  position: relative;
  margin-bottom: 20px
}
.wpcf7-spinner {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}
.form__inner form .form__submit .btn {
  height: 44px;
  padding: 0
}
header.header-product .header__menu .menu__inner {
  /*border-bottom: none*/
}
header.noborder .menu__inner {
  border-bottom: none!important;
}
header .header__top {
  background-color: #032956
}
@media all and (max-width:991px) {
  header .header__top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    -webkit-box-shadow: 0 7px 14px 0 rgba(0,0,0,.3);
    box-shadow: 0 7px 14px 0 rgba(0,0,0,.3)
  }
}
header .header__top .wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between
}
header .header__top .wrapper .logo {
  -ms-flex-negative: 0;
  flex-shrink: 0
}
header .header__top .wrapper .logo img {
  width: 100px;
  height: 100px
}
@media all and (max-width:991px) {
  header .header__top .wrapper .logo img {
    width: 60px;
    height: 60px
  }
}
header .header__top .wrapper a,
header .header__top .wrapper p {
  color: #f3f4fc;
  font-weight: 600
}
header .header__top .wrapper .address,
header .header__top .wrapper .mail,
header .header__top .wrapper .phone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}
header .header__top .wrapper .address img,
header .header__top .wrapper .mail img,
header .header__top .wrapper .phone img {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 8px
}
@media all and (max-width:991px) {
  header .header__top .wrapper .address {
    display: none
  }
}
@media all and (max-width:991px) {
  header .header__top .wrapper .mail {
    display: none
  }
}
header .header__top .wrapper .phone {
  font-size: 20px;
  line-height: 27px
}
header .header__top .wrapper .callback {
  color: #c0e8ff;
  text-transform: uppercase;
  display: inline-block;
  border: 2px solid #c0e8ff;
  padding: 13px 26px;
  border-radius: 26px;
  text-align: center
}
@media all and (max-width:1199px) {
  header .header__top .wrapper .callback {
    display: none
  }
}
header .header__top .wrapper .callback:hover {
  background-color: #c0e8ff;
  color: #032956
}
header .header__top .wrapper .header_burger {
  position: relative;
  display: none;
  -ms-flex-negative: 0;
  flex-shrink: 0
}
@media all and (max-width:991px) {
  header .header__top .wrapper .header_burger {
    display: block
  }
}
header .header__top .wrapper .header_burger .burger_button {
  position: relative;
  top: 2px;
  width: 30px;
  height: 30px;
  display: block;
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  z-index: 20
}
header .header__top .wrapper .header_burger .burger_button span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out
}
header .header__top .wrapper .header_burger .burger_button span:nth-child(1) {
  top: 4px
}
header .header__top .wrapper .header_burger .burger_button span:nth-child(2) {
  top: 12px
}
header .header__top .wrapper .header_burger .burger_button span:nth-child(3) {
  top: 20px
}
header .header__top .wrapper .header_burger .burger_button.open span:nth-child(1) {
  top: 9px;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg)
}
header .header__top .wrapper .header_burger .burger_button.open span:nth-child(2) {
  opacity: 0;
  left: -60px
}
header .header__top .wrapper .header_burger .burger_button.open span:nth-child(3) {
  top: 9px;
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg)
}
header .header__top .wrapper .header_burger .menu_toggle {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #032956;
  margin: 0;
  overflow: auto;
  z-index: 11;
  padding-top: 50px;
  top: 0;
  padding-bottom: 70px;
  -webkit-transform: translateY(70px);
  -ms-transform: translateY(70px);
  transform: translateY(70px);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%)
}
header .header__top .wrapper .header_burger .menu_toggle.slide {
  -webkit-transform: translateY(70px);
  -ms-transform: translateY(70px);
  transform: translateY(70px)
}
header .header__top .wrapper .header_burger .menu_toggle.menuopen {
  -webkit-transform: translateX(0)!important;
  -ms-transform: translateX(0)!important;
  transform: translateX(0)!important
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner {
  width: 100%;
  margin: 0 auto;
  max-width: 690px
}
@media all and (max-width:767px) {
  header .header__top .wrapper .header_burger .menu_toggle .toggle__inner {
    max-width: 510px
  }
}
@media all and (max-width:575px) {
  header .header__top .wrapper .header_burger .menu_toggle .toggle__inner {
    padding-left: 15px;
    padding-right: 15px
  }
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul {
  padding-bottom: 20px
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li {
  padding-top: 8px;
  padding-bottom: 8px
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li.current-menu-item a {
  color: #c0e8ff
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li a {
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li a:hover {
  color: #c0e8ff
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li.menu-item-has-children > a {
  position: relative;
  display: inline-block
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li.menu-item-has-children > a.active:after {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg)
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li.menu-item-has-children > a:after {
  position: absolute;
  content: "";
  right: -25px;
  top: 3px;
  bottom: 0;
  margin: auto;
  background-image: url(../img/icon_4_1.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 19px;
  height: 19px
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li.menu-item-has-children ul.sub-menu {
  display: none;
  margin-top: 3px;
  padding-left: 20px;
  padding-bottom: 10px
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li.menu-item-has-children ul.sub-menu.slide {
  display: block;
  -webkit-animation: showBlock .2s linear forwards;
  animation: showBlock .2s linear forwards
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li.menu-item-has-children ul.sub-menu li {
  padding-top: 3px;
  padding-bottom: 3px
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li.menu-item-has-children ul.sub-menu li a {
  font-size: 15px;
  text-decoration: underline;
  font-weight: 300;
  color: #fff
}
header .header__top .wrapper .header_burger .menu_toggle .toggle__inner ul li a {
  font-size: 20px;
  display: block;
  padding-top: 2px;
  padding-bottom: 2px;
  color: #fff
}
header .header__menu {
  min-height: 70px
}
@media all and (max-width:991px) {
  header .header__menu {
    display: none
  }
}
header .header__menu .menu__inner {
  border-bottom: 1px solid rgba(120,120,120,.8)
}
header .header__menu .menu__inner.menu__fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 999;
  background-color: #f3f4fc;
  -webkit-box-shadow: 0 7px 14px 0 rgba(0,0,0,.3);
  box-shadow: 0 7px 14px 0 rgba(0,0,0,.3);
  border-bottom: none
}
header .header__menu .menu__inner.menu__fixed ul {
  max-width: 1234px;
  width: 100%;
  margin: 0 auto
}
header .header__menu .menu__inner ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%
}
@media all and (max-width:1600px) {
  header .header__menu .menu__inner ul {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
  }
}
header .header__menu .menu__inner ul li {
  position: relative
}
header .header__menu .menu__inner ul li.current-menu-item a {
  color: #353535;
  text-shadow: 0 0 .65px #353535,0 0 .65px #353535
}
header .header__menu .menu__inner ul li:hover > a {
  color: #353535;
  text-shadow: 0 0 .65px #353535,0 0 .65px #353535
}
header .header__menu .menu__inner ul li a {
  color: #032956;
  line-height: 20px;
  padding: 25px 15px;
  display: inline-block;
  text-transform: uppercase
}
header .header__menu .menu__inner ul li.menu-item-has-children {
  position: relative
}
header .header__menu .menu__inner ul li.menu-item-has-children:before {
  position: absolute;
  content: "";
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(../img/icon_4.svg);
  width: 19px;
  height: 19px;
  top: 3px;
  bottom: 0;
  right: -8px;
  margin: auto
}
header .header__menu .menu__inner ul li.menu-item-has-children:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  transition-delay: 0s
}
header .header__menu .menu__inner ul li.menu-item-has-children ul.sub-menu {
  position: absolute;
  top: 69px;
  left: 0;
  padding: 5px 0 10px 0;
  width: 300px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition-duration: .2s;
  transition-duration: .2s;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
  display: block;
  background-color: #032956;
  z-index: 10;
  -webkit-box-shadow: 0 0 23px 0 rgba(82,82,82,.18);
  box-shadow: 0 0 23px 0 rgba(82,82,82,.18)
}
header .header__menu .menu__inner ul li.menu-item-has-children ul.sub-menu li {
  margin-right: 0
}
header .header__menu .menu__inner ul li.menu-item-has-children ul.sub-menu li:after {
  left: 16px
}
header .header__menu .menu__inner ul li.menu-item-has-children ul.sub-menu li:before {
  right: 8px;
  top: 13px;
  bottom: auto
}
header .header__menu .menu__inner ul li.menu-item-has-children ul.sub-menu li a {
  line-height: 20px;
  display: block;
  padding: 8px 10px;
  color: #fff
}
header .header__menu .menu__inner ul li.menu-item-has-children ul.sub-menu li a:hover {
  text-decoration: underline
}
header .header__menu .menu__inner ul li.menu-item-has-children ul.sub-menu ul.sub-menu {
  left: 198px;
  top: -5px
}

/* Кнопка поиска в хедере — квадрат с белой обводкой, скругление 20px */
.search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #c0e8ff;
    border-radius: 30px;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    margin-left: 15px; /* отступ от телефона */
    flex-shrink: 0;
}
.search-toggle img {
    width: 20px;
    height: 20px;
}
.search-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Модальное окно */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none; /* скрыто по умолчанию */
    align-items: center;
    justify-content: center;
	cursor: pointer;
}
.search-modal {
    width: 90%;
    max-width: 520px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	cursor: default;
}
.search-modal-header {
    background-color: #032956;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    padding: 18px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}
.search-modal-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}
.search-modal-content {
    padding: 30px 25px;
    color: #032956;
    font-size: 18px;
}
.search-modal-content p {
    margin-bottom: 20px;
}
.search-input-wrapper {
    display: flex;
    gap: 10px;
}
#search-modal-input {
    flex: 1;
    background-color: None;
    border: 1px solid #032956;
    border-radius: 20px;
    padding: 12px 20px;
    color: #032956;
    font-size: 16px;
    outline: none;
}
#search-modal-input::placeholder {
    color: #032956;
    opacity: 0.6;
}
.search-modal-submit {
    background-color: #032956;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.search-modal-submit img {
    width: 24px;
    height: 24px;
}

.search-modal-submit:hover {
    background-color: #0a4a7a;
}

/* Адаптация для мобильных (чтобы всё поместилось) */
@media all and (max-width: 991px) {
    .wrapper .phone {
        font-size: 16px; /* чуть уменьшаем телефон */
    }
    .search-toggle {
        width: 36px;
        height: 36px;
        margin-left: 8px;
    }
}
@media all and (max-width: 575px) {
    .search-toggle {
        width: 32px;
        height: 32px;
        margin-left: 5px;
    }
    .search-toggle svg {
        width: 16px;
        height: 16px;
    }
}



#mainblock {
  margin-top: 30px;
  margin-bottom: 60px
}
@media all and (max-width:991px) {
  #mainblock {
    margin-top: 100px
  }
}
#mainblock .main__slider {
  border-radius: 20px;
  padding-bottom: 25px;
  width: 100%;
  height: 450px; /* Фиксированная высота слайдера */
  display: flex;
  overflow: hidden; /* Скрывает лишние элементы за пределами слайдера */
}
#mainblock .main__slider .swiper-slide {
  height: 100%;
}
#mainblock .main__slider .slide__inner {
  padding: 27px 88px;
  min-height: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 20px;
  background: linear-gradient(102deg,rgba(80,121,171,.1) 20.33%,rgba(80,121,171,.53) 51.23%,#8facd0 84.51%)
}
@media all and (max-width:991px) {
  #mainblock .main__slider .slide__inner {
    padding: 27px 50px
  }
}
@media all and (max-width:575px) {
  #mainblock .main__slider .slide__inner {
    padding: 20px 15px
  }
}
#mainblock .main__slider .box__content .content__inner h2 {
  font-family: OpenSans,sans-serif;
  font-weight: 700;
  color: #032956;
  font-size: 36px;
  line-height: 120%;
  margin-bottom: 11px
}
@media all and (max-width:575px) {
  #mainblock .main__slider .box__content .content__inner h2 {
    font-size: 26px
  }
}
#mainblock .main__slider .box__content .content__inner p {
  margin-bottom: 35px
}
#mainblock .main__slider .box__content .content__inner a {
  color: #032956;
}
@media all and (max-width:575px) {
  #mainblock .main__slider .box__content .content__inner p {
    font-size: 15px;
    margin-bottom: 24px
  }
}
#mainblock .main__slider .box__content .content__inner ul li {
  position: relative;
  font-weight: 700;
  padding-left: 46px;
  margin-bottom: 26px
}
@media all and (max-width:575px) {
  #mainblock .main__slider .box__content .content__inner ul li {
    font-size: 15px;
    margin-bottom: 16px
  }
}
#mainblock .main__slider .box__content .content__inner ul li:after {
  position: absolute;
  content: "";
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(../img/icon_6.svg);
  width: 30px;
  height: 30px;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto
}
#mainblock .main__slider .box__image .image__inner {
  text-align: center;
  background-color: #fff; /* белый фон */
  padding: 20px; /* добавление отступов для улучшения внешнего вида */
  border-radius: 20px; /* скругление углов для контейнера */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* мягкая тень для глубины */
  height: 100%; /* гарантирует, что все изображения будут одинаковой высоты */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease; /* добавление анимации */
}
#mainblock .main__slider .box__image .image__inner:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* эффект при наведении */
  transform: scale(1.05); /* эффект увеличения при наведении */
}
#mainblock .main__slider .box__image .image__inner img {
  max-width: 100%;
  max-height: 309px;
  width: 100%; /* Заполняет всю ширину контейнера */
  height: 100%; /* Заполняет всю высоту контейнера */
  object-fit: contain; /* масштабирует изображение, сохраняя пропорции */
  border-radius: 10px; /* добавление скругленных углов для изображения */
  transition: all 0.3s ease; /* плавный переход для изображения */
}

#mainblock .main__slider .swiper-pagination {
  bottom: 0!important;
}
#mainblock .main__slider .swiper-pagination span {
  width: 9px;
  height: 9px;
  background-color: transparent;
  opacity: 1;
  border: 1px solid #787878
}
#mainblock .main__slider .swiper-pagination span.swiper-pagination-bullet-active {
  background-color: #787878
}
#mainblock .main__slider .swiper-button-next,
#mainblock .main__slider .swiper-button-prev {
  color: #353535;
  width: 30px;
  height: 30px;
  border-radius: 50%
}
#mainblock .main__slider .swiper-button-next:after,
#mainblock .main__slider .swiper-button-prev:after {
  font-size: 18px
}

@media all and (max-width:991px) {
    /* Общий контейнер для слайдера */
  #mainblock .main__slider {
    width: 100%; /* Растягиваем на всю ширину */
    height: 750px; /* Фиксированная высота для слайдера */
    padding: 0; /* Убираем лишние отступы */
    box-sizing: border-box; /* Учитываем padding в общей ширине и высоте */
    overflow: hidden; /* Скрываем элементы, которые выходят за пределы контейнера */
  }

  /* Контейнер с изображением */
  #mainblock .main__slider .box__image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Растягиваем на всю ширину */
    height: 100%; /* Высота теперь равна 100% от высоты слайдера */
    min-height: 0; /* Убираем минимальную высоту */
  }

  #mainblock .main__slider .box__image .image__inner {
    width: 450px; /* Растягиваем контейнер на всю ширину */
    height: 100%; /* Высота теперь равна 100% от высоты слайдера */
    padding: 0; /* Убираем отступы */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #mainblock .main__slider .box__image .image__inner img {
    width: 100%; /* Изображение растягивается на всю ширину */
    height: 100%; /* Изображение растягивается на всю высоту */
    object-fit: contain; /* Масштабируем изображение, чтобы оно полностью заполнило блок */
    border-radius: 10px;
  }
}


@media all and (max-width: 575px) {
  /* Общий контейнер для слайдера */
  #mainblock .main__slider {
    width: 100%; /* Растягиваем на всю ширину */
    height: 650px; /* Фиксированная высота для слайдера */
    padding: 0; /* Убираем лишние отступы */
    box-sizing: border-box; /* Учитываем padding в общей ширине и высоте */
    overflow: hidden; /* Скрываем элементы, которые выходят за пределы контейнера */
  }

  /* Контейнер с изображением */
  #mainblock .main__slider .box__image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Растягиваем на всю ширину */
    height: 100%; /* Высота теперь равна 100% от высоты слайдера */
    min-height: 0; /* Убираем минимальную высоту */
  }

  #mainblock .main__slider .box__image .image__inner {
    width: 100%; /* Растягиваем контейнер на всю ширину */
    height: 100%; /* Высота теперь равна 100% от высоты слайдера */
    padding: 0; /* Убираем отступы */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #mainblock .main__slider .box__image .image__inner img {
    width: 90%; /* Изображение растягивается на всю ширину */
    height: 90%; /* Изображение растягивается на всю высоту */
    object-fit: contain; /* Масштабируем изображение, чтобы оно полностью заполнило блок */
    border-radius: 10px;
  }
}



#catalogtop {
  padding-bottom: 35px
}
#catalogtop .box {
  margin-bottom: 40px
}
@media all and (max-width:1199px) {
  #catalogtop .box {
    margin-bottom: 30px
  }
}
#catalogtop .box .box__inner {
  color: #353535;
  max-width: 350px;
  border-radius: 20px;
  padding: 18px 26px 20px 26px;
  background: linear-gradient(180deg, rgba(157, 180, 200, 0.35) 11.84%, rgba(120, 120, 120, 0.17) 52.57%, rgba(120, 120, 120, 0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
#catalogtop .box .box__inner:hover {
  background: linear-gradient(180deg, rgba(3, 41, 86, 0.1) 0%, rgba(3, 41, 86, 0.05) 100%);
  box-shadow: 0px 4px 15px rgba(3, 41, 86, 0.15);
  transform: translateY(-5px);
  transition: 0.3s ease-in-out;
}
#catalogtop .box .box__inner:hover .bottom {
  border-radius: 15px
}
#catalogtop .box .box__inner:hover .bottom img {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg)
}
#catalogtop .box .box__inner .image {
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#catalogtop .box .box__inner .image__inner {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}
#catalogtop .box .box__inner .image__inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
#catalogtop .box .box__inner .bottom {
  text-align: center;
  padding-top: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100px;
}
#catalogtop .box .box__inner .bottom h5 {
  font-size: 18px;
  font-weight: 600;
  color: #032956;
  margin-bottom: 10px;
}
#catalogtop .box .box__inner .bottom h2 {
  color: inherit;
  font-family: OpenSans, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 121.131%;
  margin-bottom: 15px;
}
#catalogtop .box .box__inner .bottom .more {
  display: inline-block;
  height: 45px;
  font-size: 16px;
  font-weight: 600;
  color: #032956;
  border: 1px solid #032956;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s;
  margin-top: auto;
}

#catalogtop .box .box__inner .bottom .more:hover {
  background-color: #032956;
  color: #fff;
}
#catalogtop .box .box__inner .bottom img {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-transition: .15s all;
  transition: .15s all
}
article {
  font-weight: 600
}
article .aligncenter,
article div.aligncenter,
article img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto
}
article img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline
}
article img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline
}
article .alignright {
  float: right
}
article .alignleft {
  float: left
}
article h2,
article h3,
article h4,
article h5,
article h6 {
  font-weight: 700;
  margin-bottom: .625em
}
article h2 {
  font-size: 32px;
  line-height: 38px
}
article h3 {
  font-size: 26px;
  line-height: 34px
}
article h4 {
  font-size: 22px
}
article h5 {
  font-size: 18px
}
article h6 {
  font-size: 16px
}
article p {
  margin-bottom: .625em
}
article a {
  color: #00a8d2
}
article ul {
  margin-bottom: .625em;
  list-style-type: disc;
  padding-left: 15px
}
article ul ul {
  margin-bottom: 0
}
article ol li,
article ul li {
  margin-bottom: 4px
}
article ol {
  margin-bottom: .625em;
  padding-left: 15px
}
article table,
article table.wp-block-table {
  overflow-x: auto;
  width: 100%;
  text-align: left;
  margin: 0 0 33px 0;
  padding: 0;
  -webkit-box-shadow: 0 0 12px rgba(0,0,0,.08);
  box-shadow: 0 0 12px rgba(0,0,0,.08);
  border: 3px solid rgba(0,0,0,.12);
  border-spacing: 0;
  border-radius: 4px
}
article table form,
article table li,
article table p,
article table ul {
  margin: 6px 0;
  padding: 0
}
article table tfoot,
article table thead,
article table.wp-block-table tfoot,
article table.wp-block-table thead {
  border: 1px solid #ddd;
  border: 1px solid rgba(0,0,0,.12)
}
article table tbody tr:nth-child(odd) {
  background: rgba(0,0,0,.04)
}
article table th,
article table.wp-block-table th {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0;
  padding: 12px;
  border-top: 1px solid #ddd;
  border-top: 1px solid rgba(0,0,0,.12);
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}
@media all and (max-width:575px) {
  article table td,
  article table th {
    min-width: 180px
	width: 90%;
  }
}
article table td,
article table.wp-block-table td {
  padding: 12px;
  margin: 0;
  border-top: 1px solid #ddd;
  border-top: 1px solid rgba(0,0,0,.12);
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}
article table.wp-block-table.is-style-stripes {
  border-collapse: collapse
}
article table.wp-block-table.is-style-stripes td {
  border: 1px solid #ddd;
  border: 1px solid rgba(0,0,0,.12)
}
#about {
  background: rgba(80,121,171,.53);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-image: url(../img/icon_9.svg);
  padding-top: 80px;
  padding-bottom: 40px
}
@media all and (max-width:1199px) {
  #about {
    padding-top: 60px;
    padding-bottom: 20px
  }
}

#about .general {
  border: 1px solid #032956 !important;
  border-radius: 20px;
  padding: 15px 20px;
  box-sizing: border-box;
}
#about .general::after {
  content: "";
  display: table;
  clear: both;
}
#about .heading h2 {
  font-size: 52px;
  color: #032956;
}

#about .content__inner p {
  font-size: 20px;
  text-align: center;
  color: #032956;
  border: 2px solid #032956 !important;
  border-radius: 20px;
  padding: 15px 20px;
  box-sizing: border-box;
}
#about .box__content {
  margin-bottom: 45px 
}
#about .container-fluid {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden
}
#about .about__slider {
  margin-bottom: 60px
}
#about .about__slider .slide__inner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 288px;
  border: 2px solid #032956;
  overflow: hidden; /* Чтобы изображение не выходило за границы */
}

#about .about__slider .slide__inner a img {
  object-fit: cover; /* Заполняет контейнер без пустот */
  object-position: center;
  width: 100%;
  height: 100%;
}
/* Адаптация блоков .box__advantages для мобильных устройств */
#about .box__advantages {
  display: flex;
  flex-wrap: wrap; /* Элементы будут переходить на следующий ряд */
  justify-content: space-between; /* Равномерно распределяем элементы */
  gap: 20px; /* Добавляем промежуток между элементами */
}

#about .box__advantages .box__inner {
  width: 48%; /* Для мобильных устройств элементы занимают 48% ширины */
  text-align: center;
}

#about .box__advantages .box__inner .icon {
  margin-bottom: 10px;
}

#about .box__advantages .box__inner h5 {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px; /* Меньший размер шрифта */
  margin-bottom: 15px;
}

@media all and (max-width: 575px) {
  #about .box__advantages .box__inner h5 {
    font-size: 12px; /* Еще меньший размер шрифта для совсем маленьких экранов */
  }
	#about .content__inner p {
		font-size: 16px;
	}
	#about .heading h2 {
  font-size: 32px;
}
}




#maincatalog {
  position: relative;
  padding-top: 70px;
  padding-bottom: 64px;
  z-index: 2;
  background: linear-gradient(181deg,rgba(80,121,171,.53) .97%,#f3f4fc 76.95%)
}

#maincatalog h2 {
  color: #032956;
}
@media all and (max-width:1199px) {
  #maincatalog {
    padding-top: 60px;
    padding-bottom: 44px
  }
}
#maincatalog:after {
  position: absolute;
  content: "";
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(../img/11.png);
  bottom: 190px;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 530px;
  z-index: -1
}
@media all and (max-width:1199px) {
  #maincatalog:after {
    display: none
  }
}
#maincatalog.page {
  padding-top: 0;
  padding-bottom: 30px;
  background: inherit
}
#maincatalog.page:after {
  display: none
}
#maincatalog .box {
  margin-bottom: 60px
}
@media all and (max-width:1199px) {
  #maincatalog .box {
    margin-bottom: 40px
  }
}
#maincatalog .box .box__inner {
  color: #032956;
  max-width: 350px;
  border-radius: 20px;
  padding: 18px 26px 20px 26px;
  background: linear-gradient(180deg, rgba(156, 184, 208, 0.35) 11.84%, rgba(120, 120, 120, 0.17) 52.57%, rgba(120, 120, 120, 0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#maincatalog .box .box__inner h2 {
  color: #032956;
}
#maincatalog .box .box__inner:hover {
  background: linear-gradient(180deg, rgba(3, 41, 86, 0.1) 0%, rgba(3, 41, 86, 0.05) 100%);
  box-shadow: 0px 4px 15px rgba(3, 41, 86, 0.15);
  transform: translateY(-5px);
  transition: 0.3s ease-in-out;
}
#maincatalog .box .box__inner:hover .bottom {
  border-bottom: 1px solid transparent
}
#maincatalog .box .box__inner .bottom .more:hover {
  background-color: #032956;
  color: #c0e8ff
}
#maincatalog .box .box__inner:hover .bottom .more:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #c0e8ff
}

#maincatalog .box .box__inner .image {
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#maincatalog .box .box__inner .image__inner {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}
@media all and (max-width:1199px) {
  #maincatalog .box .box__inner .image__inner {
    max-width: 250px;
    height: 250px;
  }
}
#maincatalog .box .box__inner .image__inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
#maincatalog .box .box__inner .bottom {
  text-align: center;
  padding-top: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100px;
}


#maincatalog .box .box__inner .bottom h5 {
  font-size: 18px;
  font-weight: 600;
  color: #032956;
  margin-bottom: 10px;
}
#maincatalog .box .box__inner .bottom h2 {
  color: inherit;
  font-family: OpenSans,sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 121.131%;
  margin-bottom: 15px
}
.woocommerce-loop-category__title mark {
  display: none;
}
#maincatalog .box .box__inner .bottom .more {
  display: inline-block;
  height: 45px;
  font-size: 16px;
  font-weight: 600;
  color: #032956;
  border: 1px solid #032956;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s;
  margin-top: auto;
}
#maincatalog .box .box__inner .bottom .more,
#maincatalog .box .box__inner2 .bottom .more {
  width: 100%;
  text-align: center;
}

#maincatalog .box .box__inner .bottom .more:hover {
  background-color: #032956;
  color: #fff;
}

#maincatalog .box .box__inner2 {
  color: #353535;
  max-width: 350px;
  border-radius: 20px;
  padding: 18px 26px 20px 26px;
  background: linear-gradient(180deg, rgba(115, 160, 198, 0.35) 11.84%, rgba(84, 107, 163, 0.17) 52.57%, rgba(120, 120, 120, 0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#maincatalog .box .box__inner2:hover {
  background: linear-gradient(180deg, rgba(3, 41, 86, 0.1) 0%, rgba(3, 41, 86, 0.05) 100%);
  box-shadow: 0px 4px 15px rgba(3, 41, 86, 0.15);
  transform: translateY(-5px);
  transition: 0.3s ease-in-out;
}
#maincatalog .box .box__inner2:hover .bottom {
  border-bottom: 1px solid transparent
}
#maincatalog .box .box__inner2 .bottom .more:hover {
  background-color: #032956;
  color: #c0e8ff
}
#maincatalog .box .box__inner2:hover .bottom .more:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #c0e8ff
}
#maincatalog .box .box__inner2 .image {
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#maincatalog .box .box__inner2 .image__inner {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}
@media all and (max-width:1199px) {
  #maincatalog .box .box__inner2 .image__inner {
    max-width: 250px;
    height: 250px;
  }
}
#maincatalog .box .box__inner2 .image__inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
#maincatalog .box .box__inner2 .bottom {
  text-align: center;
  padding-top: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100px;
}


#maincatalog .box .box__inner2 .bottom h5 {
  font-size: 18px;
  font-weight: 600;
  color: #032956;
  margin-bottom: 10px;
}
#maincatalog .box .box__inner2 .bottom h2 {
  color: inherit;
  font-family: OpenSans,sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 121.131%;
  margin-bottom: 15px
}
.woocommerce-loop-category__title mark {
  display: none;
}
#maincatalog .box .box__inner2 .bottom .more {
  display: inline-block;
  height: 45px;
  font-size: 16px;
  font-weight: 600;
  color: #032956;
  border: 1px solid #032956;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s;
  margin-top: auto;
}


#maincatalog .box .box__inner2 .bottom .more:hover {
  background-color: #032956;
  color: #fff;
}
#maincatalog .box__btn .btn {
  max-width: 386px;
  width: 100%
}
#maincatalog .equipment {
  padding-top: 137px
}
@media all and (max-width:1199px) {
  #maincatalog .equipment {
    padding-top: 60px
  }
}
#maincatalog .equipment .heading {
  margin-bottom: 74px
}
@media all and (max-width:1199px) {
  #maincatalog .equipment .heading {
    margin-bottom: 40px
  }
}
@media all and (max-width:575px) {
  #maincatalog .equipment .heading {
    margin-bottom: 30px
  }
}
#maincatalog .equipment .text article:first-child {
  max-width: 810px;
  width: 100%
}
@media all and (max-width:1199px) {
  #maincatalog .equipment .text article:first-child {
    max-width: none
  }
}

@media all and (max-width: 575px) {
  /* Новые стили для h2 как в maincatalog__2 */
  #maincatalog .box .box__inner .bottom h2,
  #maincatalog .box .box__inner2 .bottom h2 {
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1.15;
    margin-bottom: 12px;
    word-break: break-word;
  }
}

@media all and (max-width: 575px) {
  #catalogtop, #maincatalog {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #catalogtop .box, 
  #maincatalog .box {
    width: 48%; /* Два товара в ряд */
    margin-bottom: 15px; /* Отступ между рядами */
  }

  #catalogtop .box .box__inner, 
  #maincatalog .box .box__inner {
    max-width: 100%;
    padding: 12px; /* Уменьшаем внутренние отступы */
  }

  #catalogtop .box .box__inner .image, 
  #maincatalog .box .box__inner .image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Сохраняет квадратные пропорции */
  }

  #catalogtop .box .box__inner .image__inner img, 
  #maincatalog .box .box__inner .image__inner img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Предотвращает растяжение */
  }
}

@media all and (max-width: 575px) {
  #maincatalog {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #maincatalog .box {
    width: 48%; /* Два товара в ряд */
    margin-bottom: 15px;
  }

  #maincatalog .box .box__inner, 
  #maincatalog .box .box__inner2 {
    max-width: 100%;
    padding: 12px;
  }

  #maincatalog .box .box__inner .image, 
  #maincatalog .box .box__inner2 .image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Сохраняем квадратные пропорции */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #maincatalog .box .box__inner .image__inner img, 
  #maincatalog .box .box__inner2 .image__inner img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Предотвращает растяжение */
  }
}

#maincatalog .btn-group-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* отступы между кнопками */
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* Если нужно, можно отдельно настроить поведение на мобильных */
@media all and (max-width: 575px) {
  #maincatalog .btn-group-wrap {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  #maincatalog .btn-group-wrap .btn {
    width: 100%;
    text-align: center;
  }
}

/* ========== Планшеты (iPad, экраны 768–1024px) для maincatalog ========== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* 1) Корректируем сам контейнер карточки: пусть занимает всю ширину колонки */
  #maincatalog .box {
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 18px;
  }

  #maincatalog .box .box__inner,
  #maincatalog .box .box__inner2 {
    width: 100% !important;        /* отменяем фиксированную ширину */
    max-width: none !important;    /* убираем max-width: 350px */
    align-items: stretch;          /* содержимое не центрируется по вертикали */
    padding: 14px 16px;
    box-sizing: border-box;
    min-height: 0;                 /* убираем принудительную высоту */
  }

  /* 2) Белый квадрат с изображением — делаем адаптивным */
  #maincatalog .box .box__inner .image,
  #maincatalog .box .box__inner2 .image {
    width: 100%;                    /* занимает доступную ширину */
    max-width: 220px;              /* но не более 220px */
    height: auto;                  /* высота рассчитывается через aspect-ratio */
    aspect-ratio: 1 / 1;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    overflow: hidden;
  }

  /* Внутренний контейнер под картинку */
  #maincatalog .box .box__inner .image__inner,
  #maincatalog .box .box__inner2 .image__inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Картинка / видео — вписываются полностью */
  #maincatalog .image__inner img,
  #maincatalog .image__inner video {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  /* 3) Уменьшаем вертикальную растянутость нижнего блока */
  #maincatalog .box .box__inner .bottom,
  #maincatalog .box .box__inner2 .bottom {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 0;
    align-items: center;
    justify-content: flex-start;
  }

  /* 4) Заголовки и кнопка */
  #maincatalog .box .box__inner .bottom h5,
  #maincatalog .box .box__inner2 .bottom h5 {
    font-size: 15px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: 8px;
  }

  #maincatalog .box .box__inner .bottom .more,
  #maincatalog .box .box__inner2 .bottom .more {
    height: 42px;
    padding: 0 10px;
    font-size: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
  }

  /* 5) Сетка: 3 карточки в ряд (как в __2) */
  #maincatalog .box {
    width: 33.3333% !important;
  }

  /* 6) Предотвращаем горизонтальный скролл */
  #maincatalog .product__list,
  #maincatalog .box {
    overflow: visible;
  }
}


/* ===== Мобильные устройства (до 575px) – общий блок для catalogtop и maincatalog ===== */
@media all and (max-width: 575px) {

    /* Контейнеры – flex, две колонки */
    #catalogtop,
    #maincatalog {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* Карточки – 48% ширины, с отступом снизу */
    #catalogtop .box,
    #maincatalog .box {
        width: 48%;               /* как в catalogtop */
        margin-bottom: 15px;      /* отступ между рядами */
    }

    /* Внутренний блок карточки (учитываем оба варианта: box__inner и box__inner2) */
    #catalogtop .box .box__inner,
    #maincatalog .box .box__inner,
    #maincatalog .box .box__inner2 {
        max-width: 100%;
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;   /* ключевое свойство – прижимает кнопку вниз */
        align-items: center;
        height: 100%;                     /* чтобы карточки в ряду были одной высоты */
    }

    /* Блок с изображением – адаптивный квадрат */
    #catalogtop .box .box__inner .image,
    #maincatalog .box .box__inner .image,
    #maincatalog .box .box__inner2 .image {
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-bottom: 15px;
    }

    /* Изображение – полностью вписывается */
    #catalogtop .box .box__inner .image__inner img,
    #maincatalog .box .box__inner .image__inner img,
    #maincatalog .box .box__inner2 .image__inner img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Нижний блок – забирает свободное пространство (flex-grow:1) */
    #catalogtop .box .box__inner .bottom,
    #maincatalog .box .box__inner .bottom,
    #maincatalog .box .box__inner2 .bottom {
        text-align: center;
        padding-top: 10px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100px;        /* как в catalogtop */
    }

    /* Кнопка – прижимается к низу за счёт margin-top: auto */
    #catalogtop .box .box__inner .bottom .more,
    #maincatalog .box .box__inner .bottom .more,
    #maincatalog .box .box__inner2 .bottom .more {
        margin-top: auto;
    }
}

#maincatalog__2 {
  position: relative;
  padding-top: 70px;
  padding-bottom: 64px;
  z-index: 2;
  background: linear-gradient(181deg,rgba(80,121,171,.53) .97%,#f3f4fc 76.95%)
}
@media all and (max-width:1199px) {
  #maincatalog__2 {
    padding-top: 60px;
    padding-bottom: 44px
  }
}
#maincatalog__2:after {
  position: absolute;
  content: "";
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(../img/11.png);
  bottom: 190px;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 530px;
  z-index: -1
}
@media all and (max-width:1199px) {
  #maincatalog__2:after {
    display: none
  }
}
#maincatalog__2.page {
  padding-top: 0;
  padding-bottom: 30px;
  background: inherit
}
#maincatalog__2.page:after {
  display: none
}
#maincatalog__2 .box {
  margin-bottom: 60px
}
@media all and (max-width:1199px) {
  #maincatalog__2 .box {
    margin-bottom: 40px
  }
}
#maincatalog__2 .box .box__inner {
  color: #032956;
  max-width: 350px;
  border-radius: 20px;
  padding: 18px 26px 20px 26px;
  background: linear-gradient(180deg, rgba(156, 184, 208, 0.35) 11.84%, rgba(120, 120, 120, 0.17) 52.57%, rgba(120, 120, 120, 0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#maincatalog__2 .box .box__inner:hover {
  background: linear-gradient(180deg, rgba(3, 41, 86, 0.1) 0%, rgba(3, 41, 86, 0.05) 100%);
  box-shadow: 0px 4px 15px rgba(3, 41, 86, 0.15);
  transform: translateY(-5px);
  transition: 0.3s ease-in-out;
}
#maincatalog__2 .box .box__inner:hover .bottom {
  border-bottom: 1px solid transparent
}
#maincatalog__2 .box .box__inner .bottom .more:hover {
  background-color: #032956;
  color: #c0e8ff
}
#maincatalog__2 .box .box__inner:hover .bottom .more:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #c0e8ff
}

#maincatalog__2 .box .box__inner .image {
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#maincatalog__2 .box .box__inner .image__inner {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}
@media all and (max-width:1199px) {
  #maincatalog__2 .box .box__inner .image__inner {
    max-width: 250px;
    height: 250px;
  }
}
#maincatalog__2 .box .box__inner .image__inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
#maincatalog__2 .box .box__inner .bottom {
  text-align: center;
  padding-top: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100px;
}


#maincatalog__2 .box .box__inner .bottom h5 {
  font-size: 18px;
  font-weight: 600;
  color: #032956;
  margin-bottom: 10px;
}
#maincatalog__2 .box .box__inner .bottom h2 {
  color: inherit;
  font-family: OpenSans,sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 121.131%;
  margin-bottom: 15px
}
.woocommerce-loop-category__title mark {
  display: none;
}
#maincatalog__2 .box .box__inner .bottom .more {
  display: inline-block;
  height: 45px;
  font-size: 16px;
  font-weight: 600;
  color: #032956;
  border: 1px solid #032956;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s;
  margin-top: auto;
}
#maincatalog__2 .box .box__inner .bottom .more,
#maincatalog__2 .box .box__inner2 .bottom .more {
  width: 100%;
  text-align: center;
}

#maincatalog__2 .box .box__inner .bottom .more:hover {
  background-color: #032956;
  color: #fff;
}

#maincatalog__2 .box .box__inner2 {
  color: #353535;
  max-width: 350px;
  border-radius: 20px;
  padding: 18px 26px 20px 26px;
  background: linear-gradient(180deg, rgba(115, 160, 198, 0.35) 11.84%, rgba(84, 107, 163, 0.17) 52.57%, rgba(120, 120, 120, 0) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#maincatalog__2 .box .box__inner2:hover {
  background: linear-gradient(180deg, rgba(3, 41, 86, 0.1) 0%, rgba(3, 41, 86, 0.05) 100%);
  box-shadow: 0px 4px 15px rgba(3, 41, 86, 0.15);
  transform: translateY(-5px);
  transition: 0.3s ease-in-out;
}
#maincatalog__2 .box .box__inner2:hover .bottom {
  border-bottom: 1px solid transparent
}
#maincatalog__2 .box .box__inner2 .bottom .more:hover {
  background-color: #032956;
  color: #c0e8ff
}
#maincatalog__2 .box .box__inner2:hover .bottom .more:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #c0e8ff
}
#maincatalog__2 .box .box__inner2 .image {
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#maincatalog__2 .box .box__inner2 .image__inner {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}
@media all and (max-width:1199px) {
  #maincatalog__2 .box .box__inner2 .image__inner {
    max-width: 250px;
    height: 250px;
  }
}
#maincatalog__2 .box .box__inner2 .image__inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
#maincatalog__2 .box .box__inner2 .bottom {
  text-align: center;
  padding-top: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100px;
}


#maincatalog__2 .box .box__inner2 .bottom h5 {
  font-size: 18px;
  font-weight: 600;
  color: #032956;
  margin-bottom: 10px;
}
#maincatalog__2 .box .box__inner2 .bottom h2 {
  color: inherit;
  font-family: OpenSans,sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 121.131%;
  margin-bottom: 15px
}
.woocommerce-loop-category__title mark {
  display: none;
}
#maincatalog__2 .box .box__inner2 .bottom .more {
  display: inline-block;
  height: 45px;
  font-size: 16px;
  font-weight: 600;
  color: #032956;
  border: 1px solid #032956;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s;
  margin-top: auto;
}


#maincatalog__2 .box .box__inner2 .bottom .more:hover {
  background-color: #032956;
  color: #fff;
}
#maincatalog__2 .box__btn .btn {
  max-width: 386px;
  width: 100%
}
#maincatalog__2 .equipment {
  padding-top: 137px
}
@media all and (max-width:1199px) {
  #maincatalog__2 .equipment {
    padding-top: 60px
  }
}
#maincatalog__2 .equipment .heading {
  margin-bottom: 74px
}
@media all and (max-width:1199px) {
  #maincatalog__2 .equipment .heading {
    margin-bottom: 40px
  }
}
@media all and (max-width:575px) {
  #maincatalog__2 .equipment .heading {
    margin-bottom: 30px
  }
}
#maincatalog__2 .equipment .text article:first-child {
  max-width: 810px;
  width: 100%
}
@media all and (max-width:1199px) {
  #maincatalog__2 .equipment .text article:first-child {
    max-width: none
  }
}


@media all and (max-width: 575px) {
  #maincatalog__2top, #maincatalog__2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #maincatalog__2top .box, 
  #maincatalog__2 .box {
    width: 48%; /* Два товара в ряд */
    margin-bottom: 15px; /* Отступ между рядами */
  }

  #maincatalog__2top .box .box__inner, 
  #maincatalog__2 .box .box__inner {
    max-width: 100%;
    padding: 12px; /* Уменьшаем внутренние отступы */
  }

  #maincatalog__2top .box .box__inner .image, 
  #maincatalog__2 .box .box__inner .image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Сохраняет квадратные пропорции */
  }

  #maincatalog__2top .box .box__inner .image__inner img, 
  #maincatalog__2 .box .box__inner .image__inner img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Предотвращает растяжение */
  }
}

@media all and (max-width: 575px) {
  #maincatalog__2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #maincatalog__2 .box {
    width: 48%; /* Два товара в ряд */
    margin-bottom: 15px;
  }

  #maincatalog__2 .box .box__inner, 
  #maincatalog__2 .box .box__inner2 {
    max-width: 100%;
    padding: 12px;
  }

  #maincatalog__2 .box .box__inner .image, 
  #maincatalog__2 .box .box__inner2 .image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Сохраняем квадратные пропорции */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #maincatalog__2 .box .box__inner .image__inner img, 
  #maincatalog__2 .box .box__inner2 .image__inner img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Предотвращает растяжение */
  }
}

#maincatalog__2 .btn-group-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* отступы между кнопками */
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* Если нужно, можно отдельно настроить поведение на мобильных */
@media all and (max-width: 575px) {
  #maincatalog__2 .btn-group-wrap {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  #maincatalog__2 .btn-group-wrap .btn {
    width: 100%;
    text-align: center;
  }
}

.product__list { 
  margin-left: -20px; 
  margin-right: -20px; 
}
.product__list > .product-item,
#maincatalog__2 .box {
  padding-left: 20px;
  padding-right: 20px;
}


/* контейнер */
#maincatalog__2 .box .box__inner .image,
#maincatalog__2 .box .box__inner2 .image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 250px;
  height: 250px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

/* inner container */
#maincatalog__2 .box .box__inner .image__inner,
#maincatalog__2 .box .box__inner2 .image__inner {
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  overflow:hidden;
  aspect-ratio: 1 / 1;
}

/* img / video — гарантированно помещаются полностью, не обрезаются */
#maincatalog__2 .image__inner img,
#maincatalog__2 .image__inner video,
#maincatalog__2 .image__inner picture,
#maincatalog__2 .image__inner source {
  box-sizing: border-box;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}




#maincatalog__2 .box .box__inner .bottom .more,
#maincatalog__2 .box .box__inner2 .bottom .more {
  display: flex !important;           /* важное — чтобы перекрыть display:block */
  align-items: center;                /* вертикальное центрирование */
  justify-content: center;            /* горизонтальное центрирование */
  width: 100%;
  box-sizing: border-box;
  height: 44px;                       /* фиксированная высота на десктопе */
  padding: 0 12px;                    /* горизонтальные паддинги (вертикаль убрана) */
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;                /* на больших экранах не переносим */
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: normal;                /* сбрасываем прежний line-height */
}


#maincatalog__2 .box .box__inner .bottom h5,
#maincatalog__2 .box .box__inner2 .bottom h5 {
  font-size: 16px; /* немного уменьшили */
  font-weight: 600;
  color: #032956;
  margin-bottom: 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* ограничим двумя строками */
  -webkit-box-orient: vertical;
}


#maincatalog__2 .box .box__inner .bottom h2 {
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.15;
  margin-bottom: 12px;
  word-break: break-word;
}


@media (max-width: 575px) {
  /* делаем карточки плотнее */
  #maincatalog__2 .box {
    width: 48%;   /* два в ряд */
    margin-bottom: 10px; /* уменьшили отступ между рядами */
    padding-left: 6px;
    padding-right: 6px;
  }
  #maincatalog__2 .box .box__inner {
    padding: 10px;
  }
  #maincatalog__2 .box .box__inner .image {
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 100%;
  }
  #maincatalog__2 .box .box__inner .bottom .more {
    height: 40px;
    font-size: 14px;
    padding: 8px 10px;
  }
	.product__list { 
  margin-left: -3px; 
  margin-right: -3px; 
}
	.product__list > .product-item,
	#maincatalog__2 .box {
  padding-left: 3px;
  padding-right: 3px;
  box-sizing: border-box;
}
}


/* ========== iPad / small tablet fixes (768px - 1024px) ========== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* 1) Корректируем сам контейнер карточки: пусть занимает всю ширину колонки */
  #maincatalog__2 .box {
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 18px;
  }

  #maincatalog__2 .box .box__inner,
  #maincatalog__2 .box .box__inner2 {
    width: 100% !important;        /* важное — чтобы не превышало ширину колонки */
    max-width: none !important;    /* отменяем фиксированный max-width:350px */
    align-items: stretch;          /* чтобы содержимое не центрировалось и не растягивало карточку */
    padding: 14px 16px;
    box-sizing: border-box;
    min-height: 0;                 /* убираем принудительную высоту, чтобы flex не растягивал */
  }

  /* 2) Белый квадрат с изображением — уменьшаем относительно колонки */
  /* делаем его адаптивным: не фиксированный px, а процент ширины карточки */
  #maincatalog__2 .box .box__inner .image,
  #maincatalog__2 .box .box__inner2 .image {
    width: 100%;                    /* 70% от ширины карточки — центрируется ниже */
    max-width: 220px;              /* но не больше 220px */
    height: auto;                  /* высота будет рассчитываться через aspect-ratio */
    aspect-ratio: 1 / 1;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    overflow: hidden;
  }

  /* внутренний контейнер под картинку — занимает всю площадь image */
  #maincatalog__2 .box .box__inner .image__inner,
  #maincatalog__2 .box .box__inner2 .image__inner {
    width: 100%;
    height: 100%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing: border-box;
    overflow:hidden;
  }

  /* картинка / видео — вписываемся в image__inner */
  #maincatalog__2 .image__inner img,
  #maincatalog__2 .image__inner video {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  /* 3) Уменьшаем вертикальную растянутость bottom */
  #maincatalog__2 .box .box__inner .bottom,
  #maincatalog__2 .box .box__inner2 .bottom {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 0;
    align-items: center;
    justify-content: flex-start;
  }

  /* 4) Защита для заголовков и кнопки */
  #maincatalog__2 .box .box__inner .bottom h5,
  #maincatalog__2 .box .box__inner2 .bottom h5 {
    font-size: 15px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: 8px;
  }

  #maincatalog__2 .box .box__inner .bottom .more,
  #maincatalog__2 .box .box__inner2 .bottom .more {
    height: 42px;
    padding: 0 10px;
    font-size: 14px;
    display:flex !important;
    align-items:center;
    justify-content:center;
    white-space: nowrap;
    box-sizing: border-box;
  }

  /* 5) Если используется сетка 3 в ряд — явная ширина карточки 33.33% */
  #maincatalog__2 .box {
    width: 33.3333% !important;
  }

  /* 6) Небольшая страховка: если какие-то элементы имели margin/proportions, убираем горизонтальный overflow */
  #maincatalog__2 .product__list,
  #maincatalog__2 .box,
  #maincatalog__2 .box .box__inner {
    overflow: visible;
  }

}

@media (max-width: 575px) {
  #maincatalog__2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 6px;
    padding-right: 6px;
  }
  #maincatalog__2 .box {
    width: calc(50% - 6px); /* 6px – зазор между карточками */
    margin-bottom: 12px;
    padding: 0; /* внешние отступы уже не нужны */
  }
  #maincatalog__2 .box .box__inner {
    padding: 10px;
  }
}

@media (max-width: 575px) {
  #maincatalog__2 .box {
    width: calc(50% - 12px); /* 12px = сумма горизонтальных padding-left + padding-right */
    margin-bottom: 10px;
    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;
  }
}

@media (max-width: 575px) {
  #maincatalog__2 .box .box__inner .image {
    max-width: 100%;   /* не больше ширины родителя */
    height: auto;
    aspect-ratio: 1/1; /* сохраняем квадрат */
  }
}

#maincatalog__2 {
  overflow-x: hidden;
}






#contacts {
  color: #f3f4fc;
  background-color: #032956;
  padding-top: 80px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-image: url(../img/icon_19.svg)
}
@media all and (max-width:1199px) {
  #contacts {
    padding-top: 60px
  }
}
#contacts .wrapper {
  border-bottom: 1px solid #c0e8ff;
  padding-bottom: 80px
}
@media all and (max-width:1199px) {
  #contacts .wrapper {
    padding-bottom: 60px
  }
}
#contacts .contacts__content .content__inner {
  border-top: 1px solid #c0e8ff;
  margin-top: 34px;
  padding-top: 30px
}
@media all and (max-width:1199px) {
  #contacts .contacts__content .content__inner {
    margin-top: 0
  }
}
#contacts .contacts__content .content__inner .box {
  margin-bottom: 30px
}
#contacts .contacts__content .content__inner .box .box__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start
}
#contacts .contacts__content .content__inner .box .box__inner .icon {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 15px
}
#contacts .contacts__content .content__inner .box .box__inner .text h6 {
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 4px
}
#contacts .contacts__content .content__inner .box .box__inner .text p {
  font-weight: 700;
  font-size: 20px;
  line-height: 27px
}
#contacts .contacts__content .content__inner .box .box__inner .text a {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  color: #f3f4fc
}
#contacts .contacts__content .content__inner .box .box__inner .text .email-text {
  font-weight: 300!important;
  font-size: 13px!important;
  line-height: 10px!important;
  margin-bottom: 15px
}
#contacts .contacts__content .content__inner .map .map__inner {
  border-radius: 25px;
  overflow: hidden;
  width: 100%;
  height: 300px
}
#contacts .contacts__content .content__inner .map .map__inner iframe {
  width: 100%;
  height: 100%
}
#footer {
  color: #f3f4fc;
  background-color: #032956;
  padding-top: 18px
}
#footer .footer__item {
  margin-bottom: 26px
}
#footer .footer__logo img {
  width: 100px;
  height: 100px
}
#footer h5 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: OpenSans,sans-serif;
  font-weight: 500;
  text-decoration: underline;
  margin-bottom: 24px;
  color: #c0e8ff
}
@media all and (max-width:991px) {
  #footer h5 {
    margin-bottom: 16px
  }
}
#footer h5 img {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 15px
}
#footer .footer__menu {
  padding-top: 18px
}
@media all and (max-width:991px) {
  #footer .footer__menu {
    padding-top: 0
  }
}
#footer .footer__menu .menu__inner ul {
  padding-left: 35px
}
@media all and (max-width:991px) {
  #footer .footer__menu .menu__inner ul {
    padding-left: 0
  }
}
#footer .footer__menu .menu__inner ul li:not(:last-child) {
  margin-bottom: 10px
}
#footer .footer__menu .menu__inner ul li.current-menu-item a {
  text-decoration: underline
}
#footer .footer__menu .menu__inner ul li a {
  color: #f3f4fc;
  display: inline-block
}
#footer .footer__menu .menu__inner ul li a:hover {
  text-decoration: underline
}
#footer .footer__contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding-top: 18px
}
@media all and (max-width:991px) {
  #footer .footer__contacts {
    display: block;
    padding-top: 0
  }
}
#footer .footer__contacts .contacts__inner ul {
  margin-bottom: 60px
}
@media all and (max-width:991px) {
  #footer .footer__contacts .contacts__inner ul {
    margin-bottom: 24px
  }
}
#footer .footer__contacts .contacts__inner ul li:not(:last-child) {
  margin-bottom: 10px
}
#footer .footer__contacts .contacts__inner ul li a {
  display: inline-block;
  font-weight: 600;
  font-size: 17px;
  line-height: 29px;
  color: #f3f4fc
}
#footer .footer__contacts .contacts__inner .mail {
  font-weight: 600;
  font-size: 17px;
  line-height: 29px;
  color: #f3f4fc
}
#footer .footer__contacts .contacts__inner .mail .email-text {
  font-weight: 300!important;
  font-size: 13px!important;
  line-height: 10px!important;
  margin-bottom: 15px
}
#footer .footer__social .social__inner h6 {
  font-family: OpenSans,sans-serif;
  font-weight: 500;
  color: #c0e8ff;
  font-size: 18px;
  margin-bottom: 15px
}
#footer .footer__copyright {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end
}
#footer .footer__copyright .copyright__inner p {
  color: #c0e8ff
}


#breadcrumbs {
  margin-bottom: 46px
}
@media all and (max-width:991px) {
  #breadcrumbs {
    margin-top: 60px;
    margin-bottom: 30px
  }
}
#breadcrumbs .breadcrumbs {
  color: #032956
}
#breadcrumbs .breadcrumbs span {
  color: #032956;
  display: inline-block;
  font-weight: 600
}
#breadcrumbs .breadcrumbs span a {
  color: #032956;
  display: inline-block
}
#breadcrumbs .breadcrumbs span a span {
  color: rgba(120,120,120,.8)
}
#breadcrumbs .breadcrumbs .sep {
  width: 20px;
  height: 1px;
  background-color: rgba(120,120,120,.8);
  position: relative;
  top: -4px
}
#page .page__heading {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center; /* Центрируем текст */
}

#page .page__heading h1 {
  align-items: left;
  justify-content: left;
  text-align: left; /* Центрируем текст */
}

#page .page__heading h3 {
  align-items: center;
  font-family: OpenSans, sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 53px;
  text-transform: uppercase;
  color: #353535;
  margin-bottom: 20px; /* Отступ между заголовком и текстом */
}

#page .page__heading .content {
  max-width: 800px; /* Ограничиваем максимальную ширину текста */
  width: 100%; /* Текст растягивается на всю доступную ширину */
  font-family: OpenSans, sans-serif;
  font-size: 18px;
  color: #353535;
  margin: 0 auto; /* Центрируем текст по горизонтали */
}

#page .page__heading p {
  font-family: OpenSans, sans-serif;
  font-size: 18px;
}

/* Адаптивность для меньших экранов */
@media all and (max-width: 575px) {
  #page .page__heading h3 {
    font-size: 32px;
    line-height: 120%;
  }
}

@media all and (max-width: 991px) {
  #page .page__heading .content {
    padding-top: 20px;
  }
}
#page .page__servicecenter {
  padding-bottom: 36px
  padding-left: 60px;
  padding-right: 60px;
  margin-left:60px;
}

@media all and (max-width: 991px) {
	#page .page__servicecenter {
	  padding-bottom: 36px
	  padding-left: 20px;
	  padding-right: 20px;
	  margin-left:20px;
	}
}
#page .page__servicecenter article {
  display: flex; /* Используем flexbox для размещения изображения и текста */
  align-items: justify; /* Центрируем по вертикали */
  justify-content: space-between; /* Расстояние между изображением и текстом */
  text-align: justify;
}

#page .page__servicecenter article img {
  width: 50%; /* Изображение занимает 50% ширины */
  height: auto; /* Сохраняет пропорции */
  border-radius: 20px; /* Закругленные края */
  object-fit: contain; /* Подгоняет изображение по размеру, не растягивая */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Добавляет легкую тень для эффекта */
  margin-right: 20px; /* Отступ между изображением и текстом */
}

#page .page__servicecenter article .page__servicecenter_text {
  font-family: OpenSans, sans-serif;
  font-size: 18px;
  width: 50%; /* Текст занимает оставшуюся 50% ширины */
  padding-left: 20px; /* Немного отступа слева от текста */
  text-align: justify;
}

@media all and (max-width: 991px) {
	
	#page .page__servicecenter article {
	  flex-direction: column; /* Изменяем направление flex на column, чтобы текст был под изображением */
      align-items: center; /* Центрируем элементы по горизонтали */
	}
	#page .page__servicecenter article img {
	  width: 100%; /* Изображение занимает 50% ширины */
	  height: auto; /* Сохраняет пропорции */
	  border-radius: 20px; /* Закругленные края */
	  object-fit: contain; /* Подгоняет изображение по размеру, не растягивая */
	  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Добавляет легкую тень для эффекта */
	  margin-right: 20px; /* Отступ между изображением и текстом */
	}

	#page .page__servicecenter article .page__servicecenter_text {
	  font-family: OpenSans, sans-serif;
	  font-size: 18px;
	  width: 100%; /* Текст занимает оставшуюся 50% ширины */
	  padding-left: 20px; /* Немного отступа слева от текста */
	}
}


@media all and (max-width:575px) {
  #page .page__servicecenter article img {
    border-radius: 20px
  }
}
#page .page__servicecenter .box__btn {
  max-width: 597px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  padding-top: 20px;
  margin-bottom: 70px
}
@media all and (max-width:1199px) {
  #page .page__servicecenter .box__btn {
    margin-bottom: 60px
  }
}

#page .page__servicecenter .certificates .sert__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

@media all and (max-width: 991px) {
    #page .page__servicecenter .certificates .sert__grid {
        grid-template-columns: 1fr;
    }
}

#page .page__servicecenter .certificates .sert__title {
    margin-bottom: 20px;
}

#page .page__servicecenter .certificates .sert__title .title__inner {
    max-width: 610px;
	margin: 0 auto; /* Центрирование блока */
    text-align: center; /* Центрирование текста */
}

#page .page__servicecenter .certificates .sert__title .title__inner p {
    font-size: 18px;
    font-weight: 700;
}

#page .page__servicecenter .certificates .sert__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: rgba(80,121,171,.1); /* немного фона для визуального объединения */
    border-radius: 20px;
    padding: 10px;
    box-sizing: border-box;
}

#page .page__servicecenter .certificates .sert__item .item__inner {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#page .page__servicecenter .certificates .sert__item .item__inner:hover {
    text-decoration: underline;
}

#page .page__servicecenter .certificates .sert__item .item__inner img {
    flex-shrink: 0;
    margin-right: 16px;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

#page .page__servicecenter .certificates .sert__item .item__inner p {
    font-weight: 600;
	font-size: 15px;
    margin: 0;
}

@media all and (max-width: 991px) {
    #page .page__servicecenter .certificates .sert__item .item__inner p {
        font-size: 14px;
    }
}

#page .page__servicecenter .certificates .gallery-grid {
    display: flex;
    justify-content: center;
    gap: 13px;
    margin-top: auto;
    margin-bottom: 5px;
}

#page .page__servicecenter .certificates .gallery-item img {
    width: 110px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #032956;
    display: block;
    pointer-events: none; /* делает изображение некликабельным */
    user-drag: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Отступ после всех сертификатов */
#page .page__servicecenter .certificates {
    margin-bottom: 20px;
}

@media all and (max-width: 767px) {
    #page .page__servicecenter .certificates .gallery-grid {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    #page .page__servicecenter .certificates .gallery-item img {
        height: 120px;
        width: 80px;
	    pointer-events: none; /* делает изображение некликабельным */
		user-drag: none;
		user-select: none;
		-webkit-user-drag: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
    }
}


#page .page__contacts {
  padding-bottom: 80px
  padding-left: 60px;
  padding-right: 60px;
  margin-left: 60px; 
  margin-bottom: 30px
}
@media all and (max-width:991px) {
  #page .page__contacts {
    padding-bottom: 20px
	padding-left: 20px;
	padding-right: 20px;
	margin-left: 20px; 
  }
}
#page .page__contacts .box.box-right .box__inner {
  padding-left: 10px
}
@media all and (max-width:991px) {
  #page .page__contacts .box.box-right .box__inner {
    padding-left: 0
  }
}
#page .page__contacts .box .box__inner .item:not(:last-child) {
  margin-bottom: 30px
}
@media all and (max-width:991px) {
  #page .page__contacts .box .box__inner .item {
    margin-bottom: 20px!important
  }
}
#page .page__contacts .box .box__inner .item.item-box {
  margin-bottom: 25px
}
@media all and (max-width:991px) {
  #page .page__contacts .box .box__inner .item.item-box {
    margin-bottom: 20px
  }
}
#page .page__contacts .box .box__inner .item h5 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid #032956;
  margin-bottom: 20px
}
#page .page__contacts .box .box__inner .item h5 img {
  -ms-flex-negative: 0;
  flex-shrink: 0
}
#page .page__contacts .box .box__inner .item a,
#page .page__contacts .box .box__inner .item p {
  font-weight: 700;
  font-size: 20px;
  line-height: 27px;
  color: #032956
}

#page .page__contacts .email-text {
  font-weight: 300!important;
  font-size: 13px!important;
  line-height: 10px!important;
  color: #032956;
  margin-bottom: 15px
}

#page .page__contacts .box .box__inner .map {
  width: 80%; /* Ширина карты */
  height: 200px; /* Высота карты */
  border-radius: 25px;
  overflow: hidden;
  margin: 0 auto 30px auto; /* Центрирование карты по горизонтали и отступ снизу */
  border: 1px solid #032956;
  display: block; /* Делаем элемент блочным для корректного применения margin */
}

@media all and (max-width:991px) {
	#page .page__contacts .box .box__inner .map {
	  width: 100%; /* Ширина карты */
	  height: 200px; /* Высота карты */
	  border-radius: 25px;
	  overflow: hidden;
	  margin: 0 auto 30px auto; /* Центрирование карты по горизонтали и отступ снизу */
	  border: 1px solid #032956;
	  display: block; /* Делаем элемент блочным для корректного применения margin */
	}
}

#page .page__contacts .box .box__inner .phone__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between
}
@media all and (max-width:767px) {
  #page .page__contacts .box .box__inner .phone__box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
  }
}
#page .page__contacts .box .box__inner .phone__box a {
  color: #032956;
  font-size: 21px;
  line-height: 120%;
  font-weight: 700;
  margin-bottom: 14px
}
#page .page__contacts .box .box__inner .phone__box img {
  transition: transform 0.3s ease; /* Плавное увеличение */
  cursor: pointer; /* Курсор-рука, чтобы было ясно, что это ссылка */
  width: auto;
  height: 35px;
}

/* Эффект при наведении */
#page .page__contacts .box .box__inner .phone__box img:hover {
  transform: scale(1.05); /* Легкое увеличение на 10% */
}

#page .page__article {
  padding-bottom: 44px
}

#page .callback-wrapper {
  text-align: center;
}

#page .callback {
  color: #c0e8ff;
  text-transform: uppercase;
  display: block;
  background-color: #032956;
  padding: 13px 26px;
  border-radius: 26px;
  text-align: center;
  margin: 0 auto;
  width: max-content;
}
#page .callback:hover {
  background-color: #c0e8ff;
  color: #032956
}

/* Общие стили секций */
#page .section {
  padding: 20px 20px;
  text-align: center;
}

#page .section-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #032956;
  font-weight: bold;
}

/* --- Преимущества --- */
#page .advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

#page .advantage-item {
  display: flex;
  align-items: center;
  border: 2px solid #032956; /* Только контур */
  background: linear-gradient(90deg, rgba(157, 180, 200, 0.35) 11.84%, rgba(120, 120, 120, 0.17) 52.57%, rgba(120, 120, 120, 0) 100%);
  background: linear-gradient(90deg, rgba(115, 160, 198, 0.35) 11.84%, rgba(84, 107, 163, 0.17) 52.57%, rgba(120, 120, 120, 0) 100%);
  border-radius: 20px;
  padding: 10px;
  position: relative;
  transition: transform 0.3s ease;
  min-height: 120px;
}

#page .advantage-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(90deg, rgba(3, 41, 86, 0.1) 0%, rgba(3, 41, 86, 0.05) 100%);
}

#page .advantage-icon {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  aspect-ratio: 1 / 1; /* Сохраняет квадратную форму */
  background: #032956;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  overflow: hidden; /* Обрезка изображения по границе блока */
}

#page .advantage-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

#page .advantage-text {
  flex: 1;
}

#page .advantage-text h3 {
  font-size: 1.4rem!important;
  font-weight: bold;
  margin-bottom: 5px;
}

#page .advantage-text p {
  font-size: 1rem!important;
  opacity: 0.8;
}

/* Бренды и услуги */
#brands-services .brands-services-container {
	display: flex;
	justify-content: space-between;
	align-items: center; /* Центрируем по высоте */
	gap: 30px;
	width: 100%;
}

#brands-services .brands-list {
	width: 40%;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

#brands-services .brands-list .brand-item span {
	display: inline; /* Убедимся, что "Принтеры:" и текст после идут подряд */
	font-weight: bold;
	line-height: 1.2;
}

#brands-services .brands-list .brand-item p {
	display: block; /* Принудительный перенос строки */
	text-align: left;
	font-size: 17px;
}

#brands-services .services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	width: 55%;
}

#brands-services .service-item {
	text-align: center;
	transition: transform 0.3s ease;
}

#brands-services .service-item:hover {
	transform: translateY(-5px);
}

#brands-services .service-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 10px;
}

#brands-services .service-text {
	font-size: 1.1rem;
	font-weight: bold;
}

#brands-services .advantage-item {
	display: flex;
	align-items: center;
	border: 2px solid #032956;
	background: linear-gradient(90deg, rgba(115, 160, 198, 0.35) 11.84%, rgba(84, 107, 163, 0.17) 52.57%, rgba(120, 120, 120, 0) 100%);
	border-radius: 20px;
	padding: 10px;
	position: relative;
	transition: transform 0.3s ease;
	min-height: 90px;
}

#brands-services .advantage-icon {
	width: 70px;
	height: 70px;
	margin-right: 15px;
}

#brands-services .advantage-item:hover {
	transform: translateY(-5px);
	background: linear-gradient(90deg, rgba(3, 41, 86, 0.1) 0%, rgba(3, 41, 86, 0.05) 100%);
}

#brands-services .brand-item span {
	display: block;
	font-weight: bold;
}

#brands-services .brand-note {
    font-style: italic;
    margin-top: 10px;
    opacity: 0.8;
  }




#brands-services .brand-info {
  position: relative;
}

#brands-services .models-list {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 1s ease-out 0s, opacity 0.3s ease-out 0s;
  margin-top: 0;
  padding: 0 10px;
  background: #f3f4fc;
  border: 1px solid #032956;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
}

/* При ховере добавляем задержку на закрытие = 0 */
#brands-services .brand-item:hover .models-list {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
  padding: 10px;
  transition: max-height 1s ease-out 0s, opacity 0.3s ease-out 0s;
}

/* При уходе курсора — задержка перед закрытием отсутствует */
#brands-services .brand-item:not(:hover) .models-list {
  transition: max-height 0.2s ease-out 0s, opacity 0s ease-out 0s;
}

#brands-services .models-list p {
  margin: 5px 0;
}



/* --- Заголовок СЕРВИСНЫЙ ЦЕНТР --- */
#service-center-title {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 10px;
}

#service-center-title .service-center-heading {
  font-size: 2rem;
  font-weight: bold;
  color: #032956;
}
#service-center-title .service-center-heading2 {
  font-size: 24px;
  font-weight: bold;
  color: #032956;
}
#service-center-title p {
  font-size: 1rem!important;
  color: #032956;
  max-width: 800px; /* Ограничиваем ширину текста */
  margin: 0 auto; /* Центрируем текст */
  line-height: 1.5; /* Делаем строки чуть более читабельными */
  text-align: center; /* Центрируем текст по горизонтали */
  padding: 0 20px; /* Добавляем отступы по бокам, если экран маленький */
  padding-top: 30px;
}





/* --- Навигационные блоки --- */
#navigation-blocks {
  padding: 0px 0;
}

#navigation-blocks .navigation-blocks {
  display: flex;
  justify-content: center; /* Выравнивание по левому краю */
  gap: 15px;
}

#navigation-blocks .nav-block {
  padding: 0px 25px;
  color: #032956;
  text-align: center;
  font-size: 1rem; /* Уменьшили размер текста */
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

#navigation-blocks .nav-block:hover {
  color: #021f3d;  /* Изменение цвета текста при наведении */
  transform: scale(1.05);  /* Легкое увеличение при наведении */
}

#navigation-blocks .nav-block:focus {
  outline: none;
}

/* --- Линия под навигацией --- */
#navigation-blocks .navigation-line {
  border-top: 1px solid #032956;
  max-width: 800px;
  margin-top: 20px; /* Отступ сверху, если нужно */
  margin-left: auto; /* Выравнивание по центру */
  margin-right: auto; /* Выравнивание по центру */
  display: block; /* Обеспечит корректное поведение марджинов */
}

/* Мобильная версия под 991px */
@media (max-width: 991px) {
  #navigation-blocks .navigation-blocks {
    flex-wrap: wrap;
    gap: 5px;
  }
  #navigation-blocks .nav-block {
    font-size: 1rem;
    padding: 5px 10px;
  }

  #advantages .advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
  }
	
  #brands-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-content: center;
  }
	
  #brands-services .brands-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
  }
	
	
  #brands-services .brands-services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
  }

  #brands-services .brand-item {
    display: flex;
    align-items: center;
    padding: 5px;
    min-height: 100px;
  }
	
  #brands-services .service-text {
    font-size: 1rem !important;
  }

  #brands-services .brand-item p {
    font-size: 1rem !important; /* Уменьшаем размер шрифта для параграфов */
    line-height: 1.5; /* Меньше межстрочное расстояние */
  }


  #brands-services .brand-item span {
    font-size: 1rem; /* Уменьшаем размер шрифта для заголовков */
    margin: 0; /* Убираем лишние отступы */
  }
	
  #advantages .advantage-item {
    display: flex;
    align-items: center;
    padding: 5px;
    font-size: 1rem;
    min-height: 100px;
	align-items: stretch;
  }
	
  #brands-services .advantage-icon,
  #advantages .advantage-icon {
    width: 70px;
    height: 70px;
    margin-right: 5px;
  }

  #brands-services .service-icon {
    width: 70px;
    height: 70px;
  }

  #advantages .advantage-text h3,
  #advantages .advantage-text p {
    font-size: 1rem;
  }

	
  #page .section-title {
    font-size: 1.2rem;
  }

  #service-center-title .service-center-heading,
  #service-center-title .service-center-heading2 {
    font-size: 1.5rem;
  }

  #service-center-title p {
    font-size: 1rem;
    padding: 0 10px;
  }
	
  .brand-note {
    text-align: left;
    font-size: 1rem !important; /* Уменьшаем размер шрифта для параграфов */
    line-height: 1.5; /* Меньше межстрочное расстояние */
    margin: 0 auto;
    width: 100%; /* Можно изменить по необходимости */
  }
}

/* Мобильная версия под 575px */
/* Мобильная версия под 575px */
@media (max-width: 575px) {
  #navigation-blocks .navigation-blocks {
    flex-wrap: wrap;
    gap: 5px;
  }

  #navigation-blocks .nav-block {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  #advantages .advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
	width: 100%;
    justify-content: center;
  }
  #page .advantage-text h3 {
  font-size: 0.9rem!important;
  font-weight: bold;
  margin-bottom: 5px;
  }

	#page .advantage-text p {
	  font-size: 0.9rem!important;
	  opacity: 0.8;
	}

  /* Блок услуг — оставляем 3 колонки */
  #brands-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 20px; /* Отступы по бокам */
    width: 100%;
  }

  /* Блок брендов — одна колонка */
  #brands-services .brands-services-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
    width: 100%;
  }

  #brands-services .brands-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #brands-services .brand-item {
    display: flex;
    align-items: center;
    padding: 10px;
    min-height: 60px;
    width: 100%;
    border-radius: 15px;
  }

  #brands-services .service-text {
    font-size: 0.8rem !important;
  }

  #brands-services .brand-item p {
    font-size: 0.9rem !important;
    line-height: 1.2;
  }

  #brands-services .brand-item span {
    font-size: 0.9rem;
    margin: 0;
  }

  #brands-services .advantage-icon {
    width: 40px;
    height: 40px;
    margin-right: 5px;
  }

  #brands-services .service-icon {
    width: 50px;
    height: 50px;
  }
	
  #advantages .advantage-item {
    flex-direction: column;           /* Ставит иконку сверху */
    align-items: center;              /* Центрирует по горизонтали */
    text-align: center;               /* Центрирует текст */
                  /* Немного больше воздуха */
  }

  #advantages .advantage-icon {
    margin-right: 0;                  /* Убираем отступ справа */
    margin-bottom: 10px;              /* Отступ снизу от иконки */
    width: 60px;                      /* Чуть крупнее иконка */
    height: 60px;
  }

  #advantages .advantage-text {
    width: 100%;                      /* Текст на всю ширину */
  }
}

  #advantages .advantage-text h3,
  #advantages .advantage-text p {
    font-size: 0.9rem;
  }

  #page .section-title {
    font-size: 1.2rem;
  }


  #service-center-title .service-center-heading {
    font-size: 2rem;
  }

  #service-center-title .service-center-heading2 {
    font-size: 1.3rem;
  }

  #service-center-title p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  #brands-services .brand-note {
    text-align: left;
    font-size: 0.9rem !important;
    line-height: 1.2;
    margin-top: 10px;
    width: 100%;
  }
}






#catalog .catalog__desc {
  margin-bottom: 70px
}
@media all and (max-width:991px) {
  #catalog .catalog__desc {
    margin-bottom: 40px
  }
}
#catalog .catalog__desc .desc__inner {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border-radius: 30px;
  overflow: hidden;
  padding: 60px 80px
}
@media all and (max-width:767px) {
  #catalog .catalog__desc .desc__inner {
    padding: 30px 20px
  }
}
#catalog .catalog__desc .content {
  max-width: 558px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  color: #f3f4fc
}
#catalog .catalog__desc .content h2 {
  font-family: OpenSans,sans-serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 37px;
  margin-bottom: 30px
}
#catalog .catalog__desc .content p {
  font-weight: 600
}

@media all and (max-width:991px) {
  #catalog .catalog__aside {
    margin-bottom: 40px
  }
}
#catalog .catalog__aside .aside__inner .aside__item {
  margin-bottom: 20px
}
#catalog .catalog__aside .aside__inner .aside__item .cat-title {
  font-family: OpenSans,sans-serif;
  font-weight: 500;
  text-align: center;
  font-size: 25px;
  line-height: 120%;
  text-transform: uppercase;
  color: #353535;
  margin-bottom: 46px
}
@media all and (max-width:1199px) {
  #catalog .catalog__aside .aside__inner .aside__item .cat-title {
    margin-bottom: 30px
  }
}
#catalog .catalog__aside .aside__inner .aside__item-nav {
  border-radius: 30px;
  border: 1px solid rgba(120,120,120,.8);
  background: rgba(156,184,208,.35);
  padding: 44px 30px
}
@media all and (max-width:1199px) {
  #catalog .catalog__aside .aside__inner .aside__item-nav {
    padding: 30px 15px
  }
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li {
  position: relative
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li:not(:last-child) {
  margin-bottom: 30px
}
@media all and (max-width:1199px) {
  #catalog .catalog__aside .aside__inner .aside__item-nav ul li:not(:last-child) {
    margin-bottom: 16px
  }
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li a {
  font-size: 14px;
  line-height: 17px;
  color: #353535
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children {
  padding-left: 35px
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul > li {
  padding-left: 35px
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children.current-menu-item > a {
  color: #032956;
  font-weight: 700
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children.current-menu-ancestor > a {
  color: #032956;
  font-weight: 700
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul > li.current-menu-item > a {
  color: #032956;
  font-weight: 700
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children:after {
  position: absolute;
  content: "";
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(../img/icon_25.svg)
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul > li:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(../img/icon_25.svg)
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children .sub-menu {
  padding-top: 20px;
  display: none
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children.current-menu-item .sub-menu {
  display: block;
}
@media all and (max-width:575px) {
  #catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children .sub-menu {
    padding-top: 10px
  }
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children .sub-menu li {
  margin-bottom: 13px
}
@media all and (max-width:575px) {
  #catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children .sub-menu li {
    margin-bottom: 8px
  }
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li.menu-item-has-children .sub-menu li a {
  color: #032956;
  display: block;
  font-size: 14px;
  line-height: 17px;
  border-bottom: 1px solid rgba(120,120,120,.8)
}
#catalog .catalog__aside .aside__inner .aside__item-nav ul li .sub-menu li.current-menu-item > a {
  font-weight: 600;
}
#catalog .catalog__main {
  margin-bottom: 20px
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
@media (min-width:992px) {
  #catalog .catalog__main {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 69%;
    flex: 0 0 69%;
    max-width: 69%
  }
}
#catalog .catalog__main .main__inner .filters {
  margin-bottom: 40px
}
#catalog .catalog__main .main__inner .filters .filter__size {
  margin-bottom: 20px
}
#catalog .catalog__main .main__inner .filters .filter__size ul li {
  display: inline-block;
  margin-right: 5px!important;
  margin-bottom: 10px!important;
  text-align: center
}
.berocket_single_filter_widget_161 .bapf_head {
  display: none;
}
#catalog .catalog__main .main__inner .filters .filter__size ul li label{
  color: #032956;
  display: inline-block;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(120,120,120,.8);
  padding: 7px 30px
}
#catalog .catalog__main .main__inner .filters .filter__size ul li.checked label {
  background-color: #032956;
  color: #fff;
}
#catalog .catalog__main .main__inner .filters .filter__sort h6 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: rgba(120,120,120,.8)
}
#catalog .catalog__main .product-item {
  display: flex;
  flex-direction: column;
}

#catalog .row.product__list {
    justify-content: flex-start; /* Или space-between, если нужно */
}

#catalog .catalog__main .product-item .bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  padding: 20px;
}

#catalog .catalog__main .product-item .bottom h5 {
  min-height: 48px; /* Примерно 2 строки */
  line-height: 1.2;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* максимум 2 строки */
  -webkit-box-orient: vertical;
}

#catalog .catalog__main .product-item .bottom .more {
  margin-top: auto;
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  box-sizing: border-box;
}

@media all and (max-width: 575px) {
  /* Контейнер продуктов */
  .catalog__main .product__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px; /* Увеличим отступы между товарами */
  }

  /* Стиль для каждого товара */
  .catalog__main .product-item {
    width: calc(50% - 10px); /* Два товара в ряд с отступом */
    margin-bottom: 10px; /* Увеличим отступы между рядами */
    padding: 10px; /* Добавим внутренние отступы */
    box-sizing: border-box; /* Учитываем паддинг в расчете ширины */
  }

  /* Настройка изображений */
  .catalog__main .product-item .image .image__inner {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Сохраняем квадратные пропорции */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Убедимся, что изображение не искажено */
  .catalog__main .product-item .image .image__inner img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Не растягиваем изображение */
  }

  /* Стили для текста внизу товара */
  .catalog__main .product-item .bottom {
    padding: 20px; /* Увеличим отступы вокруг текста */
    font-size: 16px; /* Увеличим размер шрифта для текста */
  }

  /* Прочие стили для box */
  .catalog__main .product-item .box__inner {
    display: block;
    width: 100%;
    padding: 12px; /* Паддинг для внутреннего контента */
  }
}




.product-item {
  margin-bottom: 50px
}
@media all and (max-width:1199px) {
  .product-item {
    margin-bottom: 40px
  }
}
@media all and (max-width:575px) {
  .product-item {
    margin-bottom: 30px
  }
}
.product-item .box__inner {
  color: #353535;
  border-radius: 20px;
  padding: 18px 26px 26px 26px;
  background: -webkit-gradient(linear,left top,left bottom,color-stop(11.84%,rgba(156,184,208,.35)),color-stop(52.57%,rgba(120,120,120,.17)),to(rgba(120,120,120,0)));
  background: linear-gradient(180deg,rgba(156,184,208,.35) 11.84%,rgba(120,120,120,.17) 52.57%,rgba(120,120,120,0) 100%)
}
.product-item .box__inner:hover {
  background: linear-gradient(180deg, rgba(3, 41, 86, 0.1) 0%, rgba(3, 41, 86, 0.05) 100%);
  box-shadow: 0px 4px 15px rgba(3, 41, 86, 0.15);
  transform: translateY(-5px);
  transition: 0.3s ease-in-out;
}
.product-item .box__inner:hover .bottom .more {
  text-shadow: 0 0 .65px #032956,0 0 .65px #032956
}
.product-item .box__inner:hover .bottom .more:after {
  background-image: url(../img/icon_26_1.svg)
}
.product-item .box__inner .image {
  padding: 1px;
  text-align: center;
  margin-bottom: 17px
}
.product-item .box__inner .image__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 228px;
  height: 230px;
  margin: 0 auto;
  width: 100%;
  background-color: #fff; /* Фон контейнера под изображением */
  border-radius: 10px; /* Закругленные углы */
  overflow: hidden;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Легкая тень */
}

@media all and (max-width:1199px) {
  .product-item .box__inner .image__inner {
    max-width: 250px;
    height: 250px
  }
}
.product-item .box__inner .image__inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Гарантия, что изображения не деформируются */
  display: block;
}
.product-item .box__inner .bottom {
  text-align: center; /* Центрируем заголовок и кнопку */
  padding-top: 15px;
}

.product-item .box__inner .bottom h5 {
  font-size: 18px;
  font-weight: 600;
  color: #032956;
  margin-bottom: 15px;
}

.product-item .box__inner .bottom .more {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #032956;
  border: 1px solid #032956;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s;
}
.product-item .box__inner .bottom .more:hover {
  background-color: #032956;
  color: #fff;
}
.box_pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 50px
}
@media all and (max-width:575px) {
  .box_pagination {
    padding-bottom: 40px
  }
}
.box_pagination .wp-pagenavi {
  text-align: center
}
.box_pagination .wp-pagenavi ul li {
  display: inline-block;
}
.box_pagination .wp-pagenavi a,
.box_pagination .wp-pagenavi span {
  font-size: 16px;
  position: relative;
  float: left;
  padding: 6px 12px;
  margin: 0 8px 3px 8px;
  line-height: 1.42857143;
  color: rgba(120,120,120,.8);
  text-decoration: none;
  background-color: #fff;
  border: 1px solid rgba(120,120,120,.8);
  min-width: 40px;
  border-radius: 5px;
  font-weight: 600
}
@media all and (max-width:767px) {
  .box_pagination .wp-pagenavi a,
  .box_pagination .wp-pagenavi span {
    margin: 5px
  }
}
.box_pagination .wp-pagenavi a {
  color: rgba(120,120,120,.8)
}
.box_pagination .wp-pagenavi span {
  color: #032956;
  border: 1px solid #032956
}
.box_pagination .wp-pagenavi .nextpostslink,
.box_pagination .wp-pagenavi .previouspostslink {
  border: none;
  width: 40px;
  height: 36px;
  background-color: transparent
}
.box_pagination .wp-pagenavi .nextpostslink:after,
.box_pagination .wp-pagenavi .previouspostslink:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #000;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-transition: .25s all;
  transition: .25s all
}
@media all and (max-width:767px) {
  .box_pagination .wp-pagenavi .nextpostslink,
  .box_pagination .wp-pagenavi .previouspostslink {
    display: none
  }
}
.box_pagination .wp-pagenavi .previouspostslink:after {
  -webkit-mask-image: url(../img/icon_27_1.svg);
  mask-image: url(../img/icon_27_1.svg)
}
.box_pagination .wp-pagenavi .nextpostslink:after {
  -webkit-mask-image: url(../img/icon_27.svg);
  mask-image: url(../img/icon_27.svg)
}


#page-product .product__desc .desc__inner .available {
  font-family: OpenSans, sans-serif;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 25px;
  line-height: 120%;
  color: #032956;
  margin-bottom: 30px;
  
  /* Рамка с закругленными краями */
  border: 0px solid #032956;
  border-radius: 20px;
  padding: 15px 20px; /* Добавляем отступы внутри рамки */
  box-sizing: border-box; /* Чтобы padding не увеличивал общую ширину */
}

@media all and (max-width: 575px) {
  #page-product .product__desc .desc__inner .available {
    margin-bottom: 16px;
    padding: 12px 16px; /* Меньшие отступы на мобильных */
  }
}

#page-product .product__desc .desc__inner .available img {
  flex-shrink: 0;
  margin-right: 16px;
}

#page-product .product__desc .desc__inner .registracziya {
  font-family: OpenSans, sans-serif;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 25px;
  line-height: 120%;
  color: #032956;
  margin-bottom: 5px;
  
  /* Рамка с закругленными краями */
  border: 1px solid #032956;
  border-radius: 20px;
  padding: 15px 20px; /* Добавляем отступы внутри рамки */
  box-sizing: border-box; /* Чтобы padding не увеличивал общую ширину */
}

#page-product .product__desc .desc__inner .registracziya__text {
    display: block;        /* чтобы <br> работал */
    flex: 1;              /* занимает всё оставшееся пространство */
    word-break: break-word; /* длинные слова переносить */
}

@media all and (max-width: 575px) {
  #page-product .product__desc .desc__inner .registracziya {
    margin-bottom: 16px;
	margin-top: 16px;
    padding: 12px 16px; /* Меньшие отступы на мобильных */
  }
}

#page-product .product__desc .desc__inner .registracziya img {
  flex-shrink: 0;
  margin-right: 16px;
}

#page-product .product__desc .desc__inner .quantity__order {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 90px
}
@media all and (max-width:1199px) {
  #page-product .product__desc .desc__inner .quantity__order {
    margin-bottom: 35px
  }
}
@media all and (max-width:575px) {
  #page-product .product__desc .desc__inner .quantity__order {
    display: block
  }
}
#page-product .product__desc .desc__inner .quantity__order input[type=number]::-webkit-inner-spin-button,
#page-product .product__desc .desc__inner .quantity__order input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0
}
#page-product .product__desc .desc__inner .quantity__order .quantity {
  margin-right: 26px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 173px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}
@media all and (max-width:575px) {
  #page-product .product__desc .desc__inner .quantity__order .quantity {
    margin-bottom: 10px
  }
}
#page-product .product__desc .desc__inner .quantity__order .quantity .q-btn {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  cursor: pointer
}
#page-product .product__desc .desc__inner .quantity__order .quantity .btn-plus {
  background-image: url(../img/icon_29.svg)
}
#page-product .product__desc .desc__inner .quantity__order .quantity .btn-minus {
  background-image: url(../img/icon_30.svg)
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 93px;
  height: 100%;
  border-radius: 10px;
  background: rgba(80,121,171,.25);
  color: #032956;
  text-align: center;
  border: none;
  font-weight: 600;
  margin: 0 10px;
  -moz-appearance: textfield
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input::-webkit-input-placeholder {
  color: #032956;
  opacity: 1
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input::-moz-placeholder {
  color: #032956;
  opacity: 1
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input::-ms-placeholder {
  color: #032956;
  opacity: 1
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input::-webkit-input-placeholder {
  color: #032956;
  opacity: 1
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input::-moz-placeholder {
  color: #032956;
  opacity: 1
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input:-ms-input-placeholder {
  color: #032956;
  opacity: 1
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input::-ms-input-placeholder {
  color: #032956;
  opacity: 1
}
#page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input::placeholder {
  color: #032956;
  opacity: 1
}
#page-product .product__desc .desc__inner .manager p {
  font-weight: 600;
  font-size: 18px;
  color: #032956;
  margin-bottom: 6px
}
#page-product .product__desc .desc__inner .manager .phone {
  margin-top: 16px;
  border-radius: 20px;
  background: rgba(132, 143, 235, .15);
  padding: 5px
}
#page-product .product__desc .desc__inner .manager .phone a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #032956;
  font-size: 22px;
  font-weight: 600;
  line-height: 120%;
  text-transform: lowercase;
  white-space: nowrap;
  padding: 7px;
}

#page-product .product__desc .desc__inner .manager hr {
  border: none;
  background-color: #032956;
  height: 1px; /* толщина линии, увеличьте по необходимости */
  border-radius: 1px; /* радиус для скругления краев */

  margin-left: 15%;
  margin-right: 15%;
}


@media all and (max-width:575px) {
  #page-product .product__desc .desc__inner .manager .phone a {
    font-size: 22px
  }
}
#page-product .product__desc .desc__inner .manager .phone a img {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 20px
}
#page-product .product__tabs .tabs {
  -webkit-box-shadow: 3px 5px 26px rgba(80,121,171,.3);
  box-shadow: 3px 5px 26px rgba(80,121,171,.3);
  border-radius: 15px;
  margin-top: 30px; /* Отступ сверху */
  margin-bottom: 30px; /* Отступ снизу */
}
#page-product .product__tabs .tabs .tabs__caption li {
  cursor: pointer;
  -webkit-transition: .25s all;
  transition: .25s all;
  display: inline-block;
  color: #f3f4fc;
  background-color: #032956;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 10px;
  text-align: center
}
@media all and (max-width:575px) {
  #page-product .product__tabs .tabs .tabs__caption li {
    width: 100%
	margin-top: 20px;
    margin-bottom: 20px;
  }
}
#page-product .product__tabs .tabs .tabs__caption li.active {
  background-color: #f3f4fc;
  color: #032956;
  font-weight: 700
}
#page-product .product__tabs .tabs .tabs__content {
  display: none;
  padding: 34px 50px
}
@media all and (max-width:575px) {
  #page-product .product__tabs .tabs .tabs__content {
    padding: 20px
  }
}
#page-product .tabs__content .brochure {
  display: inline-block;
  margin-top: 20px;
}

#page-product .tabs__content .brochure a {
  display: inline-block;
  background-color: #032956;
  color: #fff;
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#page-product .tabs__content .brochure a:hover {
  transform: scale(1.05);
}
#page-product .product__tabs .tabs .tabs__content.active {
  display: block;
  -webkit-animation: showBlock .3s linear forwards;
  animation: showBlock .3s linear forwards
}


/* ===== ОСНОВНЫЕ СТИЛИ ДЛЯ ТАБЛИЦЫ ===== */
#page-product .product__tabs .tabs .tabs__content {
    /* Контейнер для горизонтальной прокрутки на мобильных */
    overflow-x: auto;
}

#page-product .product__tabs .tabs .tabs__content table {
    width: 80%;                     /* 70% от родителя */
    margin: 0 auto;                 /* центрирование */
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #032956;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(3, 41, 86, 0.1);
    font-family: inherit;
}

/* Ячейки – обводка, отступы, выравнивание по центру вертикали */
#page-product .product__tabs .tabs .tabs__content table th,
#page-product .product__tabs .tabs .tabs__content table td {
    border: 1px solid #c8d2e6;
    padding: 12px 16px;
    vertical-align: middle;        /* текст по центру по вертикали */
}

/* Убираем правую границу у последнего столбца */
#page-product .product__tabs .tabs .tabs__content table th:last-child,
#page-product .product__tabs .tabs .tabs__content table td:last-child {
    border-right: none;
}

/* Убираем нижнюю границу у последней строки */
#page-product .product__tabs .tabs .tabs__content table tr:last-child td {
    border-bottom: none;
}

/* Заголовки таблицы */
#page-product .product__tabs .tabs .tabs__content table th {
    background-color: #032956;
    color: #f3f4fc;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #032956;
}

/* Левая колонка (название характеристики) */
#page-product .product__tabs .tabs .tabs__content table td:first-child {
    font-weight: 600;
    color: #032956;
    background-color: #f3f4fc;
    width: 35%;                    /* ширина левой колонки */
}

/* Правая колонка (значение) */
#page-product .product__tabs .tabs .tabs__content table td:last-child {
    font-weight: normal;
    background-color: #f3f4fc;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ (до 575px) ===== */
@media all and (max-width: 575px) {
    #page-product .product__tabs .tabs .tabs__content {
        overflow-x: auto;          /* прокрутка при необходимости */
        -webkit-overflow-scrolling: touch;
    }

    #page-product .product__tabs .tabs .tabs__content table {
        width: 100%;               /* на мобильных – на всю ширину */
        min-width: auto;           /* убираем фиксированную минимальную ширину */
        table-layout: fixed;       /* чтобы колонки подстраивались под доступную ширину */
    }

    /* Разрешаем перенос длинных слов, чтобы не ломать таблицу */
    #page-product .product__tabs .tabs .tabs__content table th,
    #page-product .product__tabs .tabs .tabs__content table td {
        word-break: break-word;
    }

    /* Кнопки табов (если есть) – в строку */
    #page-product .product__tabs .tabs .tabs__caption {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
    #page-product .product__tabs .tabs .tabs__caption li {
        width: auto !important;
        margin: 0 !important;
        flex: 0 0 auto;
    }
	#page-product .product__tabs .tabs .tabs__content table td:first-child {
		width: 45%;                    /* ширина левой колонки */
	}
}

@media all and (max-width: 1199px) {
    #page-product .product__tabs .tabs .tabs__content table {
        width: 100%;
    }
}


/* Контейнер секции товара — точка отсчёта для абсолютного позиционирования */
#page-product {
    position: relative;
}

/* Оверлей занимает всю область секции товара */
#page-product .archive-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    animation: fadeIn 0.6s ease forwards;
}

/* Белая карточка — прижата к верху с отступом 100px, по центру по горизонтали */
#page-product .archive-modal {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 520px;
    background-color: #ffffff;
    border: 0px solid #032956;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Всё остальное без изменений */
#page-product .archive-modal-header {
    background-color: #032956;
    color: #ffffff;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    padding: 18px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#page-product .archive-modal-content {
    padding: 30px 25px;
    color: #032956;
    font-size: 18px;
    line-height: 1.5;
}

#page-product .archive-modal-content ul {
    margin: 0 0 0 20px;
    padding-left: 0;
    list-style-type: disc;
}

#page-product .archive-modal-content li {
    margin-bottom: 8px;
}

#page-product .archive-modal-content a {
    color: #032956;
    text-decoration: underline;
    font-weight: 600;
}

#page-product .archive-modal-content a:hover {
    text-decoration: none;
    color: #0a4a7a;
}

/* Анимация */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Отключаем прокрутку, если JS добавил класс */
body.modal-open {
    overflow: hidden;
}

/* Делаем заголовок контейнером для абсолютного позиционирования крестика */
#page-product .archive-modal-header {
    position: relative;
}

/* Белый крестик справа по центру */
#page-product .archive-modal-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    user-select: none; /* предотвращает выделение текста при клике */
}

#page-product .archive-modal-close:hover {
    opacity: 1;
}

/* Убеждаемся, что оверлей перекрывает контент, но не блокирует клики на крестик */
#page-product .archive-modal-overlay {
    pointer-events: auto; /* фон перехватывает клики */
}

#page-product .archive-modal {
    pointer-events: auto; /* карточка тоже перехватывает клики (чтобы крестик работал) */
}

/* (Опционально) курсор pointer на оверлее, чтобы показать, что клик закрывает */
#page-product .archive-modal-overlay {
    cursor: pointer;
}

#page-product .archive-modal {
    cursor: default; /* внутри карточки — обычный курсор */
}

/* ===== Адаптация для планшетов (до 1199px) ===== */
@media all and (max-width: 1199px) {
    #page-product .archive-modal {
        top: 50px;                   /* Уменьшаем отступ сверху */
        width: 95%;
        max-width: 480px;
    }
    
    #page-product .archive-modal-header {
        font-size: 22px;
        padding: 16px 20px;
    }
    
    #page-product .archive-modal-content {
        padding: 25px 20px;
        font-size: 17px;
    }
}

/* ===== Адаптация для мобильных (до 575px) ===== */
@media all and (max-width: 575px) {
    /* Увеличиваем высоту секции товара, чтобы оверлей полностью покрывал экран */
    body.archive-product #page-product {
        min-height: 100vh;           /* Растягиваем на всю высоту окна */
    }

    #page-product .archive-modal {
        top: 30px;                  /* Совсем маленький отступ сверху */
        width: 92%;
        max-width: 360px;
    }
    
    #page-product .archive-modal-header {
        font-size: 20px;
        padding: 14px 16px;
    }
    
    #page-product .archive-modal-content {
        padding: 20px 16px;
        font-size: 16px;
    }
    
    /* Уменьшаем отступы списка */
    #page-product .archive-modal-content ul {
        margin-left: 16px;
    }
    
    #page-product .archive-modal-content li {
        margin-bottom: 6px;
    }
}

/* Исправления для мобильных (до 575px) */
@media all and (max-width: 575px) {
  /* 1. Адаптивный блок количества */
  #page-product .product__desc .desc__inner .quantity__order .quantity {
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
  #page-product .product__desc .desc__inner .quantity__order .quantity #quantity-input {
    width: 70px;
  }

  /* 2. Перенос телефона */
  #page-product .product__desc .desc__inner .manager .phone a {
    white-space: normal;
    word-break: break-word;
    font-size: 18px;
  }

  /* 3. Исправление синтаксиса табов (убедитесь, что это правило есть) */
  #page-product .product__tabs .tabs .tabs__caption li {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /* 4. Перенос длинного текста в блоке available */
  #page-product .product__desc .desc__inner .available {
    word-break: break-word;
  }
}

/* Страховка от скрытых вылезаний */
#page-product {
  overflow-x: hidden;
}

#callback {
  margin-bottom: 50px
}
@media all and (max-width:1199px) {
  #callback {
    margin-bottom: 40px
  }
}
#callback .wrapper {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border-radius: 40px;
  overflow: hidden;
  padding: 30px 30px 30px 30px;
  color: #f3f4fc
}
@media all and (max-width:1199px) {
  #callback .wrapper {
    padding: 40px
  }
}
@media all and (max-width:767px) {
  #callback .wrapper {
    padding: 30px 20px 0 20px;
    padding-bottom: 20px
  }
}
@media all and (max-width:575px) {
  #callback .wrapper {
    border-radius: 20px
  }
}
#callback .wrapper .callback__title {
  margin-bottom: 114px
}
@media all and (max-width:1199px) {
  #callback .wrapper .callback__title {
    margin-bottom: 35px
  }
}
#callback .wrapper .callback__title .title__inner {
  max-width: 835px;
  width: 100%
}
#callback .wrapper .callback__title .title__inner h2 {
  font-family: OpenSans,sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 53px;
  margin-bottom: 27px
}
@media all and (max-width:575px) {
  #callback .wrapper .callback__title .title__inner h2 {
    font-size: 28px;
    line-height: 130%
  }
}
#callback .wrapper .callback__title .title__inner p {
  max-width: 654px;
  width: 100%
}
#callback .wrapper .callback__phone {
  margin-bottom: 20px
}
@media all and (max-width:1199px) {
  #callback .wrapper .callback__phone {
    margin-bottom: 35px
  }
}
#callback .wrapper .callback__phone .phone__inner {
  position: relative
}
#callback .wrapper .callback__phone .phone__inner:after {
  position: absolute;
  content: "";
  top: -50px;
  bottom: 0;
  right: -29px;
  height: 139px;
  width: 1px;
  background-color: #f3f4fc
}
@media all and (max-width:1199px) {
  #callback .wrapper .callback__phone .phone__inner:after {
    display: none
  }
}
#callback .wrapper .callback__phone .phone__inner a {
  font-size: 37px;
  line-height: 100%;
  font-weight: 700;
  color: #f3f4fc
}
@media all and (max-width:575px) {
  #callback .wrapper .callback__phone .phone__inner a {
    font-size: 24px
  }
}
#callback .wrapper .callback__form .form__inner form {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 0 12px
}
#callback .wrapper .callback__form .form__inner form .wpcf7-response-output {
  position: absolute;
  bottom: -26px;
  left: 0;
}
@media all and (max-width:767px) {
  #callback .wrapper .callback__form .form__inner form {
    display: block
  }
  #callback .wrapper .callback__form .form__inner form .wpcf7-response-output {
    position: relative;
    bottom: 0;
  }
}
#callback .wrapper .callback__form .form__inner form .form__item,
#callback .wrapper .callback__form .form__inner form .form__submit {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1
}
@media all and (max-width:767px) {
  #callback .wrapper .callback__form .form__inner form .form__item,
  #callback .wrapper .callback__form .form__inner form .form__submit {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto
  }
}
@media all and (max-width: 767px) {
  .callback__form .form__inner {
    width: 100%;
  }

  .callback__form .form__inner .form__row {
    display: flex;
    flex-direction: column; /* Элементы в колонку */
    gap: 12px;
    width: 100%;
  }

  .callback__form .form__inner .form__row .form__item,
  .callback__form .form__inner .form__row .form__submit {
    width: 100%; /* Растягиваем элементы */
  }

  .callback__form .form__inner .form__checkbox {
    margin-top: 10px; /* Отступ перед чекбоксом */
    text-align: left; /* Выравниваем текст влево */
    display: flex;
    align-items: center; /* Выравнивание по вертикали */
  }
}




/*****************  contact form 7 style  *****************/

.wpcf7-validation-errors {
  display: none!important;
}

.wpcf7-form .wpcf7-response-output {
  font-size: 13px;
  line-height: 17px;
  margin: 3px auto 10px auto!important;
}


select.wpcf7-not-valid, input[type=text].wpcf7-not-valid, input[type=date].wpcf7-not-valid, input[type=email].wpcf7-not-valid, input[type=tel].wpcf7-not-valid, textarea.wpcf7-not-valid, #block-7 input[type=text].wpcf7-not-valid, #block-7 input[type=tel].wpcf7-not-valid, #block-15 input[type=tel].wpcf7-not-valid, #block-15 input[type=text].wpcf7-not-valid{
    border: 2px solid #ec3c06!important;
    position:relative;
}

body span.wpcf7-not-valid-tip {
  display: none!important;
  color: #ec3c06;
  border: none;
  background: none;
}
body span.wpcf7-not-valid-tip-no-ajax{
  display:inline-block;
  font-size:18px;
  margin:0 0 0 10px;
}
body div.wpcf7-validation-errors {
    background: #ffe2e2;
    border: 2px solid #ff8a8a;
    color: #ec3c06;
    font-size:18px;
    text-align:center;
    position:relative;
    z-index:12000;
}
.contact-inner-form .wpcf7-response-output{
  width:95%;
}
body div.wpcf7-response-output {
  padding: 6px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border-radius: 3px;
}

body .wpcf7-mail-sent-ng {
    background: #fff2e2;
    border: 1px solid #ffbc8a;
    color: #e17731;
}

body .wpcf7-mail-sent-ok {
    border: 1px solid transparent;
    color: #ff5805;
    text-align:center;
}


.product__gallery .gallery__inner .flex-viewport {
  width: 550px!important;
  height: 388px!important;
  background-color: #fff;
  border: 2px solid #032956;
  border-radius: 35px;
  left: 105px;
  position: relative;
  z-index: 3;
  margin-bottom: 0!important;
}
.product__gallery .gallery__inner .woocommerce-product-gallery {
  display: flex;
  width: 550px;
	
}
@media all and (max-width:1199px) {
  .product__gallery .gallery__inner .flex-viewport {
    width: 430px!important;
  }
  .product__gallery .gallery__inner .woocommerce-product-gallery  {
    width: 430px;
  }
}
@media all and (max-width:991px) {
  .product__gallery .gallery__inner .flex-viewport {
    width: 100%!important;
    left: 0;
  }
  .product__gallery .gallery__inner .woocommerce-product-gallery  {
    width: 100%!important;
  }
}
@media all and (max-width:575px) {
  .product__gallery .gallery__inner .flex-viewport {
    height: 280px!important;
    margin-bottom: 10px
  }
}
@media all and (max-width:991px) {
  .product__gallery .gallery__inner .woocommerce-product-gallery {
    display: block;
  }
}
.product__gallery .gallery__inner .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  height: 388px!important;
  margin: 0 auto;
  text-align: center;
  background-color: #fff;
  border: 2px solid #032956;
  border-radius: 35px;
  width: 100%;
  overflow: hidden;
}
.product__gallery .gallery__inner .flex-viewport .woocommerce-product-gallery__wrapper {
  border: none;
  border-radius: 0;
  width: auto;
}
@media all and (max-width:575px) {
  .product__gallery .gallery__inner .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    height: 280px!important;
  }
}
.product__gallery .gallery__inner .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
  height: 100%;
  display: -webkit-box!important;
  display: -ms-flexbox!important;
  display: flex!important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center
}
@media all and (max-width:575px) {
  .product__gallery .gallery__inner .flex-viewport {
    height: 280px!important;
    margin-bottom: 10px
  }
}
.product__gallery .gallery__inner .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: 520px;
  height: 430px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
  padding-top: 15px;
  padding-bottom: 15px;
  box-sizing: border-box; /* чтобы не ломать выравнивание */
  
}
@media all and (max-width:575px) {
  .product__gallery .gallery__inner .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a {
    height: 260px;
  }
}
.product__gallery .gallery__inner .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a img {
  object-fit: contain; /* сохранение пропорций изображения */
  max-width: 100%;
  height: 90%;
  object-fit: contain;
}
.product__gallery .gallery__inner .woocommerce-product-gallery .flex-control-thumbs {
  order: -1;
  flex-shrink: 0;
  flex-direction: column;
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -8px 20px 0 0!important;
  position: absolute;
  top: 0;
  left: 0;
}
@media all and (max-width:991px) {
  .product__gallery .gallery__inner .woocommerce-product-gallery .flex-control-thumbs {
    flex-direction: row;
    gap: 6px;
    margin: 0 auto!important;
    position: relative;
  }
}
.product__gallery .gallery__inner .woocommerce-product-gallery .flex-control-thumbs li {
  width: 85px!important;
  height: 85px!important;
  border-radius: 15px;
  border: 2px solid #032956;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 8px 0;
  padding: 2px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  overflow: hidden;
}
.product__gallery .gallery__inner .woocommerce-product-gallery .flex-control-thumbs li.active {
  border: 2px solid #5079ab; /* Изменим цвет рамки при выделении */
}
@media all and (max-width:575px) {
  .product__gallery .gallery__inner .woocommerce-product-gallery .flex-control-thumbs li {
    width: 70px!important;
    height: 70px!important;
  }
}

.product__gallery .gallery__inner .woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Сохраняем пропорции изображения и не обрезаем его */
  transition: .25s all;
}
.flex-control-nav.flex-control-thumbs {
  display: flex;
  gap: 8px; /* Расстояние между миниатюрами */
  justify-content: center; /* Центрирование миниатюр */
  flex-wrap: wrap; /* Если миниатюр много, они будут переноситься на новую строку */
  padding: 10px 0; /* Отступ сверху и снизу */
}

.flex-control-nav.flex-control-thumbs li {
  width: 100px; /* Фиксированная ширина миниатюры */
  height: 80px; /* Фиксированная высота миниатюры */
  border: 2px solid transparent; /* Обводка по умолчанию */
  border-radius: 10px; /* Закругленные углы */
  overflow: hidden;
  cursor: pointer;
  transition: border 0.3s ease;
}

.flex-control-nav.flex-control-thumbs li.active {
  border-color: #032956; /* Цвет рамки активного изображения */
}

.flex-control-nav.flex-control-thumbs li img {
  width: 100%;
  height: auto;
  object-fit: contain
  transition: transform 0.3s ease;
}

.flex-control-nav.flex-control-thumbs li:hover img {
  transform: scale(1.1); /* Эффект увеличения при наведении */
}


.product__gallery .gallery__inner .flex-direction-nav {
  position: absolute;
  top: 0;
  left: 105px;
  right: 0;
  width: 550px;
  height: 388px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
}

@media all and (max-width:1199px) {
  .product__gallery .gallery__inner .flex-direction-nav {
    width: 430px;
  }
}
@media all and (max-width:991px) {
  .product__gallery .gallery__inner .flex-direction-nav {
    width: auto;
    left: 0;
  }
}

@media all and (max-width:575px) {
  .product__gallery .gallery__inner .flex-direction-nav {
    height: 280px;
  }
}

.product__gallery .gallery__inner .flex-direction-nav li a {
  display: block;
  width: 60px;
  height: 60px;
  color: transparent;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url('../img/arrow.svg');
  position: relative;
  z-index: 5;
}

.product__gallery .gallery__inner .flex-direction-nav li.flex-nav-prev a {
  transform: rotate(180deg);
}

/* Основной контейнер для новостей с двумя столбцами */
.news-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* два столбца */
    gap: 20px; /* отступ между элементами */
    margin: 0 auto;
    max-width: 1500px; /* Максимальная ширина */
    padding: 20px;
}

.news-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Заставляем блоки новостей быть одинаковой высоты */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.news-header {
    background-color: #032956;
    padding: 15px;
    text-align: center;
}

.news-title {
    margin: 0;
    font-size: 24px;
    color: #f3f4fc;
}

.news-meta {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #f3f4fc;
}

.news-thumbnail img {
    width: 100%;
    max-height: 400px; /* Ограничение максимальной высоты */
    height: auto; /* Автоматическая высота */
    display: block;
    object-fit: contain; /* Сохраняет пропорции без обрезки */
}

.news-excerpt {
	flex-grow: 1;
    padding: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}
.news-author-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Сделать круглым */
    border: 2px solid #fff; /* Белая обводка */
    object-fit: cover;
}

@media (max-width: 768px) {
    /* На экранах меньше 768px, делаем один столбец */
    .news-container {
        grid-template-columns: 1fr;
    }

    .news-title {
        font-size: 20px;
    }

    .news-meta {
        font-size: 12px;
    }

    .news-excerpt {
        font-size: 14px;
    }
}

.pagination-container {
    text-align: center;
    margin-top: 20px;
	margin-bottom: 20px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background-color: #032956;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    margin: 0 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.page-numbers:hover {
    background-color: #021e3d;
	color: #cccccc;
}

.page-numbers.current {
    background-color: #021e3d;
    cursor: default;
}

/* Style for the button */
.news-read-more {
    text-align: right;
    margin: 15px;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #032956;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #021e3d;
    color: #cccccc;
}


/* Категории */
/* Контейнер, объединяющий ленту новостей и рубрики */
.content-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}

/* Контейнер для рубрик */
.categories-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
	padding-left: 20px;
	max-width: 70%;
	margin-left: 10px;
	
}

/* Заголовок "Рубрики:" */
.categories-title {
    font-size: 18px;
    font-weight: bold;
    color: #032956;
    white-space: nowrap;
}

/* Контейнер ссылок на рубрики */
.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Кнопки рубрик */
.category-link {
    padding: 6px 12px;
    background-color: #032956;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.category-link:hover {
    background-color: #021e3d;
    color: #cccccc;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .categories-container {
        flex-direction: column;
        align-items: flex-start;
    }
}






/* Общий стиль для страницы поста */
.single-post-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px; /* Ограничение ширины */
    margin: 40px auto; /* Центрирование на странице */
    padding: 20px; /* Внутренние отступы */
}

/* Заголовок поста */
.single-post-header {
    background-color: #032956;
    padding: 20px;
    text-align: center;
    border-radius: 8px 8px 0 0; /* Скругленные углы сверху */
}

.single-post-title {
    margin: 0;
    font-size: 32px;
    color: #f3f4fc;
}

.single-post-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #f3f4fc;
}

/* Основной контент */
.single-post-content {
    padding: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
	border-radius: 8px;
}

/* Комментарии */
.single-post-comments {
    margin-top: 40px;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
    .single-post-title {
        font-size: 28px;
    }

    .single-post-meta {
        font-size: 12px;
    }

    .single-post-content {
        font-size: 16px;
    }
}


/* Стили для формы */
.form__row {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Отступы между элементами */
    margin-bottom: 20px; /* Отступ между строкой и checkbox */
}

.form__item {
    flex: 1; /* Все элементы будут иметь одинаковую ширину */
}

.form__submit {
    flex: 1;
}

.form__checkbox {
    margin-top: 15px; /* Отступ сверху для  checkbox */
	margin-bottom: 15px; /* Отступ сверху для  checkbox */
    text-align: left;
}

.custom-checkbox-vertical {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 100%;
}

.custom-checkbox-vertical input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    transform: scale(1.2);
}

.custom-checkbox-vertical span {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
}

.custom-checkbox-vertical a {
    color: #007BFF;
    text-decoration: underline;
}



/* google recaptcha */
.grecaptcha-badge { visibility: hidden; }



/* summary таблица */
.printer-table-wrapper {
  max-width: 100%;
  padding: 0 0 50px 0; /* нижний отступ */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  background-color: transparent;
}

.printer-comparison {
  width: 100%;
  max-width: 1600px;
  border-collapse: collapse;
  background: white;
  font-family: sans-serif;
  text-align: center;
  border: 2px solid #032956;
  overflow: hidden;
  table-layout: fixed;
}

.printer-comparison thead th {
  background: #ffffff;
  color: #000000;
  padding: 8px;
  font-size: 16px;
  border: 2px solid #032956;
}

.printer-comparison tbody td,
.printer-comparison tbody th {
  border: 2px solid #032956;
  padding: 6px 10px;
  vertical-align: middle;
  font-size: 14px;
}

.printer-comparison .model-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  padding: 4px;
}

.printer-comparison .model-header img {
  width: 190px;
  height: 140px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin-bottom: 6px;
  border: 2px solid #032956;
  border-radius: 12px;
  background-color: #fff;
}

.printer-comparison tr.section td {
  background: #032956;
  color: #c0e8ff;
  font-weight: bold;
  text-align: left;
  padding: 8px 10px;
  font-size: 15px;
}

/* До 991px */
@media all and (max-width: 991px) {
  .printer-table-wrapper {
    padding: 0 10px 40px 10px;
  }

  .printer-comparison {
    font-size: 13px;
    table-layout: fixed;
  }

  .printer-comparison th,
  .printer-comparison td {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
  }

  .printer-comparison thead th {
    font-size: 14px;
    padding: 6px;
  }

  .printer-comparison tbody td,
  .printer-comparison tbody th {
    font-size: 13px;
    padding: 6px;
  }

  .printer-comparison .model-header {
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .printer-comparison .model-header img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #032956;
    background-color: #fff;
    margin-bottom: 6px;
    flex-shrink: 0;
  }

  .printer-comparison .model-header span {
    display: block;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.2;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .printer-comparison tr.section td {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* До 575px */
@media all and (max-width: 575px) {
  .printer-table-wrapper {
    padding: 0 5px 30px 5px;
  }

  .printer-comparison {
    font-size: 12px;
    border-width: 1px;
    table-layout: fixed;
  }

  .printer-comparison th,
  .printer-comparison td {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
  }

  .printer-comparison thead th {
    font-size: 12px;
    padding: 4px;
    border-width: 1px;
  }

  .printer-comparison tbody td,
  .printer-comparison tbody th {
    font-size: 12px;
    padding: 4px;
    border-width: 1px;
  }

  .printer-comparison .model-header {
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .printer-comparison .model-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #032956;
    background-color: #fff;
    margin-bottom: 4px;
    flex-shrink: 0;
  }

  .printer-comparison .model-header span {
    display: block;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.2;
    max-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .printer-comparison tr.section td {
    font-size: 12px;
    padding: 5px 6px;
  }
}

/* Для планшетов и мобильных */
@media all and (max-width: 991px) {
  .printer-table-wrapper {
    overflow-x: auto;                /* Включаем горизонтальную прокрутку */
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
  }

  /* Остальные ваши стили для этого разрешения */
}

@media all and (max-width: 575px) {
  .printer-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* 1. Выделение колонки с нашей моделью */
.printer-comparison .our-model {
    background-color: #E5F5FF !important;  /* мягкий зелёный оттенок */
}

/* 2. Ячейки конкурентов, у которых характеристика хуже, чем у нас */
.printer-comparison .worse {
    background-color: #ffe6e6 !important;  /* светло-красный фон */
}

/* 3. Дополнительный визуальный эффект при наведении на красные ячейки (опционально) */
.printer-comparison .worse:hover {
    background-color: #ffd6d6;
    cursor: default;
}

/* Общие стили для страницы */
#product-status {
	color: #032956;
}

/* Контейнер – без дополнительных отступов */
#product-status .container {
	width: 100%;
	padding: 0 15px; /* небольшой отступ по бокам для мобильных */
	margin: 0 auto;
}

/* Контейнер для таблиц – делаем горизонтальную прокрутку при необходимости */
.table-responsive {
	width: 100%;
	overflow-x: auto;
	margin: 0 auto;
	text-align: center; /* для старых браузеров */
}

/* Таблица центрируется как блочный элемент */
.status-table {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 30px auto; /* авто-отступы слева и справа */
	border-collapse: collapse;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	border-radius: 20px;
	overflow: hidden;
}

.status-table thead tr:first-child th {
	background-color: #032956;
	color: #fff;
	font-size: 1.2em;
	padding: 12px 15px;
	text-align: left;
}

.status-table thead tr:last-child th {
	background-color: #032956;
	color: #fff;
	padding: 10px 15px;
	text-align: left;
	font-weight: 500;
}

.status-table th,
.status-table td {
	border: 1px solid #ddd;
	padding: 10px 15px;
	vertical-align: middle;
	text-align: left;
}

/* Фиксированная ширина колонок */
.status-table th:first-child,
.status-table td:first-child {
	width: 80px; /* ID */
}

.status-table th:nth-child(2),
.status-table td:nth-child(2) {
	width: auto; /* название товара – резиновое */
}

.status-table th:last-child,
.status-table td:last-child {
	width: 300px; /* статус – фиксированная ширина */
}

.status-table tbody tr:hover {
	background-color: #f5f5f5;
}

.product-status-select {
	width: 100%;
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 20px;
	background: #fff;
}

.save-button {
	margin-top: 20px;
	margin-bottom: 40px;
	text-align: center;
	position: relative;
	transition: all 0.3s ease;
}

/* Полоски над и под кнопкой */
.save-button.success::before,
.save-button.success::after {
	content: '';
	display: block;
	height: 7px;
	background-color: #28a745;
	width: 100%;
	max-width: 300px;
	margin: 10px auto;
	transition: width 0.3s ease;
}

.save-button.success::before {
	margin-bottom: 15px;
}

.save-button.success::after {
	margin-top: 15px;
}

.save-button .button {
	background-color: #032956;
	border-color: #032956;
	color: #fff;
	padding: 10px 30px;
	font-size: 16px;
	border-radius: 20px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.save-button .button:hover {
	background-color: #0a3e6e;
}

#status-message {
	margin-bottom: 20px;
	padding: 10px;
	border-radius: 20px;
	display: none;
}

#status-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	display: block;
}

#status-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	display: block;
}

/* Адаптивность */
@media (max-width: 768px) {
	.status-table th:last-child,
	.status-table td:last-child {
		width: 220px;
	}
	.status-table th:first-child,
	.status-table td:first-child {
		width: 60px;
	}
}

#page .compare-table h2 {
  text-align: left;
  color: #032956;
  font-family: OpenSans, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 53px;
  margin-bottom: 20px; /* Отступ между заголовком и текстом */
}

