/* Pase de viaje / boarding pass */
.bp { display: flex; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(11, 27, 51, .35), 0 0 0 1px var(--line, #E3EAF3); margin: 0 auto 28px; max-width: 920px; break-inside: avoid; page-break-inside: avoid; color: #141414; }
.bp-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.bp-top { background: linear-gradient(100deg, var(--primary, #D7192D) 0%, var(--primary, #D7192D) 62%, var(--dark, #111) 62.2%, var(--dark, #111) 100%); color: #fff; padding: 18px 26px; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.bp-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display, Manrope, sans-serif); font-weight: 800; font-size: 18px; min-width: 0; }
.bp-brand svg { width: 22px; height: 22px; flex: none; }
.bp-brand img { height: 30px; width: auto; max-width: 150px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px 6px; }
.bp-kind { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-align: right; }
.bp-body { padding: 22px 26px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.bp-route { display: flex; align-items: center; gap: 20px; }
.bp-route .iata { font-family: var(--display, Manrope, sans-serif); font-size: 50px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.bp-route .cty { font-size: 14px; color: #44546C; margin-top: 4px; }
.bp-route .mid { flex: 1; display: flex; align-items: center; gap: 8px; color: var(--primary, #1463FF); }
.bp-route .mid i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #B9CDEB 0 6px, transparent 6px 12px); }
.bp-route .mid svg { width: 24px; height: 24px; }
.bp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 18px; }
.bp-grid .k { font-size: 11px; color: #55657D; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bp-grid .v { font-size: 16px; font-weight: 700; margin-top: 3px; overflow-wrap: anywhere; }
.bp-cut { width: 2px; margin: 18px 0; background: repeating-linear-gradient(180deg, #D5E2F3 0 8px, transparent 8px 16px); }
.bp-side { width: 250px; padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #FBFCFE; text-align: center; }
.bp-side svg { border-radius: 10px; }
.bp-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.bp-tip { font-size: 12px; color: #55657D; max-width: 200px; }
.bp.used, .bp.void { opacity: .6; }
@media (max-width: 760px) {
  .bp { flex-direction: column; }
  .bp-cut { width: auto; height: 2px; margin: 0 18px; background: repeating-linear-gradient(90deg, #D5E2F3 0 8px, transparent 8px 16px); }
  .bp-side { width: auto; }
  .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-route .iata { font-size: 38px; }
  .bp-kind { display: none; }
}
.pass-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; max-width: 920px; margin: 0 auto 22px; }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: #fff !important; }
  .no-print, .site-header, .site-footer, .wa-float { display: none !important; }
  .page { padding: 0 !important; }
  .bp { box-shadow: 0 0 0 1px #D5E2F3; margin-bottom: 10mm; flex-direction: row; }
  .bp-cut { width: 2px; height: auto; margin: 18px 0; background: repeating-linear-gradient(180deg, #D5E2F3 0 8px, transparent 8px 16px); }
  .bp-side { width: 230px; }
  .bp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bp + .bp { break-before: auto; }
}
