:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --surface-soft: #fff3c4;
  --surface-accent: #ffe1ce;
  --text: #17355d;
  --text-soft: #56718d;
  --primary: #ff6a13;
  --primary-deep: #e95000;
  --secondary: #1c75bc;
  --secondary-soft: #d9efff;
  --yellow: #ffc928;
  --border: rgba(23, 53, 93, 0.12);
  --shadow: 0 24px 60px rgba(21, 58, 103, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 201, 40, 0.28), transparent 26%),
    linear-gradient(180deg, #fffef9 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 20px auto 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 14px;
  backdrop-filter: blur(14px);
  z-index: 20;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-family: "Baloo 2", cursive;
  font-size: 3rem;
  line-height: 1;
  color: var(--secondary);
}

.brand::first-letter {
  color: var(--primary);
}

.city-badge,
.highlight-label,
.tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.city-badge,
.highlight-label,
.tag {
  background: rgba(255, 201, 40, 0.22);
  color: var(--primary-deep);
  border-radius: 999px;
  padding: 8px 12px;
}

.eyebrow {
  color: var(--primary);
  margin: 0 0 10px;
}

.nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  color: var(--text-soft);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.nav-pill {
  padding: 0;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-soft);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-link-business {
  color: white;
  background: linear-gradient(135deg, var(--secondary), #4fa8e6);
  font-weight: 800;
  box-shadow: none;
}

.nav-link-business:hover {
  color: white;
  background: linear-gradient(135deg, var(--secondary), #4fa8e6);
}

.is-active {
  transform: translateY(-1px);
  color: var(--text);
}

.nav-link-accent {
  color: white;
  background: linear-gradient(135deg, var(--secondary), #4fa8e6);
  box-shadow: 0 12px 20px rgba(28, 117, 188, 0.22);
}

.nav-link-accent:hover {
  color: white;
  background: linear-gradient(135deg, var(--secondary), #4fa8e6);
}

.menu-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.menu-auth:hover {
  transform: translateY(-2px);
}

.login-link {
  color: var(--secondary);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.signup-link {
  color: var(--primary);
  background: transparent;
  box-shadow: none;
}

.login-link.is-active {
  color: var(--secondary);
  background: transparent;
}

.signup-link.is-active {
  color: var(--primary);
  background: transparent;
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 2px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.icon-button,
.ghost-button,
.primary-button,
.search-button {
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-button:hover,
.ghost-button:hover,
.primary-button:hover,
.search-button:hover {
  transform: translateY(-2px);
}

.icon-button {
  width: 46px;
  height: 46px;
  background: var(--secondary-soft);
}

.ghost-button {
  padding: 12px 16px;
  background: rgba(28, 117, 188, 0.1);
  color: var(--secondary);
  font-weight: 700;
}

.primary-button,
.search-button {
  padding: 13px 20px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #ff9047);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(255, 106, 19, 0.24);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  margin-top: 26px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.section-block,
.highlight-card,
.ad-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.98;
  max-width: 11ch;
}

.hero-text {
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 62ch;
  margin: 18px 0 28px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff9e6 0%, #ffffff 100%);
  border: 1px solid rgba(255, 201, 40, 0.3);
}

.jd-search-panel {
  align-items: stretch;
}

.field {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: white;
}

.field-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.field-control input {
  min-width: 0;
  flex: 1 1 auto;
}

.field span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  font-weight: 700;
}

.field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
}

.field small {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.detect-location-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(28, 117, 188, 0.1);
  color: var(--secondary);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.search-extras,
.smart-search-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-panel .autocomplete-list {
  position: static;
  margin-top: 2px;
}

.search-extras {
  margin-top: 14px;
}

.search-extras button {
  border: 1px solid rgba(28, 117, 188, 0.12);
  border-radius: 999px;
  padding: 9px 12px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.search-extras button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 106, 19, 0.3);
  background: #fff8e8;
}

.smart-search-strip {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.smart-search-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.smart-search-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.hero-stats div {
  padding: 16px;
  border-radius: 22px;
  background: var(--surface-soft);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
}

.hero-stats span {
  color: var(--text-soft);
}

.hero-visual {
  padding: 20px;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 106, 19, 0.2), transparent 30%),
    linear-gradient(145deg, #fff0c3 0%, #ffffff 72%);
}

.promo-card,
.mini-card,
.listing-card,
.area-card,
.review-card,
.category-card {
  border-radius: 28px;
}

.promo-main {
  min-height: 250px;
  padding: 28px;
  color: #231300;
  background:
    linear-gradient(135deg, rgba(255, 117, 54, 0.96), rgba(255, 210, 90, 0.95)),
    #ff9c45;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.promo-main h2 {
  font-size: 2rem;
  margin: 14px 0 6px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mini-card {
  min-height: 148px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: 700;
  color: var(--text);
}

.mini-card span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.school {
  background: linear-gradient(180deg, #84cbff, #dff4ff);
}

.movers {
  background: linear-gradient(180deg, #ffd8cc, #fff1ea);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.highlight-card {
  padding: 24px;
}

.highlight-card h3 {
  margin: 14px 0 8px;
}

.highlight-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.section-block {
  margin-top: 26px;
  padding: 28px;
}

.compact-block {
  padding-top: 24px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: 2rem;
}

.section-head a {
  color: var(--secondary);
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-link-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(28, 117, 188, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
  color: var(--text);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tag-link-card span {
  color: var(--primary);
  font-weight: 800;
}

.tag-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 19, 0.28);
  box-shadow: 0 14px 24px rgba(21, 58, 103, 0.08);
}

.category-card {
  padding: 18px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
  border: 1px solid var(--border);
  text-align: center;
}

.category-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--secondary-soft), #ffffff);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.category-card strong {
  display: block;
  font-size: 1rem;
}

.category-card span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.featured-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 22px;
}

.featured-layout .section-head {
  grid-column: 1 / -1;
}

.featured-grid,
.card-row,
.review-grid {
  display: grid;
  gap: 18px;
}

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-card,
.area-card,
.review-card,
.ad-panel {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
}

.listing-card {
  padding: 20px;
}

.listing-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listing-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 201, 40, 0.22);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.listing-card h3,
.area-card h3,
.review-card h3 {
  margin: 16px 0 6px;
}

.listing-card p,
.area-card p,
.review-card p,
.ad-panel p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.rating-row,
.listing-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--text-soft);
}

.listing-meta span,
.rating-row span {
  padding: 8px 12px;
  background: rgba(28, 117, 188, 0.08);
  border-radius: 999px;
}

.listing-actions,
.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.text-link {
  color: var(--secondary);
  font-weight: 700;
}

.ad-panel {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(28, 117, 188, 0.18), transparent 35%),
    linear-gradient(180deg, #fff4da 0%, #ffffff 100%);
}

.ad-panel span {
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.ad-panel h3 {
  margin: 16px 0 10px;
  font-size: 1.7rem;
}

.area-card,
.review-card {
  padding: 18px;
}

.area-thumb {
  height: 154px;
  border-radius: 24px;
  background: linear-gradient(135deg, #7cc7ff, #ffd77c);
  margin-bottom: 16px;
}

.review-card {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 18px;
  align-items: center;
}

.avatar {
  width: 94px;
  height: 94px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffdb58, #ff9e55);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.stars {
  color: #ffbf00;
  letter-spacing: 0.15em;
  font-size: 1rem;
  margin: 10px 0;
}

.page-hero {
  padding: 42px 12px 8px;
}

.listings-hero {
  padding-bottom: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--secondary);
}

.listing-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}

#listingResults {
  display: block;
}

.results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
  border: 1px solid var(--border);
}

.results-summary span {
  color: var(--text-soft);
  text-align: right;
}

.listing-results-cards {
  align-items: stretch;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}

.empty-results h3 {
  margin: 14px 0 8px;
}

.empty-results p {
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 1.6;
}

.listing-side-ad {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(255, 201, 40, 0.22), transparent 35%),
    linear-gradient(180deg, #fff7df 0%, #ffffff 100%);
  box-shadow: var(--shadow);
}

.listing-side-ad h3 {
  margin: 14px 0 10px;
  font-size: 1.5rem;
}

.listing-side-ad p {
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 1.6;
}

.listing-location-line {
  margin: 8px 0 14px;
  color: var(--secondary);
  font-weight: 700;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  margin: 0 0 12px;
}

.page-hero p:last-child {
  margin: 0;
  max-width: 70ch;
  color: var(--text-soft);
  line-height: 1.7;
}

.filters-bar,
.grid-form,
.stack-form,
.profile-hero,
.stats-grid,
.two-col,
.footer-grid {
  display: grid;
  gap: 18px;
}

.filters-bar {
  grid-template-columns: 2fr 1fr 1fr auto;
  margin-bottom: 22px;
}

.listings-section {
  overflow: visible;
}

.listing-results-shell {
  display: block;
}

.surface-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fffdfa;
  color: var(--text);
  outline: 0;
}

.field-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hours-builder {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 201, 40, 0.22);
  background:
    radial-gradient(circle at top right, rgba(28, 117, 188, 0.08), transparent 30%),
    linear-gradient(180deg, #fff9ef 0%, #ffffff 100%);
}

.hours-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.hours-head h3 {
  margin: 0 0 6px;
}

.hours-head p {
  margin: 0;
  color: var(--text-soft);
}

.copy-hours-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(28, 117, 188, 0.08);
  color: var(--secondary);
  font-weight: 700;
}

.hours-grid {
  display: grid;
  gap: 12px;
}

.hours-row {
  display: grid;
  grid-template-columns: 140px 140px 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fffdfa;
}

.hours-row strong {
  font-size: 1rem;
}

.hours-row.is-closed {
  background: #f9fbfd;
}

.hours-row.is-closed strong {
  color: var(--text-soft);
}

.hours-row.is-twentyfour {
  background:
    radial-gradient(circle at top right, rgba(255, 201, 40, 0.18), transparent 34%),
    linear-gradient(180deg, #fffdf4 0%, #ffffff 100%);
}

.hours-row.is-twentyfour strong {
  color: var(--primary-deep);
}

.hours-status,
.hours-time {
  min-width: 0;
  cursor: pointer;
}

.time-field {
  gap: 6px;
}

.time-field span {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 700;
}

.hours-display-grid {
  display: grid;
  gap: 10px;
}

.hours-display-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(28, 117, 188, 0.05);
}

.hours-display-row strong {
  font-size: 0.96rem;
}

.hours-display-row span {
  color: var(--text-soft);
  text-align: right;
}

.autocomplete-field {
  position: relative;
}

.autocomplete-list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 15;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.search-suggestions {
  min-width: min(460px, 100%);
}

.autocomplete-list.is-visible {
  display: grid;
  gap: 8px;
}

.autocomplete-option {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 16px;
  background: #fffaf1;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--text);
}

.autocomplete-option:hover {
  background: #fff0cf;
}

.autocomplete-option strong,
.autocomplete-option span {
  display: block;
}

.autocomplete-option span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.upload-field {
  display: grid;
  gap: 10px;
}

.upload-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(28, 117, 188, 0.35);
  background:
    radial-gradient(circle at top right, rgba(255, 201, 40, 0.22), transparent 32%),
    linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.upload-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 106, 19, 0.45);
}

.upload-card-gallery {
  background:
    radial-gradient(circle at top right, rgba(28, 117, 188, 0.16), transparent 34%),
    linear-gradient(180deg, #fff9ef 0%, #ffffff 100%);
}

.upload-badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 201, 40, 0.24);
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-copy,
.upload-filename {
  color: var(--text-soft);
}

.upload-cta {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(28, 117, 188, 0.1);
  color: var(--secondary);
  font-weight: 800;
}

.upload-filename {
  font-size: 0.92rem;
  font-weight: 600;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.textarea-input {
  resize: vertical;
  min-height: 120px;
}

.full-span {
  grid-column: 1 / -1;
}

.auth-wrap {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 260px);
}

.auth-card,
.table-card,
.info-card,
.site-footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.auth-card {
  width: min(540px, 100%);
  padding: 30px;
}

.auth-wide {
  width: min(860px, 100%);
}

.stack-form {
  grid-template-columns: 1fr;
}

.grid-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-form button {
  width: fit-content;
}

.helper-row {
  margin: 16px 0 0;
  color: var(--text-soft);
}

.account-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 600;
}

.form-message.success {
  color: #188246;
}

.form-message.error {
  color: #b62828;
}

.profile-hero {
  grid-template-columns: 1.4fr 0.8fr;
  margin-top: 24px;
  align-items: start;
}

.profile-main,
.profile-side {
  display: grid;
  gap: 18px;
}

.profile-brand {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
}

.business-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff4da 0%, #ffffff 100%);
}

.profile-main,
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.profile-main h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.profile-main p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.working-hours-text {
  white-space: normal;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.table-card {
  padding: 24px;
}

.table-card h2 {
  margin-top: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(23, 53, 93, 0.08);
}

.two-col {
  grid-template-columns: 1.4fr 0.9fr;
}

.check-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.9;
}

.site-footer {
  margin-top: 26px;
  padding: 28px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  overflow: hidden;
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.photo-card-empty {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text-soft);
  font-weight: 600;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-grid h4 {
  margin: 0 0 12px;
}

.footer-grid a,
.footer-copy {
  display: block;
  margin: 0 0 10px;
  color: var(--text-soft);
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 1100px) {
  body {
    background:
      radial-gradient(circle at top center, rgba(255, 201, 40, 0.24), transparent 30%),
      linear-gradient(180deg, #fffdf8 0%, #f8fbff 100%);
  }

  .site-shell {
    width: min(100% - 24px, 1200px);
    margin: 14px auto 120px;
  }

  .hero,
  .featured-layout,
  .highlights,
  .profile-hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .card-row,
  .review-grid,
  .category-grid,
  .stats-grid,
  .footer-grid,
  .photo-grid,
  .listing-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hours-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listings-hero {
    padding-top: 28px;
  }

  .listings-section {
    padding-bottom: 88px;
  }

  .listing-results-cards {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .listing-results-cards .listing-card {
    min-width: 0;
  }

  .topbar {
    flex-wrap: nowrap;
    padding: 16px 18px;
    border-radius: 26px;
    top: 10px;
  }

  .brand-lockup {
    flex: 1;
    min-width: 0;
  }

  .brand {
    font-size: 2.45rem;
  }

  .city-badge {
    display: none;
  }

  .header-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 10px;
  }

  .header-nav .nav {
    display: none;
  }

  .header-nav .login-link {
    display: none;
  }

  .nav {
    gap: 10px;
  }

  .nav-pill {
    padding: 0;
  }

  .nav-link,
  .menu-auth,
  .ghost-button {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .hero {
    gap: 18px;
    margin-top: 18px;
  }

  .hero-copy,
  .hero-visual,
  .section-block,
  .highlight-card,
  .ad-panel {
    border-radius: 28px;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .search-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .results-summary {
    align-items: start;
    flex-direction: column;
  }

  .results-summary span {
    text-align: left;
  }

  .highlights {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .highlights::-webkit-scrollbar,
  .category-grid::-webkit-scrollbar,
  .card-row::-webkit-scrollbar,
  .review-grid::-webkit-scrollbar,
  .featured-grid::-webkit-scrollbar {
    display: none;
  }

  .highlight-card {
    min-width: 280px;
    scroll-snap-align: start;
  }

  .section-head {
    align-items: start;
  }

  .section-head a {
    font-size: 0.95rem;
  }

  .category-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .tag-strip {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .tag-link-card {
    flex: 0 0 auto;
  }

  .category-card {
    min-width: 148px;
    scroll-snap-align: start;
  }

  .featured-layout {
    display: block;
  }

  .featured-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .featured-grid .listing-card {
    min-width: 360px;
    scroll-snap-align: start;
  }

  .ad-panel {
    margin-top: 18px;
  }

  .card-row,
  .review-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .card-row .area-card,
  .review-grid .review-card {
    min-width: 320px;
    scroll-snap-align: start;
  }

  .mobile-tabbar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(23, 53, 93, 0.1);
    box-shadow: 0 20px 40px rgba(17, 42, 74, 0.14);
  }

  .mobile-tabbar-link {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 18px;
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .mobile-tabbar-link.is-active {
    color: var(--secondary);
    background: rgba(28, 117, 188, 0.1);
  }

  .mobile-tabbar-link-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), #ff9047);
    box-shadow: 0 12px 26px rgba(255, 106, 19, 0.22);
  }

  .mobile-tabbar-link-primary.is-active {
    color: white;
    background: linear-gradient(135deg, var(--primary), #ff9047);
  }

  .mobile-tabbar-icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    line-height: 1;
  }

  .mobile-tabbar-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .listings-page .site-shell {
    margin-bottom: 32px;
  }

  .listings-page .mobile-tabbar {
    position: static;
    width: min(100% - 24px, 520px);
    margin: 18px auto 16px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 16px, 1200px);
    margin: 10px auto 118px;
  }

  .topbar,
  .hero-copy,
  .hero-visual,
  .section-block {
    padding: 20px;
    border-radius: 24px;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .brand {
    font-size: 2.15rem;
  }

  .header-nav {
    display: grid;
    gap: 10px;
  }

  .menu-auth,
  .ghost-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .actions {
    margin-top: 0;
    width: 100%;
    justify-content: stretch;
    padding-left: 0;
  }

  .actions > * {
    flex: 1 1 auto;
  }

  .hero-copy {
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 9vw, 2.7rem);
    max-width: none;
  }

  .hero-text {
    font-size: 0.98rem;
    margin: 14px 0 22px;
  }

  .search-panel,
  .hero-stats,
  .mini-cards,
  .stats-grid,
  .footer-grid,
  .filters-bar,
  .grid-form,
  .photo-grid,
  .profile-brand,
  .listing-page-grid {
    grid-template-columns: 1fr;
  }

  .listings-hero {
    padding: 18px 8px 0;
  }

  .listings-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    line-height: 1.12;
  }

  .listings-hero p:last-child {
    line-height: 1.45;
  }

  .listings-page .topbar {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    padding: 12px 16px;
  }

  .listings-page .header-nav {
    display: flex;
    justify-content: flex-end;
    width: auto;
  }

  .listings-page .actions {
    width: auto;
  }

  .listings-page .actions > * {
    flex: 0 0 auto;
  }

  .listings-section {
    padding: 14px;
    margin-top: 16px;
    border-radius: 24px;
  }

  .listings-section .filters-bar {
    gap: 10px;
    margin-bottom: 14px;
  }

  .listings-section .surface-input,
  .listings-section .primary-button {
    min-height: 48px;
    border-radius: 16px;
    padding: 11px 14px;
  }

  .listing-results-shell {
    padding-bottom: 18px;
  }

  .field {
    padding: 12px 14px;
  }

  .field-control {
    display: grid;
  }

  .search-button {
    width: 100%;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats div {
    padding: 14px;
    border-radius: 18px;
  }

  .mini-cards {
    gap: 12px;
  }

  .promo-main {
    min-height: 210px;
    padding: 22px;
  }

  .promo-main h2 {
    font-size: 1.6rem;
  }

  .section-block {
    margin-top: 18px;
    padding: 20px;
  }

  .section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
  }

  .section-head h2 {
    font-size: 1.45rem;
  }

  .highlight-card {
    min-width: 86vw;
    padding: 20px;
  }

  .category-card {
    min-width: 136px;
    padding: 16px 12px;
  }

  .featured-grid .listing-card,
  .card-row .area-card,
  .review-grid .review-card {
    min-width: 86vw;
  }

  .review-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .hours-head {
    display: grid;
  }

  .hours-head,
  .hours-row {
    grid-template-columns: 1fr;
  }

  .mobile-tabbar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px;
    border-radius: 22px;
  }

  .mobile-tabbar-link {
    padding: 9px 4px;
    font-size: 0.72rem;
  }

  .mobile-tabbar-icon {
    width: 18px;
    height: 18px;
  }

  .mobile-tabbar-icon svg {
    width: 17px;
    height: 17px;
  }
}
