/* en cox satilanlar */
.best-sellers {
  max-width: 1200px;
  margin: 50px auto;
  text-align: center;
  margin-top: 50px;
}
.best-sellers h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.product-item {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s;
}
.product-item:hover {
  transform: scale(1.03);
}
.product-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.product-item p {
  margin-top: 10px;
  font-weight: 500;
  color: #444;
}
/*  */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.product-item {
  width: 100%;
  max-width: 340px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  box-sizing: border-box;
  /* flex: 1 1 180px; */
  margin-top: 30px;
}

.product-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-item p {
  margin: 10px 0;
  font-weight: 600;
  color: #333;
}

.btn-fav,
.btn-wp,
.btn-view {
  padding: 15px 30px;
  border: 2px solid #2c2c2c;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.4s ease;
  outline: none;
  position: relative;
  overflow: hidden;
  font-weight: bold;
}

@media (max-width: 768px) {
  .product-item {
    max-width: 45%;
  }
}

@media (max-width: 500px) {
  .product-item {
    max-width: 90%;
  }
}
.product-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* görünüş sabit olsun */
  object-fit: contain;
}
.product-name {
  font-size: 16px;
  margin: 10px 0;
}
.product-name a {
  color: #333;
  text-decoration: none;
}
.product-name a:hover {
  text-decoration: underline;
}

/*  */
/* === duymeler === */
.btn-fav,
.btn-wp,
.btn-view {
  appearance: none;
  background-color: #fafbfc;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0,
    rgba(255, 255, 255, 0.25) 0 1px 0 inset;
  box-sizing: border-box;
  color: #24292e;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  padding: 6px 10px;
  position: relative;
  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: break-word;
  text-decoration: none;
}

/* ❤️ Favori – soft pill */

.btn-fav:hover {
  color: #fff;
  background: #292929;
}

/* 📱 WhatsApp – brend rəngi */

.btn-wp:hover {
  color: #fff;
  background: #292929;
}

/* 👁️ Bax – şık gradient/teal */

.btn-view:hover {
  color: #fff;
  background: #292929;
}

/* Kart içində yerləşmə: aralarını aç */
.product-item .btn-fav,
.product-item .btn-wp,
.product-item .btn-view {
  margin: 8px 2px 0 6px;
}
