/* Sprint 16 - gerçek ürün listesi: filtre, sayfalama, kolon görünürlüğü ve zengin detay paneli */
.product-filter-bar {
  grid-template-columns: minmax(260px, 1.8fr) repeat(5, minmax(120px, .72fr)) auto auto;
  align-items: end;
}
.product-filter-bar .wide-filter input { min-width: 260px; }
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 10px;
  color: #65728a;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.product-grid-toolbar {
  gap: 14px;
}
.product-grid-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.column-menu { position: relative; }
.column-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 15;
  min-width: 190px;
  padding: 12px;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .14);
  display: none;
}
.column-menu.is-open .column-menu-panel { display: grid; gap: 8px; }
.column-menu-panel strong {
  font-size: 12px;
  color: #0f172a;
  margin-bottom: 2px;
}
.column-menu-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #40516e;
}
.product-datagrid .sort-link {
  color: inherit;
  text-decoration: none;
  font-weight: 900;
}
.product-datagrid .sort-link:hover { color: #ff7900; }
.product-datagrid .is-hidden-col { display: none; }
.product-datagrid.is-relaxed tbody td {
  padding-top: 13px;
  padding-bottom: 13px;
}
.product-datagrid.is-relaxed .product-name-cell span {
  white-space: normal;
  line-height: 1.35;
}
.product-pagination .pagination-buttons {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.page-btn {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e8f2;
  border-radius: 10px;
  color: #26364f;
  background: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
}
.page-btn.is-active {
  background: #ff7900;
  border-color: #ff7900;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 121, 0, .22);
}
.page-btn.disabled {
  opacity: .45;
  pointer-events: none;
}
.drawer-loading {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 220px;
  color: #53627a;
  font-size: 13px;
}
.drawer-loading .nts-loader { --nts-loader-size: 42px; }
.product-detail-hero p { margin-top: 6px; }
.detail-kpi-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}
.drawer-section {
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  margin: 12px 0;
}
.drawer-section h5 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #71809a;
}
.drawer-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 0;
  border-top: 1px solid #eef3f8;
  font-size: 12px;
}
.drawer-mini-row:first-of-type { border-top: 0; }
.drawer-mini-row.slim { grid-template-columns: minmax(0, 1fr) auto; }
.drawer-mini-row span,
.drawer-mini-row small {
  min-width: 0;
}
.drawer-mini-row b,
.drawer-mini-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drawer-mini-row b { color: #142033; }
.drawer-mini-row small { color: #7b8ba4; }
.drawer-mini-row em {
  font-style: normal;
  font-weight: 900;
  color: #1d2b43;
  white-space: nowrap;
}
.empty-mini {
  padding: 10px 0;
  font-size: 12px;
  color: #8a98ad;
}
@media (max-width: 1280px) {
  .product-filter-bar {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .product-filter-bar { grid-template-columns: 1fr; }
  .product-filter-bar .wide-filter input { min-width: 0; }
  .product-grid-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .column-menu-panel { left: 0; right: auto; }
  .detail-kpi-grid { grid-template-columns: 1fr; }
}
