/* STAY ARI · amenities.css — amenity icons, "What this place offers", the "Show all" dialog, the sticky filter bar and the Filters panel.
   Loaded on stays.html and building.html. Colours come from base.css / picker.css tokens. */

.sa-ic { display: block; flex: none; }
.am-ic { color: var(--gold); }

/* ---------- "What this place offers" grid ---------- */
.am-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px 30px; margin: 0; }
.am-item { display: flex; align-items: center; gap: 14px; font-size: 14.5px; line-height: 1.35; color: rgba(65, 59, 50, 0.92); min-width: 0; }
.am-item span { min-width: 0; overflow-wrap: anywhere; }
.am-all { margin-top: 18px; display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; letter-spacing: .02em; color: var(--text); background: rgba(65, 59, 50, 0.03); transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.am-all:hover { border-color: var(--gold); background: rgba(255, 81, 0, 0.12); transform: translateY(-1px); }

/* "Good to know" rules row */
.am-rules { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.am-rules-h { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.am-rules-l { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.am-rules-l li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(65, 59, 50, 0.86); }

/* compact icon rows on cards */
.am-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.am-chip { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-soft); background: rgba(65, 59, 50, 0.03); }
.am-more { height: 34px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line-soft); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--gold); transition: border-color .3s, background-color .3s; }
.am-more:hover, .am-more:focus-visible { border-color: var(--gold); background: rgba(255, 81, 0, 0.10); }
.am-inline--lab { gap: 8px; }
.am-inline--lab .am-chip { width: auto; height: auto; border-radius: var(--pill); padding: 6px 13px 6px 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .01em; color: rgba(65, 59, 50, 0.90); }
.am-inline--lab .am-more { height: 34px; }
.unit-am { margin: 2px 0 10px; }

/* ---------- building page sections ---------- */
.bd-am { margin-top: clamp(28px, 4vw, 48px); padding: clamp(22px, 3.4vw, 34px); border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.bd-am-h { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 20px; }
.ut-am { display: grid; gap: 10px; margin-top: 6px; }
.ut-am-k { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.ut-am .am-rules { margin-top: 2px; padding-top: 10px; gap: 6px 16px; }
.ut-am .am-rules-l li { font-size: 12.5px; }
.ut-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 4px; }
.res-empty-act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.res-empty-act [hidden] { display: none; }

/* ---------- "Show all amenities" dialog ---------- */
.am-modal { padding: 24px; }
.am-dlg { width: min(760px, 100%); max-height: min(86vh, 820px); display: flex; flex-direction: column; background: var(--paper, #faf9f7); color: var(--paper-ink, #2f2a25); border-radius: 20px; box-shadow: 0 30px 80px rgba(65, 45, 25, 0.19), 0 0 0 1px rgba(207, 65, 0, 0.25); overflow: hidden; transform: translateY(14px) scale(.985); transition: transform .6s var(--ease); }
.am-modal.show .am-dlg { transform: none; }
.am-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 14px 28px; border-bottom: 1px solid var(--paper-line, rgba(65, 59, 50, 0.14)); flex: none; }
.am-dlg-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--paper-ink, #2f2a25); overflow-wrap: anywhere; }
.am-dlg-t { min-width: 0; }
.am-dsub { margin-top: 2px; font-size: 13px; color: var(--paper-mute, #6b645b); overflow-wrap: anywhere; }
.am-dlg-x { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--paper-line, rgba(65, 59, 50, 0.14)); display: grid; place-items: center; color: var(--paper-ink, #2f2a25); background: #fff; transition: background-color .3s, transform .45s var(--ease); }
.am-dlg-x:hover { background: var(--paper-beige, #ffe8de); transform: rotate(90deg); }
.am-dlg-body { overflow: auto; padding: 6px 28px 26px; -webkit-overflow-scrolling: touch; outline: none; }
.am-dg { padding: 18px 0 8px; border-bottom: 1px solid var(--paper-line, rgba(65, 59, 50, 0.14)); }
.am-dg:last-of-type { border-bottom: 0; }
.am-dg h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--paper-ink, #2f2a25); }
.am-dg ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.am-dg li { display: flex; align-items: center; gap: 16px; padding: 12px 0; font-size: 15px; border-bottom: 1px solid rgba(65, 59, 50, 0.08); min-width: 0; }
.am-dg li span { min-width: 0; overflow-wrap: anywhere; }
.am-dg li:nth-last-child(-n+2):nth-child(odd), .am-dg li:last-child { border-bottom: 0; }
.am-dg .am-ic, .fp .am-ic { color: var(--gold-deep, #b83a00); }
.am-dnote { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--paper-mute, #6b645b); }
@media (max-width: 760px) {
  .am-modal { padding: 0; place-items: end center; }
  .am-dlg { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .7s var(--ease); padding-bottom: env(safe-area-inset-bottom, 0); }
  .am-dlg-head { padding: 16px 14px 12px 20px; }
  .am-dlg-body { padding: 4px 20px 22px; }
  .am-dg ul { grid-template-columns: minmax(0, 1fr); }
  .am-dg li:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid rgba(65, 59, 50, 0.08); }
}

/* ---------- sticky filter bar (stays page) ---------- */
.fbar { position: sticky; top: var(--header-h); z-index: 60; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .4s var(--ease), border-color .4s var(--ease); }
.fbar.is-stuck { border-color: var(--line); box-shadow: 0 12px 30px rgba(65, 45, 25, 0.11); }
.fbar-in { display: flex; align-items: center; gap: 12px; height: 66px; }
.fbar-btn { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--text); background: rgba(65, 59, 50, 0.03); transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.fbar-btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.fbar-btn[aria-expanded="true"] { border-color: var(--gold); background: rgba(255, 81, 0, 0.16); }
.fbar-ic { width: 18px; height: 18px; display: inline-flex; color: var(--gold); }
.fbar-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); display: inline-grid; place-items: center; font-size: 11px; font-weight: 600; line-height: 1; background: var(--gold); color: var(--ink); }
.fbar-n[hidden] { display: none; }
.fbar-scroll { position: relative; flex: 1; min-width: 0; display: flex; }
.fbar-chips { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 2px; overscroll-behavior-x: contain; }
.fbar-scroll.can-next .fbar-chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.fbar-scroll.can-prev .fbar-chips { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px); mask-image: linear-gradient(90deg, transparent, #000 44px); }
.fbar-scroll.can-prev.can-next .fbar-chips { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
.fbar-arrow { position: absolute; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; display: none; place-items: center; z-index: 2; background: #1c231b; border: 1px solid var(--line); color: var(--gold); transition: border-color .3s, background-color .3s; }
.fbar-arrow:hover { border-color: var(--gold); background: #f3ede4; }
.fbar-prev { left: 0; } .fbar-next { right: 0; }
.fbar-scroll.can-prev .fbar-prev, .fbar-scroll.can-next .fbar-next { display: grid; }
.fbar-chips::-webkit-scrollbar { display: none; }
.am-fchip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: var(--pill); border: 1px solid var(--line-soft); font-size: 12.5px; font-weight: 500; letter-spacing: .03em; white-space: nowrap; color: rgba(65, 59, 50, 0.88); transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.am-fchip:hover { border-color: var(--gold); transform: translateY(-1px); }
.am-fchip[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.am-fchip[aria-pressed="true"] .am-ic { color: var(--ink); }
.fbar-count { flex: none; min-width: 64px; text-align: right; font-size: 12px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.fbar-count:empty { min-width: 0; }
@media (max-width: 760px) {
  .fbar-in { height: 60px; gap: 10px; }
  .fbar-btn { height: 42px; padding: 0 14px; }
  .fbar-count { display: none; }
  .fbar-scroll { margin-right: calc(var(--gutter) * -1); }
  .fbar-chips { padding-right: var(--gutter); }
  .fbar-arrow { display: none !important; }
}

/* ---------- Filters panel (popover on desktop, bottom sheet on phones) ---------- */
.fp-pop .sa-pop-panel { display: flex; flex-direction: column; overflow: hidden; max-height: var(--fp-max, min(700px, calc(100vh - 150px))); }
.fp-pop .sa-pop-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.fp { display: flex; flex-direction: column; min-height: 0; flex: 1; color: var(--paper-ink, #2f2a25); }
.fp-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px 26px; border-bottom: 1px solid var(--paper-line, rgba(65, 59, 50, 0.14)); flex: none; }
.fp-head h3 { font-size: 1.3rem; color: var(--paper-ink, #2f2a25); }
.fp-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--paper-line, rgba(65, 59, 50, 0.14)); display: grid; place-items: center; background: #fff; color: var(--paper-ink, #2f2a25); }
.fp-body { flex: 1; min-height: 0; overflow: auto; padding: 4px 26px 18px; outline: none; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.fp-sec { padding: 16px 0 6px; border-bottom: 1px solid rgba(65, 59, 50, 0.09); }
.fp-sec:last-of-type { border-bottom: 0; }
.fp-sec h4 { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-gold, #86682f); margin-bottom: 12px; }
.fp-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 12px; }
.fp-l b { display: block; font-weight: 500; font-size: 14.5px; }
.fp-l small { display: block; margin-top: 2px; font-size: 12px; color: var(--paper-mute, #6b645b); }
.fp-step { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.fp-b { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(65, 59, 50, 0.30); display: grid; place-items: center; font-size: 18px; line-height: 1; background: #fff; color: var(--paper-ink, #2f2a25); transition: background-color .3s, transform .35s var(--ease), opacity .3s; }
.fp-b:hover:not(:disabled) { background: var(--paper-beige, #ffe8de); transform: scale(1.06); }
.fp-b:disabled { opacity: .3; cursor: default; }
.fp-v { min-width: 34px; text-align: center; font-weight: 500; font-size: 15px; }
.fp-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); gap: 8px; padding-bottom: 12px; }
.fp-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fp-opt { display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--paper-line, rgba(65, 59, 50, 0.17)); background: #fff; text-align: left; font-size: 13.5px; line-height: 1.25; color: var(--paper-ink, #2f2a25); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), opacity .3s; }
.fp-opt:hover { border-color: var(--gold-deep, #b83a00); }
.fp-opt .fp-t { flex: 1; min-width: 0; overflow-wrap: break-word; }
.fp-opt .fp-c { flex: none; font-size: 11px; color: var(--paper-mute, #6b645b); }
.fp-opt .fp-c:empty { display: none; }
.fp-opt[aria-pressed="true"] { background: var(--paper-green, #cf4100); border-color: var(--paper-green, #cf4100); color: #faf9f7; }
.fp-opt[aria-pressed="true"] .am-ic { color: var(--gold); }
.fp-opt.is-zero { opacity: .45; }
.fp-opt--text { justify-content: center; text-align: center; min-height: 46px; }
.fp-note { margin: 14px 0 4px; font-size: 12px; line-height: 1.6; color: var(--paper-mute, #6b645b); }
.fp-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 26px; border-top: 1px solid var(--paper-line, rgba(65, 59, 50, 0.14)); background: var(--paper, #faf9f7); }
.fp-clear { font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; color: var(--paper-ink, #2f2a25); padding: 8px 4px; min-height: 44px; }
.fp-clear:disabled { opacity: .35; cursor: default; text-decoration: none; }
.fp-show { min-height: 48px; padding: 0 28px; }
.fp-show:disabled { opacity: .5; pointer-events: none; }
@media (max-width: 760px) {
  .fp-pop .sa-pop-panel { max-height: 90vh; }
  .fp-head { display: none; }
  .fp-body { padding: 0 20px 14px; }
  .fp-foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .fp-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-opt { padding: 8px 10px; gap: 9px; font-size: 13px; }
}
@media (max-width: 359px) { .fp-opts { grid-template-columns: minmax(0, 1fr); } .fp-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fp-row { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .am-dlg, .am-all, .fbar, .am-fchip { transition: none; } }

/* ---------- Showtime 2026-10-19: fewer orange labels, filter panel headings and chip-row arrow in the bright palette ---------- */
.am-more { color: var(--text); }
.fp-sec h4 { color: var(--muted); }
.fbar-arrow { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(65, 45, 25, .12); }
