    body {
      min-height: 100vh;
      margin: 0;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background: #e8e8e8;
    }

    /* UST  NAVBAR */
    @media (min-width: 992px) {
    .navbar-links {
      border: 1px solid #d4d4d4;
      border-radius: 22px;
      margin-left: 6px;
      color: #434343;
      }

      .navbar-links:hover {
        transition: box-shadow 0.6s;
        box-shadow: 0 0 8px rgb(148, 148, 148);
        -webkit-box-shadow: 0 0 8px rgb(148, 148, 148);
        border: 1px solid #dfdfdf;
      }
    }


    
/*    register form */

    .card {
      max-width: 600px;
      width: 100%;
      border: none;
      border-radius: 16px;
      box-shadow: 0 0 25px rgb(239, 209, 178);
      margin: 12px 6px 32px;
    }
    h4 {
      color: #b84a00;
      font-weight: 700;
      text-align: center;
      margin-bottom: 1.5rem;
    }
    label {
      font-weight: 400;
      color: #834009;
      float: left;
    }
    .form-control {
      border-radius: 18px;
      border: 1.8px solid rgb(203, 203, 203);
      transition: border-color 0.8s ease;
    }
    .form-control:focus {
      border: 0.8px #959595;
      box-shadow: 0 0 4px hsl(27, 7%, 69%);
      outline: none;

    }
    .input-group-text, .btn-outline-secondary {
      border-radius: 0 8px 8px 0;
      border: 1.8px solid #ffa64d;
      background-color: #fff3e0;
      color: #d35400;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    .btn-outline-secondary:hover {
      background-color: #ff6f00;
      color: white;
      border-color: #ff6f00;
    }
    small.text-danger {
      font-size: 0.85em;
    }
    #form_feedback {
      color: #d35400;
      font-weight: 600;
      text-align: center;
      margin-top: 1rem;
    }

    
/* NOTIFICATION  BOX  */

/* Bildirim kutusu (sticky, sabit navbar altında) */
.notification-box {
  position: fixed; /* ÖNEMLİ: sticky yerine fixed */
  top: 140px; /* Navbar yüksekliği kadar */
  left: 15px !important;
  width: 360px;
  max-height: 400px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #b7b7b7;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 46px rgb(0, 0, 0) !important;
  -webkit-box-shadow: 0 0 35px rgb(0, 0, 0) !important;
  z-index: 1050; /* Bootstrap dropdown'ların üstünde olacak şekilde */
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

/* Basit fade in animasyonu */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}


    .product-card {
      border-radius: 14px;
      background-color: rgb(255, 255, 255);
      transition: box-shadow 0.3s ease;
      cursor: pointer;
      position: relative;
      min-height: 340px !important;
    }

/* 767px'e kadar */
@media (max-width: 767px) {
    .col-lg-2 {
        width: 48%; /* 2-3 kart için */
    }
}

/* 768px-990px arasında */
@media (min-width: 768px) and (max-width: 990px) {
    .col-lg-2 {
        width: 30%; /* 3-4 kart için */
    }
}

/* 991px-1200px arasında */
@media (min-width: 991px) and (max-width: 1200px) {
    .col-lg-2 {
        width: 22%; /* 4-5 kart için */
    }
}

/* 1200px ve üzeri */
@media (min-width: 1200px) {
    .col-lg-2 {
        width: 18%; /* 5 kart için */
    }
}

    
    .product-card:hover {
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    .product-img {
      height: 200px;
      object-fit: cover;
      border-radius:14px 14px 0 0 !important;
      padding-top: 2px;
      width: 100%;
      object-fit: cover !important;
      border-top-left-radius: 6px;
      border-top-right-radius: 6px;
      border-bottom: 1px solid #d3d3d3ff;
    }
    .like-btn {
      position: absolute;
      top: 6px;
      right: 6px;
      font-size: 20px;
      z-index: 10;
      color: #dc3545;
      background: #ffffff5e;
      backdrop-filter: blur(20px);
      border-radius: 50%;
      padding: 5px;
      border: 1px solid #dfdddd;
    }

    .like-btn:hover {
      border: 1px solid #fff;
    }
    .product-body {
      padding: 12px;
      min-height: 95px;
    }
    .product-title {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .product-date {
      font-size: 0.85rem;
      color: #7d776c;
    }

    .product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* maksimum 2 satır */
  line-clamp: 2; /* maksimum 2 satır */
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* Çok satır için */
}

.product-price {
  color: #ff1313;
  font-size: 16px;
  font-weight: bold;
  border-radius: 12px;
}


    /* show product */
      .show-product {
      width: 100%;
      max-width: 1200px;
      padding: 10px;
      margin: auto;
      margin-top: 20px;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 0 10px #d3d3d3ff;
    }

    .main-img {
      width: 100%;
      height: auto;
      max-height: 420px;
      object-fit: contain;
      background: #f8f8f8;
      border-radius: 12px;
      padding: 10px;
      cursor: pointer;
    }

    .thumbs img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 8px;
      border: 2px solid transparent;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .thumbs img.active {
      border-color: #145afdff;
    }

    .profile-box {
      display: flex;
      gap: 10px;
      align-items: center;
      background: #fff3cd;
      padding: 12px;
      border-radius: 12px;
      margin-top: 20px;
    }

    .profile-box img {
      width: 48px;
      height: 48px;
      object-fit: cover;
      border-radius: 50%;
    }

    .modal-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  display: block;
  margin: auto;
}


.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 999;
  transition: background 0.3s ease;
  border-radius: 50%;
}
.modal-nav:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}
.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-footer-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  z-index: 1000;
}
.modal-footer-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%) scale(1.05);
}

.modal-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}



/* PRODUCT  UPLOAD */
.product-upload {
  width: 90%;
  max-width: 722px;
  background-color: #fff9f4;
  border-radius: 16px;
  padding: 12px;
  margin: auto;
  margin-top: 26px;
  margin-bottom: 46px;
  box-shadow: 0 0 12px #bebebe;
  -webkit-box-shadow: 0 0 12px #bebebe;
}

    /* Form genel stili */
  .upload-form {
    display: grid;
    gap: 1.2rem;
  }

  /* Küçük ekranlarda tek sütun, 768px+ ekranlarda iki sütun */
  @media (min-width: 768px) {
    .upload-form {
      grid-template-columns: repeat(2, 1fr);
    }
    .upload-form .full-width {
      grid-column: span 2;
    }
  }

  .form-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  /* Görsel önizleme */
  #preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  .thumb-container {
    position: relative;
    width: 110px;
    height: 110px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
  }
  .thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255, 0, 0, 0.8);
    border: none;
    color: white;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 18px;
    text-align: center;
    padding: 0;
  }


  /* Filter   kismi */
  
  .filter-container {
    background: #fafafa;
    width: 97%;
    margin: auto;
    border-radius: 12px;
    padding: 6px;
  }

  .fiyat-siralamasi-option {
    padding-bottom: 10px !important;
  }

  .filter-qiymet-label {
    padding-top: 7px;
    margin-right: 2px;
  }

  
  .filter-fiyat {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    padding-bottom: 5px;
  }

  .filter-tetbiq-et-btn {
    font-weight: bold; 
    font-family: Arial, Helvetica, sans-serif; 
    letter-spacing: 1px;
    background: #FF9B2F;
    border: none;
  }


  
    /* Upload Product */
    .uploadProductBtn {
      width: 60% !important; 
      background: rgb(255, 128, 0);
      border: none;
      border-radius: 16px;
      font-weight: 600;
      letter-spacing: 1px;
      height: 48px;
      font-size: 18px;
    }


 @media (min-width: 768px) {
  /* Fiyat alanı konteynerini flex sütun yap */
  .filter-fiyat {
    display: flex;
    flex-direction: column;
    border: none;
  }

  /* Label tam genişlikte ve alt margin ile */
  .filter-qiymet-label {
    width: 100%;
    margin-bottom: 6px;
  }

  /* Inputlar içeren div flex row yap */
  .filter-fiyat > .d-flex {
    display: flex;
    gap: 10px; /* gap aralığı */
  }

  /* Inputlar genişliği eşit ve uyumlu */
  .filter-price {
    flex: 1 1 0;
    min-width: 0; /* Taşmayı önler */
  }

  .filter-tetbiq-et-btn {
    margin-bottom: 22px;
  }

  /* upload sehifesinde btn */
  .uploadProductBtn {
    float: right !important;
    width: 180px !important;
  }
}



  /* Kicik ekranlarda */

    @media (max-width: 767px) {
      .filter-tetbiq-et-btn {
        margin-top: 18px;
      }
    }

