/* ═══════════════════════════════════════════════════════════
   DreemLimo Fleet Pages — Shared Styles v1
   ═══════════════════════════════════════════════════════════ */

/* Zero the top/bottom padding on page h3 headings (e.g. the Avada "SHOWROOM" title) on
   the fleet pages this stylesheet loads on. */
h3 { padding-top: 0 !important; padding-bottom: 0 !important; }

/* ── Reset & Variables ── */
.dlf-root *, .dlf-root *::before, .dlf-root *::after { box-sizing: border-box; margin: 0; padding: 0; }
.dlf-root {
  --dlf-font: 'Outfit', system-ui, -apple-system, sans-serif;
  --dlf-accent: #e8740c;
  --dlf-accent-hover: #d06200;
  --dlf-primary: #1a1a1a;
  --dlf-bg: #ffffff;
  --dlf-card-bg: #fff;
  --dlf-border: #e0e0e0;
  --dlf-muted: #999;
  --dlf-light: #f9fafb;
  --dlf-radius: 10px;
  /* Global "corner style" token for boxes/inputs/buttons/panels/popups (NOT cards or
     pills — cards keep --dlf-card-radius, pills stay 999px). Default 0 = square, the
     current look; the fleet Corners setting overrides it (Square/Rounded/Custom). */
  --dlf-corner: 0;
  --dlf-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --dlf-shadow-lg: 0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.05);
  --dlf-max-width: 1280px;
  font-family: var(--dlf-font);
  color: var(--dlf-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 10;
}

/* Fix: Avada/Fusion Builder absolute-positioned containers overlay page content and block clicks.
   Make the overlay pass-through, but keep its interactive children (links, buttons) clickable. */
.fusion-absolute-container { pointer-events: none !important; }
.fusion-absolute-container a,
.fusion-absolute-container button,
.fusion-absolute-container input,
.fusion-absolute-container select,
.fusion-absolute-container textarea,
.fusion-absolute-container [onclick] { pointer-events: auto !important; }

/* ── Spinner ── */
.dlf-spinner { width: 32px; height: 32px; border: 3px solid var(--dlf-border); border-top-color: var(--dlf-accent); border-radius: 50%; animation: dlf-spin .7s linear infinite; margin: 0 auto 12px; }
@keyframes dlf-spin { to { transform: rotate(360deg) } }
.dlf-loading { text-align: center; padding: 60px 20px; color: var(--dlf-muted); font-size: 14px; }

/* ════════════════════════════════════════════════════════════
   FLEET LISTING PAGE
   ════════════════════════════════════════════════════════════ */

.dlf-fleet { max-width: var(--dlf-max-width); margin: 0 auto; display: flex; gap: 28px; padding: 0 16px; }

/* ── Sidebar ── */
.dlf-sidebar { width: 260px; flex-shrink: 0; }
.dlf-sidebar-inner { position: sticky; top: 20px; }
.dlf-filter-section { margin-bottom: 24px; }
.dlf-search-section { margin-bottom: 20px; }
.dlf-search-wrap { position: relative; }
.dlf-search-wrap .dlf-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #999; pointer-events: none; z-index: 1; }
/* Scoped to .dlf-root (added by mountMenu) so these rules apply equally in the
   legacy integrated layout (where .dlf-fleet wraps everything) and the new
   standalone menu layout (no .dlf-fleet wrapper, just .dlf-mount-menu-standalone). */
.dlf-root .dlf-search-wrap input.dlf-search-input,
.dlf-root .dlf-search-wrap input.dlf-search-input[type="text"],
.dlf-root .dlf-search-wrap input.dlf-search-input[type="search"] {
  width: 100% !important; padding: 9px 12px 9px 38px !important; font-size: 13px !important; border: 1px solid var(--dlf-border, #e0e0e0) !important;
  border-radius: var(--dlf-corner, 0) !important; background: #fff !important; outline: none !important; box-sizing: border-box !important;
  transition: border-color .2s, box-shadow .2s; text-indent: 0 !important; margin: 0 !important;
  -webkit-appearance: none !important; appearance: none !important;
}
.dlf-root .dlf-search-input::-webkit-search-cancel-button,
.dlf-root .dlf-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.dlf-root .dlf-search-wrap input.dlf-search-input:focus { border-color: var(--dlf-accent, #e8740c) !important; box-shadow: 0 0 0 3px rgba(232,116,12,.1) !important; }
.dlf-root .dlf-search-wrap input.dlf-search-input::placeholder { color: #aaa !important; }
/* Filter section titles (Vehicle Type / Color / Passengers) match the detail-page
   section labels ("Features & Amenities" / "Select Your Service") EXACTLY — same
   --dlf-seclabel-* vars, same defaults, same color (no legacy override).
   !important keeps the mobile theme (Avada) from repainting them blue. */
.dlf-filter-title {
  font-family: var(--dlf-seclabel-font, inherit);
  font-size: var(--dlf-seclabel-size, 13px);
  font-weight: var(--dlf-seclabel-weight, 600);
  text-transform: var(--dlf-seclabel-transform, uppercase);
  letter-spacing: var(--dlf-seclabel-ls, 1.5px);
  color: var(--dlf-seclabel-color, #1a1a2e) !important;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.dlf-filter-title svg { width: 15px; height: 15px; opacity: .6; }

/* Checkbox filters */
.dlf-sidebar-filters { font-family: var(--dlf-filter-font, inherit); }
.dlf-filter-opt {
  display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer;
  font-size: var(--dlf-filter-size, 14px); font-weight: var(--dlf-filter-weight, 400);
  transition: color .15s;
  /* Pin the color — mobile theme stylesheets (Avada) otherwise paint these <label>s their link/blue. */
  color: var(--dlf-filter-label-color, var(--dlf-primary, #1a1a2e)) !important;
}
.dlf-filter-opt:hover { color: var(--dlf-filter-hover-color, var(--dlf-accent)) !important; }
.dlf-filter-opt input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--dlf-accent); cursor: pointer; flex-shrink: 0;
}
.dlf-filter-count {
  margin-left: auto; font-size: 12px; color: var(--dlf-count-color, var(--dlf-muted)); background: var(--dlf-count-bg, var(--dlf-light));
  padding: 1px 7px; border-radius: 10px; min-width: 22px; text-align: center;
}

/* Color swatch filters */
.dlf-color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.dlf-color-swatch {
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--dlf-border); transition: all .15s; position: relative;
}
.dlf-color-swatch:hover { transform: scale(1.15); }
.dlf-color-swatch.active { border-color: var(--dlf-accent); box-shadow: 0 0 0 2px var(--dlf-accent); }
.dlf-color-swatch.active::after {
  content: '✓'; position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

/* Passenger slider */
.dlf-range-wrap { padding: 4px 0; }
.dlf-range-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--dlf-muted); margin-bottom: 6px; }
.dlf-range-val { font-weight: 600; color: var(--dlf-primary); }
.dlf-range {
  width: 100%; height: 4px; -webkit-appearance: none; appearance: none;
  background: var(--dlf-border); border-radius: 4px; outline: none; cursor: pointer;
}
.dlf-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--dlf-accent); border: 2px solid #fff; box-shadow: var(--dlf-shadow); cursor: pointer;
}
.dlf-range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--dlf-accent); border: 2px solid #fff; box-shadow: var(--dlf-shadow); cursor: pointer;
}

/* Clear filters */
.dlf-clear-filters {
  display: none; font-size: 13px; color: var(--dlf-accent) !important; cursor: pointer;
  background: none; border: none; font-family: inherit; padding: 6px 0; font-weight: 500;
  white-space: nowrap;
}
.dlf-clear-filters.visible { display: inline-flex; align-items: center; gap: 6px; }
.dlf-clear-filters:hover { text-decoration: underline; }
.dlf-clear-filters svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Mobile filter toggle */
.dlf-mobile-filter-btn {
  display: none; width: 100%; padding: 10px 16px; border: 1px solid var(--dlf-border);
  border-radius: var(--dlf-radius); background: var(--dlf-card-bg); font-family: inherit;
  font-size: 14px; font-weight: 500; cursor: pointer; margin-bottom: 16px;
  align-items: center; justify-content: center; gap: 8px;
  /* Pin color — text + hamburger SVG (currentColor) otherwise inherit Avada's mobile link/blue. */
  color: var(--dlf-primary, #1a1a2e) !important;
}
.dlf-mobile-filter-btn svg { width: 16px; height: 16px; }

/* ── Main Grid ── */
.dlf-main { flex: 1; min-width: 0; }

/* Toolbar */
.dlf-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.dlf-result-count { font-size: 14px; color: var(--dlf-muted); }
.dlf-result-count strong { color: var(--dlf-primary); font-weight: 600; }
.dlf-sort-wrap { display: flex; align-items: center; gap: 8px; }
.dlf-sort-label { font-size: 13px; color: var(--dlf-muted); }
.dlf-sort {
  padding: 6px 12px; border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0);
  font-family: inherit; font-size: 13px; background: var(--dlf-card-bg); cursor: pointer;
  color: var(--dlf-primary) !important;
}

/* Grid */
.dlf-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--dlf-card-gap, 24px);
}

/* When [columns="N"] / data-columns / data-max-columns is set, the JS stamps
   the inner .dlf-grid with data-cols="N". These rules produce exactly N columns
   on desktop and collapse on narrow viewports (handled by the breakpoints at the
   bottom of this block). minmax(0,1fr) is used instead of a pixel floor so the
   requested column count is always honored — earlier a max(260px,…) floor would
   silently drop high counts to 2 inside the integrated (sidebar) layout. */
.dlf-grid[data-cols="1"] { grid-template-columns: 1fr; }
.dlf-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dlf-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dlf-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dlf-grid[data-cols="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dlf-grid[data-cols="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Graceful collapse for any explicit column count. Tablet → max 3, small
   tablet/large phone → 2, phone → 1. Applies only when data-cols is set so the
   default auto-fill grid (no data-cols) keeps its own responsive behavior. */
@media (max-width: 1100px) {
  .dlf-grid[data-cols="4"],
  .dlf-grid[data-cols="5"],
  .dlf-grid[data-cols="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .dlf-grid[data-cols="3"],
  .dlf-grid[data-cols="4"],
  .dlf-grid[data-cols="5"],
  .dlf-grid[data-cols="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dlf-grid[data-cols] { grid-template-columns: 1fr; }
}

/* Vehicle card */
.dlf-card {
  background: var(--dlf-card-bg); border-radius: var(--dlf-card-radius, var(--dlf-radius)); overflow: hidden;
  /* !important: the card is an <a>; host themes (Avada/Fusion) border links and would
     otherwise win the border-color longhand. Same pattern as the search-input override. */
  border: var(--dlf-card-border-w, 2px) solid var(--dlf-card-border-color, transparent) !important;
  box-shadow: var(--dlf-shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer; display: flex; flex-direction: column;
  /* The card is an <a> — reset link styling so the title/specs don't inherit the
     browser's blue underline on hosts that don't reset it (and so it renders right
     in the settings preview iframe). */
  text-decoration: none; color: var(--dlf-primary, #1a1a2e);
}
.dlf-card:hover { border-color: var(--dlf-card-hover-border, var(--dlf-card-border-color, transparent)) !important; }

.dlf-card-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--dlf-light); }
.dlf-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dlf-card:hover .dlf-card-img { transform: scale(1.06); }
.dlf-card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--dlf-border); font-size: 48px;
}
.dlf-card-badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px;
  background: var(--dlf-badge-bg, rgba(0,0,0,.65)); color: var(--dlf-badge-color, #fff);
  font-family: var(--dlf-badge-font, inherit); font-size: var(--dlf-badge-size, 11px); font-weight: 500;
  text-transform: var(--dlf-badge-transform, none);
  border-radius: 20px; backdrop-filter: blur(4px);
}
.dlf-card-img-count {
  position: absolute; bottom: 10px; right: 10px; padding: 3px 9px;
  background: rgba(0,0,0,.6); color: #fff; font-size: 11px;
  border-radius: 6px; display: flex; align-items: center; gap: 4px; backdrop-filter: blur(4px);
}
.dlf-card-img-count svg { width: 13px; height: 13px; }

.dlf-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.dlf-card-name { font-family: var(--dlf-card-title-font, inherit); font-size: var(--dlf-card-title-size, 17px); font-weight: var(--dlf-card-title-weight, 600); color: var(--dlf-card-title-color, inherit); text-transform: var(--dlf-card-title-transform, none); margin-bottom: 6px; line-height: 1.3; transition: color .15s; }
.dlf-card:hover .dlf-card-name { color: var(--dlf-card-title-hover-color, var(--dlf-card-title-color, inherit)); }
.dlf-card-specs {
  display: flex; gap: 14px; font-size: 13px; color: #555; margin-bottom: 10px;
}
.dlf-card-specs span { display: flex; align-items: center; gap: 4px; }
.dlf-card-specs svg { width: 14px; height: 14px; }
.dlf-card-desc {
  font-size: 13px; color: var(--dlf-card-muted, var(--dlf-muted)); line-height: 1.5;
  display: var(--dlf-excerpt-display, -webkit-box); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 14px; flex: 1;
}
.dlf-card-footer {
  /* margin-top:auto pins the footer to the bottom of the (grid-stretched, equal-height)
     card so the View Details row lines up across every card in a row regardless of how
     many lines the title/specs/excerpt take. */
  margin-top: auto;
  display: flex; align-items: center; justify-content: var(--dlf-vd-justify, space-between);
  padding-top: 12px; border-top: 1px solid var(--dlf-border);
}
.dlf-card-price { font-size: 13px; color: var(--dlf-muted); }
.dlf-card-price strong { font-family: var(--dlf-price-font, inherit); color: var(--dlf-price-color, var(--dlf-accent)); font-size: var(--dlf-price-size, 16px); font-weight: var(--dlf-price-weight, 700); }
/* Occasion-scoped grid: vehicle has no price row for the occasion → enquiry */
.dlf-card-cfp { font-size: 12px; font-weight: 600; color: var(--dlf-muted); }

/* ── Toolbar date box (show_date) ── */
.dlf-toolbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dlf-date-box { display: flex; align-items: center; gap: 6px; }
.dlf-date-box > label { font-size: 13px; color: var(--dlf-muted); }
.dlf-date-input {
  padding: 6px 10px; border: 1px solid var(--dlf-border); border-radius: 6px;
  font-family: inherit; font-size: 13px; background: var(--dlf-card-bg); color: var(--dlf-primary); cursor: pointer;
}
.dlf-date-clear {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
  border: none; background: none; color: var(--dlf-muted); cursor: pointer; border-radius: 50%;
}
.dlf-date-clear:hover { background: var(--dlf-light); color: var(--dlf-primary); }
.dlf-date-clear svg { width: 13px; height: 13px; }

/* ── Price-list calculator bar (airport / p2p / date) ── */
.dlf-calc {
  max-width: var(--dlf-max-width); margin: 0 auto 18px; padding: 16px 18px;
  background: var(--dlf-card-bg, #fff); border: 1px solid var(--dlf-border);
  border-radius: var(--dlf-corner, 0); box-shadow: var(--dlf-shadow);
}
.dlf-calc-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--dlf-muted); text-align: center; margin-bottom: 12px;
}
.dlf-calc-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }

/* ── Rate finder: chrome-less inline toolbar ── */
/* No card border/shadow/box — the occasion picker and the chosen occasion's
   fields sit on one wrapping row, like a search-filter strip. */
.dlf-calc-finder {
  max-width: var(--dlf-max-width); margin: 0 auto 18px;
  background: transparent; border: 0; box-shadow: none; padding: 0;
}
/* Occasion picker gets a touch more room + presence than the calc fields. */
/* Occasion picker matches the other fields exactly (same font/weight/color).
   flex-grow:0 + a max-width so it stays a normal-sized control instead of
   stretching to fill the whole row when it's the only field (which made the
   native dropdown open absurdly wide). */
.dlf-calc-finder .dlf-finder-occ { flex: 0 1 200px; min-width: 150px; max-width: 240px; }
/* Before an occasion is picked the dropdown is the only control — center it. */
.dlf-calc-finder.dlf-finder-solo .dlf-calc-row { justify-content: center; }
.dlf-calc-finder.dlf-finder-solo .dlf-finder-occ { text-align: center; }

/* ── Occasion picker: chips / combobox (see OCC_PICKER in dl-fleet.js) ── */
/* Chips + combobox take their own full-width row; the occasion's fields drop below. */
.dlf-occ-mode-chips .dlf-finder-occ { flex: 1 1 100%; max-width: none; }
.dlf-occ-mode-combobox .dlf-finder-occ { flex: 0 1 340px; max-width: 360px; min-width: 220px; }
.dlf-occ-mode-chips.dlf-finder-solo .dlf-occ-chips { justify-content: center; }

.dlf-occ-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dlf-occ-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
  border: 1px solid var(--dlf-border); background: var(--dlf-card-bg); color: var(--dlf-primary);
  font-family: inherit; font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.dlf-occ-chip svg { width: 15px; height: 15px; }
.dlf-occ-chip:hover { border-color: var(--dlf-accent); }
.dlf-occ-chip.on { background: var(--dlf-accent); border-color: var(--dlf-accent); color: #fff; }

.dlf-occ-combo { position: relative; }
.dlf-occ-combo-field { display: flex; align-items: center; gap: 8px; border: 1px solid var(--dlf-border); background: #fff; padding: 0 10px; }
.dlf-occ-combo.open .dlf-occ-combo-field { border-color: var(--dlf-accent); }
.dlf-occ-combo-ico { display: inline-flex; width: 15px; height: 15px; color: #999; flex-shrink: 0; }
.dlf-occ-combo-input { flex: 1; border: none; outline: none; padding: 10px 4px; font-family: inherit; font-size: 14px; background: transparent; color: var(--dlf-primary); min-width: 0; }
.dlf-occ-combo-caret { display: inline-flex; width: 11px; height: 11px; color: #999; transform: rotate(90deg); transition: transform .15s; flex-shrink: 0; }
.dlf-occ-combo.open .dlf-occ-combo-caret { transform: rotate(-90deg); }
.dlf-occ-combo-list {
  display: none; margin-top: 4px; background: #fff; border: 1px solid var(--dlf-border);
  max-height: 300px; overflow: auto;
}
.dlf-occ-combo.open .dlf-occ-combo-list { display: block; }
.dlf-occ-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px;
  border: none; background: none; font-family: inherit; font-size: 14px; color: var(--dlf-primary);
  cursor: pointer; text-align: left;
}
.dlf-occ-opt svg { width: 15px; height: 15px; color: var(--dlf-muted); flex-shrink: 0; }
.dlf-occ-opt:hover, .dlf-occ-opt.on { background: var(--dlf-light, #f4f4f4); }

/* Mobile: tighter chips, centered — a neat 2-row block instead of a ragged left edge. */
@media (max-width: 640px) {
  .dlf-occ-chips { justify-content: center; gap: 7px; }
  .dlf-occ-chip { padding: 7px 13px; font-size: 13px; gap: 6px; }
  .dlf-occ-chip svg { width: 14px; height: 14px; }
}

/* Smooth reveal of the occasion's fields once one is chosen. */
@keyframes dlf-field-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dlf-calc-row .dlf-calc-field:not(.dlf-finder-occ) { animation: dlf-field-in .25s ease both; }
/* Wider selects so long option text ("Arrival (from airport)", airport names)
   isn't clipped by the field min-width + caret padding. */
.dlf-calc-field.dlf-calc-dir { flex: 1 1 180px; min-width: 170px; }
.dlf-calc-field.dlf-calc-air { flex: 1.4 1 235px; min-width: 215px; }
/* Generous min-widths so the Direction / Airport selects never truncate. */
.dlf-calc-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 140px; min-width: 125px; }
.dlf-calc-field.dlf-calc-grow { flex: 1.5 1 200px; }
.dlf-calc-field > label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--dlf-muted);
}
.dlf-calc-field input, .dlf-calc-field select {
  height: 42px; padding: 0 13px; border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0);
  font-family: inherit; font-size: 14px; font-weight: 400; background: #fff;
  /* !important so a host theme (Avada) can't recolor the flatpickr/date inputs —
     keeps every field's text the same weight + color. */
  color: var(--dlf-primary) !important;
  outline: none; width: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
/* Cleaner stroked chevron for every select (occasion / direction / airport). */
.dlf-calc-field select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px 16px;
}
.dlf-calc-field input[type="date"] { -webkit-appearance: none; appearance: none; }
.dlf-calc-field input:hover, .dlf-calc-field select:hover { border-color: #b5b5b5; }
/* Focus matches the booking widget: primary (not accent) border + soft ring */
.dlf-calc-field input:focus, .dlf-calc-field select:focus {
  border-color: var(--dlf-primary); box-shadow: 0 0 0 3px rgba(0,0,0,.07);
}
.dlf-calc-btn {
  flex: 0 0 auto; height: 42px; padding: 0 24px; border: none; border-radius: var(--dlf-corner, 0);
  background: var(--dlf-accent); color: #fff; font-family: var(--dlf-btn-font, inherit);
  font-size: 13px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  cursor: pointer; transition: background .15s, transform .05s; white-space: nowrap;
}
.dlf-calc-btn:hover { background: var(--dlf-accent-hover); }
.dlf-calc-btn:active { transform: translateY(1px); }
.dlf-calc-btn:disabled { opacity: .55; cursor: default; }
.dlf-calc-status { margin-top: 10px; font-size: 13px; color: var(--dlf-muted); text-align: center; min-height: 0; }
.dlf-calc-status:empty { margin-top: 0; }
.dlf-calc-status strong { color: var(--dlf-primary); }
/* Reset sits inline next to View Prices, bottom-aligned with the button. */
.dlf-calc-reset {
  flex: 0 0 auto; align-self: flex-end; height: 42px; display: inline-flex; align-items: center;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600; color: var(--dlf-muted);
  text-transform: uppercase; letter-spacing: .04em; text-decoration: underline;
}
.dlf-calc-reset:hover { color: var(--dlf-primary); }
/* Date-only bar: compact, centered field + button */
.dlf-calc-compact .dlf-calc-row { justify-content: center; }
.dlf-calc-compact .dlf-calc-field { flex: 0 1 280px; }
@media (max-width: 640px) {
  .dlf-calc-field, .dlf-calc-field.dlf-calc-grow { flex: 1 1 100%; }
  .dlf-calc-compact .dlf-calc-field { flex: 1 1 100%; }
  .dlf-calc-btn { width: 100%; }
}

/* Location autocomplete dropdown (appended to <body>, positioned via JS) */
.dlf-ac-dropdown {
  position: fixed; z-index: 99999; display: none; background: #fff;
  border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0); overflow: hidden;
  box-shadow: var(--dlf-shadow-lg); max-height: 260px; overflow-y: auto;
  font-family: var(--dlf-font);
}
.dlf-ac-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; cursor: pointer; }
.dlf-ac-item:hover, .dlf-ac-item.active { background: var(--dlf-light); }
.dlf-ac-item + .dlf-ac-item { border-top: 1px solid var(--dlf-border); }
.dlf-ac-pin { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--dlf-accent); opacity: .8; }
.dlf-ac-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.dlf-ac-primary { font-size: 13px; font-weight: 500; color: var(--dlf-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlf-ac-secondary { font-size: 12px; color: var(--dlf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlf-ac-empty { padding: 12px 14px; font-size: 13px; color: var(--dlf-muted); }

.dlf-card-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--dlf-vd-font, inherit);
  font-size: var(--dlf-vd-size, 13px); font-weight: var(--dlf-vd-weight, 600);
  color: var(--dlf-vd-color, #1a1a2e); text-decoration: none; transition: gap .2s;
  text-transform: var(--dlf-vd-transform, uppercase); letter-spacing: var(--dlf-vd-ls, 1.5px);
}
.dlf-card:hover .dlf-card-link { gap: 8px; color: var(--dlf-vd-hover-color, var(--dlf-accent)); }
.dlf-card-link svg { width: 14px; height: 14px; }

/* No results */
.dlf-no-results { text-align: center; padding: 60px 20px; }
.dlf-no-results-icon { font-size: 48px; color: var(--dlf-border); margin-bottom: 12px; }
.dlf-no-results-text { font-size: 15px; color: var(--dlf-muted); margin-bottom: 16px; }
.dlf-no-results-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
  background: var(--dlf-accent); color: #fff; border: none; border-radius: 6px;
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}

/* ════════════════════════════════════════════════════════════
   VEHICLE DETAIL PAGE
   ════════════════════════════════════════════════════════════ */

.dlf-detail { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Back link */
.dlf-back {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500;
  color: var(--dlf-muted); text-decoration: none; margin-bottom: 20px; transition: color .15s;
}
.dlf-back:hover { color: var(--dlf-accent); }
.dlf-back svg { width: 16px; height: 16px; }

/* Gallery */
.dlf-gallery { margin-bottom: 32px; }
.dlf-gallery-main {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--dlf-radius); overflow: hidden;
  background: var(--dlf-light); margin-bottom: 12px; position: relative; cursor: pointer;
}
.dlf-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.dlf-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  background: rgba(255,255,255,.9); border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--dlf-shadow);
  transition: background .15s; z-index: 2;
}
.dlf-gallery-nav:hover { background: #fff; }
.dlf-gallery-nav svg { width: 18px; height: 18px; }
.dlf-gallery-prev { left: 12px; }
.dlf-gallery-next { right: 12px; }
.dlf-gallery-counter {
  position: absolute; bottom: 12px; right: 12px; padding: 4px 12px;
  background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 500;
  border-radius: 20px; backdrop-filter: blur(4px);
}

.dlf-gallery-thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin; scrollbar-color: var(--dlf-border) transparent;
}
.dlf-gallery-thumb {
  width: 80px; height: 54px; flex-shrink: 0; border-radius: 6px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent; transition: border-color .15s; opacity: .7;
}
.dlf-gallery-thumb.active { border-color: var(--dlf-accent); opacity: 1; }
.dlf-gallery-thumb:hover { opacity: 1; }
.dlf-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Vehicle info */
.dlf-vehicle-header { margin-bottom: 28px; }
.dlf-vehicle-type-badge {
  display: inline-block; padding: 3px 12px; background: var(--dlf-light);
  border-radius: 20px; font-size: 12px; font-weight: 500; color: var(--dlf-muted);
  margin-bottom: 8px;
}
.dlf-vehicle-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.dlf-vehicle-specs {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.dlf-vehicle-spec {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: var(--dlf-light); border-radius: 8px; font-size: 14px;
}
.dlf-vehicle-spec svg { width: 18px; height: 18px; color: var(--dlf-accent); }
.dlf-vehicle-spec strong { font-weight: 600; }

.dlf-vehicle-desc {
  font-size: 15px; line-height: 1.7; color: #374151; margin-bottom: 32px;
  max-width: 800px;
}
.dlf-vehicle-desc p { margin: 0 0 12px; }
.dlf-vehicle-desc p:last-child { margin-bottom: 0; }
.dlf-vehicle-desc ul, .dlf-vehicle-desc ol { margin: 0 0 12px; padding-left: 24px; }
.dlf-vehicle-desc li { margin-bottom: 4px; }
.dlf-vehicle-desc a { color: var(--dlf-accent, #e8740c); text-decoration: underline; }
.dlf-vehicle-desc a:hover { opacity: .8; }
/* Drop cap — the first letter is wrapped in <span class="dlf-dropcap-letter"> by
   dl-vehicle.js (a real element, so host themes like Avada that style
   ::first-letter can't override it). !important guards against generic theme
   span/float rules. */
.dlf-vehicle-desc.dlf-dropcap .dlf-dropcap-letter {
  float: left !important; display: block !important;
  line-height: .82 !important; font-weight: 700 !important;
  font-size: var(--dlf-dropcap-size, 52px) !important;
  margin: 4px 12px 0 0 !important; padding: 0 !important;
  text-transform: none !important; background: transparent !important;
  color: var(--dlf-dropcap-color, var(--dlf-accent, #e8740c)) !important; /* plain default = accent */
}
.dlf-vehicle-desc.dlf-dropcap-boxed .dlf-dropcap-letter {
  padding: 6px 12px !important; text-align: center !important;
  background: var(--dlf-dropcap-bg, #000) !important;
  color: var(--dlf-dropcap-color, #fff) !important; /* boxed default = white */
  border-radius: var(--dlf-dropcap-radius, 0) !important;
}

/* ── Vehicle Amenities ── */
/* Option-2 even rhythm: specs→label ≈ specs-margin(20) + 2 = 22px; pills→description = 22px. */
.dlf-vehicle-amenities-section { margin-bottom: 22px; padding-top: 2px; }
.dlf-vehicle-amenities-title { font-family: var(--dlf-seclabel-font, inherit); font-size: var(--dlf-seclabel-size, 13px); font-weight: var(--dlf-seclabel-weight, 600); text-transform: var(--dlf-seclabel-transform, uppercase); letter-spacing: var(--dlf-seclabel-ls, 1.5px); color: var(--dlf-seclabel-color, #1a1a2e); margin-bottom: 10px; }
.dlf-vehicle-amenities { display: flex; flex-wrap: wrap; gap: 6px; }
.dlf-vehicle-amenity {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: rgba(0,0,0,.04); color: #444;
}
.dlf-vehicle-amenity i { font-size: 11px; color: var(--dlf-accent, #e8740c); }

/* Hide the vehicle-type / "collection" badge on the detail page. It's server-rendered
   by the WP plugin as ".dlf-info .dlf-type-badge"; dl-fleet.css loads after the plugin
   template's inline <style>, so this hides it without a plugin redeploy (no flash). */
.dlf-info .dlf-type-badge { display: none; }
/* Hide the header "Book This Vehicle" scroll button — the booking section sits right
   below, so it's redundant. Server-rendered by the plugin; overridden here. */
.dlf-info .dlf-cta { display: none; }

/* Detail-page passenger / luggage specs, rewritten by dl-vehicle.js to SVG + number
   (matching the grid cards). Size the injected icon. */
.dlf-info .dlf-spec svg { width: 18px; height: 18px; }

/* ── Booking Section ── */
/* The gap above the booking area is the server header container's bottom margin
   (.dlf-hero { margin-bottom: 40px }), which collapses with and dominates the mount's
   top margin. Trim it to pull the booking section up. dl-fleet.css loads after the
   plugin's inline <style>, so this wins. */
.dlf-hero { margin-bottom: 14px; }
#dl-vehicle { margin-top: 12px !important; }
.dlf-booking-section {
  padding-top: 12px; margin-top: 0;
}
.dlf-booking-title {
  font-family: var(--dlf-booktitle-font, var(--dlf-heading-font, inherit));
  font-size: var(--dlf-booktitle-size, 22px); font-weight: var(--dlf-booktitle-weight, var(--dlf-heading-weight, 700));
  font-style: var(--dlf-booktitle-style, normal); color: var(--dlf-booktitle-color, var(--dlf-heading-color, inherit));
  text-transform: var(--dlf-booktitle-transform, none);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.dlf-booking-title svg { width: 22px; height: 22px; color: var(--dlf-accent); }

/* Occasion selector */
.dlf-occasion-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px; margin-bottom: 24px;
}
.dlf-occasion-btn {
  padding: 12px 16px;
  border: var(--dlf-occ-border-w, 1px) solid var(--dlf-occ-border, var(--dlf-border));
  border-radius: var(--dlf-occ-radius, var(--dlf-corner, 0));
  background: var(--dlf-occ-bg, var(--dlf-card-bg));
  font-family: var(--dlf-occ-font, inherit); font-size: var(--dlf-occ-size, 14px); font-weight: var(--dlf-occ-weight, 500);
  cursor: pointer; text-align: center; transition: all .15s;
  /* Pin the idle color — mobile theme stylesheets (Avada) otherwise paint <button> text their link/blue. */
  color: var(--dlf-occ-color, var(--dlf-primary, #1a1a2e)) !important;
}
.dlf-occasion-btn:hover {
  background: var(--dlf-occ-hover-bg, var(--dlf-occ-bg, var(--dlf-card-bg)));
  border-color: var(--dlf-occ-hover-border, var(--dlf-accent));
  color: var(--dlf-occ-hover-color, var(--dlf-accent)) !important;
}
.dlf-occasion-btn.active {
  border-color: var(--dlf-occ-sel-bg, var(--dlf-accent)); background: var(--dlf-occ-sel-bg, var(--dlf-accent)); color: var(--dlf-occ-sel-color, #fff) !important;
}
.dlf-occasion-price {
  display: block; font-size: 12px; font-weight: 400; margin-top: 3px; opacity: .75;
}

/* Dynamic form fields */
.dlf-form { margin-bottom: 24px; }
.dlf-form-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dlf-form-field { flex: 1; min-width: 180px; }
.dlf-form-field.full { flex-basis: 100%; }
.dlf-form-field.half { flex: 0 0 calc(50% - 8px); }
.dlf-form-field.third { flex: 0 0 calc(33.333% - 11px); }
.dlf-form-field.quarter { flex: 0 0 calc(25% - 12px); }
.dlf-form-field.two_third { flex: 0 0 calc(66.666% - 8px); }
.dlf-form-field.three_quarter { flex: 0 0 calc(75% - 4px); }

.dlf-root .dlf-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: #333; letter-spacing: 0.2px; }
.dlf-root .dlf-label .req { color: var(--dlf-accent); font-weight: 700; }
.dlf-root .dlf-input {
  width: 100% !important; padding: 10px 12px !important; border: 1px solid var(--dlf-border) !important; border-radius: var(--dlf-corner, 0) !important;
  font-family: inherit; font-size: 14px !important; background: var(--dlf-card-bg) !important; color: #333 !important;
  transition: border-color .2s; outline: none;
  text-overflow: ellipsis; overflow: hidden; white-space: nowrap; min-width: 0;
  height: auto !important; line-height: normal !important; box-shadow: none !important;
}
.dlf-root .dlf-input:focus { border-color: var(--dlf-accent) !important; box-shadow: 0 0 0 3px rgba(232,116,12,.1) !important; }
.dlf-root .dlf-input::placeholder { color: #999 !important; }
.dlf-root .dlf-form-field .flatpickr-input { width: 100% !important; }
.dlf-root .dlf-form-field input.flatpickr-input[readonly] {
  width: 100% !important; padding: 10px 12px !important; border: 1px solid var(--dlf-border) !important; border-radius: var(--dlf-corner, 0) !important;
  font-family: inherit; font-size: 14px !important; background: var(--dlf-card-bg) !important; color: #333 !important;
  cursor: pointer; transition: border-color .2s; outline: none;
  height: auto !important; line-height: normal !important; box-shadow: none !important;
}
.dlf-root .dlf-form-field input.flatpickr-input[readonly]:focus { border-color: var(--dlf-accent) !important; box-shadow: 0 0 0 3px rgba(232,116,12,.1) !important; }

/* Flatpickr accent */
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--dlf-accent) !important; border-color: var(--dlf-accent) !important; color: #fff !important; }
.flatpickr-day.today:not(.selected) { border-color: var(--dlf-accent) !important; }
.flatpickr-day:hover { background: rgba(232,116,12,.1) !important; border-color: rgba(232,116,12,.1) !important; }
.dlf-root select.dlf-input {
  cursor: pointer;
  -webkit-appearance: none !important; appearance: none !important; padding-right: 32px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 12px center !important;
}
.dlf-root textarea.dlf-input { resize: vertical; min-height: 80px; line-height: 1.5 !important; white-space: normal; }

/* Hide number input spinners */
.dlf-root .dlf-input[type="number"]::-webkit-inner-spin-button,
.dlf-root .dlf-input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.dlf-root .dlf-input[type="number"] { -moz-appearance: textfield; }

/* Time select (3-dropdown matching widget) */
.dlf-root .dlf-time-seg {
  width: 100%; display: flex; align-items: center;
  border: 1px solid var(--dlf-border) !important; border-radius: var(--dlf-corner, 0) !important;
  background: #fff !important; overflow: hidden; transition: border-color .2s;
}
.dlf-root .dlf-time-seg:focus-within {
  border-color: var(--dlf-accent) !important;
  box-shadow: 0 0 0 3px rgba(232,116,12,.1) !important;
}
.dlf-root .dlf-time-seg .dlf-time-icon {
  flex-shrink: 0; width: 14px; height: 14px; margin-left: 8px;
  opacity: .4; color: #333; pointer-events: none;
}
.dlf-root .dlf-time-seg .dlf-time-part {
  flex: 1; min-width: 0; padding: 10px 16px 10px 4px !important;
  border: none !important; background: transparent !important;
  color: #333 !important; font-family: var(--dlf-font); font-size: 14px !important; font-weight: 400;
  outline: none; cursor: pointer;
  -webkit-appearance: none !important; appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 4px center !important;
  box-sizing: border-box; height: auto !important; line-height: normal !important; box-shadow: none !important;
  border-radius: var(--dlf-corner, 0) !important; margin: 0 !important;
}
.dlf-root .dlf-time-hr { padding-left: 4px; }
.dlf-root .dlf-time-colon { flex-shrink: 0; font-size: 14px; font-weight: 600; color: #999; line-height: 1; margin: 0 -2px; }
.dlf-root .dlf-time-divider { flex-shrink: 0; width: 1px; height: 20px; background: var(--dlf-border); }
.dlf-root .dlf-time-part.dlf-placeholder { color: #999 !important; }
.dlf-root .dlf-time-part:focus { background-color: rgba(0,0,0,.02) !important; }

/* Price display */
.dlf-price-box {
  background: var(--dlf-light); border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0);
  padding: 20px; margin-bottom: 24px;
}
.dlf-price-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.dlf-price-row.total { border-top: 2px solid var(--dlf-border); padding-top: 10px; margin-top: 8px; font-weight: 700; font-size: 17px; }
.dlf-price-row .label { color: var(--dlf-muted); }
.dlf-price-row .value { font-weight: 600; }
.dlf-price-row.total .value { color: var(--dlf-accent); }

/* Checkout breakdown */
.dlf-breakdown { background: var(--dlf-card); border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0); padding: 16px 20px; }
.dlf-breakdown-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: var(--dlf-muted); }
.dlf-breakdown-row span:last-child { font-weight: 600; color: var(--dlf-text); }
.dlf-breakdown-total { border-top: 2px solid var(--dlf-border); padding-top: 10px; margin-top: 8px; font-weight: 700; font-size: 17px; color: var(--dlf-text); }
.dlf-breakdown-total span:last-child { color: var(--dlf-accent); }

/* Trip summary card */
.dlf-trip-summary {
  background: var(--dlf-light); border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0);
  padding: 16px 20px; position: relative;
}
.dlf-summary-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 7px 0; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,.04);
}
.dlf-summary-row:last-child { border-bottom: none; }
.dlf-summary-label { color: var(--dlf-muted); font-weight: 500; flex-shrink: 0; margin-right: 16px; }
.dlf-summary-value { color: var(--dlf-primary); font-weight: 600; text-align: right; word-break: break-word; }
.dlf-summary-edit {
  background: none; border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0); padding: 4px 14px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--dlf-accent);
  cursor: pointer; transition: all .15s; margin-left: auto;
}
.dlf-summary-edit:hover { background: var(--dlf-accent); color: #fff; border-color: var(--dlf-accent); }

/* Overnight warning */
.dlf-overnight-warning {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--dlf-corner, 0);
  font-size: 13px; font-weight: 500; margin: 12px 0;
  background: #fef3cd; border: 1px solid #ffc107; color: #856404;
}

/* Conditional field hidden */
.dlf-cond-hidden { display: none !important; }

/* Booking button */
.dlf-book-btn {
  width: 100%; padding: 14px 24px; background: var(--dlf-accent); color: #fff; border: none;
  border-radius: var(--dlf-corner, 0); font-family: var(--dlf-btn-font, inherit); font-size: 16px; font-weight: var(--dlf-btn-weight, 600); cursor: pointer;
  transition: background .15s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.dlf-book-btn:hover { background: var(--dlf-accent-hover); }
.dlf-book-btn:disabled { opacity: .5; cursor: not-allowed; }
.dlf-book-btn svg { width: 18px; height: 18px; }

/* Package pills */
.dlf-pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 20px; }
.dlf-pkg-card {
  padding: 14px;
  border: var(--dlf-pkg-border-w, 1px) solid var(--dlf-pkg-border, var(--dlf-border));
  border-radius: var(--dlf-pkg-radius, var(--dlf-corner, 0));
  background: var(--dlf-pkg-bg, transparent);
  cursor: pointer; transition: all .15s; font-family: var(--dlf-pkg-font, inherit);
}
.dlf-pkg-card:hover { border-color: var(--dlf-pkg-hover-border, var(--dlf-accent)); }
.dlf-pkg-card.active {
  border-color: var(--dlf-pkg-sel-bg, var(--dlf-accent));
  background: var(--dlf-pkg-bg, rgba(0,0,0,.03));
  /* Faint tint of the selected/accent color (not a hard-coded orange). */
  background: var(--dlf-pkg-sel-tint, color-mix(in srgb, var(--dlf-pkg-sel-bg, var(--dlf-accent)) 8%, transparent));
}
.dlf-pkg-name { font-weight: var(--dlf-pkg-name-weight, 600); font-size: var(--dlf-pkg-name-size, 14px); margin-bottom: 2px; color: var(--dlf-pkg-name-color, inherit); }
.dlf-pkg-desc { font-size: 12px; color: var(--dlf-muted); margin-bottom: 6px; }
.dlf-pkg-price { font-size: var(--dlf-pkg-price-size, 16px); font-weight: var(--dlf-pkg-price-weight, 700); color: var(--dlf-pkg-price-color, var(--dlf-accent)); }

/* Step indicators for booking */
.dlf-steps { display: flex; gap: 4px; margin-bottom: 24px; }
.dlf-step-dot {
  flex: 1; height: 4px; border-radius: 4px; background: var(--dlf-border); transition: background .3s;
}
.dlf-step-dot.active { background: var(--dlf-accent); }
.dlf-step-dot.done { background: var(--dlf-accent); opacity: .5; }

/* Checkout sections */
.dlf-checkout-section { margin-bottom: 32px; }
.dlf-section-title {
  font-size: 16px; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px; color: var(--dlf-primary);
}
.dlf-section-title svg { width: 18px; height: 18px; color: var(--dlf-accent); }
/* "Select Your Service" / "Select Package" — match the Features & Amenities / VIEW COLLECTION label look. */
.dlf-section-title.dlf-section-title-sm {
  font-family: var(--dlf-seclabel-font, inherit);
  font-size: var(--dlf-seclabel-size, 13px); font-weight: var(--dlf-seclabel-weight, 600);
  text-transform: var(--dlf-seclabel-transform, uppercase); letter-spacing: var(--dlf-seclabel-ls, 1.5px);
  color: var(--dlf-seclabel-color, #1a1a2e);
}

/* Auth toggle */
.dlf-auth-toggle {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.dlf-auth-tab {
  flex: 1; padding: 10px; border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0);
  background: var(--dlf-card-bg); font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; text-align: center; transition: all .15s;
}
.dlf-auth-tab.active { background: var(--dlf-accent); color: #fff; border-color: var(--dlf-accent); }

/* Stripe container */
.dlf-stripe-wrap {
  border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0); padding: 16px;
  background: var(--dlf-card-bg); margin-bottom: 16px;
}
.dlf-stripe-header {
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500;
  margin-bottom: 12px; color: var(--dlf-muted);
}
.dlf-stripe-header svg { width: 16px; height: 16px; }

/* Review section */
.dlf-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.dlf-review-item { font-size: 14px; }
.dlf-review-item .label { font-size: 12px; color: var(--dlf-muted); margin-bottom: 2px; }
.dlf-review-item .value { font-weight: 500; }

/* Confirmation */
.dlf-confirmed { text-align: center; padding: 48px 20px; }
.dlf-confirmed-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #22c55e;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.dlf-confirmed-icon svg { width: 32px; height: 32px; color: #fff; }
.dlf-confirmed-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.dlf-confirmed-order { font-size: 15px; color: var(--dlf-muted); margin-bottom: 16px; }

/* Error banner */
.dlf-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 10px 14px;
  border-radius: var(--dlf-corner, 0); font-size: 13px; margin-bottom: 14px; display: none;
}
.dlf-error.visible { display: block; }

/* Consent checkbox */
.dlf-consent-box { border: 1px solid var(--dlf-border, #e0e0e0); border-radius: var(--dlf-corner, 0); padding: 12px 14px; margin-bottom: 16px; background: #fafafa; }
.dlf-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; color: var(--dlf-muted); cursor: pointer; user-select: none; }
.dlf-consent input { margin-top: 1px; min-width: 16px; width: 16px; height: 16px; accent-color: var(--dlf-accent); cursor: pointer; }

/* ════════════════════════════════════════════════════════════
   LIGHTBOX OVERLAY
   ════════════════════════════════════════════════════════════ */
.dlf-lightbox {
  position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; opacity: 0;
  transition: opacity .25s; pointer-events: none;
}
.dlf-lightbox.open { opacity: 1; pointer-events: auto; }
.dlf-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--dlf-corner, 0); object-fit: contain; }
.dlf-lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  background: rgba(255,255,255,.15); border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px;
}
.dlf-lightbox-close:hover { background: rgba(255,255,255,.25); }
.dlf-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  background: rgba(255,255,255,.15); border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.dlf-lightbox-nav:hover { background: rgba(255,255,255,.25); }
.dlf-lightbox-nav.prev { left: 16px; }
.dlf-lightbox-nav.next { right: 16px; }
.dlf-lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; }

/* ── PlaceAC dropdown support ── */
.dlf-root .pac-wrapper { position: relative; z-index: 9999; }
.dlf-root .pac-dropdown { z-index: 99999 !important; }
.dlf-root .dlf-form-field { overflow: visible; }
.dlf-root .dlf-form-row { overflow: visible; }
.dlf-root .dlf-form { overflow: visible; }
.dlf-root .pac-row-elevated { z-index: 9999; position: relative; }

/* ════════════════════════════════════════════════════════════
   STANDALONE MOUNT MODES
   ════════════════════════════════════════════════════════════
   When the menu and grid are emitted as separate shortcodes ([_menu] +
   [mvlimo_fleet]), each renders without the .dlf-fleet flex wrapper. The
   parent column in the page builder (Avada/Fusion, Gutenberg, etc.) controls
   the column width and position. The internals (.dlf-sidebar-inner,
   .dlf-main) just need to fill their container naturally.

   When only [mvlimo_fleet] is used (no [_menu]), the JS renders the legacy
   integrated layout (.dlf-fleet > .dlf-sidebar + .dlf-main) — those rules
   are unchanged above. */

/* Standalone filter menu — drop the fixed 260px sidebar width, let it fill
   the column. Sticky still works because the parent column establishes a
   block formatting context. */
.dlf-mount-menu-standalone { display: block; }
.dlf-mount-menu-standalone .dlf-sidebar-inner { position: sticky; top: 20px; }

/* Standalone grid — fill the column, no flex parent. */
.dlf-mount-grid-standalone { display: block; }
.dlf-mount-grid-standalone .dlf-main-standalone { width: 100%; }

/* In standalone mode the mobile collapse pattern doesn't apply: the menu is
   already in its own column, the user can see it without a toggle. Always
   show filters inline, hide the toggle entirely. */
.dlf-mount-menu-standalone .dlf-mobile-filter-btn { display: none !important; }
.dlf-mount-menu-standalone .dlf-sidebar-filters { display: block !important; }

/* …unless the standalone menu is stacked full-width (the host theme has
   collapsed its column row — tablet / narrow widths). A tall vertical filter
   list across the full page width buries the content below it, so revert to the
   compact collapse: show the "Filters" toggle, hide the list until opened.
   applyMenuLayout() in dl-fleet.js adds .dlf-menu-stacked when the column spans
   most of the viewport; the two-class selector outranks the always-open rule
   above (so these win even against its !important). */
/* ── Stacked (mobile) menu: Filters lives INLINE in the grid toolbar; the panel opens
   as a right-side drawer. The standalone menu's own button/panel are collapsed and the
   empty menu column takes no space. No DOM relocation → the width probe stays accurate,
   so widening the window restores the desktop sidebar. ── */
.dlf-mount-menu-standalone.dlf-menu-stacked .dlf-mobile-filter-btn { display: none !important; }
/* Solo standalone menu (no grid on the page, e.g. the vehicle detail launcher): show the
   menu's own compact Filters button — there's no grid toolbar to provide one. */
.dlf-mount-menu-standalone.dlf-menu-stacked.dlf-menu-solo .dlf-mobile-filter-btn {
  display: inline-flex !important; width: auto !important; padding: 6px 14px; margin: 0 0 4px;
  border-radius: var(--dlf-corner, 0); font-size: 13px; gap: 6px;
}
.dlf-mount-menu-standalone.dlf-menu-stacked .dlf-sidebar-filters { display: none !important; }
.dlf-mount-menu-standalone.dlf-menu-stacked .dlf-sidebar-inner { position: static; }
/* Collapse the empty menu column (and kill its page-builder top margin) so it leaves no gap. */
.fusion-layout-column:has(.dlf-mount-menu-standalone.dlf-menu-stacked) { margin-top: 0 !important; margin-bottom: 0 !important; min-height: 0 !important; }
.dlf-mount-menu-standalone.dlf-menu-stacked { min-height: 0 !important; }

/* Inline toolbar "Filters" button — hidden by default, shown only in the stacked state. */
.dlf-toolbar-filters {
  display: none; align-items: center; gap: 6px; padding: 5px 12px; line-height: 1.4;
  border: 1px solid var(--dlf-border); border-radius: var(--dlf-corner, 0); background: var(--dlf-card-bg);
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--dlf-primary) !important;
}
.dlf-toolbar-filters svg { width: 13px; height: 13px; }
html.dlf-fleet-stacked .dlf-toolbar-filters { display: inline-flex; margin-right: auto; } /* left; pushes sort right */
/* Hide the "N vehicles" count on mobile — the drawer's "Show N vehicles" bar covers it. */
html.dlf-fleet-stacked .dlf-result-count { display: none; }

/* Filter panel as a right-side drawer, opened from the inline toolbar button. The panel is
   moved to <body> (by dl-fleet.js) so this fixed positioning sits above the page's sticky
   header and any stacking contexts. Closed via click-outside. */
.dlf-sidebar-filters.dlf-filters-drawer {
  display: block !important; position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw); z-index: 2147483647; background: #fff; overflow: auto;
  padding: 18px 18px 0; box-shadow: -6px 0 40px rgba(0,0,0,.28);
}
/* Keep the search bar clear of the close ✕ that sits to its right. */
.dlf-filters-drawer .dlf-search-section { padding-right: 42px; }
/* "Show N vehicles" / "View N results" apply bar — sits in flow after "Clear all filters"
   (no overlap) and only appears once a filter is active (toggled by dl-fleet.js). */
.dlf-drawer-apply {
  display: block; width: 100%; margin: 16px 0 18px; padding: 14px; text-align: center;
  border: none; border-radius: var(--dlf-corner, 0); background: var(--dlf-accent, #111); color: #fff !important;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.dlf-drawer-apply:hover { background: var(--dlf-accent-hover, #000); }
/* Dim backdrop behind the drawer (sits just under the panel; both are in <body>). Max
   z-index so the drawer clears the site's chat widget / sticky header. */
.dlf-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 2147483646; }
/* Search bar inside the drawer — a touch more padding + rounded so it reads clean. */
.dlf-filters-drawer .dlf-search-wrap input.dlf-search-input {
  padding: 10px 12px 10px 40px !important; border-radius: var(--dlf-corner, 0) !important;
}
/* Close "✕" — only visible when the panel is in drawer mode. */
.dlf-drawer-close { display: none; }
.dlf-sidebar-filters.dlf-filters-drawer .dlf-drawer-close {
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 20px; right: 10px; width: 34px; height: 34px;
  border: none; background: none; font-size: 28px; line-height: 1; color: #666; cursor: pointer; padding: 0;
}
.dlf-sidebar-filters.dlf-filters-drawer .dlf-drawer-close:hover { color: #111; }

/* ════════════════════════════════════════════════════════════
   HORIZONTAL CHIP-BAR LAYOUT (standalone menu only)
   ════════════════════════════════════════════════════════════
   Applied by applyMenuLayout() in dl-fleet.js when the menu's container is
   wide (≥900px) and layout="bar" or "auto". Reflows the vertical filter list
   into a horizontal row of compact chips suitable for placing above the grid
   when the page-builder column gives the menu the full page width (e.g.
   Avada stacks its columns at its responsive breakpoint).

   The horizontal rules override the standalone mode's `display: block
   !important` via higher specificity (mount class AND .dlf-menu-horizontal),
   so no !important war. The vehicle-type and filter-option labels become
   inline pills; their actual <input type="checkbox"> is hidden visually but
   remains in the DOM so screen readers and form controls still work. Active
   state is driven by the .dlf-filter-opt-active class that reflectFilters()
   toggles on each label, NOT by :has(input:checked) — keeps the styling
   working in browsers without :has() support. */

.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-sidebar-inner {
  position: static;  /* sticky off in horizontal mode — would conflict with WP header behavior */
}

.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-sidebar-filters {
  display: flex !important;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: flex-start;
  padding: 8px 0;
}

.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-filter-section {
  margin-bottom: 0;
  flex: 0 0 auto;
  min-width: 0;
}

/* Search section: flex-grow so it absorbs leftover space, but capped so a
   very wide column doesn't give it a gigantic input. */
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-search-section {
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 360px;
}

/* Filter section titles in horizontal mode: small label above each control group */
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-filter-title {
  margin-bottom: 6px;
  white-space: nowrap;
  font-size: 11px;
  opacity: 0.75;
}

/* Vehicle-type / filter-option labels → pill chips */
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-filter-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 6px 6px 0;
  padding: 6px 12px;
  border: 1px solid var(--dlf-border, #e0e0e0);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  user-select: none;
}
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-filter-opt:hover {
  border-color: var(--dlf-accent, #e8740c);
}

/* Hide the actual checkbox without removing it from the accessibility tree —
   the visible chip handles the click via the surrounding <label>. */
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-filter-opt input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
}

/* Active chip — driven by the dlf-filter-opt-active class that
   reflectFilters() toggles when the checkbox state changes. */
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-filter-opt.dlf-filter-opt-active {
  background: var(--dlf-accent, #e8740c);
  border-color: var(--dlf-accent, #e8740c);
  color: #fff !important;
}
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-filter-opt .dlf-filter-count {
  font-size: 11px;
  opacity: 0.55;
}
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-filter-opt.dlf-filter-opt-active .dlf-filter-count {
  opacity: 0.85;
}

/* Passenger range: compact width — no need for the full sidebar width */
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-range-wrap {
  width: 180px;
}

/* Clear-all button: pushed to the right edge */
.dlf-mount-menu-standalone.dlf-menu-horizontal .dlf-clear-filters {
  margin-left: auto;
  margin-top: auto;
  align-self: center;
  margin-bottom: 6px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .dlf-fleet { flex-direction: column; }
  .dlf-sidebar { width: 100%; }
  .dlf-sidebar-inner { position: static; }
  /* Mobile collapse only applies inside the integrated .dlf-fleet layout —
     the standalone menu mount has its own rules above that override these. */
  .dlf-fleet .dlf-sidebar-filters { display: none; }
  .dlf-fleet .dlf-sidebar-filters.open { display: block; }
  .dlf-fleet .dlf-mobile-filter-btn { display: flex; }
  /* Sticky off on mobile for the standalone menu — page-builder column
     order changes the visual relationship. */
  .dlf-mount-menu-standalone .dlf-sidebar-inner { position: static; }

  /* Standalone menu mount: collapse behind the "Filters" button on mobile,
     same as the integrated layout. These override the always-open standalone
     rules above (same specificity, later in source). The horizontal chip-bar
     mode keeps its own layout — its selector
     (.dlf-mount-menu-standalone.dlf-menu-horizontal) is more specific, so it
     wins and is never collapsed. */
  .dlf-mount-menu-standalone .dlf-mobile-filter-btn { display: flex !important; }
  .dlf-mount-menu-standalone .dlf-sidebar-filters { display: none !important; }
  .dlf-mount-menu-standalone .dlf-sidebar-filters.open { display: block !important; }
}

@media (max-width: 640px) {
  .dlf-grid { grid-template-columns: 1fr; }
  .dlf-occasion-grid { grid-template-columns: 1fr 1fr; }
  .dlf-review-grid { grid-template-columns: 1fr; }
  .dlf-form-field.half, .dlf-form-field.third, .dlf-form-field.quarter, .dlf-form-field.two_third, .dlf-form-field.three_quarter { flex-basis: 100%; }
  .dlf-vehicle-title { font-size: 22px; }
  .dlf-gallery-thumb { width: 60px; height: 40px; }
}

/* ═══ Driver Tip ═══ */
.dlf-tip-presets { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.dlf-tip-btn {
  flex:1; min-width:64px; padding:10px 6px;
  border:2px solid var(--dlf-border); border-radius:var(--dlf-corner, 0);
  background:#fff; cursor:pointer; text-align:center;
  transition:border-color .15s, background .15s, transform .1s;
  display:flex; flex-direction:column; align-items:center; gap:2px;
  font-family:inherit;
}
.dlf-tip-btn:hover { border-color:var(--dlf-accent-hover); transform:translateY(-1px) }
.dlf-tip-btn.active { border-color:var(--dlf-accent); background:#fffbeb }
.dlf-tip-pct { font-size:16px; font-weight:700; color:var(--dlf-primary); font-family:inherit }
.dlf-tip-amt { font-size:11px; color:var(--dlf-muted); font-family:inherit }
.dlf-tip-btn-none { font-size:13px; font-weight:500; color:var(--dlf-muted); font-family:inherit }
.dlf-tip-btn-none.active { color:var(--dlf-primary); font-weight:600 }
.dlf-tip-custom { margin-top:12px; display:flex; align-items:center; gap:8px; }
.dlf-tip-custom-label { font-size:12px; color:var(--dlf-muted); white-space:nowrap; }
.dlf-tip-custom-wrap { position:relative; display:flex; align-items:center; flex:1; max-width:140px; }
.dlf-tip-currency { position:absolute; left:10px; font-size:14px; color:var(--dlf-muted); pointer-events:none; }
.dlf-tip-custom-input { padding-left:24px !important; font-size:14px; }

/* ── Auth bar ── */
.dlf-auth-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--dlf-border); margin-bottom:16px; flex-wrap:wrap; }
.dlf-auth-bar-loggedin { border-bottom:1px solid #bbf7d0; background:#f0fdf4; border-radius:var(--dlf-corner, 0); padding:10px 14px; margin-bottom:16px; }
.dlf-auth-prompt { display:flex; align-items:center; gap:8px; font-size:14px; }
.dlf-auth-prompt i { font-size:18px; color:var(--dlf-accent); }
.dlf-auth-divider { font-size:12px; color:var(--dlf-muted); white-space:nowrap; }
.dlf-auth-link { color:var(--dlf-accent); font-weight:600; text-decoration:none; font-size:14px; }
.dlf-auth-link:hover { text-decoration:underline; }
/* Auth panel */
.dlf-auth-panel { background:var(--dlf-bg); border:1.5px solid var(--dlf-border); border-radius:var(--dlf-corner, 0); padding:18px; margin-bottom:16px; }
.dlf-auth-tabs { display:flex; gap:0; margin-bottom:16px; border:1.5px solid var(--dlf-border); border-radius:var(--dlf-corner, 0); overflow:hidden; }
.dlf-auth-tab { flex:1; padding:9px; border:none; background:#fff; font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; color:var(--dlf-muted); transition:background .15s, color .15s; }
.dlf-auth-tab.active { background:var(--dlf-accent); color:#fff; }
.dlf-auth-tab:first-child { border-right:1.5px solid var(--dlf-border); }
.dlf-auth-form .dlf-form-row { display:flex; gap:10px; margin-bottom:0; }
.dlf-auth-form .dlf-form-field { margin-top:10px; }
