/* BUEN FIN Europasión (13-nov-2026): tarjeta roja con logo oficial y maleta, cinta y boleto. Se usa solo mientras <html> lleva la clase bf-precio. */
html.bf-precio s i { font-style: normal; }
.bf-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; box-sizing: border-box; width: 100%; max-width: 480px; margin-top: 14px; padding: 14px 18px 14px 14px; border-radius: 18px; background: linear-gradient(135deg, #DD231C 0%, #B8140F 58%, #980E0A 100%); color: #fff; text-align: left; box-shadow: 0 14px 34px rgba(150, 14, 10, .5), inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(90, 6, 4, .35); }
.bf-card .bf-logo { display: block; width: 92px; height: auto; transform: rotate(-1.5deg); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .38)); }
.bf-card .bf-tx { display: block; min-width: 0; }
.bf-card .bf-t { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; line-height: 1.3; color: #fff; }
.bf-card .bf-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; margin: 4px 0 3px; font-size: clamp(33px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.bf-card .bf-p small { font-size: .34em; font-weight: 700; letter-spacing: 0; color: #fff; }
.bf-card .bf-p s { font-size: .5em; font-weight: 700; letter-spacing: 0; color: #fff; opacity: .92; text-decoration-thickness: 2px; }
.bf-card .bf-c { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.35; letter-spacing: 0; color: #fff; }
.bf-card .bf-c span { display: block; margin-top: 2px; font-weight: 600; }
.bf-card .bf-maleta { position: absolute; right: -8px; top: -46px; width: 72px; height: auto; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); animation: bfCorre .36s ease-in-out infinite alternate; }
.bf-card.bf-cierre { margin: 26px auto 6px; max-width: 520px; }
@keyframes bfCorre { from { transform: translateY(0) rotate(-4deg) scale(1.02, .97); } to { transform: translateY(-7px) rotate(4deg) scale(.98, 1.03); } }
/* cinta que corre bajo la portada */
.bf-cinta { overflow: hidden; background: linear-gradient(90deg, #B8140F, #DD231C 50%, #B8140F); color: #fff; padding: 11px 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(90, 6, 4, .35); }
.bf-cinta-in { display: flex; width: max-content; animation: bfCinta 38s linear infinite; }
.bf-cinta:hover .bf-cinta-in { animation-play-state: paused; }
.bf-cinta-in span { margin-right: 26px; font-size: 13.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.bf-cinta-in s { font-weight: 700; opacity: .9; }
.bf-cinta-in .e { opacity: .75; }
@keyframes bfCinta { to { transform: translateX(-50%); } }
/* boleto de precio */
.ticket .bf-liston { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 0 0 16px; padding: 10px 14px 10px 10px; border-radius: 14px; background: linear-gradient(135deg, #DD231C, #A9120D); color: #fff; box-shadow: 0 8px 20px rgba(150, 14, 10, .32), inset 0 1px 0 rgba(255, 255, 255, .28); }
.ticket .bf-liston .bf-logo { display: block; width: 62px; height: auto; transform: rotate(-1.5deg); filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .35)); }
.ticket .bf-liston span { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: #fff; }
.ticket .bf-liston b { display: block; font-size: 14px; font-weight: 800; color: #fff; }
.ticket .lbl.bf-si { color: #B3170F; }
.ticket .bf-antes-g { margin: -2px 0 10px; font-size: 16.5px; font-weight: 700; color: var(--gris); }
.ticket .bf-antes-g s { text-decoration-thickness: 2px; }
.ticket .amount.bf-si { color: #C4161C; margin-bottom: 8px; }
.ticket .amount.bf-si small { color: #C4161C; }
.ticket .bf-ahorro { display: inline-block; margin: 0 0 10px; padding: 5px 11px; border-radius: 999px; background: #C4161C; color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.mobile-cta .p.bf-si { color: #C4161C; }
.mobile-cta .p s { font-size: 11.5px; font-weight: 600; color: var(--gris); }
.mobile-cta .p.bf-si small { color: var(--ink); }
/* portal del hub */
.portal .bf-card { margin: 8px 0 12px; }
@media (max-width: 520px) {
  .bf-card { gap: 11px; padding: 12px 12px 12px 10px; }
  .bf-card .bf-logo { width: 74px; }
  .bf-card .bf-t { font-size: 10.5px; }
  .bf-card .bf-p { font-size: 31px; }
  .bf-card .bf-c { font-size: 11.5px; }
  .bf-card .bf-maleta { width: 60px; top: -40px; right: -4px; }
}
@media (prefers-reduced-motion: reduce) { .bf-card .bf-maleta, .bf-cinta-in { animation: none; } }

/* 16-nov: Buen Fin se extiende todo noviembre. Desde el 18-nov (html.bf-ext) se oculta el logo oficial porque trae impreso "13 al 17 de noviembre". */
html.bf-ext .bf-logo { display: none !important; }
html.bf-ext .bf-card, html.bf-ext .ticket .bf-liston { grid-template-columns: 1fr; padding-left: 18px; }
