/* Brand Logos Section Styles for New Arrivals */

.new-arrivals-brands-section {
  padding: 40px 0;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin: 30px 0;
}

.new-arrivals-brands-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: 600;
  color: #333;
  position: relative;
}

.new-arrivals-brands-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #007bff, #0056b3);
  margin: 12px auto 0;
  border-radius: 3px;
}

#newArrivalsBrandsContainer {
  padding: 20px;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e0e0e0;
}

.brand-logo-container:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
  border-color: #007bff;
}

.brand-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
  transition: filter 0.3s ease;
}

.brand-logo-container:hover .brand-logo {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .new-arrivals-brands-section {
    padding: 30px 0;
    margin: 20px 0;
  }

  .new-arrivals-brands-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .brand-logo-container {
    height: 100px;
    padding: 12px;
    margin-bottom: 12px;
  }

  #newArrivalsBrandsContainer {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .new-arrivals-brands-section {
    padding: 20px 0;
    margin: 15px 0;
  }

  .new-arrivals-brands-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .brand-logo-container {
    height: 80px;
    padding: 10px;
  }
}

/* Animation for brand logos on page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-logo-container {
  animation: fadeInUp 0.6s ease forwards;
}

.brand-logo-container:nth-child(1) { animation-delay: 0.1s; }
.brand-logo-container:nth-child(2) { animation-delay: 0.2s; }
.brand-logo-container:nth-child(3) { animation-delay: 0.3s; }
.brand-logo-container:nth-child(4) { animation-delay: 0.4s; }
.brand-logo-container:nth-child(5) { animation-delay: 0.5s; }
.brand-logo-container:nth-child(6) { animation-delay: 0.6s; }
