.deltur-trip-seats { margin: 18px 0; }
.deltur-trip-seats__card { border: 1px solid #d9d9d9; border-radius: 16px; padding: 18px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.deltur-trip-seats__header h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.2; }
.deltur-trip-seats__meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 16px; margin-bottom: 18px; }
.deltur-trip-seats__body.has-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 20px; align-items: start; }
.deltur-trip-seats__images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.deltur-trip-seats__image-block img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin-top: 8px; }
.deltur-help { margin-top: 0; color: #444; }
.deltur-seat-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 14px; }
.deltur-seat-legend__item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.deltur-seat-legend__badge { width: 16px; height: 16px; border-radius: 999px; display: inline-block; border: 1px solid #d0d0d0; }
.deltur-seat-legend__badge.is-free { background: #2ea44f; border-color: #2ea44f; }
.deltur-seat-legend__badge.is-selected { background: #1e73be; border-color: #1e73be; }
.deltur-seat-legend__badge.is-occupied { background: #fce8e8; border-color: #d63638; }
.deltur-layout-grid { display: grid; gap: 8px; }
.deltur-layout-cell { min-height: 58px; border: 1px solid #cfd7df; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-size: 12px; font-weight: 700; line-height: 1.2; box-sizing: border-box; }
button.deltur-layout-cell { -webkit-appearance: none; appearance: none; background-image: none !important; box-shadow: none !important; }
button.deltur-layout-cell { cursor: pointer; }
button.deltur-layout-cell:hover:not(:disabled) { transform: translateY(-1px); }
button.deltur-layout-cell:disabled { cursor: default; opacity: 1; }
.deltur-layout-cell__text { display: inline-flex; align-items: center; justify-content: center; width: 100%; text-align: center; }
.deltur-layout-cell--driver .deltur-layout-cell__text,
.deltur-layout-cell--door .deltur-layout-cell__text,
.deltur-layout-cell--stairs .deltur-layout-cell__text,
.deltur-layout-cell--bathroom .deltur-layout-cell__text,
.deltur-layout-cell--empty .deltur-layout-cell__text { font-size: 11px; letter-spacing: .02em; }
button.deltur-layout-cell.deltur-layout-cell--corridor:disabled:hover,
button.deltur-layout-cell.deltur-layout-cell--driver:disabled:hover,
button.deltur-layout-cell.deltur-layout-cell--door:disabled:hover,
button.deltur-layout-cell.deltur-layout-cell--stairs:disabled:hover,
button.deltur-layout-cell.deltur-layout-cell--bathroom:disabled:hover,
button.deltur-layout-cell.deltur-layout-cell--empty:disabled:hover { transform: none; background: #eceff1 !important; border-color: #d7dde2 !important; color: #50575e !important; }
.deltur-layout-cell--seat { background: #2ea44f; border-color: #2ea44f; color: #fff; }
.deltur-layout-cell--corridor { background: #eceff1; border-color: #d7dde2; color: transparent; }
.deltur-layout-cell--driver,
.deltur-layout-cell--door,
.deltur-layout-cell--stairs,
.deltur-layout-cell--bathroom,
.deltur-layout-cell--empty { background: #eceff1; border-color: #d7dde2; color: #50575e; }
.deltur-layout-cell--empty { border-style: dashed; }
.deltur-layout-cell.is-selected { background: #1e73be !important; border-color: #1e73be !important; color: #fff !important; }
.deltur-layout-cell.is-occupied { background: #d63638 !important; border-color: #d63638 !important; color: #fff !important; }
.deltur-layout-cell.is-free { background: #2ea44f !important; border-color: #2ea44f !important; color: #fff !important; }
.deltur-layout-cell--corridor .deltur-layout-cell__text { display: none; }
.deltur-seat-selection-summary { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f6f8fa; font-weight: 600; }
.deltur-passenger-card { border: 1px solid #e5e5e5; border-radius: 12px; padding: 14px; margin-bottom: 14px; background: #fafafa; }
.deltur-passenger-title { margin: 0 0 8px; font-size: 18px; }
.deltur-passenger-seat-tag { display: inline-flex; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #eef6ff; color: #1f4e79; font-weight: 600; font-size: 13px; }
.deltur-field-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.deltur-field-grid .form-row { margin: 0; width: 100%; }
.deltur-field-grid label { display: block; margin-bottom: 6px; }
.deltur-field-grid .form-row-wide { grid-column: 1 / -1; }
.deltur-trip-seats--error { padding: 16px; border: 1px solid #e6bdbd; background: #fff6f6; border-radius: 12px; }
@media (max-width: 782px) {
  .deltur-trip-seats__meta,
  .deltur-field-grid,
  .deltur-trip-seats__body.has-layout,
  .deltur-trip-seats__images { grid-template-columns: 1fr; }
  .deltur-trip-seats__header h3 { font-size: 22px; }
}

/* v1.1.5: Corrige estados visuais do mapa de assentos.
   Usamos seletores mais específicos e !important porque muitos temas do WordPress/WooCommerce
   aplicam estilos agressivos a botões, o que estava deixando blocos não vendáveis vermelhos. */
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--corridor,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--empty {
  background: #eceff1 !important;
  border-color: #d7dde2 !important;
  color: #50575e !important;
}
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--corridor:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--empty:hover {
  background: #eceff1 !important;
  border-color: #d7dde2 !important;
  color: #50575e !important;
  transform: none !important;
}
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--corridor .deltur-layout-cell__text {
  display: none !important;
}
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--seat.is-free {
  background: #2ea44f !important;
  border-color: #2ea44f !important;
  color: #fff !important;
}
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--seat.is-selected {
  background: #1e73be !important;
  border-color: #1e73be !important;
  color: #fff !important;
}
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--seat.is-occupied {
  background: #d63638 !important;
  border-color: #d63638 !important;
  color: #fff !important;
}


/* ===== DelTur v1.1.6 - ajustes finos de estados e ícones ===== */
.deltur-seat-legend__badge.is-pending { background: #f2c94c; border-color: #d8a200; }

button.deltur-layout-cell,
button.deltur-layout-cell:hover,
button.deltur-layout-cell:focus,
button.deltur-layout-cell:active {
    color: #1f2937 !important;
}

button.deltur-layout-cell.is-free,
button.deltur-layout-cell.is-free:hover,
button.deltur-layout-cell.is-free:focus { 
    background: #2ea44f !important; 
    border-color: #2ea44f !important; 
    color: #fff !important; 
}

button.deltur-layout-cell.is-selected,
button.deltur-layout-cell.is-selected:hover,
button.deltur-layout-cell.is-selected:focus { 
    background: #1e73be !important; 
    border-color: #1e73be !important; 
    color: #fff !important; 
}

button.deltur-layout-cell.is-occupied,
button.deltur-layout-cell.is-occupied:hover,
button.deltur-layout-cell.is-occupied:focus { 
    background: #ef4444 !important; 
    border-color: #ef4444 !important; 
    color: #fff !important; 
}

button.deltur-layout-cell.is-pending,
button.deltur-layout-cell.is-pending:hover,
button.deltur-layout-cell.is-pending:focus { 
    background: #f2c94c !important; 
    border-color: #d8a200 !important; 
    color: #111827 !important; 
}

button.deltur-layout-cell.deltur-layout-cell--corridor,
button.deltur-layout-cell.deltur-layout-cell--corridor:hover,
button.deltur-layout-cell.deltur-layout-cell--corridor:focus,
button.deltur-layout-cell.deltur-layout-cell--empty,
button.deltur-layout-cell.deltur-layout-cell--empty:hover,
button.deltur-layout-cell.deltur-layout-cell--empty:focus,
button.deltur-layout-cell.deltur-layout-cell--driver,
button.deltur-layout-cell.deltur-layout-cell--driver:hover,
button.deltur-layout-cell.deltur-layout-cell--driver:focus,
button.deltur-layout-cell.deltur-layout-cell--door,
button.deltur-layout-cell.deltur-layout-cell--door:hover,
button.deltur-layout-cell.deltur-layout-cell--door:focus,
button.deltur-layout-cell.deltur-layout-cell--stairs,
button.deltur-layout-cell.deltur-layout-cell--stairs:hover,
button.deltur-layout-cell.deltur-layout-cell--stairs:focus,
button.deltur-layout-cell.deltur-layout-cell--bathroom,
button.deltur-layout-cell.deltur-layout-cell--bathroom:hover,
button.deltur-layout-cell.deltur-layout-cell--bathroom:focus {
    background: #e5e7eb !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
    transform: none !important;
}

.deltur-layout-cell__text {
    white-space: nowrap;
}

.deltur-layout-cell--driver .deltur-layout-cell__text,
.deltur-layout-cell--stairs .deltur-layout-cell__text,
.deltur-layout-cell--bathroom .deltur-layout-cell__text,
.deltur-layout-cell--door .deltur-layout-cell__text {
    font-size: 14px;
    line-height: 1;
}


/* ===== DelTur v1.1.7 - ícones visuais para motorista e escada =====
   Nesta versão usamos os ícones enviados pelo cliente e os aplicamos como
   imagem de fundo nas células especiais do mapa visual. Os ícones ocupam
   aproximadamente 80% do bloco, sem interferir na acessibilidade, porque
   o rótulo textual continua disponível no aria-label do botão. */
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 80% 80% !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver {
  background-image: url(../images/driver-icon.png) !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs {
  background-image: url(../images/stairs-icon.png) !important;
}

/* O texto interno dessas duas células é ocultado visualmente no frontend,
   pois o significado passa a ser representado pelo ícone. Mantemos o texto
   apenas para tecnologias assistivas via aria-label no elemento pai. */
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs .deltur-layout-cell__text {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}


/* ===== DelTur v1.2.0 - Frente 1 / Versão 1 =====
   Esta camada refina o que o cliente vê no frontend: jornada visual,
   mensagens de orientação, resumo da seleção e cartões de passageiros.
   A ideia aqui é testar primeiro a experiência do usuário antes de mexer
   na parte operacional do admin. */
.deltur-trip-seats__journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.deltur-trip-seats__journey-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dbe3ea;
  border-radius: 14px;
  background: #f8fafc;
  color: #52606d;
}
.deltur-trip-seats__journey-step.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1e40af;
}
.deltur-trip-seats__journey-step.is-complete {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}
.deltur-trip-seats__journey-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  border: 1px solid currentColor;
  font-weight: 700;
  flex: 0 0 auto;
}
.deltur-trip-seats__journey-label {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}
.deltur-help {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
}
.deltur-seat-notice {
  display: none;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}
.deltur-seat-notice.is-visible { display: block; }
.deltur-seat-notice.is-warning {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
}
.deltur-seat-notice.is-info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
}
.deltur-trip-seats__layout-panel,
.deltur-trip-seats__passengers {
  background: #ffffff;
  border: 1px solid #e5edf3;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.deltur-seat-map {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #dce5ed;
}
.deltur-layout-grid {
  justify-content: start;
}
.deltur-seat-map .deltur-layout-cell {
  min-width: 64px;
  min-height: 64px;
  border-radius: 16px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}
.deltur-seat-map button.deltur-layout-cell:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(30, 115, 190, 0.14) !important;
}
.deltur-seat-map .deltur-layout-cell.is-selected {
  box-shadow: 0 0 0 3px rgba(30,115,190,.18), 0 10px 22px rgba(30,115,190,.18) !important;
}
.deltur-seat-selection-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  border: 1px solid #dbe7f3;
  background: #f8fbff;
}
.deltur-seat-selection-summary strong {
  font-size: 15px;
  color: #12314f;
}
.deltur-seat-selection-summary span {
  font-size: 13px;
  color: #4b5563;
}
.deltur-passengers-intro {
  margin-bottom: 14px;
}
.deltur-passengers-intro h4 {
  margin: 0 0 6px;
  font-size: 20px;
}
.deltur-passengers-intro p {
  margin: 0;
  color: #475569;
}
.deltur-passengers-empty {
  padding: 16px;
  border: 1px dashed #bfd1e3;
  border-radius: 14px;
  background: #f8fbff;
  color: #49637d;
  font-weight: 600;
}
.deltur-passenger-card {
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.deltur-passenger-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 19px;
  color: #0f172a;
}
.deltur-passenger-seat-tag {
  margin-bottom: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.deltur-field-grid {
  gap: 14px;
}
.deltur-field-grid input.input-text,
.deltur-field-grid input[type="date"] {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 10px 12px;
  box-sizing: border-box;
}
.deltur-field-grid input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96,165,250,.18);
  outline: none;
}
@media (max-width: 980px) {
  .deltur-trip-seats__journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 782px) {
  .deltur-trip-seats__journey {
    grid-template-columns: 1fr;
  }
  .deltur-seat-map {
    padding: 12px;
    overflow-x: auto;
  }
  .deltur-seat-map .deltur-layout-cell {
    min-width: 56px;
    min-height: 56px;
    border-radius: 14px;
  }
  .deltur-trip-seats__layout-panel,
  .deltur-trip-seats__passengers {
    padding: 14px;
  }
}

/* ===== DelTur v1.2.1 - Consolidação do frontend =====
   Esta camada consolida todas as correções deste bloco do frontend em uma
   única versão: título mais curto, remoção do texto explicativo longo,
   uso de abas horizontais para evitar sobreposição em notebook, revisão
   de tamanhos com rem/clamp e neutralização visual de corredor/vazio. */
.deltur-trip-seats__card {
  padding: 1.25rem;
}

.deltur-trip-seats__header h3 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.4rem);
  margin-bottom: 0.75rem;
}

.deltur-trip-seats__meta {
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.deltur-trip-seats__journey {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.deltur-trip-seats__journey-step {
  min-width: 0;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
}

.deltur-trip-seats__journey-index {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

.deltur-trip-seats__journey-label {
  font-size: clamp(0.92rem, 0.35vw + 0.85rem, 1rem);
}

.deltur-trip-seats__body.has-layout {
  display: block;
}

.deltur-trip-seats__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
}

button.deltur-trip-seats__tab {
  appearance: none;
  border: 1px solid #d8e3ee;
  background: #f8fafc;
  color: #334155;
  border-radius: 0.95rem;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}

button.deltur-trip-seats__tab:hover,
button.deltur-trip-seats__tab:focus {
  border-color: #93c5fd;
  outline: none;
}

button.deltur-trip-seats__tab.is-active {
  background: #eff6ff;
  border-color: #60a5fa;
  color: #1d4ed8;
  box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.18);
}

.deltur-trip-seats__tab-panels > [data-tab-panel][hidden] {
  display: none !important;
}

.deltur-trip-seats__layout-panel,
.deltur-trip-seats__passengers {
  padding: 1.125rem;
  border-radius: 1.125rem;
}

.deltur-seat-notice {
  margin-bottom: 0.875rem;
}

.deltur-seat-legend {
  gap: 0.75rem 1rem;
  margin-bottom: 0.875rem;
}

.deltur-seat-legend__item {
  font-size: 0.98rem;
}

.deltur-seat-map {
  padding: 1rem;
  overflow-x: auto;
}

.deltur-layout-grid {
  width: max-content;
  min-width: 100%;
  gap: 0.5rem;
}

.deltur-seat-map .deltur-layout-cell {
  min-width: 3.9rem;
  min-height: 3.9rem;
  padding: 0.5rem;
  border-radius: 1rem;
  font-size: clamp(0.9rem, 0.3vw + 0.82rem, 1rem);
}

.deltur-seat-map .deltur-layout-cell__text {
  font-size: inherit;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--corridor,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--empty,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--corridor:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--empty:hover {
  background: #eef2f5 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: transparent !important;
  box-shadow: none !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--corridor .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--empty .deltur-layout-cell__text {
  display: none !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom {
  background-color: #eef2f5 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom .deltur-layout-cell__text {
  font-size: 0.92rem !important;
  font-weight: 700;
}

.deltur-seat-selection-summary {
  margin-top: 0.875rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
}

.deltur-passengers-intro h4 {
  font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem);
}

.deltur-passengers-intro p {
  font-size: 0.98rem;
}

.deltur-passenger-card {
  padding: 1rem;
  border-radius: 1rem;
}

.deltur-passenger-title {
  font-size: clamp(1.15rem, 0.5vw + 1rem, 1.35rem);
}

.deltur-passenger-seat-tag {
  padding: 0.45rem 0.8rem;
  font-size: 0.95rem;
}

.deltur-field-grid {
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.deltur-field-grid .form-row {
  width: 100%;
}

.deltur-field-grid input.input-text,
.deltur-field-grid input[type="date"] {
  min-height: 3.1rem;
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .deltur-trip-seats__journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .deltur-trip-seats__card {
    padding: 1rem;
  }

  .deltur-trip-seats__journey,
  .deltur-trip-seats__tabs,
  .deltur-trip-seats__meta,
  .deltur-trip-seats__images {
    grid-template-columns: 1fr;
  }

  .deltur-seat-map {
    padding: 0.85rem;
  }

  .deltur-seat-map .deltur-layout-cell {
    min-width: 3.4rem;
    min-height: 3.4rem;
    border-radius: 0.9rem;
  }
}

/* ===== DelTur v1.2.2 - ajuste fino do frontend =====
   Esta camada finaliza o pacote visual desta etapa: centraliza os títulos,
   reduz a legenda, compacta os campos dos passageiros e melhora a leitura
   das etapas em telas de notebook. */
.deltur-trip-seats__header h3 {
  text-align: center;
}

.deltur-trip-seats__journey {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.deltur-trip-seats__journey-step {
  justify-content: flex-start;
}

.deltur-trip-seats__journey-label {
  font-size: clamp(0.84rem, 0.28vw + 0.78rem, 0.94rem);
  overflow-wrap: anywhere;
}

.deltur-seat-legend {
  gap: 0.5rem 0.85rem;
}

.deltur-seat-legend__item {
  font-size: 0.86rem;
}

.deltur-passengers-intro {
  margin-bottom: 0.75rem;
}

.deltur-passengers-intro h4 {
  text-align: center;
  margin: 0;
}

.deltur-field-grid {
  gap: 0.65rem;
}

.deltur-field-grid .form-row {
  margin-bottom: 0 !important;
}

.deltur-field-grid label {
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.deltur-field-grid input.input-text,
.deltur-field-grid input[type="date"] {
  min-height: 2.85rem;
  padding: 0.7rem 0.85rem;
}

.deltur-passenger-card {
  padding: 0.9rem 1rem;
}

.deltur-passenger-seat-tag {
  margin-bottom: 0.85rem;
}

@media (max-width: 782px) {
  .deltur-trip-seats__header h3 {
    text-align: center;
  }

  .deltur-seat-legend__item {
    font-size: 0.8rem;
  }
}


/* ===== DelTur v1.4.2 - orientação do mapa no desktop =====
   Esta camada adiciona uma escolha simples para notebook/desktop sem mexer no
   comportamento que já ficou aprovado no celular. O mobile continua vertical.
   No desktop, o admin pode manter vertical, forçar horizontal ou deixar auto. */
.deltur-layout-grid {
  grid-template-columns: repeat(var(--deltur-mobile-track-count, 1), minmax(3.4rem, 1fr));
}

@media (min-width: 783px) {
  .deltur-seat-map--desktop-vertical .deltur-layout-grid,
  .deltur-seat-map--desktop-auto .deltur-layout-grid,
  .deltur-seat-map--desktop-horizontal .deltur-layout-grid {
    grid-template-columns: repeat(var(--deltur-desktop-track-count, 1), minmax(3.9rem, 1fr));
  }

  .deltur-seat-map--desktop-horizontal .deltur-layout-grid {
    width: max-content;
    min-width: max-content;
    justify-content: start;
  }

  .deltur-trip-seats--desktop-horizontal .deltur-seat-map {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
}


/* ===== DelTur v1.4.3 - ajuste fino da orientação do mapa =====
   Esta camada corrige dois pontos desta etapa: no mobile a grade volta a seguir
   a leitura vertical aprovada, e no desktop horizontal o ônibus passa a começar
   da direita para a esquerda. Também reduzimos proporções para notebook e
   limitamos visualmente os títulos e cards, evitando desproporção. */
@media (min-width: 783px) {
  .deltur-trip-seats__card {
    padding: clamp(1.25rem, 1.4vw, 1.75rem);
  }

  .deltur-trip-seats__header h3 {
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.25rem, 2.1vw + 1.6rem, 3rem);
    line-height: 1.08;
  }

  .deltur-trip-seats__journey {
    grid-template-columns: repeat(4, minmax(11rem, 13.5rem));
    justify-content: center;
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
  }

  .deltur-trip-seats__tabs {
    grid-template-columns: repeat(2, minmax(13rem, 22rem));
    justify-content: center;
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
  }

  .deltur-trip-seats__layout-panel,
  .deltur-trip-seats__passengers {
    max-width: min(100%, 66rem);
    margin-left: auto;
    margin-right: auto;
  }

  .deltur-seat-map {
    padding: 0.9rem;
  }

  .deltur-seat-map .deltur-layout-cell {
    min-width: 3.35rem;
    min-height: 3.35rem;
    border-radius: 0.88rem;
    padding: 0.35rem;
    font-size: clamp(0.84rem, 0.18vw + 0.8rem, 0.95rem);
  }

  .deltur-seat-map--desktop-horizontal .deltur-layout-grid {
    grid-template-columns: repeat(var(--deltur-desktop-track-count, 1), minmax(3.35rem, 1fr));
    grid-auto-rows: minmax(3.35rem, auto);
    width: max-content;
    min-width: max-content;
    justify-content: center;
  }

  .deltur-seat-map--desktop-horizontal .deltur-layout-cell {
    grid-column: var(--deltur-cell-h-col);
    grid-row: var(--deltur-cell-h-row);
  }
}

@media (max-width: 782px) {
  .deltur-trip-seats__journey {
    grid-template-columns: 1fr;
  }

  .deltur-trip-seats__tabs {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .deltur-seat-map .deltur-layout-cell {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .deltur-layout-grid,
  .deltur-seat-map--desktop-horizontal .deltur-layout-grid,
  .deltur-seat-map--desktop-auto .deltur-layout-grid,
  .deltur-seat-map--desktop-vertical .deltur-layout-grid {
    grid-template-columns: repeat(var(--deltur-mobile-track-count, 1), minmax(3.15rem, 1fr));
    width: max-content;
    min-width: 100%;
    justify-content: start;
  }
}


/* ===== DelTur v1.4.4 - proporção fina do cabeçalho e mobile =====
   Esta camada ajusta a proporção geral do bloco de compra. O objetivo é
   reduzir excesso visual no desktop, centralizar melhor os dados do cabeçalho,
   compactar a ficha dos passageiros e reorganizar os cards da jornada no celular. */
@media (min-width: 783px) {
  .deltur-trip-seats__header h3 {
    max-width: 14rem;
    font-size: clamp(1.95rem, 1.25vw + 1.45rem, 2.45rem);
    margin-bottom: 0.4rem;
  }

  .deltur-trip-seats__meta {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: start;
    text-align: center;
  }

  .deltur-trip-seats__meta > div,
  .deltur-trip-seats__meta p,
  .deltur-trip-seats__meta strong,
  .deltur-trip-seats__meta span {
    text-align: center;
  }

  .deltur-trip-seats__journey {
    grid-template-columns: repeat(4, minmax(9.5rem, 11.5rem));
    gap: 0.7rem;
    max-width: 48rem;
  }

  .deltur-trip-seats__journey-step {
    padding: 0.7rem 0.8rem;
    border-radius: 1rem;
    gap: 0.75rem;
    min-height: 4.2rem;
  }

  .deltur-trip-seats__journey-index {
    width: 2.05rem;
    height: 2.05rem;
    font-size: 0.95rem;
  }

  .deltur-trip-seats__journey-label {
    font-size: clamp(0.74rem, 0.16vw + 0.7rem, 0.88rem);
    line-height: 1.15;
  }

  .deltur-trip-seats__tabs {
    grid-template-columns: repeat(2, minmax(12rem, 18rem));
    gap: 0.75rem;
    max-width: 38rem;
    margin-top: 0.35rem;
  }

  button.deltur-trip-seats__tab {
    min-height: 2.85rem;
    padding: 0.72rem 0.95rem;
    font-size: 0.92rem;
    border-radius: 0.95rem;
  }

  .deltur-passengers-intro h4 {
    font-size: clamp(1.55rem, 0.75vw + 1.1rem, 2rem);
    margin-bottom: 0.35rem;
  }

  .deltur-trip-seats__passengers {
    max-width: min(100%, 48rem);
  }

  .deltur-passenger-card {
    max-width: 100%;
    padding: 0.8rem 1rem;
  }

  .deltur-passenger-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }

  .deltur-passenger-seat-tag {
    margin-bottom: 0.6rem;
    padding: 0.35rem 0.72rem;
    font-size: 0.88rem;
  }

  .deltur-field-grid {
    gap: 0.48rem;
  }

  .deltur-field-grid label {
    margin-bottom: 0.18rem;
    font-size: 0.96rem;
  }

  .deltur-field-grid input.input-text,
  .deltur-field-grid input[type="date"] {
    min-height: 2.65rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 782px) {
  .deltur-trip-seats__header h3 {
    max-width: 10rem;
    font-size: clamp(1.7rem, 4vw + 0.7rem, 2.15rem);
  }

  .deltur-trip-seats__meta {
    text-align: center;
    justify-content: center;
  }

  .deltur-trip-seats__meta > div,
  .deltur-trip-seats__meta p,
  .deltur-trip-seats__meta strong,
  .deltur-trip-seats__meta span {
    text-align: center;
  }

  .deltur-trip-seats__journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .deltur-trip-seats__journey-step {
    min-height: 4rem;
    padding: 0.68rem 0.72rem;
    gap: 0.55rem;
  }

  .deltur-trip-seats__journey-index {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.92rem;
  }

  .deltur-trip-seats__journey-label {
    font-size: 0.8rem;
    line-height: 1.1;
  }

  .deltur-trip-seats__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  button.deltur-trip-seats__tab {
    min-height: 2.7rem;
    padding: 0.62rem 0.75rem;
    font-size: 0.88rem;
  }

  .deltur-passengers-intro h4 {
    font-size: 1.6rem;
  }

  .deltur-passenger-card {
    padding: 0.78rem 0.85rem;
  }

  .deltur-field-grid {
    gap: 0.42rem;
  }

  .deltur-field-grid label {
    margin-bottom: 0.15rem;
    font-size: 0.92rem;
  }

  .deltur-field-grid input.input-text,
  .deltur-field-grid input[type="date"] {
    min-height: 2.55rem;
    padding: 0.52rem 0.72rem;
    font-size: 0.92rem;
  }
}

/* ===== DelTur v1.4.5 - compactação adicional do cabeçalho e da ficha =====
   Ajusta o cabeçalho e a ficha de passageiros para reduzir o excesso visual
   no desktop e preservar a leitura em duas colunas no mobile. */
@media (min-width: 783px) {
  .deltur-trip-seats__card {
    padding: 1rem 1.15rem;
    border-radius: 1.1rem;
  }

  .deltur-trip-seats__header h3 {
    max-width: 11rem;
    font-size: clamp(1.6rem, 0.9vw + 1.2rem, 2rem);
    line-height: 1.08;
    margin-bottom: 0.2rem;
  }

  .deltur-trip-seats__meta {
    max-width: 33rem;
    gap: 0.3rem 1.3rem;
    margin-bottom: 1rem;
  }

  .deltur-trip-seats__meta,
  .deltur-trip-seats__meta strong,
  .deltur-trip-seats__meta span,
  .deltur-trip-seats__meta p,
  .deltur-trip-seats__meta > div {
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .deltur-trip-seats__journey {
    grid-template-columns: repeat(4, minmax(8.1rem, 10rem));
    gap: 0.55rem;
    max-width: 42rem;
    margin-bottom: 0.95rem;
  }

  .deltur-trip-seats__journey-step {
    min-height: 3.45rem;
    padding: 0.5rem 0.62rem;
    gap: 0.55rem;
    border-radius: 0.9rem;
  }

  .deltur-trip-seats__journey-index {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.85rem;
  }

  .deltur-trip-seats__journey-label {
    font-size: 0.73rem;
    line-height: 1.06;
  }

  .deltur-trip-seats__tabs {
    grid-template-columns: repeat(2, minmax(10rem, 15rem));
    gap: 0.6rem;
    max-width: 31rem;
    margin-top: 0.15rem;
    margin-bottom: 0.85rem;
  }

  button.deltur-trip-seats__tab {
    min-height: 2.45rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.84rem;
    border-radius: 0.85rem;
  }

  .deltur-passengers-intro h4 {
    font-size: clamp(1.28rem, 0.55vw + 0.95rem, 1.6rem);
    margin-bottom: 0.2rem;
    line-height: 1.12;
  }

  .deltur-trip-seats__passengers {
    max-width: min(100%, 40rem);
  }

  .deltur-passenger-card {
    padding: 0.65rem 0.82rem;
    border-radius: 1rem;
    margin-bottom: 0.8rem;
  }

  .deltur-passenger-title {
    font-size: 0.98rem;
    margin-bottom: 0.22rem;
    line-height: 1.15;
  }

  .deltur-passenger-seat-tag {
    margin-bottom: 0.42rem;
    padding: 0.28rem 0.62rem;
    font-size: 0.8rem;
  }

  .deltur-field-grid {
    gap: 0.32rem;
  }

  .deltur-field-grid label {
    margin-bottom: 0.1rem;
    font-size: 0.88rem;
    line-height: 1.1;
  }

  .deltur-field-grid input.input-text,
  .deltur-field-grid input[type="date"] {
    min-height: 2.25rem;
    padding: 0.42rem 0.68rem;
    font-size: 0.88rem;
    border-radius: 0.78rem;
  }
}

@media (max-width: 782px) {
  .deltur-trip-seats__card {
    padding: 0.9rem 0.9rem;
  }

  .deltur-trip-seats__header h3 {
    max-width: 9rem;
    font-size: clamp(1.48rem, 3.3vw + 0.8rem, 1.9rem);
    margin-bottom: 0.18rem;
  }

  .deltur-trip-seats__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.7rem;
    margin-bottom: 0.9rem;
    text-align: center;
    align-items: start;
  }

  .deltur-trip-seats__meta,
  .deltur-trip-seats__meta strong,
  .deltur-trip-seats__meta span,
  .deltur-trip-seats__meta p,
  .deltur-trip-seats__meta > div {
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .deltur-trip-seats__journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .deltur-trip-seats__journey-step {
    min-height: 3.2rem;
    padding: 0.48rem 0.55rem;
    gap: 0.42rem;
    border-radius: 0.85rem;
  }

  .deltur-trip-seats__journey-index {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.82rem;
  }

  .deltur-trip-seats__journey-label {
    font-size: 0.72rem;
    line-height: 1.05;
  }

  .deltur-trip-seats__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }

  button.deltur-trip-seats__tab {
    min-height: 2.3rem;
    padding: 0.48rem 0.6rem;
    font-size: 0.82rem;
    border-radius: 0.82rem;
  }

  .deltur-passengers-intro h4 {
    font-size: 1.35rem;
    margin-bottom: 0.18rem;
  }

  .deltur-passenger-card {
    padding: 0.65rem 0.72rem;
    margin-bottom: 0.72rem;
  }

  .deltur-passenger-title {
    font-size: 0.98rem;
    margin-bottom: 0.18rem;
  }

  .deltur-passenger-seat-tag {
    margin-bottom: 0.38rem;
    padding: 0.26rem 0.58rem;
    font-size: 0.78rem;
  }

  .deltur-field-grid {
    gap: 0.28rem;
  }

  .deltur-field-grid label {
    margin-bottom: 0.1rem;
    font-size: 0.84rem;
    line-height: 1.08;
  }

  .deltur-field-grid input.input-text,
  .deltur-field-grid input[type="date"] {
    min-height: 2.15rem;
    padding: 0.4rem 0.62rem;
    font-size: 0.84rem;
    border-radius: 0.72rem;
  }
}


/* Dois andares: abas de navegação entre andar inferior e superior */
.deltur-seat-decks {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.deltur-seat-decks__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
button.deltur-seat-decks__tab {
  appearance: none;
  border: 1px solid #bcd0ea;
  background: #eef4fb;
  color: #1f3c88;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
button.deltur-seat-decks__tab:hover,
button.deltur-seat-decks__tab:focus {
  border-color: #8db6ef;
  box-shadow: 0 0 0 2px rgba(30,115,190,0.08);
}
button.deltur-seat-decks__tab.is-active {
  background: #1e73be;
  border-color: #1e73be;
  color: #fff;
}
.deltur-seat-decks__panel[hidden] { display: none !important; }
@media (max-width: 767px) {
  .deltur-seat-decks__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  button.deltur-seat-decks__tab {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.deltur-temp-hold-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e6b800;
    background: #fff7d6;
    color: #5a4600;
    border-radius: 0.875rem;
    font-size: 0.95rem;
}

.deltur-temp-hold-banner[hidden] {
    display: none !important;
}

.deltur-temp-hold-banner__label {
    font-weight: 700;
}

.deltur-temp-hold-banner__timer {
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* v1.5.7 - Fluxo dedicado CheckoutDelTur */
.deltur-flow-entry { display:none; }
.deltur-checkout-flow { display:block; margin:1.5rem 0; }
.deltur-checkout-flow__topbar { margin-bottom:1rem; }
.deltur-checkout-flow__steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.deltur-checkout-flow__step { display:flex; align-items:center; justify-content:center; min-height:2.75rem; padding:.6rem .8rem; border-radius:.9rem; background:#eef1f5; color:#4b5563; font-weight:600; font-size:.95rem; text-align:center; }
.deltur-checkout-flow__step.is-active { background:#dbeafe; color:#1d4ed8; }
.deltur-checkout-flow__step.is-complete { box-shadow: inset 0 0 0 1px rgba(29,78,216,.18); }
.deltur-checkout-flow__layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:1rem; align-items:start; }
.deltur-checkout-flow__sidebar { position:sticky; top:1rem; }
.deltur-checkout-flow__summary { background:#fff; border:1px solid #e5e7eb; border-radius:1rem; padding:1rem; box-shadow:0 10px 24px rgba(15,23,42,.05); }
.deltur-checkout-flow__summary h3 { margin:0 0 .75rem; font-size:1.05rem; }
.deltur-checkout-flow__summary-list { list-style:none; padding:0; margin:0; display:grid; gap:.5rem; }
.deltur-checkout-flow__summary-list li { display:grid; gap:.12rem; font-size:.92rem; }
.deltur-checkout-flow__selected, .deltur-checkout-flow__timer { margin-top:.9rem; padding:.7rem .8rem; background:#f8fafc; border-radius:.85rem; font-size:.92rem; }
.deltur-checkout-flow__actions { margin-top:1rem; display:flex; justify-content:flex-end; }
.deltur-checkout-flow .deltur-trip-seats__journey { display:none !important; }
.deltur-checkout-flow .deltur-trip-seats__images { display:none !important; }
.deltur-checkout-flow .deltur-trip-seats__card { box-shadow:none; border:1px solid #e5e7eb; }
.deltur-checkout-flow .deltur-trip-seats__header { padding-bottom:.75rem; margin-bottom:.75rem; }
@media (max-width: 900px) {
  .deltur-checkout-flow__layout { grid-template-columns:1fr; }
  .deltur-checkout-flow__sidebar { position:static; order:-1; }
}
@media (max-width: 640px) {
  .deltur-checkout-flow__steps { grid-template-columns:1fr; }
}

/* v1.5.7.1 - Ajustes do fluxo dedicado */
.deltur-checkout-flow__layout {
  grid-template-columns: minmax(0, 1fr);
}

.deltur-checkout-flow__main {
  min-width: 0;
}

.deltur-checkout-flow__sidebar {
  display: none !important;
}

button.deltur-checkout-flow__step {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #e5e7eb;
  color: #374151;
  border-radius: 0.9rem;
  cursor: pointer;
}

button.deltur-checkout-flow__step:hover,
button.deltur-checkout-flow__step:focus {
  border-color: #9ca3af;
}

button.deltur-checkout-flow__step.is-active {
  background: #4b5563;
  border-color: #4b5563;
  color: #ffffff;
}

button.deltur-checkout-flow__step.is-complete {
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.18);
}

button.deltur-checkout-flow__step.is-disabled,
button.deltur-checkout-flow__step:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.deltur-checkout-flow .deltur-trip-seats__journey,
.deltur-checkout-flow .deltur-trip-seats__tabs,
.deltur-checkout-flow .deltur-trip-seats__images,
.deltur-checkout-flow .deltur-temp-hold-banner {
  display: none !important;
}

.deltur-checkout-flow .deltur-trip-seats__header {
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
}

.deltur-checkout-flow .deltur-trip-seats__meta--flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.deltur-checkout-flow .deltur-trip-seats__meta--flow > span {
  font-size: 0.95rem;
}

.deltur-flow-meta__timer-wrap,
.deltur-flow-meta__timer-label,
.deltur-flow-meta__timer-value {
  color: #b91c1c;
  font-weight: 700;
}

.deltur-flow-meta__timer-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.deltur-flow-variation-summary {
  margin-bottom: 0.9rem;
}

.deltur-flow-variation-summary__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  background: #f8fafc;
}

.deltur-flow-variation-summary__title {
  width: 100%;
  font-weight: 700;
  color: #111827;
}

.deltur-flow-variation-summary__inner > span {
  font-size: 0.95rem;
}


button.deltur-seat-decks__tab {
  border-color: #d1d5db;
  background: #e5e7eb;
  color: #374151;
}

button.deltur-seat-decks__tab:hover,
button.deltur-seat-decks__tab:focus {
  border-color: #9ca3af;
  box-shadow: none;
}

button.deltur-seat-decks__tab.is-active {
  background: #4b5563;
  border-color: #4b5563;
  color: #ffffff;
}

button.deltur-checkout-flow__submit,
button.deltur-checkout-flow__submit:hover,
button.deltur-checkout-flow__submit:focus {
  background: #4b5563;
  border-color: #4b5563;
  color: #ffffff;
  border-radius: 0.9rem;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .deltur-checkout-flow__topbar {
    grid-template-columns: 1fr;
  }

  .deltur-checkout-flow .deltur-trip-seats__meta--flow {
    flex-direction: column;
    gap: 0.35rem;
  }

  .deltur-checkout-flow__actions {
    justify-content: stretch;
  }

  button.deltur-checkout-flow__submit {
    width: 100%;
  }
}


/* ===== DelTur v1.5.7.10 - Aparência neutra do CheckoutDelTur ===== */
.deltur-checkout-flow__topbar {
  display: flex;
  justify-content: center;
}

.deltur-checkout-flow__steps,
.deltur-checkout-flow__topbar {
  width: 100%;
}

.deltur-checkout-flow__topbar[role="tablist"] {
  gap: .75rem;
  flex-wrap: wrap;
}

.deltur-checkout-flow__topbar .deltur-checkout-flow__step {
  flex: 0 1 220px;
  max-width: 220px;
}

button.deltur-checkout-flow__step {
  position: relative;
  justify-content: center;
  border: 1px solid #9ca3af;
  background: #9ca3af;
  color: #ffffff;
  border-radius: 0.95rem;
  min-height: 3rem;
}

button.deltur-checkout-flow__step:hover,
button.deltur-checkout-flow__step:focus {
  border-color: #6b7280;
  background: #8f96a3;
  color: #ffffff;
}

button.deltur-checkout-flow__step.is-active {
  background: #4b5563;
  border-color: #4b5563;
  color: #ffffff;
}

button.deltur-checkout-flow__step.is-complete {
  background: #d1d5db;
  border-color: #c5cad3;
  color: #374151;
  box-shadow: none;
}

button.deltur-checkout-flow__step.is-complete::after {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #374151;
  font-size: .78rem;
  font-weight: 800;
}

.deltur-checkout-flow .deltur-trip-seats__meta--flow {
  justify-content: center;
  gap: 0.45rem 1.1rem;
}

.deltur-checkout-flow .deltur-trip-seats__header h3 {
  text-align: center;
}

.deltur-flow-meta__timer-label,
.deltur-flow-meta__timer-value {
  color: #b91c1c;
  font-weight: 700;
}

button.deltur-seat-decks__tab,
button.deltur-seat-decks__tab:hover,
button.deltur-seat-decks__tab:focus {
  border: 1px solid #9ca3af;
  background: #d1d5db;
  color: #374151;
  box-shadow: none;
}

button.deltur-seat-decks__tab.is-active {
  background: #4b5563;
  border-color: #4b5563;
  color: #ffffff;
}

button.deltur-checkout-flow__submit {
  background: #9ca3af;
  border-color: #9ca3af;
  color: #ffffff;
  border-radius: 0.95rem;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease, opacity .18s ease;
}

button.deltur-checkout-flow__submit:hover,
button.deltur-checkout-flow__submit:focus {
  background: #6b7280;
  border-color: #6b7280;
  color: #ffffff;
}

button.deltur-checkout-flow__submit:disabled,
button.deltur-checkout-flow__submit.is-processing,
button.deltur-checkout-flow__submit[disabled] {
  background: #d1d5db !important;
  border-color: #d1d5db !important;
  color: #6b7280 !important;
  cursor: not-allowed;
  opacity: 1;
}

.deltur-checkout-flow__actions {
  justify-content: flex-end;
}

.deltur-flow-variation-summary {
  display: none !important;
}

/* Ícones padronizados no frontend */
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 68% 68% !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver {
  background-image: url(../images/driver-icon.png) !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs {
  background-image: url(../images/stairs-icon.png) !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom {
  background-image: url(../images/bathroom-icon.png) !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door {
  background-image: url(../images/door-icon.svg) !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door .deltur-layout-cell__text {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

@media (max-width: 767px) {
  .deltur-checkout-flow__topbar[role="tablist"] {
    justify-content: stretch;
  }

  .deltur-checkout-flow__topbar .deltur-checkout-flow__step {
    flex: 1 1 100%;
    max-width: none;
  }
}


/* ===== DelTur v1.5.7.11 - Ajustes finos de aparência e interação ===== */
button.deltur-checkout-flow__step.is-disabled {
  opacity: .78;
  cursor: pointer;
}

button.deltur-checkout-flow__submit,
button.deltur-checkout-flow__submit:hover,
button.deltur-checkout-flow__submit:focus {
  background: #9ca3af;
  border-color: #9ca3af;
  color: #ffffff;
}

button.deltur-checkout-flow__submit.is-processing,
button.deltur-checkout-flow__submit[disabled] {
  background: #d1d5db !important;
  border-color: #d1d5db !important;
  color: #6b7280 !important;
  cursor: not-allowed;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver:focus,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs:focus,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom:focus {
  background-color: #e5e7eb !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  transform: none !important;
  opacity: 1 !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom:hover {
  background-size: 68% 68% !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door:focus {
  background-image: none !important;
  background-color: #e5e7eb !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  transform: none !important;
  opacity: 1 !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door .deltur-layout-cell__text {
  font-size: 12px !important;
  line-height: 1.1 !important;
  color: #475569 !important;
  font-weight: 700 !important;
  white-space: normal;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom .deltur-layout-cell__text {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}


/* ===== DelTur v1.5.7.12 - Neutralização forte + ícones fixos ===== */
.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step,
.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step:hover,
.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step:focus,
.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step:active {
  background: #9ca3af !important;
  border-color: #9ca3af !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step.is-active,
.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step.is-active:hover,
.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step.is-active:focus {
  background: #4b5563 !important;
  border-color: #4b5563 !important;
  color: #ffffff !important;
}

.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step.is-complete,
.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step.is-complete:hover,
.deltur-checkout-flow .deltur-checkout-flow__topbar .deltur-checkout-flow__step.is-complete:focus {
  background: #d1d5db !important;
  border-color: #c5cad3 !important;
  color: #374151 !important;
}

.deltur-checkout-flow .deltur-trip-seats__card .deltur-seat-decks__tabs .deltur-seat-decks__tab,
.deltur-checkout-flow .deltur-trip-seats__card .deltur-seat-decks__tabs .deltur-seat-decks__tab:hover,
.deltur-checkout-flow .deltur-trip-seats__card .deltur-seat-decks__tabs .deltur-seat-decks__tab:focus,
.deltur-checkout-flow .deltur-trip-seats__card .deltur-seat-decks__tabs .deltur-seat-decks__tab:active {
  background: #d1d5db !important;
  border-color: #9ca3af !important;
  color: #374151 !important;
  box-shadow: none !important;
}

.deltur-checkout-flow .deltur-trip-seats__card .deltur-seat-decks__tabs .deltur-seat-decks__tab.is-active,
.deltur-checkout-flow .deltur-trip-seats__card .deltur-seat-decks__tabs .deltur-seat-decks__tab.is-active:hover,
.deltur-checkout-flow .deltur-trip-seats__card .deltur-seat-decks__tabs .deltur-seat-decks__tab.is-active:focus {
  background: #4b5563 !important;
  border-color: #4b5563 !important;
  color: #ffffff !important;
}

.deltur-checkout-flow button.single_add_to_cart_button.button.alt.deltur-checkout-flow__submit,
.deltur-checkout-flow button.single_add_to_cart_button.button.alt.deltur-checkout-flow__submit:hover,
.deltur-checkout-flow button.single_add_to_cart_button.button.alt.deltur-checkout-flow__submit:focus,
.deltur-checkout-flow button.single_add_to_cart_button.button.alt.deltur-checkout-flow__submit:active,
.deltur-checkout-flow button.deltur-checkout-flow__submit,
.deltur-checkout-flow button.deltur-checkout-flow__submit:hover,
.deltur-checkout-flow button.deltur-checkout-flow__submit:focus,
.deltur-checkout-flow button.deltur-checkout-flow__submit:active {
  background: #6b7280 !important;
  border-color: #6b7280 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.deltur-checkout-flow button.single_add_to_cart_button.button.alt.deltur-checkout-flow__submit[disabled],
.deltur-checkout-flow button.single_add_to_cart_button.button.alt.deltur-checkout-flow__submit[disabled]:hover,
.deltur-checkout-flow button.deltur-checkout-flow__submit[disabled],
.deltur-checkout-flow button.deltur-checkout-flow__submit[disabled]:hover {
  background: #d1d5db !important;
  border-color: #c5cad3 !important;
  color: #6b7280 !important;
}

/* Ícones fixos no frontend */
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver:focus,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs:focus,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom:focus,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door:focus {
  opacity: 1 !important;
  filter: none !important;
  background-color: #eceff1 !important;
  border-color: #d7dde2 !important;
  color: #475569 !important;
  box-shadow: none !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom .deltur-layout-cell__text {
  display: none !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door .deltur-layout-cell__text {
  display: inline-block !important;
  color: #475569 !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver::before,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs::before,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom::before {
  content: '' !important;
  display: block !important;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver::before { background-image: url(../images/driver-icon.png) !important; }
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs::before { background-image: url(../images/stairs-icon.png) !important; }
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom::before { background-image: url(../images/bathroom-icon.png) !important; }


/* ===== DelTur v1.5.7.13 - Ícones únicos e fixos no frontend ===== */
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver:focus,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs:focus,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom:focus {
  background-image: none !important;
  background-color: #eceff1 !important;
  border-color: #d7dde2 !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver::before,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs::before,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom::before {
  content: '' !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 auto !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  opacity: 1 !important;
  filter: none !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs .deltur-layout-cell__text,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom .deltur-layout-cell__text {
  display: none !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door:hover,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door:focus {
  background-image: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--driver::after,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--stairs::after,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--bathroom::after,
.deltur-seat-map .deltur-layout-cell.deltur-layout-cell--door::after {
  content: none !important;
}

/* v1.5.7.14 - ajustes dos novos campos do passageiro */
.deltur-field-grid select,
.deltur-field-grid .input-select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cdd7e3;
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
  color: #243b55;
}

.deltur-field-grid .form-row-first,
.deltur-field-grid .form-row-last {
  width: 100%;
}

.deltur-emergency-contact {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #dbe3ec;
  border-radius: 14px;
  background: #f7f9fc;
}

.deltur-emergency-contact h5 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #243b55;
}


/* v1.5.7.15 - campos do passageiro e validações móveis */
.deltur-field-grid {
  grid-template-columns: minmax(108px, 0.72fr) minmax(0, 1.28fr) !important;
}

.deltur-field-grid .form-row-wide,
.deltur-emergency-contact {
  grid-column: 1 / -1 !important;
}

.deltur-document-type-field {
  grid-column: 1 !important;
}

.deltur-document-number-field {
  grid-column: 2 !important;
}

.deltur-field-grid select,
.deltur-field-grid .input-select,
.deltur-field-grid input[type="tel"] {
  width: 100%;
}
