/* Results pages (hotels, tours): filter sidebar, result cards with a sliding gallery, pager. See assets/js/listing.js. */
.lst-wrap { padding: 8px 0 60px; }
.lst-side { position: sticky; top: 96px; }
.lst-filters { background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; overflow: hidden; }
.lst-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #eef0f4; }
.lst-filters-head strong { font-size: 16px; }
.lst-filters-head [data-active] { color: #8a8f9c; font-weight: 400; font-size: 13px; margin-left: 4px; }
.lst-filters-head a { font-size: 13px; color: var(--theme-bg); text-decoration: none; }
.lst-filter { padding: 14px 18px; border-bottom: 1px solid #eef0f4; }
.lst-filter:last-child { border-bottom: 0; }
.lst-filter h6 { font-size: 14px; font-weight: 600; margin: 0 0 10px; display: flex; justify-content: space-between; }
.lst-filter h6 small { font-weight: 400; color: #8a8f9c; }
.lst-filter input[type=search] { width: 100%; border: 1px solid #dfe2e8; border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.lst-check { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; cursor: pointer; font-size: 14px; line-height: 1.3; }
.lst-check input { width: 16px; height: 16px; accent-color: var(--theme-bg); flex: none; }
.lst-check span { flex: 1; }
.lst-check small { color: #8a8f9c; }
.lst-stars { color: #f5a623; letter-spacing: 1px; }
[data-amenities] .lst-extra { display: none; }
[data-amenities].show-all .lst-extra { display: flex; }
.lst-more { font-size: 13px; color: var(--theme-bg); text-decoration: none; }
.lst-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lst-toolbar h2 { font-size: 20px; margin: 0; font-weight: 700; }
.lst-toolbar select { width: auto; min-width: 200px; border-radius: 10px; }
.lst-filters-btn { display: none; }

.lst-card { display: flex; background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; overflow: hidden; margin-bottom: 14px; transition: box-shadow .2s; }
.lst-card:hover { box-shadow: 0 6px 22px rgba(15, 41, 77, .1); }
.lst-card .lst-gallery { flex: 0 0 300px; }
.lst-body { flex: 1; padding: 16px 18px; min-width: 0; display: flex; flex-direction: column; }
.lst-body h5 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.lst-body h5 a { color: inherit; text-decoration: none; }
.lst-loc { color: #6b7280; font-size: 13px; margin: 0 0 6px; }
.lst-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lst-chips span { background: #f1f4fb; color: #3a4a6b; border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.lst-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #eef0f4; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lst-price small { display: block; color: #6b7280; font-size: 12px; }
.lst-price strong { font-size: 22px; }
.lst-price em { font-style: normal; color: #6b7280; font-size: 13px; }
.lst-foot .btn { border-radius: 10px; padding: 9px 18px; white-space: nowrap; }

.lst-gallery { position: relative; overflow: hidden; background: #eef0f4; min-height: 220px; }
.lst-track { position: absolute; inset: 0; display: flex; transition: transform .6s ease; }
.lst-slide { flex: 0 0 100%; height: 100%; }
.lst-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lst-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .9); color: #111; font-size: 22px; line-height: 30px; padding: 0; opacity: 0; transition: opacity .2s; cursor: pointer; }
.lst-nav.prev { left: 10px; }
.lst-nav.next { right: 10px; }
.lst-gallery:hover .lst-nav { opacity: 1; }
.lst-counter { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; border-radius: 10px; padding: 1px 8px; }
.lst-badge { position: absolute; left: 10px; top: 10px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; border-radius: 6px; padding: 2px 8px; }
.lst-badge.lst-discount { background: #e0294a; }
.lst-loading { text-align: center; padding: 50px 0; color: var(--theme-bg); }
.lst-loading.small { padding: 16px 0; }
.lst-empty { background: #fff; border: 1px dashed #d5d9e2; border-radius: 14px; padding: 40px 20px; text-align: center; color: #6b7280; }
[data-pager] .page-link { color: var(--theme-bg); border-radius: 8px; margin: 0 2px; }
[data-pager] .page-item.active .page-link { background: var(--theme-bg); border-color: var(--theme-bg); color: #fff; }

@media (max-width: 991.98px) {
    .lst-side { position: static; }
    .lst-filters-btn { display: inline-flex; }
    .lst-side .lst-filters:not(.open) { display: none; }
}
@media (max-width: 767.98px) {
    .lst-card { flex-direction: column; }
    .lst-card .lst-gallery { flex-basis: auto; height: 220px; }
    .lst-toolbar select { min-width: 0; flex: 1; }
}
