.gallery-top {
  height: 300px;
  width: 100%;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-top .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Modern modal styles */
#add-to-cart-modal .modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  overflow: hidden;
}

#add-to-cart-modal .modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
  padding: 1rem 1.5rem;
}

#add-to-cart-modal .modal-title {
  font-weight: 600;
  color: #333;
}

#add-to-cart-modal .modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #eaeaea;
  padding: 1rem 1.5rem;
}

#add-to-cart-modal .input-group-text {
  min-width: 80px;
  background-color: #f8f9fa;
  font-weight: 500;
  color: #495057;
  border-color: #dee2e6;
}

#add-to-cart-modal .form-control:disabled {
  background-color: #fff;
  color: #495057;
  opacity: 0.9;
}

#add-to-cart-modal .image-carousel-container {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

#add-to-cart-modal .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

#add-to-cart-modal .product-thumbs-swiper .swiper-slide {
  opacity: 0.4;
  transition: opacity 0.3s;
}

#add-to-cart-modal .product-thumbs-swiper .swiper-slide-active {
  opacity: 1;
}

#add-to-cart-modal .barcode-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

#add-to-cart-modal .barcode-container svg {
  max-width: 100%;
  height: auto;
}

#add-to-cart-modal .btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  font-weight: 500;
}

#add-to-cart-modal .btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

#add-to-cart-modal .product-history-section h6 {
  font-weight: 600;
  color: #495057;
}

#add-to-cart-modal table.table thead th {
  font-weight: 600;
  background-color: #f8f9fa;
  border-bottom-width: 1px;
} 