/* Ürünler listesi — Softtrax tarzı dönem çubuğu + tablo */

.ul-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  margin-bottom:14px;
  background:#1b3a5c;
  border-radius:8px;
  color:#fff;
}
.ul-toolbar-left,.ul-toolbar-right{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;
}
.ul-btn{
  display:inline-flex;align-items:center;gap:6px;
  border:none;border-radius:6px;padding:7px 12px;
  font-size:12px;font-weight:600;cursor:pointer;
  font-family:var(--sans);color:#fff;
}
.ul-btn-slate{background:#3d4f63;}
.ul-btn-slate:hover{background:#4a5f75;}
.ul-btn-ghost{background:rgba(255,255,255,.08);padding:7px 9px;}
.ul-btn-ghost:hover{background:rgba(255,255,255,.16);}

.ul-dropdown{position:relative;}
.ul-dropdown-menu{
  position:absolute;top:calc(100% + 6px);left:0;z-index:40;
  min-width:220px;padding:10px;
  background:#1e3a5f;border:1px solid rgba(255,255,255,.12);
  border-radius:8px;box-shadow:0 10px 28px rgba(0,0,0,.35);
}
.ul-dropdown-label{
  font-size:10px;font-weight:700;letter-spacing:.06em;
  color:rgba(255,255,255,.45);margin:0 0 8px;padding:0 4px;
}
.ul-dropdown-item{
  display:flex;align-items:center;gap:8px;width:100%;
  border:none;border-radius:6px;padding:9px 10px;margin-bottom:4px;
  background:#2a4a6e;color:#fff;font-size:12px;font-weight:600;
  cursor:pointer;font-family:var(--sans);text-align:left;
}
.ul-dropdown-item:hover{background:#35587f;}
.ul-dropdown-item:last-child{margin-bottom:0;}

.ul-period-btns{display:flex;gap:4px;}
.ul-period-btn{
  width:34px;height:34px;border:none;border-radius:6px;
  background:rgba(255,255,255,.08);color:#fff;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
}
.ul-period-btn:hover{background:rgba(255,255,255,.14);}
.ul-period-btn.active{background:#2f80ed;}

.ul-period-nav{display:flex;align-items:center;gap:6px;}
.ul-nav-chev{
  width:28px;height:28px;border:none;border-radius:6px;
  background:rgba(255,255,255,.08);color:#fff;cursor:pointer;
  font-size:16px;line-height:1;
}
.ul-nav-chev:hover{background:rgba(255,255,255,.16);}
.ul-period-label{
  min-width:72px;text-align:center;font-size:12px;font-weight:700;
  line-height:1.25;white-space:pre-line;
}
.ul-date-field{
  padding:6px 12px;border-radius:6px;
  background:rgba(255,255,255,.1);font-size:12px;font-weight:600;
}
.ul-search{
  min-width:180px;padding:7px 10px;border-radius:6px;border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.2);color:#fff;font-size:12px;font-family:var(--sans);
}
.ul-search::placeholder{color:rgba(255,255,255,.45);}

.ul-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;margin:0 0 12px;flex-wrap:wrap;
}
.ul-title{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em;}
.ul-sub{margin:4px 0 0;font-size:13px;color:var(--ink3);}
.ul-pager{
  display:flex;align-items:center;gap:8px;
  font-size:12px;font-family:var(--mono);color:var(--ink3);
}
.ul-pager .ul-nav-chev{
  background:var(--card,#fff);color:var(--ink);
  border:1px solid var(--border);
}

.ul-card{padding:0;overflow:hidden;}
.ul-tbl-wrap{max-height:calc(100vh - 280px);}
.ul-table thead th{
  background:#1b3a5c;color:#fff;position:sticky;top:0;z-index:1;
}
.ul-thumb{
  width:48px;height:48px;object-fit:cover;border-radius:4px;
  border:1px solid var(--border);background:#f5f5f5;display:block;
}
.ul-thumb-empty{
  width:48px;height:48px;border-radius:4px;border:1px dashed var(--border);
  background:#fafafa;display:flex;align-items:center;justify-content:center;
  font-size:10px;color:var(--ink3);
}
.ul-pasif-cell{text-align:center;}
.ul-pasif-cell input{width:16px;height:16px;cursor:pointer;}
.ul-code{font-family:var(--mono);font-weight:700;font-size:12px;}
.ul-info{font-size:12px;color:var(--ink2);}

@media (max-width:720px){
  .ul-toolbar{padding:8px;}
  .ul-search{min-width:120px;width:100%;}
  .ul-title{font-size:18px;}
}
