body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  background: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

/* Genel kart görünümü */
.main-filter-area {
  background: #fff;
  width: 20%;
}

.main-filter-area-content {
  width: 100%;
}

.main-filter-area-text {
  border-bottom: 1px solid #e9ecef;
}

.main-filter-area-content .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  cursor: pointer;
}

.main-filter-area-content label {
  cursor: pointer;
}

/* Modal alt butonlarını yapışkan yap (mobil UX) */
.modal-footer-sticky {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #e9ecef;
  padding: 0.75rem;
  z-index: 2;
}

/* Masaüstü yan panelin içi biraz daha rahat görünsün */
@media (min-width: 768px) {
  .main-filter-area-content {
    /* max-height: calc(100vh - 220px); */
    overflow: auto;
  }
}

.main-products-area {
  width: 80%;
  /* background-color: red; */
}

.mobile-filter-button {
  display: none !important;
}

.product-card {
  height: 520px !important;
}

.product-img-box {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 0.5rem 0.5rem 0 0;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .main-products-area {
    width: 100%;
    /* background-color: red; */
  }

  #filtersModal {
    --bs-modal-zindex: 1300;
  }
  #filtersModal ~ .modal-backdrop {
    --bs-backdrop-zindex: 1290;
  }

  .main-filter-area {
    display: none;
  }

  .mobile-filter-button {
    display: flex !important;
  }

  .mobile-filter-buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-filter-buttons > button {
    width: 45%;
  }

  .main-product-list-area {
    gap: 10px;
  }

  .product-card {
    height: max-content !important;
    width: 48% !important;
    border-radius: 0.75rem; /* + küçük ekranda daha az radius */
  }

  .product-card-image {
    width: 145px;
    height: 170px;
  }

  .product-card-title-text {
    font-size: 1rem;
  }

  .product-card-amount-text {
    margin-top: 1rem;
    height: max-content;
  }

  .product-card-add-basket-button {
    padding: 0.3rem 0.5rem;
  }

  .qty-control .form-control {
    max-width: 50px;
    min-width: 30px;
    border: none; /* + */
    box-shadow: none; /* + */
  }

  .qty-plus,
  .qty-minus {
    padding: 0.2rem;
    background-color: white;
    transition: background-color 0.2s ease; /* + */
  }
}
