.site-footer {
  background-color: #c9fbff;
  padding: 40px 20px 20px 20px;
  font-family: Arial, sans-serif;
  color: #224685;
  box-shadow: 0 -2px 10px rgba(34, 70, 133, 0.1);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #43b8e0;
  object-fit: cover;
}

.footer-logo h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #224685;
}

.footer-info {
  flex: 3 1 600px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  min-width: 160px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
  border-bottom: 2px solid #43b8e0;
  padding-bottom: 5px;
}

.footer-section p,
.footer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.6;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #224685;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #43b8e0;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
  padding-left: 0;
}

.social-links li a {
  font-weight: 600;
  border: 1.5px solid #224685;
  border-radius: 12px;
  padding: 6px 12px;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links li a:hover {
  background-color: #43b8e0;
  color: white;
  border-color: #43b8e0;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #224685cc;
  font-weight: 500;
  border-top: 1px solid #22468533;
  padding-top: 15px;
}



.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #c9fbff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #43b8e0;
}

.site-title {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.nav-buttons {
  display: flex;
  gap: 15px;
  margin-left: 20px;
}

.nav-button {
  padding: 10px 20px;
  background-color: #224685;
  color: white;
  text-decoration: none;
  border-radius: 23px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.nav-button:hover {
  background-color: #1a3466;
}

.email-addresses {
  margin-left: auto;
  padding: 0 20px;
  text-align: right;
}

.email-item {
  font-size: 14px;
  color: #224685;
  line-height: 1.4;
  font-family: Arial, sans-serif;
}

@media (max-width: 768px) {

  .brand-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-description {
    text-align: center;
    margin-top: 10px;
  }

  .email-addresses {
    display: none;
  }
}

.intro-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
}

.intro-text h2 {
  color: #224685;
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.intro-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: #43b8e0;
  border-radius: 2px;
}

.intro-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.cooperation-btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: #224685;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #224685;
  box-shadow: 0 4px 15px rgba(34, 70, 133, 0.25);
}

.cooperation-btn:hover {
  background-color: transparent;
  color: #224685;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(34, 70, 133, 0.35);
}

@media (max-width: 992px) {
  .header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .logo-container {
    margin-bottom: 15px;
    justify-content: center;
  }

  .nav-buttons {
    margin: 15px 0;
    justify-content: center;
  }

  .email-addresses {
    margin: 15px auto 0;
    text-align: center;
  }

  .intro-section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .nav-buttons {
    flex-direction: column;
    width: 100%;
  }

  .nav-button {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }

  .intro-text,
  .slideshow-container {
    padding: 0 15px;
  }

  .slide {
    height: 250px;
  }
}

.brand-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 0;
}

.brand-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 80%;
  max-width: 900px;
  align-items: center;
}


.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 800px;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 0.7s forwards;
  animation-delay: 0.1s;
}

.brand-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.brand-image {
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.brand-image img {
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
  border: 4px solid #ccc;
  margin-bottom: 0.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.brand-image:hover img {
  border-color: #43b8e0;
  transform: scale(1.05);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

.brand-description {
  flex: 1;
  padding-left: 0;
  font-size: 1rem;
  color: #333;
  text-align: left;
  min-height: auto;
  margin-bottom: 1rem;
  max-width: 100%;
}

.brand-categories {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow-y: auto;
  margin-top: 0;
  text-align: center;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  width: 100%;
}

.brand-categories.show {
  max-height: 2000px;
  opacity: 1;
}

.brand-categories ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
}

.brand-categories li {
  background-color: #f0f0f0;
  margin: 0.3rem 0;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  text-align: center;
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 30px auto;
  max-width: 600px;
}

.search-input {
  flex-grow: 1;
  padding: 12px 16px;
  border: 2px solid #007bff;
  border-radius: 25px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

.search-button {
  padding: 12px 24px;
  border: 2px solid #007bff;
  border-radius: 25px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.search-button:hover {
  background-color: white;
  color: #007bff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.search-button:active {
  transform: scale(0.97);
  background-color: #0056b3;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 91, 179, 0.5);
}

.search-result {
  text-align: center;
  margin-top: 2rem;
}

.product-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.7s forwards;
  animation-delay: 0.3s;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card img {
  max-width: 150px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-card h4 {
  margin: 10px 0 5px 0;
  font-size: 1.2rem;
  color: #224685;
}

.product-card p {
  margin: 5px 0;
  font-size: 1rem;
  color: #333;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  cursor: pointer;
}

.brand-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
}

.product-list[style*="display: none"] {
  display: none !important;
}

.product-list[style*="display: block"] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 1rem !important;
  padding: 1rem 0 !important;
}

.product-list[style*="display: block"] .product-card {
  margin: 0 !important;
  width: auto !important;
}

.product-list .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.product-list[style*="display: block"] .product-card img {
  display: block;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto .5rem;
  border-radius: 6px;
}

.product-list .product-card h4 {
  font-size: 1.1rem;
  margin: .5rem 0 .25rem;
}

.product-list .product-card p {
  font-size: .9rem;
  margin: .25rem 0;
}

.brand-categories {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.1) transparent;
}


.brand-categories::-webkit-scrollbar {
  width: 6px;
}
.brand-categories::-webkit-scrollbar-track {
  background: transparent;
}
.brand-categories::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  border: none;
}
.brand-categories::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.category-list-wrapper {
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}


.product-list-wrapper {
  flex: 1;
}

.product-list {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.product-list[style*="display: grid"] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;

  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.carousel-inner {
  height: 400px; /* фиксированная высота */
  position: relative;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  height: 100%;
}

/* Размытый фон */
.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 0;
}


.carousel-item img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .carousel-inner {
    height: 250px;
  }
}
