/* Savannah.app v23 â App Shell CSS */
body.sav-home { overflow-x: hidden; background: #FAFAF7; }
.portal-map-wrap { position: fixed !important; top: 0; left: 0; right: 0; height: 56vh; min-height: 320px; z-index: 10; overflow: hidden; }
#savannah-map { position: absolute; inset: 0; width: 100%; height: 100%; background: #e8e4dc; }
.map-top-ui { position: fixed; top: 0; left: 0; right: 0; z-index: 900; pointer-events: none; }
.map-top-ui > * { pointer-events: all; }
.map-bottom-bar { position: fixed; bottom: max(16px, env(safe-area-inset-bottom, 16px)); left: 8px; right: 8px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 800; }
.map-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; background: rgba(28,28,28,.88); color: #fff; border: none; border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.map-chip.active { background: #C8A96A; color: #1C1C1C; }
.home-content { position: relative; z-index: 20; margin-top: 56vh; background: #FAFAF7; min-height: 44vh; }

/* Drawers â all hidden by default */
.place-drawer, .picks-drawer, .weather-panel, .nav-drawer { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -4px 32px rgba(0,0,0,.18); transform: translateY(100%); transition: transform .32s cubic-bezier(.32,.72,0,1); z-index: 500; overflow: hidden; display: flex; flex-direction: column; max-height: 82vh; }
.nav-drawer { right: auto; bottom: 0; top: 0; border-radius: 0 16px 16px 0; max-width: 300px; max-height: none; transform: translateX(-100%); transition: transform .28s cubic-bezier(.32,.72,0,1); z-index: 600; }
.place-drawer--open { transform: translateY(0) !important; }
.picks-drawer--open { transform: translateY(0) !important; }
.weather-panel--open { transform: translateY(0) !important; }
.nav-drawer--open { transform: translateX(0) !important; }

.drawer-handle { flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 10px 12px 6px; position: relative; }
.drawer-handle__bar { width: 36px; height: 4px; background: #E0DAD0; border-radius: 2px; }
.drawer-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #EDEAE2; border: none; border-radius: 50%; color: #5A5A5A; cursor: pointer; }

.place-drawer__peek, .picks-drawer__list, .weather-panel__body { flex: 1; overflow-y: auto; padding: 4px 16px 24px; }
.place-drawer__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.place-drawer__cat { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.place-drawer__excerpt, .place-drawer__dist, .place-drawer__text { font-size: 13px; color: #5A5A5A; margin-bottom: 6px; }
.place-drawer__row { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; padding: 4px 0; border-top: 1px solid #E0DAD0; }
.place-drawer__link { color: #A88945; background: none; border: none; cursor: pointer; font-size: 13px; text-align: left; }
.open-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-bottom: 8px; }
.open-badge--open { background: #E8F5E9; color: #2E7D32; }
.open-badge--closed { background: #FEECEC; color: #C62828; }

.picks-drawer__title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.picks-drawer__card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 0; border: none; border-top: 1px solid #E0DAD0; background: none; cursor: pointer; font-size: 14px; text-align: left; }
.picks-drawer__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.picks-drawer__name { flex: 1; }
.picks-drawer__dist { font-size: 11px; color: #5A5A5A; }

.wx-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #E0DAD0; font-size: 14px; }
.wx-label { color: #5A5A5A; font-size: 13px; }
.wx-forecast { margin-top: 8px; }
.wx-fc-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #E0DAD0; font-size: 13px; }
.wx-fc-day { width: 32px; color: #5A5A5A; }
.wx-fc-icon { font-size: 16px; }
.wx-fc-hi { font-weight: 700; margin-left: auto; }
.wx-fc-lo { color: #5A5A5A; }

.nav-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #E0DAD0; }
.nav-drawer__logo { font-size: 18px; font-weight: 800; color: #1C1C1C; text-decoration: none; }
.logo-dot { color: #C8A96A; }
.nav-drawer__links { list-style: none; padding: 0; margin: 0; flex: 1; overflow-y: auto; }
.nav-drawer__links li a { display: block; padding: 14px 16px; font-size: 15px; font-weight: 600; color: #1C1C1C; text-decoration: none; border-bottom: 1px solid #E0DAD0; }
.nav-drawer__book { display: block; margin: 16px; padding: 12px; text-align: center; background: #C8A96A; color: #1C1C1C; font-weight: 700; border-radius: 8px; text-decoration: none; }

.drawer-scrim { display: none; position: fixed; inset: 0; z-index: 490; background: transparent; }

.home-section { padding: 24px 16px; border-bottom: 1px solid #E0DAD0; }
.home-section--alt { background: #EDEAE2; }
.home-section__head { margin-bottom: 16px; }
.home-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #C8A96A; margin-bottom: 4px; }
.home-title { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 700; color: #1C1C1C; margin: 0; }
.home-sub { font-size: 13px; font-weight: 400; color: #5A5A5A; font-family: 'Nunito Sans', sans-serif; }

.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.qp-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; background: #fff; border: 1px solid #E0DAD0; border-radius: 12px; cursor: pointer; font-size: 13px; font-weight: 600; color: #1C1C1C; text-align: center; line-height: 1.3; -webkit-tap-highlight-color: transparent; }
.qp-tile:active { background: #EDEAE2; }
.qp-tile-icon { font-size: 22px; line-height: 1; }

.events-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.ev-tab { padding: 6px 14px; border-radius: 20px; border: 1px solid #E0DAD0; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.ev-tab--active { background: #1C1C1C; color: #fff; border-color: #1C1C1C; }
.ev-card { background: #fff; border: 1px solid #E0DAD0; border-radius: 10px; padding: 14px; font-size: 14px; color: #5A5A5A; line-height: 1.6; }
.ev-card a { color: #C8A96A; }

.patrick-quote { margin: 0 0 20px; padding: 16px; background: #fff; border-left: 3px solid #C8A96A; border-radius: 0 8px 8px 0; }
.patrick-quote p { font-size: 15px; color: #5A5A5A; line-height: 1.6; margin-bottom: 8px; }
.patrick-quote cite { font-size: 12px; color: #5A5A5A; font-style: normal; }
.home-cta { text-align: center; }
.btn-gold { display: inline-block; padding: 12px 24px; background: #C8A96A; color: #1C1C1C; font-weight: 700; border-radius: 24px; text-decoration: none; font-size: 14px; }

.sav-marker { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 5px rgba(0,0,0,.45); }
.sav-cluster { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 1px 5px rgba(0,0,0,.35); border: 2px solid rgba(0,0,0,.22); cursor: pointer; }
.search-results-box { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #E0DAD0; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12); z-index: 1000; overflow: hidden; }
.search-result { display: block; width: 100%; padding: 10px 14px; border: none; border-bottom: 1px solid #E0DAD0; background: none; text-align: left; font-size: 14px; cursor: pointer; }
.search-result:hover { background: #EDEAE2; }

@media (max-width: 600px) { .map-chip { padding: 5px 9px; font-size: 11px; } .tile-grid { gap: 8px; } }
@media (min-width: 768px) { .portal-map-wrap { height: 60vh; } .home-content { margin-top: 60vh; } .tile-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1440px) { .portal-map-wrap { height: 65vh; } .home-content { margin-top: 65vh; max-width: 1200px; margin-left: auto; margin-right: auto; } }

/* ── Cat rail overrides ─────────────────────────────────────────── */
.cat-rail {
  position: fixed;
  left: 8px;
  top: 112px;
  bottom: calc(44vh + 72px);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  scrollbar-width: none;
  pointer-events: all;
}
.cat-rail::-webkit-scrollbar { display: none; }

.rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 40px;
  padding: 5px 4px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  color: #5A5A5A;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.rail-btn.active {
  background: #1C1C1C;
  color: #fff;
  border-color: #1C1C1C;
}
.rail-btn svg { flex-shrink: 0; }

/* ── Bottom bar — don't overlap content ─────────────────────────── */
.home-content {
  padding-bottom: 80px;
}

/* ── Weather ribbon — show after JS populates ───────────────────── */
#weather-ribbon {
  transition: opacity .3s;
}

/* ── Map search wrap — position relative for dropdown ───────────── */
.map-search-inner {
  position: relative;
  flex: 1;
}
