/* Chauffeur hub — premium pre-booked travel (distinct from Taxi amber ride-hailing) */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Figtree:wght@400;500;600;700&display=swap");

:root {
  --ch-ink: #12141a;
  --ch-slate: #2a2f3a;
  --ch-gold: #c4a35a;
  --ch-gold-deep: #9a7b3c;
  --ch-surface: #eef0f4;
  --ch-card: #ffffff;
  --ch-line: #d5dae3;
  --ch-muted: #5c6573;
  --ch-ok: #1f6f5b;
}

body.chauffeur-page {
  font-family: Figtree, "Segoe UI", sans-serif;
  background: var(--ch-surface);
  color: var(--ch-ink);
}

body.chauffeur-page .svc-hero {
  background:
    linear-gradient(115deg, rgba(18, 20, 26, 0.94) 0%, rgba(42, 47, 58, 0.86) 52%, rgba(18, 20, 26, 0.78) 100%),
    url("/images/category-real/chauffeur-luxury.jpg") center/cover no-repeat !important;
  text-align: center;
}

body.chauffeur-page .svc-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

body.chauffeur-page .svc-hero-title {
  font-family: Outfit, Figtree, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  text-align: center;
}

body.chauffeur-page .ch-hero-lead {
  max-width: 40rem;
  margin: 0.35rem 0 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.45;
}

body.chauffeur-page .svc-hero-search-stack {
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
}

body.chauffeur-page .svc-kind-pills {
  justify-content: flex-start !important;
}

.ch-book-panel {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  color: var(--ch-ink);
}

.ch-book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr 0.9fr auto;
  gap: 10px;
  align-items: end;
}

.ch-book-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ch-muted);
  margin-bottom: 6px;
}

.ch-book-field input,
.ch-book-field select {
  width: 100%;
  border: 1px solid var(--ch-line);
  border-radius: 11px;
  padding: 11px 12px;
  font-size: 0.94rem;
  background: #fff;
  color: var(--ch-ink);
}

.ch-book-field input:focus,
.ch-book-field select:focus {
  outline: 2px solid rgba(196, 163, 90, 0.45);
  border-color: var(--ch-gold);
}

.ch-book-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ch-btn-primary,
.ch-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  padding: 12px 15px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.ch-btn-primary {
  background: var(--ch-gold);
  color: #1a1408;
}

.ch-btn-primary:hover {
  background: var(--ch-gold-deep);
  color: #fff;
  text-decoration: none;
}

.ch-btn-secondary {
  background: var(--ch-ink);
  color: #fff;
}

.ch-btn-secondary:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

body.chauffeur-page .listings-section {
  padding: 28px 0 48px;
  background: transparent;
}

body.chauffeur-page .main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

body.chauffeur-page .filter-panel {
  background: var(--ch-card);
  border: 1px solid var(--ch-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(18, 20, 26, 0.05);
  padding: 18px;
  height: fit-content;
  position: sticky;
  top: 96px;
}

body.chauffeur-page .btn-apply {
  width: 100%;
  background: var(--ch-ink);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 11px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
}

.ch-listings-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ch-listings-head h2,
.ch-listings-head h3 {
  font-family: Outfit, Figtree, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--ch-ink);
}

.ch-listings-head p {
  margin: 4px 0 0;
  color: var(--ch-muted);
  font-size: 0.9rem;
}

body.chauffeur-page .driver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.ch-card {
  background: var(--ch-card);
  border: 1px solid var(--ch-line);
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(18, 20, 26, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ch-card:hover {
  transform: translateY(-3px);
  border-color: #c5cad4;
  box-shadow: 0 16px 30px rgba(18, 20, 26, 0.1);
  text-decoration: none;
  color: inherit;
}

.ch-card-photo {
  height: 160px;
  background: linear-gradient(135deg, #d8dde6, #c3cad6);
  overflow: hidden;
  position: relative;
}

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

.ch-card-kind {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(18, 20, 26, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}

.ch-card-body { padding: 14px 14px 16px; }

.ch-card-name {
  font-family: Outfit, Figtree, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.ch-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.ch-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #e8ebf1;
  color: #334155;
}

.ch-badge.verified { background: #dbeafe; color: #1d4ed8; }
.ch-badge.class { background: #f5edd8; color: #7a5c1e; }

.ch-card-meta {
  font-size: 0.84rem;
  color: var(--ch-muted);
  line-height: 1.4;
  margin-bottom: 6px;
}

.ch-card-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ch-ok);
  margin-bottom: 10px;
}

.ch-card-price.is-empty {
  color: var(--ch-muted);
  font-weight: 600;
}

.ch-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.ch-card-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ch-ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.ch-card-cta-secondary {
  color: var(--ch-slate);
  font-size: 0.78rem;
  font-weight: 700;
}

.ch-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--ch-muted);
  background: var(--ch-card);
  border: 1px dashed var(--ch-line);
  border-radius: 16px;
}

.ch-empty a {
  color: var(--ch-ink);
  font-weight: 700;
}

@media (max-width: 992px) {
  body.chauffeur-page .main-layout { grid-template-columns: 1fr; }
  body.chauffeur-page .filter-panel { position: static; }
  .ch-book-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ch-book-grid { grid-template-columns: 1fr; }
  .ch-book-actions { width: 100%; }
  .ch-book-actions .ch-btn-primary,
  .ch-book-actions .ch-btn-secondary { flex: 1; }
  body.chauffeur-page .driver-grid { grid-template-columns: 1fr; }
}
