@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.favori_mehsullar_flex {
  display: flex;
  justify-content: space-between;
}

.favori_mehsullar_flex_buttons {
  display: flex;
  gap: 1rem;
}

.favori_mehsullar_flex_buttons button {
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 130px;
  height: 38px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.favori_mehsullar_flex_buttons button:active {
  transform: scale(0.97);
}

/* Hamısını sebete elave et */
.favori_mehsullar_flex_buttons button:nth-child(1) {
  background-color: #edfaf0;
  color: #1a7a36;
}
.favori_mehsullar_flex_buttons button:nth-child(1):hover {
  background-color: #d4f2db;
}

/* Hamısını sil */
.favori_mehsullar_flex_buttons button:nth-child(2) {
  background-color: #fdf0ef;
  color: #ef4136;
}
.favori_mehsullar_flex_buttons button:nth-child(2):hover {
  background-color: #fad9d7;
}

.mehsullar_favoriler {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.favori_card_buttons {
  display: flex;
  width: 100%;
  gap: 8px;
  margin-top: 12px;
}

.favori_card_buttons button {
  width: 100%;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  cursor: pointer;
  line-height: 1.3;
  transition: background 0.2s, transform 0.15s;
}

.favori_card_buttons button:active {
  transform: scale(0.97);
}

/* Sebete elave et */
.favori_card_buttons button:nth-child(1) {
  background-color: #edfaf0;
  color: #1a7a36;
}
.favori_card_buttons button:nth-child(1):hover {
  background-color: #d4f2db;
}

/* Sil */
.favori_card_buttons button:nth-child(2) {
  background-color: #fdf0ef;
  color: #ef4136;
}
.favori_card_buttons button:nth-child(2):hover {
  background-color: #fad9d7;
}

/* 
.favoriMehsul {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.favoriMehsul.visibleItm {
  opacity: 1;
  transform: translateY(0);
} */