:root {
  --mt-primary: #2563eb;
  --mt-primary-rgb: 37, 99, 235;
  --mt-navy: #071836;
  --mt-teal: var(--mt-primary);
  --mt-muted: #64748b;
  --mt-line: #dfe5ec;
  --mt-bg: #f7f9fc;
}

.mt-booking {
  color: var(--mt-navy);
  font-family: inherit;
  max-width: 1440px;
  margin: 0 auto;
}

.mt-booking * {
  box-sizing: border-box;
}

.mt-search-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.11);
}

body.mt-quick-book-open {
  overflow: hidden;
}

.mt-quick-book-modal {
  position: fixed;
  z-index: 100100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.mt-quick-book-modal[hidden] {
  display: none;
}

.mt-quick-book-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(3, 7, 18, 0.68);
  cursor: default;
}

.mt-quick-book-dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.3);
}

.mt-quick-book-close {
  position: absolute;
  z-index: 20;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--mt-line);
  border-radius: 50%;
  background: #fff;
  color: var(--mt-navy);
  cursor: pointer;
}

.mt-quick-book-close:hover,
.mt-quick-book-close:focus-visible {
  border-color: var(--mt-primary);
  color: var(--mt-primary);
}

.mt-quick-book-close .mt-icon {
  width: 19px;
  height: 19px;
}

.mt-search-card-modal {
  border: 0;
  padding: 28px;
  box-shadow: none;
}

.mt-search-card-modal .mt-search-topline {
  align-items: flex-start;
  padding-right: 44px;
}

.mt-search-card-modal .mt-search-options {
  flex-wrap: wrap;
}

.mt-search-card-modal .mt-booking-bar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.mt-search-card-modal .mt-booking-field {
  min-height: 68px;
  border: 1px solid var(--mt-line);
  border-radius: 8px;
}

.mt-search-card-modal .mt-find {
  width: 100%;
  min-height: 68px;
  margin: 0;
}

.mt-search-card-modal .mt-search-note {
  margin-top: 0;
}

.mt-search-form {
  display: grid;
  gap: 16px;
}

.mt-search-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.mt-search-heading {
  min-width: 0;
}

.mt-search-heading h2 {
  color: var(--mt-navy);
  font-size: 26px;
  line-height: 1.15;
  margin: 3px 0 0;
}

.mt-search-options {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.mt-preferred-vehicle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 260px;
  border: 1px solid rgba(var(--mt-primary-rgb), 0.25);
  border-radius: 8px;
  background: rgba(var(--mt-primary-rgb), 0.07);
  color: var(--mt-primary);
  padding: 8px 12px;
}

.mt-preferred-vehicle > .mt-icon {
  width: 19px;
  height: 19px;
}

.mt-preferred-vehicle > span {
  display: grid;
  min-width: 0;
}

.mt-preferred-vehicle small {
  color: var(--mt-muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.mt-preferred-vehicle strong {
  color: var(--mt-navy);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mt-results-head h2 {
  font-size: 44px;
  line-height: 1.08;
  margin: 6px 0 0;
  color: var(--mt-navy);
}

.mt-results-head p {
  color: var(--mt-muted);
  font-size: 20px;
  line-height: 1.45;
  margin: 0;
}

.mt-eyebrow {
  color: var(--mt-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mt-service-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--mt-bg);
}

.mt-service-icon,
.mt-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--mt-primary);
}

.mt-service-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--mt-primary);
}

.mt-service-icon .mt-icon {
  width: 17px;
  height: 17px;
}

.mt-field-control {
  display: grid;
  gap: 1px;
  min-width: 0;
  width: 100%;
}

.mt-field-label {
  color: var(--mt-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.mt-service-picker select,
.mt-booking-field select,
.mt-booking-field input {
  appearance: auto;
  width: 100%;
  min-width: 0;
  height: 28px;
  min-height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mt-navy);
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  outline: none;
}

.mt-service-picker select {
  min-width: 150px;
}

.mt-service-picker:focus-within {
  border-color: var(--mt-primary);
  box-shadow: 0 0 0 3px rgba(var(--mt-primary-rgb), 0.12);
}

.mt-booking-bar {
  display: grid;
  grid-template-columns: minmax(185px, 1.25fr) minmax(185px, 1.25fr) minmax(145px, 0.9fr) minmax(125px, 0.75fr) minmax(115px, 0.65fr) minmax(138px, 0.75fr);
  align-items: center;
  min-width: 0;
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.mt-booking-field {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 72px;
  padding: 12px 15px;
  border-right: 1px solid var(--mt-line);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mt-booking-field:hover,
.mt-booking-field:focus-within {
  background: var(--mt-bg);
}

.mt-booking-field:focus-within {
  box-shadow: inset 0 -2px 0 var(--mt-primary);
}

.mt-field-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--mt-primary-rgb), 0.18);
  border-radius: 50%;
  background: rgba(var(--mt-primary-rgb), 0.07);
}

.mt-field-icon .mt-icon {
  width: 15px;
  height: 15px;
}

.mt-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mt-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 0;
  border: 0;
  border-radius: 20px;
  background: var(--mt-primary);
  color: #fff !important;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  padding: 15px 20px;
  transition: filter 0.15s ease;
}

.mt-primary:hover {
  filter: brightness(0.94);
}

.mt-primary:active {
  transform: translateY(1px);
}

.mt-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.mt-find {
  align-self: stretch;
  width: calc(100% - 14px);
  min-width: 0;
  min-height: 56px;
  margin: 7px;
  border-radius: 20px;
  padding: 12px 16px;
  font-size: 15px;
  white-space: nowrap;
}

.mt-search-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mt-muted);
  font-size: 12px;
  margin: -4px 0 0;
}

.mt-search-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mt-primary);
}

.mt-fleet-showcase {
  margin: 54px auto;
}

.mt-fleet-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.mt-fleet-head-controls {
  justify-content: flex-end;
  margin-bottom: 14px;
}

.mt-fleet-head h2 {
  color: var(--mt-navy);
  font-size: 34px;
  line-height: 1.15;
  margin: 4px 0 0;
}

.mt-fleet-head p {
  color: var(--mt-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 7px 0 0;
}

.mt-fleet-controls {
  display: flex;
  gap: 8px;
}

.mt-fleet-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--mt-line);
  border-radius: 50%;
  background: #fff;
  color: var(--mt-navy);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.mt-fleet-arrow:hover:not(:disabled) {
  border-color: var(--mt-primary);
  background: var(--mt-primary);
  color: #fff;
}

.mt-fleet-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.mt-fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.mt-fleet-layout-grid .mt-fleet-card {
  height: 100%;
}

.mt-fleet-layout-grid .mt-fleet-image {
  background: #fff;
}

.mt-fleet-layout-grid .mt-fleet-grid {
  grid-template-columns: repeat(var(--mt-fleet-columns, 4), minmax(0, 1fr));
}

.mt-fleet-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.mt-fleet-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--mt-line);
  border-radius: 50%;
  background: #fff;
  color: var(--mt-navy);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.mt-fleet-page-button:hover:not(:disabled) {
  border-color: var(--mt-primary);
  background: var(--mt-primary);
  color: #fff;
}

.mt-fleet-page-button:disabled {
  cursor: default;
  opacity: 0.35;
}

.mt-fleet-page-status {
  min-width: 74px;
  color: var(--mt-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.mt-fleet-layout-list .mt-fleet-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.mt-fleet-layout-list .mt-fleet-list-card {
  display: grid;
  grid-template-columns: minmax(210px, 28%) minmax(0, 1fr) minmax(190px, 0.45fr);
  align-items: stretch;
}

.mt-fleet-layout-list .mt-fleet-list-card .mt-fleet-image {
  min-height: 220px;
  aspect-ratio: auto;
  background: #fff;
}

.mt-fleet-layout-list .mt-fleet-list-card .mt-fleet-content {
  padding: 24px;
}

.mt-fleet-list-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-left: 1px solid var(--mt-line);
}

.mt-fleet-list-side .mt-fleet-price {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mt-line);
}

.mt-fleet-list-side .mt-fleet-book {
  width: 100%;
  text-align: center;
}

.mt-fleet-layout-slider .mt-fleet-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  padding: 6px 2px 14px;
}

.mt-fleet-layout-slider .mt-fleet-grid::-webkit-scrollbar {
  display: none;
}

.mt-fleet-layout-slider .mt-fleet-card {
  flex: 0 0 clamp(260px, 28vw, 330px);
  scroll-snap-align: start;
}

.mt-fleet-layout-slider .mt-fleet-image {
  background: #fff;
}

.mt-fleet-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(15, 23, 42, 0.055);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mt-fleet-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--mt-primary-rgb), 0.5);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.mt-fleet-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mt-bg);
}

.mt-fleet-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.22s ease;
}

.mt-fleet-card:hover .mt-fleet-image img {
  transform: scale(1.025);
}

.mt-fleet-placeholder {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(var(--mt-primary-rgb), 0.1);
  color: var(--mt-primary);
}

.mt-fleet-placeholder .mt-icon {
  width: 28px;
  height: 28px;
}

.mt-fleet-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
}

.mt-fleet-class {
  color: var(--mt-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mt-fleet-content h3 {
  color: var(--mt-navy);
  font-size: 21px;
  line-height: 1.2;
  margin: 4px 0 8px;
  overflow-wrap: anywhere;
}

.mt-fleet-description {
  color: var(--mt-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.mt-fleet-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
}

.mt-fleet-capacity span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mt-fleet-capacity .mt-icon {
  width: 16px;
  height: 16px;
  color: var(--mt-primary);
}

.mt-fleet-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--mt-line);
}

.mt-fleet-price {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.mt-fleet-price small {
  color: var(--mt-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.mt-fleet-price strong {
  color: var(--mt-navy);
  font-size: 20px;
  line-height: 1.1;
}

.mt-fleet-book {
  flex: 0 0 auto;
  min-height: 42px;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 12px;
  white-space: nowrap;
}

.mt-alert {
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
}

.mt-alert-error {
  background: #fff2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.mt-alert-info {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.mt-results {
  margin-top: 34px;
}

.mt-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.mt-edit-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 12px 18px;
  border: 1px solid var(--mt-line);
  border-radius: 20px;
  background: #fff;
  color: var(--mt-navy) !important;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.mt-edit-search:hover {
  border-color: var(--mt-primary);
  color: var(--mt-primary) !important;
}

.mt-journey-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
  padding: 12px 8px;
  margin-bottom: 22px;
}

.mt-journey-summary > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-right: 1px solid var(--mt-line);
  font-size: 14px;
}

.mt-journey-summary > span:last-child {
  border-right: 0;
}

.mt-journey-summary b {
  color: var(--mt-teal);
}

.mt-summary-icons {
  gap: 14px;
}

.mt-summary-icons span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mt-vehicle-explorer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.mt-explorer-list {
  min-width: 0;
}

.mt-explorer-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  margin-bottom: 12px;
}

.mt-explorer-count strong {
  color: var(--mt-navy);
  font-size: 14px;
}

.mt-explorer-count span {
  color: var(--mt-muted);
  font-size: 12px;
}

.mt-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mt-result-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.055);
  color: var(--mt-navy);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.mt-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--mt-primary-rgb), 0.45);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.mt-result-card:focus-visible {
  outline: 3px solid rgba(var(--mt-primary-rgb), 0.2);
  outline-offset: 2px;
}

.mt-result-card.is-selected {
  border-color: var(--mt-primary);
  box-shadow: 0 10px 30px rgba(var(--mt-primary-rgb), 0.14);
}

.mt-result-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--mt-bg);
}

.mt-result-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.mt-result-placeholder,
.mt-detail-placeholder {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(var(--mt-primary-rgb), 0.1);
  color: var(--mt-primary);
}

.mt-result-placeholder .mt-icon,
.mt-detail-placeholder .mt-icon {
  width: 28px;
  height: 28px;
}

.mt-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  background: var(--mt-teal);
  color: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
}

.mt-result-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 15px;
}

.mt-result-class,
.mt-detail-class {
  color: var(--mt-primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.mt-result-title {
  color: var(--mt-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.mt-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--mt-muted);
  font-size: 12px;
  font-weight: 700;
  margin: 13px 0 15px;
}

.mt-result-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mt-result-meta .mt-icon {
  width: 15px;
  height: 15px;
  color: var(--mt-primary);
}

.mt-result-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--mt-line);
}

.mt-result-footer small {
  color: var(--mt-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.mt-result-footer strong {
  color: var(--mt-navy);
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}

.mt-detail-shell {
  position: sticky;
  top: 24px;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #272727;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.mt-detail-close,
.mt-detail-backdrop {
  display: none;
}

.mt-detail-panel {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 #272727;
}

.mt-detail-panel[hidden] {
  display: none;
}

.mt-detail-image {
  position: relative;
  display: grid;
  place-items: center;
  height: 255px;
  overflow: hidden;
  background: #fff;
}

.mt-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.mt-detail-image:focus-visible {
  outline: 3px solid rgba(var(--mt-primary-rgb), 0.25);
  outline-offset: -3px;
}

.mt-detail-gallery-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: #fff;
}

.mt-detail-gallery-slide[hidden] {
  display: none;
}

.mt-detail-gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
  color: var(--mt-navy);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mt-detail-gallery-arrow:hover,
.mt-detail-gallery-arrow:focus-visible {
  border-color: var(--mt-primary);
  background: var(--mt-primary);
  color: #fff;
}

.mt-detail-gallery-arrow:focus-visible {
  outline: 3px solid rgba(var(--mt-primary-rgb), 0.22);
  outline-offset: 2px;
}

.mt-detail-gallery-prev {
  left: 12px;
}

.mt-detail-gallery-next {
  right: 12px;
}

.mt-detail-gallery-arrow .mt-icon {
  width: 20px;
  height: 20px;
}

.mt-detail-gallery-count {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  min-width: 48px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
  text-align: center;
}

.mt-detail-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: var(--mt-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 9px;
}

.mt-detail-content {
  color: #fff;
  padding: 24px;
}

.mt-detail-content h3 {
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
  margin: 4px 0 8px;
  overflow-wrap: anywhere;
}

.mt-detail-description {
  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.mt-detail-content h4 {
  color: #fff;
  font-size: 13px;
  margin: 20px 0 10px;
}

.mt-detail-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mt-detail-specs > span {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
  min-height: 74px;
  border: 1px solid #494949;
  border-radius: 8px;
  background: #343434;
  color: #fff;
  padding: 11px;
}

.mt-detail-specs .mt-icon {
  width: 19px;
  height: 19px;
  color: var(--mt-primary);
}

.mt-detail-specs b {
  font-size: 11px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.mt-detail-route {
  display: grid;
  gap: 8px;
}

.mt-detail-route > span {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  border: 1px solid #494949;
  border-radius: 8px;
  background: #303030;
  padding: 11px 12px;
}

.mt-detail-route > span > .mt-icon {
  width: 18px;
  height: 18px;
  color: var(--mt-primary);
}

.mt-detail-route > span > span {
  display: grid;
  min-width: 0;
}

.mt-detail-route small {
  color: #a9a9a9;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.mt-detail-route strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.mt-detail-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 1fr);
  gap: 14px;
  align-items: end;
  min-width: 0;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #494949;
}

.mt-detail-price {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mt-detail-price small {
  color: #aaa;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.mt-detail-price strong {
  display: block;
  max-width: 100%;
  color: #fff;
  font-size: 23px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.mt-detail-checkout form,
.mt-detail-checkout button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.mt-detail-checkout form {
  margin: 0;
}

.mt-detail-checkout button {
  position: static;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.25;
  white-space: normal;
}

.mt-empty {
  text-align: center;
  background: #fff;
  border: 1px dashed var(--mt-line);
  border-radius: 8px;
  padding: 44px 20px;
}

.mt-empty h3 {
  margin: 0 0 8px;
}

.mt-empty p {
  margin: 0;
  color: var(--mt-muted);
}

.mt-admin-debug {
  margin: 20px auto 0;
  max-width: 760px;
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--mt-line);
  border-radius: 10px;
  padding: 12px 14px;
  color: #334155;
}

.mt-admin-debug summary {
  cursor: pointer;
  font-weight: 800;
}

.mt-admin-debug p {
  margin: 10px 0;
}

.mt-admin-debug ul,
.mt-admin-debug ol {
  margin: 8px 0 0 20px;
}

.mt-admin-debug code {
  background: #e2e8f0;
  border-radius: 5px;
  padding: 2px 5px;
}

.mt-checkout-summary {
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .mt-booking-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mt-booking-field {
    border-bottom: 1px solid var(--mt-line);
  }

  .mt-booking-field:nth-child(even) {
    border-right: 0;
  }

  .mt-find {
    grid-column: 1 / -1;
    min-height: 54px;
  }

  .mt-vehicle-explorer {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

@media (max-width: 900px) {
  body.mt-detail-open {
    overflow: hidden;
  }

  .mt-vehicle-explorer {
    display: block;
  }

  .mt-detail-shell {
    position: fixed;
    z-index: 100002;
    top: auto;
    right: 50%;
    bottom: 0;
    width: min(560px, 100%);
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 8px 8px 0 0;
    transform: translate(50%, 105%);
    transition: transform 0.24s ease;
  }

  .mt-vehicle-explorer.is-detail-open .mt-detail-shell {
    transform: translate(50%, 0);
  }

  .mt-detail-panel {
    max-height: 92vh;
    max-height: 92dvh;
  }

  .mt-detail-close {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #171717;
    cursor: pointer;
  }

  .mt-detail-backdrop {
    position: fixed;
    z-index: 100001;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: rgba(3, 7, 18, 0.58);
    cursor: default;
  }

  .mt-vehicle-explorer.is-detail-open .mt-detail-backdrop {
    display: block;
  }
}

@media (max-width: 760px) {
  .mt-quick-book-modal {
    align-items: end;
    padding: 0;
  }

  .mt-quick-book-dialog {
    width: 100%;
    max-height: 94vh;
    max-height: 94dvh;
    border-radius: 8px 8px 0 0;
  }

  .mt-quick-book-close {
    top: 12px;
    right: 12px;
    background: #f7f9fc;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  }

  .mt-search-card-modal {
    padding: 22px 16px 18px;
  }

  .mt-search-card-modal .mt-search-topline {
    padding-right: 42px;
  }

  .mt-search-card-modal .mt-booking-bar {
    grid-template-columns: 1fr;
  }

  .mt-search-card-modal .mt-find {
    width: 100%;
    margin: 0;
  }

  .mt-search-card {
    padding: 16px;
    border-radius: 8px;
  }

  .mt-search-topline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mt-search-options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mt-preferred-vehicle {
    width: 100%;
    max-width: none;
  }

  .mt-search-heading h2 {
    font-size: 24px;
  }

  .mt-results-head h2 {
    font-size: 32px;
  }

  .mt-results-head p {
    font-size: 16px;
  }

  .mt-service-picker {
    width: 100%;
  }

  .mt-service-picker select {
    min-width: 0;
  }

  .mt-booking-bar {
    grid-template-columns: 1fr;
  }

  .mt-booking-field,
  .mt-booking-field:nth-child(even) {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid var(--mt-line);
  }

  .mt-find {
    grid-column: auto;
    width: calc(100% - 14px);
    min-height: 54px;
  }

  .mt-search-note {
    line-height: 1.45;
  }

  .mt-fleet-showcase {
    margin: 38px auto;
  }

  .mt-fleet-head {
    align-items: center;
    gap: 14px;
  }

  .mt-fleet-head h2 {
    font-size: 28px;
  }

  .mt-fleet-head p {
    font-size: 14px;
  }

  .mt-fleet-arrow {
    width: 38px;
    height: 38px;
  }

  .mt-fleet-grid {
    grid-template-columns: 1fr;
  }

  .mt-fleet-layout-grid .mt-fleet-grid {
    grid-template-columns: 1fr;
  }

  .mt-fleet-layout-slider .mt-fleet-card {
    flex-basis: min(84vw, 320px);
  }

  .mt-fleet-layout-list .mt-fleet-list-card {
    grid-template-columns: 1fr;
  }

  .mt-fleet-layout-list .mt-fleet-list-card .mt-fleet-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .mt-fleet-layout-list .mt-fleet-list-card .mt-fleet-content {
    padding: 18px 16px;
    border-bottom: 1px solid var(--mt-line);
  }

  .mt-fleet-list-side {
    flex-direction: row;
    align-items: flex-end;
    padding: 18px 16px;
  }

  .mt-fleet-list-side .mt-fleet-price {
    flex: 1 1 auto;
    padding: 0;
    border-bottom: 0;
  }

  .mt-fleet-list-side .mt-fleet-book {
    width: auto;
  }

  .mt-fleet-content {
    padding: 16px;
  }

  .mt-results-head {
    align-items: flex-start;
  }

  .mt-edit-search {
    padding: 11px 15px;
  }

  .mt-journey-summary {
    display: grid;
  }

  .mt-journey-summary > span {
    border-right: 0;
    border-bottom: 1px solid var(--mt-line);
  }

  .mt-journey-summary > span:last-child {
    border-bottom: 0;
  }

  .mt-summary-icons {
    display: grid;
  }

  .mt-explorer-count {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .mt-detail-image {
    height: 230px;
  }

  .mt-detail-content {
    padding: 20px;
  }

  .mt-detail-content h3 {
    font-size: 25px;
  }
}

@media (max-width: 620px) {
  .mt-fleet-list-side {
    align-items: stretch;
    flex-direction: column;
  }

  .mt-fleet-list-side .mt-fleet-book {
    width: 100%;
  }

  .mt-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .mt-result-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .mt-result-image {
    height: 100%;
    min-height: 160px;
    aspect-ratio: auto;
  }

  .mt-result-content {
    padding: 14px;
  }

  .mt-result-title {
    font-size: 17px;
  }

  .mt-result-meta {
    margin: 10px 0 12px;
  }

  .mt-detail-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mt-detail-checkout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .mt-detail-price {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 8px;
  }
}
