@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
*{
    margin: 0;
    padding: 0;
}
  *,
  *:after,
  *:before {
      box-sizing: border-box;
    
      }
    
body {
    overflow: scroll;/*чтобы не скакала страница, всегда оставалась полоса прокрутки*/
	font-family: "Inter", sans-serif;
   	/*line-height: 1.5; /*задает интерлиньяж, то есть расстояние между базовыми линиями соседних строк текста.*/
    margin: 0 auto;
  	/*margin: 50px 50px 50px 50px; /*Внутренний отступ, padding - внутренний отступ*/
	/*min-height: 100vh; это процентная величина от общей высоты области просмотра.*/
	/*padding: 30px 30px 30px 30px;*/
    /*display: flex; /*всё содержимое контейнера может гибко менять свои размеры по ширине или высоте, подстраиваясь под содержимое.*/
	/*align-items: start; /*элементы выравниваются по центру flex-контейнера, start, stretch, end */
	/*justify-content:center; /*определяет, как браузер распределяет пространство вокруг флекс-элементов вдоль главной оси контейнера.*/
    /*align-content: space-between; /* задаёт тип выравнивания строк внутри флекс-контейнера по поперечной оси при наличии свободного пространства.*/
	background-color: #ffffff;
   }

.container {
    margin: 0 auto;
    max-width: 1450px;
    min-width: 1024px;
    padding: 0 15px;
    box-sizing: border-box;
    }

@media (max-width: 1023px) {
  .container {
    min-width: 0;
    width: 100%;
    padding: 0 12px;
  }
  
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
}

header {    
    align-items: start;
    border-bottom: 1px solid rgb(225, 225, 225); 
    position: sticky;
    top: -35px;
    height: 100px;/*установлено чтобы не сдвигался контент при появлении количества в избранном*/
    background-color: #ffffff;
    z-index: 2;
    }

@media (max-width: 1023px) {
  header {
    height: auto;
    min-height: auto;
    top: 0;
    padding: 8px 0;
  }
}

@media (max-width: 768px) {
  header {
    position: static;
  }
}

main{
   display: flex;
   justify-items: stretch;
   z-index: 1;
}

aside {
    display: flex;
    width: 280px;
   
}

section {
    margin: 20px 10px 0px 20px;
    width: 100%;
  
}

@media (max-width: 1023px) {
  main {
    flex-direction: column;
  }
  
  aside {
    width: 100%;
    order: 2;
  }
  
  section {
    margin: 15px 0 0 0;
    order: 1;
  }
}

@media (max-width: 768px) {
  section {
    margin: 10px 0 0 0;
    padding: 0 5px;
  }
}



li { 
    list-style: none; /*удаляет маркер нумерации у ссылок*/   
}

nav ul {
    display: flex;
    justify-content: space-between;
    padding: 8px 20px 8px 20px;
}

   /*навигация header*/

nav.container ul {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 400;
}

nav.container ul li {
    display: inline-block;
  
}

 a {
    color: rgb(140, 140, 140);
    text-decoration: none;
}
a:hover{
    color: rgb(57, 180, 232);
}


nav.container ul li {
    color: rgb(140, 140, 140);
    text-decoration: none;
}

nav.container ul li:not(.active):not(.btn) {
      color: rgb(57, 180, 232);
}

.btn_activ_RU a, .btn_activ_EN a, .btn_activ_TR a, .btn_activ_IT a, .btn_activ_DE a {
  color: rgb(57, 180, 232);
}


.nav {
  grid-area: n;
  background-color: lightslategrey;
}

.item a {
  color: white;
  font-size: 25px;
}




.block-nav{
    display: flex;
    justify-content: space-between; 
   
}

.block-nav .menu-nav-left,.menu-nav-right {
    margin: 5px 0px 0px 0px;   
 }


.menu-left {
       width: 350px; /*750*/
    }

@media (max-width: 1023px) {
  nav.container .block-nav {
    flex-wrap: wrap;
    padding: 4px 0;
  }
  
  nav.container .block-nav .menu-left,
  nav.container .block-nav .menu-nav-left {
    width: auto;
    flex: 1;
  }
  
  nav.container .block-nav .menu-left li,
  nav.container .block-nav .menu-nav-left li {
    margin-right: 10px;
  }
  
  nav.container .block-nav .menu-left a,
  nav.container .block-nav .menu-nav-left a {
    font-size: 13px;
  }
  
  nav.container .block-nav .menu-right,
  nav.container .block-nav .menu-nav-right {
    width: auto;
  }
  
  .menu-nav-language {
    margin: 0;
    width: auto;
  }
  
  .menu-nav-language li {
    margin: 0 2px;
  }
  
  .menu-nav-language a {
    font-size: 13px;
  }
  
  /* Языки: на мобильных показываем в верхней строке, скрываем в nav */
  .header-lang-mobile,
  .header-lang-mobile-wrap {
    display: flex !important;
    align-items: center;
    gap: 4px;
  }
  
  header nav.container .block-nav .menu-right {
    display: flex !important;
    align-items: center;
  }
  
  .header-lang-mobile a {
    font-size: 10px;
    margin-left: 0;
  }
  
  .menu-nav-language-desktop {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Иконки (главная, авторизация, сравнение, избранное) — фиксированная панель внизу экрана */
  .block .block-right {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid rgb(225, 225, 225);
    padding: 12px 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  }
  
  /* Скрыть подписи под иконками */
  .block .block-right a {
    font-size: 0;
    line-height: 0;
  }
  
  /* Крупные иконки (без подписей) */
  .block .block-right .icon-bar,
  .block .block-right .icon-bar i {
    font-size: 28px !important;
  }
  
  .block .block-right .icon-home .icon-bar,
  .block .block-right .icon-home .icon-bar i {
    font-size: 28px !important;
  }
  
  /* Счётчики — оставить видимыми */
  .block .block-right .icon-nomer {
    font-size: 11px !important;
    line-height: 1;
  }
  
  .block .block-right .icon-home,
  .block .block-right .dropdown_user,
  .block .block-right > * {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
  }
  
  .block .block-right .dropdown_user > a {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Отступ снизу чтобы контент не перекрывался панелью иконок */
  body {
    padding-bottom: 70px !important;
  }
}

@media (min-width: 769px) {
  .block .block-right .icon-home {
    display: none;
  }
}

@media (max-width: 768px) {
  nav.container .block-nav .menu-left a {
    font-size: 12px;
  }
  
  header nav.container:first-of-type .block-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 6px 0;
  }
  
  header nav.container:first-of-type .menu-left {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  header nav.container:first-of-type {
    padding: 0 8px;
  }
  
  header nav.container:first-of-type .menu-left li {
    margin-right: 6px;
  }
  
  header nav.container:first-of-type .menu-left a {
    font-size: 11px;
  }
}
.menu-nav-left {
        width: 400px;  
         
         }

.menu-right {
       width: 550px;
       text-align: right;
    
}



.menu-nav-right {
    width: 380px;
    font-weight: 600;

}

.menu-nav-right a{
    font-size: 17px;
    margin: 0px 0px 0px 0px; 
}

.menu-nav-language {
    margin: 0px 0px 0px 10px; 
    width: 180px;
    font-weight: 600;
    text-align: right;
    position: relative;
}

/* Языки в верхней строке на мобильных (скрыты на десктопе) */
.header-lang-mobile-wrap {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-lang-mobile {
  display: none;
}

.header-lang-mobile a {
  font-size: 11px;
  color: rgb(140, 140, 140);
  text-decoration: none;
  margin-left: 6px;
}

.header-lang-mobile .btn_activ_EN a,
.header-lang-mobile .btn_activ_IT a,
.header-lang-mobile .btn_activ_DE a,
.header-lang-mobile .btn_activ_TR a,
.header-lang-mobile a.btn_activ_EN,
.header-lang-mobile a.btn_activ_IT,
.header-lang-mobile a.btn_activ_DE,
.header-lang-mobile a.btn_activ_TR {
  color: rgb(57, 180, 232);
}

.menu-nav-brend {
    margin: 0px 0px 0px 10px; 
    display: flex;
    justify-content: space-between;
    width: 120px;
    font-weight: 600;
   
}



.menu-nav-right> li {
    font-size: 17px;
   
}


img {
    width: 110px;  
}


.img-logo {
 margin: 0px 20px 0px 0px; 
 width: 200px;
 position: relative;
 top: -5px;
 left: 0px;
}

.img-logo-footer {
    margin: 0px 20px 0px 0px; 
    width: 200px;
    position: relative;
    top: 5px;
    left: 0px;
   }

.img-panel{
width: 400px;
position: relative;
top: 0px;
left: 0px;
opacity: 1; /*прозрачность*/
}

.img-price{
    width: 25px;
    position: relative;
    top: 0px;
    left: 0px;
    opacity: 1; /*прозрачность*/
    filter: grayscale(100%);
    
    }

    .img-price:hover{
           filter: grayscale(0);
        }



.img2 {
 width: 110px;
 position: relative;
 top: -4px;
 left: -10px;
   }

.img-product {
 margin: 0px 0px 0px 5px; 
 width: 180px;
 max-height: 180px;
 object-fit: contain;
 /*border: 1px dashed #d50f0f; */
 
   }

 

 /*навигация header блок поиска*/
 
.block {
    display: flex;
    justify-content: space-between;
    min-width: 1250px;
    flex-wrap: wrap;
    gap: 12px;
          }

.block .block-left {    
    min-width: 200px;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
  }

@media (min-width: 1024px) {
  .block .block-left .dropdown {
    margin-left: 20px;
  }
}
.block .block-right {   
    width: 300px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
           }

.block input {
    background: rgb(255, 255, 255);
    outline: none;
    border: 1px solid rgb(57, 180, 232);
    border-radius: 10px;
    min-width: 400px;  /*длина поля поиска;*/  
    height: 45px;
    font-weight: 400;
    position: relative; /*позиция кнопки поиска*/
    top: -0,5px;
    right: -10px; /*сдвиг кнопки поиска*/
    z-index: 1; /*слой*/
    padding-right: 10px; /*внутренний отступ в поле поиска, чтобы текст не заходил под кнопку*/
    box-sizing: border-box;
     }

@media (max-width: 1023px) {
  .block {
    min-width: 0;
  }
  
  .block .block-left {
    width: 100%;
    order: 1;
    flex: 1 1 auto;
  }
  
  .block .block-right {
    width: auto;
    order: 2;
    justify-content: flex-end;
    flex: 0 0 auto;
  }
  
  .block .block-left form,
  .block form {
    flex: 1 1 100%;
    order: 3;
    width: 100%;
    margin: 0;
    display: flex;
    min-width: 0;
  }
  
  .block input {
    min-width: 0;
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .block .block-left {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
  }

  .block .block-left .dropdown {
    margin-left: auto;
  }
  
  .block .container_0 {
    padding: 0 6px;
    font-size: 14px;
    width: auto;
    min-width: 100px;
  }
  
  /* Скрыть поле поиска на главной странице на мобильных */
  body.page-home .block form {
    display: none !important;
  }
  
  .img-logo {
    width: 140px;
    max-width: 45vw;
  }
}

@media (max-width: 480px) {
  .block .block-left {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }
  
  .block .block-left > a {
    order: 1;
  }
  
  .block .dropdown {
    order: 2;
  }
  
  .block form {
    order: 3;
  }
  
  .img-logo {
    width: 120px;
  }
}

     /*крестик меню*/     
  .block  [type="search"]::-webkit-search-cancel-button {
      -webkit-appearance: none;
      appearance: none;
      cursor: pointer;
      height: 20px;
      width: 20px;
      background-image: url(/img/xx.png);
      background-size: 20px 20px;
    }

.block button  { /*действие кнопки при наведении обращение к двум блокам через зяпятую ", .email .block button" */    
    cursor: pointer;
    border: 0;
    width: 60px;
    height: 46px;
    color: rgb(253, 253, 253);
    background: rgb(57, 180, 232);
    font-size: 17px;
   
    border-radius: 10px;
    transform: all 500ms ease;
    position: relative; /*позиция кнопки поиска*/
    z-index: 2; /*слой*/
}

.block button   { /*действие кнопки при наведении обращение к двум блокам через зяпятую ", .email .block button" */
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    }

    .block .button-catalog {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    min-width: 120px;
    max-width: 120px;
   }

    .block button:hover {
        background: rgb(115, 198, 234);
    }
    
         /*footer*/
         footer{
           /*background: linear-gradient( rgba(238, 238, 238, 0.789) 65%, rgb(185, 185, 185) 100%);/*исправить градиентная*/
            background:rgb(238, 238, 238, 0.789);
            margin: 20px 0px 0px 0px;
            padding: 20px 20px 20px 20px;
           }
    
          footer .blocks {
            display: flex;
            justify-content: space-between;
           
          }
    
        
          footer .blocks h4 {
            font-weight: 600;
            font-size: 17px;
            color: rgb(103, 102, 102);
          }
          footer .blocks h5 {
            font-weight: 400;
            font-size: 15px;
            color: rgb(103, 102, 102);
          }
    
          footer .blocks ul {             
            list-style: none;
           
            
          }
    
          footer .blocks ul li {
           margin-top: 7px;
           font-size: 15px;
           color: rgb(103, 102, 102);
          }
    
          footer hr {            
            margin: 20px 0px 20px 0px;
            border: 0;
            height: 0.6px;
            background: rgba(180, 180, 180, 0.789);
          }
    
          footer>p {
            text-align: center;
            color: rgb(103, 102, 102);
          }

          /* Десктопная версия - футер на всю ширину экрана */
          @media (min-width: 1024px) {
            body {
              overflow-x: hidden;
            }
            footer {
              margin-left: calc(-50vw + 50%);
              margin-right: calc(-50vw + 50%);
              padding-left: max(calc((100vw - 1450px) / 2), 20px);
              padding-right: max(calc((100vw - 1450px) / 2), 20px);
            }
          }

          /* Мобильная версия футера — без отступов от краёв экрана */
          @media (max-width: 768px) {
            footer .blocks {
              flex-direction: column;
              align-items: center;
              gap: 20px;
              text-align: center;
            }
            footer,
            footer .container {
              padding: 15px 4px;
              margin-left: calc(-50vw + 50%);
              margin-right: calc(-50vw + 50%);
              width: 100vw;
              max-width: 100vw;
              box-sizing: border-box;
            }
            footer .blocks h4,
            footer .blocks h5 {
              font-size: 15px;
            }
            footer .blocks ul {
              text-align: center;
              padding-left: 0;
            }
            footer .blocks ul li {
              font-size: 14px;
            }
            .img-logo-footer {
              width: 150px;
            }
          }

          @media (max-width: 480px) {
            footer,
            footer .container {
              padding: 12px 4px;
            }
            .img-logo-footer {
              width: 120px;
            }
          }

          
    
      /* Текст подсказки */
       [data-hint] {
        position: relative;
        cursor: hint;
      }
      
      [data-hint]::after {
          opacity: 0;
          width: max-content;
          color: #FFFFFF;
          background-color: rgba(0,0,0,.7);
          border-radius: 6px;
          padding: 10px;
          content: attr(data-hint);
          font-size: 12px;
          font-weight: 400;
          line-height: 1em;
          position: absolute;
          top: 80%;
          left: -10px;
          transform: translate(-95%, -80%);
          pointer-events: none;
          transition: opacity 0.2s;
      }
      
      [data-hint]:hover::after {
          opacity: 1;
          
      }

/* Текст подсказки FOTO*/
.hint-top::after {
            top: auto;
            bottom: -5px;
            transform: translate(0%, -115px);
            z-index: 1;
        }
/* Текст подсказки артикл*/
.hint-top-art::after {
            top: 160px;
            transform: translate(0%, -155px);
            z-index: 1;
        }

        .hint-top-comparison::after {
          top: 120px;
          transform: translate(10%, -15px);
      
      }



/* Подсказка в сравнении */
.tooltip {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  width: 190px;
 
 }

/* Текст подсказки */
.tooltip .tooltiptext {
  visibility: hidden;
  color: #FFFFFF;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  border-radius: 6px;
  position: absolute;
  top: -70px;
  left: -10px;
  z-index: 1;
}

/* Показывать текст всплывающей подсказки при наведении указателя мыши на контейнер всплывающей подсказки */
.tooltip:hover .tooltiptext {
  padding: 10px;
  visibility: visible;
  background-color: rgba(0,0,0,.7);
  }






.sort{
 position: relative;
 top: 0px;
 left: 0px;
 border-bottom: 1px solid rgb(172, 172, 172);
z-index: 1;

        }

/* Радио */

.form_toggle {
	display: inline-block;
	overflow: hidden;
    text-align: left;
    font-size: 13px;
    color: rgb(76, 76, 76);
}
.form_toggle-item {
	float: left;
	display: inline-block;
  
}


.form_toggle-item input[type=radio] {
	display: none;
}
.form_toggle-item label {
	display: inline-block;
	padding: 0px 0px 0px 10px;   
	border: 0px solid rgb(57, 180, 232);
	border-right: none;
	cursor: pointer;
	user-select: none;   
}

.form_toggle .item-1 label::before {
  content: "\f160";
    font-family: FontAwesome;
}

.form_toggle .item-2 label::before {
  content: "\f161";
    font-family: FontAwesome;
}


 
.form_toggle .item-1 label {
	border-radius: 6px 0 0 6px;
}
.form_toggle .item-2 label {
	border-radius: 0 6px 6px 0;
	border-right: 0px solid rgb(57, 180, 232);
}
 
/* Checked */
.form_toggle .item-1 input[type=radio]:checked + label {
	/*background: rgb(57, 180, 232);*/
    color:  rgb(57, 180, 232);
}
.form_toggle .item-2 input[type=radio]:checked + label {
	/*background: rgb(57, 180, 232);*/
    color:  rgb(57, 180, 232);
}


/* Бегунок загрузки начало */
#loader {
    position: absolute;
    left: 60%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid rgb(157, 158, 158);
    width: 80px;
    height: 80px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Add animation to "page content" */
  .animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
  }
  
  @-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 } 
    to { bottom:0px; opacity:1 }
  }
  
  @keyframes animatebottom { 
    from{ bottom:-100px; opacity:0 } 
    to{ bottom:0; opacity:1 }
  }
  
  #myDiv {
    display: none;
    text-align: center;
  }
  /* Бегунок загрузки конец*/

  .page-button,  .page-button-activ  {
    width: auto; /*ширина по содержимому*/
    padding: 0px 7px 0px 7px;
    margin: 0px 1px 0px 1px;
    color: black;
    background-color: #ffffff;
  }

  .page-button-activ {
    background-color: #d8d8d8;
      }

  /* Стиль для счетчика иконок */
  .icon-nomer {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
  }

  /* Позиционирование для родительского элемента */
  .icon-bar-net {
    position: relative;
    display: inline-block;
  }

  /* Стиль для счетчика когда значение 0 - только через JavaScript класс */
  .icon-nomer.zero-count {
    background-color: transparent !important;
    color: white !important;
    border: none !important;
  }

  /* Стили для главной страницы */
  .home-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .welcome-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
  }

  .welcome-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
  }

  .welcome-section p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .product-categories h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
  }

  .category-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }

  .category-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
  }

  .category-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .btn-primary {
    display: inline-block;
    background-color: rgb(57, 180, 232);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }

  .btn-primary:hover {
    background-color: rgb(115, 198, 234);
    color: white;
    text-decoration: none;
  }

  /* Дополнительные стили для главной страницы */
  .banners-section {
    margin: 40px 0;
    text-align: center;
  }

  .banner-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 40px;
    border-radius: 10px;
    color: #6c757d;
  }

  .popular-products, .new-products {
    margin: 60px 0;
  }

  .popular-products h2, .new-products h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
  }

  .product-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #6c757d;
  }

  .company-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 15px;
    margin: 60px 0;
  }

  .company-stats h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }

  .stat-item {
    text-align: center;
    padding: 20px;
  }

  .stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
  }

  .stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
  }

  /* Карусель баннеров - два баннера одновременно, сдвиг слева направо */
  .banners-carousel {
    margin: 20px auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* Скрываем баннеры, выходящие за пределы */
    position: relative;
    height: 290px; /* Высота контейнера */
    border-radius: 0;
    padding: 15px 20px 15px 0px; /* Внутренний отступ: сверху, справа (больше для тени), снизу, слева */
    box-sizing: border-box;
  }

  .banners-track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
    transition: transform 0.8s ease-in-out;
    column-gap: 10px;
    align-items: stretch; /* Растягиваем баннеры по высоте */
    height: 100%;
    width: max-content;
  }

  .banner-slide {
    flex: 0 0 auto;
    position: relative;
    padding: 0 5px;
    box-sizing: border-box;
    height: 100%; /* Растягиваем по высоте контейнера */
    display: flex;
    align-items: stretch;
    /* Ширина будет установлена через JavaScript относительно .banners-carousel */
  }

  .banner-card {
    width: 100%;
    height: 100%;   
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    cursor: pointer;
  }

  .banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет контейнер с сохранением пропорций */
    object-position: center;
    border-radius: 15px;
    user-select: none;
    -webkit-user-drag: none;
  }
  
  .banner-card a {
    display: block;
    width: 100%;
    height: 100%;
    flex: 1;
  }


  /* Адаптивность для мобильных устройств */
  @media (max-width: 1200px) {
    .banners-carousel {
      height: 180px;
      padding: 8px 15px 8px 8px; /* Больше отступ справа для тени */
    }
    .banner-slide {
      max-width: 500px;
    }
  }
  
  @media (max-width: 768px) {
    .banners-carousel {
      display: none !important;
    }
  }
  
  @media (max-width: 480px) {
    .banners-carousel {
      height: 120px;
      padding: 5px 12px 5px 5px; /* Больше отступ справа для тени */
    }
    .banner-slide { 
      width: 100%; /* На мобильных показываем по одному баннеру */
      max-width: 100%;
    }
  }

/* Слайдер товаров */
.products-slider-container {
  margin: 40px auto;
  max-width: 100%;
  padding: 0 20px;
}

.products-slider-header {
  text-align: left;
  margin-bottom: 30px;
}

.products-slider-header h2 {
  font-size: 28px;
  color: #333;
  font-weight: 600;
}

.products-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.products-slider {
  overflow: hidden;
  margin: 0 50px;
  width: calc(250px * 5 + 20px * 4);
  max-width: 100%;

}

.products-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  padding: 0px 10px 20px 10px;

}

.product-card {
  flex: 0 0 245px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-card-icons {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.product-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #e0e0e0;
}

.product-icon-btn:hover {
  background: rgb(57, 180, 232);
  color: white;
  border-color: rgb(57, 180, 232);
}

.product-card-image {
  width: 100%;
  height: 200px;  
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 36px;
}

.product-card-specs {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-card-price {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.product-card-buy-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(57, 180, 232);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: auto;
}

.product-card-buy-btn:hover {
  background: rgb(115, 198, 234);
  transform: scale(1.1);
}

.products-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1; /*ниже выпадающего меню каталога (.dropdown-content имеет z-index: 1000)*/
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: #e0e0e0;
}

.products-slider-btn:hover {
  background: rgb(57, 180, 232);
  border-color: rgb(57, 180, 232);
  color: white;
}

.products-slider-btn-prev {
  left: 0;
}

.products-slider-btn-next {
  right: 0;
}

/* Адаптивность для слайдера товаров */
@media (max-width: 1200px) {
  .product-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .products-slider-container {
    padding: 0 4px;
    margin: 25px auto;
  }
  
  .products-slider-header h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .products-slider {
    margin: 0 35px;
    width: calc(220px * 3 + 15px * 2);
  }
  
  .products-track {
    gap: 15px;
  }
  
  .product-card {
    flex: 0 0 220px;
  }
  
  .product-card-image {
    height: 160px;
  }
  
  .product-card-title {
    font-size: 13px;
  }
  
  .product-card-price {
    font-size: 18px;
  }
  
  .products-slider-btn {
    width: 36px;
    height: 36px;
  }
  
  .products-slider-btn-prev {
    left: -5px;
  }
  
  .products-slider-btn-next {
    right: -5px;
  }
}

@media (max-width: 480px) {
  .products-slider-container {
    padding: 0 4px;
    margin: 20px auto;
  }
  
  .products-slider-header h2 {
    font-size: 18px;
  }
  
  .products-slider-wrapper {
    padding: 0 4px;
  }
  
  .products-slider {
    width: calc(100% - 48px);
    max-width: 280px;
    margin: 0 auto;
  }
  
  .products-track {
    gap: 12px;
  }
  
  .product-card {
    flex: 0 0 240px;
  }
  
  .product-card-image {
    height: 140px;
  }
  
  .products-slider-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .products-slider-btn-prev {
    left: 0;
  }
  
  .products-slider-btn-next {
    right: 0;
  }
  
  .button-menu-italy {
    font-size: 14px;
    padding: 0 16px;
  }
}
