/* Hotel search "Filters" panel (SpFilters in search-page chunk). Scoped to .fp-* only. */
.fp-root{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-end;justify-content:center}
.fp-back{position:absolute;inset:0;background:rgba(15,23,42,.45);animation:fp-fade .18s ease}
.fp-sheet{position:relative;display:flex;flex-direction:column;width:100%;max-height:92vh;max-height:92dvh;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -8px 32px rgba(15,23,42,.18);color:#0f1d3a;overflow:hidden;animation:fp-up .22s ease}
@keyframes fp-fade{from{opacity:0}to{opacity:1}}
@keyframes fp-up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.fp-back,.fp-sheet{animation:none}}
.fp-grab{flex:none;display:flex;justify-content:center;padding:8px 0 0}
.fp-grab span{width:42px;height:4px;border-radius:4px;background:#cbd5e1}
.fp-head{flex:none;display:flex;align-items:center;justify-content:space-between;padding:6px 16px 8px;border-bottom:1px solid #eef1f6}
.fp-head h2{margin:0;display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;letter-spacing:-.01em}
.fp-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#2563eb;color:#fff;font-size:12px;font-weight:700}
.fp-x{width:44px;height:44px;margin-right:-10px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#0f1d3a;background:transparent;border:0;cursor:pointer}
.fp-x:hover{background:#f1f5f9}
.fp-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 16px 24px}
.fp-sec{padding:14px 0;border-bottom:1px solid #eef1f6}
.fp-sec:last-of-type{border-bottom:0}
.fp-h{margin:0 0 10px;font-size:16px;font-weight:800;color:#0f1d3a}
.fp-ic{flex:none}

/* popular chips */
.fp-chips{display:flex;flex-wrap:wrap;gap:8px}
.fp-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;color:#0f1d3a;font-size:14px;font-weight:500;cursor:pointer;text-align:left;line-height:1.2}
.fp-chip:hover{border-color:#93b4f5}
.fp-chip.on{border-color:#2563eb;background:#eef4ff;color:#1d4ed8}
.fp-chip .fp-chk{margin-left:2px;padding:2px;width:18px;height:18px;border-radius:50%;background:#2563eb;color:#fff}

/* property name */
.fp-input{position:relative;display:flex;align-items:center;gap:8px;min-height:46px;padding:0 12px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
.fp-input:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.fp-input input{flex:1;min-width:0;height:44px;border:0;outline:0;background:transparent;font:inherit;font-size:14.5px;color:#0f1d3a;padding:0}
.fp-input input::placeholder{color:#94a3b8}
.fp-in-ic{color:#334155}
.fp-clr{width:32px;height:32px;margin-right:-6px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent;color:#64748b;cursor:pointer}
.fp-clr:hover{background:#f1f5f9}

/* price */
.fp-price{display:flex;align-items:center;gap:8px}
.fp-money{flex:1;min-width:0}
.fp-cur{font-size:15px;font-weight:700;color:#334155}
.fp-money input{-moz-appearance:textfield}
.fp-money input::-webkit-outer-spin-button,.fp-money input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.fp-dash{color:#64748b;font-weight:700}
.fp-err{margin:6px 0 0;font-size:12px;font-weight:600;color:#dc2626}
.fp-range{position:relative;height:28px;margin:14px 8px 0}
.fp-track{position:absolute;left:0;right:0;top:50%;height:5px;margin-top:-2.5px;border-radius:5px;background:#dbe3ee}
.fp-track::after{content:"";position:absolute;top:0;bottom:0;left:var(--lo);right:calc(100% - var(--hi));border-radius:5px;background:#2563eb}
.fp-range input[type=range]{position:absolute;left:-8px;width:calc(100% + 16px);top:0;height:28px;margin:0;background:transparent;pointer-events:none;-webkit-appearance:none;appearance:none}
.fp-range input[type=range]::-webkit-slider-runnable-track{background:transparent;height:28px}
.fp-range input[type=range]::-moz-range-track{background:transparent;height:28px}
.fp-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:24px;height:24px;margin-top:2px;border-radius:50%;background:#2563eb;border:3px solid #fff;box-shadow:0 1px 5px rgba(15,23,42,.35);cursor:pointer}
.fp-range input[type=range]::-moz-range-thumb{pointer-events:auto;width:18px;height:18px;border-radius:50%;background:#2563eb;border:3px solid #fff;box-shadow:0 1px 5px rgba(15,23,42,.35);cursor:pointer}
.fp-range input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px rgba(37,99,235,.3)}
.fp-range-lb{display:flex;justify-content:space-between;margin-top:2px;font-size:13px;color:#475569}

/* checkboxes */
.fp-cb{display:flex;align-items:center;gap:10px;min-height:40px;font-size:14.5px;color:#0f1d3a;cursor:pointer;min-width:0}
.fp-cb input{flex:none;width:20px;height:20px;margin:0;accent-color:#2563eb;cursor:pointer}
.fp-cb span{min-width:0;line-height:1.25}
.fp-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:8px;row-gap:0}
.fp-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}
@media(max-width:380px){.fp-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-rate{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* guest | star */
.fp-two{display:grid;grid-template-columns:1.15fr 1fr;gap:0}
.fp-col{min-width:0}
.fp-col-r{padding-left:14px;margin-left:12px;border-left:1px solid #eef1f6}
.fp-rate{grid-template-columns:repeat(3,minmax(0,1fr))}
.fp-stars{display:flex;flex-wrap:wrap;gap:6px}
.fp-star{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:44px;height:40px;padding:0 8px;border:1px solid #dbe3ee;border-radius:8px;background:#fff;color:#0f1d3a;font-size:14px;font-weight:600;cursor:pointer}
.fp-star .fp-ic{color:#334155}
.fp-star.on{border-color:#2563eb;background:#eef4ff;color:#1d4ed8}
.fp-star.on .fp-ic{color:#f59e0b}
@media(max-width:340px){.fp-two{grid-template-columns:1fr}.fp-col-r{padding-left:0;margin-left:0;border-left:0;margin-top:10px}}

/* more / less */
.fp-more{display:inline-flex;align-items:center;gap:4px;min-height:40px;margin-top:2px;padding:0;border:0;background:transparent;color:#2563eb;font-size:14px;font-weight:700;cursor:pointer}
.fp-more-ic{transition:transform .15s}
.fp-more-ic.up{transform:rotate(180deg)}

/* sticky action bar */
.fp-foot{flex:none;display:flex;gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #eef1f6;background:#fff;box-shadow:0 -4px 14px rgba(15,23,42,.06)}
.fp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;white-space:nowrap}
.fp-btn-o{flex:0 0 36%;border:1.5px solid #2563eb;background:#fff;color:#2563eb}
.fp-btn-o:hover{background:#eef4ff}
.fp-btn-p{flex:1;border:0;background:#2563eb;color:#fff;min-width:0}
.fp-btn-p:hover{background:#1d4ed8}

/* focus rings */
.fp-sheet button:focus-visible,.fp-cb input:focus-visible,.fp-chip:focus-visible,.fp-star:focus-visible{outline:2px solid #2563eb;outline-offset:2px}

/* desktop: centered modal */
@media(min-width:768px){
  .fp-root{align-items:center}
  .fp-sheet{width:640px;max-width:calc(100vw - 48px);max-height:86vh;border-radius:18px;box-shadow:0 20px 60px rgba(15,23,42,.28)}
  .fp-grab{display:none}
  .fp-head{padding-top:14px}
  .fp-btn-o{flex:0 0 180px}
}
