/* Compact Premium Browse by Location Page */
.loc-page {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 14px 14px 34px;
  color: #f8fafc;
  font-family: Roboto, Arial, sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(248, 216, 119, .14), transparent 28%),
    radial-gradient(circle at 92% 4%, rgba(148, 36, 57, .22), transparent 32%),
    linear-gradient(135deg, #06080d 0%, #111722 54%, #1a080d 100%);
}

.loc-page * { box-sizing: border-box; }
.loc-page a { -webkit-tap-highlight-color: transparent; }
.loc-page a:focus-visible,
.loc-page input:focus-visible {
  outline: 2px solid rgba(248, 216, 119, .86);
  outline-offset: 2px;
}

.loc-compact-hero,
.loc-popular-strip,
.loc-directory-shell,
.loc-no-results {
  width: 100%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

.loc-compact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: clamp(16px, 1.7vw, 26px);
  border-radius: 24px;
  border: 1px solid rgba(248, 216, 119, .30);
  background:
    linear-gradient(110deg, rgba(8, 12, 18, .96), rgba(14, 20, 31, .90) 56%, rgba(45, 13, 20, .88)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.036) 0 1px, transparent 1px 86px);
  box-shadow: 0 20px 58px rgba(0, 0, 0, .34);
  position: relative;
  overflow: hidden;
}

.loc-compact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(248, 216, 119, .09), transparent 30%, rgba(255,255,255,.04));
}

.loc-compact-copy,
.loc-compact-tools {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.loc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(248, 216, 119, .36);
  background: rgba(248, 216, 119, .10);
  color: #f8d877;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.loc-kicker::before {
  content: "✦";
  font-size: 10px;
}

.loc-compact-hero h1 {
  max-width: 820px;
  margin: 0 0 8px;
  color: #fff !important;
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 1;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.loc-compact-hero p {
  max-width: 760px;
  margin: 0;
  color: #dfe7f2 !important;
  font-size: 14px;
  line-height: 1.5;
}

.loc-compact-tools {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.052));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 18px 42px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
}

.loc-mini-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(248, 216, 119, .34);
  box-shadow: 0 12px 22px rgba(0,0,0,.16);
}

.loc-mini-search span {
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.loc-mini-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
}

.loc-mini-search input::placeholder { color: #687383; }

.loc-compact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.loc-compact-stats div {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(8, 12, 18, .54);
  border: 1px solid rgba(255, 255, 255, .11);
  text-align: center;
}

.loc-compact-stats strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.035em;
}

.loc-compact-stats span {
  display: block;
  margin-top: 5px;
  color: #c4cfdd;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .065em;
}

.loc-popular-strip,
.loc-directory-shell {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .115);
  background: rgba(10, 15, 24, .66);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}

.loc-popular-strip {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.loc-strip-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.loc-strip-title span {
  color: #f8d877;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.loc-strip-title strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.loc-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 8px;
}

.loc-feature-card,
.loc-city-card {
  position: relative;
  min-width: 0;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.loc-feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid rgba(248, 216, 119, .20);
  background:
    linear-gradient(145deg, rgba(248,216,119,.12), rgba(255,255,255,.055)),
    rgba(13, 20, 31, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.loc-feature-card::after,
.loc-city-card::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  right: -44px;
  bottom: -48px;
  border-radius: 50%;
  background: rgba(248, 216, 119, .15);
  z-index: -1;
}

.loc-feature-card span {
  color: #fff !important;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
}

.loc-feature-card small {
  color: #f8d877;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.loc-feature-card:hover,
.loc-city-card:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 216, 119, .60);
  background:
    linear-gradient(145deg, rgba(248,216,119,.18), rgba(255,255,255,.075)),
    rgba(14, 22, 34, .96);
}

.loc-toolbar {
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px -2px 10px;
  padding: 9px 10px;
  border-radius: 16px;
  border: 1px solid rgba(248, 216, 119, .18);
  background: rgba(7, 11, 17, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}

.loc-directory-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.loc-directory-label span {
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.loc-directory-label strong {
  color: #d5dfec;
  font-size: 12px;
  font-weight: 850;
}

.loc-directory-label b { color: #f8d877; }

.loc-toolbar-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(248,216,119,.23);
  background: rgba(248,216,119,.10);
  color: #f8d877;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .055em;
  white-space: nowrap;
}

.loc-az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
  padding: 7px;
  border-radius: 16px;
  background: rgba(255,255,255,.052);
  border: 1px solid rgba(255,255,255,.09);
}

.loc-az-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 10px;
  text-decoration: none;
  color: #e8eef7;
  background: rgba(255,255,255,.064);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  font-weight: 950;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.loc-az-nav a:hover {
  color: #111827;
  background: #f8d877;
  border-color: #f8d877;
  transform: translateY(-1px);
}

.loc-city-directory {
  display: grid;
  gap: 9px;
}

.loc-letter-block {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.030)),
    rgba(8, 13, 21, .72);
}

.loc-letter-head {
  display: grid;
  gap: 6px;
  justify-items: center;
  align-content: start;
  min-width: 0;
}

.loc-letter-head h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 13px;
  color: #111827 !important;
  background: linear-gradient(135deg, #f8d877, #d8a82e);
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(216,168,46,.20);
}

.loc-letter-head span {
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.loc-city-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 7px;
}

.loc-city-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .105);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.065);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.loc-city-card[hidden],
.loc-letter-block[hidden] {
  display: none !important;
}

.loc-city-name {
  display: block;
  min-width: 0;
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.012em;
}

.loc-city-card small {
  display: none;
}

.loc-city-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  color: #f8d877;
  background: rgba(248,216,119,.10);
  border: 1px solid rgba(248,216,119,.20);
  font-size: 0;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.loc-city-card em::before {
  content: "›";
  font-size: 20px;
  line-height: 1;
}

.loc-city-card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

.loc-city-card:hover em {
  color: #111827;
  background: #f8d877;
  border-color: #f8d877;
}

.loc-no-results {
  margin-top: 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(248,216,119,.13);
  border: 1px solid rgba(248,216,119,.28);
  color: #ffe8a6;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

body .loc-page,
body .loc-page * {
  text-shadow: none;
}

@media (max-width: 1020px) {
  .loc-compact-hero { grid-template-columns: 1fr; }
  .loc-popular-strip { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .loc-page { padding: 10px 10px 28px; }
  .loc-compact-hero { padding: 14px; border-radius: 20px; }
  .loc-compact-hero h1 { font-size: clamp(28px, 9vw, 42px); }
  .loc-compact-tools { padding: 10px; border-radius: 18px; }
  .loc-popular-strip,
  .loc-directory-shell { padding: 10px; border-radius: 18px; }
  .loc-toolbar { position: static; flex-direction: column; align-items: stretch; margin: 0 0 9px; }
  .loc-toolbar-note { width: 100%; }
  .loc-letter-block { grid-template-columns: 1fr; gap: 8px; padding: 9px; }
  .loc-letter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .loc-letter-head h2 { width: 38px; height: 38px; border-radius: 12px; font-size: 20px; }
  .loc-city-card-grid { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 6px; }
  .loc-city-card { min-height: 40px; padding: 8px 9px; }
  .loc-city-name { font-size: 13px; }
}

@media (max-width: 440px) {
  .loc-page { padding-left: 8px; padding-right: 8px; }
  .loc-compact-stats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .loc-compact-stats strong { font-size: 18px; }
  .loc-compact-stats span { font-size: 9px; }
  .loc-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-city-card-grid { grid-template-columns: 1fr; }
}
