/* 仓库产品展示区块样式 */
.warehouse-products-section {
  padding: 50px 0;
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
}

.section-header {
  margin-bottom: 35px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #6c757d;
  font-weight: 400;
}

.warehouse-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.warehouse-tab {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 20px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.warehouse-tab:hover {
  border-color: #04A9EE;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,123,255,0.2);
}

.warehouse-tab.active {
  border-color: #04A9EE;
  background: linear-gradient(135deg, #007bff 0%, #04A9EE 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,123,255,0.3);
}

.warehouse-tab i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}

.warehouse-tab span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.warehouse-tab small {
  font-size: 0.9rem;
  opacity: 0.8;
}

.warehouse-content {
  display: none;
}

.warehouse-content.active {
  display: block;
}

.products-showcase {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.product-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.nav-btn {
  position: absolute;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  pointer-events: auto;
}

.nav-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.nav-btn i {
  font-size: 1.1rem;
  color: #007bff;
}

.prev-btn {
  left: -30px;
}

.next-btn {
  right: -30px;
}
.products-viewport{
  overflow:hidden;
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,0.1);
}
.products-carousel {
  display: flex;
  /* overflow: hidden; */
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  /* width: 100%; */
}

.product-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  flex-basis: 100%;
  flex-grow: 0;
  display: flex;
}

.product-card {
  background: white;
  display: flex;
  height: 500px;
  overflow: hidden;
  width: 100%;
  flex: 1;
}

.product-image-section {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.image-container:hover .product-image {
  transform: scale(1.1);
}

.overlay-buttons {
  display: flex;
  gap: 20px;
}

.overlay-btn {
  background: white;
  color: #333;
  padding: 15px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.overlay-btn:hover {
  background: #0ae;
  color: white;
  transform: translateY(-2px);
}

.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.new-badge {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.discount-badge {
  background: linear-gradient(135deg, #dc3545 0%, #04A9EE 100%);
  color: white;
}

.product-info-section {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.product-header {
  margin-bottom: 10px;
}

.product-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-title a:hover {
  color: #0ae;
}

.product-name {
  font-size: 1rem;
  margin: 0;
  height: 48px; 
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.product-pricing {
  display: flex;
  /* align-items: baseline; */
  gap: 15px;
}

.current-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #04A9EE;
  line-height: 1;
}



.list-price {
  font-size: 0.9rem;
  color: #6c757d;
  text-decoration: line-through;
  font-weight: 500;
}
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.price-item:last-child {
  border-bottom: none;
}

.price-label {
  font-weight: 500;
  color: #495057;
}

.price-value {
  font-size: 1.1rem;
}

.original-price {
  color: #6c757d;
  text-decoration: line-through;
}

.warehouse-price {
  color: #04A9EE;
  font-size: 1.1rem;
}

.factory-price {
  color: #6c757d;
  text-decoration: line-through;
  /* font-size: 1rem; */
}

.product-actions {
  display: flex;
  gap: 15px;
}

.action-btn {
  flex: 1;
  padding: 15px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-btn {
  background: linear-gradient(135deg, #04A9EE 0%, #04A9EE 100%);
  color: white;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,123,255,0.3);
  color: white;
}


.secondary-btn {
  background: white;
  color: #04A9EE;
  border: 2px solid #04A9EE;
}

.secondary-btn:hover {
  background: #04A9EE;
  color: white;
  transform: translateY(-2px);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.indicator-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dee2e6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  background: #04A9EE;
  transform: scale(1.2);
}

.warehouse-footer {
  text-align: center;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 18px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(40,167,69,0.3);
}

.view-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(40,167,69,0.4);
  color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .warehouse-products-section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .warehouse-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .warehouse-tab {
    min-width: 250px;
  }
  
  .product-card {
     background: white;
  display: flex;
  height: 500px;
  overflow: hidden;
  width: 100%;
  flex: 1;
  }
  
  .product-info-section {
    padding: 30px 20px;
  }
  
  .nav-btn {
    width: 50px;
    height: 50px;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
}
