/* Warehouse Carousel Specific Styles */

/* Reset for carousel container */
.list-warehouse.slick-slider {
  margin: 0;
  padding: 0;
}

.list-warehouse .slick-list {
  overflow: hidden;
  margin: 0 -10px; /* Add spacing between slides */
}

.list-warehouse .slick-track {
  display: flex;
  align-items: stretch;
}

.list-warehouse .slick-slide {
  padding: 0 10px; /* Spacing between items */
  box-sizing: border-box;
}

.list-warehouse .slick-slide > div {
  height: 100%;
}

.list-warehouse__item {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.list-warehouse__item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Carousel Navigation Arrows */
.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.slick-arrow:hover {
  background: rgba(0,0,0,0.9);
}

.slick-arrow:before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}

.slick-prev {
  left: -20px;
}

.slick-prev:before {
  transform: rotate(135deg);
  margin-left: 2px;
}

.slick-next {
  right: -20px;
}

.slick-next:before {
  transform: rotate(-45deg);
  margin-right: 2px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .slick-arrow {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .slick-prev {
    left: -15px;
  }
  
  .slick-next {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .slick-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .slick-prev {
    left: -10px;
  }
  
  .slick-next {
    right: -10px;
  }
}

/* Fix for item content alignment */
.list-warehouse__item-ct {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.list-warehouse__item-ctprice {
  margin-bottom: 5px;
}

/* .list-warehouse__item-cttxt {
  margin-top: auto;
  font-size: 0.9em;
  color: #666;
} */
.list-warehouse__item-cttxt {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 400;
}

/* Image container fixes */
/* .list-warehouse__item-img {
  position: relative;
  height: 200px;
  overflow: hidden;
} */

.list-warehouse__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.list-warehouse__item:hover .list-warehouse__item-img img {
  transform: scale(1.05);
}

/* Title styling */
.list-warehouse__item-ttl {
  padding: 10px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.list-warehouse__item-ttltxt {
  font-weight: bold;
  color: #333;
  font-size: 1.1em;
}

/* Loading state */
.loading-placeholder {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 1.1em;
}

/* Static grid fallback (when carousel is disabled) */
.list-warehouse.static-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  margin: 0;
}

.list-warehouse.static-grid .list-warehouse__item {
  margin-bottom: 0;
}

.list-warehouse:not(.slick-slider) {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  gap: 20px;
  /* padding: 20px 0;
  list-style: none;
  margin: 0; */
}

.list-warehouse:not(.slick-slider) .list-warehouse__item {
  margin-bottom: 0;
}

/* Default list styling */
.list-warehouse {
  margin: 0;
  padding: 0;
  list-style: none;
}