@font-face {
    font-family: 'HelveticaNeueCyr Thin';
    src: url('../fonts/helveticaneuecyr_thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-footer {
  margin-top: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 768px) {
  .site-header {
    background-color: #333F48;
    
  }
}

.header-inner {
  width: 100%;
  max-width: 1440px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
}

.logo img {
  height: 60px !important;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif;
  font-weight: 100;
  color: white;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  letter-spacing: 1.5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #00a9ce;
  transition: 0.3s;
  opacity: 0;
}

.nav-menu a:hover::after {
  width: 100%;
  opacity: 1;
}



.contact-button:hover {
  background-color: #a40028;
}

.lang-switch a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
}

.lang-switch a.active {
  opacity: 1;
  font-weight: bold;
}

/* Гамбургер */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hamburger .line {
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Стили при открытом меню (крестик) */
.hamburger.active .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line2 {
  opacity: 0;
}

.hamburger.active .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger div {
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: #333F48;
    padding: 20px 0;
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 20px;
    font-size: 18px;
  }

  .contact-button {
    margin: 15px 20px;
    width: calc(100% - 40px);
  }

  .lang-switch {
    text-align: center;
    margin-top: 10px;
  }

  .hamburger {
    display: flex;
  } 
}

/* Кнопка Каталог */
.catalog-button {
  background-color: #00a9ce;
  color: white;
  font-size: 14px;
  width: 166px;
  height: 48px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0 16px;
}

.catalog-button:hover {
  background-color: #007c9b;
}

.catalog-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  margin-right: 10px;
}

.catalog-icon span {
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 1px;
}

.contact-button {
  background-color: #D50032;
  color: white;
  font-size: 14px;
  width: 166px;
  height: 48px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 95% 0, 100% 15%, 100% 100%, 0 100%);
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  box-sizing: border-box;
  padding: 0 16px;
  font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif; /* Используем тонкий шрифт */
  font-weight: 100 !important;
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh; /* или фиксированная высота в пикселях */
    overflow: hidden;
    margin-top: -100px;
    z-index: 0;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: none;
}

.slide.active {
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: #666;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.slider-btn:hover {
  background-color: #D50032;
}

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

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

.slider-dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.slider-dots span {
  width: 20px;
  height: 10px;
  background: white;
  display: inline-block;
  transition: background 0.3s ease;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.slider-dots span.active {
  background: #D50032;
}

/* Скос как на кнопке */
.slider-dots span.first {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}

.slider-dots span.last {
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0% 100%);
}

@media (max-width: 768px) {
  .slider-dots span {
    width: 16px;
    height: 8px;
  }
}

body {
  background-color: #f2f2f2; /* Бледно-серый фон */
}

.search-section {
  padding: 40px 2%;
  display: flex;
  justify-content: center;
}

.search-container {
  display: flex;
  width: 100%;
  max-width: 1900px;
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  clip-path: polygon(3% 0%, 100% 0%, 100% 87%, 100% 100%, 0% 100%, 0% 50%);
}

.search-input {
  flex: 1;
  height: 68px;               /* ← добавь это! */
  padding: 0 16px;            /* Уменьши вертикальный отступ */
  border: none;
  font-size: 16px;
  outline: none;
  color: #333;
  font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif !important;
  letter-spacing: 1.8px;
  box-sizing: border-box; 
  margin-left: 20px;
  margin-right: 0;
}

.search-input::placeholder {
  color: #999;
}

.search-button {
  width: 68px;       /* например, увеличь размер кнопки */
  height: 68px;
  background-color: #00a9ce;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-right: 10px;
}

.search-button:hover {
  background-color: #007c9b;
}

.search-button svg {
  display: block;
  width: 20px;
  height: 20px;
}

.compare-icon {
  width: 50px;
  height: 50px;
  cursor: pointer;
  margin-left: -8px
}

.compare-icon:hover {
  filter: brightness(0.6); /* затемнение */
  transition: filter 0.3s ease; /* плавный эффект */
}

.catalog-heading {
  padding: 0 5% 15px;
}

.catalog-heading h1 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .catalog-heading h1 {
    font-size: 28px;
  }
}

.catalog-grid {
  padding: 0 5% 60px;
  display: flex;
  flex-direction: column;
  gap: 24px; /* было 30px — чуть меньше между рядами */
}

.catalog-row {
  display: flex;
  gap: 20px; /* было 30px — чуть меньше между карточками */
  flex-wrap: wrap;
  justify-content: flex-start;
  font-family: 'Roboto', sans-serif;
  font-size: 24px !important; 
  letter-spacing: 1px;
}

.catalog-item {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  flex-shrink: 0;
  
}

/* Квадраты */
.catalog-item.square {
  flex: 1;
  aspect-ratio: 1 / 1;
  min-width: 200px;
}

@media (max-width: 768px) {
    .catalog-grid-wrapper {
        min-height: auto !important;
        overflow: visible !important;
    }

    .catalog-grid {
        position: static !important;
        transform: none !important;
    }
}
/* Квадраты в первом ряду — чуть уже */
.catalog-item.square-small {
  flex: 1;
  aspect-ratio: 1 / 1;
  min-width: 180px;
}


.catalog-item {
  background-color: white;
  border-radius: 4px;
  flex-shrink: 0;
  border: 3px solid transparent;
  transition: transform 0.2s ease-in-out;;
}

.catalog-item:hover {
  transform: scale(1.05); /* Увеличиваем на 5% */
}

.catalog-item.rectangle {
  position: relative;
  background-color: white;
  flex: 2.075;
  aspect-ratio: 2.4 / 1; /* Соотношение сторон */
  min-width: 300px;
  clip-path: polygon(60px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 60px);
  isolation: isolate; /* Важно! позволяет z-index работать правильно */
}

@media (max-width: 768px) {
  .catalog-item.rectangle {
    aspect-ratio: 1 / 1; /* Сделать высоту равной ширине */
    min-width: 200px; /* Минимальная ширина */
    height: 200px; /* Фиксированная высота */
    z-index: auto; /* Убираем z-index */
    position: relative; /* Оставляем position: relative, но убираем z-index */
    clip-path: polygon(0 0, 90% 0, 100% 15%, 100% 100%, 0 100%);
    
  }
}

.catalog-item.rectangle::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background-color: white;
  filter: drop-shadow(0 0 0px #00bfff) drop-shadow(0 0 10px #00bfff);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: -1;
}


.advantages-heading {
  padding: 0px 5% 30px; /* Увеличил верхний отступ */
  font-family: 'Roboto', sans-serif;
  font-size: 30px !important;
  margin-bottom: 20px;
  margin-left: 60px; 
  margin-top: 30px
}

.advantages-heading h1 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin: 0;
  text-transform: uppercase;
  margin-top: -250px
}

@media (max-width: 768px) {
  .advantages-heading h1 {
    font-size: 28px;
  }
}

@media (min-width: 1025px) {
  .advantages-heading {
    margin-top: 10vh; /* Поднимаем заголовок на 5% высоты viewport */
  }
}

@media (min-width: 1025px) and (max-width: 1599px) {
  .advantages-heading {
    margin-top: -20vh; /* Поднимаем заголовок на 5% высоты viewport */
  }
}
.advantages-grid {
  padding: 0 5% 100px;
  display: flex;
  flex-direction: column;
  gap: 24px; /* как в каталоге */
  min-height: 400px;
  margin-top: -200px;
}

.advantages-grid .catalog-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Убираем hover-подсветку */
.catalog-item.no-hover {
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.catalog-heading-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 30px !important; 
  letter-spacing: 1px;
  margin-bottom: 20px;
  margin-left: 60px; 
  margin-top: 30px;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-controls span {
  font-size: 18px;
  color: #333;
}

.catalog-controls span strong {
  color: #00a9ce;
}

.catalog-nav {
  width: 48px;
  height: 48px;
  border: 2px solid #999;
  background: white;
  font-size: 22px;
  color: #00a9ce;
  cursor: pointer;
  clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
  transition: border-color 0.2s ease;
}

.catalog-nav:hover {
  border-color: #00a9ce;
}

.catalog-nav.right {
  transform: scaleX(1);
}

.catalog-nav.left {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .catalog-heading-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .catalog-controls {
    align-self: flex-end;
  }
}
.catalog-heading-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-controls span {
  font-size: 18px;
  color: #333;
}

.catalog-controls span strong {
  color: #00a9ce;
}

.catalog-nav {
  width: 48px;
  height: 48px;
  border: 2px solid #999;
  background: white;
  font-size: 22px;
  color: #00a9ce;
  cursor: pointer;
  clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-nav:hover {
  border-color: #00a9ce;
}

@media (max-width: 768px) {
  .catalog-heading-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .catalog-controls span {
    font-size: 16px;
  }
}

/* Слайдер */
.catalog-grid-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 1500px;
  padding-bottom: 30px; /* Подберите подходящую высоту */
}

.catalog-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 5% 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.5s ease-in-out;
}

/* Для начального состояния */
.page-1 {
  transform: translateX(0);
}

.page-2 {
  transform: translateX(100%);
}

/* Обновленный стиль для мобильного меню */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Меню начинается сразу под шапкой */
    left: 0;
    width: 100%;
    background-color: #333F48;
    padding: 20px 0;
    z-index: 999;
    margin-top: 0; /* Убираем возможный отступ */
    border-top: 1px solid rgba(255,255,255,0.1); /* Граница между шапкой и меню */
  }

  /* Стили для анимации гамбургера в крестик */
  .hamburger.active div:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active div:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .hamburger div {
    transition: all 0.3s ease;
  }
}
/* Стили для мобильного слайда */
.mobile-slide-image {
  display: none;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .slide {
    background-image: none !important;
  }
  
  .mobile-slide-image {
    display: block;
  }
}

/* Стили для слайдов */
.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.desktop-slide, .mobile-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mobile-slide {
    display: none;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .desktop-slide {
        display: none;
    }
    
    .mobile-slide {
        display: block;
    }
    
    /* Опционально: уменьшаем высоту слайдера на мобильных */
    .slider {
        height: 100vh;
    }
}

/* Стили для планшетов (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Шапка */
  .header-inner {
    padding: 0 20px;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  /* Слайдер */
  .slider {
    height: 70vh;
  }
  
  /* Каталог */
  .catalog-item.rectangle {
    flex: 2;
    min-width: 200px;
  }
  
  .catalog-item.square, 
  .catalog-item.square-small {
    flex: 1;
    min-width: 150px;
  }
  
  /* Меню */
  .nav-menu a {
    font-size: 14px;
  }
  
  .catalog-button,
  .contact-button {
    width: 151px;
    font-size: 16px;
  }
}

/* Стили для ноутбуков (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  /* Шапка */
  .header-inner {
    padding: 0 40px;
  }
  
  /* Слайдер */
  .slider {
    height: 80vh;
  }
  
  /* Каталог */
  .catalog-grid {
    gap: 20px;
  }
  
  .catalog-row {
    gap: 15px;
  }
}

/* Общие улучшения для всех устройств */
@media (min-width: 769px) {
  /* Показываем обычное меню на планшетах и ноутбуках */
  .nav-menu {
    display: flex !important;
  }
  
  /* Скрываем гамбургер на устройствах шире 768px */
  .hamburger {
    display: none !important;
  }
}

/* Ландшафтная ориентация на мобильных */
@media (max-width: 767px) and (orientation: landscape) {
  .slider {
    height: 100vh;
  }
  
  .angled-rectangle {
    top: 50%;
    left: 5%;
    width: 60%;
  }
}
  
  .site-header {
    height: 80px;
  }
  
  .logo img {
    height: 50px;
  }
  
  body {
    padding-top: 80px;
  }
}



/* Оптимизация для средних экранов */
@media (min-width: 768px) and (max-width: 1200px) {
  .catalog-item.rectangle {
    flex: 1.5;
  }
  
  
  
  .catalog-item.square,
  .catalog-item.square-small {
    flex: 0.8;
  }
}

/* Базовые стили — для мобильных */
.angled-rectangle {
  position: absolute;
  top: 27%;
  left: 10%;
  transform: translateY(-50%);
  width: 75%;
  max-width: 500px;
  padding: 15px;
  background-color: rgba(51, 63, 72, 0.6);
  clip-path: polygon(8% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%, 0% 16%);
  z-index: 10;
  text-align: left;
}

.angled-rectangle p {
  margin: 2px 0;
  line-height: 1.3;
}

.tirei, .tools {
  color: #00A9CE;
  font-size: 24px;
  font-weight: bold;
  padding-left: 5%;
  display: inline-block;
  margin: 4px 0;
  font-family: 'Roboto', sans-serif;
}

.tools {
  color: white;
}

.description {
  color: white;
  font-size: 14px;
  padding-left: 5%;
  display: block;
  margin: 4px 0;
  font-family: 'Roboto', sans-serif;
  
}

/* ====== Планшеты (768–1200px) ====== */
@media (min-width: 768px) {
  .angled-rectangle {
    left: 10%;
    top: 50%;
    width: 50%;
    max-width: 600px;
    padding: 20px;
  }

  .tirei, .tools {
    font-size: 32px;
  }

  .description {
    font-size: 16px;
  }
}

/* ====== Десктопы (1200px+) ====== */
@media (min-width: 1200px) {
  .angled-rectangle {
    width: 38%;
    max-width: 700px;
    padding: 25px;
  }

  .tirei, .tools {
    font-size: 30px;
  }

  .description {
    font-size: 18px;
  }
}

/* ====== Очень большие экраны (1600px+) ====== */
@media (min-width: 1600px) {
  .angled-rectangle {
    width: 38.7%;
    padding: 25px;
    top: 50%;
  }

  .tirei, .tools {
    font-size: 48px;
  }

  .description {
    font-size: 22px;
  }
  
}

/* Положение кнопки на втором слайде (по всем экранам) */
.slide .details-button.details-button-second {
    position: absolute;
    left: 19%; /* например, другое значение */
    font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif;
    bottom: 55%;
}

/* Мобильные */
@media (max-width: 768px) {
    .slide .details-button.details-button-second {
        left: 19%;
        transform: translateX(-50%);
        bottom: 55%;
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* Планшеты */
@media (min-width: 768px) and (max-width: 1024px) {
    .slide .details-button.details-button-second {
        left: 5%;
        bottom: 10%;
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Десктопы */
@media (min-width: 1025px) {
    .slide .details-button.details-button-second {
        left: 5%;
        bottom: 25%;
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* Очень большие экраны (1920px+) */
@media (min-width: 1920px) {
    .slide .details-button.details-button-second {
        left: 5%;
        bottom: 25%;
        font-size: 18px;
        padding: 18px 32px;
    }
}

.details-button {
  position: absolute;
  left: 5%;
  bottom: 25%;
  background-color: #00a9ce;
  color: white;
  font-size: 14px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0% 100%);
  transition: all 0.3s ease;
  text-transform: uppercase;
  z-index: 10;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .details-button {
    left: 19.5%;
    transform: translateX(-50%);
    font-size: 13px;
    padding: 10px 18px;
    bottom: 55%;
  }
}

/* Адаптация для планшетов */
@media (min-width: 768px) and (max-width: 1024px) {
  .details-button {
    left: 5%;
    font-size: 14px;
    padding: 12px 20px;
    bottom: 20%;
  }
}

/* Адаптация для десктопов (1025px+) */
@media (min-width: 1025px) {
  .details-button {
    font-size: 16px;
    padding: 14px 28px;
    bottom: 25%;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 92% 100%, 0% 100%);
    
    /* Эффекты при наведении только для десктопов */
    &:hover {
      background-color: #008fb0;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    &:active {
      transform: translateY(0);
    }
  }
}

/* Дополнительно: очень большие экраны */
@media (min-width: 1600px) {
  .details-button {
    font-size: 18px;
    padding: 16px 32px;
  }
}

@media (max-width: 768px) {
  
  .angled-rectangle p {
    margin: 5px 0;
    line-height: 1.1;
  }
}
  
/* Общие стили для двухцветного прямоугольника (mobile-first) */
.angled-rectangle.two-colors {
    position: absolute;
    top: 28.5%;
    left: 5%;
    width: 90%;
    height: 20%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
    clip-path: polygon(8% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%, 0% 16%);
    z-index: 10;
}

.angled-rectangle.two-colors .top-part {
    background-color: #333F48;
    padding: 8px 8px 10px 10%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 93% 100%, 0% 100%, 0% 16%);
    margin-bottom: -2px;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
}

.angled-rectangle.two-colors .bottom-part {
    background-color: #7A7A7A;
    padding: 10px 8px 8px 10%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%);
    margin-top: -2px;
    font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif;
    font-size: 8px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.angled-rectangle.two-colors .top-part h2 {
    font-size: 60px !important; /* Временное решение для теста */
    margin: 0;
    padding: 0;
    line-height: 1.2;
    color: white;

}

.angled-rectangle.two-colors .bottom-part p {
    font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif;
    font-size: 18px !important; /* Временное решение для теста */
    font-weight: bold;
    letter-spacing: 2.5px;
    color: white;
    margin: 3px 0;
    line-height: 2.2 !important;
}


/* Планшеты (768-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .angled-rectangle.two-colors {
        width: 70%;
        height: 23%;
        max-width: 600px;
        top: 35%;
        clip-path: polygon(8% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%, 0% 16%);
    }
    
    .angled-rectangle.two-colors .top-part,
    .angled-rectangle.two-colors .bottom-part {
        padding: 15px 20px;
        padding-left: 8%;
    }
    
    .angled-rectangle.two-colors h2 {
        font-size: 28px;
    }
    
    .angled-rectangle.two-colors .bottom-part p {
        font-size: 16px;
        line-height: 1.3;
    }
}

/* Десктопы (1025px+) */
@media (min-width: 1025px) {
    .angled-rectangle.two-colors {
        width: 40%;
        height: 40%;
        max-width: 700px;
        padding: 0; /* Убираем padding у основного контейнера */
        top: 57%;
        left: 5%;
        background-color: transparent; /* Делаем фон прозрачным */
        overflow: hidden; /* Обязательно */
        clip-path: polygon(8% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%, 0% 16%);
    }
    
    .angled-rectangle.two-colors .top-part,
    .angled-rectangle.two-colors .bottom-part {
        padding: 20px 25px;
        padding-left: 8%;
        /* Добавляем небольшой перехлёст для устранения зазоров */
        margin-bottom: -2px; /* Для .top-part */
        margin-top: -2px; /* Для .bottom-part */
    }
    
    .angled-rectangle.two-colors .top-part {
        background-color: #333F48;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 93% 100%, 0% 100%, 0% 16%);
    }
    
    .angled-rectangle.two-colors .bottom-part {
        background-color: #7A7A7A;
        clip-path: polygon(0% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%);
    }
    
    .angled-rectangle.two-colors h2 {
        font-size: 42px;
    }
    
    .angled-rectangle.two-colors .bottom-part p {
        font-size: 18px;
        line-height: 1.4;
    }
}

/* Большие экраны (1600px+) */
@media (min-width: 1600px) {
    .angled-rectangle.two-colors {
        width: 40%;
        height: 31%;
        padding: 0;
        top: 50%;
        left: 5%;
    }
    
    .angled-rectangle.two-colors .top-part,
    .angled-rectangle.two-colors .bottom-part {
        padding: 25px 30px;
        padding-left: 8%;
    }
    
    .angled-rectangle.two-colors h2 {
        font-size: 42px;
    }
    
    .angled-rectangle.two-colors .bottom-part p {
        font-size: 22px;
        line-height: 1.9;
        margin-top: -20px;
    }
}
/* Стили для третьего и четвертого слайда */
.angled-rectangle .slide-text {
  font-size: 24px;
  line-height: 1.5;
  text-align: left;
  padding-left: 2%;
}

.angled-rectangle .slide-text .blue-text {
  color: #00A9CE;
  font-size: 32px;
  font-family: 'Roboto', sans-serif;
}

.angled-rectangle .slide-text .white-text {
  color: white;
  font-size: 24px;
  font-family: 'Roboto', sans-serif;
}

@media (min-width: 768px) {
  .angled-rectangle .slide-text {
    font-size: 32px;
  }

  .angled-rectangle .slide-text .blue-text {
    font-size: 40px;
  }

  .angled-rectangle .slide-text .white-text {
    font-size: 32px;
  }
}

@media (min-width: 1200px) {
  .angled-rectangle .slide-text {
    font-size: 40px;
  }

  .angled-rectangle .slide-text .blue-text {
    font-size: 48px;
  }

  .angled-rectangle .slide-text .white-text {
    font-size: 40px;
  }
}

@media (min-width: 1600px) {
  .angled-rectangle .slide-text {
    font-size: 48px;
  }

  .angled-rectangle .slide-text .blue-text {
    font-size: 50px;
  }

  .angled-rectangle .slide-text .white-text {
    font-size: 48px;
  }
}
.angled-rectangle {
  left: 5%; /* Базовое значение для всех экранов */
}

/* Стили для первого прямоугольника */
.slider .angled-rectangle.first-rectangle {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 85%;
    height: 30%;
    max-width: 500px;
    padding: 15px;
    background-color: rgba(51, 63, 72, 0.6);
    clip-path: polygon(8% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%, 0% 16%);
    z-index: 10;
    text-align: left;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .slider .angled-rectangle.first-rectangle {
        width: 85%; /* Ширина уменьшается для мобильных устройств */
        height: 16%; /* Высота уменьшается для мобильных устройств */
        max-width: 90%;
        padding: 10px;
        left: 5%;
        top: 28.5%; /* Корректируем положение */
    }

    .slider .angled-rectangle.first-rectangle h2 {
        font-size: 1px; /* Меньший размер шрифта для заголовка */
    }


    .slider .angled-rectangle.first-rectangle .description {
        font-size: 14px; /* Увеличиваем размер шрифта описания */
    }
    .slider .angled-rectangle.first-rectangle .tirei {
        font-size: 26px; /* Размер шрифта для голубого текста на десктопах */
    }
}

/* Адаптация для планшетов */
@media (min-width: 768px) and (max-width: 1024px) {
    .slider .angled-rectangle.first-rectangle {
        width: 70%; /* Ширина для планшетов */
        height: 23%;
        max-width: 600px;
        padding: 15px;
        top: 35%; /* Положение для планшетов */
    }

    .slider .angled-rectangle.first-rectangle h2 {
        font-size: 1px; /* Размер шрифта для заголовка на планшетах */
    }

    .slider .angled-rectangle.first-rectangle .blue-text {
        font-size: 34px; /* Размер шрифта для голубого текста на планшетах */
    }

    .slider .angled-rectangle.first-rectangle .white-text {
        font-size: 34px; /* Размер шрифта для белого текста на планшетах */
    }

    .slider .angled-rectangle.first-rectangle .description {
        font-size: 16px; /* Размер шрифта для описания на планшетах */
    }

    .slider .angled-rectangle.first-rectangle .tools {
        font-size: 26px; /* Размер шрифта для инструментов на планшетах */
    }
}

/* Адаптация для десктопов */
@media (min-width: 1025px) {
    .slider .angled-rectangle.first-rectangle {
        width: 40%; /* Ширина для десктопов */
        height: 25%;
        max-width: 700px;
        padding: 20px;
        top: 50%;       
    }

    .slider .angled-rectangle.first-rectangle h2 {
        font-size: 1px; /* Размер шрифта для заголовка на десктопах */
    }

    .slider .angled-rectangle.first-rectangle .tirei {
        font-size: 42px; /* Размер шрифта для голубого текста на десктопах */
    }

    .slider .angled-rectangle.first-rectangle .white-text {
        font-size: 50px !important; /* Размер шрифта для белого текста на десктопах */
    }

    .slider .angled-rectangle.first-rectangle .description {
        font-size: 20px; /* Размер шрифта для описания на десктопах */
    }

    .slider .angled-rectangle.first-rectangle .tools {
        font-size: 42px; /* Размер шрифта для инструментов на десктопах */
    }
}

/* Адаптация для очень больших экранов */
@media (min-width: 1600px) {
    .slider .angled-rectangle.first-rectangle {
        width: 38%;
        padding: 25px;
        top: 50%; /* Размещение на больших экранах */
        height: 25%;
    }

    .slider .angled-rectangle.first-rectangle h2 {
        font-size: 5px; /* Размер шрифта для заголовка на десктопах */
    }

    .slider .angled-rectangle.first-rectangle .tirei {
        font-size: 50px; /* Размер шрифта для голубого текста на десктопах */
    }

    .slider .angled-rectangle.first-rectangle .white-text {
        font-size: 50px; /* Размер шрифта для белого текста на десктопах */
    }

    .slider .angled-rectangle.first-rectangle .description {
        font-size: 24px; /* Размер шрифта для описания на десктопах */
    }

    .slider .angled-rectangle.first-rectangle .tools {
        font-size: 50px; /* Размер шрифта для инструментов на десктопах */
    }
}

/* Для  прямоугольника в третьем слайде*/
.angled-rectangle.first {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 30%; /* Установите свою ширину */
    height: 30%; /* Установите свою высоту */
    max-width: 500px;
    padding: 15px;
    background-color: rgba(51, 63, 72, 0.6);
    clip-path: polygon(8% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%, 0% 16%);
    z-index: 10;
    text-align: left;
}

.angled-rectangle.first p {
    margin: 2px 0;
    line-height: 1.3;
}

.angled-rectangle.first .slide-text {
    font-size: 24px;
}

.angled-rectangle.first .blue-text {
    color: #00A9CE;
}

.angled-rectangle.first .white-text {
    color: white;
}

/* Для второго прямоугольника */
.angled-rectangle.second {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 70%; /* Установите свою ширину */
    height: 30%; /* Установите свою высоту */
    max-width: 600px;
    padding: 20px;
    background-color: rgba(51, 63, 72, 0.6);
    clip-path: polygon(8% 0%, 100% 0%, 100% 83%, 93% 100%, 0% 100%, 0% 16%);
    z-index: 10;
    text-align: left;
}

.angled-rectangle.second p {
    margin: 2px 0;
    line-height: 1.3;
}

.angled-rectangle.second .slide-text {
    font-size: 28px;
}

.angled-rectangle.second .blue-text {
    color: #00A9CE;
}

.angled-rectangle.second .white-text {
    color: white;
}

/* Адаптация для мобильных устройств для первого прямоугольника */
@media (max-width: 768px) {
    .angled-rectangle.first {
        width: 85%;
        height: 20%;
        max-width: 85%;
        padding: 10px;
        left: 5%;
        top: 27%;
    }
    .angled-rectangle.first .blue-text {
        color: #00A9CE; /* Голубой цвет для текста */
        font-size: 38px;
        position: relative; /* Относительное позиционирование */
        top: -20px; 
        padding-left: 10px;
    }

    .angled-rectangle.first .white-text {
        color: white; /* Белый цвет для текста */
        font-size: 38px;
        position: relative; /* Относительное позиционирование */
        top: -20px; 
        padding-left: 10px;
        
    }
}

/* Адаптация для мобильных устройств для второго прямоугольника */
@media (max-width: 768px) {
    .angled-rectangle.second {
        width: 87%;
        height: 18%;
        max-width: 90%;
        padding: 10px;
        left: 5%;       
        top: 27%;
    }
    .angled-rectangle.second .blue-text {
        color: #00A9CE; /* Голубой цвет для текста */
        font-size: 30px;
        position: relative; /* Относительное позиционирование */
        top: -20px; 
        padding-left: 5px;
    }

    .angled-rectangle.second .white-text {
        color: white; /* Белый цвет для текста */
        font-size: 30px;
        position: relative; /* Относительное позиционирование */
        top: -20px; 
        padding-left: 5px;
        
    }
  
}

.site-footer {
    background-color: #333F48;
    width: 100%;
    height: 20vh; /* Full height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative; /* Добавляем относительное позиционирование */
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.footer-inner .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-inner .logo img {
    max-width: 80%;
    height: auto;
}

.footer-text {
    position: absolute;
    right: 5%; /* Отступ справа 5% */
    text-align: right;
    font-family: 'HelveticaNeueCyr Roman', Arial, sans-serif;
    margin-bottom: -5px !important; 
}

.footer-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif;
    letter-spacing: 0.8px;
     
}

.footer-text p strong {
    font-weight: bold;
}

/* Добавляем стили для иконок */
.footer-icons {
    position: absolute;
    left: 5%; /* Отступ слева 5% */
    display: flex;
    align-items: center;
}

.footer-icons img {
    margin-right: 30px; /* Отступ между иконками */
    width: 45px; /* Размер иконок */
    height: auto;
    transition: transform 0.3s ease;
}

/* Эффект увеличения иконок при наведении */
.footer-icons img:hover {
    transform: scale(1.2); /* Увеличиваем иконку на 20% */
}

/* Первый ряд */
.catalog-row:nth-child(1) .catalog-item.rectangle,
.catalog-row:nth-child(1) .catalog-item.square-small:nth-child(3) {
    background-color: #00a9ce;
}

/* Второй ряд */
.catalog-row:nth-child(2) .catalog-item.square:nth-child(2) {
    background-color: #7a7a7a;
}
.catalog-row:nth-child(2) .catalog-item.square:nth-child(3) {
    background-color: #00a9ce;
}

/* Третий ряд */
.catalog-row:nth-child(3) .catalog-item.square:nth-child(1),
.catalog-row:nth-child(3) .catalog-item.square:nth-child(4) {
    background-color: #00a9ce;
}
.catalog-row:nth-child(3) .catalog-item.square:nth-child(3) {
    background-color: #7a7a7a;
}

/* Стиль для прямоугольного элемента */
.catalog-item.rectangle {
    position: relative;
    z-index: 1000;
    background-color: #00a9ce;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Добавляем, чтобы изображение не выходило за пределы элемента */
}

/* Стиль для квадратного элемента */
.catalog-item.square-small {
    position: relative;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Добавляем, чтобы изображение не выходило за пределы элемента */
}



/* Стиль для изображения в прямоугольном элементе */
.catalog-item.rectangle .catalog-image {
    max-width: 100%;
    height: auto;
    display: block;
    position: absolute; /* Добавляем, чтобы изображение можно было двигать */
    top: 50%; /* Начальная позиция по вертикали */
    left: 70%; /* Начальная позиция по горизонтали */
    transform: translate(-50%, -50%); /* Центрируем изображение */
    width: 50%;
    height: auto; 
}

.catalog-item.square-small {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 24px !important; 
}

/* Стиль для изображения во втором элементе (square-small) */
.catalog-item.square-small img {
    position: absolute !important; /* Высокий приоритет */
    width: 80% !important;         /* Принудительно устанавливаем размер */
    max-width: 100% !important;
    height: auto !important;
    top: 60%;          
    left: 50%; 
    transform: translate(-50%, -50%);
    object-fit: contain;
    display: block;
}

/* Универсальный стиль для изображений в квадратах */
.catalog-item.square {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: white;
}


/* Стиль для изображения в квадрате */
.catalog-item.square img.square-img {
    position: absolute;
    width: 70%;      /* Размер изображения */
    height: auto;
    top: 60%;        /* Положение по вертикали */
    left: 60%;       /* Положение по горизонтали */
    transform: translate(-50%, -50%);
    object-fit: contain;
}


.catalog-text {
  position: absolute;
  font-size: var(--text-size, 14px);
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
  transition: background 0.3s, color 0.3s;
  text-align: left;
  margin-left: -13%;
  top: 10%;
  width: 75%; /* Ограничиваем ширину текста */
  text-align: left;
  white-space: normal; /* Текст переносится на новую строку */
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-text.white-text {
    color: white;
}

.catalog-text:not(.white-text) {
    color: black;
}

.catalog-text1 {
    position: absolute;
    font-size: var(--text-size, 14px);
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    pointer-events: none;
    transition: background 0.3s, color 0.3s;
    left: var(--text-left, 23%);
    top: var(--text-top, 60%);
    transform: translate(-50%, 150%);
    font-family: 'Roboto', sans-serif;
    font-size: 24px !important; 

}

.catalog-text1.white-text {
    color: white;
}

.catalog-item {
  background-color: white;
  border-radius: 4px;
  flex-shrink: 0;
  border: 3px solid transparent;
  transform: scale(1); /* добавлено */
  transition: transform 0.3s ease; /* чуть плавнее */
}

@media (max-width: 768px) {
  .catalog-item.hidden {
    display: none !important;
    opacity: 0;
  }
}

/* Адаптация текста под мобильные устройства */
@media (max-width: 768px) {
    .catalog-text1 {
        font-size: clamp(10px, 3vw, 16px);
        left: var(--text-left, 29%);
        top: var(--text-top, 20%);
    }
}

/* Адаптация текста под мобильные устройства */
@media (max-width: 768px) {
    .catalog-text {
        font-size: clamp(10px, 3vw, 16px);
        left: var(--text-left, 20%);
        top: var(--text-top, 10%);
    }
}

/* Адаптация текста под планшеты */
@media (min-width: 768px) and (max-width: 1200px) {
    .catalog-text1,
    .catalog-text {
        font-size: clamp(12px, 2.5vw, 18px);
        left: var(--text-left, 23%);
        top: var(--text-top, 15%);
    }
}

/* Адаптация текста под большие экраны */
@media (min-width: 1200px) {
    .catalog-text1,
    .catalog-text {
        font-size: clamp(14px, 2vw, 20px);
        left: var(--text-left, 23%);
        top: var(--text-top, 10%);
    }
}

@media (max-width: 768px) {
    .catalog-row:nth-child(2) .catalog-item:nth-child(n+3),
    .catalog-row:nth-child(n+3) {
         /* Скрыть элементы, начиная с 6-го */
    }

    .toggle-more {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0 60px; /* Добавлен отступ внизу */
        cursor: pointer;
    }

    .toggle-more span {
        margin: 0 10px;
    }
}

@media (min-width: 769px) {
    .toggle-more {
        display: none;
    }

    .catalog-row {
        display: flex;
    }
}

/* Текст для преимуществ */
.catalog-item.square.no-hover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: white;
    padding: 20px;
}

.advantage-img {
    width: 50%;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

.advantage-text {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    font-family: 'Roboto', sans-serif;

}

.catalog-item.no-hover {
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  border: none !important;
  cursor: default !important;
}

.catalog-item.no-hover:hover {
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
}

.footer-privacy {
  color: white;
  text-decoration: none;
  position: relative;
  font-size: 14px;
  font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif;
  letter-spacing: 0.8px;
}

.footer-copy {
  color: white;
  text-decoration: none;
  position: relative;
  font-size: 14px;
  font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif;
  letter-spacing: 0.8px;
}

.footer-privacy::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #00a9ce;
  transition: 0.3s;
  opacity: 0;
}

.footer-privacy:hover::after {
  width: 100%;
  opacity: 1;
}

@media (max-width: 768px) {
   .site-footer {
    min-height: 300px; /* Увеличенная высота серого фона */
    padding: 40px 0; /* Можно подрегулировать отступы */
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    position: static;
  }

  .footer-inner .logo {
    order: 1;
    transform: none;
    position: static;
  }

  .footer-icons {
    order: 2;
    position: static;
    margin-right: -25px;
  }

  .footer-text {
    order: 3;
    position: static;
    text-align: center;
  }

  .footer-bottom {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    position: static;
  }
}

@media (min-width: 1600px) {
  
  .site-footer .logo img {
    width: 200px; /* или нужная ширина */
    height: auto; /* сохраняем пропорции */
  }
  
  .footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* можешь заменить на flex-start / flex-end */
    gap: 4ch; /* 4 символа пробела */
    position: relative; /* для управления отступами */
    top: 50px; /* двигай вверх/вниз */
    left: -31.2%; /* двигай влево/вправо */
  }

  .footer-privacy,
  .footer-copy {
    margin: 0;
    white-space: nowrap;
  }
}

@media (min-width: 1025px) and (max-width: 1599px) {
  .site-footer .logo img {
    width: 200px; /* или нужная ширина */
    height: auto; /* сохраняем пропорции */
  }
  
  .footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* можешь заменить на flex-start / flex-end */
    gap: 4ch; /* 4 символа пробела */
    position: relative; /* для управления отступами */
    top: 50px; /* двигай вверх/вниз */
    left: -28%; /* двигай влево/вправо */
  }

  .footer-privacy,
  .footer-copy {
    margin: 0;
    white-space: nowrap;
  }
}

.popular-heading-wrapper {
    background-color: white;
    width: 100%;
}

.advantages-heading1 {
    padding: 0px 5% 30px; /* Такие же отступы как у .advantages-heading */
    width: 100%;
    background-color: white; /* Белый фон */
    font-family: 'Roboto', sans-serif;
    font-size: 30px !important; 
    margin-bottom: 20px;
    margin-left: 60px; 

}

.advantages-heading1 h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    text-align: left; /* Выравнивание по левому краю как у других заголовков */
}

@media (max-width: 768px) {
    .advantages-heading1 h1 {
        font-size: 28px; /* Адаптивный размер для мобильных */
    }
}

.new-slider-wrapper {
    background-color: white;
    width: 100%;
    margin-top: -60px;
}

.white-background-container {
  position: relative;
  z-index: 1; /* Убедитесь, что это выше, чем у других элементов */
  background-color: white;
  width: 100%;
}

/* Стили для контейнера изображений преимущества */
.advantage-img-container {
    position: relative;
    width: 100%;
    margin: 0 auto 12px;
    margin-left: 24%;
}

/* Стили для фонового изображения (4.svg) */
.advantage-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* Стили для иконки поверх (5.svg) */
.advantage-icon {
    position: absolute;
    top: 43%;
    left: 26%;
    transform: translate(-50%, -50%);
    width: 30%; /* Размер иконки относительно фона */
    height: auto;
}

.search-section {
  background-color: white; /* Или любой другой цвет, который вам нужен */
  padding-bottom: 0; /* Уменьшаем нижний отступ */
}

.search-container {
  box-shadow: none; /* Убираем тень если она есть */
  border: none; /* Убираем границы */
}



@media (max-width: 768px) {
  .search-container {
    max-width: 150%;        /* Ограничиваем ширину */
    margin: 0 auto;
    gap: 0;
  }

  .search-input {
    height: 48px;          /* Чуть ниже, чем на десктопе */
    font-size: 14px;
    padding: 0 12px;
  }

  .search-button {
    width: 48px;
    height: 48px;
    margin-right: 10px
  }

  .search-button svg {
    width: 32px;
    height: 32px;
  }
  .compare-icon {
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 768px) {
    .dropdown {
        position: relative !important;
    }
    
    #catalogDropdown {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
        width: 140% !important;
        max-width: none !important;
        max-height: 60vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-top: 4px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        z-index: 10000 !important;
    }

    #catalogDropdown a {
        padding: 12px 15px !important;
        font-size: 15px !important;
        color: #7A7A7A !important;
        border-bottom: 1px solid #eee !important;
    }
    
    #catalogDropdown a:last-child {
        border-bottom: none !important;
    }
    
    .dropdown-content {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
        width: 140% !important;
        max-width: none !important;
        max-height: 60vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-top: 2px solid #00a9ce !important;
        border-radius: 4px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        z-index: 10000 !important;
        margin-top: 4px !important;
        opacity: 1 !important;
    }
    
    .dropdown-content a {
        padding: 12px 15px !important;
        font-size: 15px !important;
        color: #7A7A7A !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .dropdown-content a:last-child {
        border-bottom: none !important;
    }
}

/* Стили для контейнера выпадающего меню */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Стили для раскрывающегося списка */
.dropdown-content {
  position: absolute;
  top: 109%;
  left: 0;
  width: 336px;
  background-color: #FAFAFA !important;
  font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif !important; /* Тонкий шрифт */
  font-size: 14px;
  padding: 8px 0;
  display: none;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-top: 2px solid #00a9ce;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Каждый пункт меню - серый и тонкий */
.dropdown-content a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #7A7A7A !important;
  font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif !important; /* ← Thin вместо Roman */
  font-weight: 100 !important; /* ← 100 вместо 50 */
  font-size: 16px;
  letter-spacing: 1.5px; /* ← Добавьте такой же как в nav-menu */
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  background-color: transparent;
}

/* Состояние при наведении на пункты меню */
.dropdown-content a:hover {
  background-color: #f8f8f8;
  color: #00a9ce !important; /* Голубой при наведении */
  border-left-color: #00a9ce;
  padding-left: 25px;
  font-weight: 300; /* Чуть жирнее при наведении */
}

/* Активный пункт меню */
.dropdown-content a.active {
  background-color: #f0f8fa;
  color: #00a9ce !important;
  border-left-color: #00a9ce;
  font-weight: 300;
}

/* Показываем меню при наведении с анимацией */
.dropdown:hover .dropdown-content,
.dropdown-content.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Более специфичный селектор */
.dropdown .dropdown-content a {
  color: #7A7A7A !important;
}

.nav-menu .dropdown .dropdown-content a {
  color: #7A7A7A !important;
}

/* Или принудительно через все возможные селекторы */
.dropdown-content a,
.dropdown-content a:link,
.dropdown-content a:visited {
  color: #7A7A7A !important;
}


/* Добавьте это в конец CSS файла второй страницы */
.search-section .search-container .search-input {
    padding: 0 40px !important;
    font-family: 'HelveticaNeueCyr Thin', Arial, sans-serif !important;
    letter-spacing: 1.8px !important;
    font-weight: 100 !important;
}