/* ==========================================================================
   Res Pick — custom styles (layered on Bootstrap 5)
   Visual direction: matches the ListiFind directory theme (dark UI, amber
   accent, circular category icons, tag+save-icon listing cards) while every
   number/label shown is real data — no fabricated ratings, tags, or counts.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-elevated: #f7f4ee;
  --bg-elevated-2: #efe9dd;
  --ink: #211d16;
  --ink-soft: #5c5648;
  --ink-faint: #8a8375;
  --amber: #a86a1a;
  --amber-soft: #e2a445;
  --amber-dark: #8a5714;
  --teal: #2f8f63;
  --brick: #c23f2f;
  --umber: #5b4a30;
  --rust: #8a3226;
  --line: rgba(33, 29, 22, 0.12);

  --font-display: "Montserrat", -apple-system, sans-serif;
  --font-body: "Asap", -apple-system, sans-serif;

  --radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}


:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

a { color: var(--amber); }
a:hover { color: var(--amber-dark); }

.text-muted { color: var(--ink-faint) !important; }

/* ---------- Navbar ---------- */
.rp-navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.rp-navbar .navbar-brand img {
  height: 32px;
  width: auto;
}
.rp-navbar .nav-link {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}
.rp-navbar .nav-link.active,
.rp-navbar .nav-link:hover { color: var(--ink); }
.rp-navbar .navbar-toggler {
  border-color: var(--line);
}
.rp-navbar .btn-claim {
  background: var(--amber-soft);
  color: #1a1300;
  border: none;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
}
.rp-navbar .btn-claim:hover { background: var(--amber-dark); color: #1a1300; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 15% -10%, rgba(226, 164, 69, 0.16), transparent),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  max-width: 20ch;
  margin-inline: auto;
}
.hero .lead {
  color: var(--ink-soft);
  max-width: 56ch;
  margin-inline: auto;
  font-size: 1.08rem;
}

/* Search bar */
.search-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(33, 29, 22, 0.22);
  padding: 1.1rem;
  border: 1px solid var(--line);
  max-width: 780px;
  margin-inline: auto;
}
.search-card .form-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.25rem;
  text-align: left;
  display: block;
}
.search-card .form-control,
.search-card .form-select {
  border: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  background: var(--bg-elevated-2);
  color: var(--ink);
}
.search-card .form-control::placeholder { color: var(--ink-faint); }
.search-card .form-control:focus,
.search-card .form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 0.2rem rgba(226, 164, 69, 0.2);
  background: var(--bg-elevated-2);
  color: var(--ink);
}
.search-card .btn-search {
  background: var(--amber-soft);
  border: none;
  color: #1a1300;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  white-space: nowrap;
}
.search-card .btn-search:hover { background: var(--amber-dark); }

/* ---------- Section shell ---------- */
.rp-section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.rp-section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 2.25rem; text-align: center; }
.section-head.text-start { text-align: left; }
.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 0.35rem;
}
.section-head p {
  color: var(--ink-soft);
  max-width: 60ch;
  margin-inline: auto;
}

/* ---------- Categories: circular icon grid (matches theme layout) ---------- */
.category-tile {
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  display: block;
  padding: 1rem 0.5rem;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.15s ease;
}
.category-tile:hover {
  background: var(--bg-elevated);
  transform: translateY(-3px);
  color: var(--ink);
}
.category-tile .badge-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin: 0 auto 0.75rem;
}
.category-tile .badge-icon svg { width: 30px; height: 30px; }
.category-tile h3 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}
.category-tile span {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- Restaurant card ---------- */
.listing-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.listing-card:hover {
  box-shadow: 0 22px 40px -24px rgba(33, 29, 22, 0.22);
  transform: translateY(-3px);
  border-color: rgba(226, 164, 69, 0.4);
}
.listing-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listing-thumb .cuisine-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(21, 23, 28, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.status-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border-radius: 6px;
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(21, 23, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.status-badge.status-open { background: rgba(47, 143, 99, 0.92); border-color: rgba(255, 255, 255, 0.25); }
.status-badge.status-closed { background: rgba(194, 63, 47, 0.92); border-color: rgba(255, 255, 255, 0.25); }
.status-badge.status-unknown { background: rgba(21, 23, 28, 0.6); }

.listing-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.listing-body h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.listing-body h3 a { color: var(--ink); text-decoration: none; }
.listing-body h3 a:hover { color: var(--amber); }
.listing-address {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.listing-phone {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.listing-phone a { color: var(--ink-soft); text-decoration: none; }
.listing-phone a:hover { color: var(--amber); }
.listing-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.listing-meta .review-count { color: var(--ink-soft); }
.listing-meta .view-link {
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
}

/* ---------- Cities ---------- */
.city-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  text-decoration: none;
  isolation: isolate;
  border: 1px solid var(--line);
  background-color: var(--bg-elevated-2);
  transition: transform 0.18s ease;
}
.city-tile:hover { transform: translateY(-3px); }
.city-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.city-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 23, 28, 0.05) 40%, rgba(21, 23, 28, 0.85));
  z-index: 1;
}
.city-tile-body {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
}
.city-tile h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.1rem; }
.city-tile span { color: rgba(255, 255, 255, 0.82); font-size: 0.85rem; }
.city-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: var(--brick);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.7rem;
  border-radius: 6px;
}

/* ---------- Trust / editorial section ---------- */
.trust-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
}
.trust-card .num {
  font-family: var(--font-display);
  color: var(--amber);
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}
.trust-card h4 { color: var(--ink); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
}
.testimonial-card p.quote { color: var(--ink); font-size: 0.98rem; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-author .avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--ink); }
.testimonial-author span { display: block; font-size: 0.78rem; color: var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--amber-soft) 0%, var(--amber-dark) 100%);
  color: #1a1300;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.cta-band h2 { color: #1a1300; }
.cta-band p { color: rgba(26, 19, 0, 0.78); }
.cta-band .btn {
  background: #1a1300;
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
}
.cta-band .btn:hover { background: #000; }

/* ---------- Footer ---------- */
.rp-footer { background: #17181d; color: rgba(255, 255, 255, 0.68); padding-block: 3rem 1.5rem; }
.rp-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.rp-footer a { color: rgba(255, 255, 255, 0.68); text-decoration: none; }
.rp-footer a:hover { color: #fff; }
.rp-footer .social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 0.5rem;
}
.rp-footer .social-link:hover { border-color: var(--amber-soft); color: var(--amber-soft); }
.rp-footer .bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2rem; padding-top: 1.25rem; font-size: 0.82rem;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber-soft); color: #1a1300; border: none;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px -8px rgba(33, 29, 22, 0.28);
  z-index: 1000; font-weight: 700;
}
.back-to-top.show { display: flex; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Listing detail page (e.g. Roamingmeals) — extends the tokens above
   ========================================================================== */


/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 0.5rem;
}
.gallery-grid a:first-child {
  grid-column: span 2;
  grid-row: span 3;
}
.gallery-grid a:nth-child(6) {
  grid-column: span 2;
}
.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); }
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
  .gallery-grid a:first-child { grid-row: span 2; }
}

/* Title bar */
.listing-title-bar h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 0.4rem;
  display: inline-block;
}
.category-pill {
  display: inline-block;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.5rem;
}
.listing-address-line {
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
}
.listing-address-line:hover { color: var(--amber); }
.rating-empty-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elevated);
  border: 1px dashed var(--line);
  color: var(--ink-faint);
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-top: 0.75rem;
}
.rating-empty-pill a { font-weight: 700; }

/* Detail section shell */
.detail-section { padding-block: 2.25rem; border-top: 1px solid var(--line); }
.detail-section:first-of-type { border-top: none; }
.detail-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* Amenity groups */
.amenity-group { margin-bottom: 1.25rem; }
.amenity-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin: 0 0.4rem 0.4rem 0;
}
.amenity-chip .ok { color: var(--teal); font-weight: 700; }

/* Menu list (no invented prices) */
.menu-group { margin-bottom: 1.75rem; }
.menu-group-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.menu-item-desc { color: var(--ink-soft); font-size: 0.86rem; }
.menu-item-price {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-faint);
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  height: fit-content;
  white-space: nowrap;
}
.menu-cta {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Empty state (reviews) */
.empty-state {
  background: var(--bg-elevated);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}
.empty-state p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }

/* Review form */
.review-form .form-control,
.review-form textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.review-form .form-control::placeholder { color: var(--ink-faint); }
.review-form .form-control:focus,
.review-form textarea:focus {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--amber);
  box-shadow: 0 0 0 0.2rem rgba(226, 164, 69, 0.2);
}

/* Sidebar widgets */
.side-widget {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.side-widget h3 {
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.order-widget .btn-order {
  background: var(--amber-soft);
  color: #1a1300;
  font-weight: 700;
  border: none;
  width: 100%;
  padding: 0.65rem;
}
.order-widget .btn-order:hover { background: var(--amber-dark); }
.order-widget .service-badges span {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin: 0 0.3rem 0.3rem 0;
}
.hours-list { list-style: none; padding: 0; margin: 0; font-size: 0.88rem; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li.today { color: var(--ink); font-weight: 700; }

.related-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; text-decoration: none; }
.related-item:last-child { margin-bottom: 0; }
.related-thumb {
  width: 52px; height: 52px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff;
}
.related-thumb-img {
  width: 52px; height: 52px; border-radius: 8px; flex-shrink: 0;
  object-fit: cover;
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
}
.related-info h4 { font-size: 0.9rem; margin-bottom: 0.15rem; color: var(--ink); }
.related-info span { font-size: 0.76rem; color: var(--ink-faint); display: block; }

.tag-pill-list a {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--bg-elevated-2);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin: 0 0.35rem 0.35rem 0;
  text-decoration: none;
}
.tag-pill-list a:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Breadcrumb ---------- */
.rp-breadcrumb-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  padding-block: 0.75rem;
}
.rp-breadcrumb-bar .breadcrumb-item,
.rp-breadcrumb-bar .breadcrumb-item a {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-decoration: none;
}
.rp-breadcrumb-bar .breadcrumb-item a:hover { color: var(--amber); }
.rp-breadcrumb-bar .breadcrumb-item.active { color: var(--ink-soft); }
.rp-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  color: var(--ink-faint);
  content: "›";
}

/* ==========================================================================
   About / Contact / Legal pages
   ========================================================================== */

.page-hero {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  padding-block: 2.5rem;
}
.page-hero h1 { margin-bottom: 0.35rem; }
.page-hero p { color: var(--ink-soft); margin-bottom: 0; }

.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.legal-toc h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.75rem;
}
.legal-toc ol { padding-left: 1.1rem; margin: 0; }
.legal-toc li { margin-bottom: 0.4rem; font-size: 0.85rem; }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--amber); }

.legal-content h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content ul { padding-left: 1.2rem; }
.legal-content .effective-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.callout {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  border: 1px solid var(--line);
}
.callout-warning {
  background: rgba(217, 79, 61, 0.08);
  border-color: rgba(217, 79, 61, 0.4);
}
.callout-warning strong { color: var(--brick); }
.callout-info {
  background: var(--bg-elevated);
  border-color: var(--line);
  color: var(--ink-soft);
}
.placeholder-flag {
  background: rgba(194, 63, 47, 0.12);
  color: #8f2a1c;
  border: 1px dashed var(--brick);
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
}

.value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
}
.value-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 0; }

.contact-form .form-control,
.contact-form textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.contact-form .form-control::placeholder { color: var(--ink-faint); }
.contact-form .form-control:focus,
.contact-form textarea:focus {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--amber);
  box-shadow: 0 0 0 0.2rem rgba(226, 164, 69, 0.2);
}

.contact-info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-info-card .info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-card .info-row:last-child { border-bottom: none; }
.contact-info-card .info-row a { color: var(--ink); text-decoration: none; }
.contact-info-card .info-row a:hover { color: var(--amber); }

/* ---------- Swatch utilities ----------
   Use these instead of inline style="background:..." wherever a card
   thumbnail just needs a solid brand-palette background. */
.swatch-amber { background: var(--amber-soft); }
.swatch-amber-dark { background: var(--amber); }
.swatch-teal { background: var(--teal); }
.swatch-brick { background: var(--brick); }
.swatch-umber { background: var(--umber); }
.swatch-rust { background: var(--rust); }

/* ---------- Coming-soon placeholder card ----------
   Deliberately empty — signals "slot reserved, no listing yet" rather than
   faking a restaurant. Replace with a real .listing-card when data exists. */
.listing-card.is-coming-soon {
  border-style: dashed;
  border-color: rgba(33, 29, 22, 0.2);
  background: transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  color: var(--ink-faint);
}
.listing-card.is-coming-soon:hover { transform: none; box-shadow: none; }
.listing-card.is-coming-soon .cs-icon {
  width: 40px; height: 40px; margin-bottom: 0.6rem;
  color: var(--ink-faint); opacity: 0.6;
}
.listing-card.is-coming-soon .cs-label {
  font-weight: 700; font-size: 0.9rem; color: var(--ink-soft);
}
.listing-card.is-coming-soon .cs-sub {
  font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.15rem;
}

/* ==========================================================================
   Brand page — hero banner, lightbox, review summary
   ========================================================================== */

/* Single hero banner */
.brand-banner {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
  background: var(--bg-elevated);
}
.brand-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .brand-banner { aspect-ratio: 16 / 10; }
}

/* Photo thumbnails (buttons that open the lightbox) */
.photo-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.photo-thumb:hover img { transform: scale(1.05); }

/* Lightbox */
.rp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 16, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
.rp-lightbox[hidden] { display: none; }
.rp-lightbox .lb-image {
  display: block;
  margin: auto;               /* absorb free space equally -> true centering */
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 82vh;           /* fallback for browsers without dvh */
  max-height: 88dvh;          /* fit the *visible* viewport on mobile */
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.rp-lightbox .lb-close,
.rp-lightbox .lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.rp-lightbox .lb-close:hover,
.rp-lightbox .lb-nav:hover { background: rgba(255, 255, 255, 0.28); }
.rp-lightbox .lb-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}
.rp-lightbox .lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.rp-lightbox .lb-prev { left: 1.25rem; }
.rp-lightbox .lb-next { right: 1.25rem; }
.rp-lightbox .lb-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.14);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
@media (max-width: 575px) {
  .rp-lightbox .lb-nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .rp-lightbox .lb-prev { left: 0.5rem; }
  .rp-lightbox .lb-next { right: 0.5rem; }
}

/* Review summary: 1/3 score + 2/3 bars */
.review-summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.review-score {
  text-align: center;
  background: var(--amber-soft);
  color: #1a1300;
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
}
.review-score-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}
.review-score-stars { color: #1a1300; margin: 0.4rem 0 0.5rem; letter-spacing: 2px; }
.review-score-out { display: block; font-size: 0.82rem; opacity: 0.85; }
.review-score-count { display: block; font-size: 0.82rem; opacity: 0.85; }
.review-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.review-bar-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; }
.review-bar-row .rb-label { width: 52px; color: var(--ink-soft); flex-shrink: 0; }
.review-bar-row .rb-track {
  flex: 1;
  height: 9px;
  background: var(--bg-elevated-2);
  border-radius: 999px;
  overflow: hidden;
}
.review-bar-row .rb-fill { display: block; height: 100%; background: var(--amber-soft); border-radius: 999px; }
.review-bar-row .rb-pct { width: 38px; text-align: right; color: var(--ink-faint); flex-shrink: 0; }
@media (max-width: 575px) {
  .review-summary { grid-template-columns: 1fr; }
}

/* Review list */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.review-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.review-item-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.review-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--amber-soft);
  color: #1a1300;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
}
.review-item-meta { display: flex; flex-direction: column; min-width: 0; }
.review-author {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-item-stars { color: var(--amber); letter-spacing: 1px; }
.review-item-stars i { font-size: 0.8rem; }
.review-date {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--ink-faint);
}
.review-text {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
}
@media (max-width: 575px) {
  .review-item { padding: 1rem; }
  .review-date { font-size: 0.72rem; }
}

/* Prominent submit-review button — flat amber like Claim/Call buttons */
.btn-submit-review {
  background: var(--amber-soft);
  color: #1a1300;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 2rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-submit-review:hover {
  background: var(--amber-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* Small centered "View all menu" button */
.btn-view-menu {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-view-menu:hover {
  background: var(--amber);
  color: #fff;
}

/* Brand meta line (rating + open/closed) above the address */
.brand-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.brand-rating { display: inline-flex; align-items: center; gap: 0.4rem; }
.brand-rating .stars { color: var(--amber-soft); letter-spacing: 1px; }
.brand-rating a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.brand-rating a:hover { color: var(--amber); }
.brand-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.brand-status::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.brand-status.is-open { color: var(--teal); background: rgba(47, 143, 99, 0.12); }
.brand-status.is-closed { color: var(--brick); background: rgba(194, 63, 47, 0.12); }
.brand-status.is-unknown { color: var(--ink-faint); background: var(--bg-elevated-2); }

/* Bootstrap star icon spacing in ratings */
.brand-rating .stars i,
.review-score-stars i { margin: 0 1px; font-size: 0.85rem; }
.review-score-stars i { font-size: 1rem; }

/* Related-item address line */
.related-addr { font-size: 0.74rem; color: var(--ink-faint); display: block; margin-top: 0.1rem; }

/* Brand page: circular brand logo in navbar */
.brand-logo-link { display: inline-flex; align-items: center; padding: 0; }
.brand-logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}

/* ---------- Phone number shown as plain text (no link) ---------- */
.phone-text {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: var(--amber); font-size: 1.02rem;
  line-height: 1.4;
}
