/* Black Friday 2026 popup (inc/black-friday-popup.php). Colours and type from homepage.css. */
.tsa-bfp { --c: #F4EFE7; --t: #0E4A4E; --a: #E39A3B; --i: #1C2422; --b: #3A4744; position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; font-family: var(--tsa-font-body, "Figtree", sans-serif); }
.tsa-bfp[hidden] { display: none; }
.tsa-bfp__backdrop { position: absolute; inset: 0; background: rgba(28, 36, 34, .35); opacity: 0; transition: opacity .25s ease; }
.tsa-bfp__card { position: relative; display: grid; grid-template-columns: 300px 1fr; width: min(720px, 100%); background: var(--c); color: var(--i); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(14, 74, 78, .28); opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1); outline: none; }
.tsa-bfp.is-open .tsa-bfp__backdrop, .tsa-bfp.is-open .tsa-bfp__card { opacity: 1; transform: none; }
.tsa-bfp__media { background: #d9d2c4; min-height: 100%; }
.tsa-bfp__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.tsa-bfp__body { padding: 40px 36px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.tsa-bfp .tsa-bfp__label { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A5C14; }
.tsa-bfp .tsa-bfp__title { margin: 0 0 14px; padding: 0; font-family: var(--tsa-font-display, "Bricolage Grotesque", sans-serif); font-weight: var(--tsa-font-display-weight, 800); font-size: 34px; line-height: 1.02; letter-spacing: -.01em; color: var(--t); text-wrap: balance; }
.tsa-bfp .tsa-bfp__line { margin: 0 0 24px; font-size: 17px; line-height: 1.5; color: var(--b); text-wrap: pretty; }
.tsa-bfp .tsa-bfp__btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--a); color: var(--i); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.tsa-bfp .tsa-bfp__btn:hover { background: var(--t); color: var(--c); }
.tsa-bfp .tsa-bfp__btn:active { transform: translateY(1px); }
.tsa-bfp .tsa-bfp__when { margin: 14px 0 0; font-size: 14px; color: var(--b); }
.tsa-bfp__close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(244, 239, 231, .92); color: var(--t); font: 400 26px/1 system-ui, sans-serif; cursor: pointer; transition: background-color .2s ease; }
.tsa-bfp__close:hover { background: #fff; }
.tsa-bfp :focus-visible { outline: 3px solid var(--t); outline-offset: 2px; }
.tsa-bfp .tsa-bfp__card:focus { outline: none; }
@media (max-width: 639px) {
  .tsa-bfp { align-items: flex-end; padding: 0; }
  .tsa-bfp__card { grid-template-columns: 1fr; width: 100%; max-height: 60vh; max-height: 60dvh; overflow-y: auto; border-radius: 20px 20px 0 0; transform: translateY(100%); }
  .tsa-bfp__media { height: 120px; min-height: 0; }
  .tsa-bfp__img { object-position: 50% 62%; }
  .tsa-bfp__body { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); }
  .tsa-bfp .tsa-bfp__label { margin-bottom: 6px; font-size: 13px; }
  .tsa-bfp .tsa-bfp__title { font-size: 26px; margin-bottom: 8px; }
  .tsa-bfp .tsa-bfp__line { font-size: 15px; margin-bottom: 16px; }
  .tsa-bfp .tsa-bfp__btn { display: block; width: 100%; text-align: center; }
  .tsa-bfp .tsa-bfp__when { margin-top: 10px; align-self: center; font-size: 13px; }
  .tsa-bfp__close { top: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tsa-bfp__backdrop, .tsa-bfp__card { transition: none; }
}
