/* Product Page Specific CSS */

.category-link {
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(13, 110, 253, 0.1);
}

.category-link:hover {
  background: rgba(13, 110, 253, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

.category-section {
  border-left: 3px solid #0d6efd;
  padding-left: 1rem;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.hover-shadow {
  transition: all 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.placeholder-image {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
  transform: translateY(-1px);
}

/* Enhanced Disclaimer Section */
.disclaimer-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.disclaimer-item {
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.disclaimer-item:hover {
  border-left-color: #0d6efd;
  transform: translateX(5px);
}

/* Enhanced Similar Products Section */
.similar-products-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f5f9 100%);
}

.section-header .section-title {
  font-weight: 700;
  color: #1a1a1a;
}

.bg-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.bg-gradient .section-title,
.bg-gradient .section-subtitle {
  color: white;
}

/* Enhanced Product Cards */
.product-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #6c757d;
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.badge-sale {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  font-size: 0.7rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  display: block;
  width: fit-content;
}

.badge-fda {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  font-size: 0.7rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  display: block;
  width: fit-content;
}

.product-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  margin-bottom: 0.5rem;
}

.product-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating .stars {
  display: inline-block;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.current-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0d6efd;
}

.original-price {
  color: #6c757d;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.discount-percent {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

/* Product Page Specific Styles */
.option-card {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb !important;
}

.option-card:hover {
  border-color: #2563eb !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.trust-badges .badge {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
}

.rating-breakdown .progress {
  border-radius: 0.5rem;
}

.review-item:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.nav-pills .nav-link {
  padding: 0.75rem 1.5rem;
  margin: 0 0.25rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background-color: #f3f4f6;
  border-color: #e5e7eb;
}

.nav-pills .nav-link.active {
  background-color: #2563eb;
  border-color: #2563eb;
}

.faq-item h5 {
  color: #1f2937;
}

.detail-item th {
  color: #374151;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #2563eb;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background: #1e40af;
  transform: translateY(-2px);
  color: white;
}