
/* ===== filtre paneli + sıralama (2026-11-05) =====
   Masaüstü: solda sabit açık panel, sağda sonuçlar; sıralama sağ üstte. Mobil: panel soldan açılan çekmece (koyu başlık, kayan içerik, sabit alt buton alanı). */
.hvres { margin-top: 4px; }
.hvf-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.hvf-title { flex: 1 1 260px; margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -.01em; min-width: 0; }
.hvf-open { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); font: 700 15px/1 var(--f-body); cursor: pointer; }
.hvf-open .i { width: 18px; height: 18px; }
.hvf-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.hvf-sort select { min-height: 44px; padding: 0 34px 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: 600 15px/1 var(--f-body); }
.hvf-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.hvf-main { min-width: 0; }
.hvf-count { margin: 0 0 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; } .hvf-count b { color: var(--ink); }

.hvf { position: sticky; top: 92px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-height: calc(100vh - 110px); }
.hvf__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--ink); color: var(--white); flex: none; }
.hvf__head b { font-size: 16px; }
.hvf__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 800; }
.hvf__close { all: unset; display: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; text-align: center; font-size: 28px; line-height: 38px; color: var(--white); }
.hvf__close:hover { background: rgba(255, 255, 255, .12); }
.hvf__close:focus-visible { outline: 3px solid var(--yellow); }
.hvf__form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.hvf__body { display: grid; gap: 12px; padding: 16px 18px; overflow-y: auto; min-height: 0; flex: 1; overscroll-behavior: contain; }
.hvf__body .field select { min-height: 46px; width: 100%; }
.hvf__check { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 15px; font-weight: 600; cursor: pointer; }
.hvf__check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.hvf__foot { display: flex; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--white); flex: none; }
.hvf__foot .btn { flex: 1; min-height: 46px; justify-content: center; }
.hvf__clear { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--r-btn, 12px); color: var(--ink); font-weight: 700; text-decoration: none; }
.hvf__clear:hover { background: var(--paper); }
.hvf-backdrop { position: fixed; inset: 0; background: rgba(20, 22, 24, .55); z-index: 90; }
.hvf-backdrop[hidden] { display: none; }

@media (max-width: 960px) {
	.hvf-layout { grid-template-columns: minmax(0, 1fr); }
	.hvf-open { display: inline-flex; }
	.hvf-title { flex-basis: 100%; order: -1; }
	.hvf-sort { margin-left: auto; }
	.hvf-sort span { display: none; }
	.hvf { position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; width: min(92vw, 380px); max-height: none; height: 100%; border-radius: 0 16px 16px 0; border: 0; transform: translateX(-102%); visibility: hidden; transition: transform 240ms var(--ease-out), visibility 0s linear 240ms; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 0 40px rgba(0, 0, 0, .35); }
	.hvf.is-open { transform: none; visibility: visible; transition: transform 240ms var(--ease-out), visibility 0s; }
	.hvf__close { display: block; }
	html.hvf-lock, html.hvf-lock body { overflow: hidden; }
}
@media (max-width: 420px) { .hvf-open { flex: 1; justify-content: center; } .hvf-sort { flex: 1; } .hvf-sort select { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hvf, .hvf.is-open { transition: none; } }
