/* Marketplace anunciantes */
.marketplace-page {
  padding: 24px 0 48px;
  padding-top: calc(var(--header-h, 72px) + 16px);
  min-height: 100vh;
  background: #f5f7fa;
}
.marketplace-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.marketplace-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; align-items: center; }
.filter-q { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-q button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid #e5e7eb;
  background: #fff; cursor: pointer; font-weight: 600; font-size: .85rem;
}
.filter-q button.active { background: #326cf4; color: #fff; border-color: #326cf4; }
.filter-q button.disabled-q { opacity: .35; cursor: not-allowed; }

.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.vehicle-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); display: flex; flex-direction: column;
}
.vehicle-gallery { position: relative; background: #111; overflow: hidden; }
.vehicle-gallery-track {
  display: flex; transition: transform .3s ease; will-change: transform;
}
.vehicle-gallery-track img {
  width: 100%; min-width: 100%; height: 180px; object-fit: cover; flex-shrink: 0; display: block;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-nav:hover { background: rgba(50,108,244,.95); }
.gallery-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.gallery-dot.active { background: #fff; }
.vehicle-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.vehicle-card h3 { font-size: 1.05rem; }
.vehicle-meta { color: #6b7280; font-size: .88rem; }
.vehicle-meta strong { color: #111827; font-weight: 700; }
.visibility-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: 0 2px 0 4px;
  padding: 0;
  border: 1.5px solid #6b7280;
  border-radius: 50%;
  background: #fff;
  color: #6b7280;
  font: italic 700 11px/1 Inter, sans-serif;
  cursor: pointer;
  vertical-align: middle;
}
.visibility-info:hover,
.visibility-info:focus-visible {
  border-color: #326cf4;
  color: #326cf4;
  outline: none;
}
.visibility-modal-card { width: min(480px, 100%); }
.visibility-modal-card p { margin-bottom: 16px; }
.visibility-zones {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.visibility-zones li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 4px;
  align-items: center;
  font-size: .9rem;
}
.visibility-zone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #326cf4;
}
.visibility-zones [data-zone="road"] .visibility-zone-dot { background: #22c55e; }
.visibility-zones [data-zone="highway"] .visibility-zone-dot { background: #f59e0b; }
.visibility-zones li span:nth-of-type(2) { color: #111827; font-weight: 600; }
.visibility-zones li strong { color: #111827; }
.visibility-zone-bar {
  grid-column: 2 / -1;
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}
.visibility-zone-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #326cf4;
  border-radius: inherit;
}
.visibility-zones [data-zone="road"] .visibility-zone-bar i { background: #22c55e; }
.visibility-zones [data-zone="highway"] .visibility-zone-bar i { background: #f59e0b; }
.vehicle-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.city-chip {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: #eef2ff; color: #3730a3; font-size: .75rem; font-weight: 600;
}
.city-filter-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.city-filter {
  width: 100%;
  max-width: 520px;
}
.city-picker { display: flex; flex-direction: column; gap: 12px; }
.city-picker-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
}
.city-picker-toolbar input[type="search"] {
  flex: 1; min-width: 180px; padding: 10px 12px; border: 1px solid #e5e7eb;
  border-radius: 8px; font: inherit; background: #fff;
}
.city-picker-actions { display: flex; gap: 12px; }
.city-picker-link {
  border: 0; background: transparent; color: #326cf4; font: inherit;
  font-weight: 600; font-size: .9rem; cursor: pointer; padding: 0;
}
.city-picker-link:hover { text-decoration: underline; }
.city-picker-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  max-height: 280px; overflow: auto;
  border: 1px solid #e5e7eb; border-radius: 12px; background: #fafbfc;
  padding: 12px;
}
.city-pick {
  border: 1px solid #d1d5db; background: #fff; color: #374151;
  border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .88rem;
  font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.city-pick:hover { border-color: #326cf4; color: #326cf4; }
.city-pick.is-selected {
  background: #326cf4; border-color: #326cf4; color: #fff;
}
.city-picker-empty {
  margin: 0; color: #6b7280; font-size: .9rem; width: 100%;
}
.city-picker-count {
  margin: 0; font-size: .9rem; font-weight: 600; color: #374151;
}
.city-tags { display: flex; flex-direction: column; gap: 8px; }
.city-tags-selected { display: flex; flex-wrap: wrap; gap: 8px; order: 2; }
.city-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  background: #e8eefc; color: #1e3a8a; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.city-tag-remove {
  border: 0; background: transparent; cursor: pointer; color: inherit; font-size: 1rem; line-height: 1; padding: 0;
}
.city-tags-field { position: relative; order: 1; }
.city-tags-field input {
  width: 100%; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px;
  font: inherit; background: #fff;
}
.city-tags-suggest {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  max-height: 220px; overflow: auto; list-style: none; margin: 0; padding: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.city-tags-suggest li button {
  width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px;
  cursor: pointer; border-radius: 6px; font: inherit;
}
.city-tags-suggest li button:hover { background: #f3f4f6; }
.quarter-badges { display: flex; gap: 6px; }
.q-badge {
  width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: .75rem; font-weight: 700; background: #326cf4; color: #fff;
}
.q-badge.reserved { background: #d1d5db; color: #6b7280; }
.vehicle-price { font-weight: 800; color: #326cf4; font-size: 1.1rem; }
.vehicle-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.vehicle-card.selected { outline: 3px solid #326cf4; }

.cart-panel {
  position: sticky; top: 96px; background: #222; color: #fff;
  border-radius: 12px; padding: 20px; max-height: calc(100vh - 120px); overflow: auto;
}
.cart-panel h3 { margin-bottom: 16px; font-size: 1.1rem; }
.cart-item { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.cart-item strong { display: block; }
.cart-empty { color: rgba(255,255,255,.6); font-size: .9rem; }
.cart-total { margin-top: 16px; font-size: 1.2rem; font-weight: 800; }
.campaign-summary .cart-total { color: #fff; }
.campaign-summary .cart-total #sum-total { color: #326cf4; }
.cart-panel .btn { width: 100%; margin-top: 16px; justify-content: center; }

.checkout-page { padding: 120px 0 80px; background: #f5f7fa; }
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.checkout-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.format-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.format-card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; font-size: .9rem; }
.radio-group { display: flex; flex-wrap: wrap; gap: 16px; margin: 12px 0; }
.radio-group label { display: flex; align-items: center; gap: 8px; }
.summary-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.summary-total { font-size: 1.3rem; font-weight: 800; color: #326cf4; margin-top: 12px; }

/* Wizard campaña */
.wizard-page.marketplace-page {
  padding-top: calc(var(--header-h, 72px) + 25px);
  padding-bottom: 100px;
}
.wizard-page .marketplace-layout {
  display: flex;
  align-items: start;
  gap: 0;
  transition: gap .35s ease;
}
.wizard-page .wizard-main {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  transition: width .35s ease, flex-basis .35s ease;
}
.wizard-page .campaign-summary {
  flex: 0 0 0;
  width: 0;
  max-width: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  overflow: hidden;
  border: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    flex-basis .35s ease,
    width .35s ease,
    max-width .35s ease,
    opacity .3s ease,
    padding .35s ease,
    margin .35s ease,
    visibility 0s linear .35s;
}
.wizard-page .marketplace-layout.has-summary {
  gap: 24px;
}
.wizard-page .marketplace-layout.has-summary .wizard-main {
  width: calc(100% - 344px);
}
.wizard-page .marketplace-layout.has-summary .campaign-summary {
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
  padding: 20px;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    flex-basis .35s ease,
    width .35s ease,
    max-width .35s ease,
    opacity .3s ease,
    padding .35s ease,
    margin .35s ease,
    visibility 0s linear 0s;
}
.wizard-header { margin-bottom: 20px; }
.wizard-steps { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.wizard-step {
  border: 1px solid #e5e7eb; background: #fff; color: #6b7280;
  border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .85rem; cursor: default;
}
.wizard-step.active { background: #326cf4; border-color: #326cf4; color: #fff; }
.wizard-panel { display: none; padding: 0; }
.wizard-panel.active { display: block; }
.wizard-help { color: #6b7280; margin: 8px 0 16px; }
.wizard-meta { color: #374151; font-weight: 600; margin: 12px 0; }
.wizard-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.wizard-actions .btn-outline {
  background: #fff;
  color: #326cf4;
  border-color: #326cf4;
}
.wizard-actions .btn-outline:hover {
  background: #326cf4;
  color: #fff;
  border-color: #326cf4;
}
.date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.date-step-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.date-step-intro,
.date-step-rest {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.date-step-title { margin: 0; line-height: 1.25; }
.date-step-help { margin: 0; }
.date-step-calendar { width: 100%; }
.date-step-hint {
  display: inline-block;
  width: 50%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 4px 0 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: #272727b0;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
}
.date-step-hint.is-ok {
  background: #e8f0fe;
  color: #1e3a8a;
}
.date-step-hint.is-error {
  background: #fee2e2;
  color: #991b1b;
}
#found-title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 8px;
}
#cities-hint.date-step-hint {
  width: auto;
  max-width: 100%;
}
.city-pct-block {
  margin: 22px 0 18px;
  padding: 18px 18px 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}
.city-pct-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.city-pct-head label {
  font-weight: 700;
  color: #111827;
  font-size: 1rem;
}
.city-pct-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #326cf4;
  letter-spacing: -0.02em;
}
.city-pct-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, #326cf4 0, #326cf4 var(--pct, 0%), #dbe3ef var(--pct, 0%), #dbe3ef 100%);
  outline: none;
}
.city-pct-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #326cf4;
  box-shadow: 0 4px 14px rgba(50, 108, 244, .35);
  cursor: pointer;
}
.city-pct-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #326cf4;
  box-shadow: 0 4px 14px rgba(50, 108, 244, .35);
  cursor: pointer;
}
.city-pct-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  border: 1px solid #fed7aa;
}
.city-pct-note i { margin-top: 2px; }
.fleet-count-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #eef4ff 0%, #fff 100%);
  border: 1px solid #c7d7fe;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(50, 108, 244, .08);
}
.fleet-count-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #326cf4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}
.fleet-count-copy strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
  color: #111827;
  letter-spacing: -0.03em;
}
.fleet-count-copy span {
  display: block;
  margin-top: 6px;
  color: #374151;
  font-weight: 600;
  font-size: 1rem;
}
.fleet-count-card.is-empty {
  background: #f9fafb;
  border-color: #e5e7eb;
  box-shadow: none;
}
.fleet-count-card.is-empty .fleet-count-icon { background: #9ca3af; }
.fleet-count-empty {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
  font-size: .95rem;
}
.date-range-picker {
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  user-select: none;
}
.drp-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.drp-month {
  font-size: 1.05rem; font-weight: 700; color: #222; text-transform: lowercase;
}
.drp-nav { display: flex; gap: 4px; }
.drp-nav-btn {
  width: 32px; height: 32px; border: 0; background: transparent; color: #6b7280;
  border-radius: 8px; cursor: pointer; font-size: 1.4rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.drp-nav-btn:hover { background: #f3f4f6; color: #222; }
.drp-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px;
}
.drp-weekdays span {
  text-align: center; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  color: #9ca3af;
}
.drp-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}
.drp-empty { aspect-ratio: 1; }
.drp-day {
  aspect-ratio: 1; border: 0; background: transparent; color: #222;
  border-radius: 10px; font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer; position: relative;
}
.drp-day:hover:not(:disabled):not(.is-start):not(.is-end) { background: #f3f4f6; }
.drp-day.is-disabled { color: #d1d5db; cursor: not-allowed; }
.drp-day.is-today::after {
  content: ''; position: absolute; left: 50%; bottom: 5px;
  width: 4px; height: 4px; border-radius: 50%; background: #222;
  transform: translateX(-50%);
}
.drp-day.is-in-range { background: #e9eaec; color: #222; }
.drp-day.is-start,
.drp-day.is-end {
  background: #222; color: #fff;
}
.drp-day.is-start.is-today::after,
.drp-day.is-end.is-today::after { background: #fff; }
.date-range-readout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 4px 0 0; max-width: 420px;
}
.date-range-readout > div {
  background: #f5f7fa; border-radius: 10px; padding: 12px 14px;
}
.date-range-readout span {
  display: block; font-size: .75rem; color: #6b7280; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px;
}
.date-range-readout strong { font-size: .95rem; color: #222; }
@media (min-width: 900px) {
  .date-step-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "cal intro"
      "cal rest"
      "cal .";
    column-gap: 32px;
    row-gap: 12px;
    align-items: start;
  }
  .date-step-calendar { grid-area: cal; }
  .date-step-intro { grid-area: intro; }
  .date-step-rest { grid-area: rest; }
  .date-step-rest .date-range-readout { max-width: none; }
  .date-range-picker { max-width: none; }
}
@media (min-width: 1025px) {
  .wizard-actions { justify-content: flex-end; }
}
.form-grid-simple { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid-simple .form-group { display: flex; flex-direction: column; gap: 6px; }
.form-grid-simple .full { grid-column: 1 / -1; }
.form-grid-simple label, .date-grid label { font-weight: 600; font-size: .9rem; }
.form-grid-simple input, .form-grid-simple select, .form-grid-simple textarea, .date-grid input {
  padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit;
}
.camionero-hero { margin-bottom: 22px; }
.camionero-hero h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 8px; }
.camionero-hero p { color: #6b7280; margin: 0; }
.plate-lookup { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.plate-lookup input {
  flex: 1 1 100%; text-transform: uppercase; letter-spacing: .08em; font-weight: 800;
  padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 1.1rem;
}
.plate-km-title { margin-top: 28px; }
.plate-result {
  background: #eff6ff; border: 1px solid #dbeafe; border-radius: 10px;
  padding: 14px 16px; margin: 12px 0 8px;
}
.pt-slider { width: 100%; accent-color: #326cf4; }
.pt-slider-value { color: #326cf4; font-weight: 800; }
.week-hours-scroll { overflow-x: auto; }
.week-hours-table { border-collapse: collapse; min-width: 720px; width: 100%; }
.week-hours-table th {
  font-size: .68rem; color: #6b7280; font-weight: 600; padding: 2px 1px; text-align: center;
}
.week-hours-table tbody th { text-align: left; padding-right: 8px; white-space: nowrap; }
.week-hours-cell {
  width: 22px; height: 22px; border: 1px solid #e5e7eb; background: #fff;
  border-radius: 4px; padding: 0; cursor: pointer;
}
@media (max-width: 1024px) {
  .week-hours-scroll.is-portrait { overflow-x: visible; }
  .week-hours-table.is-portrait {
    min-width: 0; width: 100%; table-layout: fixed;
  }
  .week-hours-table.is-portrait thead th {
    font-size: .62rem; padding: 4px 1px;
    position: sticky; top: var(--header-h, 72px); background: #fff; z-index: 2;
  }
  .week-hours-table.is-portrait tbody th {
    width: 26px; text-align: right; padding-right: 6px; font-size: .68rem;
  }
  .week-hours-table.is-portrait .week-hours-cell {
    width: 100%; height: 28px; min-width: 0;
  }
}
.week-hours-cell.is-on { background: #326cf4; border-color: #326cf4; }
.week-hours-count { color: #6b7280; font-size: .85rem; margin-top: 10px; }
.camionero-page .wizard-step { font-size: .78rem; padding: 6px 10px; }
.slider-label { display: block; margin: 12px 0 8px; font-weight: 600; }
#truck-count-slider { width: 100%; }
.campaign-summary .summary-line {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.1); font-size: .92rem;
}
.campaign-summary .summary-line small {
  opacity: .65; font-weight: 500; margin-left: 4px;
}
.campaign-summary .summary-note { color: rgba(255,255,255,.55); font-size: .8rem; margin-top: 12px; }
.summary-toggle {
  display: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
}
.summary-toggle-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.summary-toggle-copy small {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.summary-toggle-copy strong { font-size: 1.15rem; color: #fff; }
.summary-toggle i { color: rgba(255,255,255,.7); transition: transform .2s ease; }
.campaign-summary.is-open .summary-toggle i { transform: rotate(180deg); }
.fleet-accordion {
  display: flex;
  gap: 8px;
  height: 280px;
  margin: 16px 0 8px;
  width: 100%;
}
.fleet-acc-item {
  position: relative;
  flex: 1 1 0;
  min-width: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  transition: flex .45s ease;
}
.fleet-acc-item.is-open { flex: 4 1 0; }
.fleet-acc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.fleet-acc-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity .25s ease;
}
.fleet-acc-item.is-open .fleet-acc-label,
.fleet-acc-item:hover .fleet-acc-label { opacity: 1; }
@media (max-width: 700px) {
  .fleet-accordion {
    flex-direction: row;
    flex-wrap: nowrap;
    height: 220px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fleet-acc-item {
    flex: 0 0 56px;
    min-width: 56px;
  }
  .fleet-acc-item.is-open {
    flex: 0 0 220px;
    min-width: 220px;
  }
  .fleet-acc-label { opacity: 1; font-size: .8rem; }
}
.fleet-header { margin-bottom: 24px; }
.fleet-header p { color: #6b7280; }
.occupancy { display: flex; flex-direction: column; gap: 6px; }
.occupancy-top { display: flex; justify-content: space-between; font-size: .85rem; color: #6b7280; }
.occupancy-bar { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.occupancy-bar span { display: block; height: 100%; background: #326cf4; border-radius: 999px; }

@media (max-width: 1024px) {
  .marketplace-layout, .checkout-grid { grid-template-columns: 1fr; }
  .wizard-page.marketplace-page {
    --wizard-dock: 0px;
    --wizard-chrome-h: 64px;
    padding-top: calc(var(--header-h, 72px) + 25px);
    padding-bottom: 120px;
  }
  .wizard-page .marketplace-layout,
  .wizard-page .marketplace-layout.has-summary {
    display: block;
    gap: 0;
  }
  .wizard-page .marketplace-layout.has-summary .wizard-main {
    width: 100%;
    padding-bottom: 88px;
  }
  .wizard-steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .wizard-step { flex: 0 0 auto; font-size: .78rem; padding: 6px 12px; }
  .checkout-card { padding: 18px 16px; }
  .date-step-hint { width: 100%; }
  .wizard-panel.active .wizard-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--wizard-dock, 0px);
    z-index: 980;
    margin: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #f5f7fa;
    box-shadow: 0 -8px 24px rgba(0,0,0,.12);
    justify-content: stretch;
  }
  .wizard-panel.active .wizard-actions .btn {
    flex: 1 1 0;
    min-height: 44px;
    justify-content: center;
  }
  .wizard-page .campaign-summary,
  .wizard-page .marketplace-layout.has-summary .campaign-summary {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    max-width: none;
    flex-basis: auto;
    max-height: none;
    border-radius: 16px 16px 0 0;
    z-index: 970;
    overflow: visible;
    box-shadow: 0 -8px 28px rgba(0,0,0,.2);
  }
  .wizard-page .campaign-summary {
    bottom: calc(var(--wizard-chrome-h, 64px) + var(--wizard-dock, 0px));
    transform: translateY(120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 0;
    transition: transform .3s ease, opacity .25s ease, visibility 0s linear .3s;
  }
  .wizard-page .marketplace-layout.has-summary .campaign-summary {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    transition: transform .3s ease, opacity .25s ease, visibility 0s linear 0s;
  }
  .summary-toggle {
    display: flex;
    padding: 12px 18px;
  }
  .summary-toggle-copy strong { color: #326cf4; }
  .summary-details .summary-line span:last-child { color: #fff; }
  .summary-details {
    display: none;
    padding: 14px 18px 10px;
    max-height: none;
    overflow: visible;
  }
  .campaign-summary.is-open .summary-details { display: block; }
  .summary-details h3,
  .summary-details .cart-total { display: none; }
  .cart-panel:not(.campaign-summary) {
    position: fixed; right: 0; top: auto; bottom: 0; left: 0;
    max-height: 45vh; border-radius: 12px 12px 0 0; z-index: 900;
  }
  .date-grid, .form-grid-simple { grid-template-columns: 1fr; }
}

/* Gracias — confirmación presupuesto */
.thanks-page {
  min-height: calc(100vh - var(--header-h, 72px));
  padding: calc(var(--header-h, 72px) + 56px) 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(50, 108, 244, .18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 10%, rgba(50, 108, 244, .10), transparent 50%),
    #f5f7fa;
}
.thanks-card {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px 40px;
  box-shadow: 0 20px 56px rgba(34, 34, 34, .08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.thanks-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #326cf4, #7aa4ff);
}
.thanks-check {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3d78f6, #2558d4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(50, 108, 244, .38);
  animation: thanks-pop .55s cubic-bezier(.2, 1.4, .4, 1);
}
.thanks-check svg { display: block; }
.thanks-ref {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: #326cf4;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.thanks-card h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0 0 10px;
}
.thanks-lead {
  color: #6b7280;
  margin: 0 auto 28px;
  max-width: 420px;
}
.thanks-lead strong { color: #222; }
.thanks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  margin-bottom: 16px;
}
.thanks-stat {
  background: #f5f7fa;
  border-radius: 14px;
  padding: 14px 16px;
}
.thanks-stat span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}
.thanks-stat strong {
  display: block;
  font-size: .95rem;
  line-height: 1.35;
}
.thanks-stat small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: .8rem;
}
.thanks-stat-total {
  grid-column: 1 / -1;
  background: #111;
  color: #fff;
}
.thanks-stat-total span,
.thanks-stat-total small { color: rgba(255,255,255,.6); }
.thanks-stat-total strong { color: #fff; font-size: 1.35rem; }
.thanks-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 24px;
}
.thanks-cities span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: #1e3a8a;
  font-size: .8rem;
  font-weight: 600;
}
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.thanks-actions .btn { min-width: 180px; }
.thanks-actions .btn-ghost {
  background: #fff;
  color: #326cf4;
  border-color: #326cf4;
}
.thanks-actions .btn-ghost:hover {
  background: #326cf4;
  color: #fff;
}
@keyframes thanks-pop {
  0% { transform: scale(.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 640px) {
  .thanks-card { padding: 36px 20px 28px; border-radius: 20px; }
  .thanks-card h1 { font-size: 1.7rem; }
  .thanks-grid { grid-template-columns: 1fr; }
  .thanks-actions .btn { width: 100%; min-width: 0; }
}
