/* Black Friday sale (js/black-friday.js): the red ribbon on the home carousel cards + the code box on the trip pages */
:root{--bf-red:#c8102e;--bf-red-dark:#9e0b23;}

/* ---- home carousel cards: corner ribbon like the Sold Out one, plus the code under the title ---- */
.trip-card.has-bf{border-top-color:var(--bf-red) !important;}
.trip-card .bf-ribbon{
  position:absolute;top:30px;right:-58px;z-index:3;transform:rotate(45deg);
  background:var(--bf-red);color:#fff;font-family:'Titillium Web',sans-serif;
  font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;
  padding:5px 60px;box-shadow:0 2px 8px rgba(0,0,0,0.35);pointer-events:none;
  }
.trip-card.has-bf .cc-tag{right:auto;left:12px;}   /* "Few spots left" moves left, the ribbon has the right corner */
.trip-card .cc-bf-code{display:inline-flex;align-items:center;gap:6px;margin:2px 0 10px;font-size:13px;font-weight:600;color:#f3c9cf;}
.trip-card .cc-bf-code strong{background:var(--bf-red);color:#fff;border-radius:4px;padding:2px 8px;letter-spacing:.06em;font-size:12.5px;}
.spotlight-strip.is-bf .eyebrow{color:var(--bf-red);}

/* ---- trip pages: "Use code ... at checkout" next to the booking buttons ---- */
.bf-code{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:12px;
  background:var(--bf-red);color:#fff;border-radius:8px;padding:10px 12px 10px 14px;
  font-family:'Titillium Web',sans-serif;font-size:15px;line-height:1.3;box-shadow:0 2px 10px rgba(158,11,35,0.25);
  }
.bf-code[hidden]{display:none;}
.bf-code .bf-tag{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;background:#fff;color:var(--bf-red);border-radius:4px;padding:3px 8px;}
.bf-code .bf-text{flex:1 1 auto;}
.bf-code .bf-the-code{font-size:16px;letter-spacing:.06em;border-bottom:2px dashed rgba(255,255,255,.7);user-select:all;}
.bf-code .bf-copy{
  font:inherit;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;
  background:#fff;color:var(--bf-red-dark);border:0;border-radius:6px;padding:6px 12px;
  }
.bf-code .bf-copy:hover{background:#fde8eb;}
.bf-code-hero{display:inline-flex;max-width:100%;margin-top:14px;}
.bf-code-hero[hidden]{display:none;}
/* "Ready to join our group?": the button with the box under it, in one column */
.bf-stack{display:flex;flex-direction:column;align-items:stretch;flex:0 1 auto;min-width:0;}
.bf-stack .btn{justify-content:center;text-align:center;}
@media (max-width:600px){
  .bf-code{font-size:14px;}
  .bf-code-hero{display:flex;}
}
