/* One continuous header film; original theme logo and controls remain above it. */
body.jfht-active .jfht-bonfire-header {
  position: relative !important;
  isolation: isolate;
  overflow: visible !important;
  color: #fff;
  background: #07111f !important;
  border-bottom-color: rgba(229,125,35,.72) !important;
}
body.jfht-active .jfht-bonfire-header > .jfht-header-content {
  position: relative;
  z-index: 3;
  background: transparent !important;
  overflow: visible !important;
}
body.jfht-active .jfht-bonfire-header > .jfht-scene {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none !important;
  user-select: none;
  background: transparent;
  background-size: cover;
  background-position: 50% 28%;
}
body.jfht-active .jfht-bonfire-header > .jfht-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(4,12,24,.68),rgba(4,12,24,.12) 42%,rgba(4,12,24,.16) 78%,rgba(4,12,24,.45)),linear-gradient(0deg,rgba(4,12,24,.3),transparent 70%);
  pointer-events: none;
}
body.jfht-active .jfht-bonfire-header .jfht-header-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: 50% 28%;
  opacity: .88;
  pointer-events: none !important;
}
body.jfht-active .jfht-bonfire-top {background:#07111f!important;color:#fff;}
body.jfht-active .jfht-bonfire-header .jfht-logo-host {
  position: relative !important;
  isolation: isolate;
  overflow: visible !important;
}
body.jfht-active .jfht-bonfire-header .jfht-logo-host::before {
  content:'';
  position:absolute;
  inset:-55% -14%;
  z-index:-1;
  background:radial-gradient(ellipse,rgba(4,12,24,.72),transparent 72%);
  pointer-events:none;
}
body.jfht-active .jfht-bonfire-header .jfht-original-logo {
  position:relative;
  z-index:2;
}
body.jfht-active .jfht-bonfire-header .jfht-logo-flames {
  position:absolute!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill;
  z-index:1;
  opacity:0;
  mix-blend-mode:normal;
  background:transparent;
  pointer-events:none!important;
  user-select:none;
}
body.jfht-active .jfht-bonfire-header .jfht-logo-flames.jfht-flames-ready {opacity:1;}
body.jfht-active .jfht-bonfire-header .jfht-logo-host .jfht-logo-flames.jfht-media-failed,
body.jfht-active .jfht-bonfire-header .jfht-logo-host .jfht-logo-flames.jfht-flames-inactive {display:none!important;}
body.jfht-active .jfht-bonfire-header .dropdown-menu,
body.jfht-active .jfht-bonfire-header [class*="dropdown"],
body.jfht-active .jfht-bonfire-header .widget_shopping_cart { z-index: 10000 !important; }
.jfht-header-video.jfht-media-failed { display: none; }
/* The reward backdrop has one full-screen film beneath the unchanged dialog. */
body.jfht-active .jfas-modal-backdrop.jfht-reward-cinema {
  background-color:#02060e;
  background-size:cover;
  background-position:center;
  backdrop-filter:none;
  overflow:hidden;
  isolation:isolate;
}
body.jfht-active .jfht-reward-fireworks {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover;
  object-position:50% 50%;
  pointer-events:none!important;
}
body.jfht-active .jfas-modal-backdrop.jfht-reward-cinema::after {
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at center,rgba(2,6,14,.08),rgba(2,6,14,.23));
  pointer-events:none;
}
body.jfht-active .jfas-modal-backdrop .jfht-reward-fireworks.jfht-media-failed {display:none!important;}
/* Warm but premium reward presentation; no pumpkin icon or fake fire graphic. */
body.jfht-active.jfht-offer-enabled .jfas-floating-trigger {
  background: linear-gradient(125deg,#0a172a,#1b1c29) !important;
  border-color: #df923c !important;
  box-shadow: 0 10px 28px rgba(5,12,28,.3),0 0 0 3px rgba(245,159,55,.1);
}
body.jfht-active.jfht-offer-enabled .jfas-floating-leaf {
  display: none !important;
}
body.jfht-active.jfht-offer-enabled .jfas-floating-copy strong { color: #fff !important; }
body.jfht-active.jfht-offer-enabled .jfas-floating-copy small { color: #ffd19a !important; }
body.jfht-active.jfht-offer-enabled .jfas-sale-banner {
  background: linear-gradient(130deg,#07182d,#202033) !important;
  border-color: rgba(234,153,62,.6) !important;
}
body.jfht-active.jfht-offer-enabled .jfas-leaf-field,
body.jfht-active.jfht-offer-enabled .jfas-corner-decorations { display:none !important; }
@media(max-width:767px){
  body.jfht-active .jfht-bonfire-header .jfht-header-video {object-position:70% 28%;opacity:.66;}
}
/* Automatic effects follow the owner's site setting. */
body.jfht-active:not(.jfht-effects-playing) .jfht-logo-flames {display:none!important;}
body.jfht-active.jfht-effects-paused .jfht-header-video,
body.jfht-active.jfht-effects-paused .jfht-reward-fireworks {visibility:hidden;}

/* The old seasonal leaf border is not part of Bonfire. */
body.jfht-active.jfht-offer-enabled .jfas-sale-banner::before { content: none !important; background: none !important; }
body.jfht-active.jfht-offer-enabled .jfas-floating-copy { margin-left: 0; }

/* A compact, static reward button. */
body.jfht-active .jfht-reward-dock {
  position:fixed;
  left:max(32px,env(safe-area-inset-left));
  bottom:max(28px,env(safe-area-inset-bottom));
  z-index:1000;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  max-width:calc(100vw - 36px);
}
body.jfht-active.jfht-offer-enabled .jfht-reward-dock .jfas-floating-trigger {
  box-sizing:border-box;
  position:relative;
  inset:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  width:214px;
  min-width:0;
  max-width:100%;
  min-height:62px;
  margin:0;
  padding:13px 14px;
  border:1px solid #bb7836!important;
  border-radius:14px;
  overflow:visible;
  background:linear-gradient(135deg,#19212d,#0a111d 72%)!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(5,12,22,.28),inset 0 1px rgba(255,218,162,.12)!important;
  animation:none!important;
  text-transform:none;
  line-height:1.2;
  isolation:isolate;
  transition:transform .16s ease,opacity .14s ease,filter .14s ease;
}
body.jfht-active .jfht-reward-dock .jfas-floating-trigger:hover {transform:translateY(-2px);}
body.jfht-active .jfht-reward-dock .jfas-floating-trigger:focus-visible {outline:3px solid #efb260;outline-offset:5px;}
body.jfht-active .jfht-reward-dock .jfas-floating-copy {position:relative;z-index:2;min-width:0;}
body.jfht-active .jfht-reward-dock .jfas-floating-copy strong {
  font-family:Arial,sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.09em;
  line-height:1.3;
  white-space:normal;
}
body.jfht-active .jfht-reward-dock .jfas-floating-copy small {
  margin-top:5px;
  font-family:Arial,sans-serif;
  font-size:11px;
  font-weight:500;
  letter-spacing:.01em;
  line-height:1.25;
  text-transform:none;
  color:#eac491!important;
}
body.jfht-active .jfht-reward-arrow {
  display:block;
  flex:0 0 7px;
  width:7px;
  height:7px;
  border-top:1.5px solid #e8b874;
  border-right:1.5px solid #e8b874;
  transform:rotate(45deg);
  margin-right:3px;
  pointer-events:none;
  position:relative;
  z-index:2;
}
@media(max-width:767px) {
  body.jfht-active .jfht-bonfire-header > .container {column-gap:8px!important;padding-top:26px!important;padding-bottom:18px!important;}
  body.jfht-active .jfht-bonfire-header .header-left {flex:0 0 auto!important;}
  body.jfht-active .jfht-bonfire-header .logo-wrapper {--ts-logo-width:clamp(116px,calc(100vw - 208px),168px)!important;flex-shrink:0;}
  body.jfht-active .jfht-bonfire-header .logo img.mobile-logo {width:var(--ts-logo-width)!important;height:auto!important;max-width:none!important;}
  body.jfht-active .jfht-reward-dock {left:max(28px,env(safe-area-inset-left));bottom:max(28px,env(safe-area-inset-bottom));gap:6px;}
  body.jfht-active.jfht-offer-enabled .jfht-reward-dock .jfas-floating-trigger {width:202px;min-height:60px;padding:12px 13px;}
}
