/* Branch Details — hero + marketplace fleet */

:root {
  --branch-brand-600: #0d5cab;
  --branch-brand-700: #0a3e8c;
  --branch-blue-600: #176873;
  --branch-blue-700: #145a63;
  --branch-whatsapp: #25d366;
  --branch-whatsapp-hover: #1fb85a;
}

.page-branch {
  background: #eef2f7;
}

.branch-cover {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.branch-cover-gradient,
.branch-cover-fallback {
  background: linear-gradient(135deg, #1c6b76 0%, #155862 55%, #124a52 100%);
}

.branch-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 45%,
    rgba(0, 0, 0, 0.14) 100%
  );
  pointer-events: none;
}

.branch-cover-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px;
}

.branch-mobile-search {
  display: none;
  margin-bottom: 0.85rem;
}

.branch-fleet-search-card--sidebar {
  display: none;
}

.branch-cover-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.branch-cover-logo {
  object-fit: contain;
  background: #fff;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.branch-cover-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branch-brand-600);
  font-size: 1.75rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.branch-cover-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.branch-cover-area {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 600;
}

.branch-cover-open-status {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.branch-cover-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.branch-cover-open-status.is-open {
  color: #86efac;
}

.branch-cover-open-status.is-open .branch-cover-status-dot {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.branch-cover-open-status.is-closed {
  color: #fecaca;
}

.branch-cover-open-status.is-closed .branch-cover-status-dot {
  background: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25);
}

.breadcrumb a {
  text-decoration: none;
}

/* ── Fleet section ─────────────────────────────────────── */

.branch-fleet-section {
  padding: 21px 0 1.5rem;
}

.branch-fleet-container {
  max-width: 1320px;
  padding-left: 24px;
  padding-right: 24px;
}

.branch-fleet-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.branch-fleet-header-leading {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 auto;
}

.branch-fleet-header-top {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
}

.branch-fleet-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}

.branch-fleet-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: #64748b;
  max-width: 38rem;
  line-height: 1.4;
  min-width: 0;
}

.branch-fleet-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #176873;
  white-space: nowrap;
  flex-shrink: 0;
}

.branch-fleet-count-icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.branch-fleet-sort-control {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}

.branch-fleet-sort-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  line-height: 1.2;
}

.branch-sort {
  position: relative;
  min-width: 280px;
  width: min(320px, 46vw);
}

.branch-sort-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 56px;
  height: 56px;
  padding: 0.65rem 0.9rem 0.65rem 0.85rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  color: #111827;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.branch-sort-trigger:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
}

.branch-sort.is-open .branch-sort-trigger {
  border-color: #176873;
  box-shadow: 0 0 0 3px rgba(23, 104, 115, 0.12), 0 10px 24px rgba(15, 23, 42, 0.1);
}

.branch-sort-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: rgba(23, 104, 115, 0.08);
  color: #176873;
  flex-shrink: 0;
}

.branch-sort-icon {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-sort-icon-img {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  stroke: none;
  fill: unset;
  filter: brightness(0) saturate(100%) invert(32%) sepia(48%) saturate(612%) hue-rotate(146deg) brightness(93%) contrast(91%);
}

.branch-sort-trigger-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.branch-sort-trigger-text {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.branch-sort-trigger-sub {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: #6b7280;
}

.branch-sort-trigger-chevron {
  display: inline-flex;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.22s ease, color 0.2s ease;
}

.branch-sort-trigger-chevron svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-sort.is-open .branch-sort-trigger-chevron {
  transform: rotate(180deg);
  color: #176873;
}

.branch-sort-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.branch-sort.is-open .branch-sort-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.branch-sort-section + .branch-sort-section {
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e5e7eb;
}

.branch-sort-section-header {
  margin: 0.15rem 0.45rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #176873;
}

.branch-sort-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 0.75rem;
  margin: 0;
  border: none;
  border-inline-start: 4px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #111827;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.branch-sort-option:hover {
  background: #f8fafc;
}

.branch-sort-option.is-active {
  background: rgba(23, 104, 115, 0.08);
  border-inline-start-color: #176873;
  color: #176873;
}

.branch-sort-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  color: #176873;
  flex-shrink: 0;
}

.branch-sort-option-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 1 1 auto;
}

.branch-sort-option-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.branch-sort-option.is-active .branch-sort-option-title {
  font-weight: 700;
}

.branch-sort-option-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: #6b7280;
}

.branch-sort-option.is-active .branch-sort-option-subtitle {
  color: rgba(23, 104, 115, 0.78);
}

.branch-sort-option-check {
  display: inline-flex;
  opacity: 0;
  transform: scale(0.7);
  color: #176873;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.branch-sort-option-check svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-sort-option.is-active .branch-sort-option-check {
  opacity: 1;
  transform: scale(1);
}

.branch-fleet-layout {
  display: block;
}

.branch-fleet-sidebar {
  display: none;
}

.branch-fleet-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.branch-fleet-search-card {
  display: none;
}

.branch-fleet-search-card .search-box {
  --search-control-height: 2.625rem;
  max-width: none;
  margin: 0;
  background: #fcd34d;
  border: 2px solid #fcd34d;
  border-radius: 16px;
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.1),
    0 6px 18px rgba(15, 23, 42, 0.06);
}

.branch-fleet-search-card .location-picker {
  --search-control-height: inherit;
}

.branch-fleet-search-card .search-box .card-body {
  padding: 0.75rem 1rem !important;
}

.branch-fleet-search-card .search-box form > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

.branch-fleet-search-card .search-box-title {
  font-size: 1.35rem;
}

.branch-fleet-search-card .search-box-trust-col .search-trust-badges {
  margin-top: 0.25rem;
}

.branch-fleet-search-card .form-label {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
}

.branch-fleet-search-card .search-box-field-label,
.branch-fleet-search-card label[for^="countrySelect"],
.branch-fleet-search-card label[for^="locationSelect"] {
  display: block;
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  line-height: 1.2;
}

.branch-fleet-search-card .search-box-submit-col .search-box-field-label,
.branch-fleet-search-card .search-box-submit-label {
  display: none;
}

.branch-fleet-search-card .location-picker-trigger-label {
  font-size: 1rem;
}

.branch-fleet-search-card .form-select {
  height: 2.625rem;
  min-height: 2.625rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
  color: #000000;
  transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.branch-fleet-search-card select[name="countryId"] {
  padding-left: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.6 9h16.8M12 3.6c-1.6 2.9-2.4 5.8-2.4 8.4s.8 5.5 2.4 8.4c1.6-2.9 2.4-5.8 2.4-8.4S13.6 6.5 12 3.6Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  background-size: 1rem;
}

.branch-fleet-search-card select[name="location"],
.branch-fleet-search-card .location-picker-trigger {
  height: var(--search-control-height);
  min-height: var(--search-control-height);
  max-height: var(--search-control-height);
  box-sizing: border-box;
  padding-left: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 21s7-4.35 7-11a7 7 0 1 0-14 0c0 6.65 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  background-size: 1rem;
}

.branch-fleet-search-card .form-select:hover:not(:disabled) {
  border-color: #cbd5e1;
}

.branch-fleet-search-card .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.branch-fleet-search-card .btn-primary {
  height: 2.625rem;
  min-height: 2.625rem;
  border: none;
  border-radius: 12px;
  background: #176873;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 8px 20px rgba(23, 104, 115, 0.26);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.branch-fleet-search-card .btn-primary::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m21 21-4.35-4.35M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.branch-fleet-search-card .btn-primary:hover,
.branch-fleet-search-card .btn-primary:focus {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 12px 26px rgba(23, 104, 115, 0.32);
  background: #176873;
}

.branch-fleet-search-card .search-box-compact .search-box-control {
  padding-top: 0;
  padding-bottom: 0;
  font-size: 1rem;
}

.branch-fleet-main {
  min-width: 0;
}

.branch-fleet-filters-tablet {
  display: none;
  margin-bottom: 0.85rem;
}

.branch-fleet-filters-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.branch-fleet-sidebar-card {
  display: none;
}

.branch-fleet-sidebar .cr-filters-card {
  margin-top: 0;
}

/* View Fleet filters — vertical rows (match Public Search → Vehicles) */
.page-branch .branch-fleet-section .cr-filters-check-group,
.page-branch .branch-fleet-section .cr-filters-check-group--categories,
.page-branch .branch-fleet-section .cr-filters-check-group--numeric {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  align-items: stretch;
}

.page-branch .branch-fleet-section .cr-filters-check-group .cr-filters-check,
.page-branch .branch-fleet-section .cr-filters-check-group--categories .cr-filters-check,
.page-branch .branch-fleet-section .cr-filters-check-group--numeric .cr-filters-check {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
}

.page-branch .branch-fleet-section .cr-filters-check-label {
  white-space: normal;
  line-height: 1.4;
}

.branch-filters-shell {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.branch-filters-panel {
  display: block;
}

.branch-filters-backdrop {
  display: none;
}

.branch-filters-modal {
  position: relative;
}

.branch-filters-card {
  margin: 0;
}

@keyframes branchFiltersSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.branch-filters-open {
  overflow: hidden;
}

.branch-fleet-filters {
  margin-bottom: 0;
}

.branch-fleet-filters-tablet {
  display: none !important;
}

.branch-fleet-filters-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
  padding: 0.75rem 0.85rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.branch-fleet-filters-tablet .branch-fleet-filters-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.branch-fleet-filter-field {
  min-width: 0;
}

.branch-fleet-filter-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.branch-fleet-filter-select {
  width: 100%;
  min-width: 0;
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #334155;
  border-radius: 10px;
  font-size: 0.84rem;
}

.branch-fleet-filter-select:focus {
  border-color: var(--branch-blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ── Mobile fleet filters ────────────────────────────────── */

.branch-fleet-mobile-toolbar {
  display: none;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  margin-bottom: 0.75rem;
}

.branch-fleet-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 44px;
  height: 44px;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition:
    border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.branch-fleet-mobile-btn:hover,
.branch-fleet-mobile-btn:focus,
.branch-fleet-mobile-btn[aria-expanded="true"] {
  border-color: #176873;
  color: #176873;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 104, 115, 0.12);
  transform: translateY(-1px);
}

.branch-fleet-mobile-btn:active {
  transform: translateY(0);
}

.branch-fleet-mobile-btn .bi {
  font-size: 0.95rem;
  color: #176873;
}

.branch-fleet-mobile-btn:hover .bi,
.branch-fleet-mobile-btn:focus .bi,
.branch-fleet-mobile-btn[aria-expanded="true"] .bi {
  color: #176873;
}

.branch-fleet-mobile-btn-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  color: #176873;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-fleet-mobile-btn-icon.is-filled {
  fill: currentColor;
  stroke: none;
}

.branch-fleet-mobile-btn:hover .branch-fleet-mobile-btn-icon,
.branch-fleet-mobile-btn:focus .branch-fleet-mobile-btn-icon,
.branch-fleet-mobile-btn[aria-expanded="true"] .branch-fleet-mobile-btn-icon {
  color: #176873;
}

.branch-fleet-mobile-btn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #176873;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.branch-fleet-active-filters {
  display: none;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.branch-fleet-active-filters.is-visible {
  display: flex;
}

.branch-fleet-active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
}

.branch-fleet-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.branch-fleet-active-chip:hover,
.branch-fleet-active-chip:focus {
  background: #dbeafe;
  border-color: #93c5fd;
}

.branch-fleet-active-chip-remove {
  font-size: 0.72rem;
  opacity: 0.85;
}

.branch-fleet-active-clear {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0.2rem 0;
  cursor: pointer;
}

.branch-fleet-active-clear:hover,
.branch-fleet-active-clear:focus {
  color: #334155;
}

.branch-fleet-sheet-root {
  position: fixed;
  inset: 0;
  z-index: 1080;
  pointer-events: none;
}

.branch-fleet-sheet-root.is-open {
  pointer-events: auto;
}

.branch-fleet-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.branch-fleet-sheet-root.is-open .branch-fleet-sheet-backdrop {
  opacity: 1;
}

.branch-fleet-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.branch-fleet-sheet.branch-fleet-sheet-filters {
  top: 0;
  max-height: none;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.branch-fleet-sheet.is-visible {
  transform: translateY(0);
}

.branch-fleet-sheet-handle {
  width: 2.5rem;
  height: 0.28rem;
  margin: 0.55rem auto 0;
  border-radius: 999px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.branch-fleet-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem 0.75rem;
  flex-shrink: 0;
}

.branch-fleet-sheet-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.branch-fleet-sheet-sort .branch-fleet-sheet-title {
  font-size: 1.5rem;
  color: #111827;
  letter-spacing: -0.03em;
}

.branch-fleet-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.branch-fleet-sheet-close:hover,
.branch-fleet-sheet-close:focus {
  background: #e2e8f0;
  transform: scale(1.04);
}

.branch-fleet-sheet-close svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.branch-fleet-sheet-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.35rem 1rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.branch-fleet-sheet-body-list {
  padding: 0.35rem 0.15rem 1.25rem;
}

.branch-fleet-sheet-section + .branch-fleet-sheet-section {
  margin-top: 1rem;
}

.branch-fleet-sheet-section-title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.branch-fleet-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.branch-fleet-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.branch-fleet-chip:hover,
.branch-fleet-chip:focus {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.branch-fleet-chip.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.branch-fleet-sheet-footer {
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eef2f7;
  background: #ffffff;
  flex-shrink: 0;
}

.branch-fleet-sheet-footer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.branch-fleet-sheet-btn {
  min-height: 2.75rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.branch-fleet-sheet-btn:active {
  transform: scale(0.98);
}

.branch-fleet-sheet-btn-secondary {
  background: #f1f5f9;
  color: #334155;
}

.branch-fleet-sheet-btn-secondary:hover,
.branch-fleet-sheet-btn-secondary:focus {
  background: #e2e8f0;
}

.branch-fleet-sheet-btn-primary {
  background: var(--branch-blue-600);
  color: #ffffff;
}

.branch-fleet-sheet-btn-primary:hover,
.branch-fleet-sheet-btn-primary:focus {
  background: var(--branch-blue-700);
}

.branch-fleet-sort-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.branch-fleet-sort-section + .branch-fleet-sort-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.branch-fleet-sort-section-header {
  margin: 0.15rem 0.2rem 0.75rem;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #176873;
  pointer-events: none;
  user-select: none;
}

.branch-sort-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.branch-sort-card,
.branch-fleet-sort-option.branch-sort-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 72px;
  padding: 0.9rem 0.95rem;
  border: 1px solid #e5e7eb;
  border-inline-start: 4px solid transparent;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  color: #111827;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.18s ease;
}

.branch-sort-card:active {
  transform: scale(0.985);
}

.branch-sort-card.is-active,
.branch-fleet-sort-option.branch-sort-card.is-active {
  background: rgba(23, 104, 115, 0.06);
  border-color: rgba(23, 104, 115, 0.22);
  border-inline-start-color: #176873;
  box-shadow: 0 8px 20px rgba(23, 104, 115, 0.08);
  color: #176873;
}

.branch-sort-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.branch-sort-card.is-active .branch-sort-card-icon {
  background: rgba(23, 104, 115, 0.1);
  color: #176873;
}

.branch-sort-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  flex: 1 1 auto;
}

.branch-sort-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
}

.branch-sort-card.is-active .branch-sort-card-title {
  font-weight: 700;
  color: #176873;
}

.branch-sort-card-subtitle {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  color: #6b7280;
}

.branch-sort-card-check {
  display: inline-flex;
  opacity: 0;
  transform: scale(0.7);
  color: #176873;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.branch-sort-card-check svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-sort-card.is-active .branch-sort-card-check {
  opacity: 1;
  transform: scale(1);
}

.branch-fleet-sort-check {
  display: none;
}

body.branch-fleet-sheet-open {
  overflow: hidden;
}

.branch-fleet-empty {
  margin: 0;
  padding: 2.25rem 1rem;
  text-align: center;
  color: #64748b;
  background: #fff;
  border-radius: 20px;
  border: 1px dashed #cbd5e1;
}

.branch-fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.branch-fleet-pagination {
  margin-top: 1.25rem;
}

/* ── Fleet card (marketplace) ──────────────────────────── */

.fleet-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.fleet-icon-lg {
  width: 1.85rem;
  height: 1.85rem;
  opacity: 0.45;
}

.fleet-icon-btn {
  width: 16px;
  height: 16px;
}

.fleet-icon-whatsapp {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.fleet-icon-whatsapp path {
  fill: currentColor;
  stroke: none;
}

.fleet-icon-img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.fleet-icon-car-door {
  opacity: 0.72;
}

.fleet-card {
  --fleet-brand: #176873;
  --fleet-brand-hover: #145a63;
  --fleet-text: #111827;
  --fleet-label: #111827;
  --fleet-muted: #6b7280;
  --fleet-icon: #176873;
  --fleet-border: #e5e7eb;
  --fleet-bg: #ffffff;
  --fleet-whatsapp: #25d366;
  --fleet-whatsapp-hover: #1ebe57;
  --fleet-orange: #f97316;
  --fleet-orange-hover: #ea580c;
  --fleet-body-size: 0.875rem;
  --fleet-body-weight: 500;
  --fleet-body-line: 1.35;
  --fleet-icon-size: 20px;
  --fleet-icon-gap: 8px;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.05);
  padding: 20px 22px;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  scroll-margin-top: 96px;
}

.fleet-card-desktop {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fleet-card-mobile {
  display: none;
}

.fleet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.07);
}

.fleet-card-office {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0 14px;
  margin: 0;
  border-bottom: 1px solid var(--fleet-border);
}

.fleet-card-office-logo-wrap {
  --rental-office-logo-height: 60px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--fleet-border);
}

.fleet-card-office-logo {
  padding: 0;
}

.fleet-card-office-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  color: #176873;
  font-size: 1rem;
  font-weight: 700;
}

.fleet-card-office-logo-placeholder.is-fallback[hidden] {
  display: none;
}

.fleet-card-office-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
  flex: 1;
}

.fleet-card-office-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  width: 100%;
  min-width: 0;
}

.fleet-card-office-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fleet-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fleet-card-office-location {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Shared Featured Office badge — matches Rental Office search cards (search.css). */
.fleet-card .office-card-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.28rem 0.6rem;
  border-radius: 5px;
  background: #facc15;
  border: none;
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: none;
}

.fleet-card .office-card-featured-star {
  display: inline-flex;
  font-size: 0.72rem;
  line-height: 1;
  color: #000;
}

.fleet-card .office-card-featured-label {
  display: inline;
  color: #000;
}

.fleet-card-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  padding: 14px 0;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.fleet-card-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  min-height: 100%;
  padding: 0 14px;
  box-sizing: border-box;
}

.fleet-card-col + .fleet-card-col {
  border-inline-start: 1px solid var(--fleet-border);
}

.fleet-card-col:first-child {
  padding-inline-start: 0;
}

.fleet-card-col:last-child {
  padding-inline-end: 0;
}

.fleet-card-col-identity {
  gap: 6px;
}

.fleet-card-header {
  text-align: left;
  margin: 0;
  flex-shrink: 0;
}

.fleet-card-name {
  margin: 0;
  font-size: clamp(1.2rem, 1.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--fleet-text);
  letter-spacing: -0.03em;
}

.fleet-card-year {
  margin: 2px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--fleet-muted);
}

.fleet-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 4px 0 0;
}

.fleet-card-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  object-position: center;
}

.fleet-card-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  min-height: 110px;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 600;
}

.fleet-card-section-title {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fleet-brand);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.fleet-card-col-specs > .fleet-card-section-title,
.fleet-card-col-requirements > .fleet-card-section-title,
.fleet-card-col-info > .fleet-card-section-title {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--fleet-brand);
}

.fleet-card-spec-list,
.fleet-card-requirements-list {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}

.fleet-card-spec,
.fleet-card-requirement {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--fleet-icon-gap);
  width: 100%;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--fleet-border);
  text-align: left;
  box-sizing: border-box;
}

.fleet-card-spec:last-child,
.fleet-card-requirement:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fleet-card-spec:first-child,
.fleet-card-requirement:first-child {
  padding-top: 0;
}

.fleet-card-spec-icon,
.fleet-card-row-icon,
.fleet-card-info-icon {
  width: var(--fleet-icon-size);
  height: var(--fleet-icon-size);
  flex-shrink: 0;
  stroke: var(--fleet-icon);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--fleet-icon);
}

.fleet-card-info-icon {
  width: 18px;
  height: 18px;
}

.fleet-card-spec-icon-img {
  width: var(--fleet-icon-size);
  height: var(--fleet-icon-size);
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(32%) sepia(48%) saturate(612%) hue-rotate(146deg) brightness(93%) contrast(91%);
}

.fleet-card-spec span,
.fleet-card-requirement-text,
.fleet-card-requirement-label,
.fleet-card-requirement-value,
.fleet-card-info-label {
  font-size: var(--fleet-body-size);
  font-weight: var(--fleet-body-weight);
  line-height: var(--fleet-body-line);
  color: var(--fleet-label);
  letter-spacing: 0;
}

.fleet-card-requirement-label {
  color: var(--fleet-muted);
}

.fleet-card-requirement-value {
  color: var(--fleet-text);
  font-weight: 700;
}

.fleet-card-requirement-text {
  display: inline;
  min-width: 0;
}

.fleet-card-info-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-evenly;
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
}

.fleet-card-info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 6px 4px;
}

.fleet-card-info-divider {
  width: 100%;
  height: 1px;
  background: var(--fleet-border);
  flex-shrink: 0;
}

.fleet-card-info-label {
  color: var(--fleet-label);
  font-weight: 600;
}

.fleet-card-info-value {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fleet-text);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 100%;
  min-width: 0;
}

.fleet-card-info-kilometers .fleet-card-info-value:not(.is-unlimited) {
  font-size: 0.95rem;
  font-weight: 700;
}

.fleet-card-deposit-note,
.fleet-card-info-note {
  display: none;
}

.fleet-card-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0;
  margin-top: 12px;
  border-top: none;
  box-sizing: border-box;
}

.fleet-card-section-pricing {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid var(--fleet-border);
}

.fleet-card-section-actions {
  padding-top: 0;
  margin-top: 12px;
  border-top: none;
}

.fleet-card-section-pricing .fleet-card-section-title {
  margin-bottom: 0;
}

.fleet-card-pricing {
  width: 100%;
}

.fleet-card-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  width: 100%;
  border-radius: 12px;
  background: var(--fleet-brand);
  border: none;
  box-shadow: none;
  overflow: hidden;
  padding: 12px 10px;
  box-sizing: border-box;
}

.fleet-card-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  padding: 0 10px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.28);
  min-width: 0;
  box-shadow: none;
}

.fleet-card-rate:last-child {
  border-inline-end: none;
}

.fleet-card-rate-label {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
  text-decoration: none;
}

.fleet-card-rate-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3em;
  line-height: 1.2;
}

.fleet-card-rate-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fleet-card-rate-unit {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
}

.fleet-card-pricing-empty {
  margin: 0;
  padding: 12px 16px;
  text-align: center;
  border-radius: 12px;
  background: var(--fleet-brand);
  border: none;
  box-shadow: none;
  color: #ffffff;
  font-size: var(--fleet-body-size);
  font-weight: var(--fleet-body-weight);
  line-height: var(--fleet-body-line);
}

.fleet-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.fleet-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.fleet-card-btn .bi {
  font-size: 0.98rem;
  line-height: 1;
}

.fleet-card-btn:hover,
.fleet-card-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.1);
}

.fleet-card-btn-whatsapp {
  color: #ffffff;
  background: var(--fleet-whatsapp);
  border-color: var(--fleet-whatsapp);
}

.fleet-card-btn-whatsapp .bi {
  color: #ffffff;
}

.fleet-card-btn-whatsapp:hover,
.fleet-card-btn-whatsapp:focus {
  color: #ffffff;
  background: var(--fleet-whatsapp-hover);
  border-color: var(--fleet-whatsapp-hover);
}

.fleet-card-btn-call {
  color: #ffffff;
  background: var(--fleet-orange);
  border-color: var(--fleet-orange);
}

.fleet-card-btn-call .bi {
  color: #ffffff;
}

.fleet-card-btn-call:hover,
.fleet-card-btn-call:focus {
  color: #ffffff;
  background: var(--fleet-orange-hover);
  border-color: var(--fleet-orange-hover);
}

.fleet-card-btn-maps {
  color: var(--fleet-brand);
  background: #ffffff;
  border-color: var(--fleet-brand);
  box-shadow: none;
}

.fleet-card-btn-maps .bi {
  color: var(--fleet-brand);
}

.fleet-card-btn-maps:hover,
.fleet-card-btn-maps:focus {
  color: #ffffff;
  background: var(--fleet-brand);
  border-color: var(--fleet-brand);
  box-shadow: 0 6px 14px rgba(23, 104, 115, 0.22);
}

.fleet-card-btn-maps:hover .bi,
.fleet-card-btn-maps:focus .bi {
  color: #ffffff;
}

.fleet-card-btn.is-unavailable {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.vehicle-card-highlight {
  box-shadow: 0 0 0 3px rgba(23, 104, 115, 0.24), 0 12px 30px rgba(17, 24, 39, 0.1) !important;
}

.branch-airport-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.08);
}

.branch-airport-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  flex-shrink: 0;
}

.branch-airport-note-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-airport-note-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #14532d;
  letter-spacing: -0.02em;
}

.branch-airport-note-lead {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #166534;
}

.branch-airport-note-text {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #166534;
  line-height: 1.45;
  opacity: 0.92;
}

@media (min-width: 768px) {
  .branch-fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .branch-fleet-section {
    padding: 30px 0;
  }

  .fleet-card.vehicle-card {
    padding: 30px;
  }

  .branch-fleet-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
  }

  .branch-fleet-sidebar {
    display: block;
    position: static;
    width: 320px;
    align-self: start;
  }

  .branch-fleet-sidebar-sticky {
    position: static;
    max-height: none;
    overflow: visible;
    z-index: auto;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
  }

  .branch-fleet-sidebar .cr-filters-card-header {
    padding: 16px 22px;
  }

  .branch-fleet-sidebar .cr-filters-card-title {
    font-size: 1.35rem;
  }

  .branch-fleet-sidebar .cr-filters-card-body {
    padding: 4px 22px 0;
  }

  .branch-fleet-sidebar .cr-filters-section {
    padding: 22px 0;
  }

  .branch-fleet-sidebar .cr-filters-section-title {
    margin-bottom: 16px;
  }

  .branch-fleet-sidebar .cr-filters-chip-group {
    gap: 12px;
  }

  .branch-fleet-sidebar .cr-filters-chip {
    height: 42px;
    min-height: 42px;
    padding: 0 18px;
  }

  .branch-fleet-sidebar .cr-filters-check-group {
    gap: 0;
  }

  .branch-fleet-sidebar .cr-filters-check-group--categories {
    column-gap: 0;
    row-gap: 0;
  }

  .branch-fleet-sidebar .cr-filters-card-footer {
    padding: 18px 22px 22px;
  }

  .branch-fleet-sidebar .cr-filters-apply {
    height: 52px;
    min-height: 52px;
  }

  .branch-fleet-search-card .search-box {
    --search-control-height: 2.875rem;
  }

  .branch-fleet-search-card .search-box .card-body {
    padding: 1.2rem 1.25rem !important;
  }

  .branch-fleet-search-card .search-box form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .branch-fleet-search-card .search-box form.row > * {
    padding: 0;
  }

  .branch-fleet-search-card .search-box-field-label,
  .branch-fleet-search-card label[for^="countrySelect"],
  .branch-fleet-search-card label[for^="locationSelect"] {
    margin-bottom: 0.5rem;
  }

  .branch-fleet-search-card .form-select,
  .branch-fleet-search-card .btn-primary {
    height: 2.875rem;
    min-height: 2.875rem;
  }

  .branch-fleet-search-card {
    display: block;
  }

  .branch-fleet-search-card--sidebar {
    display: block;
  }

  .branch-mobile-search {
    display: none;
  }

  .branch-fleet-sort-control {
    display: flex;
    width: min(320px, 46vw);
  }

  .branch-fleet-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 0.85rem;
  }

  .branch-fleet-sort-control .branch-sort {
    width: 100%;
    min-width: 0;
  }

  .branch-fleet-filters-tablet {
    display: none !important;
  }

  .branch-fleet-mobile-toolbar {
    display: none;
  }

  .branch-fleet-active-filters {
    display: none !important;
  }

  .branch-fleet-grid {
    grid-template-columns: 1fr;
  }

  .branch-filters-panel {
    display: block;
  }

  .branch-filters-backdrop {
    display: none !important;
  }
}

@media (min-width: 1400px) {
  .branch-fleet-container {
    max-width: 1520px;
  }
}

@media (max-width: 991.98px) {
  .branch-fleet-mobile-toolbar {
    display: grid;
  }

  .branch-fleet-sidebar {
    display: block;
    width: 100%;
  }

  .branch-fleet-sidebar-sticky {
    position: static;
    max-height: none;
    overflow: visible;
    gap: 0.75rem;
  }

  .branch-fleet-search-card--sidebar {
    display: none !important;
  }

  .branch-filters-panel {
    display: none;
  }

  .branch-filters-panel.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1080;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .branch-filters-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
  }

  .branch-filters-modal {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
    animation: branchFiltersSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .branch-filters-panel.is-open .cr-filters-card {
    height: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .branch-filters-panel.is-open .cr-filters-card-header {
    flex-shrink: 0;
    border-radius: 0;
  }

  .branch-filters-panel.is-open .cr-filters-card-body {
    flex: 1 1 auto;
    min-height: 0;
  }
}

/* Mobile Vehicle Card only (<768px). Tablet 768–991.98px keeps Desktop four-column layout. */
@media (max-width: 767.98px) {
  .fleet-card {
    --fleet-brand: #176873;
    --fleet-text: #111827;
    --fleet-label: #111827;
    --fleet-muted: #6b7280;
    --fleet-icon: #176873;
    --fleet-border: #f1f5f9;
    --fleet-body-size: 0.8125rem;
    --fleet-body-weight: 500;
    --fleet-body-line: 1.3;
    --fleet-icon-size: 14px;
    --fleet-icon-gap: 5px;
    --fleet-section-inner-gap: 8px;
    --fleet-gap: 12px;
    --fleet-col-pad-x: 8px;
    --fleet-title-size: 0.8125rem;
    --fleet-value-size: 0.8125rem;
    --fleet-label-size: 0.5625rem;
    padding: 14px 16px 12px;
  }

  /* Keep office name + Featured badge + location readable on mobile. */
  .fleet-card-office {
    align-items: center;
    gap: 0.65rem;
    padding: 0 0 12px;
  }

  .fleet-card-office-logo-wrap {
    --rental-office-logo-height: 56px;
  }

  .fleet-card-office-name {
    font-size: 1rem;
  }

  .fleet-card-office-location {
    display: block !important;
    font-size: 0.8125rem;
    font-weight: 500;
  }

  /* Match Rental Office mobile Featured treatment: compact star badge. */
  .fleet-card .office-card-featured-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    min-width: 1.35rem;
    min-height: 1.35rem;
    padding: 0;
    gap: 0;
    border-radius: 5px;
    background: #facc15;
    border: none;
    color: #000;
    box-shadow: none;
    flex: 0 0 auto;
    line-height: 1;
  }

  .fleet-card .office-card-featured-star {
    display: inline-flex;
    font-size: 0.72rem;
    line-height: 1;
    color: #000;
  }

  .fleet-card .office-card-featured-label {
    display: none;
  }

  .fleet-card-desktop {
    display: none !important;
  }

  .fleet-card-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .fleet-card-mobile .fleet-card-header {
    text-align: left;
    margin: 0;
  }

  .fleet-card-mobile .fleet-card-name {
    margin: 0;
    padding-top: 10px;
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--fleet-text);
    letter-spacing: -0.03em;
  }

  .fleet-card-mobile .fleet-card-year {
    margin: 2px 0 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--fleet-muted);
  }

  .fleet-card-mobile .fleet-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: -2px 0 0;
    padding: 0;
  }

  .fleet-card-mobile .fleet-card-image {
    display: block;
    width: 88%;
    max-width: 88%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    object-position: center;
  }

  .fleet-card-mobile .fleet-card-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 88%;
    min-height: 96px;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .fleet-card-mobile .fleet-card-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
  }

  .fleet-card-mobile .fleet-card-section {
    display: flex;
    flex-direction: column;
    gap: var(--fleet-section-inner-gap);
    width: 100%;
    padding: var(--fleet-gap) 0;
    margin-top: 0;
    border-top: 1px solid var(--fleet-border);
    box-sizing: border-box;
  }

  .fleet-card-mobile .fleet-card-section-actions {
    padding-top: 6px;
    padding-bottom: 0;
  }

  .fleet-card-mobile .fleet-card-section-title {
    margin: 0;
    padding: 0;
    width: auto;
    max-width: 100%;
    border-bottom: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #176873;
    text-align: left;
  }

  .fleet-card-mobile .fleet-card-spec-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .fleet-card-mobile .fleet-card-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--fleet-icon-gap);
    width: 100%;
    padding: 2px var(--fleet-col-pad-x);
    border-bottom: none;
    text-align: center;
    min-width: 0;
  }

  .fleet-card-mobile .fleet-card-spec + .fleet-card-spec {
    border-inline-start: 1px solid var(--fleet-border);
  }

  .fleet-card-mobile .fleet-card-spec-icon,
  .fleet-card-mobile .fleet-card-row-icon,
  .fleet-card-mobile .fleet-card-value-icon {
    width: var(--fleet-icon-size);
    height: var(--fleet-icon-size);
    flex-shrink: 0;
    stroke: var(--fleet-icon);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--fleet-icon);
  }

  .fleet-card-mobile .fleet-card-spec-icon-img {
    width: var(--fleet-icon-size);
    height: var(--fleet-icon-size);
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(32%) sepia(48%) saturate(612%) hue-rotate(146deg) brightness(93%) contrast(91%);
  }

  .fleet-card-mobile .fleet-card-spec span {
    font-size: var(--fleet-body-size);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--fleet-label);
    text-align: center;
  }

  .fleet-card-mobile .fleet-card-requirements-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 0;
  }

  .fleet-card-mobile .fleet-card-requirement {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--fleet-icon-gap);
    min-width: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 2px var(--fleet-col-pad-x);
    border: none;
    border-bottom: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
  }

  .fleet-card-mobile .fleet-card-requirement + .fleet-card-requirement {
    border-inline-start: 1px solid var(--fleet-border);
  }

  .fleet-card-mobile .fleet-card-row-icon {
    margin-top: 0;
    width: var(--fleet-icon-size);
    height: var(--fleet-icon-size);
    color: var(--fleet-icon);
    stroke: var(--fleet-icon);
  }

  .fleet-card-mobile .fleet-card-requirement-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    min-width: 0;
  }

  .fleet-card-mobile .fleet-card-requirement-label {
    order: 2;
    font-size: var(--fleet-label-size);
    font-weight: 500;
    line-height: 1.2;
    color: var(--fleet-muted);
    text-align: center;
  }

  .fleet-card-mobile .fleet-card-requirement-value {
    order: 1;
    font-size: var(--fleet-value-size);
    font-weight: 700;
    line-height: 1.1;
    color: var(--fleet-text);
    text-align: center;
  }

  .fleet-card-mobile .fleet-card-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    gap: 0 12px;
    width: 100%;
    min-width: 0;
  }

  .fleet-card-mobile .fleet-card-split-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    text-align: center;
  }

  .fleet-card-mobile .fleet-card-split-col .fleet-card-section-title {
    text-align: center;
    width: 100%;
  }

  .fleet-card-mobile .fleet-card-split-divider {
    width: 1px;
    align-self: stretch;
    background: var(--fleet-border);
    min-height: 28px;
  }

  .fleet-card-mobile .fleet-card-value-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fleet-icon-gap);
    min-width: 0;
    max-width: 100%;
  }

  .fleet-card-mobile .fleet-card-deposit-amount,
  .fleet-card-mobile .fleet-card-km-value,
  .fleet-card-mobile .fleet-card-km-value.is-unlimited {
    margin: 0;
    font-size: var(--fleet-value-size);
    font-weight: 700;
    line-height: 1.25;
    color: var(--fleet-text);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    text-align: center;
  }

  .fleet-card-mobile .fleet-card-pricing {
    width: 100%;
  }

  .fleet-card-mobile .fleet-card-rate {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
    justify-content: center;
    text-align: center;
    column-gap: 4px;
    row-gap: 5px;
    padding: 0 6px;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.22);
    min-width: 0;
  }

  .fleet-card-mobile .fleet-card-rate:last-child {
    border-inline-end: none;
  }

  .fleet-card-mobile .fleet-card-rate-label {
    flex: 0 0 100%;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
  }

  .fleet-card-mobile .fleet-card-rate-price {
    font-size: 0.70rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
  }

  .fleet-card-mobile .fleet-card-rate-unit {
    font-size: 0.70rem;
    font-weight: 400;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
  }

  .fleet-card-mobile .fleet-card-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-radius: 10px;
    background: var(--fleet-brand);
    border: none;
    box-shadow: none;
    overflow: hidden;
    padding: 8px 10px;
    box-sizing: border-box;
  }

  .fleet-card-mobile .fleet-card-pricing-empty {
    margin: 0;
    padding: 10px 12px;
    text-align: center;
    border-radius: 10px;
    background: var(--fleet-brand);
    color: #ffffff;
    font-size: var(--fleet-body-size);
    font-weight: var(--fleet-body-weight);
    line-height: var(--fleet-body-line);
  }

  .fleet-card-mobile .fleet-card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .fleet-card-mobile .fleet-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 40px;
    height: 40px;
    padding: 0.3rem 0.4rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1.5px solid transparent;
    white-space: nowrap;
  }

  .fleet-card-mobile .fleet-card-btn .bi {
    font-size: 13px;
    line-height: 1;
  }

  .fleet-card-mobile .fleet-card-btn-maps {
    color: var(--fleet-brand);
    background: #ffffff;
    border: 1.5px solid var(--fleet-brand);
    box-shadow: none;
  }

  .fleet-card-mobile .fleet-card-btn-maps .bi {
    color: var(--fleet-brand);
  }

  .fleet-card-mobile .fleet-card-btn-maps:hover,
  .fleet-card-mobile .fleet-card-btn-maps:focus {
    color: var(--fleet-brand-hover);
    background: rgba(23, 104, 115, 0.04);
    border-color: var(--fleet-brand-hover);
    box-shadow: none;
    transform: translateY(-1px);
  }

  .fleet-card-mobile .fleet-card-btn-maps:hover .bi,
  .fleet-card-mobile .fleet-card-btn-maps:focus .bi {
    color: var(--fleet-brand-hover);
  }
}

@media (max-width: 767.98px) {
  .branch-fleet-filters-tablet {
    display: none;
  }

  .fleet-card {
    padding: 12px 16px 10px;
    --fleet-gap: 12px;
    --fleet-section-inner-gap: 6px;
    --fleet-icon-gap: 5px;
    --fleet-icon-size: 13px;
    --fleet-col-pad-x: 6px;
    --fleet-body-size: 0.75rem;
    --fleet-value-size: 0.75rem;
    --fleet-label-size: 0.5rem;
    --fleet-title-size: 0.75rem;
    --fleet-border: #f1f5f9;
  }

  .fleet-card-mobile .fleet-card-header {
    margin-bottom: 0;
  }

  .fleet-card-mobile .fleet-card-section-actions {
    padding-top: 6px;
  }

  .fleet-card-mobile .fleet-card-name {
    font-size: 1.5rem;
    font-weight: 800;
  }

  .fleet-card-mobile .fleet-card-year {
    margin-top: 2px;
    font-size: 0.8125rem;
  }

  .fleet-card-mobile .fleet-card-media {
    margin-top: -4px;
    padding: 0;
  }

  .fleet-card-mobile .fleet-card-image {
    width: 92%;
    max-width: 92%;
    max-height: 140px;
  }

  .fleet-card-mobile .fleet-card-image-placeholder {
    width: 92%;
    min-height: 88px;
  }

  .fleet-card-mobile .fleet-card-section-title {
    font-size: 15px;
  }

  .fleet-card-mobile .fleet-card-spec-row {
    gap: 0;
  }

  .fleet-card-mobile .fleet-card-requirement {
    padding: 2px var(--fleet-col-pad-x);
  }

  .fleet-card-mobile .fleet-card-split {
    gap: 0 10px;
  }

  .fleet-card-mobile .fleet-card-split-divider {
    min-height: 24px;
  }

  .fleet-card-mobile .fleet-card-pricing-grid {
    padding: 7px 8px;
  }

  .fleet-card-mobile .fleet-card-rate {
    padding: 0 4px;
  }

  .fleet-card-mobile .fleet-card-rate-price {
    font-size: 0.70rem;
  }

  .fleet-card-mobile .fleet-card-rate-unit {
    font-size: 0.70rem;
  }

  .fleet-card-mobile .fleet-card-pricing-empty {
    padding: 8px 10px;
  }

  .fleet-card-mobile .fleet-card-actions {
    gap: 8px;
  }

  .fleet-card-mobile .fleet-card-btn {
    min-height: 38px;
    height: 38px;
    font-size: 0.75rem;
    padding-inline: 0.3rem;
    gap: 4px;
  }

  .fleet-card-mobile .fleet-card-btn .bi {
    font-size: 13px;
  }
}

@media (min-width: 992px) {
  .branch-fleet-mobile-toolbar,
  .branch-fleet-sheet-root {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .branch-mobile-search {
    display: block;
  }

  .branch-mobile-search .branch-fleet-search-card {
    --branch-search-control-height: 40px;
    display: block;
    width: 100%;
    min-width: 0;
  }

  .branch-mobile-search .search-box {
    border-radius: 14px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .branch-mobile-search .search-box .card-body {
    padding: 12px !important;
    width: 100%;
    min-width: 0;
  }

  .branch-mobile-search .search-box form {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) var(--branch-search-control-height);
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    width: 100%;
    min-width: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .branch-mobile-search .search-box form.row {
    margin-left: 0;
    margin-right: 0;
  }

  .branch-mobile-search .search-box form > [class*="col-"] {
    flex: none;
    max-width: 100%;
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .branch-mobile-search .search-box-heading-col,
  .branch-mobile-search .search-box-trust-col {
    display: none !important;
  }

  .branch-mobile-search .search-box-country-col,
  .branch-mobile-search .search-box-location-col,
  .branch-mobile-search .search-box-submit-col {
    flex: none;
    max-width: 100%;
    width: auto;
    min-width: 0;
  }

  .branch-mobile-search .search-box-submit-col {
    width: var(--branch-search-control-height);
    max-width: var(--branch-search-control-height);
    position: relative;
  }

  .branch-mobile-search .form-label,
  .branch-mobile-search .search-box-field-label,
  .branch-mobile-search .search-box-submit-label {
    display: none;
  }

  .branch-mobile-search .form-select,
  .branch-mobile-search .location-picker-trigger {
    height: var(--branch-search-control-height);
    min-height: var(--branch-search-control-height);
    max-height: var(--branch-search-control-height);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.82rem;
    line-height: 1.2;
    border-radius: 10px;
  }

  .branch-mobile-search .location-picker-trigger {
    padding-right: 1.65rem;
  }

  .branch-mobile-search .location-picker-trigger-label {
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .branch-mobile-search select[name="countryId"],
  .branch-mobile-search .search-box-country-col .location-picker-trigger {
    padding-left: 2rem;
    background-position: left 0.55rem center;
    background-size: 0.85rem;
  }

  .branch-mobile-search select[name="location"],
  .branch-mobile-search .search-box-location-col .location-picker-trigger {
    padding-left: 2rem;
    padding-right: 1.65rem;
    background-position: left 0.55rem center;
    background-size: 0.85rem;
  }

  .branch-mobile-search .btn-primary {
    width: var(--branch-search-control-height);
    min-width: var(--branch-search-control-height);
    max-width: var(--branch-search-control-height);
    height: var(--branch-search-control-height);
    min-height: var(--branch-search-control-height);
    aspect-ratio: 1;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(23, 104, 115, 0.22);
  }

  .branch-mobile-search .search-box-submit-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .branch-mobile-search .btn-primary::before {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .branch-fleet-active-filters.is-visible {
    display: flex;
  }
}

/* ── Branch RTL text alignment (Arabic) ────────────────── */

html[dir="rtl"] .branch-sort-trigger,
html[dir="rtl"] .branch-sort-option,
html[dir="rtl"] .branch-sort-card,
html[dir="rtl"] .branch-fleet-sort-option.branch-sort-card,
html[dir="rtl"] .branch-fleet-title,
html[dir="rtl"] .branch-fleet-subtitle,
html[dir="rtl"] .branch-fleet-sort-label,
html[dir="rtl"] .branch-fleet-sheet-title,
html[dir="rtl"] .branch-fleet-filter-label,
html[dir="rtl"] .fleet-card-header {
  text-align: right;
}

html[dir="rtl"] .fleet-card-office-identity {
  align-items: flex-end;
}

html[dir="rtl"] .fleet-card-office-location {
  direction: rtl;
  text-align: right;
}

/* Arabic vehicle pricing typography — match Rental Offices card hierarchy. */
html[dir="rtl"] .fleet-card-info-value,
html[dir="rtl"] .fleet-card-info-kilometers .fleet-card-info-value:not(.is-unlimited),
html[dir="rtl"] .fleet-card-info-value.is-unlimited {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

html[dir="rtl"] .fleet-card-rate-price {
  font-size: 15.2px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

html[dir="rtl"] .fleet-card-deposit-amount,
html[dir="rtl"] .fleet-card-km-value,
html[dir="rtl"] .fleet-card-km-value.is-unlimited {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

html[dir="rtl"] .fleet-card-info-kilometers .fleet-card-info-value,
html[dir="rtl"] .fleet-card-km-value,
html[dir="rtl"] .fleet-card-km-value.is-unlimited {
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 100%;
  min-width: 0;
}

html[dir="rtl"] .fleet-card-requirement-value,
html[dir="rtl"] .fleet-card-spec span {
  font-variant-numeric: lining-nums;
}

html[dir="rtl"] .fleet-card-info-value,
html[dir="rtl"] .fleet-card-rate-price,
html[dir="rtl"] .fleet-card-deposit-amount,
html[dir="rtl"] .fleet-card-km-value,
html[dir="rtl"] .office-card-metric-value-deposit,
html[dir="rtl"] .office-card-price-amount,
html[dir="rtl"] .office-card-schedule-line-hours {
  font-variant-numeric: lining-nums;
}

@media (max-width: 767.98px) {
  /* Arabic mobile fleet cards — true RTL flow + tighter value typography. */
  html[dir="rtl"] .fleet-card-mobile .fleet-card-header,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-section-title {
    text-align: right;
  }

  html[dir="rtl"] .fleet-card-mobile .fleet-card-split-col .fleet-card-section-title {
    text-align: center;
  }

  html[dir="rtl"] .fleet-card-mobile .fleet-card-spec-row,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-requirements-list,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-pricing-grid {
    direction: rtl;
  }

  /* Keep each column's icon+label stacked and centered inside its cell. */
  html[dir="rtl"] .fleet-card-mobile .fleet-card-spec,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-spec span,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-requirement,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-requirement-label,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-requirement-value,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-rate {
    text-align: center;
  }

  html[dir="rtl"] .fleet-card-mobile .fleet-card-value-row,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-split-col,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-spec,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-requirement,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-requirement-text {
    align-items: center;
    justify-content: center;
  }

  html[dir="rtl"] .fleet-card-mobile .fleet-card-rate-label {
    font-weight: 700;
  }

  html[dir="rtl"] .fleet-card-mobile .fleet-card-rate-price,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-rate-unit {
    font-size: 0.70rem;
    font-weight: 400;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.2;
  }

  html[dir="rtl"] .fleet-card-mobile .fleet-card-rate {
    padding-inline: 5px;
  }

  html[dir="rtl"] .fleet-card-mobile .fleet-card-deposit-amount,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-km-value,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-km-value.is-unlimited {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    max-width: 100%;
    min-width: 0;
  }

  html[dir="rtl"] .fleet-card-mobile .fleet-card-split-col,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-km-value,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-km-value.is-unlimited,
  html[dir="rtl"] .fleet-card-mobile .fleet-card-deposit-amount {
    text-align: center;
  }
}
