/* ═══════════════════════════════════════════
   PRODUCTS — Məhsullar bölməsi
   products.css  (yalnız products.html üçün)
═══════════════════════════════════════════ */

.prd-section {
  background: #edf0f5;
  padding: 52px 0 72px;
  font-family: 'Montserrat', sans-serif;
}

/* ════════════════════════════════
   LAYOUT: Sidebar + Main
════════════════════════════════ */
.prd-inner {
  padding: 0 52px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* ════════════════════════════════
   SOL SİDEBAR
════════════════════════════════ */
.prd-sidebar {
  width: 228px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  position: sticky;
  top: 24px;
}

.prd-sidebar-head {
  padding: 16px 18px 14px;
  border-bottom: 1.5px solid #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #091929;
}

.prd-cat-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.prd-cat-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #4a5a6b;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, font-weight 0.15s;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.prd-cat-btn::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c5cdd8;
  flex-shrink: 0;
  transition: background 0.15s;
}

.prd-cat-btn:hover {
  background: #f4f7fb;
  color: #091929;
}

.prd-cat-btn:hover::before {
  background: #4990c8;
}

.prd-cat-btn.active {
  background: #f0f4f8;
  color: #091929;
  font-weight: 700;
}

.prd-cat-btn.active::before {
  background: #091929;
}

/* ════════════════════════════════
   SAĞ ƏSAS HISSƏ
════════════════════════════════ */
.prd-main {
  flex: 1;
  min-width: 0;
}

.prd-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.prd-count {
  font-size: 12px;
  font-weight: 600;
  color: #7a8a9a;
}

.prd-count span {
  color: #091929;
}

/* ════════════════════════════════
   KART GRİDİ
════════════════════════════════ */
.prd-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* ════════════════════════════════
   KART
════════════════════════════════ */
.prd-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #e2e8f0;
  transition: box-shadow 0.25s, transform 0.25s;
}

.prd-card:hover {
  box-shadow: 0 8px 28px rgba(9, 25, 41, 0.11);
  transform: translateY(-3px);
}

.prd-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.prd-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.prd-card:hover .prd-card-img {
  transform: scale(1.05);
}

.prd-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prd-card-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4990c8;
}

.prd-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #091929;
  line-height: 1.35;
  margin: 0;
}

.prd-card-desc {
  font-size: 11px;
  color: #5a6b7a;
  line-height: 1.65;
  flex: 1;
}

.prd-card-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  flex: 1;
}

.prd-field-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aaabb;
  margin-bottom: 2px;
}

.prd-field-value {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #1a4f8a;
  line-height: 1.45;
}


.prd-card.prd-hidden { display: none; }

/* ════════════════════════════════
   MOBİL DROPDOWN
════════════════════════════════ */
.prd-mob-select {
  display: none;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #091929;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23091929' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid #d0d8e4;
  border-radius: 8px;
  padding: 12px 40px 12px 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.2s;
}

.prd-mob-select:focus {
  border-color: #091929;
}

/* ════════════════════════════════
   PAGİNASİYA
════════════════════════════════ */
.prd-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.prd-page-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #d0d8e4;
  background: #fff;
  color: #091929;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.prd-page-btn:hover:not(:disabled) {
  border-color: #091929;
  background: #f0f4f8;
}

.prd-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.prd-page-numbers {
  display: flex;
  gap: 4px;
}

.prd-page-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #d0d8e4;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4a5a6b;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.prd-page-num:hover { border-color: #091929; color: #091929; }

.prd-page-num.active {
  background: #091929;
  border-color: #091929;
  color: #fff;
}

.prd-page-dots {
  width: 28px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #7a8a9a;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1300px) {
  .prd-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
  .prd-inner { padding: 0 36px; gap: 22px; }
  .prd-sidebar { width: 200px; }
  .prd-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 912px) {
  .prd-inner { padding: 0 28px; flex-direction: column; gap: 0; }
  .prd-sidebar { display: none; }
  .prd-main { width: 100%; }
  .prd-mob-select { display: block; }
  .prd-toolbar { margin-bottom: 14px; }
  .prd-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prd-card:hover { transform: none; box-shadow: none; }
  .prd-pagination { margin-top: 28px; }
}

@media (max-width: 600px) {
  .prd-section { padding: 36px 0 48px; }
  .prd-inner { padding: 0 24px; }
  .prd-grid { grid-template-columns: 1fr; gap: 12px; }
  .prd-card { flex-direction: column; border-radius: 8px; }
  .prd-card-img-wrap { width: 100%; flex-shrink: 0; }
  .prd-card-img { aspect-ratio: 16 / 9; height: auto; }
  .prd-card-body { padding: 14px 16px 16px; gap: 6px; }
  .prd-card-btn { margin-top: 8px; }
  .prd-page-btn, .prd-page-num { width: 34px; height: 34px; font-size: 11px; }
  .prd-page-dots { height: 34px; }
}

@media (max-width: 430px) {
  .prd-inner { padding: 0 24px; }
}
