/* File: assets/css/new-arrivals.css */
.new-arrivals-section {
  padding: 80px 0;

  background-color: var(--color-light-gray);
  overflow: hidden;
}

.arrivals-section{
    margin: 1px auto;
  /* margin: auto; */
  max-width: 1280px;
}
.section-header-carousel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.carousel-nav {
  display: flex;
  gap: 15px;
}
.carousel-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid #e9ecef;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
}
.carousel-container {
  padding: 10px 0;
}
.product-carousel {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.product-carousel::-webkit-scrollbar {
  display: none;
}
.carousel-item {
  flex: 0 0 auto;
  width: 280px;
  padding: 0 15px;
  scroll-snap-align: start;
}
.arrival-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}
.arrival-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}
.arrival-image-container {
  overflow: hidden;
}
.arrival-image-container img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.arrival-card:hover .arrival-image-container img {
  transform: scale(1.05);
}
.arrival-info {
  padding: 20px;
}
.arrival-category {
  font-size: 12px;
  color: var(--color-medium-gray);
  margin: 0 0 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.arrival-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arrival-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.arrival-name a:hover {
  color: var(--color-primary);
}
.arrival-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}
@media (max-width: 767px) {
  .new-arrivals-section {
    padding: 60px 0;
  }
  .section-header-carousel {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .carousel-item {
    width: 250px;
    padding: 0 10px;
  }
}
