/* Fix for social media links in header to prevent wrapping to multiple rows */
.header-top .top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.header-top .top-inner .info-list {
  display: flex;
  gap: 30px;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0; /* Allow flex items to shrink */
}

.header-top .top-inner .info-list li {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px; /* Make text slightly smaller if needed */
}

.header-top .top-inner .social-links {
  display: flex;
  align-items: center;
  gap: 8px; /* Уменьшил с 15px до 8px */
  flex-wrap: nowrap;
  flex-shrink: 0; /* Don't let social links shrink */
}

.header-top .top-inner .social-links li {
  position: relative;
  display: inline-block;
  float: none !important; /* Remove float to prevent wrapping */
  margin-right: 0 !important; /* Remove margin as we use gap */
  flex-shrink: 0; /* Prevent items from shrinking */
}

.header-top .top-inner .social-links li:last-child {
  margin: 0 !important;
}

.header-top .top-inner .social-links li a {
  display: inline-block;
  font-size: 18px; /* Увеличил с 16px до 18px */
  color: #fff;
  white-space: nowrap;
  width: 40px; /* Увеличил с 35px до 40px */
  height: 40px; /* Увеличил с 35px до 40px */
  line-height: 40px; /* Увеличил с 35px до 40px */
  text-align: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.header-top .top-inner .social-links li a:hover {
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .header-top .top-inner {
    gap: 15px;
  }

  .header-top .top-inner .info-list {
    gap: 25px;
  }

  .header-top .top-inner .info-list li {
    font-size: 13px;
  }

  .header-top .top-inner .social-links {
    gap: 6px; /* Уменьшил расстояние */
  }
}

@media (max-width: 1199px) {
  .header-top .top-inner {
    gap: 10px;
  }

  .header-top .top-inner .info-list {
    gap: 20px;
  }

  .header-top .top-inner .info-list li {
    font-size: 12px;
  }

  .header-top .top-inner .social-links {
    gap: 5px; /* Уменьшил с 10px до 5px */
  }

  .header-top .top-inner .social-links li a {
    width: 35px; /* Увеличил с 30px до 35px */
    height: 35px; /* Увеличил с 30px до 35px */
    line-height: 35px; /* Увеличил с 30px до 35px */
    font-size: 16px; /* Увеличил с 14px до 16px */
  }
}

@media (max-width: 991px) {
  .header-top .top-inner {
    gap: 8px;
  }

  .header-top .top-inner .info-list {
    gap: 15px;
  }

  .header-top .top-inner .social-links {
    gap: 4px; /* Уменьшил с 8px до 4px */
  }

  .header-top .top-inner .social-links li a {
    width: 32px; /* Увеличил с 28px до 32px */
    height: 32px; /* Увеличил с 28px до 32px */
    line-height: 32px; /* Увеличил с 28px до 32px */
    font-size: 15px; /* Увеличил с 13px до 15px */
  }
}

@media (max-width: 767px) {
  .header-top {
    display: none; /* Hide header-top on mobile if needed */
  }
}
