/* Related Products Section Styles */
.related-products-section {
  padding: 15px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.related-products-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.related-products-header {
  text-align: center;
  margin-bottom: 50px;
}

.related-products-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #00476b;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-products-header h3 .section-indicator {
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: #00476b;
  margin: 0 15px;
}

.related-products-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.related-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-product-card:hover {
  transform: translateY(-10px);
}

.related-product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  background-color: #ffffff;
}

.related-product-features {
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .related-products-section {
    padding: 12px 0;
  }
  
  .related-products-header h3 {
    font-size: 1.8rem;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .related-products-section {
    padding: 10px 0;
  }
  
  .related-products-header h3 {
    font-size: 1.6rem;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .related-products-header h3 {
    font-size: 1.5rem;
  }
  
  .related-products-header h3 .section-indicator {
    width: 30px;
    margin: 0 10px;
  }
  
  .related-products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}