:root {
  --bg: #fff3dc;
  --bg-2: #ffe5e1;
  --ink: #1d1016;
  --muted: #766a64;
  --soft: #fffaf1;
  --card: rgba(255, 255, 255, 0.86);
  --line: rgba(93, 70, 55, 0.16);
  --orange: #f4511e;
  --orange-2: #ffb01f;
  --green: #00a66a;
  --blue: #1677ee;
  --purple: #6f37db;
  --pink: #e3379b;
  --red: #ec2d55;
  --brown: #3a160d;
  --shadow: 0 22px 60px rgba(76, 30, 13, 0.16);
  --shadow-soft: 0 14px 36px rgba(76, 30, 13, 0.10);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 176, 31, 0.38), transparent 26rem),
    radial-gradient(circle at 89% 10%, rgba(244, 81, 30, 0.25), transparent 24rem),
    linear-gradient(160deg, var(--bg), var(--bg-2) 85%);
  background-attachment: fixed;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: 0.55; cursor: not-allowed; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.noscript {
  padding: 1rem;
  margin: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.app-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 calc(110px + var(--safe-bottom));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 0;
  backdrop-filter: blur(20px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.brand-copy { min-width: 0; }
.brand-title {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.02;
}
.brand-subtitle {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 999px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
}

.nav-button, .ghost-button, .icon-button, .pill-button, .primary-button, .danger-button, .mini-button {
  border: 0;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, opacity .16s ease;
}
.nav-button:hover, .ghost-button:hover, .icon-button:hover, .pill-button:hover, .primary-button:hover, .danger-button:hover, .mini-button:hover { transform: translateY(-1px); }
.nav-button:active, .ghost-button:active, .icon-button:active, .pill-button:active, .primary-button:active, .danger-button:active, .mini-button:active { transform: translateY(0); }

.nav-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
  min-height: 44px;
}
.nav-button.active { background: rgba(244, 81, 30, 0.13); color: var(--orange); }
.nav-icon { font-size: 1.1rem; }

.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-weight: 900;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow-soft);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  font-weight: 900;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  font-weight: 1000;
}

.view { animation: lift .25s ease both; }
@keyframes lift { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: 22px;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 94% 40%, rgba(255, 176, 31, 0.82), transparent 20rem),
    radial-gradient(circle at 3% 85%, rgba(0, 166, 106, 0.35), transparent 14rem),
    linear-gradient(136deg, #171015 0%, #4b1a0f 42%, #f4511e 74%, #ffb01f 100%);
  min-height: 510px;
  color: white;
  box-shadow: var(--shadow);
}
.hero-card::before, .hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.hero-card::before {
  width: 440px;
  height: 440px;
  border: 7px solid rgba(255,255,255,0.16);
  right: -60px;
  bottom: -54px;
}
.hero-card::after {
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,0.1);
  right: -24px;
  top: 110px;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.86);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  margin-bottom: 58px;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: .94;
  letter-spacing: -0.065em;
  margin: 0 0 24px;
  max-width: 720px;
}
.hero-text {
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  font-weight: 700;
  max-width: 680px;
  opacity: .94;
  margin: 0 0 34px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
  max-width: 680px;
}
.hero-stat {
  background: rgba(255,255,255,0.17);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(14px);
}
.hero-stat strong { display: block; font-size: 2rem; letter-spacing: -0.05em; }
.hero-stat span { display: block; opacity: .82; font-size: .87rem; font-weight: 1000; letter-spacing: .04em; text-transform: uppercase; }
.location-cta {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 26px;
  padding: 18px 22px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  border: 0;
  text-align: left;
}
.location-cta .round-icon { flex: 0 0 auto; }
.location-cta strong { display: block; font-size: clamp(1.2rem, 2.4vw, 1.9rem); letter-spacing: -0.04em; }
.location-cta span { display: block; color: var(--muted); font-size: clamp(.95rem, 1.9vw, 1.25rem); font-weight: 800; }
.location-cta .arrow { margin-left: auto; font-size: 2rem; font-weight: 900; }
.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 18px;
}
.hero-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  border: 0;
  font-weight: 1000;
  font-size: 1.02rem;
}
.hero-action .small-round { flex: 0 0 auto; }

.panel, .filter-card, .section-card, .listing-card, .map-panel, .auth-card, .manager-card, .modal-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.panel, .section-card, .auth-card, .manager-card { border-radius: var(--radius-xl); }
.filter-card { border-radius: var(--radius-lg); padding: 22px; margin: 24px 0; }
.status-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 166, 106, .24);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  color: var(--muted);
  font-weight: 900;
}
.status-card strong { color: var(--ink); }
.round-icon, .small-round {
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 1000;
  border-radius: 999px;
}
.round-icon { width: 58px; height: 58px; font-size: 1.55rem; }
.small-round { width: 34px; height: 34px; font-size: 1rem; }
.small-round.orange, .round-icon.orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.small-round.blue, .round-icon.blue { background: linear-gradient(135deg, var(--blue), #04a9ff); }
.small-round.green, .round-icon.green { background: linear-gradient(135deg, var(--green), #00c27b); }
.small-round.purple, .round-icon.purple { background: linear-gradient(135deg, var(--purple), #b340e9); }
.small-round.red, .round-icon.red { background: linear-gradient(135deg, var(--red), #ff6f6a); }

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 28px 0 14px;
}
.section-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.055em; }
.section-subtitle { margin: 6px 0 0; color: var(--muted); font-weight: 800; line-height: 1.35; }

.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255, 176, 31, .38);
  border-radius: 24px;
  padding: 10px 14px;
  margin-top: 24px;
}
.search-row .search-icon { font-size: 1.6rem; color: var(--orange); }
.search-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 900;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.3rem);
  padding: 12px 0;
}
.search-row input::placeholder { color: rgba(118,106,100,.48); }

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.filter-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 1000;
}
.filter-meta { color: var(--muted); font-weight: 800; font-size: .95rem; }
.chip-row {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,247,230,.92);
  color: var(--ink);
  font-weight: 1000;
  min-height: 48px;
}
.chip.active { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.chip .count {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.3);
  font-size: .8rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.listing-list { display: grid; gap: 16px; }
.listing-card {
  border-radius: var(--radius-lg);
  padding: 16px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.listing-card.compact { grid-template-columns: 86px minmax(0,1fr); padding: 12px; border-radius: 22px; }
.listing-photo {
  width: 100%;
  min-height: 128px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffe6b4, #f4511e);
  object-fit: cover;
}
.listing-card.compact .listing-photo { min-height: 86px; border-radius: 18px; }
.listing-fallback {
  display: grid;
  place-items: center;
  color: white;
  font-weight: 1000;
  font-size: 2.2rem;
}
.listing-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.badge-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,166,106,.12);
  color: var(--green);
  font-weight: 1000;
  font-size: .78rem;
}
.badge.orange { background: rgba(244,81,30,.12); color: var(--orange); }
.badge.blue { background: rgba(22,119,238,.12); color: var(--blue); }
.badge.purple { background: rgba(111,55,219,.12); color: var(--purple); }
.listing-name { font-size: 1.3rem; line-height: 1.02; margin: 0; letter-spacing: -0.045em; }
.listing-meta, .muted { color: var(--muted); font-weight: 800; }
.rating { color: #f0a000; font-weight: 1000; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,247,230,.92);
  color: var(--ink);
  font-weight: 1000;
}
.mini-button.primary { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.mini-button.green { color: #fff; background: linear-gradient(135deg, var(--green), var(--blue)); }
.mini-button.red { color: #fff; background: linear-gradient(135deg, var(--red), #ff6f6a); }

.map-panel { border-radius: var(--radius-xl); padding: 16px; }
#map { width: 100%; height: min(62vh, 620px); min-height: 420px; border-radius: 28px; overflow: hidden; background: #dcecd3; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 18px; align-items: start; }
.leaflet-popup-content-wrapper { border-radius: 16px; }
.popup-title { font-weight: 1000; font-size: 1rem; margin-bottom: 4px; }
.popup-button { margin-top: 8px; width: 100%; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.category-tile {
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  padding: 20px;
  text-align: left;
  box-shadow: var(--shadow-soft);
  min-height: 154px;
}
.category-tile.active { outline: 3px solid rgba(244,81,30,.36); }
.category-tile .emoji { font-size: 2rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(244,81,30,.12); margin-bottom: 14px; }
.category-tile h3 { margin: 0 0 6px; letter-spacing: -0.04em; }
.category-tile p { margin: 0; color: var(--muted); font-weight: 800; font-size: .92rem; line-height: 1.25; }

.section-card { padding: 24px; margin: 24px 0; }
.auth-card { padding: 24px; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 20px; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid.one { grid-template-columns: 1fr; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 1000; color: var(--ink); }
.form-field small { color: var(--muted); font-weight: 800; }
.input, .textarea, .select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  outline: none;
  font-weight: 800;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(244,81,30,.65); box-shadow: 0 0 0 4px rgba(244,81,30,.12); }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 800; color: var(--muted); }
.checkbox-line input { margin-top: 4px; }

.primary-button, .ghost-button, .danger-button, .pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 18px;
  font-weight: 1000;
}
.primary-button { color: white; background: linear-gradient(135deg, var(--green), var(--blue)); box-shadow: var(--shadow-soft); }
.primary-button.orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.primary-button.purple { background: linear-gradient(135deg, var(--purple), #b340e9); }
.ghost-button { color: var(--ink); background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.82); }
.danger-button { color: white; background: linear-gradient(135deg, var(--red), #ff7043); }
.pill-button { border-radius: 999px; color: var(--ink); background: rgba(255,247,230,.92); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stack { display: grid; gap: 14px; }

.owner-card { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 18px; align-items: start; padding: 18px; border-radius: 26px; background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.owner-card .listing-photo { min-height: 110px; border-radius: 22px; }
.qr-large-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  border-radius: 22px;
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--green), #0084d9);
  font-size: 1.1rem;
  font-weight: 1000;
  box-shadow: var(--shadow-soft);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 18px;
}
.detail-image {
  width: 100%;
  min-height: 280px;
  border-radius: 28px;
  object-fit: cover;
  background: linear-gradient(135deg, #ffcf7a, #f4511e);
}
.detail-title { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.06em; line-height: .96; margin: 0; }
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.action-grid .primary-button, .action-grid .ghost-button, .action-grid .danger-button { min-height: 56px; padding: 10px; font-size: .95rem; }
.info-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.72);
  padding: 20px;
}
.info-card h3 { margin: 0 0 14px; font-size: 1.35rem; letter-spacing: -0.045em; }
.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin: 4px 0;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(255,255,255,.52);
}
.info-row:hover { background: rgba(255,247,230,.9); }
.info-row strong { display: block; }
.info-row span { color: var(--muted); font-weight: 800; overflow-wrap: anywhere; }
.social-buttons { display: grid; gap: 12px; }
.social-button {
  min-height: 68px;
  border-radius: 22px;
  color: white;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-weight: 1000;
  font-size: 1.35rem;
  text-decoration: none;
}
.social-button.tiktok { background: #090911; text-shadow: 2px 0 #00f2ea, -2px 0 #ff0050; }
.social-button.facebook { background: linear-gradient(135deg, #2382ff, #0757c9); }
.social-button.instagram { background: linear-gradient(135deg, #f94868, #b436e2 55%, #ffb241); }
.social-button.other { background: linear-gradient(135deg, #6f37db, #1d1016); }
.review-list, .message-list { display: grid; gap: 12px; }
.review-item, .message-bubble, .conversation-row { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.68); border: 1px solid var(--line); }
.message-bubble.mine { margin-left: 12%; background: rgba(0,166,106,.12); border-color: rgba(0,166,106,.25); }
.message-bubble.theirs { margin-right: 12%; }
.conversation-row { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; align-items: center; text-align: left; width: 100%; }
.conversation-row img, .conversation-row .listing-fallback { width: 64px; height: 64px; min-height: 64px; border-radius: 16px; }
.thread-business-card { margin-bottom: 16px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(29,16,22,.42);
  backdrop-filter: blur(18px);
}
.modal-card {
  width: min(1040px, 100%);
  max-height: min(90dvh, 980px);
  overflow: auto;
  border-radius: 36px;
  padding: clamp(18px, 4vw, 30px);
}
.modal-card.small { width: min(560px, 100%); }
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.055em; line-height: 1; }
.close-button {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 0;
  background: rgba(255,247,230,.92);
  font-size: 1.2rem;
  font-weight: 1000;
}
.toast-root {
  position: fixed;
  right: 16px;
  bottom: calc(94px + var(--safe-bottom));
  display: grid;
  gap: 10px;
  z-index: 200;
}
.toast {
  max-width: 380px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(29,16,22,.94);
  color: white;
  box-shadow: var(--shadow);
  font-weight: 850;
}

.qr-box {
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: 24px;
  background: white;
  margin: 12px 0;
}
.qr-box canvas, .qr-box img { max-width: 260px; max-height: 260px; }
.scanner-box {
  width: 100%;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(12px + var(--safe-bottom));
  transform: translateX(-50%);
  width: min(720px, calc(100% - 28px));
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 60px rgba(76,30,13,.18);
}
.bottom-nav .nav-button {
  flex-direction: column;
  gap: 4px;
  padding: 9px 6px;
  font-size: .78rem;
}
.bottom-nav .nav-icon { font-size: 1.45rem; }

.empty-state {
  padding: 40px 24px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85);
}
.empty-state .emoji { font-size: 3rem; margin-bottom: 12px; }
.empty-state h3 { margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -0.04em; }
.empty-state p { margin: 0 auto; max-width: 560px; color: var(--muted); font-weight: 800; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .grid-2, .auth-grid, .map-layout, .detail-hero { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { min-height: auto; }
  .hero-badge { margin-bottom: 42px; }
  .map-layout .listing-list { max-height: none; }
}

@media (max-width: 620px) {
  .app-shell { width: min(100% - 20px, 1180px); padding-top: 10px; }
  .topbar { padding-top: 8px; }
  .brand-icon { width: 44px; height: 44px; border-radius: 15px; }
  .brand-subtitle { display: none; }
  .hero-card { padding: 24px; border-radius: 30px; }
  .hero-badge { margin-bottom: 48px; }
  .hero-title { font-size: clamp(3.3rem, 15vw, 5.1rem); }
  .hero-stats { gap: 10px; }
  .hero-stat { padding: 14px 12px; }
  .hero-stat strong { font-size: 1.7rem; }
  .hero-stat span { font-size: .78rem; }
  .location-cta { padding: 14px; border-radius: 22px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-action { min-height: 58px; }
  .filter-card { padding: 18px; }
  .listing-card, .owner-card { grid-template-columns: 92px minmax(0,1fr); gap: 12px; }
  .listing-photo, .owner-card .listing-photo { min-height: 92px; border-radius: 18px; }
  .listing-name { font-size: 1.12rem; }
  .action-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  #map { min-height: 380px; height: 48vh; }
  .modal-card { border-radius: 28px; padding: 16px; }
  .toast-root { left: 12px; right: 12px; }
  .toast { max-width: none; }
}

@media (min-width: 981px) {
  .bottom-nav { display: none; }
}


/* BBF web layout polish - 20260615
   Fixes: desktop nav overlap, smaller Discover hero, uncropped business thumbnails,
   and Leaflet map sizing after tab/layout changes. */
.topbar {
  display: grid;
  grid-template-columns: minmax(210px, 300px) minmax(0, 1fr) minmax(92px, auto);
  align-items: center;
  gap: 12px;
}
.brand-lockup {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
}
.brand-copy,
.brand-title,
.brand-subtitle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-title,
.brand-subtitle { display: block; white-space: nowrap; }
.brand-subtitle { max-width: 235px; }
.desktop-nav {
  justify-self: center;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 5px;
  padding: 6px;
  scrollbar-width: none;
}
.desktop-nav::-webkit-scrollbar { display: none; }
.nav-button {
  white-space: nowrap;
  padding: 10px 11px;
  min-height: 42px;
  font-size: .94rem;
}
.nav-icon { font-size: 1rem; }
.topbar-actions {
  min-width: 0;
  justify-content: flex-end;
}
.user-chip {
  max-width: 180px;
  min-width: 0;
  min-height: 48px;
}
.user-chip > span:last-child {
  min-width: 0;
  max-width: 116px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.05;
}
.icon-button { width: 46px; height: 46px; border-radius: 16px; }

.hero-card {
  min-height: 420px;
  padding: clamp(24px, 4vw, 40px);
}
.hero-card::before { width: 360px; height: 360px; right: -42px; bottom: -42px; }
.hero-card::after { width: 220px; height: 220px; right: -22px; top: 86px; }
.hero-content { max-width: 650px; }
.hero-badge { margin-bottom: 34px; padding: 7px 13px; }
.hero-title {
  font-size: clamp(2.85rem, 6vw, 4.75rem);
  margin-bottom: 18px;
}
.hero-text {
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  max-width: 610px;
  margin-bottom: 24px;
}
.hero-stats {
  max-width: 600px;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-stat { padding: 14px 16px; border-radius: 18px; }
.hero-stat strong { font-size: 1.7rem; }
.location-cta {
  max-width: 640px;
  padding: 14px 18px;
  border-radius: 22px;
}
.round-icon { width: 50px; height: 50px; font-size: 1.3rem; }
.location-cta strong { font-size: clamp(1.05rem, 2vw, 1.55rem); }
.location-cta span { font-size: clamp(.88rem, 1.6vw, 1.05rem); }
.location-cta .arrow { font-size: 1.65rem; }
.hero-actions {
  max-width: 640px;
  gap: 12px;
  margin-top: 14px;
}
.hero-action {
  min-height: 52px;
  border-radius: 18px;
  font-size: .95rem;
  padding: 10px 12px;
}
.small-round { width: 30px; height: 30px; font-size: .9rem; }
.status-card { margin-top: 16px; }

.listing-card {
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: stretch;
}
.listing-photo {
  height: 128px;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  padding: 5px;
  background: rgba(255, 250, 241, .92);
  border: 1px solid rgba(93, 70, 55, .10);
}
.listing-card.compact {
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
}
.listing-card.compact .listing-photo {
  height: 116px;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 18px;
}
.listing-fallback {
  padding: 0;
  object-fit: initial;
}
.listing-card.compact .listing-name { font-size: 1.12rem; }
.listing-card.compact .muted {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card.compact .badge-row { gap: 6px; }
.listing-card.compact .badge { padding: 5px 8px; font-size: .72rem; }

.map-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
}
.map-panel {
  overflow: hidden;
  isolation: isolate;
}
#map {
  height: min(54vh, 540px);
  min-height: 450px;
  width: 100%;
  background: #dcecd3;
}
#map .leaflet-tile-container img { max-width: none !important; }
.leaflet-container { font-family: inherit; }

@media (max-width: 1120px) {
  .topbar { grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) auto; }
  .brand-subtitle { display: none; }
  .brand-title { font-size: 1.15rem; }
  .user-chip { max-width: 132px; }
  .user-chip > span:last-child { max-width: 72px; }
  .nav-button { padding: 9px 10px; font-size: .88rem; }
}

@media (max-width: 980px) {
  .topbar { display: flex; }
  .brand-lockup { max-width: min(64vw, 310px); }
  .brand-subtitle { display: none; }
  .user-chip { max-width: 148px; }
  .user-chip > span:last-child { max-width: 88px; }
  .hero-card { min-height: auto; }
  #map { min-height: 400px; height: 50vh; }
}

@media (max-width: 620px) {
  .hero-card { padding: 22px; }
  .hero-badge { margin-bottom: 34px; }
  .hero-title { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero-actions { grid-template-columns: 1fr; }
  .listing-card, .owner-card { grid-template-columns: 96px minmax(0,1fr); }
  .listing-card.compact { grid-template-columns: 96px minmax(0,1fr); }
  .listing-photo, .owner-card .listing-photo, .listing-card.compact .listing-photo {
    height: 104px;
    min-height: 0;
  }
  #map { min-height: 360px; height: 46vh; }
}


/* Update 2: stronger map tile rendering and responsive small-window layout. */
.leaflet-container,
.leaflet-container * {
  box-sizing: content-box;
}
.leaflet-container {
  background: #dcecd3 !important;
  overflow: hidden !important;
}
#map {
  display: block;
  position: relative;
  z-index: 0;
  contain: layout paint;
}
.leaflet-container img,
.leaflet-container .leaflet-tile,
.leaflet-container .leaflet-marker-icon,
.leaflet-container .leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
}
.leaflet-container .leaflet-tile {
  width: 256px !important;
  height: 256px !important;
  min-width: 256px !important;
  min-height: 256px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  object-fit: initial !important;
  object-position: initial !important;
  display: block !important;
}
.map-panel {
  min-width: 0;
  width: 100%;
}
.map-layout > .listing-list {
  min-width: 0;
}
.auth-buttons {
  align-items: stretch;
}
.auth-buttons > button {
  white-space: nowrap;
}

@media (max-width: 880px) {
  .app-shell {
    width: min(100% - 18px, 760px);
    padding-top: 8px;
    padding-bottom: calc(44px + var(--safe-bottom));
  }
  .topbar {
    position: relative;
    top: auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0 12px;
  }
  .brand-lockup {
    max-width: 100% !important;
  }
  .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }
  .brand-title {
    font-size: 1.05rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-subtitle {
    display: block !important;
    max-width: 260px;
    font-size: .76rem;
  }
  .topbar-actions {
    justify-content: flex-end;
    min-width: 0;
  }
  .icon-button {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }
  .user-chip {
    max-width: 160px !important;
    min-width: 0;
    padding: 6px 10px 6px 6px;
  }
  .user-chip > span:last-child {
    max-width: 98px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .avatar {
    width: 30px;
    height: 30px;
  }
  .desktop-nav {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px;
    gap: 6px;
    scrollbar-width: none;
  }
  .desktop-nav::-webkit-scrollbar { display: none; }
  .nav-button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 12px !important;
    font-size: .86rem !important;
  }
  .search-row {
    margin-top: 12px;
    border-radius: 20px;
  }
  .grid-2,
  .grid-3,
  .listing-grid,
  .auth-grid,
  .map-layout,
  .detail-hero,
  .form-grid,
  .category-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-card {
    min-height: auto !important;
    padding: 24px !important;
    border-radius: 26px;
  }
  .hero-card::before {
    width: 260px;
    height: 260px;
    right: -80px;
    bottom: -80px;
  }
  .hero-card::after {
    width: 170px;
    height: 170px;
    right: -50px;
    top: 80px;
  }
  .hero-badge {
    margin-bottom: 24px !important;
  }
  .hero-title {
    font-size: clamp(2.55rem, 11vw, 4.2rem) !important;
    max-width: 100%;
  }
  .hero-text {
    font-size: 1rem !important;
    margin-bottom: 18px !important;
  }
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .hero-stat {
    padding: 12px;
  }
  .hero-stat strong {
    font-size: 1.35rem;
  }
  .hero-stat span {
    font-size: .68rem;
  }
  .location-cta {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 18px;
  }
  .round-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .location-cta strong {
    font-size: 1.05rem !important;
  }
  .location-cta span {
    font-size: .82rem !important;
  }
  .location-cta .arrow {
    font-size: 1.35rem;
  }
  .hero-actions {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .hero-action {
    min-height: 48px;
  }
  .filter-card,
  .section-card,
  .auth-card,
  .manager-card {
    padding: 18px;
    border-radius: 24px;
  }
  .filter-title {
    font-size: 1.15rem;
  }
  .filter-meta {
    font-size: .82rem;
  }
  .chip {
    min-height: 42px;
    padding: 10px 13px;
    font-size: .88rem;
  }
  .listing-card,
  .listing-card.compact,
  .owner-card {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 12px;
  }
  .listing-photo,
  .listing-card.compact .listing-photo,
  .owner-card .listing-photo {
    height: 104px !important;
    min-height: 0 !important;
    border-radius: 18px;
  }
  .listing-name {
    font-size: 1.08rem;
  }
  .muted,
  .listing-meta {
    font-size: .9rem;
  }
  .card-actions {
    gap: 6px;
  }
  .mini-button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: .86rem;
  }
  .map-layout {
    gap: 14px;
  }
  .map-panel {
    padding: 12px;
    border-radius: 24px;
  }
  #map {
    min-height: 360px !important;
    height: 58vh !important;
    max-height: 520px;
    border-radius: 20px !important;
  }
  .button-row {
    flex-wrap: wrap;
  }
  .auth-buttons > button {
    flex: 1 1 180px;
  }
}

@media (max-width: 520px) {
  .app-shell {
    width: calc(100% - 14px);
  }
  .topbar {
    grid-template-columns: 1fr;
  }
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .user-chip {
    flex: 1;
    justify-content: flex-start;
    max-width: none !important;
  }
  .user-chip > span:last-child {
    max-width: none !important;
  }
  .brand-subtitle {
    max-width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .listing-card,
  .listing-card.compact,
  .owner-card {
    grid-template-columns: 1fr !important;
  }
  .listing-photo,
  .listing-card.compact .listing-photo,
  .owner-card .listing-photo {
    width: 100%;
    height: 190px !important;
  }
  .form-grid {
    gap: 10px;
  }
  #map {
    min-height: 330px !important;
    height: 52vh !important;
  }
  .section-title-row {
    flex-direction: column;
    align-items: stretch;
  }
  .section-title-row > button,
  .section-title-row > a {
    width: 100%;
  }
}


/* BBF web map + small-screen hardening - 20260615b
   Keeps Leaflet from caching a too-small map size and prevents small screens from crushing into desktop columns. */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.app-shell,
.view,
.map-layout,
.map-panel,
.listing-list,
.filter-card,
.search-row,
.section-card,
.auth-card,
.manager-card {
  min-width: 0;
}
.map-layout {
  width: 100%;
  align-items: stretch;
}
.map-panel {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  isolation: auto !important;
}
#map {
  width: 100% !important;
  height: clamp(420px, 54vh, 600px) !important;
  min-height: 420px !important;
  max-height: 600px;
  position: relative !important;
  display: block !important;
  contain: none !important;
  transform: translateZ(0);
  background: #dcecd3 !important;
}
#map .leaflet-pane,
#map .leaflet-map-pane,
#map .leaflet-tile-pane,
#map .leaflet-overlay-pane,
#map .leaflet-marker-pane,
#map .leaflet-shadow-pane,
#map .leaflet-tooltip-pane,
#map .leaflet-popup-pane {
  position: absolute !important;
}
#map .leaflet-tile-container,
#map .leaflet-tile-pane,
#map .leaflet-pane,
#map .leaflet-map-pane {
  overflow: visible !important;
}
#map .leaflet-tile,
#map .leaflet-tile-container img {
  width: 256px !important;
  height: 256px !important;
  min-width: 256px !important;
  min-height: 256px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: initial !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
.leaflet-container a {
  color: inherit;
}

@media (max-width: 1080px) {
  .app-shell {
    width: min(100% - 18px, 820px);
  }
  .map-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .map-panel,
  .map-layout > .listing-list {
    width: 100% !important;
    max-width: 100% !important;
  }
  .map-layout > .listing-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .listing-card.compact {
    width: 100% !important;
    max-width: 100% !important;
  }
  #map {
    height: clamp(380px, 56vh, 540px) !important;
    min-height: 380px !important;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: 100%;
    padding: 8px 10px calc(108px + var(--safe-bottom));
  }
  .topbar {
    width: 100%;
    padding: 8px 0 10px;
  }
  .brand-lockup {
    gap: 9px;
  }
  .brand-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }
  .brand-title {
    font-size: 1.05rem !important;
    max-width: calc(100vw - 174px);
  }
  .brand-subtitle {
    display: none !important;
  }
  .topbar-actions {
    gap: 6px;
  }
  .icon-button {
    width: 40px !important;
    height: 40px !important;
  }
  .user-chip {
    max-width: 132px !important;
    min-height: 40px !important;
  }
  .user-chip > span:last-child {
    max-width: 76px !important;
  }
  .filter-card {
    margin: 14px 0;
    padding: 16px;
    border-radius: 24px;
    overflow: hidden;
  }
  .filter-header {
    align-items: flex-start;
  }
  .filter-title {
    font-size: 1.05rem;
  }
  .filter-meta {
    font-size: .78rem;
    line-height: 1.28;
  }
  .chip-row {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding-bottom: 8px;
  }
  .chip {
    min-height: 40px;
    padding: 9px 13px;
    font-size: .88rem;
  }
  .section-title-row {
    margin: 18px 0 10px;
  }
  .map-panel {
    padding: 10px !important;
    border-radius: 24px !important;
  }
  #map {
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
    border-radius: 20px !important;
  }
  .listing-card.compact,
  .listing-card,
  .owner-card {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 24px !important;
  }
  .listing-card.compact .listing-photo,
  .listing-card .listing-photo,
  .owner-card .listing-photo {
    width: 108px !important;
    height: 108px !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    border-radius: 20px !important;
  }
  .listing-card.compact .listing-name,
  .listing-name {
    font-size: 1.1rem !important;
  }
  .card-actions {
    flex-wrap: wrap;
  }
  .mini-button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: .86rem;
  }
}

@media (max-width: 430px) {
  .app-shell {
    padding-left: 8px;
    padding-right: 8px;
  }
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  .brand-title {
    max-width: calc(100vw - 160px);
  }
  .user-chip {
    max-width: 112px !important;
  }
  .user-chip > span:last-child {
    max-width: 58px !important;
  }
  #map {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
  }
  .listing-card.compact,
  .listing-card,
  .owner-card {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }
  .listing-card.compact .listing-photo,
  .listing-card .listing-photo,
  .owner-card .listing-photo {
    width: 96px !important;
    height: 96px !important;
  }
}

/* BBF web map + inbox stability patch - 20260615c
   Includes critical Leaflet layout rules in case the external Leaflet CSS is blocked by Safari/Chrome cache or CDN integrity issues. */
#map,
.leaflet-container {
  overflow: hidden !important;
  background: #dcecd3 !important;
  touch-action: pan-x pan-y;
}
.leaflet-container {
  position: relative !important;
  font-family: inherit !important;
  outline: 0 !important;
}
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute !important;
  left: 0;
  top: 0;
}
.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane,
.leaflet-tile-pane,
.leaflet-tile-container {
  transform-origin: 0 0 !important;
}
.leaflet-tile {
  width: 256px !important;
  height: 256px !important;
  min-width: 256px !important;
  min-height: 256px !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  object-fit: initial !important;
  object-position: initial !important;
  display: block !important;
  visibility: inherit !important;
}
.leaflet-marker-icon,
.leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
}
.leaflet-control {
  position: relative !important;
  z-index: 800 !important;
  pointer-events: auto !important;
  float: left;
  clear: both;
}
.leaflet-top,
.leaflet-bottom {
  position: absolute !important;
  z-index: 1000 !important;
  pointer-events: none !important;
}
.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }
.leaflet-top .leaflet-control { margin-top: 10px; }
.leaflet-bottom .leaflet-control { margin-bottom: 10px; }
.leaflet-left .leaflet-control { margin-left: 10px; }
.leaflet-right .leaflet-control { margin-right: 10px; float: right; }
.leaflet-control-zoom a,
.leaflet-control-zoom a:hover {
  background: #fff !important;
  color: #1d1016 !important;
  border-bottom: 1px solid #ccc;
  width: 30px;
  height: 30px;
  line-height: 30px;
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}
.leaflet-control-zoom {
  border: 2px solid rgba(0,0,0,.2);
  border-radius: 4px;
  overflow: hidden;
}
.leaflet-control-attribution {
  background: rgba(255,255,255,.82) !important;
  padding: 0 6px !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}
.map-panel {
  display: block !important;
  overflow: hidden !important;
}
#map {
  width: 100% !important;
  min-height: 460px !important;
  height: clamp(460px, 56vh, 620px) !important;
  max-height: 620px !important;
  border-radius: 28px !important;
}

@media (max-width: 1080px) {
  .app-shell { width: min(100% - 20px, 860px) !important; }
  .map-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .map-layout > .listing-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    max-height: none !important;
  }
  .listing-card.compact {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
  }
}
@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .app-shell {
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: calc(108px + var(--safe-bottom)) !important;
  }
  .topbar {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    overflow: hidden !important;
  }
  .desktop-nav { display: none !important; }
  .brand-lockup { min-width: 0 !important; max-width: 100% !important; }
  .brand-title { max-width: calc(100vw - 178px) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-subtitle { display: none !important; }
  .topbar-actions { min-width: 0 !important; }
  .user-chip { max-width: 120px !important; }
  .user-chip > span:last-child { max-width: 68px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .filter-card { overflow: hidden !important; }
  .chip-row { flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .map-panel { padding: 10px !important; border-radius: 24px !important; }
  #map {
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
    border-radius: 20px !important;
  }
  .listing-card.compact,
  .listing-card,
  .owner-card {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .listing-card.compact .listing-photo,
  .listing-card .listing-photo,
  .owner-card .listing-photo {
    width: 108px !important;
    height: 108px !important;
    min-height: 0 !important;
    object-fit: contain !important;
  }
}
@media (max-width: 420px) {
  .topbar { grid-template-columns: 1fr !important; }
  .topbar-actions { width: 100%; justify-content: space-between; }
  .user-chip { max-width: none !important; flex: 1; }
  .user-chip > span:last-child { max-width: none !important; }
  #map { height: 330px !important; min-height: 330px !important; max-height: 330px !important; }
  .listing-card.compact,
  .listing-card,
  .owner-card { grid-template-columns: 96px minmax(0, 1fr) !important; }
  .listing-card.compact .listing-photo,
  .listing-card .listing-photo,
  .owner-card .listing-photo { width: 96px !important; height: 96px !important; }
}

/* Google Maps web update - replaces Leaflet map rendering. */
#map {
  position: relative !important;
  width: 100% !important;
  height: clamp(430px, 56vh, 680px) !important;
  min-height: 430px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: #dcecd3 !important;
}
#map .gm-style,
#map .gm-style > div:first-child {
  border-radius: 28px !important;
}
#map .gm-style img {
  max-width: none !important;
  display: inline !important;
}
#map .gm-style button,
#map .gm-style input,
#map .gm-style select,
#map .gm-style textarea {
  font: initial;
}
.map-error {
  height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: var(--muted);
}
.map-error strong { color: var(--ink); font-size: 1.1rem; }
.map-error span { max-width: 440px; }
.google-info-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 210px;
  font-family: Inter, ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}
.google-info-card img,
.google-info-fallback {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  display: grid !important;
  place-items: center;
  font-weight: 900;
}
.google-info-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
  color: var(--ink);
}
.google-info-card span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}
.google-info-card .popup-button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr !important; }
  .map-layout > .listing-list {
    max-height: none !important;
    overflow: visible !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  #map { height: 440px !important; min-height: 440px !important; }
}
@media (max-width: 640px) {
  .map-panel { padding: 10px !important; border-radius: 24px !important; }
  #map { height: 390px !important; min-height: 390px !important; border-radius: 22px !important; }
}

/* Google Maps loading/auth diagnostics */
.map-loading {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  color: var(--muted);
}
.map-loading strong { color: var(--ink); font-size: 1.1rem; }
.map-loading span { max-width: 440px; }

/* BBF inbox unread badge update - 20260616 */
.nav-button {
  position: relative;
}
.nav-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav-badge {
  position: absolute;
  top: -10px;
  right: -14px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3d5a, #ff8a00);
  color: white;
  font-size: 0.72rem;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.95);
  box-shadow: 0 8px 20px rgba(244,81,30,.24);
}
.nav-button.has-unread:not(.active) {
  background: rgba(255,255,255,.78);
}
.conversation-list {
  gap: 14px;
}
.conversation-row {
  position: relative;
  text-align: left;
  align-items: center;
  overflow: hidden;
}
.conversation-row.unread {
  border-color: rgba(244,81,30,.34);
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,239,228,.96));
  box-shadow: 0 18px 42px rgba(244,81,30,.15);
}
.conversation-row.unread::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #ff3d5a, #ff8a00);
  border-radius: 999px;
}
.conversation-photo-wrap {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
}
.conversation-photo-wrap img,
.conversation-photo-wrap .listing-fallback {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
}
.unread-dot {
  position: absolute;
  right: -4px;
  top: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff3d5a;
  border: 3px solid white;
  box-shadow: 0 6px 16px rgba(255,61,90,.28);
}
.conversation-content {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.conversation-topline,
.conversation-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.conversation-title,
.conversation-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(64vw, 760px);
}
.conversation-preview {
  display: block;
  color: var(--muted);
}
.conversation-preview.strong {
  color: var(--ink);
  font-weight: 950;
}
@media (max-width: 640px) {
  .nav-badge {
    top: -8px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    font-size: .68rem;
  }
  .conversation-photo-wrap img,
  .conversation-photo-wrap .listing-fallback {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }
  .conversation-row {
    padding: 14px 16px;
  }
  .conversation-title,
  .conversation-preview {
    max-width: 58vw;
  }
}

/* BBF modern nav + contact support update - 20260616 */
.desktop-nav {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 45px rgba(76, 30, 13, 0.12);
}
.nav-button {
  gap: 7px;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: rgba(29,16,22,.86);
}
.nav-button.active {
  background: linear-gradient(135deg, rgba(244,81,30,.16), rgba(255,176,31,.16));
  color: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(244,81,30,.12);
}
.nav-svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.15;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.nav-label { line-height: 1; }
.topbar .nav-icon-wrap,
.bottom-nav .nav-icon-wrap { width: 22px; height: 22px; }
.bottom-nav {
  width: min(620px, calc(100% - 28px));
  gap: 4px;
  padding: 7px;
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 52px rgba(76,30,13,.16);
}
.bottom-nav .nav-button {
  min-height: 54px;
  padding: 7px 4px;
  border-radius: 20px;
  font-size: .72rem;
  gap: 4px;
  font-weight: 850;
}
.bottom-nav .nav-button.active {
  background: rgba(244,81,30,.12);
}
.bottom-nav .nav-svg { width: 20px; height: 20px; stroke-width: 2.1; }
.bottom-nav .nav-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22,119,238,.10);
  color: var(--blue);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.contact-card {
  overflow: hidden;
  position: relative;
}
.contact-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -64px;
  top: -64px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,166,106,.16), transparent 70%);
  pointer-events: none;
}
.contact-card-grid {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(320px,1.18fr);
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(93,70,55,.10);
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form .textarea { min-height: 130px; }
@media (max-width: 980px) {
  .topbar { padding: 10px 0; }
  .brand-title { font-size: 1.04rem; letter-spacing: -.035em; }
  .brand-subtitle { font-size: .72rem; max-width: 180px; }
  .contact-card-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .bottom-nav {
    width: calc(100% - 22px);
    bottom: calc(10px + var(--safe-bottom));
    border-radius: 24px;
  }
  .bottom-nav .nav-button { font-size: .68rem; min-height: 52px; }
  .bottom-nav .nav-svg { width: 19px; height: 19px; }
  .contact-card { padding: 18px; }
  .contact-form { padding: 12px; border-radius: 20px; }
}


/* BBF native-style web navigation refresh - 20260616b
   Goal: make the responsive web menu feel closer to the native iOS/Android tab bar,
   keep labels readable on small phones, and prevent the fixed nav from covering content. */
.topbar {
  border-radius: 0 0 30px 30px;
}
.brand-lockup {
  border-radius: 24px;
}
.user-chip > span:last-child {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desktop-nav {
  max-width: min(100%, 590px);
}
.desktop-nav .nav-button {
  min-width: 0;
  padding: 10px 13px;
}
.desktop-nav .nav-label {
  white-space: nowrap;
}
.bottom-nav {
  isolation: isolate;
}
.bottom-nav .nav-button {
  position: relative;
  min-width: 0;
}
.bottom-nav .nav-label {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  max-width: none !important;
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 24px, 680px);
    padding-bottom: calc(152px + var(--safe-bottom));
  }
  .topbar {
    align-items: stretch;
    gap: 10px;
    padding: 12px 0 8px;
    backdrop-filter: blur(22px);
  }
  .brand-lockup {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }
  .brand-title {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-subtitle {
    display: none;
  }
  .topbar-actions {
    flex: 0 1 auto;
    gap: 8px;
    min-width: 0;
  }
  .icon-button {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(76,30,13,.12);
  }
  .user-chip {
    min-width: 0;
    height: 50px;
    padding: 7px 11px 7px 7px;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(76,30,13,.12);
  }
  .user-chip > span:last-child {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bottom-nav {
    width: min(100% - 26px, 520px) !important;
    bottom: calc(12px + var(--safe-bottom)) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    min-height: 78px;
    padding: 8px 9px !important;
    border-radius: 32px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,250,244,.84)) !important;
    border: 1px solid rgba(255,255,255,.92) !important;
    box-shadow: 0 18px 48px rgba(76,30,13,.18), inset 0 1px 0 rgba(255,255,255,.8) !important;
    backdrop-filter: blur(28px) saturate(1.25);
    -webkit-backdrop-filter: blur(28px) saturate(1.25);
  }
  .bottom-nav .nav-button {
    min-width: 0 !important;
    min-height: 62px !important;
    padding: 7px 1px 6px !important;
    gap: 5px !important;
    border-radius: 24px !important;
    flex-direction: column !important;
    color: rgba(29,16,22,.94);
    background: transparent;
    box-shadow: none;
  }
  .bottom-nav .nav-button:hover { transform: none; }
  .bottom-nav .nav-button.active {
    background: linear-gradient(180deg, rgba(255,231,225,.96), rgba(255,242,237,.76)) !important;
    color: var(--orange) !important;
    box-shadow: inset 0 0 0 1px rgba(244,81,30,.10), 0 8px 20px rgba(244,81,30,.10) !important;
  }
  .bottom-nav .nav-icon-wrap {
    width: 25px !important;
    height: 25px !important;
    display: grid;
    place-items: center;
  }
  .bottom-nav .nav-svg {
    width: 23px !important;
    height: 23px !important;
    stroke-width: 2.2 !important;
  }
  .bottom-nav .nav-label {
    display: block;
    width: 100%;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: clamp(10px, 2.65vw, 12px) !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    letter-spacing: -0.065em !important;
    text-align: center;
    transform: scaleX(.94);
    transform-origin: center;
  }
  .bottom-nav .nav-button[data-tab="categories"] .nav-label {
    font-size: clamp(9.4px, 2.35vw, 11px) !important;
    letter-spacing: -0.09em !important;
    transform: scaleX(.89);
  }
  .bottom-nav .nav-button[data-tab="discover"] .nav-label,
  .bottom-nav .nav-button[data-tab="account"] .nav-label {
    letter-spacing: -0.085em !important;
    transform: scaleX(.91);
  }
  .nav-badge {
    top: -5px !important;
    right: -8px !important;
  }
}

@media (max-width: 380px) {
  .app-shell { width: calc(100% - 20px); }
  .brand-title { max-width: 39vw; }
  .user-chip > span:last-child { max-width: 92px; }
  .bottom-nav {
    width: calc(100% - 18px) !important;
    padding: 7px 7px !important;
    border-radius: 28px !important;
  }
  .bottom-nav .nav-button {
    min-height: 58px !important;
    border-radius: 21px !important;
  }
  .bottom-nav .nav-svg {
    width: 21px !important;
    height: 21px !important;
  }
  .bottom-nav .nav-label {
    font-size: 9.6px !important;
    letter-spacing: -0.085em !important;
    transform: scaleX(.9);
  }
  .bottom-nav .nav-button[data-tab="categories"] .nav-label {
    font-size: 8.8px !important;
    transform: scaleX(.86);
  }
}

/* BBF native-app style navigation polish - 20260616
   Focus: make the web bottom tab bar feel like the iOS/Android app and stop label truncation. */
.nav-button:hover,
.bottom-nav .nav-button:hover {
  transform: none;
}

/* Desktop/tablet top nav stays compact and professional without crowding the account chip. */
@media (min-width: 981px) {
  .topbar {
    grid-template-columns: minmax(220px, 290px) minmax(430px, 1fr) minmax(136px, auto) !important;
  }
  .desktop-nav {
    justify-self: center;
    width: fit-content;
    max-width: min(100%, 560px);
    padding: 6px;
    gap: 4px;
  }
  .desktop-nav .nav-button {
    padding: 9px 11px;
    min-height: 40px;
    font-size: clamp(.80rem, .88vw, .92rem);
    letter-spacing: -0.03em;
  }
  .desktop-nav .nav-svg {
    width: 17px;
    height: 17px;
  }
  .topbar-actions {
    justify-self: end;
  }
  .user-chip {
    max-width: 210px;
  }
  .user-chip > span:last-child {
    max-width: 146px;
  }
}

/* Native-style floating bottom tab bar. */
.bottom-nav {
  left: 50% !important;
  right: auto !important;
  bottom: calc(12px + var(--safe-bottom)) !important;
  transform: translateX(-50%) !important;
  width: min(610px, calc(100% - 26px)) !important;
  min-height: 78px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 8px 10px !important;
  border-radius: 34px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 22px 58px rgba(76,30,13,.18), inset 0 1px 0 rgba(255,255,255,.72) !important;
  backdrop-filter: blur(26px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.18) !important;
}

.bottom-nav .nav-button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 62px !important;
  padding: 7px 2px 6px !important;
  border-radius: 27px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: transparent !important;
  color: rgba(29,16,22,.92) !important;
  font-size: clamp(.68rem, 2.85vw, .80rem) !important;
  line-height: 1 !important;
  font-weight: 860 !important;
  letter-spacing: -0.045em !important;
  box-shadow: none !important;
}

.bottom-nav .nav-button.active {
  background: linear-gradient(135deg, rgba(244,81,30,.16), rgba(244,81,30,.08)) !important;
  color: var(--orange) !important;
  box-shadow: inset 0 0 0 1px rgba(244,81,30,.08), 0 8px 22px rgba(244,81,30,.10) !important;
}

.bottom-nav .nav-icon-wrap {
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.bottom-nav .nav-svg {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 2.15 !important;
}

.bottom-nav .nav-label {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.bottom-nav .nav-badge {
  top: -8px !important;
  right: -11px !important;
}

/* Give fixed tab bar enough breathing room so buttons/forms do not sit underneath it. */
.view {
  padding-bottom: calc(24px + var(--safe-bottom));
}
@media (max-width: 980px) {
  .app-shell {
    padding-bottom: calc(128px + var(--safe-bottom)) !important;
  }
  .view {
    padding-bottom: calc(28px + var(--safe-bottom)) !important;
  }
}

/* Mobile header: keep the brand and account chip readable, but never let them crowd the screen. */
@media (max-width: 760px) {
  .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 70 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 0 8px !important;
  }
  .brand-lockup {
    max-width: 100% !important;
    gap: 10px !important;
  }
  .brand-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 15px !important;
  }
  .brand-title {
    max-width: calc(100vw - 190px) !important;
    font-size: clamp(1.0rem, 4.5vw, 1.25rem) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .topbar-actions {
    width: auto !important;
    justify-content: end !important;
    gap: 8px !important;
  }
  .icon-button {
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
  }
  .user-chip {
    max-width: min(190px, 38vw) !important;
    min-height: 46px !important;
    padding: 7px 11px 7px 7px !important;
  }
  .avatar {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
  }
  .user-chip > span:last-child {
    max-width: calc(38vw - 46px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 520px) {
  .bottom-nav {
    width: calc(100% - 20px) !important;
    min-height: 76px !important;
    padding: 7px 7px !important;
    border-radius: 31px !important;
  }
  .bottom-nav .nav-button {
    min-height: 60px !important;
    border-radius: 25px !important;
    font-size: clamp(.66rem, 2.95vw, .74rem) !important;
    letter-spacing: -0.055em !important;
  }
  .bottom-nav .nav-icon-wrap {
    width: 27px !important;
    height: 27px !important;
  }
  .bottom-nav .nav-svg {
    width: 23px !important;
    height: 23px !important;
  }
}

@media (max-width: 380px) {
  .bottom-nav {
    width: calc(100% - 14px) !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  .bottom-nav .nav-button {
    font-size: .635rem !important;
    letter-spacing: -0.065em !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
  }
  .bottom-nav .nav-svg {
    width: 22px !important;
    height: 22px !important;
  }
}
