/*
 * Limodia public marketplace stylesheet.
 *
 * Design tokens and card anatomy extracted from the approved Claude Design
 * export (Operator Detail Page.dc.html). Every marketplace page type —
 * operator detail, city directory, route pages — links this same file; keep
 * page-specific styles out of the templates so the visual language stays
 * identical across surfaces.
 */

:root {
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;

  --bg: #FFFFFF;
  --ink: #14110F;
  --ink-soft: #3D3833;
  --muted: #8A837B;
  --muted-2: #6B655E;
  --muted-3: #5A544D;
  --body-text: #4E4842;

  --orange: #FF6E19;
  --orange-hover: #E85F0F;
  --orange-bg: #FFF3E9;
  --orange-gradient: linear-gradient(97deg, #FF7A1A 0%, #F0590C 100%);
  --orange-gradient-hover: linear-gradient(97deg, #F26B0F 0%, #DC4E08 100%);

  /* Neutral line-icon stroke — the single icon colour across the operator page. */
  --icon-stroke: #8A837B;
  /* Small grey confirmation check used by the plain fact rows. */
  --check-grey: #8A837B;

  /* Retained for the shared city-directory / search surfaces only; the
     operator detail page no longer uses these accents (single-accent rule). */
  --verified-bg: #EEF7DE;
  --verified-ink: #4C7A16;
  --verified-ink-strong: #3F6A12;
  --verified-check: #6FB829;
  --accent-yellow: #FBFFAB;
  --accent-yellow-ink: #5A5A28;
  --accent-yellow-border: #ECEF8C;

  --border: #EDE8E1;
  --border-2: #ECE7E0;
  --border-input: #E4DED4;
  --border-aside: #EDE8E1;
  --row-divider: #F0ECE5;
  --chip-bg: #F4F1EC;
  --img-placeholder: #EAE5DE;

  /* Radius scale — 8 / 12 / 16 only. No pills on this page. */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-aside: 16px;
  --radius-pill: 999px;

  --shadow-header: 0 5px 20px rgba(20, 17, 15, 0.05);
  --shadow-aside: 0 10px 30px rgba(20, 17, 15, 0.06);
  --shadow-float: 0 4px 16px rgba(20, 17, 15, 0.14);

  --max-width: 1240px;
}

* { box-sizing: border-box; }
html, body {
  width: 100%; max-width: 100%; min-width: 0;
  margin: 0; padding: 0; overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: #C7550F; text-decoration: none; }
a:hover { color: var(--orange); }
input, select, button { font-family: inherit; }
::selection { background: var(--accent-yellow); }
img { display: block; max-width: 100%; }

.mkt-shell { width: 100%; max-width: var(--max-width); min-width: 0; margin: 0 auto; padding: 0 28px; }

/* ===== Header ===== */
.mkt-header { position: sticky; top: 0; z-index: 60; background: var(--bg); padding: 14px 0; }
.mkt-header-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-header); padding: 9px 9px 9px 26px;
}
.mkt-header-pill .mkt-logo { display: flex; align-items: center; flex: none; }
.mkt-header-pill .mkt-logo span { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.mkt-header-cta {
  display: inline-flex; align-items: center; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 15px; border-radius: var(--radius-pill); padding: 12px 28px;
}
.mkt-header-cta:hover { background: #2A2622; color: #fff; }

/* ===== Breadcrumb ===== */
.mkt-breadcrumb {
  font-size: 13px; color: var(--muted); font-weight: 600;
  margin: 24px 0 14px; display: flex; gap: 8px; flex-wrap: wrap;
}
.mkt-breadcrumb a { color: var(--muted); }
.mkt-breadcrumb a:hover { color: var(--orange); }
.mkt-breadcrumb .current { color: var(--ink); }

/* ===== Photo gallery — 1 large + up to 4 small ===== */
.mkt-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.32fr 1fr 1fr;
  grid-template-rows: 186px 186px;
  gap: 8px;
  border-radius: var(--radius-lg); overflow: hidden;
}
.mkt-gallery-cell { position: relative; background: var(--img-placeholder); overflow: hidden; }
.mkt-gallery-lead { grid-row: span 2; }
.mkt-gallery img { width: 100%; height: 100%; object-fit: cover; }
/* Desktop grid shows the lead + up to 4 more; extra photos exist only for the mobile carousel. */
.mkt-gallery-cell:nth-child(n+6) { display: none; }
/* One-photo fallback: a single wide image, no empty grid slots. */
.mkt-gallery.single { grid-template-columns: 1fr; grid-template-rows: auto; }
.mkt-gallery.single .mkt-gallery-lead { grid-row: auto; aspect-ratio: 16 / 9; }
/* "Show all N photos" — white, thin ink border, pinned bottom-right. */
.mkt-gallery-all {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #14110F; border-radius: var(--radius-sm);
  padding: 9px 15px; font: inherit; font-size: 13.5px; font-weight: 700;
  color: #14110F; cursor: pointer;
}
.mkt-gallery-all:hover { background: #14110F; color: #fff; }
.mkt-gallery-all svg { flex: none; }
/* Lightbox */
.mkt-lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,17,15,.92);
  display: flex; flex-direction: column;
}
.mkt-lightbox[hidden] { display: none; }
.mkt-lightbox-close {
  position: absolute; top: 16px; right: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 18px;
}
.mkt-lightbox-scroll {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 64px 16px 40px;
}
.mkt-lightbox-scroll img { width: min(920px, 100%); border-radius: var(--radius); }

/* ===== Sticky section tabs — the page's ONLY sticky layer ===== */
.mkt-tabnav {
  position: sticky; top: 0; z-index: 50;
  background: #f4f4f4;
  border-bottom: 1px solid var(--border);
}
.mkt-tabnav-inner { display: flex; align-items: center; gap: 16px; padding: 0 28px; height: 52px; }
.mkt-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mkt-tabs::-webkit-scrollbar { display: none; }
.mkt-tab {
  flex: none; border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 600; padding: 15px 14px;
  white-space: nowrap; color: var(--muted); box-shadow: none;
}
.mkt-tab:hover { color: var(--ink); }
.mkt-tab.active { font-weight: 800; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }

/* ===== Operator header ===== */
.mkt-h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }

/* Single rating line: ★ + Limodia score + N verified reviews + service areas. */
.mkt-title-rating {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--muted-3);
}
.mkt-title-rating .score {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 800; color: var(--ink);
}
.mkt-title-rating .score svg { flex: none; }
.mkt-title-rating a { color: var(--muted-3); text-decoration: underline; text-underline-offset: 2px; }
.mkt-title-rating a:hover { color: var(--ink); }
.mkt-title-rating .dot { width: 3px; height: 3px; border-radius: 50%; background: #CFC8BF; flex: none; }
.mkt-title-rating .areas { display: inline-flex; align-items: center; gap: 7px; }
.mkt-title-rating .areas svg { flex: none; }

/* Plain fact row (replaces the coloured verified badges): grey text + small grey check. */
.mkt-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.mkt-fact { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted-2); }
.mkt-fact svg { flex: none; }

/* ===== Operator identity block ===== */
.mkt-identity { display: flex; align-items: center; gap: 16px; margin: 4px 0 6px; }
.mkt-identity-photo {
  flex: none; width: 60px; height: 60px; border-radius: 50%;
  overflow: hidden; background: var(--img-placeholder);
}
.mkt-identity-photo img { width: 100%; height: 100%; object-fit: cover; }
.mkt-identity-body { min-width: 0; }
.mkt-identity-name { font-size: 16px; font-weight: 800; color: var(--ink); }
.mkt-identity-sub { margin-top: 3px; font-size: 13.5px; font-weight: 600; color: var(--muted-2); }
.mkt-identity-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 16px; }
.mkt-identity-stat { display: flex; flex-direction: column; gap: 2px; }
.mkt-identity-stat .num { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.mkt-identity-stat .cap { font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ===== "Run by {owner}" section ===== */
.mkt-owner-row { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 48px; align-items: center; }
.mkt-owner-row--solo { grid-template-columns: 480px; }
.mkt-owner-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--border-aside); border-radius: var(--radius-aside);
  box-shadow: var(--shadow-aside); padding: 20px 22px; min-width: 0;
}
.mkt-owner-card-id { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 0; }
.mkt-owner-photo {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  background: var(--img-placeholder); flex-shrink: 0;
}
.mkt-owner-photo img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: block; }
.mkt-owner-badge {
  position: absolute; right: -2px; bottom: -2px; width: 27px; height: 27px; border-radius: 50%;
  background: var(--orange); border: 3px solid #fff; display: flex; align-items: center; justify-content: center;
}
.mkt-owner-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.mkt-owner-role { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted-2); }
.mkt-owner-role svg { color: var(--icon-stroke); }
.mkt-owner-stats { min-width: 0; }
.mkt-owner-stat { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--row-divider); padding: 11px 0; }
.mkt-owner-stat:first-child { border-top: none; padding-top: 0; }
.mkt-owner-stat:last-child { padding-bottom: 0; }
.mkt-owner-stat .val { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.mkt-owner-stat .cap { font-size: 12.5px; font-weight: 600; color: var(--muted-2); }
.mkt-owner-facts { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mkt-owner-fact { display: inline-flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 600; color: var(--ink-soft); }
.mkt-owner-fact-icon { display: inline-flex; flex-shrink: 0; color: var(--icon-stroke); }
.mkt-owner-fact-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.mkt-owner-bio { margin: 6px 0 0; }
@media (max-width: 960px) {
  .mkt-owner-row, .mkt-owner-row--solo { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Sections ===== */
.mkt-divider { height: 1px; background: var(--border); margin: 34px 0; }
.mkt-section h2 { margin: 0 0 12px; font-size: 23px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.mkt-section .mkt-section-sub { margin: 0 0 20px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.mkt-prose { margin: 0; font-size: 15.5px; color: var(--body-text); line-height: 1.68; max-width: 680px; white-space: pre-line; }

/* About section: clamp to 3 lines until "Read more" is pressed. */
.mkt-about-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.mkt-about.is-expanded .mkt-about-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.mkt-about-toggle {
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: #C7550F;
  cursor: pointer;
}
.mkt-about-toggle:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

/* ===== Cards ===== */
.mkt-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.mkt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== Fleet — hairline-separated rows (de-boxed) ===== */
.mkt-fleet-list { display: flex; flex-direction: column; }
.mkt-vehicle {
  display: flex; align-items: center; gap: 18px;
  width: 100%; min-width: 0;
  padding: 20px 0; border-bottom: 1px solid var(--row-divider);
}
.mkt-vehicle:last-child { border-bottom: 0; }
.mkt-vehicle-img {
  position: relative; flex: none; width: 148px; height: 96px;
  border-radius: var(--radius); overflow: hidden; background: var(--img-placeholder);
}
.mkt-vehicle-img img { width: 100%; height: 100%; object-fit: cover; }
.mkt-vehicle-img .mkt-photo-placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--muted); font-weight: 700; font-size: 12px; text-align: center; padding: 0 6px;
}
.mkt-vehicle-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mkt-vehicle-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mkt-vehicle-top h3 { min-width: 0; margin: 0; font-size: 16.5px; font-weight: 800; overflow-wrap: anywhere; }
.mkt-vehicle-price { flex-shrink: 0; font-size: 14px; color: var(--muted); font-weight: 700; }
.mkt-vehicle-price strong { color: var(--ink); font-size: 16px; }
.mkt-quote-chip { font-size: 13px; color: var(--muted); font-weight: 700; }
.mkt-vehicle-specs {
  display: flex; gap: 16px; flex-wrap: wrap; margin: 0;
  font-size: 13.5px; color: var(--muted-3); font-weight: 600;
}
.mkt-vehicle-specs span { display: inline-flex; align-items: center; gap: 6px; }
.mkt-vehicle-specs svg { color: var(--icon-stroke); }
.mkt-vehicle-model { margin: 0; font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }

/* ===== What this operator offers (merged amenities + ride types) ===== */
/* Space the "Ride types" and "Amenities & services" blocks apart (their subheads are each
   first-child of a wrapper, so the subhead top-margin is zeroed — the gap restores breathing room). */
.mkt-feature-card { padding: 0; background: transparent; border: 0; border-radius: 0; display: flex; flex-direction: column; gap: 26px; }
.mkt-feature-subhead {
  margin: 22px 0 4px; font-size: 14px; font-weight: 800; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--muted);
}
.mkt-feature-subhead:first-child { margin-top: 0; }
.mkt-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}
.mkt-feature-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 52px;
  padding: 11px 0;
  border-bottom: 1px solid var(--row-divider);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}
.mkt-feature-icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--icon-stroke);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Service areas ===== */
.mkt-areas-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.mkt-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mkt-area-chip {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 15px; color: var(--ink); font-weight: 700; font-size: 14px;
}
.mkt-area-chip svg { color: var(--icon-stroke); flex: none; }

/* ===== Coverage map (real Leaflet map, CARTO light_all tiles) ===== */
.mkt-map {
  height: 320px; border-radius: var(--radius-lg); overflow: hidden;
  background: #EDE8DF; z-index: 0;
}
.mkt-map.leaflet-container { font-family: var(--font-sans); }
.mkt-map .leaflet-pin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 1px 4px rgba(20,17,15,.35);
}
.mkt-map .leaflet-pin.base { background: #14110F; }
.mkt-map .leaflet-pin.airport { background: var(--icon-stroke); }
/* First 6 served areas: 3 across, 2 rows. */
.mkt-coverage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.mkt-coverage-grid .mkt-area-chip { min-width: 0; overflow-wrap: anywhere; }
.mkt-drivetime-list { margin-top: 18px; display: flex; flex-direction: column; }
.mkt-drivetime {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--row-divider);
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
}
.mkt-drivetime:last-child { border-bottom: 0; }
.mkt-drivetime .place { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.mkt-drivetime .place svg { flex: none; color: var(--icon-stroke); }
.mkt-drivetime .dist { flex: none; font-size: 13.5px; font-weight: 700; color: var(--muted); }

/* ===== Policies ("Good to know before you ride") — hairline rows ===== */
.mkt-policies { display: flex; flex-direction: column; }
.mkt-policy {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--row-divider);
}
.mkt-policy:last-child { border-bottom: 0; }
.mkt-policy .icon {
  flex: none; width: 24px; height: 24px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; color: var(--icon-stroke);
}
.mkt-policy .icon svg { stroke: var(--icon-stroke); }
.mkt-policy h3 { margin: 0 0 3px; font-size: 15px; font-weight: 800; }
.mkt-policy p { margin: 0; font-size: 13.5px; color: var(--muted-2); line-height: 1.55; }

/* ===== FAQ — hairline rows ===== */
.mkt-faq { display: flex; flex-direction: column; }
.mkt-faq-item { border-bottom: 1px solid var(--row-divider); }
.mkt-faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 700; color: var(--ink);
}
.mkt-faq-item > summary::-webkit-details-marker { display: none; }
.mkt-faq-item > summary .chevron { flex: none; color: var(--icon-stroke); transition: transform 0.2s ease; }
.mkt-faq-item[open] > summary .chevron { transform: rotate(180deg); }
.mkt-faq-item > p { margin: 0; padding: 0 0 18px; font-size: 14.5px; color: var(--muted-2); line-height: 1.6; max-width: 680px; }

/* ===== Related operators ("Other car services you might like") ===== */
.mkt-related-section { scroll-margin-top: 140px; }
.mkt-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mkt-related-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink);
}
.mkt-related-card:hover { border-color: var(--orange); color: var(--ink); }
.mkt-related-img { position: relative; height: 150px; background: var(--img-placeholder); }
.mkt-related-img img { width: 100%; height: 100%; object-fit: cover; }
.mkt-related-img .mkt-photo-placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--muted); font-weight: 700; font-size: 12.5px;
}
.mkt-related-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mkt-related-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; }
.mkt-related-name svg { flex: none; }
.mkt-related-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted-3); font-weight: 700; flex-wrap: wrap; }
.mkt-related-meta .rating { display: inline-flex; align-items: center; gap: 4px; }
.mkt-related-price { margin-top: auto; font-size: 13px; color: var(--muted); font-weight: 700; }
.mkt-related-price strong { color: var(--ink); font-size: 15px; }

/* ===== Reviews ===== */
/* Aggregated per-dimension breakdown — hairline bars at the top of Reviews. */
.mkt-review-breakdown { margin: 4px 0 8px; }
.mkt-review-breakdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; max-width: 680px; }
.mkt-breakdown-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.mkt-breakdown-row .label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.mkt-breakdown-row .val { font-size: 14px; font-weight: 800; color: var(--ink); }
.mkt-breakdown-track {
  grid-column: 1 / -1; height: 4px; border-radius: 999px; background: var(--row-divider); overflow: hidden;
}
.mkt-breakdown-fill { height: 100%; border-radius: 999px; background: #22c55e; }
.mkt-review-breakdown-note { margin: 14px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }

/* Small demoted Google note (Google is never a second headline number). */
.mkt-review-google-note {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.mkt-review-google-note a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 2px; }
.mkt-review-google-note svg { flex: none; color: var(--icon-stroke); }

.mkt-review-list { margin-top: 22px; }
.mkt-review-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.mkt-review-list-heading h3 { margin: 0; font-size: 17px; font-weight: 800; }
.mkt-review-list-heading > span { color: var(--muted); font-size: 13.5px; font-weight: 700; }

/* De-boxed review entries: hairline-separated rows, more whitespace. */
.mkt-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.mkt-review-entry { padding: 22px 0; border-bottom: 1px solid var(--row-divider); }
.mkt-review-entry-author { display: flex; align-items: center; gap: 10px; }
.mkt-review-entry-author img { border-radius: 50%; object-fit: cover; }
.mkt-review-entry-author a { color: var(--ink); font-weight: 800; }
.mkt-review-entry-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mkt-review-who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mkt-review-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--chip-bg); color: var(--muted-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.mkt-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mkt-review-entry-header time { color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.mkt-review-source { margin-top: 3px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.mkt-review-stars { margin-top: 12px; color: var(--ink); letter-spacing: 2px; }
.mkt-review-stars + .mkt-prose { margin-top: 10px; }
.mkt-review-overall {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.mkt-review-overall svg { color: var(--icon-stroke); }
.mkt-review-categories {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px; margin: 14px 0 0;
}
.mkt-review-categories div { border-radius: var(--radius-sm); background: #f4f4f4; padding: 9px 10px; }
.mkt-review-categories dt { color: var(--muted); font-size: 11.5px; font-weight: 700; }
.mkt-review-categories dd { margin: 3px 0 0; color: var(--ink); font-size: 13px; font-weight: 800; }
.mkt-review-response {
  margin-top: 16px; border-left: 3px solid var(--border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #f4f4f4; padding: 12px 14px;
}
.mkt-review-response strong { color: var(--ink); font-size: 13px; }
.mkt-review-response p { margin: 6px 0 0; color: var(--body-text); font-size: 13.5px; line-height: 1.55; }
.mkt-review-response time { display: block; margin-top: 6px; color: var(--muted); font-size: 11.5px; }
.mkt-review-helpful {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  border: 1px solid var(--border-input); border-radius: var(--radius-sm);
  background: #fff; color: var(--muted-2); padding: 7px 11px;
  font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.mkt-review-helpful span {
  min-width: 20px; border-radius: var(--radius-sm); background: var(--row-divider);
  padding: 1px 6px; text-align: center;
}
.mkt-review-helpful.is-helpful { border-color: var(--ink); background: #f4f4f4; color: var(--ink); }
.mkt-review-external-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; }
.mkt-review-empty { padding: 22px 0; color: var(--body-text); }
.mkt-review-empty p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ===== Aside booking card ===== */
.mkt-aside { align-self: start; }
.mkt-booking {
  background: #fff; border: 1px solid var(--border-aside);
  border-radius: var(--radius-aside); box-shadow: var(--shadow-aside);
  padding: 20px;
}
/* Block 1 — price */
.mkt-booking-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.mkt-booking-head h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted-2); order: 2; }
.mkt-booking-price { display: flex; align-items: baseline; gap: 7px; }
.mkt-booking-price strong { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.mkt-booking-price .per { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.mkt-booking-form { display: flex; flex-direction: column; gap: 14px; }

/* Redesigned booking card: ride-type tabs, filled pills, dual CTAs. */
.mkt-ridetype-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--border-aside); }
.mkt-ridetype-tab {
  border: none; background: none; cursor: pointer; font: inherit; font-size: 14.5px;
  padding: 0 0 11px; font-weight: 600; color: var(--muted); box-shadow: none;
}
.mkt-ridetype-tab.is-active { font-weight: 800; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.mkt-pills { display: flex; flex-direction: column; gap: 10px; }
.mkt-pill {
  position: relative; display: flex; align-items: center; gap: 12px; min-width: 0;
  background: #F4F4F4; border-radius: 12px; padding: 0 16px; height: 56px;
}
.mkt-pill[hidden] { display: none; }
.mkt-pill > svg { flex: none; color: var(--ink); }
.mkt-pill .mkt-place-field { flex: 1; min-width: 0; }
.mkt-pill-input {
  flex: 1; width: 100%; min-width: 0; border: 0; outline: none; background: none; padding: 0;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
}
.mkt-pill-input::placeholder { color: var(--muted); font-weight: 500; }
.mkt-pill-select .mkt-pill-input { padding-right: 22px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.mkt-pill-chevron { position: absolute; right: 16px; pointer-events: none; color: var(--ink); }
.mkt-social-proof {
  display: flex; align-items: center; gap: 9px; margin: 6px 0 0;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.mkt-social-proof svg { flex: none; }
.mkt-booking-assurance-lines { display: flex; flex-direction: column; gap: 3px; }
/* Primary CTAs are red now (orange stays badge-only). "Get a quote" is secondary when "Book now" exists. */
.mkt-cta-quote, .mkt-cta-book {
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  background: #DA3743; color: #fff; border: none; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 800; padding: 15px 20px; cursor: pointer;
}
.mkt-cta-quote:hover, .mkt-cta-book:hover { background: #C22B37; color: #fff; }
.mkt-cta-quote.is-secondary {
  background: #F4F4F4; border: 1px solid var(--border-input); color: var(--ink); font-size: 15px; font-weight: 700;
  margin-top: 8px;
}
.mkt-cta-quote.is-secondary:hover { background: #F4F4F4; border-color: var(--ink); color: var(--ink); }
.mkt-booking-form .mkt-cta-quote, .mkt-booking-form .mkt-cta-book { width: 100%; }
.mkt-cta-book[hidden] { display: none; }
.mkt-booking-unavailable { padding-top: 6px; }
.mkt-booking-unavailable .mkt-booking-note { justify-content: flex-start; margin-bottom: 12px; }

/* Block 2 — fields separated by merged horizontal rows. */
.mkt-field-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
}
.mkt-field {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 0;
  border: none;
}
/* The `display:flex` above outranks the UA `[hidden]` rule, so a hidden field
   (e.g. the hourly-only Duration input) would still show. Restore hiding. */
.mkt-field[hidden] { display: none; }
.mkt-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 20px;
  border-bottom: 1px solid var(--border-input);
}
.mkt-field-group > .mkt-field,
.mkt-field-group > .mkt-field-row {
  border-bottom: 1px solid var(--border-input);
}
.mkt-field-group > .mkt-field:last-child,
.mkt-field-group > .mkt-field-row:last-child {
  border-bottom: none;
}
/* Sentence-case micro-labels, 11.5px grey (no uppercase). */
.mkt-field-label { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.mkt-field-control {
  width: 100%; border: 0; outline: none; background: none; padding: 0;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
}
.mkt-field-control::placeholder { color: var(--muted); font-weight: 500; }
/* iOS Safari zooms the whole page in when a focused input is under 16px.
   The 15px controls (pickup/drop-off, quote date/time/contact fields) triggered
   that on the booking + quote forms, so bump them to 16px on touch/small screens. */
@media (max-width: 720px) {
  .mkt-field-control { font-size: 16px; }
}
/* Button-styled controls (date / time) that open a popover. */
.mkt-control-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  border: 0; background: none; padding: 0; cursor: pointer; font: inherit;
  font-size: 15px; font-weight: 600; color: var(--ink); text-align: left;
}
.mkt-control-btn[data-empty="true"] { color: var(--muted); font-weight: 500; }
.mkt-control-btn svg { flex: none; color: var(--icon-stroke); }

/* +/- steppers for passengers and bags */
.mkt-stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mkt-stepper-val { font-size: 15px; font-weight: 700; color: var(--ink); min-width: 18px; text-align: center; }
.mkt-stepper-btns { display: inline-flex; align-items: center; gap: 8px; }
.mkt-stepper-btn {
  width: 30px; height: 30px; flex: none; border-radius: var(--radius-sm);
  border: 1px solid var(--border-input); background: #fff; color: var(--ink);
  font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.mkt-stepper-btn:hover { border-color: var(--ink); }
.mkt-stepper-btn:disabled { opacity: .4; cursor: default; border-color: var(--border-input); }

/* Date calendar popover */
.mkt-pop {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 12px; right: 12px;
  background: #fff; border: 1px solid var(--border-input); border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20,17,15,.16); padding: 12px;
}
.mkt-pop[hidden] { display: none; }
/* The date field sits in a 2-col row, so the cell is too narrow for a 7-col
   calendar. Give the calendar popover its own width and let it extend past the
   cell instead of being pinned to both edges. */
.mkt-cal-pop { right: auto; width: 260px; max-width: calc(100vw - 32px); }
.mkt-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mkt-cal-title { font-size: 14px; font-weight: 800; color: var(--ink); }
.mkt-cal-nav {
  width: 28px; height: 28px; border-radius: var(--radius-sm); border: 1px solid var(--border-input);
  background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.mkt-cal-nav:disabled { opacity: .35; cursor: default; }
.mkt-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mkt-cal-dow { font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; }
.mkt-cal-day {
  aspect-ratio: 1; border: 0; background: none; border-radius: var(--radius-sm); cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
}
.mkt-cal-day:hover:not(:disabled) { background: var(--row-divider); }
.mkt-cal-day:disabled { color: #D6CFC6; cursor: default; }
.mkt-cal-day.is-empty { visibility: hidden; }
.mkt-cal-day.is-selected { background: var(--ink); color: #fff; }
/* Time scrollable list popover */
.mkt-time-pop { max-height: 240px; overflow-y: auto; padding: 6px; }
.mkt-time-opt {
  display: block; width: 100%; text-align: left; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); padding: 9px 11px; border-radius: var(--radius-sm);
}
.mkt-time-opt:hover { background: var(--row-divider); }
.mkt-time-opt.is-selected { background: var(--ink); color: #fff; }

.mkt-place-field { position: relative; display: block; }
.mkt-place-field input { width: 100%; }
.mkt-place-results {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0;
  display: block; overflow: hidden; background: #fff; border: 1px solid var(--border-input);
  border-radius: var(--radius); box-shadow: 0 10px 24px rgba(20, 17, 15, .15);
}
.mkt-place-results[hidden] { display: none; }
.mkt-place-result {
  display: block; width: 100%; padding: 11px 13px; border: 0; border-bottom: 1px solid var(--border-2);
  background: #fff; color: var(--ink); cursor: pointer; font: inherit; font-size: 13px; line-height: 1.35; text-align: left;
}
.mkt-place-result:last-child { border-bottom: 0; }
.mkt-place-result:hover, .mkt-place-result:focus { background: #f4f4f4; outline: none; }
/* Block 3 — assurance line */
.mkt-booking-assurance {
  display: flex; align-items: flex-start; gap: 8px; margin: 0;
  font-size: 12.5px; font-weight: 600; color: var(--muted-2); line-height: 1.5;
}
.mkt-booking-assurance svg { flex: none; margin-top: 1px; color: var(--icon-stroke); }

/* Block 4 — the single orange CTA (the only orange on the page) */
.mkt-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 16px;
  border: none; border-radius: var(--radius); padding: 15px 30px; cursor: pointer;
}
.mkt-cta:hover { background: var(--orange-hover); color: #fff; }
.mkt-cta.small { font-size: 14.5px; border-radius: var(--radius); padding: 12px 22px; }
.mkt-booking-form .mkt-cta { width: 100%; }
.mkt-booking-form[hidden] { display: none; }

/* Block 5 — "You won't be charged yet" + collapsed notice */
.mkt-booking-notice { margin-top: 2px; }
.mkt-booking-notice > summary {
  list-style: none; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--muted-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.mkt-booking-notice > summary::-webkit-details-marker { display: none; }
.mkt-booking-notice > summary .chevron { color: var(--icon-stroke); transition: transform .2s ease; }
.mkt-booking-notice[open] > summary .chevron { transform: rotate(180deg); }


.mkt-booking-note {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 600;
}
.mkt-liability {
  margin: 4px 0 0; font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.55;
}

/* ===== Footer ===== */
.mkt-footer { border-top: 1px solid var(--border-2); background: #fff; margin-top: 44px; }
.mkt-footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding: 28px 0;
}
.mkt-footer-logo { display: inline-flex; }
.mkt-footer-logo img { height: 20px; display: block; }
.mkt-footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }
.mkt-footer-links a { color: #77776d; }
.mkt-footer-links a:hover { color: #111111; }
.mkt-footer-copy { font-size: 13px; color: #77776d; }

/* Rich marketplace footer (brand blurb + link columns + legal bar) — shared with the /help
   footer design, used on the home page. */
.mkt-footer--rich { padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 5vw, 56px); }
.mkt-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.mkt-footer-brand-logo { height: 26px; width: auto; }
.mkt-footer-tagline { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: #6B7076; max-width: 22em; }
.mkt-footer-col-title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: #9A9EA4; }
.mkt-footer-col-links { display: grid; gap: 14px; margin-top: 18px; }
.mkt-footer-col-links a { font-size: 15px; color: #3B3E42; }
.mkt-footer-col-links a:hover { color: var(--orange); }
.mkt-footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  margin-top: clamp(32px, 4vw, 52px); padding-top: 24px; border-top: 1px solid #EDEDE8;
}
.mkt-footer--rich .mkt-footer-copy { font-size: 15px; color: #9A9EA4; }
.mkt-footer-legal { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 28px); }
.mkt-footer-legal a { font-size: 14px; color: #9A9EA4; }
.mkt-footer-legal a:hover { color: var(--orange); }

/* ===== Bottom SEO content block (city directory) ===== */
.mkt-seo { max-width: 1080px; margin: 6px 0 8px; padding: 34px 0 8px; }
.mkt-seo-sec { padding: 24px 0; border-top: 1px solid var(--border-2); }
.mkt-seo-sec h3 { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 12px; }

/* Two-column prose sections ("All about …", "Where riders go", "Airports we serve") */
.mkt-seo-findout {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  align-items: start; padding: 24px 0; border-top: 1px solid var(--border-2);
}
.mkt-seo-findout.first { border-top: none; padding-top: 8px; }
.mkt-seo-findout-head { display: flex; align-items: center; gap: 14px; }
.mkt-seo-findout-head h2,
.mkt-seo-findout-head h3 {
  color: var(--ink); font-family: 'Baloo 2', var(--font-sans); font-size: 23px;
  font-weight: 700; letter-spacing: -0.01em; margin: 0; line-height: 1.2;
}
.mkt-seo-findout-head svg { flex: none; }
.mkt-seo-findout-body p { margin: 0 0 11px; color: var(--body-text); font-size: 16px; line-height: 1.7; max-width: 840px; }
.mkt-seo-findout-body p:last-child { margin-bottom: 0; }
.mkt-seo-findout-body b { color: var(--ink); font-weight: 700; }
.mkt-seo-findout-body a { color: #C7550F; font-weight: 700; }
.mkt-seo-findout-body a:hover { color: var(--orange); }

/* Limodia Verified trust panel */
.mkt-verified-sec { padding: 32px 0; border-top: 1px solid var(--border-2); }
.mkt-verified-sec h2 { color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 22px; }
.mkt-verified-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.mkt-verified-item { display: flex; flex-direction: column; gap: 8px; }
.mkt-verified-icon { width: 26px; height: 26px; color: var(--ink); }
.mkt-verified-item h3 { color: var(--ink); font-size: 16px; font-weight: 700; margin: 0; }
.mkt-verified-item p { color: var(--body-text); font-size: 14px; line-height: 1.6; margin: 0; }

/* Popular routes & fares — transposed (columns = destinations), fully bordered */
.mkt-seo-routes-block { padding: 0 0 34px; }
.mkt-seo-routes-block > h3 {
  color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: -0.01em;
  margin: 0 0 34px; text-align: center;
}
.mkt-seo-routes { width: 100%; border-collapse: collapse; max-width: 100%; }
.mkt-seo-routes th, .mkt-seo-routes td {
  border: 1px solid #EBEBEB; padding: 22px 16px; text-align: center;
}
.mkt-seo-routes th { color: var(--ink); font-weight: 800; font-size: 17px; }
.mkt-seo-routes td { color: var(--ink); font-weight: 400; font-size: 16px; }
.mkt-seo-routes td.time { color: var(--muted); }
.mkt-seo-routes .rowlabel {
  text-align: left; padding: 22px 20px; color: var(--muted);
  font-weight: 400; font-size: 15px; white-space: nowrap;
}

.mkt-seo-faq { max-width: 840px; }
.mkt-seo-faq details { border-bottom: 1px solid var(--row-divider); }
.mkt-seo-faq details:first-child { border-top: 1px solid var(--row-divider); }
.mkt-seo-faq summary { list-style: none; cursor: pointer; padding: 14px 0; color: var(--ink); font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.mkt-seo-faq summary::-webkit-details-marker { display: none; }
.mkt-seo-faq summary::after { content: "+"; color: var(--muted); font-weight: 700; font-size: 18px; line-height: 1; }
.mkt-seo-faq details[open] summary::after { content: "\2013"; }
.mkt-seo-faq details > p { margin: 0 0 15px; color: var(--body-text); line-height: 1.6; max-width: 780px; }

.mkt-seo-foot { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 20px 0 0; max-width: 840px; }

/* Nearby areas — image-card grid */
.mkt-seo-nearby-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.mkt-seo-nearby-head h3 { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.mkt-seo-nearby-all { font-size: 14.5px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.mkt-seo-nearby-sub { margin: 6px 0 18px; color: var(--body-text); font-size: 15px; line-height: 1.6; }
.mkt-seo-nearby-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mkt-seo-nearby-card {
  position: relative; display: block; border-radius: 18px; overflow: hidden;
  aspect-ratio: 4 / 3; min-height: 240px; background: var(--img-placeholder);
}
.mkt-seo-nearby-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mkt-seo-nearby-card .grad {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 17, 15, 0) 42%, rgba(20, 17, 15, 0.78) 100%);
}
.mkt-seo-nearby-label { position: absolute; left: 20px; right: 20px; bottom: 18px; pointer-events: none; }
.mkt-seo-nearby-label .city {
  display: block; font-family: 'Baloo 2', var(--font-sans); font-weight: 700;
  font-size: 22px; color: #fff; line-height: 1.15;
}
.mkt-seo-nearby-label .meta { display: block; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.88); margin-top: 4px; }

@media (max-width: 900px) {
  .mkt-seo-routes { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ===== Main grid ===== */
.mkt-main-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 44px;
  align-items: start; margin-top: 34px;
}
.mkt-main-grid > main { min-width: 0; }

/* =========================================================================
   City directory / search results page (/car-service/us/{state}/{city})
   ========================================================================= */

/* ===== Search hero ===== */
.mkt-search-hero {
  margin-top: 18px; border-radius: 26px; padding: 22px 24px;
  background: transparent;
}
.mkt-search-bar {
  background: #fff; border-radius: 20px; padding: 8px;
  display: grid; grid-template-columns: 1.3fr 1.3fr 1fr auto; gap: 4px;
  box-shadow: 0 10px 30px rgba(40, 25, 5, 0.10); align-items: stretch;
}
.mkt-search-field { padding: 10px 15px; border-radius: 14px; display: block; cursor: text; }
.mkt-search-field + .mkt-search-field { border-left: 1px solid #F0F0E6; }
.mkt-search-field > span:not(.mkt-search-place-field) {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.6px;
  color: var(--muted); text-transform: uppercase;
}
.mkt-search-field input, .mkt-search-field select {
  border: none; outline: none; font-family: inherit; font-weight: 700; font-size: 15px;
  color: var(--ink); width: 100%; background: none; padding: 3px 0 0;
}
.mkt-search-place-field { position: relative; display: block; }
.mkt-search-place-field .mkt-place-results { z-index: 60; }
.mkt-search-submit {
  background: #1668e3; color: #fff; border: none; border-radius: 999px;
  font-family: inherit; font-weight: 800; font-size: 15px; padding: 0 24px; cursor: pointer;
  display: flex; align-items: center; gap: 9px; justify-content: center;
  box-shadow: 0 6px 16px rgba(22, 104, 227, 0.32);
}
.mkt-search-submit:hover { background: #1257bd; }
/* Mobile collapsed-search pill (same pattern as the home page): hidden on desktop, shown ≤760px
   where the bar starts collapsed and expands on tap. */
.mkt-search-trigger { display: none; }
@media (max-width: 760px) {
  .mkt-search-trigger {
    display: flex; width: 100%; align-items: center; gap: 12px;
    background: #fff; border: 1px solid #e2e2d4; border-radius: 999px;
    padding: 15px 20px; cursor: pointer; font: inherit; text-align: left;
    color: #9a9a92; font-size: 15px; font-weight: 600;
    box-shadow: 0 10px 30px rgba(40, 25, 5, 0.10);
  }
  .mkt-search-bar[data-open="false"] { display: none; }
}
.mkt-category-intro { max-width: 900px; padding: 28px 4px 4px; }
.mkt-category-intro h1 { margin: 0 0 10px; font-size: 28px; letter-spacing: -0.03em; }
.mkt-category-intro p { margin: 0 0 10px; color: var(--muted-2); line-height: 1.65; }
.mkt-results-count { margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 700; }

/* ===== Results layout ===== */
.mkt-results-layout { display: grid; grid-template-columns: 288px 1fr; gap: 28px; margin-top: 26px; align-items: start; }

/* Filter sidebar */
.mkt-filter-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 8px; }

/* "Check prices for these dates" quick-date card, above the filters */
.mkt-datecheck { background: #fff; border-radius: 18px; padding: 20px 0; margin-bottom: 10px; }
.mkt-datecheck h3 {
  font-family: 'Baloo 2', var(--font-sans); font-weight: 700; font-size: 20px;
  color: var(--ink); margin: 0 0 14px;
}
.mkt-datecheck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mkt-datecheck-btn {
  background: #f4f4f4; border: 1px solid var(--ink); border-radius: 14px;
  padding: 16px 10px; cursor: pointer; font-family: inherit; text-align: center;
}
.mkt-datecheck-btn .label { font-size: 14.5px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.mkt-datecheck-btn .range { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 6px; }
.mkt-datecheck-btn:hover { border-color: var(--orange); }
.mkt-filter-head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 6px; }
.mkt-filter-head h2 { font-family: 'Baloo 2', var(--font-sans); font-weight: 700; font-size: 19px; margin: 0; }
/* "Filters" heading doubles as the mobile collapse toggle; inert on desktop. */
.mkt-filter-toggle {
  display: flex; align-items: center; gap: 8px; cursor: default;
  background: none; border: none; padding: 0; color: inherit; font-family: inherit;
}
.mkt-filter-title { font-family: 'Baloo 2', var(--font-sans); font-weight: 700; font-size: 19px; }
.mkt-filter-chevron { display: none; flex: none; transition: transform .2s ease; }
.mkt-filter-groups { display: flex; flex-direction: column; gap: 8px; }
.mkt-filter-clear { background: none; border: none; font-family: inherit; font-weight: 700; font-size: 13px; color: var(--orange); cursor: pointer; padding: 4px; }
.mkt-filter-group { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px; }
.mkt-filter-group .title { font-weight: 800; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; }
.mkt-filter-item { display: flex; align-items: center; gap: 11px; padding: 6px 0; cursor: pointer; }
.mkt-filter-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.mkt-filter-item .box {
  flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #D7D7CB; background: #fff;
  display: flex; align-items: center; justify-content: center; transition: all 0.12s;
}
.mkt-filter-item .box.radio { border-radius: 50%; }
.mkt-filter-item .box::after {
  content: '✓'; color: #fff; font-size: 12px; font-weight: 800; opacity: 0; line-height: 1;
}
.mkt-filter-item .box.radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.mkt-filter-item input:checked + .box { background: var(--ink); border-color: var(--ink); }
.mkt-filter-item input:checked + .box::after { opacity: 1; }
.mkt-filter-item input:focus-visible + .box { outline: 2px solid var(--orange); outline-offset: 2px; }
.mkt-filter-item .label { font-size: 14px; font-weight: 500; color: var(--ink-soft); flex: 1; }
.mkt-filter-item .count { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* Results column */
.mkt-results { min-width: 0; }
.mkt-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.mkt-results-title { font-family: 'Baloo 2', var(--font-sans); font-weight: 700; font-size: 23px; margin: 0; letter-spacing: 0; line-height: 1.1; }
.mkt-results-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.mkt-route-confirmation {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 0 0 18px; padding: 11px 16px;
  background: #EAF7E1; border: 1px solid #CFEAB7; border-radius: 14px;
  color: #173C05; font-size: 14px; font-weight: 700; line-height: 1.45;
}
.mkt-route-confirmation svg { flex: 0 0 15px; margin-top: 2px; color: #173C05; }
.mkt-route-confirmation span { min-width: 0; overflow-wrap: anywhere; }

/* Operator result cards */
.mkt-op-list { display: flex; flex-direction: column; gap: 18px; }
.mkt-op-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: 272px 1fr; box-shadow: 0 4px 18px rgba(30, 25, 10, 0.04);
}
.mkt-op-card[hidden] { display: none; }
.mkt-op-cardlink { display: none; } /* whole-card tap target; enabled on mobile only (max-width: 960px) */
.mkt-op-photo { position: relative; display: block; min-height: 238px; background: var(--img-placeholder); }
.mkt-op-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mkt-op-photo .mkt-photo-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-weight: 700; font-size: 13px; }
.mkt-op-verified {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: #FFF3EC; color: #C2410C; border: 1px solid #FFD9C2; font-weight: 700; font-size: 12px;
  padding: 5px 11px 5px 8px; border-radius: var(--radius-pill); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.mkt-op-body { padding: 20px 22px; display: flex; flex-direction: column; min-width: 0; }
.mkt-op-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.mkt-op-titles { min-width: 0; }
.mkt-op-name { font-family: 'Baloo 2', var(--font-sans); font-weight: 700; font-size: 20px; margin: 0; line-height: 1.1; }
.mkt-op-name a { color: var(--ink); }
.mkt-op-name a:hover { color: var(--orange); }
.mkt-op-area { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.mkt-op-notverified { display: inline-flex; align-items: center; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted); background: #f4f4f4; padding: 3px 9px; border-radius: var(--radius-pill); }
.mkt-unverified-note { margin: 10px 0 4px; }
.mkt-unverified-note .mkt-unverified-label { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); background: #f4f4f4; padding: 4px 11px; border-radius: var(--radius-pill); }
.mkt-unverified-note .mkt-unverified-explain { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); font-weight: 500; max-width: 46ch; }
.mkt-op-rating { display: flex; align-items: center; gap: 9px; flex: none; }
.mkt-op-rating .score { text-align: right; }
.mkt-op-rating .word { font-weight: 800; font-size: 13.5px; color: var(--ink); }
.mkt-op-rating .reviews { font-size: 12px; color: var(--muted); font-weight: 600; }
.mkt-op-rating .chip { background: #0F4FAF; color: #fff; font-weight: 800; font-size: 15px; padding: 7px 10px; border-radius: 11px; min-width: 44px; text-align: center; }
.mkt-op-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.mkt-op-tags .tag { background: #f4f4f4; color: var(--ink-soft); font-weight: 700; font-size: 12px; padding: 6px 11px; border-radius: var(--radius-pill); }
.mkt-op-fleet { display: flex; align-items: center; gap: 8px; margin-top: 13px; flex-wrap: wrap; }
.mkt-op-fleet .fleet-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.mkt-op-fleet .fleet-chip { border: 1px solid var(--border-input); color: var(--ink-soft); font-weight: 600; font-size: 12.5px; padding: 5px 10px; border-radius: 9px; }
.mkt-op-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 16px; }
.mkt-op-price { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.mkt-op-price strong { font-family: 'Baloo 2', var(--font-sans); color: var(--ink); font-size: 19px; }
.mkt-op-buttons { display: flex; gap: 10px; }
.mkt-btn-secondary { background: #fff; color: var(--ink-soft); border: 1.5px solid var(--border-input); border-radius: 13px; font-weight: 700; font-size: 14px; padding: 11px 18px; }
.mkt-btn-secondary:hover { border-color: var(--orange); color: var(--ink); }
.mkt-btn-primary { background: var(--orange); color: #fff; border-radius: 13px; font-weight: 800; font-size: 14px; padding: 11px 22px; box-shadow: 0 5px 14px rgba(255, 110, 25, 0.28); }
.mkt-btn-primary:hover { background: var(--orange-hover); color: #fff; }

/* Registered-but-unverified operators: a distinct, deliberately plain section below the verified
   list — no photo, no rating/price, external "Visit website" link only. Neutral (never orange) so it
   reads clearly as not a Limodia-verified badge. */
.mkt-unverified { margin-top: 34px; }
.mkt-unverified-head { margin-bottom: 16px; }
.mkt-unverified-head h2 { font-family: 'Baloo 2', var(--font-sans); font-weight: 700; font-size: 20px; margin: 0 0 6px; color: var(--ink); }
.mkt-unverified-note { font-size: 13.5px; color: var(--muted); font-weight: 600; margin: 0; max-width: 70ch; line-height: 1.5; }
.mkt-unverified-list { display: flex; flex-direction: column; gap: 14px; }
.mkt-op-card--unverified { grid-template-columns: 1fr; box-shadow: none; border-style: dashed; }
.mkt-op-unverified { flex: none; align-self: flex-start; display: inline-flex; align-items: center; background: #f1f1f1; color: var(--muted); font-weight: 700; font-size: 12px; padding: 5px 11px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.4px; }
.mkt-op-disclaimer { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 12px 0 0; line-height: 1.45; }

/* ===== State hub (city index) ===== */
.mkt-hub-hero { margin: 26px 0 20px; }
.mkt-hub-intro { margin: 8px 0 6px; font-size: 16px; color: var(--muted-3); font-weight: 500; max-width: 620px; line-height: 1.5; }
.mkt-city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mkt-city-card {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; color: var(--ink);
}
.mkt-city-card:hover { border-color: var(--orange); color: var(--ink); }
.mkt-city-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-bg); display: flex; align-items: center; justify-content: center; }
.mkt-city-body { min-width: 0; flex: 1; }
.mkt-city-name { font-family: 'Baloo 2', var(--font-sans); font-weight: 700; font-size: 17px; margin: 0; line-height: 1.15; }
.mkt-city-count { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.mkt-city-chevron { flex: none; color: var(--muted); }
.mkt-city-card:hover .mkt-city-chevron { color: var(--orange); }

/* Empty state */
.mkt-empty { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 56px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
/* The display:flex above beats the UA [hidden] rule, so the JS-toggled filter-empty
   state would stay visible at the bottom of the list. Restore hiding when hidden. */
.mkt-empty[hidden] { display: none; }
.mkt-empty .icon { width: 84px; height: 84px; border-radius: 50%; background: var(--accent-yellow); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.mkt-empty h3 { font-family: 'Baloo 2', var(--font-sans); font-weight: 700; font-size: 23px; margin: 0 0 10px; }
.mkt-empty p { margin: 0 0 24px; font-size: 15.5px; color: var(--muted-2); max-width: 440px; line-height: 1.5; }
.mkt-filter-empty { padding: 40px; }


/* ===== Responsive ===== */
@media (max-width: 960px) {
  .mkt-shell { padding: 0 18px; }
  .mkt-main-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* Booking now renders inline in the page flow on mobile (the redesigned card is fully usable
     without a sticky bar). The legacy sticky bar + bottom sheet + per-field drawers are retired. */
  .mkt-aside { display: block; margin-bottom: 32px; }
  /* Gallery collapses to a single lead image + horizontal thumb strip. */
  /* Mobile: swipeable photo carousel (every photo, snap-scroll) instead of grid + "Show all". */
  .mkt-gallery {
    display: flex; grid-template-columns: none; grid-template-rows: none; gap: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .mkt-gallery::-webkit-scrollbar { display: none; }
  .mkt-gallery-cell, .mkt-gallery-cell:nth-child(n+6) {
    display: block; flex: 0 0 86%; grid-row: auto; scroll-snap-align: center; aspect-ratio: 4 / 3;
  }
  .mkt-gallery-lead { grid-row: auto; aspect-ratio: 4 / 3; }
  .mkt-gallery.single .mkt-gallery-cell { flex-basis: 100%; aspect-ratio: 16 / 9; }
  .mkt-gallery-all { display: none; }
  .mkt-grid-2, .mkt-review-breakdown-grid,
  .mkt-areas, .mkt-areas-grid, .mkt-verified-grid { grid-template-columns: 1fr; }
  /* Ride types + Amenities & services stay a 2-column grid on mobile for a more
     balanced, readable layout than a single-column list. */
  .mkt-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .mkt-coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-related { grid-template-columns: 1fr 1fr; }
  .mkt-vehicle-img { width: 120px; height: 80px; }
  .mkt-h1 { font-size: 28px; }
  .mkt-section h2 { font-size: 22px; }
  .mkt-tabnav { top: 0; }
  /* Search page */
  .mkt-results-layout { grid-template-columns: 1fr; }
  .mkt-filter-sidebar { position: static; }
  /* Filters collapse behind a tappable "Filters" bar; open on tap. */
  .mkt-filter-head {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 12px 16px;
  }
  .mkt-filter-toggle { cursor: pointer; }
  .mkt-filter-chevron { display: inline-block; }
  #mkt-filters.is-open .mkt-filter-chevron { transform: rotate(180deg); }
  .mkt-filter-groups { display: none; }
  #mkt-filters.is-open .mkt-filter-groups { display: flex; }
  .mkt-filter-group { min-width: 0; }
  .mkt-search-bar { grid-template-columns: 1fr 1fr; }
  .mkt-search-field { border-left: none !important; }
  .mkt-op-card { grid-template-columns: 1fr; }
  /* Whole card becomes tappable → operator detail; buttons + name stay on top. */
  .mkt-op-cardlink { display: block; position: absolute; inset: 0; z-index: 1; }
  .mkt-op-name a, .mkt-op-buttons a { position: relative; z-index: 2; }
  .mkt-op-photo { min-height: 200px; }
  .mkt-city-grid { grid-template-columns: 1fr 1fr; }
  /* Two-column prose collapses; nearby cards go 2-up. */
  .mkt-seo-findout { grid-template-columns: 1fr; gap: 16px; }
  .mkt-seo-nearby-grid { grid-template-columns: repeat(2, 1fr); }

}
@media (max-width: 560px) {
  .mkt-badges { gap: 8px; }
  .mkt-related { grid-template-columns: 1fr; }
  .mkt-seo-nearby-grid { grid-template-columns: 1fr; }
  /* Reviews stay two-up on tablet (the aside is hidden < 960px, leaving room); on phones they
     become a horizontal, snap-scrolling carousel instead of a tall vertical stack. */
  .mkt-review-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .mkt-review-grid::-webkit-scrollbar { display: none; }
  .mkt-review-entry {
    flex: 0 0 85%;
    min-width: 0;
    scroll-snap-align: start;
    padding: 18px;
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
  }
  /* Compact search: pickup, drop-off and date each full-width, then a full-width Search button. */
  .mkt-search-bar { grid-template-columns: 1fr; gap: 6px; }
  /* min-width:0 lets grid cells shrink below their content (long addresses,
     native date/time controls) instead of overflowing and breaking the row. */
  .mkt-search-field { padding: 8px 11px; min-width: 0; }
  .mkt-search-place-field { min-width: 0; }
  .mkt-search-field input, .mkt-search-field select {
    font-size: 14px; min-width: 0; max-width: 100%;
  }
  .mkt-search-submit { grid-column: 1 / -1; padding: 13px 24px; }
  /* Filters: each group stacks full-width and compact (no leftover 220px basis). */
  .mkt-filter-sidebar { gap: 10px; }
  .mkt-filter-group { flex: 1 1 100%; padding: 12px 14px; }
  .mkt-filter-group .title { font-size: 14px; margin-bottom: 4px; }
  .mkt-filter-item { padding: 5px 0; gap: 9px; }
  .mkt-filter-item .label { font-size: 13.5px; }
  /* Results header: smaller title, compact sort that never overflows. */
  .mkt-results-head { gap: 10px; margin-bottom: 14px; }
  .mkt-results-title { font-size: 20px; }
  .mkt-results-sub { font-size: 13px; }
  .mkt-op-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .mkt-op-buttons { justify-content: stretch; }
  .mkt-op-buttons a { flex: 1; text-align: center; }
  .mkt-city-grid { grid-template-columns: 1fr; }
}

/* --- Full-width opaque header bar. Scrolls away (not sticky); the section
       tabnav is the page's only sticky layer. Content never shows through. --- */
.mkt-navbar {
  position: static; z-index: 40;
  background: #fff; border-bottom: 1px solid #EDE8E1;
  font-family: var(--font-sans);
}
.mkt-navbar-inner {
  max-width: 1160px; height: 66px; margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mkt-navbar-logo { display: flex; align-items: center; flex: none; }
.mkt-navbar-logo img { height: 24px; width: auto; display: block; }
.mkt-navbar-right { display: flex; align-items: center; gap: 12px; }
.mkt-navbar-link {
  font-weight: 600; font-size: 14px; color: #444440;
  padding: 10px 16px; border-radius: 999px; transition: color 0.15s ease;
}
.mkt-navbar-link:hover { color: #FF6E19; }
.mkt-navbar-signin {
  display: inline-flex; align-items: center; color: #444440;
  font-weight: 600; font-size: 14px; padding: 10px 16px; transition: color 0.15s ease;
}
.mkt-navbar-signin:hover { color: #FF6E19; }
.mkt-navbar-account-loading {
  width: 72px; height: 36px; border-radius: 999px; background: #F0F0E8;
}
.mkt-navbar-account { position: relative; }
.mkt-navbar-account[hidden],
.mkt-navbar-account-loading[hidden],
.mkt-navbar-signin[hidden],
.mkt-navbar-account-menu[hidden] { display: none; }
.mkt-navbar-account-trigger {
  display: flex; align-items: center; gap: 9px; padding: 4px 8px 4px 4px;
  border: 1px solid #ECECDF; border-radius: 999px; background: #fff;
  cursor: pointer; font: inherit;
}
.mkt-navbar-account-trigger:hover { border-color: #D6D6CA; background: #FAFAF2; }
.mkt-navbar-account-avatar {
  width: 34px; height: 34px; border-radius: 999px; overflow: hidden;
  background: #111; color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 12px;
  flex: none; letter-spacing: 0.5px;
}
.mkt-navbar-account-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkt-navbar-account-name {
  color: #111; font-size: 14px; font-weight: 700; padding-right: 2px;
}
.mkt-navbar-account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 190px; padding: 6px; background: #fff;
  border: 1px solid #ECECDF; border-radius: 14px;
  box-shadow: 0 12px 32px rgba(30, 30, 5, 0.14);
}
.mkt-navbar-account-menu a,
.mkt-navbar-account-menu button {
  width: 100%; display: block; padding: 10px 12px; border: 0;
  border-radius: 9px; background: transparent; color: #111;
  text-align: left; font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; box-sizing: border-box;
}
.mkt-navbar-account-menu a:hover { background: #F6F6EF; color: #111; }
.mkt-navbar-account-menu button { color: #B42318; }
.mkt-navbar-account-menu button:hover { background: #FFF1EF; }
.mkt-navbar-account-divider { height: 1px; background: #ECECDF; margin: 5px 6px; }

/* Floating pill navbar — matches the React homepage header exactly. */
.mkt-navbar-home {
  position: sticky; top: 12px; z-index: 50;
  width: min(1140px, 100% - 48px);
  margin: 12px auto 0;
  padding: 12px 14px 12px 28px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #ECECDF;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(30, 30, 5, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mkt-navbar-home .mkt-navbar-inner {
  max-width: none; height: auto;
  margin: 0; padding: 0;
}

/* Operator detail keeps the marketplace navbar visible while the page scrolls. */
.mkt-operator-detail-page { padding-top: 78px; }
.mkt-navbar-fixed {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 80;
  margin: 0;
  transform: translateX(-50%);
}
.mkt-operator-detail-page .mkt-tabnav { top: 90px; }

@media (max-width: 760px) {
  .mkt-navbar-link { display: none; }
  /* Keep the operator "List your service" link visible on mobile; tighten it
     so it fits alongside the sign-in/account control. */
  .mkt-navbar-link.mkt-navbar-operators { display: inline-flex; padding: 8px 12px; font-size: 13px; }
  .mkt-navbar-account-name { display: none; }
}

/* Per-card "for this trip" qualifier next to the exact route price. */
.mkt-price-trip { color: var(--muted-3); font-weight: 700; font-size: 12px; }

/* ===== Standalone quote-request page (/quote/{merchantId}) ===== */
.mkt-quote-page { width: 100%; max-width: 720px; margin: 0 auto; padding: 96px 28px 64px; min-width: 0; }
.mkt-quote-back {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px;
  font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: none;
}
.mkt-quote-back:hover { color: var(--ink); }
.mkt-quote-back svg { flex: none; }
.mkt-quote-title { margin: 0 0 22px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.mkt-quote-op { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.mkt-quote-op-photo { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--img-placeholder); }
.mkt-quote-op-photo img { width: 100%; height: 100%; object-fit: cover; }
.mkt-quote-op-photo-ph { display: block; width: 100%; height: 100%; }
.mkt-quote-op-info { min-width: 0; }
.mkt-quote-op-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.mkt-quote-op-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.mkt-quote-op-trip { margin-top: 7px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.mkt-quote-reply {
  margin: 0 0 28px; background: #F2F7F8; border-radius: 8px; padding: 16px 18px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
}
.mkt-quote-reply strong { font-weight: 800; }
.mkt-quote-fields { display: block; }
.mkt-quote-h2 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.mkt-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.mkt-quote-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mkt-quote-field[hidden] { display: none; }
.mkt-quote-field-label { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.mkt-quote-select, .mkt-quote-input, .mkt-quote-textarea {
  width: 100%; min-width: 0; border: 1px solid var(--border-input); border-radius: 8px;
  padding: 0 16px; height: 58px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  background: #fff; outline: none;
}
.mkt-quote-textarea { height: auto; padding: 14px 16px; resize: vertical; }
.mkt-quote-select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2314110F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.mkt-quote-select:focus, .mkt-quote-input:focus, .mkt-quote-textarea:focus { border-color: var(--ink); }
.mkt-quote-consent { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 26px; }
.mkt-quote-check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink-soft); line-height: 1.45; cursor: pointer; }
.mkt-quote-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #DA3743; cursor: pointer; }
.mkt-quote-error { margin: 0 0 12px; color: #c0392b; font-size: 14px; font-weight: 600; }
.mkt-quote-error[hidden], .mkt-quote-confirm[hidden] { display: none; }
.mkt-quote-confirm { margin: 0 0 12px; color: #1a7f37; font-size: 15px; font-weight: 700; line-height: 1.4; }
.mkt-quote-submit {
  width: 100%; border: none; background: #DA3743; color: #fff; border-radius: 8px;
  font: inherit; font-size: 16px; font-weight: 800; padding: 18px 20px; cursor: pointer;
}
.mkt-quote-submit:hover { background: #C22B37; }
.mkt-quote-submit:disabled { opacity: 0.6; cursor: default; }
.mkt-quote-terms { margin: 20px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.mkt-quote-footer { border-top: 1px solid var(--border); background: #fff; margin-top: 48px; }
.mkt-quote-footer-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mkt-quote-footer-inner nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }
.mkt-quote-footer-inner nav a { color: var(--muted); text-decoration: none; }
.mkt-quote-footer-inner nav a:hover { color: var(--ink); }
.mkt-quote-footer-inner span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .mkt-quote-grid { grid-template-columns: 1fr; }
  .mkt-quote-page { padding: 88px 18px 56px; }
}
