.products-preview, .products-page {
  padding: 80px 0;
  background: var(--lacivert);
}

.urun-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(10px);
  position: relative;
}

.urun-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(77, 163, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.urun-card:hover {
  transform: translateY(-12px);
  border-color: var(--acik-mavi);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 20px rgba(77, 163, 255, 0.1);
}

.urun-card:hover::before {
  opacity: 1;
}

.product-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa; /* Light background for transparent product images */
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Better for varying product aspect ratios */
  padding: 15px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.urun-card:hover .product-img img {
  transform: scale(1.1);
}

.urun-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.urun-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.urun-card-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: rgba(77, 163, 255, 0.1);
  color: var(--acik-mavi);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(77, 163, 255, 0.2);
  margin-top: auto;
}

.btn-more:hover {
  background: var(--acik-mavi);
  color: #fff;
  box-shadow: 0 8px 20px rgba(77, 163, 255, 0.3);
}

.bos-mesaj {
  text-align: center;
  grid-column: 1 / -1;
  padding: 60px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Fix for grid overlap */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .product-img {
    height: 200px;
  }
  .grid-container {
    grid-template-columns: 1fr;
  }
}