.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  position: relative;
  top: 40px;
}

.container h3 {
  color: rgb(114, 111, 111);
}
.container h1 {
  text-align: center;
  margin-bottom: 25px;
  color: #000000ad;
  margin-top: 20px;
}
.container p {
  text-align: center;
  color: #000;
  padding: 10px 0;
  font-size: 14px;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  max-width: 300px;
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 5px;
  cursor: pointer;
}

/* .btn {
  display: inline-block;
  padding: 3px 5px;
  margin: 5px 2px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.btn-fav {
  background-color: #ffebeb;
  color: #c00;
}

.btn-wp {
  background-color: #25d366;
  color: white;
}

.btn-view {
  background-color: #009087;
  color: white;
} */

/* === 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;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 50px;
  z-index: 99999;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/*  */

.search-panel {
  position: fixed;
  left: -300px;
  top: 50px;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 998;
  overflow-y: auto;
  color: #000;
}

.search-input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}

.search-submit-btn {
  width: 100%;
  padding: 8px;
  background-color: #000;
  color: white;
  border: none;
  cursor: pointer;
}

#filterbtn {
  margin-bottom: 70px;
}

/* sifirla duymesi */
.sifirla {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  gap: 8px;
  height: 34px;
  width: 112px;
  border: none;
  border: 1px solid #ff362b34;
  border-radius: 20px;
  cursor: pointer;
  margin: 10px 0;
  text-decoration: none;
}

.lable {
  line-height: 20px;
  font-size: 17px;
  color: #ff342b;
  letter-spacing: 1px;
}

.sifirla:hover {
  background: #ff362b52;
}

.sifirla:hover .fa-rotate-left {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}
