/* Lodge pages (index and single lodge). Builds on mountains.css (.mt-* layout, type, buttons). */

/* ── Filters ── */
.ld-filters { position: sticky; top: 70px; z-index: 30; background: rgba(251, 246, 238, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mt-line); }
.ld-filters-inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding-top: 18px; padding-bottom: 18px; }
.ld-field { display: flex; flex-direction: column; gap: 6px; min-width: 150px; flex: 1 1 160px; }
.ld-field label { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mt-muted); }
.ld-field select, .ld-field input { min-height: 44px; width: 100%; border: 1px solid rgba(43, 30, 18, .18); border-radius: 10px; background: #fff; padding: 0 14px; font-size: 14px; color: var(--mt-dark); }
.ld-field select { padding-right: 36px; }
.ld-field select:focus, .ld-field input:focus { outline: none; border-color: var(--mt-gold); box-shadow: 0 0 0 3px rgba(212, 168, 87, .22); }
.ld-chips { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.ld-chip { border: 1px solid rgba(43, 30, 18, .16); background: #fff; color: var(--mt-dark); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ld-chip:hover { border-color: var(--mt-gold); }
.ld-chip.is-on { background: var(--mt-dark); border-color: var(--mt-dark); color: #fff; }
.ld-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.ld-count { font-size: 13px; color: var(--mt-muted); }
.ld-reset { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mt-brown); border-bottom: 1px solid var(--mt-gold); background: none; cursor: pointer; padding: 0 0 2px; }
.ld-empty { text-align: center; padding: 60px 20px; color: var(--mt-muted); }

/* ── Lodge cards ── */
.ld-card .mt-card-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.ld-area { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mt-muted); margin-top: 6px; }
.ld-area svg { width: 14px; height: 14px; color: var(--mt-gold); flex: none; }
.ld-amen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ld-amen span { font-size: 11.5px; background: var(--mt-cream); color: var(--mt-brown); border-radius: 999px; padding: 4px 10px; }

/* ── Single lodge: gallery mosaic ── */
.ld-gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.ld-gallery button { position: relative; overflow: hidden; border-radius: 14px; padding: 0; border: 0; cursor: zoom-in; background: var(--mt-cream); }
.ld-gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.ld-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.ld-gallery button:hover img { transform: scale(1.04); }
.ld-gallery .ld-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(43, 30, 18, .55); color: #fff; font-weight: 600; letter-spacing: .08em; }
@media (max-width: 767px) {
    .ld-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
}
.ld-credit { margin-top: 12px; font-size: 12px; color: var(--mt-muted); }

/* Lightbox */
.ld-lightbox { position: fixed; inset: 0; z-index: 240; display: flex; align-items: center; justify-content: center; background: rgba(20, 14, 8, .92); padding: 24px; }
.ld-lightbox img { max-width: min(1200px, 100%); max-height: 84vh; border-radius: 10px; object-fit: contain; }
.ld-lb-btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer; }
.ld-lb-btn:hover { background: rgba(255, 255, 255, .24); }
.ld-lb-btn svg { width: 22px; height: 22px; }
.ld-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.ld-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.ld-lb-close { right: 18px; top: 18px; }
.ld-lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .1em; }

/* ── Single lodge: about + amenities ── */
.ld-about { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ld-about { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.ld-amenities { background: #fff; border: 1px solid var(--mt-line); border-radius: 18px; padding: 28px; align-self: start; }
.ld-amenities ul { display: grid; gap: 12px 18px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 16px; }
.ld-amenities li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mt-dark); }
.ld-amenities li svg { width: 18px; height: 18px; flex: none; color: var(--mt-gold); }
.ld-note { margin-top: 18px; font-size: 12.5px; color: var(--mt-muted); }
