/* =========================
   Qonaqlama.az – style.css (desktop)
   ========================= */

@media (min-width:769px){
  #elanContainerDesktop{
    display:grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)); /* 1 sətirdə 5 kart */
    gap:16px; max-width:1400px;
    margin:8px auto; padding:0 20px;
  }
  #elanContainerDesktop > *{ min-width:0; }

  /* Masaüstü kart min-h */
  .elan-karti{ min-height:280px; }
}

/* =========================
   KATEQORİYA STYLING - Masaüstü (FIXED)
   ========================= */

/* Kateqoriya konteyneri - FIX */
.cats-wrap {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 20px auto !important;
  padding: 10px 20px !important;
  background: #fff !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  width: 100% !important;
  max-width: 1000px !important;
  box-sizing: border-box !important;
}

/* Kateqoriya itemləri - FIX */
.cats-wrap > div {
  display: flex !important;
  align-items: center !important;
  background: white !important;
  border-radius: 32px !important;
  padding: 8px 16px 8px 8px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  width: 180px !important;
  height: 64px !important;
  border: 2px solid #bae6fd !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  box-sizing: border-box !important;
}

/* Hover effekti */
.cats-wrap > div:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
  transform: translateY(-2px) !important;
  border-color: #7dd3fc !important;
}

/* Kateqoriya şəkilləri - FIX */
.cats-wrap > div > div:first-child {
  width: 48px !important;
  height: 48px !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin-right: 12px !important;
  border: 2px solid #bae6fd !important;
}

.cats-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Kateqoriya mətni - FIX */
.cats-wrap span {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  line-height: 1 !important;
  display: block !important;
}

/* Scroll bar üçün */
.cats-wrap::-webkit-scrollbar {
  height: 6px;
}
.cats-wrap::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.cats-wrap::-webkit-scrollbar-thumb {
  background: #bae6fd;
  border-radius: 3px;
}

/* Əgər grid istifadə edirsinizsə */
.cats-wrap.grid-version {
  display: grid !important;
  grid-template-columns: repeat(5, 180px) !important;
  gap: 12px !important;
  justify-content: center !important;
}