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

/* ── 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;
  --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"] {
  width: 100% !important; padding: 9px 12px 9px 38px !important; font-size: 13px !important; border: 1px solid var(--dlf-border, #e0e0e0) !important;
  border-radius: 8px !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;
}
.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; }
.dlf-filter-title {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--dlf-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.dlf-filter-title svg { width: 14px; height: 14px; opacity: .5; }

/* Checkbox filters */
.dlf-filter-opt {
  display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer;
  font-size: 14px; transition: color .15s;
}
.dlf-filter-opt:hover { color: var(--dlf-accent); }
.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-muted); background: 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); 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;
}
.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: 6px;
  font-family: inherit; font-size: 13px; background: var(--dlf-card-bg); cursor: pointer;
  color: var(--dlf-primary);
}

/* Grid */
.dlf-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  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-radius); overflow: hidden;
  box-shadow: var(--dlf-shadow); transition: transform .2s, box-shadow .2s;
  cursor: pointer; display: flex; flex-direction: column;
}
.dlf-card:hover { transform: translateY(-3px); box-shadow: var(--dlf-shadow-lg); }

.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.04); }
.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: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 500;
  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-size: 17px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.dlf-card-specs {
  display: flex; gap: 14px; font-size: 13px; color: var(--dlf-muted); 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-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 14px; flex: 1;
}
.dlf-card-footer {
  display: flex; align-items: center; justify-content: 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 { color: var(--dlf-accent); font-size: 16px; font-weight: 700; }
.dlf-card-link {
  display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600;
  color: var(--dlf-accent); text-decoration: none; transition: gap .2s;
}
.dlf-card:hover .dlf-card-link { gap: 8px; }
.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; }

/* ── Vehicle Amenities ── */
.dlf-vehicle-amenities-section { margin-bottom: 28px; padding-top: 16px; border-top: 1px solid var(--dlf-border, rgba(0,0,0,.08)); }
.dlf-vehicle-amenities-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #999; 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); }

/* ── Booking Section ── */
.dlf-booking-section {
  border-top: 2px solid var(--dlf-border); padding-top: 32px; margin-top: 8px;
}
.dlf-booking-title {
  font-size: 22px; font-weight: 700; 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: 2px solid var(--dlf-border); border-radius: 8px;
  background: var(--dlf-card-bg); font-family: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; text-align: center; transition: all .15s;
}
.dlf-occasion-btn:hover { border-color: var(--dlf-accent); color: var(--dlf-accent); }
.dlf-occasion-btn.active {
  border-color: var(--dlf-accent); background: var(--dlf-accent); color: #fff;
}
.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: 6px !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: 6px !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: 6px !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: 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-radius);
  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: 6px; 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: 6px;
  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: 6px; 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: 8px;
  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: 8px; font-family: inherit; font-size: 16px; font-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: 2px solid var(--dlf-border); border-radius: 8px;
  cursor: pointer; transition: all .15s;
}
.dlf-pkg-card:hover { border-color: var(--dlf-accent); }
.dlf-pkg-card.active { border-color: var(--dlf-accent); background: rgba(232,116,12,.04); }
.dlf-pkg-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.dlf-pkg-desc { font-size: 12px; color: var(--dlf-muted); margin-bottom: 6px; }
.dlf-pkg-price { font-size: 16px; font-weight: 700; 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); }

/* 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: 6px;
  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: 8px; 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: 6px; 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: 8px; 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: 6px; 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; }

/* ════════════════════════════════════════════════════════════
   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;
}
.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; }
}

@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-radius);
  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-radius); 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-radius); 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-radius); 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; }
