/* ==========================================================================
   urunlerimiz.css (ÜRÜNLERİMİZ SAYFASI VE KART STİLLERİ)
   ========================================================================== */

/* Ürünler Izgarası */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

/* Tıklanabilir Ürün Kartı Linki */
.product-card-link {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius);
}

.product-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 43px rgba(16, 17, 20, 0.08);
}

.product-card-link .product-card {
  height: 100%;
  border: 1px solid rgba(16, 17, 20, 0.06);
}

/* Ana Ürün Kartı Yapısı */
.product-card {
  background: #fff;
  border: 1px solid rgba(16, 17, 20, 0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(16, 17, 20, 0.04);
}

.product-card.has-image {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Görsel Alanı ve Hizalaması (Kesilmeyi Önleyen Kusursuz Siyah Zemin) */
.product-card__image {
  width: 100%;
  height: 280px; /* Görsellerin ihtişamını göstermek için biraz daha büyüttük */
  background-color: #000000; /* Resimlerin siyah arka planıyla kusursuz birleşmesi için ZİFİRİ SİYAH */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0; /* Kenardaki o çirkin gri çerçeve boşluğunu tamamen yok ettik */
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Görseli ve logoyu asla kesmez, siyah zeminle bütünleşip tam ekranmış gibi durur */
  transition: transform 0.4s ease;
}

.product-card-link:hover .product-card__image img {
  transform: scale(1.05);
}

/* İçerik ve Metinler */
.product-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__tag {
  display: inline-block;
  color: var(--color-blue);
  background: rgba(26, 58, 138, 0.08);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  align-self: flex-start;
}

.product-card__content h3 {
  color: #431c85;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   MOBİL UYUMLULUK (ÜRÜNLERİMİZ)
   ========================================================================== */
@media (max-width: 900px) {
  .page-shell > .inner-page.section-space {
    padding-top: 32px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-grid {
    gap: 12px;
    margin-top: 20px;
  }

  .product-card__image {
    height: clamp(130px, 38vw, 170px);
  }

  .product-card__content {
    min-width: 0;
    padding: 12px;
  }

  .product-card__content .usage-card__tag {
    max-width: 100%;
    padding: 5px 7px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .product-card__content h3 {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .product-card__content p {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}