/* Transfer funnel — Skyscanner-style (scoped tj- prefix) */

body.tj-funnel .icon-cart a,
body.tj-funnel .account-dropdown-trigger,
body.tj-funnel .lang-selector-toggle {
  color: var(--header-text, var(--text-primary));
}

body.tj-funnel--reservar .tj-header-progress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-right: 1rem;
}

.tj-header-progress-step.is-active {
  color: var(--accent);
  font-weight: 600;
}

.tj-header-progress-sep {
  opacity: 0.4;
}

/* Search form partial */
.tj-search-wrap {
  width: 100%;
}

.tj-search-card {
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: visible;
}

.tj-search-card--compact {
  box-shadow: var(--shadow-md);
}

.tj-search-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 1.2rem 1.6rem 0;
  border-bottom: 1px solid var(--border-default);
}

.tj-search-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.4rem;
  margin-bottom: -1px;
  color: var(--text-muted);
  font-size: 1.4rem;
  font-weight: 600;
}

.tj-search-tab.is-active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.tj-search-form {
  padding: 1.6rem;
}

.tj-search-trip-type {
  display: inline-flex;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  padding: 0.35rem;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.tj-search-trip-type__option {
  margin: 0;
  cursor: pointer;
}

.tj-search-trip-type__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tj-search-trip-type__option span {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}

.tj-search-trip-type__option input:checked + span {
  background: var(--surface-elevated);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.tj-search-row {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.tj-search-row.is-round-trip {
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
}

.tj-search-route {
  --tj-route-control-h: 4.4rem;
  --tj-route-label-offset: 1.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: end;
  position: relative;
  min-width: 0;
}

.tj-search-route .tj-field--from {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.tj-search-route .tj-field--to {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.tj-search-route .tj-search-swap {
  position: absolute;
  left: 50%;
  bottom: calc((var(--tj-route-control-h) - 3.2rem) / 2);
  transform: translateX(-50%);
  z-index: 6;
  grid-column: 1 / -1;
  justify-self: center;
  align-self: end;
  margin: 0;
}

/* Origem / destino — par conectado + swap na divisória (desktop) */
@media (min-width: 521px) {
  .tj-search-route::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: var(--tj-route-control-h);
    background: var(--border-default);
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
  }

  .tj-search-route .tj-field--from .tj-field-control--select,
  .tj-search-route .tj-field--from .ui-selectmenu-button.tj-selectmenu-btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    padding-right: 2.8rem;
  }

  .tj-search-route .tj-field--to .tj-field-control--select,
  .tj-search-route .tj-field--to .ui-selectmenu-button.tj-selectmenu-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid var(--border-default);
    padding-left: 2.8rem;
  }

  .tj-search-route .tj-search-swap {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: var(--surface-subtle);
    border: 1px solid var(--border-default);
    color: var(--accent);
    box-shadow: none;
  }

  .tj-search-route .tj-search-swap:hover {
    border-color: var(--accent);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-sm);
  }

  .tj-search-route .tj-search-swap__icon {
    width: 1.6rem;
    height: 1.6rem;
  }
}

.tj-search-row:not(.is-round-trip) .tj-field--date-return {
  display: none;
}

.tj-badge--round {
  background: var(--accent-soft);
  color: var(--accent);
}

.tj-wizard-leg-block {
  margin-bottom: 2rem;
}

.tj-wizard-leg-block:last-child {
  margin-bottom: 0;
}

.tj-wizard-leg-block__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

@media (max-width: 960px) {
  .tj-search-row,
  .tj-search-row.is-round-trip {
    grid-template-columns: 1fr 1fr;
  }

  .tj-search-route {
    grid-column: 1 / -1;
  }

  .tj-search-submit {
    grid-column: 1 / -1;
  }

  .tj-search-row.is-round-trip .tj-field--date,
  .tj-search-row.is-round-trip .tj-field--date-return {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .tj-search-row {
    grid-template-columns: 1fr;
  }

  .tj-search-route {
    grid-template-columns: 1fr;
    gap: 0;
    --tj-route-control-h: 5.6rem;
  }

  .tj-search-root:not(.is-route-ready) .tj-search-route {
    min-height: calc(var(--tj-route-control-h) * 2);
  }

  .tj-search-route .tj-field--from {
    grid-column: 1;
    grid-row: 1;
  }

  .tj-search-route .tj-field--to {
    grid-column: 1;
    grid-row: 2;
  }

  .tj-search-route .tj-search-swap {
    position: absolute;
    left: auto;
    right: 1.2rem;
    top: var(--tj-route-control-h);
    transform: translateY(-50%);
    z-index: 6;
    margin: 0;
    align-self: auto;
    justify-self: auto;
  }

  .tj-search-route .tj-field--from .tj-field-label,
  .tj-search-route .tj-field--to .tj-field-label {
    display: none;
  }

  .tj-search-route .tj-field--from .tj-field-control,
  .tj-search-route .tj-field--to .tj-field-control,
  .tj-search-route .tj-field--from .ui-selectmenu-button.tj-selectmenu-btn,
  .tj-search-route .tj-field--to .ui-selectmenu-button.tj-selectmenu-btn {
    min-height: var(--tj-route-control-h);
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
  }

  .tj-search-route .tj-field--from .tj-field-control,
  .tj-search-route .tj-field--from .ui-selectmenu-button.tj-selectmenu-btn {
    border-radius: var(--radius-md);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    padding-right: 4.8rem;
  }

  .tj-search-route .tj-field--to .tj-field-control,
  .tj-search-route .tj-field--to .ui-selectmenu-button.tj-selectmenu-btn {
    border-radius: var(--radius-md);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-left: 1px solid var(--border-default);
    padding-left: 1.2rem;
    padding-right: 4.8rem;
  }
}

.tj-field-label {
  display: block;
  font-size: var(--text-xs, 1.2rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.tj-field--from,
.tj-field--to,
.tj-field--date,
.tj-field--date-return,
.tj-field--pax {
  position: relative;
  min-width: 0;
}

.tj-search-root:not(.is-route-ready) .tj-search-route select.tj-field-control--select {
  visibility: hidden;
}

.tj-search-route select.ui-selectmenu-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px;
  padding: 0 !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0 !important;
}

.tj-search-route .ui-selectmenu-button.tj-selectmenu-btn {
  min-height: var(--tj-route-control-h, 4.4rem);
  box-sizing: border-box !important;
}

.tj-field-control {
  width: 100%;
  min-height: 4.4rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface-subtle);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  box-sizing: border-box;
}

.tj-field-control:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--border-strong);
  background-color: var(--surface-elevated);
}

.tj-field-control:focus,
.tj-field-control:focus-visible {
  outline: none;
  border-color: var(--accent);
  background-color: var(--surface-elevated);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Native select fallback (before selectmenu init or when unavailable) */
select.tj-field-control--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3.2rem;
  cursor: pointer;
  background-color: var(--surface-subtle);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 12px 12px;
}

select.tj-field-control--select:invalid {
  color: var(--text-muted);
}

select.tj-field-control--select option {
  color: var(--text-primary);
}

select.tj-field-control--select option[value=""][disabled] {
  display: none;
}

/* Date fields — calendar affordance */
.tj-field-control--date {
  padding-right: 3.2rem;
  cursor: pointer;
  background-color: var(--surface-subtle);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' stroke='%2364748b' stroke-width='1.5'/%3E%3Cpath d='M3 9h18M8 3v4M16 3v4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 16px 16px;
}

.tj-field-control--date::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.tj-field-control--date:not(:placeholder-shown) {
  color: var(--text-primary);
  font-weight: 500;
}

/* jQuery UI selectmenu — ver tj-jquery-ui-overrides.css (carrega após jquery-ui) */

.tj-search-swap {
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  background: var(--surface-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.tj-search-swap:hover {
  border-color: var(--accent);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm);
}

.tj-search-submit {
  min-height: 4.4rem;
  padding: 0 2rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.tj-search-submit:hover {
  background: var(--accent-hover);
}

.tj-search-submit:disabled,
.tj-search-submit.is-loading {
  opacity: 0.85;
  cursor: wait;
}

/* Search submit + fields — mobile (after base rule) */
@media (max-width: 640px) {
  .tj-search-form .tj-field-control,
  .tj-search-form .tj-pax-trigger {
    min-height: 5.2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
  }

  .tj-search-submit {
    width: 100%;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-lg);
    -webkit-tap-highlight-color: transparent;
  }

  body.home-page .tj-search-submit {
    min-height: 5.6rem;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }
}

@media (max-width: 640px) and (min-width: 521px) {
  .tj-search-submit {
    min-height: 5.1rem;
    padding: 1.15rem 2rem;
    margin-top: 0.8rem;
    font-size: 1.65rem;
    font-weight: 600;
  }
}

@media (max-width: 520px) {
  .tj-search-submit {
    min-height: 5.5rem;
    padding: 1.2rem 2.4rem;
    margin-top: 1.2rem;
    font-size: 1.75rem;
    font-weight: 600;
    transition: background-color 0.15s ease, transform 0.1s ease;
  }

  .tj-search-submit:active:not(:disabled):not(.is-loading) {
    transform: scale(0.98);
  }

  .tj-search-submit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
}

.tj-pax-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  text-align: left;
  cursor: pointer;
  font-weight: 400;
}

.tj-pax-trigger svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}

.tj-pax-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.tj-pax-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.2rem;
}

.tj-pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.tj-pax-hint {
  display: block;
  font-size: 1.2rem;
  color: var(--text-subtle);
  font-weight: 400;
}

.tj-pax-stepper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tj-pax-btn {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.6rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.tj-pax-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-elevated);
}

.tj-pax-done {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.8rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* Loader da busca — carro, van e ônibus */
.tj-search-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(241, 245, 249, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tj-search-loader.is-visible {
  display: flex;
  opacity: 1;
}

.tj-search-loader__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  max-width: 36rem;
  width: 100%;
  padding: 2.8rem 2.4rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: tj-search-loader-card-in 0.35s ease forwards;
}

@keyframes tj-search-loader-card-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tj-search-loader__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.tj-search-loader__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--text-subtle);
  font-size: 2.2rem;
  animation: tj-search-loader-icon-pulse 2.4s ease-in-out infinite;
}

.tj-search-loader__icon--car {
  animation-delay: 0s;
}

.tj-search-loader__icon--van {
  animation-delay: 0.8s;
}

.tj-search-loader__icon--bus {
  animation-delay: 1.6s;
}

@keyframes tj-search-loader-icon-pulse {
  0%,
  100%,
  33.33% {
    background: var(--surface-subtle);
    color: var(--text-subtle);
    transform: scale(1);
    box-shadow: none;
  }

  16.66% {
    background: var(--accent-soft);
    color: var(--accent);
    transform: scale(1.12);
    box-shadow: var(--shadow-md);
  }
}

.tj-search-loader__text {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
}

.tj-search-loader__dots::after {
  content: '';
  display: inline-block;
  width: 0;
  overflow: hidden;
  vertical-align: bottom;
  animation: tj-search-loader-dots 1.4s steps(4, end) infinite;
}

@keyframes tj-search-loader-dots {
  0% {
    content: '';
  }
  25% {
    content: '.';
  }
  50% {
    content: '..';
  }
  75%,
  100% {
    content: '...';
  }
}

body.tj-search-loading {
  overflow: hidden;
}

/* Buscar page */
body.tj-funnel--buscar {
  background: var(--surface-canvas);
}

.tj-buscar-hero {
  background: var(--hero-gradient);
  padding: 2.4rem 0 5.6rem;
}

.tj-buscar-hero-inner {
  max-width: var(--tj-container);
  margin: 0 auto;
  padding: 0 1.6rem;
}

.tj-buscar-summary {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
}

.tj-buscar-search-offset {
  margin-top: -3.6rem;
  position: relative;
  z-index: 5;
  max-width: var(--tj-container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.6rem 2rem;
}

.tj-results-section {
  max-width: var(--tj-container);
  margin: 0 auto;
  padding: 0 1.6rem 4rem;
}

.tj-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.tj-results-count {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin: 0.4rem 0 0;
}

.tj-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tj-filter-chip {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--surface-elevated);
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.tj-filter-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.tj-result-card {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  background: var(--surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease;
}

.tj-result-card:hover {
  box-shadow: var(--shadow-md);
}

.tj-result-main {
  flex: 1;
  min-width: 0;
}

.tj-result-company {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.tj-result-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.tj-result-company-name {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
}

.tj-result-type {
  margin: 0.2rem 0 0;
  font-size: 1.3rem;
  color: var(--text-muted);
}

.tj-result-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.tj-badge {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
}

.tj-badge--shared {
  background: var(--accent-soft);
  color: var(--accent);
}

.tj-badge--private {
  background: #e0f2f1;
  color: var(--accent-secondary);
}

.tj-result-schedule {
  font-size: 1.4rem;
  color: var(--text-secondary);
}

.tj-result-schedule strong {
  color: var(--text-primary);
}

.tj-result-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 160px;
}

.tj-result-total {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.tj-result-breakdown {
  font-size: 1.2rem;
  color: var(--text-subtle);
  margin: 0.4rem 0 1rem;
  text-align: right;
}

.tj-btn-reservar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 1rem 2rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.5rem;
  text-decoration: none;
}

.tj-btn-reservar:hover {
  background: var(--accent-hover);
}

.tj-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
}

.tj-empty-state p {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin: 0 0 1.6rem;
}

@media (max-width: 768px) {
  .tj-result-card {
    flex-direction: column;
  }
  .tj-result-side {
    align-items: stretch;
    width: 100%;
  }
  .tj-result-total,
  .tj-result-breakdown {
    text-align: left;
  }
  .tj-btn-reservar {
    width: 100%;
  }
}

/* Reservar wizard */
body.tj-funnel--reservar {
  background: var(--surface-canvas);
}

.tj-wizard {
  max-width: var(--tj-container);
  margin: 0 auto;
  padding: 2rem 1.6rem 4rem;
}

body.tj-checkout-page .tj-wizard {
  max-width: var(--tj-checkout-container, min(127.8rem, calc(100% - 3rem))) !important;
  width: min(100%, var(--tj-checkout-container, min(127.8rem, calc(100% - 3rem)))) !important;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 4rem;
  box-sizing: border-box;
}

body.tj-checkout-page .tj-wizard-layout,
body.tj-checkout-page .tj-stepper {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.tj-checkout-page .tj-wizard-layout {
  grid-template-columns: minmax(0, 1fr) min(36rem, 34%);
  justify-content: center;
}

.tj-wizard-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .tj-wizard-layout,
  body.tj-checkout-page .tj-wizard-layout {
    grid-template-columns: 1fr;
  }
}

.tj-stepper {
  margin-bottom: 2.4rem;
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
  border: 1px solid var(--border-card);
}

.tj-stepper__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.4rem;
}

.tj-stepper-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem 0.6rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  min-width: 0;
}

.tj-stepper-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--surface-muted, #e8edf3);
  color: var(--text-muted);
  flex-shrink: 0;
}

.tj-stepper-step__label {
  line-height: 1.25;
}

.tj-stepper-step.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.tj-stepper-step.is-active .tj-stepper-step__num {
  background: var(--accent);
  color: #fff;
}

.tj-stepper-step.is-done {
  color: var(--success);
}

.tj-stepper-step.is-done .tj-stepper-step__num {
  background: var(--success);
  color: #fff;
  font-size: 0;
}

.tj-stepper-step.is-done .tj-stepper-step__num::before {
  content: '✓';
  font-size: 1.3rem;
  line-height: 1;
}

@media (max-width: 520px) {
  .tj-stepper-step__label {
    font-size: 1.1rem;
  }
}

.tj-wizard-panel {
  display: none;
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.tj-wizard-panel.is-active {
  display: block;
}

.tj-wizard-panel h2 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
}

.tj-wizard-panel .tj-panel-desc {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.4rem;
}

.tj-horario-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tj-horario-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s;
}

.tj-horario-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.tj-horario-option input {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--accent);
}

.tj-form-grid {
  display: grid;
  gap: 1.2rem;
}

.tj-form-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 600px) {
  .tj-form-grid--2col {
    grid-template-columns: 1fr;
  }
}

.tj-form-grid label {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.tj-form-grid input,
.tj-field input {
  width: 100%;
  min-height: 4.4rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-family: inherit;
  box-sizing: border-box;
}

.tj-field label {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.tj-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tj-field--wide {
  grid-column: 1 / -1;
}

.tj-field-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--tj-checkout-text-xs, 1.3rem);
  color: var(--text-subtle);
  line-height: 1.4;
  font-weight: 400;
}

.tj-field input.tj-input-invalid,
.tj-form-grid input.tj-input-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px var(--danger-bg) !important;
}

.tj-wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-default);
}

.tj-btn-secondary,
a.tj-btn-secondary,
button.tj-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.tj-btn-secondary:link,
a.tj-btn-secondary:visited {
  color: var(--text-primary);
}

.tj-btn-secondary:hover,
a.tj-btn-secondary:hover,
button.tj-btn-secondary:hover {
  background: var(--surface-muted);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.tj-btn-primary {
  position: relative;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.15s, opacity 0.15s;
}

.tj-btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.tj-btn-primary:disabled,
.tj-btn-primary.is-loading {
  opacity: 0.85;
  cursor: wait;
}

.tj-btn-primary.is-loading .tj-btn__text {
  opacity: 0;
}

.tj-btn-primary.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tj-spin 0.65s linear infinite;
}

@keyframes tj-spin {
  to {
    transform: rotate(360deg);
  }
}

.tj-wizard-col-summary {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-self: start;
  position: sticky;
  top: 8rem;
}

.tj-summary-card {
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid var(--border-card);
  box-shadow: none;
}

.tj-summary-actions {
  display: none;
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.tj-wizard-layout.is-step-payment .tj-summary-actions {
  display: block;
}

.tj-wizard-layout.is-pix-qrcode .tj-summary-actions {
  display: none !important;
}

.tj-checkout-payment.is-pix-qrcode .tj-checkout-section[aria-labelledby="checkout-section-pay"] .tj-checkout-section__title {
  display: none;
}

.tj-checkout-payment.is-pix-qrcode .tj-checkout-section[aria-labelledby="checkout-section-pay"] {
  margin-bottom: 0;
}

.tj-wizard-layout.is-pix-qrcode .tj-wizard-actions--payment {
  display: none;
}

/* Tela QR Code Pix */
.tj-checkout-payment.is-pix-qrcode .tj-checkout-pix-panel.is-pix-visible,
.tj-checkout-payment.is-pix-qrcode .tj-pix-result--checkout {
  display: block;
}

.tj-pix-result--checkout .tj-pix-result__card {
  margin-top: 0.4rem;
  padding: 2rem 1.6rem;
  text-align: center;
  background: var(--surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.tj-pix-result__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 1.4rem;
  padding: 0.5rem 1.2rem;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: var(--tj-checkout-text-sm, 1.45rem);
  font-weight: 600;
  color: var(--accent);
}

.tj-pix-result__status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: tj-pix-pulse 1.4s ease-in-out infinite;
}

@keyframes tj-pix-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.tj-pix-result__lead {
  margin: 0 0 1.6rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--tj-checkout-text-base, 1.65rem);
  line-height: var(--tj-checkout-line-relaxed, 1.55);
  color: var(--text-secondary);
}

.tj-pix-result__qr {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tj-pix-result__qr img,
.tj-checkout-payment.is-pix-qrcode .tj-pix-qr img {
  display: block;
  width: min(24rem, 100%);
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tj-pix-copy {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}

.tj-pix-copy__label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: var(--tj-checkout-text-sm, 1.45rem);
  font-weight: 600;
  color: var(--text-secondary);
}

.tj-pix-copy__row {
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
}

.tj-pix-copy__input {
  flex: 1;
  min-width: 0;
  min-height: 4.4rem;
  padding: 0.8rem 1rem;
  font-size: 1.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text-primary);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-sizing: border-box;
}

.tj-pix-copy__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tj-pix-copy__btn {
  flex-shrink: 0;
  align-self: stretch;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  white-space: nowrap;
}

.tj-pix-copy__feedback {
  margin: 0.6rem 0 0;
  font-size: var(--tj-checkout-text-sm, 1.45rem);
  font-weight: 600;
  color: var(--success);
}

.tj-pix-copy__feedback[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .tj-pix-result--checkout .tj-pix-result__card {
    padding: 1.6rem 1.2rem;
  }

  .tj-pix-copy__row {
    flex-direction: column;
  }

  .tj-pix-copy__btn {
    width: 100%;
  }
}

.tj-summary-actions .terms-container {
  padding: 0 0 1.2rem;
  margin: 0;
  border: none;
}

.tj-summary-actions .terms-container h4 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.tj-summary-actions .terms-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.tj-summary-actions .terms-checkbox-container input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tj-summary-actions .terms-checkbox-container label {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

.tj-summary-actions .terms-checkbox-container label a {
  color: var(--accent);
}

.tj-summary-actions .checkout-btn-container {
  margin: 0;
}

.tj-summary-trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tj-summary-trust i {
  color: var(--success);
}

.tj-summary-actions .tj-btn-finish {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  padding: 1.2rem 1.6rem;
  font-size: 1.5rem;
  min-height: 4.8rem;
}

.tj-btn-finish__loading {
  display: none;
  position: absolute;
  font-size: 1.6rem;
}

.tj-btn-finish.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

.tj-btn-finish.is-loading .tj-btn-finish__label {
  opacity: 0;
}

.tj-btn-finish.is-loading .tj-btn-finish__loading {
  display: inline-flex;
}

.tj-horario-list--error .tj-horario-option {
  border-color: var(--danger, #dc3545);
  animation: tj-shake 0.35s ease;
}

@keyframes tj-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.tj-summary-card__title,
.tj-summary-card h3 {
  margin: 0 0 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.tj-summary-list {
  margin: 0;
  padding: 0;
}

.tj-summary-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-default);
  font-size: 1.35rem;
}

.tj-summary-list__item:last-of-type {
  border-bottom: none;
}

.tj-summary-list__item--route {
  display: block;
  padding-bottom: 1rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-default);
}

.tj-summary-list__item dt {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tj-summary-list__item dd {
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

.tj-summary-list__item--route dd {
  text-align: left;
}

.tj-summary-route {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.tj-summary-total__label {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tj-summary-total__value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tj-summary-meta {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.tj-summary-total {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.tj-summary-total span:last-child {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}

/* Pagamento no wizard /reservar — mesmos padrões do carrinho (.checkout) */
.tj-checkout-payment {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tj-checkout-payment .checkout-info-container {
  padding: 0;
}

.tj-checkout-payment .checkout-info-container h5,
.tj-checkout-payment [settings] > h5 {
  font-size: 1.6rem;
  color: var(--text-muted);
  padding-bottom: 1.6rem;
  margin: 0;
  font-weight: 600;
}

.tj-checkout-payment #paymentForm {
  display: block;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.tj-checkout-section {
  margin-bottom: 2rem;
}

.tj-checkout-payment--simple .tj-field-grid--billing,
.tj-checkout-payment--simple .tj-field-grid--guest {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.6rem;
}

.tj-checkout-payment--simple .tj-checkout-section:last-child {
  margin-bottom: 0;
}

.tj-checkout-payment--simple .tj-checkout-pix-note {
  margin: 0.4rem 0 0;
}

/* Passo 3 — respiros e badges de pagamento */
.tj-wizard-panel--payment .tj-checkout-payment--simple {
  margin-top: 0;
}

.tj-wizard-panel--payment .tj-checkout-payment--simple .tj-checkout-section {
  margin-bottom: 2.8rem;
}

.tj-wizard-panel--payment .tj-checkout-payment--simple .tj-checkout-section__title {
  margin-bottom: 0.4rem;
}

.tj-wizard-panel--payment .tj-checkout-payment--simple .tj-checkout-section__desc {
  margin-bottom: 0.8rem;
}

.tj-wizard-panel--payment .tj-checkout-payment--simple #paymentForm .tj-checkout-section:last-of-type {
  margin-bottom: 3.2rem;
}

.tj-checkout-payment--simple .select-payment.payment-badges {
  margin: 0.4rem 0 0.8rem;
  gap: 0.8rem;
}

.tj-checkout-payment--simple .payment-badge {
  flex: 1 1 calc(50% - 0.4rem);
  min-width: 0;
  max-width: none;
}

.tj-checkout-payment--simple .payment-badge a {
  justify-content: center;
  padding: 1rem 0.8rem;
  gap: 0.6rem;
  min-height: 4.4rem;
}

.tj-checkout-payment--simple .payment-badge-label {
  white-space: nowrap;
  line-height: 1.2;
  font-size: var(--tj-checkout-text-sm, 1.45rem);
}

.tj-wizard-panel--payment .tj-wizard-actions--payment {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  margin-bottom: 2.4rem;
}

@media (max-width: 640px) {
  .tj-checkout-payment--simple .tj-field-grid--billing,
  .tj-checkout-payment--simple .tj-field-grid--guest {
    grid-template-columns: 1fr;
  }
}

.tj-checkout-section__title {
  margin: 0 0 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tj-checkout-section__desc {
  margin: 0 0 1.2rem;
  font-size: 1.35rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.tj-checkout-subsection__title {
  margin: 1.6rem 0 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-secondary);
  grid-column: 1 / -1;
}

.tj-checkout-payment .tj-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.6rem;
}

.tj-checkout-payment .tj-field {
  min-width: 0;
}

.tj-checkout-payment .tj-field label {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.tj-checkout-payment .tj-field input,
.tj-checkout-payment .tj-field select {
  width: 100%;
  min-height: 4.4rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 1.45rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.tj-checkout-payment .tj-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tj-checkout-payment .tj-field--wide {
  grid-column: 1 / -1;
}

.tj-pix-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.tj-pix-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}

.tj-pix-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.tj-pix-option input {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--accent);
}

.tj-pix-qr img {
  max-width: min(22rem, 100%);
  height: auto;
  margin: 0 auto 1.2rem;
}

#pix_copia_e_cola textarea {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  display: block;
  font-size: 1.2rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  font-family: monospace;
}

@media (max-width: 640px) {
  .tj-checkout-payment .tj-field-grid {
    grid-template-columns: 1fr;
  }

  .tj-checkout-payment .tj-field--wide {
    grid-column: auto;
  }
}

.tj-checkout-payment .checkout-input-container {
  margin-top: 1.6rem;
  min-width: 0;
}

.tj-checkout-payment .checkout-input-container:nth-child(3),
.tj-checkout-payment .checkout-input-container:nth-child(4) {
  margin-top: 1.6rem;
}

.tj-checkout-payment .checkout-input-container input,
.tj-checkout-payment .checkout-input-container select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  font-family: var(--font-sans);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.tj-checkout-payment .checkout-input-container input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tj-checkout-payment .checkout-password-input-wrap {
  position: relative;
}

.tj-checkout-payment .checkout-password-input-wrap input {
  padding-right: 3.6rem;
}

.tj-checkout-payment .checkout-password-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 1.35rem;
  z-index: 1;
}

.tj-checkout-payment .checkout-password-toggle:hover {
  color: var(--text-secondary);
}

.tj-checkout-payment .checkout-password-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.tj-checkout-payment .select-payment.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 2rem 0;
  justify-content: flex-start;
}

.tj-checkout-payment .payment-badge {
  flex: 1 1 14rem;
  min-width: 12rem;
  max-width: 20rem;
}

.tj-checkout-payment .payment-badge a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.tj-checkout-payment .payment-badge a:hover {
  border-color: var(--border-strong);
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.tj-checkout-payment .payment-badge a.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.tj-checkout-payment .payment-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  flex-shrink: 0;
}

.tj-checkout-payment .payment-badge-icon i {
  font-size: 2rem;
  line-height: 1;
}

.tj-checkout-payment .payment-badge-icon img {
  height: 2.2rem;
  width: auto;
  max-width: 2.8rem;
  object-fit: contain;
  display: block;
}

.tj-checkout-payment .container-img-card img,
.tj-checkout-payment .validate-container-img-card img,
.tj-checkout-payment .cod-container-img-card img {
  width: auto;
  max-width: 2.6rem;
  height: auto;
  max-height: 2.4rem;
  display: block;
}

.tj-checkout-payment [settings="credit_card"] > h5 {
  font-size: 1.8rem;
  color: var(--text-primary);
  font-weight: 700;
}

.tj-checkout-payment .checkout-payment-content-1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  padding: 1.6rem 0 2rem;
}

.tj-checkout-payment .checkout-payment-content-2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-default);
}

.tj-checkout-payment .number-card-container label,
.tj-checkout-payment .name-card-container label,
.tj-checkout-payment .validate-container label,
.tj-checkout-payment .cod-sec-container label,
.tj-checkout-payment .parcel-container label {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
}

.tj-checkout-payment .number-card-content,
.tj-checkout-payment .name-card-content,
.tj-checkout-payment .validate-card-content,
.tj-checkout-payment .cod-card-content {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: var(--surface-elevated);
}

.tj-checkout-payment .container-img-card,
.tj-checkout-payment .validate-container-img-card,
.tj-checkout-payment .cod-container-img-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  background: var(--surface-muted);
  flex-shrink: 0;
}

.tj-checkout-payment .number-card-content input,
.tj-checkout-payment .name-card-content input,
.tj-checkout-payment .validate-card-content input,
.tj-checkout-payment .cod-card-content input {
  border: none;
  border-radius: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  padding: 1.2rem 1rem;
  box-shadow: none;
}

.tj-checkout-payment .parcel-container select.installments {
  width: 100%;
  margin-top: 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  background: var(--surface-elevated);
}

.tj-checkout-payment .checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-default);
}

.tj-checkout-payment .checkbox-container label {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin: 0;
}

.tj-checkout-payment #qr_code img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.tj-checkout-payment input[type="number"] {
  -moz-appearance: textfield;
}

.tj-checkout-payment input[type="number"]::-webkit-outer-spin-button,
.tj-checkout-payment input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 768px) {
  .tj-checkout-payment #paymentForm {
    grid-template-columns: 1fr;
  }

  .tj-checkout-payment .checkout-payment-content-1,
  .tj-checkout-payment .checkout-payment-content-2 {
    grid-template-columns: 1fr;
  }

  .tj-checkout-payment .payment-badge {
    max-width: none;
  }
}

.tj-trust-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: center;
  padding: 2rem 1.6rem;
  font-size: 1.3rem;
  color: var(--text-muted);
}

.tj-sticky-search {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-canvas);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-default);
}

/* Footer — estilo Skyscanner (dark, links + acordeões) */
.tj-footer {
  margin-top: 6rem;
  font-family: var(--font-sans);
  color: var(--text-on-inverse);
  background: var(--brand-dark);
}

body.tj-funnel .tj-footer {
  margin-top: 4rem;
}

.tj-footer__shell {
  max-width: var(--tj-container);
  margin: 0 auto;
  padding: 0 1.6rem;
}

.tj-footer__top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4rem;
  row-gap: 2.4rem;
  padding: 4.8rem 0 3.6rem;
  align-items: start;
}

.tj-footer__aside-col,
.tj-footer__payments-col,
.tj-footer__nav-cols {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.tj-footer__payments-col .tj-footer__aside-label {
  white-space: normal;
}

.tj-footer__aside-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  width: 100%;
}

.tj-footer__aside-label {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-inverse-muted);
  white-space: nowrap;
}

.tj-footer__payments {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tj-footer__payment-logo {
  display: block;
  height: 2.2rem;
  width: auto;
  opacity: 0.92;
}

.tj-footer__social {
  display: flex;
  gap: 0.8rem;
}

.tj-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-inverse);
  font-size: 1.6rem;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tj-footer__social a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.tj-footer__nav-cols {
  display: flex;
  flex-direction: column;
}

.tj-footer__link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.tj-footer__link-list a {
  color: var(--text-on-inverse);
  font-size: 1.45rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.35;
  transition: opacity 0.15s ease;
}

.tj-footer__link-list a:hover {
  opacity: 0.78;
}

.tj-footer__sections {
  display: flex;
  flex-direction: column;
  max-width: 22rem;
  width: 100%;
  justify-self: end;
}

.tj-footer__aside-col,
.tj-footer__payments-col {
  justify-self: start;
}

.tj-footer__section + .tj-footer__section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tj-footer__section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.4rem 0;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-on-inverse);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.tj-footer__section-head::-webkit-details-marker {
  display: none;
}

.tj-footer__section-chevron {
  font-size: 1.1rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.tj-footer__section[open] .tj-footer__section-chevron {
  transform: rotate(180deg);
}

.tj-footer__section-links {
  list-style: none;
  margin: 0;
  padding: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tj-footer__section-links a {
  color: var(--text-on-inverse-muted);
  font-size: 1.35rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tj-footer__section-links a:hover {
  color: var(--text-on-inverse);
}

.tj-footer__section-body {
  padding: 0 0 1.4rem;
}

.tj-footer__section-note,
.tj-footer__rating-line {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--text-on-inverse-muted);
}

.tj-footer__rating-line strong {
  color: var(--text-on-inverse);
  font-weight: 700;
}

.tj-footer__online {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  color: var(--text-on-inverse-muted);
}

.tj-footer__online-dot {
  font-size: 0.55rem;
  color: #25d366;
  animation: tj-footer-pulse 1.5s ease-in-out infinite;
}

@keyframes tj-footer-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.tj-footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tj-footer__payments--compact {
  margin-top: 0.4rem;
}

.tj-footer__payment-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
}

.tj-footer__payment-badge img {
  display: block;
  height: 2.2rem;
  width: auto;
}

.tj-footer__bottom {
  padding: 2.4rem 0 3.6rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tj-footer__bottom-lead {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text-on-inverse-muted);
}

.tj-footer__copyright {
  margin: 0;
  font-size: 1.25rem;
  color: rgba(248, 250, 252, 0.55);
}

@media (max-width: 960px) {
  .tj-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3.2rem;
    row-gap: 2.8rem;
  }

  .tj-footer__nav-cols,
  .tj-footer__sections {
    grid-column: 1 / -1;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .tj-footer__top {
    grid-template-columns: 1fr;
    gap: 2.8rem;
    padding: 3.6rem 0 2.8rem;
  }



  .tj-footer__bottom {
    padding: 2rem 0 3rem;
  }
}

/* Cookie banner */
.tj-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1.2rem 0;
  background: var(--surface-inverse);
  color: var(--text-on-inverse);
  font-size: 1.3rem;
  line-height: 1.45;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tj-cookie-banner--hidden,
.tj-cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.tj-cookie-banner__inner {
  max-width: var(--tj-container);
  margin: 0 auto;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.tj-cookie-banner__text {
  margin: 0;
  flex: 1;
  min-width: 20rem;
  color: rgba(248, 250, 252, 0.9);
}

.tj-cookie-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
}

.tj-cookie-banner__text a:hover {
  color: #bfdbfe;
}

.tj-cookie-banner__btn {
  flex-shrink: 0;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--success);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.tj-cookie-banner__btn:hover {
  background: var(--success-hover);
}

/* Legado: esconder margem enorme do rodapé antigo se ainda referenciado */
body.tj-funnel .rodape {
  margin-top: 0;
}

/* Checkout — shell minimalista (só header no topo) */
body.tj-checkout-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  margin-top: 0 !important;
  font-family: var(--font-sans);
  background: var(--surface-canvas);
  /* Mesma largura do .container legado (127.8rem) em todo o checkout */
  --tj-container: var(--tj-checkout-container, min(127.8rem, calc(100% - 3rem)));
  font-size: var(--tj-checkout-text-base);
  line-height: var(--tj-checkout-line-normal);
}

/* Checkout — tipografia (tokens em tokens.css; ~+8% mantendo proporções) */
body.tj-checkout-page .tj-checkout-secure,
body.tj-checkout-page .tj-checkout-header__secure {
  font-size: var(--tj-checkout-text-sm);
}

body.tj-checkout-page .tj-checkout-secure i,
body.tj-checkout-page .tj-checkout-header__secure i {
  font-size: var(--tj-checkout-text-xs);
}

body.tj-checkout-page .tj-stepper-step {
  font-size: var(--tj-checkout-text-sm);
}

body.tj-checkout-page .tj-stepper-step__num,
body.tj-checkout-page .tj-stepper-step.is-done .tj-stepper-step__num::before {
  font-size: var(--tj-checkout-text-sm);
}

body.tj-checkout-page .tj-wizard-panel h2 {
  font-size: var(--tj-checkout-text-lg);
  line-height: var(--tj-checkout-line-tight);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.tj-checkout-page .tj-wizard-panel--payment h2 {
  margin-bottom: 2.4rem;
}

body.tj-checkout-page .tj-wizard-panel .tj-panel-desc {
  font-size: var(--tj-checkout-text-base);
  line-height: var(--tj-checkout-line-relaxed);
}

body.tj-checkout-page .tj-horario-option,
body.tj-checkout-page .tj-pix-option {
  font-size: var(--tj-checkout-text-base);
}

body.tj-checkout-page .tj-form-grid label,
body.tj-checkout-page .tj-field label,
body.tj-checkout-page .tj-checkout-payment .tj-field label,
body.tj-checkout-page .tj-checkout-payment .number-card-container label,
body.tj-checkout-page .tj-checkout-payment .name-card-container label,
body.tj-checkout-page .tj-checkout-payment .validate-container label,
body.tj-checkout-page .tj-checkout-payment .cod-sec-container label,
body.tj-checkout-page .tj-checkout-payment .parcel-container label {
  font-size: var(--tj-checkout-text-sm);
}

body.tj-checkout-page .tj-form-grid input,
body.tj-checkout-page .tj-field input,
body.tj-checkout-page .tj-field select,
body.tj-checkout-page .tj-checkout-payment .tj-field input,
body.tj-checkout-page .tj-checkout-payment .tj-field select,
body.tj-checkout-page .tj-checkout-payment .checkout-input-container input,
body.tj-checkout-page .tj-checkout-payment .checkout-input-container select {
  font-size: var(--tj-checkout-text-base);
}

body.tj-checkout-page .tj-btn-primary,
body.tj-checkout-page .tj-btn-secondary,
body.tj-checkout-page a.tj-btn-secondary,
body.tj-checkout-page button.tj-btn-secondary,
body.tj-checkout-page .tj-summary-actions .tj-btn-finish {
  font-size: var(--tj-checkout-text-base);
}

body.tj-checkout-page .tj-wizard-actions .tj-btn-secondary,
body.tj-checkout-page .tj-wizard-actions a.tj-btn-secondary,
body.tj-checkout-page .tj-wizard-actions button.tj-btn-secondary {
  color: var(--text-primary);
  border-color: var(--border-default);
  background: var(--surface-elevated);
}

body.tj-checkout-page .tj-wizard-actions .tj-btn-secondary:hover,
body.tj-checkout-page .tj-wizard-actions a.tj-btn-secondary:hover,
body.tj-checkout-page .tj-wizard-actions button.tj-btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

body.tj-checkout-page .tj-checkout-section__title,
body.tj-checkout-page .tj-summary-card__title,
body.tj-checkout-page .tj-summary-card h3 {
  font-size: var(--tj-checkout-text-md);
  line-height: var(--tj-checkout-line-tight);
}

body.tj-checkout-page .tj-checkout-subsection__title {
  font-size: var(--tj-checkout-text-sm);
}

body.tj-checkout-page .tj-checkout-section__desc,
body.tj-checkout-page .tj-summary-list__item {
  font-size: var(--tj-checkout-text-base);
  line-height: var(--tj-checkout-line-relaxed);
}

body.tj-checkout-page .tj-summary-list__item dt {
  font-size: var(--tj-checkout-text-sm);
}

body.tj-checkout-page .tj-summary-route {
  font-size: var(--tj-checkout-text-md);
  line-height: var(--tj-checkout-line-tight);
}

body.tj-checkout-page .tj-summary-total__label {
  font-size: var(--tj-checkout-text-base);
}

body.tj-checkout-page .tj-summary-total__value,
body.tj-checkout-page .tj-summary-total span:last-child {
  font-size: var(--tj-checkout-text-xl);
  line-height: 1.2;
}

body.tj-checkout-page .tj-summary-trust,
body.tj-checkout-page .tj-summary-actions .terms-checkbox-container label {
  font-size: var(--tj-checkout-text-xs);
  line-height: var(--tj-checkout-line-relaxed);
}

body.tj-checkout-page .tj-checkout-payment .payment-badge a {
  font-size: var(--tj-checkout-text-base);
}

body.tj-checkout-page .tj-checkout-payment .payment-badge-icon i {
  font-size: var(--tj-checkout-text-lg);
}

body.tj-checkout-page #pix_copia_e_cola textarea {
  font-size: var(--tj-checkout-text-sm);
}

body.tj-checkout-page .carrinho .step-label,
body.tj-checkout-page .carrinho .cart-empty-state-title {
  font-size: var(--tj-checkout-text-md);
}

body.tj-checkout-page .carrinho .cart-empty-state-text,
body.tj-checkout-page .carrinho .cart-login-prompt-text {
  font-size: var(--tj-checkout-text-base);
}

body.tj-checkout-page .carrinho .cart-login-prompt-title {
  font-size: var(--tj-checkout-text-lg);
}

@media (max-width: 520px) {
  body.tj-checkout-page .tj-stepper-step__label {
    font-size: var(--tj-checkout-text-xs);
  }

  body.tj-checkout-page .tj-wizard-panel h2 {
    font-size: var(--tj-checkout-text-md);
  }

  body.tj-checkout-page .tj-summary-total__value,
  body.tj-checkout-page .tj-summary-total span:last-child {
    font-size: var(--tj-checkout-text-lg);
  }
}

body.tj-checkout-page > header.tj-site-header,
body.tj-checkout-page > .tj-site-header {
  display: none !important;
}

body.tj-checkout-page > .tj-checkout-header {
  align-self: stretch;
  width: 100%;
}

/* Selo no body — só mobile (desktop fica no header) */
body.tj-checkout-page > .tj-checkout-secure {
  display: none;
}

body.tj-checkout-page > main.tj-wizard,
body.tj-checkout-page > section.carrinho.cart {
  flex: 1;
  align-self: center;
  width: min(100%, var(--tj-checkout-container, min(127.8rem, calc(100% - 3rem))));
  max-width: var(--tj-checkout-container, min(127.8rem, calc(100% - 3rem)));
  margin-top: var(--tj-checkout-header-gap, 4rem);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.tj-checkout-page > section.carrinho.cart {
  margin-bottom: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

body.tj-checkout-page .cart .container,
body.tj-checkout-page .checkout .container {
  max-width: var(--tj-checkout-container, min(127.8rem, calc(100% - 3rem))) !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

body.tj-checkout-page section.carrinho .rota {
  max-width: var(--tj-checkout-container, min(127.8rem, calc(100% - 3rem)));
  margin-left: auto;
  margin-right: auto;
}

.tj-checkout-header {
  background: var(--surface-elevated);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-default);
  padding: 1.4rem 0;
  position: sticky;
  top: 0;
  z-index: 200;
}

.tj-checkout-header__inner {
  max-width: var(--tj-checkout-container, min(127.8rem, calc(100% - 3rem)));
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.tj-checkout-header__secure {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
}

.tj-checkout-header__secure i {
  font-size: 1.4rem;
}

.tj-checkout-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.tj-checkout-header__brand:hover .tj-checkout-header__logo {
  opacity: 0.88;
}

.tj-checkout-header__logo {
  height: 4rem;
  width: auto;
  display: block;
  transition: opacity 0.15s ease;
}

/* Checkout — divisórias mais sutis (bordas de campos inalteradas) */
body.tj-checkout-page .tj-checkout-header {
  border-bottom-color: var(--tj-checkout-divider);
}

body.tj-checkout-page .tj-stepper,
body.tj-checkout-page .tj-wizard-panel,
body.tj-checkout-page .tj-summary-card,
body.tj-checkout-page .tj-summary-actions {
  border-color: var(--tj-checkout-border-panel);
}

body.tj-checkout-page .tj-summary-list__item,
body.tj-checkout-page .tj-summary-list__item--route {
  border-bottom-color: var(--tj-checkout-divider);
}

body.tj-checkout-page .tj-summary-total,
body.tj-checkout-page .tj-wizard-actions {
  border-top: 1px solid var(--tj-checkout-divider);
}

/* Checkout mobile — resumo primeiro, CTA fixo no pagamento */
@media (max-width: 900px) {
  body.tj-checkout-page {
    --tj-checkout-header-gap: 2.4rem;
  }

  body.tj-checkout-page .tj-checkout-header__inner {
    max-width: 100%;
    justify-content: center;
    align-items: center;
    padding-left: var(--tj-checkout-gutter, 1.2rem);
    padding-right: var(--tj-checkout-gutter, 1.2rem);
  }

  body.tj-checkout-page .tj-checkout-header__brand {
    margin-left: auto;
    margin-right: auto;
  }

  body.tj-checkout-page .tj-checkout-header__secure {
    display: none !important;
  }

  body.tj-checkout-page > .tj-checkout-secure {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 1.4rem auto 0;
    padding: 0 var(--tj-checkout-gutter, 1.2rem);
    box-sizing: border-box;
    text-align: right;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    flex-shrink: 0;
  }

  body.tj-checkout-page > .tj-checkout-secure i {
    font-size: 1.4rem;
  }

  body.tj-checkout-page > main.tj-wizard,
  body.tj-checkout-page > section.carrinho.cart {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  body.tj-checkout-page .tj-wizard {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--tj-checkout-gutter, 1.2rem);
    padding-right: var(--tj-checkout-gutter, 1.2rem);
  }

  body.tj-checkout-page .tj-wizard-layout {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  body.tj-checkout-page .tj-wizard-col-main,
  body.tj-checkout-page .tj-wizard-col-summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.tj-checkout-page .tj-stepper,
  body.tj-checkout-page .tj-wizard-panel,
  body.tj-checkout-page .tj-summary-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.tj-checkout-page > section.carrinho.cart {
    padding-left: var(--tj-checkout-gutter, 1.2rem);
    padding-right: var(--tj-checkout-gutter, 1.2rem);
  }

  body.tj-checkout-page .cart .container,
  body.tj-checkout-page .checkout .container {
    max-width: 100% !important;
    padding-left: var(--tj-checkout-gutter, 1.2rem) !important;
    padding-right: var(--tj-checkout-gutter, 1.2rem) !important;
  }

  .tj-wizard-layout {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }

  .tj-wizard-col-summary {
    order: -1;
    position: static;
    top: auto;
  }

  .tj-wizard-col-main {
    order: 0;
  }

  body.tj-wizard-step-payment .tj-wizard {
    padding-bottom: calc(14rem + env(safe-area-inset-bottom, 0px));
  }

  .tj-wizard-layout.is-step-payment:not(.is-pix-qrcode) .tj-summary-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    padding: 1.2rem 1.6rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
    max-width: 100%;
  }

  body.tj-wizard-step-payment.is-pix-qrcode-active .tj-wizard {
    padding-bottom: 2rem;
  }

  .tj-wizard-layout.is-step-payment .tj-summary-card {
    margin-bottom: 0;
  }

  .tj-wizard-panel--payment .tj-wizard-actions--payment {
    margin-bottom: 2rem;
  }
}

.tj-wizard-panel--payment {
  padding-bottom: 0.4rem;
}

/* Ida e volta — funil multi-trecho */
.tj-wizard-leg-label {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tj-wizard-leg-label__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  margin-right: 0.4rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tj-wizard-add-return {
  margin: 1.6rem 0 0;
}

.tj-wizard-add-return__inner {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
}

.tj-wizard-add-return__title {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tj-wizard-add-return__desc {
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tj-wizard-add-return__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tj-wizard-add-return__actions .tj-btn-primary,
.tj-wizard-add-return__actions .tj-btn-secondary {
  flex: 1 1 auto;
  min-width: 14rem;
  justify-content: center;
  text-align: center;
}

.tj-summary-legs {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.tj-summary-leg {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--tj-checkout-divider);
}

.tj-summary-leg:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.tj-summary-leg__badge {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tj-summary-leg__route {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tj-summary-leg__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.35rem;
  color: var(--text-secondary);
}

.tj-summary-leg__meta li {
  margin: 0.2rem 0;
}

.tj-summary-leg__meta span {
  color: var(--text-muted);
  font-weight: 500;
}

.tj-summary-leg__price {
  margin: 0.6rem 0 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
}

.tj-summary-pax-shared {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--text-secondary);
}

.tj-wizard-passenger-shared {
  margin-bottom: 1.6rem;
}

.tj-wizard-leg {
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--tj-checkout-divider);
}

.tj-wizard-leg:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.tj-wizard-leg__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.tj-wizard-leg__badge {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.tj-wizard-leg__meta {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--text-muted);
}

@media (max-width: 400px) {
  .tj-checkout-payment--simple .payment-badge-label {
    font-size: 1.25rem;
  }

  .tj-checkout-payment--simple .payment-badge a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* SweetAlert2 — padrão checkout (funil + carrinho) */
body.tj-funnel .swal2-container.swal2-backdrop-show,
body.tj-checkout-page .swal2-container.swal2-backdrop-show {
  background: rgba(15, 23, 42, 0.45);
}

body.tj-funnel .swal2-popup.tj-swal-popup,
body.tj-checkout-page .swal2-popup.tj-swal-popup,
body.tj-funnel .swal2-popup,
body.tj-checkout-page .swal2-popup {
  font-family: var(--font-sans);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  padding: 0 0 2rem;
  width: min(42rem, calc(100vw - 3.2rem));
  display: grid !important;
  justify-items: stretch;
  text-align: center;
}

body.tj-funnel .swal2-title,
body.tj-checkout-page .swal2-title,
body.tj-funnel .tj-swal-title,
body.tj-checkout-page .tj-swal-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 2rem 2rem 0.6rem;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

body.tj-funnel .swal2-html-container,
body.tj-checkout-page .swal2-html-container,
body.tj-funnel .tj-swal-text,
body.tj-checkout-page .tj-swal-text {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text-secondary);
  padding: 0 2rem 1.6rem;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  justify-content: center;
}

body.tj-funnel .swal2-actions,
body.tj-checkout-page .swal2-actions,
body.tj-funnel .tj-swal-actions,
body.tj-checkout-page .tj-swal-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto;
  padding: 0 1.6rem 1.6rem;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

body.tj-funnel .swal2-popup .swal2-styled.swal2-confirm,
body.tj-funnel .swal2-popup .swal2-styled.swal2-cancel,
body.tj-checkout-page .swal2-popup .swal2-styled.swal2-confirm,
body.tj-checkout-page .swal2-popup .swal2-styled.swal2-cancel {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

body.tj-funnel .tj-swal-btn,
body.tj-checkout-page .tj-swal-btn {
  margin: 0;
  padding: 1rem 2.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: none !important;
  min-width: 0;
}

body.tj-funnel .tj-swal-btn--primary,
body.tj-checkout-page .tj-swal-btn--primary,
body.tj-funnel .swal2-styled.swal2-confirm,
body.tj-checkout-page .swal2-styled.swal2-confirm {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

body.tj-funnel .tj-swal-btn--primary:hover,
body.tj-checkout-page .tj-swal-btn--primary:hover,
body.tj-funnel .swal2-styled.swal2-confirm:hover,
body.tj-checkout-page .swal2-styled.swal2-confirm:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}

body.tj-funnel .tj-swal-btn--primary:focus,
body.tj-checkout-page .tj-swal-btn--primary:focus,
body.tj-funnel .swal2-styled.swal2-confirm:focus,
body.tj-checkout-page .swal2-styled.swal2-confirm:focus {
  box-shadow: 0 0 0 3px var(--accent-soft) !important;
}

body.tj-funnel .tj-swal-btn--secondary,
body.tj-checkout-page .tj-swal-btn--secondary,
body.tj-funnel .swal2-styled.swal2-cancel,
body.tj-checkout-page .swal2-styled.swal2-cancel {
  background: var(--surface-elevated) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

body.tj-funnel .tj-swal-btn--secondary:hover,
body.tj-checkout-page .tj-swal-btn--secondary:hover,
body.tj-funnel .swal2-styled.swal2-cancel:hover,
body.tj-checkout-page .swal2-styled.swal2-cancel:hover {
  background: var(--accent-soft) !important;
}

/* Modal de login — alinhado ao checkout */
body.tj-checkout-page .login-modal-backdrop {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
}

body.tj-checkout-page .login-modal-card {
  max-width: 44rem;
  padding: 2rem 2rem 2.4rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-sans);
}

body.tj-checkout-page .login-modal-header {
  margin-bottom: 0.8rem;
  padding-right: 3.6rem;
}

body.tj-checkout-page .login-modal-title {
  font-size: var(--tj-checkout-text-lg);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: var(--tj-checkout-line-tight);
}

body.tj-checkout-page .login-modal-fechar {
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--text-secondary);
  font-size: 1.6rem;
  line-height: 1;
}

body.tj-checkout-page .login-modal-fechar:hover,
body.tj-checkout-page .login-modal-fechar:focus {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

body.tj-checkout-page .login-modal-messages {
  margin-top: 0;
  min-height: 0;
}

body.tj-checkout-page .login-modal-error,
body.tj-checkout-page .login-modal-success {
  font-size: var(--tj-checkout-text-sm);
  text-align: left;
}

body.tj-checkout-page .login-modal-error {
  color: var(--danger);
}

body.tj-checkout-page .login-modal-success {
  color: var(--success);
}

body.tj-checkout-page .login-modal-form {
  margin-top: 1.2rem;
}

body.tj-checkout-page .login-modal-field {
  margin-bottom: 1.2rem;
}

body.tj-checkout-page .login-modal-field.tj-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--tj-checkout-text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

body.tj-checkout-page .login-modal-input {
  width: 100%;
  min-height: 4.4rem;
  padding: 0.8rem 1.2rem;
  font-size: var(--tj-checkout-text-base);
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.tj-checkout-page .login-modal-input::placeholder {
  color: var(--text-subtle);
  font-size: var(--tj-checkout-text-base);
}

body.tj-checkout-page .login-modal-input:hover {
  background: var(--surface-elevated);
}

body.tj-checkout-page .login-modal-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-elevated);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

body.tj-checkout-page .login-modal-forgot {
  margin: 0.4rem 0 0;
  text-align: right;
  font-size: var(--tj-checkout-text-sm);
}

body.tj-checkout-page .login-modal-forgot a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

body.tj-checkout-page .login-modal-forgot a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

body.tj-checkout-page .login-modal-btn.tj-btn-primary,
body.tj-checkout-page .login-modal-btn {
  width: 100%;
  margin-top: 1.6rem;
  padding: 1rem 1.6rem;
  font-size: var(--tj-checkout-text-base);
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

body.tj-checkout-page .login-modal-btn.tj-btn-primary:hover,
body.tj-checkout-page .login-modal-btn:hover {
  background: var(--accent-hover);
  border: none;
  color: #fff;
}

body.tj-checkout-page .login-modal-btn:disabled {
  opacity: 0.85;
  cursor: wait;
}

@media (max-width: 480px) {
  body.tj-checkout-page .login-modal-card {
    padding: 1.6rem 1.4rem 2rem;
  }

  body.tj-checkout-page .login-modal-title {
    font-size: var(--tj-checkout-text-md);
  }
}


/* ========== Cart page (from carrinho.css) ========== */
/**
 * Estilos específicos da página do carrinho.
 * Extraídos do template para manutenção centralizada.
 */

/* Alertas e utilitários */
.carrinho .alert-danger {
  background-color: #dc3545;
  margin: auto;
  color: var(--surface-elevated);
  padding: 20px;
  border-radius: 8px;
  border: solid 2px;
}

.carrinho .disabled-code {
  display: none !important;
}

/* Bloco "Já tem uma conta?" – tamanhos proporcionais à página (rem) */
.carrinho .cart-login-prompt {
  padding: 2.8rem 0;
}

.carrinho .cart-login-prompt-title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.carrinho .cart-login-prompt-text {
  margin: 1.4rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
}

.carrinho .cart-login-prompt-link {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

.carrinho .cart-login-prompt-link:hover {
  text-decoration: underline;
}

/* Modais genéricos (edição de itens, etc.) */
.carrinho .modal,
.carrinho .modal2 {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.carrinho .modal {
  z-index: 1;
}

.carrinho .modal2 {
  z-index: 900;
}

.carrinho .modal-content,
.carrinho .modal-content2 {
  background-color: var(--surface-elevated);
  margin: 15% auto;
  padding: 20px;
  border: 1px solid rgba(41, 41, 41, 0.12);
  height: auto;
  border-radius: 8px;
}

.carrinho .modal-content {
  width: 300px;
}

.carrinho .modal-content2 {
  width: 50%;
}

@media screen and (max-width: 768px) {
  .carrinho .modal-content2 {
    width: 95%;
  }
}

.carrinho .row-modal-edit {
  margin-top: 10px;
}

.carrinho #adults,
.carrinho #childrens {
  width: 100%;
  height: auto;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  background-color: var(--surface-muted);
}

.carrinho #saveChangesBtn,
.carrinho #saveChangesBtnMaquina {
  margin-top: 10px;
  padding: 10px 0;
  width: 100%;
  height: auto;
  border-radius: 8px;
  color: var(--surface-elevated);
  background-color: var(--text-primary);
  border: 1px solid var(--text-primary);
  cursor: pointer;
  font-weight: 600;
}

.carrinho #saveChangesBtn:hover,
.carrinho #saveChangesBtnMaquina:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.carrinho .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.carrinho .close:hover,
.carrinho .close:focus {
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
}

/* Step 1 form */
.carrinho .cart-form-container form {
  padding-top: 30px;
  border-top: 1pt solid #ccc;
  margin-top: 20px;
}

.carrinho .cart-form-container .form-container input[type="text"],
.carrinho .cart-form-container .form-container input[type="tel"] {
  width: 100%;
  max-width: 400px;
}

/* ========== Modal de login (página /carrinho) ========== */
.login-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 41, 41, 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.login-modal-card {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin: auto;
  padding: 2.4rem 2.4rem 2.8rem;
  background: var(--surface-elevated);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(41, 41, 41, 0.08);
  cursor: default;
  flex-shrink: 0;
}

.login-modal-header {
  position: relative;
  padding-right: 4rem;
  margin-bottom: 0.5rem;
}

.login-modal-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.login-modal-fechar {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(41, 41, 41, 0.15);
  border-radius: 10px;
  background: #f8f8f8;
  color: var(--text-primary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.login-modal-fechar:hover,
.login-modal-fechar:focus {
  background: #f0f0f0;
  border-color: rgba(41, 41, 41, 0.25);
  color: var(--text-primary);
}

.login-modal-messages {
  margin-top: 0.25rem;
  min-height: 1.5rem;
}

.login-modal-error,
.login-modal-success {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.4;
}

.login-modal-error:empty,
.login-modal-success:empty {
  display: none;
}

.login-modal-error {
  color: #c53030;
}

.login-modal-success {
  color: #0f7b0f;
}

.login-modal-form {
  margin-top: 1.75rem;
}

.login-modal-field {
  margin-bottom: 1.25rem;
}

.login-modal-field:last-of-type {
  margin-bottom: 0.5rem;
}

.login-modal-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.65rem;
  font-family: inherit;
  color: var(--text-primary);
  background: #f8f8f8;
  border: 1px solid rgba(41, 41, 41, 0.12);
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.login-modal-input::placeholder {
  color: #9ca3af;
  font-size: 1.65rem;
}

.login-modal-input:hover {
  background: var(--surface-muted);
}

.login-modal-input:focus {
  border-color: var(--accent);
  background: var(--surface-elevated);
}

.login-modal-forgot {
  margin: 0.75rem 0 0;
  text-align: right;
  font-size: 1.55rem;
}

.login-modal-forgot a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.login-modal-forgot a:hover {
  text-decoration: underline;
}

.login-modal-btn {
  width: 100%;
  margin-top: 1.75rem;
  padding: 1rem 1.5rem;
  font-size: 1.65rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--surface-elevated);
  background: var(--text-primary);
  border: 2px solid var(--text-primary);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.login-modal-btn:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: var(--surface-elevated);
}

@media screen and (max-width: 480px) {
  .login-modal-card {
    padding: 1.75rem 1.5rem 2rem;
  }

  .login-modal-title {
    font-size: 1.5rem;
  }
}
