/* ============ GetTransport Marketplace — tokens + base ============ */
:root {
  --ocean: #0A2540;
  --ocean-2: #14315A;
  --ink: #0A2540;
  --electric: #1E6BFF;
  --electric-2: #4A8AFF;
  --teal: #00C2C7;
  --teal-soft: #E6FAFB;
  --sand: #F4F1EA;
  --cream: #FBF9F4;
  --muted: #6B7A8F;
  --muted-2: #9AA5B3;
  --line: rgba(10, 37, 64, 0.10);
  --line-strong: rgba(10, 37, 64, 0.18);
  --success: #0D9862;
  --warn: #E88C2C;
  --danger: #D14343;
  --star: #FFB443;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 6px 20px -8px rgba(10, 37, 64, 0.15), 0 2px 6px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(10, 37, 64, 0.24), 0 8px 24px -12px rgba(10, 37, 64, 0.12);

  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-display: 'Archivo', 'Inter', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ Browser Frame (URL bar demo) ============ */
.browser {
  min-height: 100vh;
  background: var(--sand);
  padding: 16px 16px 60px;
}
.browser-chrome {
  max-width: 1440px;
  margin: 0 auto;
  background: white;
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #FBFBFA;
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--line-strong);
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }
.browser-nav {
  display: flex;
  gap: 4px;
  color: var(--muted-2);
}
.browser-nav button {
  width: 26px; height: 26px;
  border: none; background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.browser-nav button:hover { background: var(--sand); color: var(--ink); }
.browser-url {
  flex: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.browser-url .lock { color: var(--success); flex-shrink: 0; }
.browser-url .path { color: var(--ink); }
.browser-url .lang-seg { color: var(--electric); font-weight: 500; }
.browser-url .params { color: var(--muted-2); }
.browser-frame-inner {
  max-width: 1440px;
  margin: 0 auto;
  background: white;
  border-radius: 0 0 16px 16px;
  border: 1px solid var(--line);
  border-top: none;
  overflow: hidden;
  min-height: calc(100vh - 100px);
}

/* ============ Header ============ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 40px;
  border-bottom: 1px solid var(--line);
  background: white;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.brand-mark {
  width: 40px;
  height: 32px;
  flex-shrink: 0;
}
.brand-wm {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ocean);
  line-height: 1;
}
.brand-wm em { font-style: italic; color: var(--electric); }

.header-search {
  flex: 1;
  max-width: 640px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  background: white;
}
.header-search:hover { box-shadow: var(--shadow-md); }
.header-search-seg {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border-right: 1px solid var(--line);
}
.header-search-seg span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.header-search-seg:last-of-type { border-right: none; }
.header-search-btn {
  margin-left: auto;
  background: var(--electric);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .link {
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
}
.header-actions .link:hover { background: var(--sand); }
.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  background: white;
}
.header-pill:hover { box-shadow: var(--shadow-md); }
.header-pill-cta {
  background: var(--electric);
  color: white;
  border-color: var(--electric);
  padding: 8px 16px;
  font-weight: 600;
}
.header-pill-cta:hover {
  background: #1859D5;
  border-color: #1859D5;
  box-shadow: 0 6px 16px -6px rgba(30,107,255,0.5);
}
.header-pill-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ocean);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

/* Language / Currency dropdowns */
.dd { position: relative; }
.dd-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 180px;
  z-index: 50;
}
.dd-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  text-align: left;
}
.dd-menu button:hover { background: var(--sand); }
.dd-menu button.active { background: var(--teal-soft); color: var(--ocean); font-weight: 600; }
.dd-menu .flag { font-size: 16px; width: 20px; text-align: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--electric); color: white; }
.btn-primary:hover:not(:disabled) { background: #1859D5; }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-dark { background: var(--ocean); color: white; }
.btn-dark:hover { background: var(--ocean-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--sand); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ============ Bike Card ============ */
.bike-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  height: 100%;
}
.bike-card:hover .bike-photo { transform: scale(1.02); }
.bike-photo-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
}
.bike-photo {
  position: absolute;
  inset: 0;
  transition: transform 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bike-photo-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  z-index: 2;
}
.bike-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.bike-badge {
  background: white;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bike-badge.verified { color: var(--electric); }
.bike-badge.new {
  background: var(--ocean);
  color: white;
}
.bike-badge.choice {
  background: var(--electric);
  color: white;
  padding: 5px 12px;
}
.bike-badge.dot-top,
.bike-badge.dot-eco,
.bike-badge.dot-pop {
  padding-left: 8px;
}
.bike-badge.dot-top::before,
.bike-badge.dot-eco::before,
.bike-badge.dot-pop::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.bike-badge.dot-top::before { background: #E85D5D; }
.bike-badge.dot-eco::before { background: #2FA860; }
.bike-badge.dot-pop::before { background: #E8A344; }
.bike-fav {
  background: rgba(10,37,64,0.35);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.bike-fav:hover { background: rgba(10,37,64,0.55); }
.bike-fav.active { color: var(--electric); background: white; }

.bike-info { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; flex: 1; }
.bike-info-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.bike-info-title { font-weight: 600; color: var(--ink); }
.bike-info-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.bike-info-rating .star { color: var(--star); }
.bike-info-meta { color: var(--muted); font-size: 13px; }
.bike-info-provider { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.bike-info-price { margin-top: auto; padding-top: 6px; font-size: 14px; }
.bike-info-price .from-lbl {
  color: var(--muted);
  font-weight: 500;
  font-size: 12.5px;
  margin-right: 3px;
}
.bike-info-price strong {
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
}
.bike-info-price .per { color: var(--muted); font-weight: 400; }

/* ============ Photo placeholders ============ */
.bmock {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bmock::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.bmock::after {
  content: '';
  position: absolute;
  right: -15%;
  bottom: -20%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
  pointer-events: none;
}
.bmock-icon {
  position: relative;
  color: rgba(255,255,255,0.9);
  z-index: 1;
}

/* palette for bike mocks — subtle gradients per type */
.bmock-scooter { background: linear-gradient(135deg, #143563 0%, #1E6BFF 100%); }
.bmock-maxi    { background: linear-gradient(135deg, #0A2540 0%, #14828F 100%); }
.bmock-moto    { background: linear-gradient(135deg, #1E1B3A 0%, #4C4470 100%); }
.bmock-electric{ background: linear-gradient(135deg, #003D4D 0%, #00C2C7 100%); }
.bmock-vintage { background: linear-gradient(135deg, #6E4B2A 0%, #C48A5A 100%); }

/* ============ Unified no-photo placeholder ============ */
.bike-noimg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 45%, #FFFFFF 0%, transparent 65%),
    var(--sand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12% 8%;
  overflow: hidden;
}
.bike-noimg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,37,64,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,64,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(80% 60% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}
.bike-noimg-mark {
  position: relative;
  z-index: 1;
  opacity: 0.85;
  margin-bottom: 6%;
  filter: drop-shadow(0 4px 12px rgba(10,37,64,0.08));
}
.bike-noimg-model {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ocean);
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bike-noimg-tag {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Compact variant (small thumbnails: <120px wide) */
.bike-noimg-compact .bike-noimg-mark { transform: scale(0.55); margin-bottom: 0; }
.bike-noimg-compact .bike-noimg-model,
.bike-noimg-compact .bike-noimg-tag { display: none; }

/* Car placeholder — slightly different palette */
.bike-noimg.is-car {
  background: linear-gradient(135deg, #F7F7F5 0%, #E8F0F5 100%);
}
.bike-noimg.is-car .bike-noimg-grid {
  background-image:
    linear-gradient(rgba(30,107,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,107,255,0.06) 1px, transparent 1px);
}
.bike-noimg-compact.is-car .bike-noimg-mark { transform: scale(0.4); }

/* ============ Category switcher (homepage vehicle selector) ============ */
.veh-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.veh-switch-card {
  background: white;
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
}
.veh-switch-card:hover {
  border-color: var(--electric);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30,107,255,0.10);
}
.veh-switch-card.active {
  border-color: var(--ocean);
  background: linear-gradient(135deg, var(--ocean), var(--ocean-2));
  color: white;
  box-shadow: 0 12px 30px rgba(10,37,64,0.25);
}
.veh-switch-card.active .veh-illus { color: rgba(255,255,255,0.9); }
.veh-switch-card.active .veh-p { color: rgba(255,255,255,0.75); }
.veh-switch-card.active .veh-arrow { background: rgba(255,255,255,0.2); color: white; }

.veh-illus {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(30, 107, 255, 0.10);
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.veh-switch-card.active .veh-illus {
  background: rgba(255,255,255,0.18);
  color: white;
}
.veh-txt { flex: 1; min-width: 0; }
.veh-h {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 4px;
}
.veh-p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
.veh-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* Category pill (in filters bar, provider fleet tabs) */
.cat-pills {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--sand);
  border-radius: 999px;
}
.cat-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.cat-pill:hover { color: var(--ink); }
.cat-pill.on {
  background: white;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(10,37,64,0.08);
}

/* Car-specific spec chips in cards */
.car-specs {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.car-specs .spec {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ============ Blog / Articles ============ */
.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 0 24px;
}
.blog-head .left h2 { margin: 0 0 6px; }
.blog-head .left .sub { margin: 0; }
.blog-head .right a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--electric);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
}
.blog-head .right a:hover { text-decoration: underline; }

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card.featured {
  grid-row: span 2;
}
.blog-card-photo {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card.featured .blog-card-photo {
  aspect-ratio: auto;
  flex: 1;
  min-height: 320px;
}
.blog-card-photo-inner {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-photo-inner { transform: scale(1.04); }
.blog-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,37,64,0.35) 100%);
}
.blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ocean);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
/* Author-picked badge colors */
.blog-card-tag.blue   { color: var(--electric); }
.blog-card-tag.red    { color: var(--danger); }
.blog-card-tag.green  { color: var(--success); }
.blog-card-tag.orange { color: var(--warn); }
.blog-card-tag.navy   { color: var(--ocean); }
.blog-card-tag.teal   { color: var(--teal); }

/* Legacy — keep old tag classes for backwards compat */
.blog-card-tag.rules { color: var(--danger); }
.blog-card-tag.news { color: var(--electric); }
.blog-card-tag.route { color: var(--success); }
.blog-card-tag.safety { color: var(--warn); }
.blog-card-tag.guide { color: var(--ocean); }
.blog-card-tag.story { color: var(--teal); }

.blog-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.blog-card-meta .dot { color: var(--muted-2); }
.blog-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 4px 0 6px;
  color: var(--ocean);
  text-wrap: pretty;
}
.blog-card.featured h3 { font-size: 26px; line-height: 1.15; }
.blog-card .excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card.featured .excerpt { -webkit-line-clamp: 3; font-size: 14.5px; }

/* Cover backgrounds — gradient placeholders */
.cover-rules   { background: linear-gradient(135deg, #4A1D1D 0%, #C24242 60%, #FFB443 100%); }
.cover-routes  { background-image: url('/static/assets/beaches/karon.jpg'); }
.cover-guide   { background: linear-gradient(135deg, #0A2540 0%, #1E6BFF 100%); }
.cover-news    { background: linear-gradient(135deg, #0A2540 0%, #00C2C7 100%); }
.cover-safety  { background: linear-gradient(135deg, #6B2A0F 0%, #E88C2C 100%); }
.cover-season  { background-image: url('/static/assets/beaches/kata.jpg'); }

/* Cover overlay labels for gradient covers (light identifier) */
.cover-labeled::before {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
  z-index: 1;
}

/* ============ Home FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ocean);
  text-wrap: pretty;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A2540' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s, background 0.15s;
}
.faq-item summary:hover::after { background-color: var(--line); }
.faq-item[open] summary {
  color: var(--electric);
}
.faq-item[open] summary::after {
  background-color: var(--electric);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}
.faq-item .a {
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  text-wrap: pretty;
}
.faq-item .cat {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.faq-cta {
  margin-top: 32px;
  padding: 22px 28px;
  background: var(--cream);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-cta .txt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ocean);
}
.faq-cta .btn { flex-shrink: 0; }

/* ============ Article page ============ */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 40px 60px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 16px;
}
.article-back:hover { color: var(--ink); }
.article-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.article-meta .tag-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ocean);
  font-size: 11.5px;
  font-weight: 600;
}
.article h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--ocean);
  text-wrap: pretty;
}
.article-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 32px;
  text-wrap: pretty;
}
.article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
  background-position: center;
  background-size: cover;
}
.article-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.article-body p { margin: 0 0 18px; }
.article-body h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.article-body blockquote {
  border-left: 3px solid var(--electric);
  padding-left: 20px;
  margin: 24px 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ocean);
  font-style: italic;
}
.article-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.article-body ul li { margin-bottom: 8px; }
.article-share {
  display: flex;
  gap: 10px;
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.article-share .lbl {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  margin-right: 6px;
}
.article-share button {
  background: var(--sand);
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
.article-share button:hover { background: var(--line-strong); color: var(--ink); }

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0 0;
  margin-top: 24px;
}
.article-author .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.article-author .name { font-weight: 600; font-size: 14px; }
.article-author .role { color: var(--muted); font-size: 12.5px; }

.article-related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}
.article-related h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

/* ============ SEO badge / dev panel ============ */
.seo-strip {
  border-top: 1px dashed var(--line-strong);
  background: #FAFAF6;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
}
.seo-strip .tag {
  background: var(--ocean);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}
.seo-strip .title { color: var(--ink); }
.seo-strip .description { color: var(--muted); max-width: 480px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.seo-strip .hreflang { color: var(--electric); }
.seo-strip .jsonld { color: var(--teal); cursor: pointer; }
.seo-strip .jsonld:hover { text-decoration: underline; }

/* ============ Breadcrumbs ============ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 14px 40px 0;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs .sep { color: var(--muted-2); }
.breadcrumbs .current { color: var(--ink); font-weight: 500; }

/* ============ Section titles ============ */
.section {
  padding: 48px 40px;
}
.section h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.section .sub {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 24px;
}

/* ============ Filters bar ============ */
.filters {
  position: sticky;
  top: 78px;
  background: white;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  padding: 14px 40px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: center;
}
.filters::-webkit-scrollbar { display: none; }
.filter-chip {
  position: relative;
  border: 1px solid var(--line-strong);
  background: white;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-family: var(--f-body);
}
.filter-chip:hover { background: var(--sand); }
.filter-chip.filled {
  background: var(--ocean);
  color: white;
  border-color: var(--ocean);
}
.filter-chip.filled svg { color: white; }
.filter-chip .chip-value {
  margin-left: 2px;
  font-weight: 600;
}
.filter-chip .chip-x {
  margin-left: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.filter-chip .chip-x:hover { background: rgba(255,255,255,0.35); }

.filter-reset-all {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--f-body);
  white-space: nowrap;
}
.filter-reset-all:hover { color: var(--ink); background: var(--sand); }

/* Popover for a chip */
.filter-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  z-index: 200;
  min-width: 260px;
}
.filter-pop-h {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.filter-pop-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
  margin: -4px;
  padding: 4px;
}
.filter-pop-list::-webkit-scrollbar { width: 6px; }
.filter-pop-list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.filter-pop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 13.5px;
  color: var(--ink);
  text-align: left;
}
.filter-pop-item:hover { background: var(--sand); }
.filter-pop-item.sel {
  background: var(--teal-soft);
  color: var(--ocean);
  font-weight: 600;
}
.filter-pop-item .count {
  font-size: 11.5px;
  color: var(--muted);
  background: var(--sand);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}
.filter-pop-item.sel .count { background: white; color: var(--ocean); }

.filter-pop-range {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.filter-pop-range > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.filter-pop-range label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-pop-range input {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
  width: 100%;
}
.filter-pop-range input:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 2px rgba(30,107,255,0.15);
}
.filter-pop-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 6px;
}

.filter-pop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.filter-pop-foot .reset {
  background: transparent;
  border: none;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--f-body);
}
.filter-pop-foot .reset:hover { color: var(--ink); text-decoration: underline; }
.filter-pop-foot .apply {
  background: var(--ocean);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--f-body);
}

/* Catalog: search bar wrapper */
.catalog-searchbar {
  padding: 24px 40px 0;
  background: white;
  position: relative;
  z-index: 20;
}

/* Catalog: full-width layout (no map) */
.catalog {
  padding: 24px 40px 60px;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.catalog-meta h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0;
}
.catalog-meta .count { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.catalog-lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
  max-width: 620px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}

/* Empty state */
.catalog-empty {
  padding: 80px 20px;
  text-align: center;
}
.catalog-empty h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ocean);
}
.catalog-empty p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 20px;
}

/* ============ Split (list + map) ============ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 200px);
}
.split-list {
  padding: 24px 40px 60px;
  overflow-y: auto;
}
.split-list-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.split-list-meta h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
}
.split-list-meta .count { color: var(--muted); font-size: 13px; }
.split-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split-map {
  position: sticky;
  top: 140px;
  height: calc(100vh - 140px);
  background: var(--sand);
  overflow: hidden;
  border-left: 1px solid var(--line);
}
.map-canvas {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 60% 40%, #DDE9E7 0%, #CFDDD9 40%, #B8CCC5 100%);
  overflow: hidden;
}
.map-water {
  position: absolute;
  inset: 0;
  background: #B4D4E1;
}
.map-land {
  position: absolute;
  top: 8%;
  left: 22%;
  width: 56%;
  height: 84%;
  background: #E8E5D6;
  border-radius: 45% 55% 40% 60% / 60% 40% 50% 50%;
  box-shadow: 0 0 0 1px rgba(10,37,64,0.05);
}
.map-land::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60%;
  height: 40%;
  background: repeating-linear-gradient(45deg, rgba(10,37,64,0.04) 0 2px, transparent 2px 8px);
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 2;
}
.map-pin-body {
  background: white;
  border: 1px solid var(--line-strong);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform 0.15s;
  white-space: nowrap;
}
.map-pin:hover .map-pin-body { transform: scale(1.08); }
.map-pin.active .map-pin-body { background: var(--ocean); color: white; border-color: var(--ocean); }
.map-attribution {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(10,37,64,0.4);
  letter-spacing: 0.1em;
}
.map-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}
.map-btn {
  width: 40px; height: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.map-toggle {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ocean);
  color: white;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

/* ============ Home Hero ============ */
.hero {
  padding: 48px 40px 32px;
  background: white;
  position: relative;
  overflow: visible;
}
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--ocean);
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ============ City selector (trigger + modal) ============ */
.city-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
  border-radius: 999px;
  transition: background 0.15s;
}
.city-trigger:hover {
  background: rgba(30, 107, 255, 0.06);
}
.city-trigger .pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--electric);
}
.city-trigger .city-label {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.city-trigger .city-comma { margin-right: 6px; }

.city-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
  animation: fade-in 0.15s ease-out;
}
.city-modal {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.22s ease-out;
  overflow: hidden;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}
.city-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px 14px;
}
.city-modal-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ocean);
}
.city-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.city-modal-close:hover { background: var(--line-strong); }

.city-search {
  position: relative;
  padding: 0 22px 12px;
}
.city-search input {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 14.5px;
  font-family: var(--f-body);
  background: white;
  color: var(--ink);
}
.city-search input:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.14);
}
.city-search .glyph {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}
.city-search-clear {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.city-search-clear:hover { background: var(--line-strong); color: var(--ink); }

.city-section-h {
  padding: 4px 22px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.city-group + .city-group { margin-top: 8px; }
.city-group-h {
  padding: 10px 12px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-list {
  padding: 0 12px 12px;
  overflow-y: auto;
  flex: 1;
}
.city-list::-webkit-scrollbar { width: 6px; }
.city-list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.city-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: background 0.1s;
}
.city-item:hover { background: var(--sand); }
.city-item.selected { background: var(--teal-soft); }

.city-item-pin {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--electric);
  flex-shrink: 0;
}
.city-item.selected .city-item-pin {
  background: var(--electric);
  color: white;
}
.city-item-info { flex: 1; min-width: 0; }
.city-item-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.city-item-country {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 1px;
}
.city-item-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.city-item-count span {
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}
.city-item.selected .city-item-count { color: var(--ocean); }
.city-item-check {
  color: var(--ocean);
  display: inline-flex;
  align-items: center;
}

.city-empty {
  text-align: center;
  padding: 40px 20px;
}
.city-empty-h {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}
.city-empty-p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  color: var(--ocean);
}
.hero h1 em { color: var(--electric); font-style: italic; }
.hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.hero-searchbar {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.6fr 1.4fr auto;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px;
  align-items: stretch;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-searchbar-seg {
  background: white;
  padding: 12px 22px;
  cursor: pointer;
  border-radius: 999px;
  text-align: left;
}
.hero-searchbar-seg:hover { background: var(--sand); }
.hero-searchbar-seg .lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-searchbar-seg .val {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.hero-searchbar-seg .val.set { color: var(--ink); font-weight: 500; }
.hero-searchbar-btn {
  background: var(--electric);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-searchbar-btn:hover { background: #1859D5; }

/* ============ Search Bar (4-segment with popovers) ============ */
.sb-wrap {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}
.sb {
  display: grid;
  grid-template-columns: 1.15fr auto 1.15fr auto 0.85fr auto 0.9fr auto 1fr auto;
  align-items: stretch;
  gap: 0;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.2s;
}
.sb.is-open { box-shadow: 0 30px 70px -20px rgba(10,37,64,0.28), 0 10px 30px -15px rgba(10,37,64,0.16); }
.sb-seg {
  border: none;
  background: transparent;
  padding: 12px 18px;
  cursor: pointer;
  text-align: left;
  border-radius: 999px;
  transition: background 0.15s;
  font-family: var(--f-body);
  color: var(--ink);
  min-width: 0;
}
.sb-seg:hover:not(.active) { background: var(--sand); }
.sb-seg.active {
  background: white;
  box-shadow: 0 6px 16px -6px rgba(10,37,64,0.18);
}
.sb.is-open .sb-seg:not(.active):hover { background: rgba(244,241,234,0.6); }
.sb-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.sb-val {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.sb-val.set { color: var(--ink); font-weight: 500; }
.sb-days { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.sb-div {
  width: 1px;
  background: var(--line);
  align-self: center;
  height: 30px;
}
.sb.is-open .sb-seg.active + .sb-div,
.sb.is-open .sb-div:has(+ .sb-seg.active) { opacity: 0; }
.sb-cta {
  background: var(--electric);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  transition: background 0.15s;
}
.sb-cta:hover { background: #1859D5; }
.sb-cta span {
  transition: max-width 0.25s;
}

.sb-reset {
  position: absolute;
  top: -32px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 999px;
}
.sb-reset:hover { background: var(--sand); color: var(--ink); }

/* Popover container */
.sb-pop {
  position: absolute;
  top: calc(100% + 12px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 200;
  min-width: 340px;
}
.sb-wrap { position: relative; z-index: 200; }
.sb-pop { z-index: 1000 !important; }
.sb-pop-start { left: 0; }
.sb-pop-end   { left: calc(20% - 20px); }
.sb-pop-type  { left: 38%; min-width: 260px; }
.sb-pop-brand { left: 56%; min-width: 260px; }
.sb-pop-model { right: 78px; min-width: 300px; }

.sb-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--sand);
  color: var(--ink);
  margin-right: 4px;
}
.sb-list-item.sel .sb-list-icon { background: rgba(255,255,255,0.25); color: white; }

/* Search input inside brand/model popover */
.sb-search {
  position: relative;
  padding: 4px 4px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.sb-search input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: var(--f-body);
  background: white;
  color: var(--ink);
}
.sb-search input:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.14);
}
.sb-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(calc(-50% - 2px));
  color: var(--muted);
  pointer-events: none;
}
.sb-list-long {
  max-height: 340px;
  overflow-y: auto;
}
.sb-list-long::-webkit-scrollbar { width: 6px; }
.sb-list-long::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.sb-list-count-muted {
  color: var(--muted);
  font-size: 11.5px;
  opacity: 0.6;
}
.sb-hint {
  padding: 12px 14px 4px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

/* Calendar */
.cal { width: 280px; }
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cal-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.cal-nav {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.cal-nav:hover { background: var(--sand); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-dow {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cal-day {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 50%;
  font-size: 12.5px;
  font-family: var(--f-body);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s;
  font-weight: 500;
}
.sb-pop { padding: 16px; }
.cal-day:hover:not(:disabled) { background: var(--sand); }
.cal-day.out { color: var(--muted-2); font-weight: 400; }
.cal-day.today { font-weight: 700; color: var(--electric); }
.cal-day.sel {
  background: var(--ocean);
  color: white;
  font-weight: 600;
}
.cal-day.sel.today { color: white; }
.cal-day:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--muted-2);
}
.cal-day.out:disabled { text-decoration: none; }

/* Lists (brand/model) */
.sb-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 4px;
  margin: -4px;
}
.sb-list::-webkit-scrollbar { width: 6px; }
.sb-list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.sb-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink);
  text-align: left;
}
.sb-list-item:hover { background: var(--sand); }
.sb-list-item.sel {
  background: var(--teal-soft);
  color: var(--ocean);
  font-weight: 600;
}
.sb-list-count {
  font-size: 11.5px;
  color: var(--muted);
  background: var(--sand);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}
.sb-list-item.sel .sb-list-count { background: white; color: var(--ocean); }
.sb-list-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.sb-empty {
  padding: 22px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

/* ============ Quick picks — circular photo tiles (fits search bar width) ============ */
.quick-picks {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.quick-pick {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  text-align: center;
  transition: transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quick-pick:hover { transform: translateY(-3px); }
.quick-pick:hover .qp-img {
  box-shadow: 0 12px 28px rgba(10,37,64,0.18);
}

.qp-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 130px;
  border-radius: 50%;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
  background-color: var(--sand);
  background-size: cover;
  background-position: center;
}
.qp-title {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.qp-subtitle {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .quick-picks { grid-template-columns: repeat(4, 1fr); }
  .qp-img { max-width: 120px; }
}
@media (max-width: 640px) {
  .quick-picks { grid-template-columns: repeat(3, 1fr); }
  .qp-img { max-width: 96px; }
}

/* ============ Grid sections ============ */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Destination card */
.dest-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);
}
.dest-card:hover .dest-photo { transform: scale(1.05); }
.dest-photo {
  position: absolute; inset: 0;
  transition: transform 0.4s ease;
}
.dest-photo.patong  { background: url('/static/assets/beaches/patong.jpg') center/cover no-repeat; }
.dest-photo.kata    { background: url('/static/assets/beaches/kata.jpg')   center/cover no-repeat; }
.dest-photo.karon   { background: url('/static/assets/beaches/karon.jpg')  center/cover no-repeat; }
.dest-photo.rawai   { background: url('/static/assets/beaches/rawai.jpg')  center/cover no-repeat; }
/* Moscow — dark burgundy Kremlin vibe */
.dest-photo.moscow-center  { background: radial-gradient(80% 60% at 30% 40%, #C74B96 0%, transparent 60%), linear-gradient(135deg, #4B2C7A 0%, #1E1642 100%); }
.dest-photo.moscow-north   { background: radial-gradient(70% 50% at 70% 60%, #7A4B96 0%, transparent 60%), linear-gradient(135deg, #2C1E5A 0%, #4B2C7A 100%); }
.dest-photo.moscow-airport { background: radial-gradient(80% 70% at 50% 80%, #4B7AC7 0%, transparent 60%), linear-gradient(135deg, #1E2C5A 0%, #4B2C7A 100%); }
.dest-photo.moscow-vdnh    { background: radial-gradient(70% 60% at 60% 40%, #C7964B 0%, transparent 60%), linear-gradient(135deg, #4B2C1E 0%, #7A4B2C 100%); }
/* Bali — tropical greens */
.dest-photo.canggu   { background: radial-gradient(80% 60% at 30% 60%, #4BC796 0%, transparent 60%), linear-gradient(135deg, #2B7A4B 0%, #0A5A3A 100%); }
.dest-photo.ubud     { background: radial-gradient(70% 60% at 40% 40%, #7AC74B 0%, transparent 60%), linear-gradient(135deg, #2B5A2B 0%, #4B7A2B 100%); }
.dest-photo.seminyak { background: radial-gradient(80% 60% at 60% 60%, #C7B24B 0%, transparent 60%), linear-gradient(135deg, #7A5A2B 0%, #4B3A1E 100%); }
.dest-photo.uluwatu  { background: radial-gradient(70% 60% at 50% 40%, #4B96C7 0%, transparent 60%), linear-gradient(135deg, #1E4B7A 0%, #0A2540 100%); }
/* Dubai — desert gold */
.dest-photo.downtown    { background: radial-gradient(70% 60% at 40% 60%, #E8A344 0%, transparent 60%), linear-gradient(135deg, #7A4B2C 0%, #4B2C1E 100%); }
.dest-photo.marina      { background: radial-gradient(80% 60% at 60% 40%, #4B96C7 0%, transparent 60%), linear-gradient(135deg, #2C4B7A 0%, #0A2540 100%); }
.dest-photo.dxb-airport { background: radial-gradient(70% 60% at 30% 60%, #C7964B 0%, transparent 60%), linear-gradient(135deg, #4B3A1E 0%, #2C1E1E 100%); }
.dest-photo.palm        { background: radial-gradient(80% 60% at 50% 50%, #E8B24B 0%, transparent 60%), linear-gradient(135deg, #7A5A2B 0%, #4B3A1E 100%); }
/* SPb — Baltic blues */
.dest-photo.spb-center    { background: radial-gradient(70% 60% at 30% 50%, #7A96C7 0%, transparent 60%), linear-gradient(135deg, #2C4B7A 0%, #1E3455 100%); }
.dest-photo.spb-vasilev   { background: radial-gradient(80% 60% at 60% 40%, #96B2E8 0%, transparent 60%), linear-gradient(135deg, #2C4B7A 0%, #1E3455 100%); }
.dest-photo.spb-airport   { background: radial-gradient(70% 60% at 40% 60%, #4B96C7 0%, transparent 60%), linear-gradient(135deg, #1E3455 0%, #0A2540 100%); }
.dest-photo.spb-primorsky { background: radial-gradient(80% 60% at 50% 50%, #4BC7B2 0%, transparent 60%), linear-gradient(135deg, #2C6A7A 0%, #1E4B55 100%); }
/* Sochi — sea-mountain teal */
.dest-photo.sochi-center  { background: radial-gradient(70% 60% at 30% 40%, #4BC7A6 0%, transparent 60%), linear-gradient(135deg, #2B7A6A 0%, #1E4B45 100%); }
.dest-photo.sochi-adler   { background: radial-gradient(80% 60% at 60% 60%, #E8C74B 0%, transparent 60%), linear-gradient(135deg, #4B6A2B 0%, #2B5A1E 100%); }
.dest-photo.sochi-polyana { background: radial-gradient(70% 60% at 40% 50%, #96C7E8 0%, transparent 60%), linear-gradient(135deg, #4B7A96 0%, #2B5A6A 100%); }
.dest-photo.sochi-airport { background: radial-gradient(80% 60% at 50% 50%, #4B96C7 0%, transparent 60%), linear-gradient(135deg, #2B4B7A 0%, #1E3555 100%); }
/* Nizhny Novgorod — Volga plum */
.dest-photo.nn-center    { background: radial-gradient(70% 60% at 30% 50%, #C74B96 0%, transparent 60%), linear-gradient(135deg, #4B2C6A 0%, #2B1E3A 100%); }
.dest-photo.nn-verkhniy  { background: radial-gradient(80% 60% at 60% 40%, #964BC7 0%, transparent 60%), linear-gradient(135deg, #4B2C7A 0%, #2B1E4A 100%); }
.dest-photo.nn-airport   { background: radial-gradient(70% 60% at 40% 60%, #4B96C7 0%, transparent 60%), linear-gradient(135deg, #2B4B7A 0%, #1E3555 100%); }
.dest-photo.nn-avtozavod { background: radial-gradient(80% 60% at 50% 50%, #C7964B 0%, transparent 60%), linear-gradient(135deg, #6A4B2B 0%, #4A2B1E 100%); }
/* Text overlay for city-placeholder dest cards */
.dest-photo[class*="moscow"]::after,
.dest-photo[class*="canggu"]::after,
.dest-photo[class*="ubud"]::after,
.dest-photo[class*="seminyak"]::after,
.dest-photo[class*="uluwatu"]::after,
.dest-photo[class*="downtown"]::after,
.dest-photo[class*="marina"]::after,
.dest-photo[class*="dxb"]::after,
.dest-photo[class*="palm"]::after,
.dest-photo[class*="spb"]::after,
.dest-photo[class*="sochi"]::after,
.dest-photo[class*="nn-"]::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.dest-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,0.15) 0%, transparent 30%, rgba(10,37,64,0.35) 55%, rgba(10,37,64,0.85) 100%);
}
.dest-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: white;
  z-index: 1;
}
.dest-info h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.dest-info span {
  font-size: 12.5px;
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ============ Type photo cards (with real photos) ============ */
.type-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.type-photo-card {
  border: none;
  background: white;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.type-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,37,64,0.12);
}
.type-photo-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.type-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 37, 64, 0.55) 100%);
  pointer-events: none;
}
.type-photo-price {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(10,37,64,0.15);
  z-index: 2;
}
.type-photo-price .from-lbl {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  margin-right: 2px;
}
.type-photo-info {
  padding: 14px 16px 18px;
}
.type-photo-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--ink);
}
.type-photo-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .type-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .type-photo-grid { grid-template-columns: 1fr; }
}

/* Type card */
.type-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  background: white;
}
.type-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.type-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--ocean);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.type-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0;
}
.type-card .desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.type-card .from {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
}
.type-card .from strong { color: var(--electric); }

/* Trust row */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 20px;
  background: var(--cream);
  border-radius: 20px;
}
.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.trust-item .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(30, 107, 255, 0.10);
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-item h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14.5px;
  margin: 0 0 3px;
}
.trust-item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============ Bike detail page ============ */
.bike-page {
  padding: 20px 40px 60px;
}
.bike-page-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: 8px 0 20px;
}
.bike-page-title h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.bike-page-title .meta {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.bike-page-title .meta .dot { color: var(--muted-2); }

.bike-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}
.bike-gallery > div {
  position: relative;
  overflow: hidden;
}
.bike-gallery > div:nth-child(1) { grid-row: span 2; }

.bike-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}
.bike-body h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.bike-provider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.provider-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--electric));
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.bike-provider-name { font-weight: 600; }
.bike-provider-meta { color: var(--muted); font-size: 13px; }
.bike-provider-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
  padding: 6px 12px;
  background: var(--cream);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bike-provider-hint svg { color: var(--electric); flex-shrink: 0; }

.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.spec {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spec .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--sand);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.spec .lbl { font-size: 12.5px; color: var(--muted); }
.spec .val { font-weight: 600; font-size: 14px; }

.includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.includes .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.includes .item .ok {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviews-summary {
  padding: 28px 0;
  display: flex;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.reviews-summary .big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.reviews-summary .stars .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.reviews-summary .stars .bar {
  width: 140px; height: 6px;
  background: var(--sand);
  border-radius: 3px;
  overflow: hidden;
}
.reviews-summary .stars .fill {
  height: 100%;
  background: var(--star);
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0 8px;
}
.review {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.review-name { font-weight: 600; font-size: 14px; }
.review-date { color: var(--muted); font-size: 12px; }
.review-body { font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.review-stars { color: var(--star); font-size: 12px; margin-top: 8px; letter-spacing: 2px; }

/* Booking widget */
.book-widget {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  background: white;
  position: sticky;
  top: 100px;
}
.book-widget-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.book-widget-price .amount {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.book-widget-price .per { color: var(--muted); font-size: 13px; }
.book-widget-price .rating { color: var(--ink); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }

/* Interactive rental-period/month pricing widget (see pricing-widget.js) */
.pw-season-note {
  font-size: 12px;
  color: var(--electric);
  background: rgba(30,107,255,0.06);
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 12px;
  font-weight: 500;
}
.pw-field { margin-bottom: 14px; }
.pw-field .lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pw-month-select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
  cursor: pointer;
}
.pw-month-select:hover { border-color: var(--line-strong); }
[data-pw-tiers] { margin-bottom: 0; }
[data-pw-tiers] .chip-opt {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 12px;
}
[data-pw-tiers] .chip-opt .pw-tier-label { font-size: 12px; font-weight: 600; }
[data-pw-tiers] .chip-opt .pw-tier-price { font-size: 11.5px; color: var(--muted); }
[data-pw-tiers] .chip-opt.selected .pw-tier-price { color: rgba(255,255,255,0.85); }

.book-inputs {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.book-inputs .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.book-inputs .row:last-child { border-bottom: none; }
.book-inputs .cell {
  padding: 10px 14px;
  cursor: pointer;
  border-right: 1px solid var(--line);
}
.book-inputs .cell:last-child { border-right: none; }
.book-inputs .cell:hover { background: var(--sand); }
.book-inputs .cell .lbl {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.book-inputs .cell .val {
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 2px;
}
.book-inputs .cell label.lbl { cursor: pointer; }
input.pw-date-input {
  width: 100%;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}
input.pw-date-input:focus { outline: none; }
.pw-error {
  font-size: 12.5px;
  color: #B91C1C;
  background: #FEE2E2;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.book-summary {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}
.book-summary .li {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.book-summary .li .a { text-decoration: underline; }
.book-summary .total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.book-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

/* ============ Checkout ============ */
.checkout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: 30px 60px 80px;
}
.checkout h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.step {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ocean);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--f-display);
}
.step-head h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.01em;
}
.step-head .h-desc { color: var(--muted); font-size: 13px; }
.step-body { padding-left: 44px; }
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.15);
}
.field.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field.row-2 > div { display: flex; flex-direction: column; gap: 5px; }

.addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.addon.selected {
  border-color: var(--electric);
  background: rgba(30,107,255,0.04);
}
.addon-left { display: flex; align-items: center; gap: 12px; }
.addon-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--sand);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.addon-title { font-weight: 600; font-size: 14px; }
.addon-desc { color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.addon-price { font-weight: 600; font-size: 14px; }

/* Sprint 8 Phase B — real Order Composition checkout (spec §7-9) */
.ck-addon-qty { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.ck-addon-qty label { font-size: 11.5px; color: var(--muted); }
.ck-addon-qty input { width: 52px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }

.upload-slot {
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.upload-slot:hover { border-color: var(--electric); color: var(--electric); background: rgba(30,107,255,0.03); }

.pay-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.pay-toggle .opt {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pay-toggle .opt.selected { border-color: var(--electric); background: rgba(30,107,255,0.04); }
.pay-toggle .opt .a { font-weight: 600; font-size: 14px; }
.pay-toggle .opt .b { font-size: 12.5px; color: var(--muted); }

.summary-side {
  position: sticky;
  top: 100px;
  align-self: start;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 20px;
  background: white;
}
.summary-bike {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.summary-bike-photo {
  width: 80px; height: 60px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.summary-bike h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 15px; margin: 0;
  letter-spacing: -0.01em;
}
.summary-bike .p { color: var(--muted); font-size: 12.5px; margin: 3px 0 0; }
.summary-bike .r { font-size: 12.5px; }

/* Checkout: driver messenger segmented */
.msg-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}
.msg-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.msg-toggle button:hover { border-color: var(--line-strong); }
.msg-toggle button.selected {
  border-color: var(--electric);
  background: rgba(30, 107, 255, 0.04);
  color: var(--ink);
}
.msg-toggle .m-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.msg-toggle .m-ico.wa { background: #25D366; }
.msg-toggle .m-ico.tg { background: #26A5E4; }
.msg-toggle button.selected .m-ico { transform: scale(1.05); }

.upload-slot.uploaded {
  border-style: solid;
  border-color: var(--success);
  background: rgba(13, 152, 98, 0.06);
  color: var(--ink);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 16px 18px;
}
.upload-slot.uploaded .u-ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.upload-slot.uploaded .u-info { flex: 1; min-width: 0; }
.upload-slot.uploaded .u-info .fn { font-weight: 600; font-size: 14px; color: var(--ink); }
.upload-slot.uploaded .u-info .fs { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.upload-slot.uploaded .u-replace {
  background: transparent;
  border: none;
  color: var(--electric);
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
}
.upload-slot.uploaded .u-replace:hover { text-decoration: underline; }

/* Card payment secure hint */
.pay-secure {
  background:
    linear-gradient(135deg, rgba(30,107,255,0.06), rgba(0,194,199,0.06)),
    white;
  border: 1px solid rgba(30, 107, 255, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.pay-secure .p-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: white;
  color: var(--electric);
  border: 1px solid rgba(30,107,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pay-secure h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ocean);
}
.pay-secure p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.pay-secure .partners {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pay-secure .partners .badge {
  padding: 2px 8px;
  background: var(--sand);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* Summary total block emphasis */
.summary-side .book-summary .total {
  font-size: 18px;
  padding-top: 14px;
  margin-top: 4px;
}
.summary-cash {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(232, 140, 44, 0.08);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.summary-cash .lbl { color: var(--muted); }
.summary-cash .amt { font-weight: 600; color: var(--warn); }
.summary-deposit {
  margin-top: 10px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
}
.summary-deposit .lbl {
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.summary-deposit .val {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 4px 0 4px;
}
.summary-deposit .hint { color: var(--muted); font-size: 11.5px; }

/* ============ Success ============ */
.success {
  padding: 60px 40px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.success-tick {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.success h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 40px;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.success h1 em { color: var(--electric); font-style: italic; }
.success .desc { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0 auto 32px; line-height: 1.6; }
.success-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  margin-bottom: 24px;
  background: white;
}
.success-info h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin: 0 0 4px; font-weight: 600;
}
.success-info p { margin: 0 0 12px; font-size: 14px; }
.success-qr {
  border-radius: 12px;
  aspect-ratio: 1;
  background:
    repeating-conic-gradient(#0A2540 0% 8%, white 0% 12%);
  margin-left: auto;
  width: 140px;
  border: 6px solid white;
  box-shadow: 0 0 0 1px var(--line);
}
.success-next {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--cream);
}
.success-next h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 16px; margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.success-next ol {
  margin: 0; padding-left: 20px;
  font-size: 13.5px; line-height: 1.7; color: var(--ink);
}

/* ============ Auth Modal (centered popup) ============ */
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade-in 0.15s ease-out;
}
.auth-modal {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.22s ease-out;
  overflow: hidden;
  position: relative;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.auth-modal-close:hover { background: var(--line-strong); }
.auth-modal-body {
  padding: 40px 32px 28px;
}
.auth-modal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.auth-modal h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--ocean);
}
.auth-modal h2 em { color: var(--electric); font-style: italic; }
.auth-modal .lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.auth-modal .field { margin-bottom: 14px; }
.auth-modal .field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}
.auth-modal .field-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.auth-modal .field-inline label { margin: 0; }
.auth-modal .field-inline .link {
  font-size: 12px;
  font-weight: 500;
  color: var(--electric);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.auth-modal .field-inline .link:hover { text-decoration: underline; }
.auth-modal .field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
}
.auth-modal .field input:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.15);
}
.auth-modal .field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.auth-modal .field-row-2 > div label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}
.auth-modal .field-row-2 > div input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
}

.auth-modal-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 16px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.auth-modal-remember input {
  accent-color: var(--electric);
  width: 15px; height: 15px;
}
.auth-modal-cta {
  width: 100%;
  padding: 13px;
  background: var(--electric);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  font-family: var(--f-body);
  transition: background 0.15s;
}
.auth-modal-cta:hover { background: #1859D5; }

.auth-modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-modal-divider::before,
.auth-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-modal-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-modal-social button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  background: white;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  transition: background 0.15s;
}
.auth-modal-social button:hover { background: var(--sand); }

.auth-modal-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.auth-modal-footer .link {
  color: var(--electric);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}
.auth-modal-footer .link:hover { text-decoration: underline; }

.auth-modal-terms {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
  text-align: center;
}
.auth-modal-terms a {
  color: var(--electric);
  cursor: pointer;
}
.auth-modal-terms a:hover { text-decoration: underline; }

.auth-modal-input-wrap {
  position: relative;
}
.auth-modal-input-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 6px;
  font-family: inherit;
}
.auth-modal-input-toggle:hover { color: var(--ink); }

.auth-modal-strength {
  display: flex;
  gap: 3px;
  margin-top: 6px;
}
.auth-modal-strength .bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
}
.auth-modal-strength .bar.a { background: var(--danger); }
.auth-modal-strength .bar.b { background: var(--warn); }
.auth-modal-strength .bar.c { background: var(--success); }
.auth-modal-strength-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.auth-modal-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}

.auth-modal-sent-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.auth-modal-back {
  background: none;
  border: none;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}
.auth-modal-back:hover { color: var(--ink); }

/* ============ Auth (legacy full-page — kept but unused) ============ */
.auth {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: white;
}
.auth-form-col {
  padding: 60px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.auth-form-inner {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.auth-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.auth h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--ocean);
}
.auth h1 em { color: var(--electric); font-style: italic; }
.auth p.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 380px;
}

.auth .field { margin-bottom: 16px; }
.auth .field-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth .field-inline label { margin-bottom: 4px; }
.auth .field-inline .link {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--electric);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.auth .field-inline .link:hover { text-decoration: underline; }

.auth-input-wrap {
  position: relative;
}
.auth-input-wrap input {
  width: 100%;
}
.auth-input-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 6px;
}
.auth-input-toggle:hover { color: var(--ink); }

.auth-strength {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.auth-strength .s-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
}
.auth-strength .s-bar.a { background: var(--danger); }
.auth-strength .s-bar.b { background: var(--warn); }
.auth-strength .s-bar.c { background: var(--success); }
.auth-strength-label {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}
.auth-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 20px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
}
.auth-remember input {
  accent-color: var(--electric);
  width: 15px; height: 15px;
}

.auth-cta {
  margin-top: 8px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  background: white;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  transition: background 0.15s;
}
.auth-social-btn:hover { background: var(--sand); }
.auth-social-btn svg { flex-shrink: 0; }

.auth-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.auth-footer .link {
  color: var(--electric);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}
.auth-footer .link:hover { text-decoration: underline; }

.auth-terms {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 12px;
}
.auth-terms a {
  color: var(--electric);
  text-decoration: none;
  cursor: pointer;
}
.auth-terms a:hover { text-decoration: underline; }

/* Right side — brand poster */
.auth-poster {
  position: relative;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(0,194,199,0.35), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(30,107,255,0.35), transparent 60%),
    linear-gradient(135deg, var(--ocean) 0%, var(--ocean-2) 100%);
  color: white;
  overflow: hidden;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.auth-poster-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-poster-brand .wm {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: white;
}
.auth-poster-brand .wm em { color: var(--teal); font-style: italic; }

.auth-poster-main {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  max-width: 440px;
}
.auth-poster-main h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.auth-poster-main h2 em { color: var(--teal); font-style: italic; }
.auth-poster-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.auth-poster-perks .p {
  font-size: 15px;
  line-height: 1.4;
  opacity: 0.92;
}

.auth-poster-footer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  opacity: 0.75;
  font-size: 12.5px;
}
.auth-poster-footer .stat strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: block;
  color: white;
  margin-bottom: 2px;
}

/* Back button in header (top-left of auth) */
.auth-back {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
}
.auth-back:hover { background: var(--sand); }

/* Reset password: sent state */
.auth-sent-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

/* ============ Become a Host (registration) ============ */
.host-reg-hero {
  padding: 60px 40px 40px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0,194,199,0.14), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(30,107,255,0.10), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.host-reg-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.host-reg-hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
  color: var(--ocean);
}
.host-reg-hero h1 em { color: var(--electric); font-style: italic; }
.host-reg-hero p.subtitle {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 520px;
}
.host-reg-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.host-reg-perk {
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.host-reg-perk .ico {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.host-reg-perk h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13.5px;
  margin: 0 0 3px;
  letter-spacing: -0.005em;
}
.host-reg-perk p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Right side: application-preview visual */
.host-reg-visual {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.host-reg-visual .vhead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.host-reg-visual .vlogo {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ocean), var(--electric));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 20px;
}
.host-reg-visual .vname {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.host-reg-visual .vmeta {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}
.host-reg-visual .vstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.host-reg-visual .vstat {
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 10px;
}
.host-reg-visual .vstat .l { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.host-reg-visual .vstat .v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.host-reg-visual .vstat .v.up { color: var(--success); }
.host-reg-visual .vfooter {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.host-reg-visual .vdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Form */
.host-reg-form {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}
.host-reg-steps {
  position: sticky;
  top: 100px;
  align-self: start;
}
.host-reg-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.host-reg-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.15s;
}
.host-reg-steps li:hover { background: var(--sand); color: var(--ink); }
.host-reg-steps li.active {
  background: var(--ocean);
  color: white;
}
.host-reg-steps li.done { color: var(--ink); }
.host-reg-steps li.done .n {
  background: var(--success);
  color: white;
  border-color: var(--success);
}
.host-reg-steps li .n {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--f-display);
  flex-shrink: 0;
  background: white;
}
.host-reg-steps li.active .n {
  background: white;
  color: var(--ocean);
  border-color: white;
}

/* Right column: form body */
.host-reg-body h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.host-reg-body .step-sub {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 28px;
}

/* Segmented control */
.seg-group {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.seg-group.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.seg-group.cols-2 { grid-template-columns: 1fr 1fr; }
.seg-opt {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background: white;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
  font-family: var(--f-body);
}
.seg-opt:hover { border-color: var(--line-strong); }
.seg-opt.selected {
  border-color: var(--electric);
  background: rgba(30,107,255,0.04);
}
.seg-opt .t {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.seg-opt .d {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

/* Chip multiselect */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip-opt {
  border: 1.5px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  background: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--f-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip-opt:hover { border-color: var(--line-strong); }
.chip-opt.selected {
  background: var(--ocean);
  border-color: var(--ocean);
  color: white;
}

/* Doc slot */
.doc-slot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.doc-slot:hover { border-color: var(--electric); background: rgba(30,107,255,0.03); }
.doc-slot.uploaded { border-style: solid; border-color: var(--success); background: rgba(13,152,98,0.05); }
.doc-slot .ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--sand);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-slot.uploaded .ico { background: var(--teal-soft); color: var(--success); }
.doc-slot .info { flex: 1; min-width: 0; }
.doc-slot .info .n { font-weight: 600; font-size: 14px; }
.doc-slot .info .p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.doc-slot .cta {
  font-size: 12.5px;
  color: var(--electric);
  font-weight: 600;
  flex-shrink: 0;
}
.doc-slot.uploaded .cta { color: var(--success); }

/* Nav buttons */
.host-reg-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.host-reg-nav .hint {
  color: var(--muted);
  font-size: 12.5px;
  align-self: center;
  margin-right: auto;
  padding-left: 4px;
}

/* Terms */
.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  margin-top: 16px;
}
.terms-row input {
  margin-top: 3px;
  accent-color: var(--electric);
  width: 16px; height: 16px;
}
.terms-row label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}

/* ============ Provider page ============ */
.provider-cover {
  height: 260px;
  background: linear-gradient(135deg, #0A2540 0%, #1E6BFF 60%, #00C2C7 100%);
  position: relative;
  overflow: hidden;
}
.provider-cover::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.provider-head {
  padding: 0 40px;
  display: flex;
  gap: 24px;
  align-items: flex-end;
  transform: translateY(-40px);
}
.provider-logo {
  width: 96px; height: 96px;
  border-radius: 24px;
  background: white;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.provider-logo-inner {
  width: 100%; height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--ocean);
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 32px;
  letter-spacing: -0.02em;
}
.provider-meta {
  padding-bottom: 12px;
  flex: 1;
}
.provider-meta h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: white;
}
.provider-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.provider-tag {
  background: white;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.provider-tag.verified { color: var(--electric); }
.provider-tag.top { background: var(--ocean); color: white; border-color: var(--ocean); }

/* ============ Provider: action buttons (share, contact) ============ */
.provider-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.provider-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--f-body);
  transition: box-shadow 0.15s, background 0.15s;
}
.provider-action:hover:not(:disabled) { box-shadow: var(--shadow-md); }
.provider-action.primary {
  background: var(--ocean);
  border-color: var(--ocean);
  color: white;
}
.provider-action.primary:hover:not(:disabled) { background: var(--ocean-2); }
.provider-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: white;
  color: var(--muted);
}
.provider-action .lock-badge {
  font-size: 10.5px;
  padding: 2px 8px;
  background: var(--sand);
  color: var(--muted);
  border-radius: 999px;
  font-weight: 500;
  margin-left: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Share modal overlay */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade-in 0.15s ease-out;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: white;
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.2s ease-out;
}
@keyframes modal-in {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.modal-h h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ocean);
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--line-strong); }
.modal-sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
}

.share-preview {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  margin-bottom: 20px;
}
.share-preview .plogo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ocean), var(--electric));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 16px;
  flex-shrink: 0;
}
.share-preview .pinfo .pname { font-weight: 600; font-size: 14px; }
.share-preview .pinfo .purl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}

.share-link {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.share-link input {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--ink);
  background: white;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-link input:focus {
  outline: none;
  border-color: var(--electric);
}
.share-copy-btn {
  border: none;
  background: var(--ocean);
  color: white;
  border-radius: 10px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  font-family: var(--f-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
  white-space: nowrap;
}
.share-copy-btn:hover { background: var(--ocean-2); }
.share-copy-btn.copied {
  background: var(--success);
}

.share-socials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}
.share-social {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 14px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink);
  font-family: inherit;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}
.share-social:hover { background: var(--sand); border-color: var(--line-strong); }
.share-social .sicon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.share-social .sicon.wa { background: #25D366; }
.share-social .sicon.tg { background: #26A5E4; }
.share-social .sicon.em { background: var(--ocean); }
.share-social .sicon.qr { background: var(--ink); }

/* ============ Chat with provider ============ */
.chat-page {
  padding: 24px 40px 0;
  max-width: 900px;
  margin: 0 auto;
}
.chat-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 12px;
  background: none;
  border: none;
  font-family: inherit;
}
.chat-back:hover { color: var(--ink); }
.chat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 680px;
}
.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.chat-header .avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ocean), var(--electric));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 16px;
}
.chat-header .info { flex: 1; }
.chat-header .info .name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-header .info .status {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chat-header .info .status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s infinite;
}

.chat-context {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
}
.chat-context .b-photo {
  width: 40px; height: 30px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.chat-context .b-info b { font-weight: 600; }
.chat-context .b-info .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-left: 6px;
}
.chat-context .b-status {
  margin-left: auto;
  background: var(--teal-soft);
  color: var(--ocean);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-messages::-webkit-scrollbar { width: 8px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }

.msg-day {
  align-self: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--sand);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 8px 0;
}

.msg-system {
  align-self: center;
  max-width: 80%;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  padding: 8px 14px;
  background: var(--sand);
  border-radius: 12px;
}

.msg {
  max-width: 66%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  position: relative;
  word-wrap: break-word;
}
.msg-in {
  align-self: flex-start;
  background: var(--sand);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.msg-out {
  align-self: flex-end;
  background: var(--electric);
  color: white;
  border-bottom-right-radius: 4px;
}
.msg-time {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 4px;
  padding: 0 4px;
}
.msg-out + .msg-time {
  align-self: flex-end;
}

.chat-input {
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: white;
}
.chat-input button.attach {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-input button.attach:hover { background: var(--line-strong); }
.chat-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream);
}
.chat-input input:focus {
  outline: none;
  background: white;
  border-color: var(--electric);
}
.chat-input button.send {
  border: none;
  background: var(--ocean);
  color: white;
  border-radius: 999px;
  padding: 0 20px;
  height: 40px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  flex-shrink: 0;
}
.chat-input button.send:hover { background: var(--ocean-2); }

/* ============ Provider — sub-tools bar (filters + sort) ============ */
.provider-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 40px 12px;
  border-bottom: 1px solid var(--line);
}
.provider-toolbar h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0;
}
.provider-toolbar h2 .count {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  margin-left: 8px;
}

/* Provider info card */
.provider-info-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  padding: 24px 40px 0;
}
.provider-info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.provider-info-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.provider-info-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.provider-mini-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.provider-mini-fact {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
}
.provider-mini-fact .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.provider-mini-fact .val {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.provider-mini-fact .val b { font-weight: 600; }

/* Reviews teaser on provider page */
.reviews-teaser {
  padding: 32px 40px 0;
}
.reviews-teaser-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  gap: 16px;
}
.reviews-teaser-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
}
.reviews-teaser-head .link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--electric);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.reviews-teaser-head .link:hover { text-decoration: underline; }

/* Full reviews page */
.reviews-page {
  padding: 24px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.reviews-page-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}
.reviews-page-h .titles h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.reviews-page-h .titles .p {
  color: var(--muted);
  font-size: 14px;
}
.reviews-page-h .titles .p a {
  color: var(--electric);
  cursor: pointer;
}
.reviews-page-h .titles .p a:hover { text-decoration: underline; }
.reviews-page-h .stats {
  display: flex;
  gap: 22px;
  align-items: center;
}
.reviews-page-h .stats .big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.reviews-page-h .stats .small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.reviews-page-h .stats .stars-line {
  color: var(--star);
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 4px;
}

/* Filters row on reviews page */
.reviews-controls {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: 12px;
  margin-bottom: 24px;
}
.reviews-controls .chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Review card in list — vertical stack, full-text */
.reviews-list-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.review-full {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: white;
}
.review-full .top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.review-full .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.review-full .who .name { font-weight: 600; font-size: 14.5px; }
.review-full .who .meta { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.review-full .stars { color: var(--star); letter-spacing: 2px; font-size: 13px; margin-left: auto; }
.review-full .body { font-size: 14px; line-height: 1.55; color: var(--ink); }
.review-full .bike-tag {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.review-full .bike-tag .verified {
  color: var(--success);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============ Account ============ */
.account {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 32px 40px 60px;
}
.account-side {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.account-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.account-user .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--electric));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.account-user h4 { margin: 0; font-size: 14px; font-weight: 600; }
.account-user .em { color: var(--muted); font-size: 12px; }
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.account-nav button,
.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  font-size: 13.5px;
  text-align: left;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.account-nav button:hover,
.account-nav a:hover { background: var(--sand); }
.account-nav button.active,
.account-nav a.active {
  background: var(--ocean);
  color: white;
}
.account-nav .badge {
  margin-left: auto;
  background: var(--electric);
  color: white;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 700;
}
.account-nav button.active .badge,
.account-nav a.active .badge { background: white; color: var(--ocean); }
.account-content h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.trip {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  align-items: center;
}
.trip-photo {
  width: 200px; height: 130px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.trip-info h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 16px; margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.trip-info .p { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.trip-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-block;
}
.trip-status.upcoming { background: var(--teal-soft); color: var(--ocean); }
.trip-status.past { background: var(--sand); color: var(--muted); }
.trip-status.active-b { background: rgba(30,107,255,0.1); color: var(--electric); }
/* Sprint 5 Шаг 4/7 — real DbBooking status badges (see BOOKING_STATUS_LABEL
   in src/pages/account.tsx / host.tsx). Cancelled/no-show/disputed all read
   as "не состоялось" tones (danger-soft); nothing here implies a refund. */
.trip-status.b-pending { background: var(--teal-soft); color: var(--ocean); }
.trip-status.b-confirmed { background: rgba(30,107,255,0.1); color: var(--electric); }
.trip-status.b-active { background: rgba(30,107,255,0.1); color: var(--electric); }
.trip-status.b-completed { background: var(--sand); color: var(--muted); }
.trip-status.b-cancelled { background: rgba(209,67,67,0.1); color: var(--danger); }
.trip-status.b-noshow { background: rgba(209,67,67,0.1); color: var(--danger); }
.trip-status.b-disputed { background: rgba(209,67,67,0.1); color: var(--danger); }
.trip-status.b-expired { background: var(--sand); color: var(--muted); }
.trip-empty {
  padding: 48px 0;
  text-align: center;
}
.trip-empty h3 { font-family: var(--f-display); margin: 0 0 8px; }
.trip-empty p { color: var(--muted); margin: 0 0 16px; }
.trip-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

/* Sprint 8 Phase B — commercial breakdown (spec §17/§18) */
.booking-commercial {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.booking-commercial summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.booking-commercial .li { font-size: 12.5px; }

/* Host dashboard */
.host-tabs {
  display: flex;
  gap: 20px;
  padding: 20px 40px 0;
  border-bottom: 1px solid var(--line);
}
.host-tab {
  padding: 10px 4px 14px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}
.host-tab.active {
  border-color: var(--electric);
  color: var(--ink);
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 40px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: white;
}
.stat-card .lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.stat-card .val {
  font-family: var(--f-display); font-weight: 700; font-size: 28px;
  margin-top: 6px; letter-spacing: -0.02em;
}
.stat-card .delta { font-size: 12px; margin-top: 4px; }
.stat-card .delta.up { color: var(--success); }
.stat-card .delta.down { color: var(--danger); }

.fleet-list {
  padding: 12px 40px 40px;
}

/* ============ Host — Reviews tab ============ */
.host-reviews {
  padding: 20px 40px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.host-reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}
.host-reviews-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.host-reviews-head .sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
  max-width: 560px;
}

.host-reviews-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.host-reviews-summary .cell {
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.host-reviews-summary .cell .lbl {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.host-reviews-summary .cell .v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.host-reviews-summary .cell .v .star { color: var(--star); font-size: 18px; }
.host-reviews-summary .cell .sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}
.host-reviews-summary .cell .sub.warn { color: var(--warn); font-weight: 600; }

.host-reviews-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 12px;
  margin-bottom: 16px;
}
.host-reviews-controls .filter-chips {
  display: flex;
  gap: 6px;
}
.host-reviews-controls .filter-chips .filter-chip {
  font-size: 12.5px;
  padding: 6px 12px;
}

.host-review {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 12px;
  position: relative;
}
.host-review.needs-reply {
  border-color: var(--warn);
  box-shadow: 0 0 0 3px rgba(232,140,44,0.08);
}
.host-review-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.host-review-head .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.host-review-head .info { flex: 1; min-width: 0; }
.host-review-head .info .name { font-weight: 600; font-size: 14.5px; }
.host-review-head .info .meta { color: var(--muted); font-size: 12.5px; margin-top: 2px; display: inline-flex; gap: 8px; }
.host-review-head .stars {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 13px;
}
.host-review-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.host-review-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.host-review-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  flex: 1;
  min-width: 0;
}
.host-review-tag .verified {
  color: var(--success);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.host-review-tag .bike {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Review photos */
.host-review-photos {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.host-review-photo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--line);
  transition: transform 0.15s;
  flex-shrink: 0;
}
.host-review-photo:hover { transform: scale(1.04); border-color: var(--electric); }
.host-review-photo.more {
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.host-review-photo .grad {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
}
.host-review-photo .grad.ocean-electric { background: linear-gradient(135deg, var(--ocean), var(--electric)); }
.host-review-photo .grad.teal-ocean    { background: linear-gradient(135deg, var(--teal), var(--ocean)); }
.host-review-photo .grad.ocean-teal    { background: linear-gradient(135deg, var(--ocean-2), var(--teal)); }
.host-review-photo .grad.electric-teal { background: linear-gradient(135deg, var(--electric), var(--teal)); }
.host-review-photo .grad::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 14px 14px;
}

/* Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.15s;
}
.lightbox-frame {
  max-width: 80vw;
  max-height: 80vh;
  aspect-ratio: 4/3;
  width: 720px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  animation: modal-in 0.22s;
}
.lightbox-frame .grad {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 60px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 800;
}
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  font-size: 20px;
  backdrop-filter: blur(8px);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav.prev { left: -60px; }
.lightbox-nav.next { right: -60px; }
.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 13px;
  font-weight: 500;
}

/* Reply area */
.host-review-reply {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 12px;
  border-left: 3px solid var(--electric);
}
.host-review-reply .rep-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12.5px;
  color: var(--electric);
  font-weight: 600;
}
.host-review-reply .rep-head .provider-badge {
  padding: 2px 8px;
  background: var(--electric);
  color: white;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
}
.host-review-reply .rep-head .rep-date {
  margin-left: auto;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
.host-review-reply .rep-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.host-review-reply .rep-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.host-review-reply .rep-actions button {
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.host-review-reply .rep-actions button:hover { color: var(--ink); }
.host-review-reply .rep-actions button.danger { color: var(--danger); }
.host-review-reply .rep-actions button.danger:hover { text-decoration: underline; }

/* Reply composer */
.host-review-composer {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.host-review-composer textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
  resize: vertical;
  min-height: 70px;
}
.host-review-composer textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.14);
}
.host-review-composer .composer-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.host-review-composer .composer-hint {
  font-size: 11.5px;
  color: var(--muted);
}
.host-review-composer .composer-actions {
  display: flex;
  gap: 8px;
}
.host-review-composer .composer-actions button {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: none;
}
.host-review-composer .composer-actions .cancel {
  background: white;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.host-review-composer .composer-actions .cancel:hover { color: var(--ink); }
.host-review-composer .composer-actions .publish {
  background: var(--electric);
  color: white;
}
.host-review-composer .composer-actions .publish:hover { background: #1859D5; }
.host-review-composer .composer-actions .publish:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.host-review-reply-btn {
  padding: 8px 16px;
  background: var(--ocean);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.host-review-reply-btn:hover { background: var(--ocean-2); }

/* ============ Host — Profile tab ============ */
.host-profile {
  padding: 20px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.host-profile-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 20px;
}
.host-profile-topbar .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.host-profile-topbar .status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.host-profile-topbar .status.dirty .dot { background: var(--warn); }
.host-profile-topbar .status.saved .dot { background: var(--success); }
.host-profile-topbar .actions {
  display: flex;
  gap: 10px;
}

.host-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hp-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.hp-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.hp-card .hp-sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 18px;
}

/* Cover uploader */
.hp-cover-slot {
  position: relative;
  aspect-ratio: 4 / 1;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 40% 60%, rgba(0,194,199,0.35), transparent),
    radial-gradient(70% 60% at 90% 20%, rgba(30,107,255,0.30), transparent),
    linear-gradient(135deg, var(--ocean) 0%, var(--ocean-2) 100%);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.hp-cover-slot::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hp-cover-slot .hp-cover-actions {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
}
.hp-cover-slot .hp-cover-btn {
  background: rgba(10,37,64,0.75);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}
.hp-cover-slot .hp-cover-btn:hover { background: rgba(10,37,64,0.9); }

/* Logo uploader */
.hp-brand-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.hp-logo-slot {
  width: 130px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--teal-soft), white);
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hp-logo-slot .logo-txt {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 44px;
  color: var(--ocean);
  letter-spacing: -0.02em;
}
.hp-logo-slot .hp-cover-btn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  padding: 5px 10px;
}
.hp-brand-fields > .field { margin-bottom: 14px; }
.hp-brand-fields > .field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.hp-brand-fields > .field input,
.hp-brand-fields > .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
}
.hp-brand-fields > .field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
.hp-brand-fields > .field input:focus,
.hp-brand-fields > .field textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.14);
}
.hp-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* Row-2 grid inside cards */
.hp-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Languages chips */
.hp-chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hp-chip {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: white;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.hp-chip:hover { border-color: var(--line-strong); }
.hp-chip.on {
  background: var(--ocean);
  color: white;
  border-color: var(--ocean);
}

/* Hours schedule (per-day) */
.hp-hours-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hp-hours-toolbar .apply-btn {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  background: white;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hp-hours-toolbar .apply-btn:hover { background: var(--sand); }

.hp-hours-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 44px 44px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.hp-hours-row:last-child { border-bottom: none; }
.hp-hours-row .day { font-weight: 500; font-size: 14px; }
.hp-hours-row input[type="time"] {
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: var(--f-body);
  width: 100%;
}
.hp-hours-row input[type="time"]:focus {
  outline: none;
  border-color: var(--electric);
}
.hp-hours-row.closed input[type="time"] {
  opacity: 0.35;
  pointer-events: none;
  background: var(--sand);
}
.hp-hours-icon-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.hp-hours-icon-btn:hover { background: var(--sand); color: var(--ink); }
.hp-hours-icon-btn.active {
  background: var(--warn);
  color: white;
  border-color: var(--warn);
}
.hp-hours-icon-btn.active-24 {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

/* Locations list */
.hp-locations {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.hp-location {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  transition: border-color 0.15s;
}
.hp-location.primary { border-color: var(--electric); background: rgba(30,107,255,0.02); }
.hp-location-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.hp-location-head .pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.hp-location-head .primary-badge {
  padding: 2px 10px;
  background: var(--electric);
  color: white;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.hp-location-head .actions {
  display: flex;
  gap: 4px;
}
.hp-location-head .actions button {
  background: transparent;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
}
.hp-location-head .actions button:hover { background: var(--sand); color: var(--ink); }
.hp-location-head .actions button.danger:hover { color: var(--danger); background: rgba(209,67,67,0.05); }

.hp-location-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hp-location-fields .full { grid-column: 1 / -1; }
.hp-location-fields label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hp-location-fields input,
.hp-location-fields select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: var(--f-body);
  background: white;
}
.hp-location-fields input:focus,
.hp-location-fields select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.14);
}

.hp-location-section-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* Messenger grid — 5 channels 2-3 per row */
.hp-messenger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hp-messenger:nth-child(4),
.hp-messenger:nth-child(5) {
  grid-column: span 1;
}
.hp-messenger label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hp-messenger label .msg-ico {
  width: 20px; height: 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  flex-shrink: 0;
}
.hp-messenger input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: var(--f-body);
  background: white;
}
.hp-messenger input:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.14);
}
.hp-location-section-h.collapsible {
  cursor: pointer;
  user-select: none;
}
.hp-location-section-h.collapsible:hover { color: var(--electric); }
.hp-location-section-h .hours-summary {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.hp-location-section-h .chev {
  color: var(--muted);
  font-size: 10px;
}

.hp-location-hours {
  margin-top: 8px;
  padding: 12px;
  background: var(--cream);
  border-radius: 10px;
}
.hp-location-hours .hp-hours-toolbar {
  padding-bottom: 10px;
  margin-bottom: 8px;
}
.hp-location-hours .hp-hours-row {
  padding: 8px 0;
}
.hp-location-hours .hp-hours-row:last-child { border-bottom: none; }

.hp-location-add {
  padding: 10px 16px;
  border: 1.5px dashed var(--line-strong);
  background: transparent;
  border-radius: 12px;
  color: var(--electric);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
}
.hp-location-add:hover {
  background: rgba(30,107,255,0.04);
  border-color: var(--electric);
}

/* Language picker (searchable) */
.hp-lang-search {
  position: relative;
  margin-bottom: 12px;
}
.hp-lang-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: var(--f-body);
  background: white;
}
.hp-lang-search .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.hp-lang-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  margin-bottom: 10px;
}
.hp-lang-selected:empty::before {
  content: 'Пока не выбрано ни одного языка';
  color: var(--muted);
  font-size: 12.5px;
  padding: 4px 6px;
}
.hp-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.hp-lang-pill .remove {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: inherit;
}
.hp-lang-pill .remove:hover { background: var(--line-strong); color: var(--ink); }

.hp-lang-list {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 4px;
}
.hp-lang-list::-webkit-scrollbar { width: 6px; }
.hp-lang-list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.hp-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  transition: background 0.1s;
}
.hp-lang-option:hover { background: var(--sand); }
.hp-lang-option.selected {
  background: var(--teal-soft);
  color: var(--ocean);
  font-weight: 600;
}
.hp-lang-option .flag { font-size: 16px; width: 22px; }
.hp-lang-option .native { color: var(--muted); font-size: 12px; margin-left: auto; }
.hp-lang-option.selected .native { color: var(--ocean); }
.hp-lang-option.selected::after {
  content: '✓';
  color: var(--ocean);
  font-weight: 700;
  margin-left: 8px;
}

/* ============ Host — Promos tab ============ */
.host-promos {
  padding: 20px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.host-promos-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}
.host-promos-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.host-promos-head .sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}
.host-promos-empty {
  padding: 60px 20px;
  text-align: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--cream);
}
.host-promos-empty h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 6px;
}
.host-promos-empty p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 460px;
  margin: 0 auto 18px;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.promo-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.promo-card-top {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--electric) 100%);
  color: white;
  padding: 20px 22px 18px;
  position: relative;
  overflow: hidden;
}
.promo-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.promo-card-top .status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.16);
  color: white;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}
.promo-card-top .status-pill.paused { background: rgba(232,140,44,0.35); }
.promo-card-top .status-pill.expired { background: rgba(255,255,255,0.10); opacity: 0.7; }
.promo-card .discount {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 6px;
  position: relative;
  z-index: 1;
}
.promo-card .discount .unit {
  font-size: 22px;
  font-weight: 700;
  font-style: normal;
  margin-left: 2px;
  opacity: 0.85;
}
.promo-card .title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14.5px;
  margin: 0;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}
.promo-card-mid {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.promo-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--sand);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  border: 1px dashed var(--line-strong);
  transition: background 0.15s;
  width: fit-content;
}
.promo-code:hover { background: var(--line); }
.promo-code.copied {
  background: var(--teal-soft);
  color: var(--success);
  border-color: var(--success);
}
.promo-card-meta {
  padding: 12px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 12.5px;
}
.promo-card-meta .item .lbl {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 2px;
}
.promo-card-meta .item .v { font-weight: 600; }
.promo-card-actions {
  display: flex;
  gap: 8px;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.promo-card-actions button {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: white;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.promo-card-actions button:hover { background: var(--sand); }
.promo-card-actions button.danger { color: var(--danger); border-color: rgba(209,67,67,0.3); }
.promo-card-actions button.danger:hover { background: rgba(209,67,67,0.08); }

/* ============ Add Bike modal (full-screen wizard) ============ */
.addbike-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade-in 0.15s ease-out;
}
.addbike-modal {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 1080px;
  height: calc(100vh - 40px);
  max-height: 900px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.22s ease-out;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
}
.addbike-side {
  background: var(--cream);
  padding: 32px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.addbike-side-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.addbike-side-h b {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  color: var(--ocean);
  letter-spacing: -0.01em;
  text-transform: none;
  margin-top: 4px;
}
.addbike-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.addbike-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.addbike-step:hover { background: rgba(255,255,255,0.6); color: var(--ink); }
.addbike-step.done { color: var(--ink); }
.addbike-step.done .n { background: var(--success); color: white; border-color: var(--success); }
.addbike-step.active {
  background: var(--ocean);
  color: white;
}
.addbike-step.active .n { background: white; color: var(--ocean); border-color: white; }
.addbike-step .n {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: white;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--f-display);
  flex-shrink: 0;
}
.addbike-side-foot {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.addbike-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.addbike-main-top {
  padding: 20px 32px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.addbike-main-top h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
}
.addbike-body {
  padding: 24px 32px;
  overflow-y: auto;
  flex: 1;
}
.addbike-body::-webkit-scrollbar { width: 8px; }
.addbike-body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }

.addbike-step-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 620px;
}

.addbike-foot {
  padding: 14px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}
.addbike-foot .foot-hint {
  color: var(--muted);
  font-size: 12.5px;
}
.addbike-foot .actions {
  display: flex;
  gap: 10px;
}

/* Fields */
.ab-field { margin-bottom: 16px; }
.ab-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ab-field label .req { color: var(--danger); margin-left: 3px; }
.ab-field input,
.ab-field select,
.ab-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
}
.ab-field input:focus,
.ab-field select:focus,
.ab-field textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.14);
}
.ab-field .hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.ab-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* Step 3: flexible pricing grid + seasonal tariffs */
.ab-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}
.ab-seasons {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
}
.ab-seasons-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.ab-seasons-head h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.ab-seasons-desc { color: var(--muted); font-size: 12.5px; line-height: 1.5; max-width: 440px; }
.ab-season-card {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  background: var(--sand);
}
.ab-season-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ab-season-card-head input[type="text"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  background: white;
}
.ab-season-remove {
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 13px;
  flex-shrink: 0;
}
.ab-season-remove:hover { color: var(--danger); }
.ab-season-months {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.ab-season-month {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: white;
  font-size: 12.5px;
  cursor: pointer;
  color: var(--ink);
  user-select: none;
}
.ab-season-month.on {
  background: var(--electric);
  border-color: var(--electric);
  color: white;
  font-weight: 600;
}
.ab-season-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ab-season-price-grid .ab-field { margin-bottom: 0; }
.ab-season-price-grid .ab-field label { font-size: 10px; }
.ab-season-price-grid .ab-field input { padding: 8px 10px; font-size: 13px; background: white; }
@media (max-width: 640px) {
  .ab-price-grid { grid-template-columns: 1fr 1fr; }
  .ab-season-price-grid { grid-template-columns: 1fr 1fr; }
}

/* Add-vehicle wizard: photo upload (4 fixed slots, one marked primary) */
.ab-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ab-photo-slot {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand);
}
.ab-photo-slot.has-photo { border-style: solid; border-color: var(--line); }
.ab-photo-pick {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
}
.ab-photo-pick:hover { color: var(--ink); }
.ab-photo-slot.has-photo .ab-photo-pick { display: none; }
.ab-photo-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The global `img { display: block }` rule (style.css line ~47) beats the
   UA [hidden] default in specificity, so a hidden preview <img> was still
   laid out full-size and intercepting clicks on the pick button underneath
   it — this is why "Добавить фото" never opened the file picker. Force it
   explicitly instead of relying on cascade order against a base tag rule. */
.ab-photo-preview[hidden],
[data-ab-photo-toolbar][hidden],
[data-ab-review-photo-img][hidden],
[data-ab-review-noimg][hidden] {
  display: none;
}
.ab-photo-toolbar {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
}
.ab-photo-star,
.ab-photo-x {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(10,37,64,0.72);
  color: white;
  font-size: 12px;
  line-height: 1;
}
.ab-photo-star:hover,
.ab-photo-x:hover { background: rgba(10,37,64,0.92); }
.ab-photo-star.on { background: var(--warn, #E6A020); color: white; }
.ab-photo-primary-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(10,37,64,0.8);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Segmented button group */
.ab-seg {
  display: grid;
  gap: 8px;
}
.ab-seg.cols-2 { grid-template-columns: 1fr 1fr; }
.ab-seg.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ab-seg.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ab-seg button {
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ab-seg button:hover { border-color: var(--line-strong); }
.ab-seg button.on {
  border-color: var(--electric);
  background: rgba(30, 107, 255, 0.05);
  color: var(--ink);
  font-weight: 600;
}
.ab-seg button .ico {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.ab-seg button.on .ico { background: var(--teal-soft); color: var(--ocean); }

/* Photo grid */
.ab-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ab-photo-slot {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1.5px dashed var(--line-strong);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  font-size: 11.5px;
  gap: 6px;
  position: relative;
  overflow: hidden;
}
.ab-photo-slot:hover {
  border-color: var(--electric);
  color: var(--electric);
  background: rgba(30,107,255,0.03);
}
.ab-photo-slot.filled {
  border: none;
  padding: 0;
  cursor: default;
}
.ab-photo-slot.filled .photo-preview {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.ab-photo-slot .cover-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ocean);
  color: white;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
}
.ab-photo-slot .del-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(10,37,64,0.7);
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.ab-photo-slot .del-btn:hover { background: rgba(10,37,64,0.9); }
.ab-photo-empty-hint {
  padding: 14px 16px;
  background: rgba(232, 140, 44, 0.08);
  border-radius: 10px;
  color: var(--warn);
  font-size: 12.5px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pricing grid */
.ab-pricing {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ab-pricing:first-of-type { border-top: 1px solid var(--line); }
.ab-pricing .tier-name { font-weight: 500; font-size: 14px; }
.ab-pricing .tier-name .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.ab-pricing .price-input-wrap {
  position: relative;
}
.ab-pricing .price-input-wrap input {
  width: 100%;
  padding: 10px 68px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
  text-align: right;
  font-weight: 600;
}
.ab-pricing .price-input-wrap .suf {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 500;
  font-size: 12.5px;
  pointer-events: none;
}
.ab-pricing .discount {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}
.ab-pricing .discount.good { color: var(--success); font-weight: 600; }

/* Seasonal pricing */
.ab-seasons {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
  margin-bottom: 6px;
}
.ab-seasons-empty {
  padding: 24px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.ab-seasons-empty h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}
.ab-seasons-empty p {
  margin: 0 auto;
  max-width: 380px;
  font-size: 12.5px;
}

.ab-season {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}
.ab-season:last-child { border-bottom: none; }
.ab-season-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 8px;
  align-items: end;
}
.ab-season-fields > div { display: flex; flex-direction: column; gap: 4px; }
.ab-season-fields label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ab-season-fields input,
.ab-season-fields select {
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: var(--f-body);
  width: 100%;
  background: white;
}
.ab-season-rate {
  display: grid;
  grid-template-columns: 1fr 44px 32px;
  gap: 0;
}
.ab-season-rate input {
  border-radius: 8px 0 0 8px;
  border-right: none;
  padding-right: 4px;
  text-align: right;
  font-weight: 600;
}
.ab-season-rate .rate-unit {
  border: 1px solid var(--line-strong);
  border-left: none;
  border-right: none;
  background: var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.ab-season-rate .rate-kind-toggle {
  border: 1px solid var(--line-strong);
  border-left: none;
  background: white;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--electric);
  padding: 0;
}
.ab-season-rate .rate-kind-toggle:hover { background: var(--sand); }

.ab-season-preview {
  padding: 8px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  grid-column: 1 / -1;
}
.ab-season-preview b {
  color: var(--ink);
  font-weight: 700;
}
.ab-season-preview .up { color: var(--warn); }
.ab-season-preview .down { color: var(--success); }

.ab-season-del {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: var(--danger);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}
.ab-season-del:hover { background: rgba(209, 67, 67, 0.06); }

/* Availability */
.ab-blocked-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.ab-blocked-row:last-child { border-bottom: none; }
.ab-blocked-row input {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: var(--f-body);
  width: 100%;
}
.ab-blocked-row .del {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--danger);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ab-blocked-row .del:hover { background: rgba(209, 67, 67, 0.05); }
.ab-add-btn {
  padding: 8px 14px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  border-radius: 10px;
  color: var(--electric);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ab-add-btn:hover { background: rgba(30, 107, 255, 0.04); }

/* Toggle switch */
.ab-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}
.ab-toggle .info { flex: 1; }
.ab-toggle .info .t { font-weight: 600; font-size: 13.5px; }
.ab-toggle .info .d { color: var(--muted); font-size: 12px; margin-top: 2px; }
.ab-toggle .switch {
  width: 40px; height: 22px;
  border-radius: 999px;
  background: var(--line-strong);
  position: relative;
  transition: background 0.15s;
  flex-shrink: 0;
}
.ab-toggle .switch::after {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 3px; left: 3px;
  transition: left 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.ab-toggle.on .switch { background: var(--electric); }
.ab-toggle.on .switch::after { left: 21px; }

/* Checkable card (for includes) */
.ab-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 8px;
}
.ab-check:hover { border-color: var(--line-strong); }
.ab-check.on {
  border-color: var(--electric);
  background: rgba(30,107,255,0.04);
}
.ab-check .box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
}
.ab-check.on .box {
  background: var(--electric);
  border-color: var(--electric);
  color: white;
}
.ab-check .label { font-weight: 500; font-size: 14px; }

/* Review card */
.ab-review-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  max-width: 720px;
}
.ab-review-hero {
  aspect-ratio: 4/3;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.ab-review-body {
  padding: 20px 24px;
}
.ab-review-body h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.ab-review-meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ab-review-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ab-review-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0;
}
.ab-review-price .amt {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.ab-review-price .per { color: var(--muted); font-size: 13.5px; }

/* ============ Date range picker (popover calendar) ============ */
.drp-wrap {
  position: relative;
}
.drp-trigger {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-align: left;
}
.drp-trigger:hover { border-color: var(--muted); }
.drp-trigger.placeholder { color: var(--muted); }
.drp-trigger .arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

.drp-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(10,37,64,0.15);
  padding: 16px;
  min-width: 320px;
  max-width: 380px;
  animation: drp-in 0.14s ease-out;
}
@keyframes drp-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.drp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.drp-nav {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 12px;
}
.drp-nav:hover { background: var(--sand); }
.drp-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.drp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.drp-weekdays span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 0;
}
.drp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.drp-cell {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.1s;
}
.drp-cell:hover:not(.disabled):not(.blank) { background: var(--sand); }
.drp-cell.blank { pointer-events: none; visibility: hidden; }
.drp-cell.other-month { color: var(--line-strong); }
.drp-cell.disabled {
  color: var(--line-strong);
  cursor: not-allowed;
  pointer-events: none;
}
.drp-cell.today {
  font-weight: 700;
  color: var(--electric);
}
.drp-cell.today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--electric);
}
.drp-cell.in-range {
  background: rgba(30,107,255,0.10);
  border-radius: 0;
}
.drp-cell.range-start {
  background: var(--electric);
  color: white;
  border-radius: 8px 0 0 8px;
}
.drp-cell.range-end {
  background: var(--electric);
  color: white;
  border-radius: 0 8px 8px 0;
}
.drp-cell.range-single {
  background: var(--electric);
  color: white;
  border-radius: 8px;
}
.drp-cell.today.in-range::after,
.drp-cell.today.range-start::after,
.drp-cell.today.range-end::after { background: white; }

.drp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.drp-summary {
  font-size: 12px;
  color: var(--muted);
}
.drp-summary b { color: var(--ink); font-weight: 600; }
.drp-summary .days {
  color: var(--electric);
  font-weight: 600;
  margin-left: 6px;
}
.drp-actions { display: flex; gap: 6px; }
.drp-actions button {
  padding: 7px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.drp-actions .clear {
  background: white;
  color: var(--muted);
  border: 1px solid var(--line);
}
.drp-actions .clear:hover { color: var(--ink); }
.drp-actions .apply {
  background: var(--electric);
  color: white;
}
.drp-actions .apply:hover { background: #1859D5; }
.drp-actions .apply:disabled { opacity: 0.5; cursor: not-allowed; }

.drp-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.drp-presets button {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-family: inherit;
  font-size: 11.5px;
  cursor: pointer;
  color: var(--muted);
}
.drp-presets button:hover { color: var(--ink); background: var(--sand); }

/* Promo modal (create/edit) */
.promo-modal-form { display: flex; flex-direction: column; gap: 14px; }
.promo-modal-form .field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.promo-modal-form input,
.promo-modal-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
  background: white;
}
.promo-modal-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.promo-discount-input {
  display: flex;
  gap: 0;
}
.promo-discount-input input {
  border-radius: 10px 0 0 10px;
  border-right: none;
}
.promo-discount-input .unit-toggle {
  display: flex;
  border: 1px solid var(--line-strong);
  border-left: none;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
}
.promo-discount-input .unit-toggle button {
  padding: 0 14px;
  border: none;
  background: white;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-left: 1px solid var(--line);
}
.promo-discount-input .unit-toggle button.on {
  background: var(--ocean);
  color: white;
}

.fleet-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 100px 100px 100px;
  gap: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}
.fleet-photo {
  width: 80px; height: 60px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.status-pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}
.status-pill.available { background: var(--teal-soft); color: var(--success); }
.status-pill.rented { background: rgba(30,107,255,0.1); color: var(--electric); }
.status-pill.maintenance { background: rgba(232,140,44,0.12); color: var(--warn); }

/* SEO landing */
.seo-landing {
  padding: 0;
}
.seo-hero {
  padding: 40px 60px;
  background: var(--cream);
}
.seo-hero h1 {
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  font-size: 48px; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 12px;
  max-width: 800px;
  color: var(--ocean);
}
.seo-hero h1 em { color: var(--electric); font-style: italic; }
.seo-hero p.intro { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 720px; margin: 0; }
.seo-body {
  padding: 40px 60px;
  max-width: 1100px;
}
.seo-body h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: 24px; letter-spacing: -0.02em;
  margin: 40px 0 16px;
}
.seo-body p { font-size: 15px; line-height: 1.7; color: var(--ink); }
.seo-faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.seo-faq summary {
  font-weight: 600;
  font-size: 15px;
  padding: 4px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.seo-faq summary::after { content: '+'; font-size: 24px; color: var(--muted); font-weight: 300; }
.seo-faq details[open] summary::after { content: '−'; }
.seo-faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ Mobile section (preview page) ============ */
.mobile-section {
  padding: 48px 40px 100px;
  background: var(--sand);
  margin-top: 0;
}
.mobile-section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.mobile-section h2 {
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  font-size: 40px; letter-spacing: -0.03em; margin: 0 0 10px;
  color: var(--ocean);
}
.mobile-section h2 em { color: var(--electric); font-style: italic; }
.mobile-section p { color: var(--muted); font-size: 15px; margin: 0; }
.phones-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.mobile-screen-picker {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.mobile-screen-picker button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mobile-screen-picker button:hover { background: var(--cream); }
.mobile-screen-picker button.active {
  background: var(--ocean);
  color: white;
  border-color: var(--ocean);
}

/* Mobile screens — common patterns */
.m-page {
  background: white;
  min-height: 100%;
  padding-bottom: 92px; /* room for bottom nav */
  color: var(--ink);
  font-family: var(--f-body);
}
.m-topbar {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.m-topbar .icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.m-topbar .icon-btn:hover { background: var(--line-strong); }
.m-topbar .title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-topbar .subtitle {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Mobile bottom nav */
.m-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--line);
  padding: 8px 0 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 4;
}
.m-nav button {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--f-body);
}
.m-nav button.active { color: var(--electric); }

/* Mobile section titles */
.m-section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  padding: 20px 16px 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.m-section-sub {
  font-size: 12.5px;
  color: var(--muted);
  padding: 0 16px 12px;
}
.m-section-title .all {
  font-size: 12px;
  color: var(--electric);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* Bike card mobile */
.m-bike {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}
.m-bike .photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
}
.m-bike .badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.m-bike .badge-pill {
  background: white;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.m-bike .fav {
  background: rgba(10,37,64,0.35);
  color: white;
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.m-bike .info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px;
}
.m-bike .info .top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
}
.m-bike .info .name { font-weight: 600; }
.m-bike .info .rating { display: inline-flex; align-items: center; gap: 3px; }
.m-bike .info .meta { color: var(--muted); font-size: 12px; }
.m-bike .info .price { margin-top: 3px; font-size: 13px; }
.m-bike .info .price b { font-weight: 700; }

/* Sticky bottom bar (bike + checkout) */
.m-sticky-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--line);
  padding: 12px 16px 26px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 4;
}
.m-sticky-bar .left {
  flex: 1;
  min-width: 0;
}
.m-sticky-bar .left .price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.m-sticky-bar .left .price .per {
  color: var(--muted);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
}
.m-sticky-bar .left .p2 {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.m-sticky-bar .cta {
  background: var(--electric);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--f-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.m-sticky-bar .cta:hover { background: #1859D5; }

/* Bottom sheet */
.m-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,37,64,0.5);
  z-index: 10;
  animation: fade-in 0.15s;
}
.m-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 24px 24px 0 0;
  padding: 20px 20px 30px;
  max-height: 80%;
  overflow-y: auto;
  z-index: 11;
  animation: sheet-in 0.2s ease-out;
}
@keyframes sheet-in {
  from { transform: translateY(30%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.m-sheet-grabber {
  width: 40px; height: 4px;
  background: var(--line-strong);
  border-radius: 4px;
  margin: 0 auto 14px;
}
.m-sheet-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.m-sheet-h h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0;
}
.m-sheet-h .close {
  background: var(--sand);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.m-sheet-foot {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.m-sheet-foot .reset {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: white;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--f-body);
}
.m-sheet-foot .apply {
  flex: 2;
  padding: 12px;
  border: none;
  background: var(--ocean);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--f-body);
}
.m-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-sheet-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  width: 100%;
}
.m-sheet-item:hover { background: var(--sand); }
.m-sheet-item.sel { background: var(--teal-soft); color: var(--ocean); font-weight: 600; }
.m-sheet-item .count { color: var(--muted); font-size: 12px; }
.m-sheet-item.sel .count { color: var(--ocean); }
.m-sheet-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.m-sheet-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: white;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.m-sheet-chip.sel {
  background: var(--ocean);
  color: white;
  border-color: var(--ocean);
}
.m-sheet-range {
  display: flex;
  gap: 10px;
}
.m-sheet-range > div { flex: 1; }
.m-sheet-range label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.m-sheet-range input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
  background: white;
}

/* Mobile field */
.m-field {
  padding: 0 16px 14px;
}
.m-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.m-field input,
.m-field select,
.m-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 14px;
  font-family: var(--f-body);
  color: var(--ink);
  background: white;
}
.m-field input:focus,
.m-field select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(30,107,255,0.14);
}
.m-field .hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============ Footer ============ */
.footer {
  background: var(--ocean);
  color: white;
  padding: 60px 40px 30px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer h5 {
  font-family: var(--f-display); font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: white; font-size: 13.5px; opacity: 0.85; }
.footer ul a:hover { opacity: 1; text-decoration: underline; }
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 280px;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 12.5px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-apps {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-apps .apps-label {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  margin-right: 4px;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  color: white;
  font-family: inherit;
  transition: background 0.15s;
  cursor: default;
  user-select: none;
}
.app-badge.disabled {
  opacity: 0.65;
}
.app-badge:hover:not(.disabled) {
  background: rgba(255,255,255,0.08);
}
.app-badge svg { flex-shrink: 0; }
.app-badge > div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.app-badge .small {
  font-size: 9.5px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.app-badge .big {
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
  margin-top: 1px;
}
@media (max-width: 720px) {
  .footer-apps { flex-wrap: wrap; }
  .footer-apps .apps-label { width: 100%; margin-bottom: 4px; }
}

/* ============ Scroll fix ============ */
.split-list::-webkit-scrollbar { width: 8px; }
.split-list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }
