/* Seasonal OpenCart integration for the supplied BBE festive v69 artwork. */
body[data-bbe-festive] [data-bbe-promo-greeting],
body[data-bbe-festive] .bbe-mobile-announcement[data-bbe-promo-greeting] {
  background: linear-gradient(90deg, transparent 18%, #bd9a635c 50%, transparent 82%) center bottom / 100% 1px no-repeat #121735 !important;
}
body[data-bbe-festive] [data-bbe-promo-greeting] [data-bbe-promo-text] {
  color: #efdaa9;
  font: 600 13px/1.2 "PingFang HK", "Noto Sans TC", sans-serif;
  letter-spacing: .04em;
  text-align: center;
}
html[lang^="en"] body[data-bbe-festive] [data-bbe-promo-greeting] [data-bbe-promo-text] {
  font: italic clamp(11px, 1.55vw, 14px)/1.2 Georgia, serif;
  letter-spacing: .015em;
}
body[data-bbe-festive] [data-bbe-promo-greeting] [data-bbe-promo-cta] { display: none; }
.bbe-chrome-header.festive-enabled .bbe-category-nav { border-top-color: #ded2b671; }

/* Storefront hooks for the exact published wordmark geometry. */
.bbe-header-main-row { position: relative; }
.bbe-header-wordmark { display: block; position: relative; flex: none; width: 172px; height: 68px; }
.bbe-header-wordmark-art, .bbe-header-wordmark-crop { display: block; }
.bbe-header-wordmark-crop img { display: block; height: 68px; width: auto; max-width: none; }
@media (max-width: 767px) {
  .bbe-header-wordmark { width: 88px; height: 32px; }
  .bbe-header-wordmark-art, .bbe-header-wordmark-crop { position: absolute; inset: 0; }
  .bbe-header-wordmark-art { width: 88px; }
  .bbe-header-wordmark-crop { overflow: hidden; }
  .bbe-header-wordmark-crop img { position: absolute; left: -20px; top: -9.5px; width: 125px; height: auto; }
}
.festive-header-snowflake {
  display: none;
  position: relative;
  flex: none;
  margin-inline: auto;
  width: 25px;
  transform: rotate(-28deg);
  color: #a77c3d;
  pointer-events: none;
}
.festive-header-snowflake-icon {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(16deg);
}
.festive-header-snowflake::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -6px;
  width: 3px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c69f58;
  box-shadow: 0 0 5px #d1a65473;
}

.festive-logo-mascot { display: none; }
.festive-enabled .bbe-header-wordmark { width: 117px; }
.festive-enabled .festive-logo-mascot {
  display: block;
  position: absolute;
  /* The source wordmark has built-in whitespace after the E. */
  inset-inline-start: 83px;
  bottom: 0;
  width: 34px;
  overflow: hidden;
  pointer-events: none;
}
.festive-logo-mascot img {
  display: block;
  /* One frame is visible at a time. The second frame closes one eye. */
  width: 200%;
  max-width: none;
  height: auto;
  animation: bbe-mascot-wink 1.3s step-end;
}
@keyframes bbe-mascot-wink {
  0%, 90%, 100% { transform: none; }
  70% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .festive-logo-mascot img { animation: none; }
}
@media (max-width: 359px) {
  .festive-enabled .bbe-header-main-row { gap: 0; padding-inline: 4px; }
}

@media (max-width: 767px) {
  .festive-enabled .bbe-header-main-row { height: 56px; }
}
@media (min-width: 768px) {
  .festive-enabled .festive-header-snowflake { display: block; }
  .festive-enabled .bbe-header-wordmark { width: 177px; }
  .festive-enabled .festive-logo-mascot {
    inset-inline-start: 130px;
    bottom: 7px;
    width: 47px;
  }
}


.bbe-footer-export.festive-enabled .bbe-footer-scene { position: relative; aspect-ratio: 4 / 1; overflow: hidden; pointer-events: none; }
.bbe-footer-export.festive-enabled .bbe-footer-scene::after { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 24px; background: linear-gradient(#102b55, transparent); }
.bbe-footer-export.festive-enabled .bbe-footer-scene img { position: absolute; bottom: 0; display: block; width: 100%; height: auto; max-width: none; user-select: none; }
@media (max-width: 767px) { .bbe-footer-scene { aspect-ratio: 3.5 / 1; } }

.bbe-footer-export.festive-enabled .bbe-wheel-frame {
  --wheel-x: 77.3941%;
  --wheel-y: 68.0939%;
  --wheel-width: 2.48619%;
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  aspect-ratio: 3 / 1;
  pointer-events: none;
}
.bbe-footer-export.festive-enabled .bbe-footer-scene .bbe-wheel { position: absolute; left: var(--wheel-x); top: var(--wheel-y); bottom: auto; width: var(--wheel-width); height: auto; transform: translate(-50%, -50%) rotate(0deg); transform-origin: center; animation: bbe-wheel-turn 180s linear infinite; animation-play-state: paused; }
.festive-enabled .bbe-footer-scene .bbe-wheel {
  animation-duration: 140s;
  filter: url(#bbe-festive-wheel) drop-shadow(0 0 1.4px #c4a8f58c);
}
.festive-enabled .bbe-wheel-frame::before,
.festive-enabled .bbe-wheel-frame::after {
  content: "";
  position: absolute;
  left: var(--wheel-x);
  top: var(--wheel-y);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.festive-enabled .bbe-wheel-frame::before {
  width: calc(var(--wheel-width) * 1.2);
  background: radial-gradient(circle closest-side, transparent 76%, #d7c5ff55 81%, #bca0f62e 87%, transparent 98%);
}
.festive-enabled .bbe-wheel-frame::after {
  width: calc(var(--wheel-width) * .36);
  background: radial-gradient(circle closest-side, #fdf6ff 17%, #eadbff 29%, #d8bbff91 52%, #bc9cf53b 75%, transparent);
}
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-motion="on"] .bbe-wheel { animation-play-state: running; }
@keyframes bbe-wheel-turn { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bbe-footer-scene .bbe-wheel { animation: none; } }

.bbe-footer-export.festive-enabled .bbe-junk-frame { position: absolute; z-index: 2; bottom: 0; width: 100%; aspect-ratio: 3 / 1; pointer-events: none; }
.bbe-footer-export.festive-enabled .bbe-junk-position { position: absolute; left: 100%; top: 66.4365%; width: 6.16943%; aspect-ratio: 134 / 92; animation: bbe-junk-sail 192s linear infinite; animation-play-state: paused; will-change: auto; }
.bbe-footer-export.festive-enabled .bbe-junk-float { position: relative; width: 100%; height: 100%; animation: bbe-junk-float 8s ease-in-out infinite; animation-play-state: paused; will-change: auto; }
.bbe-footer-export.festive-enabled .bbe-footer-scene .bbe-junk-sprite { position: relative; width: 100%; height: auto; bottom: auto; }
.bbe-footer-export.festive-enabled .bbe-footer-scene .bbe-junk-wake { position: absolute; width: 200%; height: auto; left: 0; bottom: -1%; opacity: .3; }
.bbe-footer-export.festive-enabled .bbe-footer-scene .bbe-foreground { z-index: 3; pointer-events: none; }
.bbe-footer-export.festive-enabled .bbe-footer-scene .bbe-trunk { z-index: 4; width: 15.1934%; left: 0; bottom: 0; pointer-events: none; }
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-motion="on"] .bbe-junk-position, .bbe-harbour-film[data-motion="on"] .bbe-junk-float { animation-play-state: running; }
@keyframes bbe-junk-sail { from { transform: translate3d(0,0,0); } to { transform: translate3d(-1720.8955%,0,0); } }
@keyframes bbe-junk-float { 0%,100% { transform: translate3d(0,-.6%,0) rotate(-.08deg); } 50% { transform: translate3d(0,.6%,0) rotate(.08deg); } }
@media (prefers-reduced-motion: reduce) { .bbe-junk-position { animation: none; left: 85%; } .bbe-junk-float { animation: none; } }

/* Responsive layouts retain the full composition without motion or video. */
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .bbe-wheel,
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .bbe-junk-position,
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .bbe-junk-float { animation: none; will-change: auto; }
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .bbe-junk-position { left: 85%; transform: none; }
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .bbe-junk-float { transform: none; }

/* Align the lights to the same 3:1 frame as the harbour artwork. */
.bbe-footer-export.festive-enabled .bbe-harbour-film { position: relative; overflow: hidden; }
.bbe-footer-export.festive-enabled .harbour-holiday {
  display: block;
  position: absolute;
  inset: auto 0 0;
  aspect-ratio: 3 / 1;
  pointer-events: none;
}
.festive-enabled .harbour-holiday { display: block; }
/* Across the harbour, the junk passes in front of the waterfront and building lights. */
.bbe-footer-export.festive-enabled .harbour-holiday-skyline { z-index: 1; }
.bbe-footer-export.festive-enabled .harbour-lights {
  position: absolute;
  inset: 0;
  --lamp: #ffe6ae 0 1px, #e7b76a8c 1.6px, transparent 4px;
}
.bbe-footer-export.festive-enabled .harbour-promenade-lights {
  background:
    radial-gradient(circle at 9.6% 82.5%, var(--lamp)),
    radial-gradient(circle at 11.7% 83.8%, var(--lamp)),
    radial-gradient(circle at 13.8% 85.3%, var(--lamp)),
    radial-gradient(circle at 15.7% 87.8%, var(--lamp)),
    radial-gradient(circle at 17.5% 90.6%, var(--lamp)),
    radial-gradient(circle at 19.0% 93.6%, var(--lamp));
}
.bbe-footer-export.festive-enabled .harbour-shore-lights {
  background:
    radial-gradient(circle at 31% 71.8%, var(--lamp)),
    radial-gradient(circle at 33.1% 71.7%, var(--lamp)),
    radial-gradient(circle at 36.2% 71.8%, var(--lamp)),
    radial-gradient(circle at 40.5% 72%, var(--lamp)),
    radial-gradient(circle at 50.3% 71.8%, var(--lamp)),
    radial-gradient(circle at 52.6% 72%, var(--lamp)),
    radial-gradient(circle at 56.5% 72%, var(--lamp)),
    radial-gradient(circle at 61.7% 72%, var(--lamp)),
    radial-gradient(circle at 69% 72.2%, var(--lamp)),
    radial-gradient(circle at 74.8% 72.3%, var(--lamp)),
    radial-gradient(circle at 79.3% 72.3%, var(--lamp)),
    radial-gradient(circle at 82.5% 72.4%, var(--lamp)),
    radial-gradient(circle at 87.5% 72.7%, var(--lamp)),
    radial-gradient(circle at 92.5% 73%, var(--lamp));
}
/* Softer pin lights fill the gaps between the warmer lamps along the waterfront. */
.bbe-footer-export.festive-enabled .harbour-shore-lights::after {
  content: "";
  position: absolute;
  inset: 70.7% 0 auto;
  height: 3.1%;
  --pale-lamp: #fff2d7dc 0 .72px, #efd4a598 1.3px, #e7be803b 2.1px, transparent 3.4px;
  background:
    radial-gradient(circle at 8.9% 21.0%, var(--pale-lamp)),
    radial-gradient(circle at 11.45% 28.4%, var(--pale-lamp)),
    radial-gradient(circle at 14.05% 27.1%, var(--pale-lamp)),
    radial-gradient(circle at 16.6% 25.2%, var(--pale-lamp)),
    radial-gradient(circle at 19.15% 29.7%, var(--pale-lamp)),
    radial-gradient(circle at 21.7% 27.7%, var(--pale-lamp)),
    radial-gradient(circle at 24.25% 31.0%, var(--pale-lamp)),
    radial-gradient(circle at 26.8% 29.4%, var(--pale-lamp)),
    radial-gradient(circle at 29.35% 32.9%, var(--pale-lamp)),
    radial-gradient(circle at 38.35% 37.4%, var(--pale-lamp)),
    radial-gradient(circle at 43% 39.0%, var(--pale-lamp)),
    radial-gradient(circle at 45.45% 34.5%, var(--pale-lamp)),
    radial-gradient(circle at 47.9% 40.3%, var(--pale-lamp)),
    radial-gradient(circle at 54.55% 39.7%, var(--pale-lamp)),
    radial-gradient(circle at 59.1% 39.7%, var(--pale-lamp)),
    radial-gradient(circle at 64.15% 44.2%, var(--pale-lamp)),
    radial-gradient(circle at 66.6% 46.8%, var(--pale-lamp)),
    radial-gradient(circle at 71.9% 49.7%, var(--pale-lamp)),
    radial-gradient(circle at 77.05% 51.3%, var(--pale-lamp)),
    radial-gradient(circle at 85% 59.0%, var(--pale-lamp)),
    radial-gradient(circle at 90% 69.0%, var(--pale-lamp)),
    radial-gradient(circle at 95% 72.6%, var(--pale-lamp)),
    radial-gradient(circle at 97.45% 73.9%, var(--pale-lamp)),
    radial-gradient(circle at 99.25% 77.7%, var(--pale-lamp));
}
.bbe-footer-export.festive-enabled .bbe-footer-scene .bbe-christmas-fir {
  display: block;
  left: 0;
  width: 20%;
  z-index: 4;
  /* Keep the outer boughs visible while blending into the moving water. */
  mask-image:
    linear-gradient(90deg, #000 76%, transparent),
    linear-gradient(#000 67%, transparent 70%),
    linear-gradient(90deg, #000 40%, transparent 45%);
  mask-composite: intersect, add;
  filter: url(#bbe-fir-palette);
}
.festive-enabled .bbe-footer-scene { aspect-ratio: 24 / 7; }
.festive-enabled .bbe-footer-scene .bbe-trunk { display: none; }
.festive-enabled .bbe-footer-scene .bbe-christmas-fir { display: block; }

.bbe-footer-export.festive-enabled .harbour-tree-glints {
  position: absolute;
  inset: 0 auto 0 0;
  width: 8%;
  background:
    radial-gradient(circle at 34.5% 35%, #fff1c882, transparent 5px),
    radial-gradient(circle at 56% 55.2%, #ffda895c, transparent 4px),
    radial-gradient(circle at 46% 64.7%, #ffe3a263, transparent 4px);
  opacity: .5;
}
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-motion="on"] .harbour-tree-glints {
  animation: bbe-fir-glint 5.8s ease-in-out infinite;
}
@keyframes bbe-fir-glint { 50% { opacity: 1; } }

/* Short strings sit within the window rows in the 1920 × 640 harbour artwork. */
.bbe-footer-export.festive-enabled .harbour-facade-tree {
  position: absolute;
  aspect-ratio: 21 / 42;
  background: radial-gradient(ellipse at 50% 58%, #e1a35a2c, #d8964710 47%, transparent 71%);
}
.bbe-footer-export.festive-enabled .harbour-facade-east { left: 90.63%; top: 62.1%; width: 1.03%; opacity: .86; }
.bbe-footer-export.festive-enabled .harbour-facade-tree::before {
  content: "";
  position: absolute;
  inset: 3% 37% auto;
  aspect-ratio: 1;
  background: radial-gradient(circle, #fff0cb 13%, #f8cb8cbd 27%, #f1b36e45 43%, transparent 68%);
}
.bbe-footer-export.festive-enabled .harbour-facade-tree span {
  position: absolute;
  left: 50%;
  height: 14%;
  border-bottom: 1px dotted #ffdda9;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%) rotate(2deg);
  filter: drop-shadow(0 0 1px #d28b4477);
}
.bbe-footer-export.festive-enabled .harbour-facade-tree span:nth-child(1) { width: 29%; top: 17%; }
.bbe-footer-export.festive-enabled .harbour-facade-tree span:nth-child(2) { width: 48%; top: 34%; }
.bbe-footer-export.festive-enabled .harbour-facade-tree span:nth-child(3) { width: 66%; top: 51%; }
.bbe-footer-export.festive-enabled .harbour-facade-tree span:nth-child(4) { width: 86%; top: 68%; }
@media (max-width: 600px) {
  .harbour-facade-tree { opacity: .78; }
}

/* Set inside the front window grid of the wide tower, just right of centre. */
.bbe-footer-export.festive-enabled .harbour-holiday-display {
  position: absolute;
  left: 64.02%;
  top: 54.8%;
  width: 1.63%;
  height: 13.5%;
  container-type: inline-size;
  background: linear-gradient(#10192b8c, #11182a65 87%, #11182a18);
  color: #ffdf9b;
}
.bbe-footer-export.festive-enabled .harbour-holiday-display::before {
  content: "";
  position: absolute;
  inset: 0;
  --gold-lamp: #fff2c6 0 2cqw, #ffc27299 3.4cqw, transparent 7cqw;
  --red-lamp: #ffc0a2 0 1.8cqw, #cd575a9e 3.6cqw, transparent 7.4cqw;
  --green-lamp: #c2e2a5 0 1.6cqw, #71ad8799 3.4cqw, transparent 7cqw;
  background:
    radial-gradient(circle at 15% 32%, var(--red-lamp)),
    radial-gradient(circle at 84% 31%, var(--gold-lamp)),
    radial-gradient(circle at 14% 51%, var(--gold-lamp)),
    radial-gradient(circle at 82% 48%, var(--green-lamp)),
    radial-gradient(circle at 24% 55%, var(--red-lamp)),
    radial-gradient(circle at 78% 79%, var(--red-lamp)),
    radial-gradient(circle at 19% 83%, var(--green-lamp)),
    radial-gradient(circle at 53% 88%, var(--gold-lamp)),
    linear-gradient(90deg, transparent, #ecbe73bd, transparent) center 2% / 94% 2cqw no-repeat,
    linear-gradient(90deg, transparent, #ecbe738c, transparent) center 96% / 87% 2cqw no-repeat;
}
.bbe-footer-export.festive-enabled .harbour-display-greeting {
  position: absolute;
  inset: 7% 0 auto;
  color: #ffe8ac;
  font: 700 16cqw/1.05 Georgia, serif;
  letter-spacing: .015em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 5cqw #f7b15f;
}
.bbe-footer-export.festive-enabled .harbour-display-wreath {
  position: absolute;
  left: 28%;
  top: 30%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 6deg, #ffe1a1 0deg 10deg, #7fb18c 12deg 21deg, #4a8a6f 25deg 38deg, #d76a62 40deg 45deg);
  mask-image: radial-gradient(circle, transparent 35%, #000 42% 63%, transparent 71%);
}
.bbe-footer-export.festive-enabled .harbour-display-sleigh {
  position: absolute;
  left: 18%;
  top: 61%;
  width: 64%;
  height: 12%;
  border: 2.6cqw solid currentColor;
  border-top: 0;
  border-radius: 0 8% 44% 48%;
  transform: rotate(-13deg);
  filter: drop-shadow(0 0 3cqw #e2a04bc7);
}
.bbe-footer-export.festive-enabled .harbour-display-sleigh::before,
.bbe-footer-export.festive-enabled .harbour-display-sleigh::after {
  content: "";
  position: absolute;
  border-bottom: 2.6cqw solid currentColor;
}
.bbe-footer-export.festive-enabled .harbour-display-sleigh::before {
  inset: auto -15% -38% -20%;
  height: 100%;
  border-left: 2.6cqw solid currentColor;
  border-radius: 0 0 35% 55%;
}
.bbe-footer-export.festive-enabled .harbour-display-sleigh::after {
  top: -24%;
  left: -7%;
  width: 49%;
  height: 72%;
  border-right: 2.6cqw solid currentColor;
  border-radius: 0 29% 44% 0;
}

/* A second display follows the narrow facade above the Convention Centre roof. */
.bbe-footer-export.festive-enabled .harbour-holiday-display-west {
  left: 24.05%;
  top: 50.65%;
  width: 1.07%;
  height: 11.35%;
  background: linear-gradient(#12182dad, #12182d72);
}
.bbe-footer-export.festive-enabled .harbour-holiday-display-west::before {
  box-shadow: inset 0 0 0 2.5cqw #f3cb86cf, 0 0 5cqw #e9ac4569;
}
.bbe-footer-export.festive-enabled .harbour-holiday-display-west::after {
  content: "";
  position: absolute;
  inset: 6% 36% auto;
  aspect-ratio: 1;
  background: #ffe4a6;
  clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 63%, 50% 100%, 36% 63%, 0 50%, 36% 35%);
}
.bbe-footer-export.festive-enabled .harbour-holiday-display-west .harbour-display-greeting {
  top: 19%;
  font: 800 17cqw/1.12 system-ui, sans-serif;
  letter-spacing: 0;
  color: #ff9c87;
  text-shadow: 0 0 5cqw #f24c44;
}
.bbe-footer-export.festive-enabled .harbour-holiday-display-west .harbour-display-wreath {
  top: 43%;
  left: 21%;
  width: 58%;
}
.bbe-footer-export.festive-enabled .harbour-display-gift {
  position: absolute;
  top: 70%;
  left: 27%;
  width: 46%;
  aspect-ratio: 1.22;
  border: 3cqw solid #ffdb93;
  border-radius: 6%;
  color: #f28476;
  transform: rotate(-11deg);
  background:
    linear-gradient(90deg, transparent 43%, currentColor 43% 57%, transparent 57%),
    linear-gradient(transparent 32%, currentColor 32% 45%, transparent 45%);
  box-shadow: 0 0 7cqw #e0a450a6;
}
.bbe-footer-export.festive-enabled .harbour-display-gift::before {
  content: "";
  position: absolute;
  inset: -31% 19% auto;
  height: 53%;
  border: 3cqw solid currentColor;
  border-radius: 60% 60% 24% 24%;
}

/* Follow the gridded frontage to the right of the Bank of China Tower. */
.bbe-footer-export.festive-enabled .harbour-holiday-display-sparks {
  left: 49.02%;
  top: 54.7%;
  width: 1.36%;
  height: 14.55%;
  background: linear-gradient(#10192b9c, #11182a6b);
}
.bbe-footer-export.festive-enabled .harbour-holiday-display-sparks::before {
  background: linear-gradient(90deg, transparent, #ffda89d9, transparent) center 3% / 90% 3cqw no-repeat;
}
.bbe-footer-export.festive-enabled .harbour-holiday-display-sparks .harbour-display-greeting {
  top: 9%;
  color: #ffe7ac;
  font-size: 19cqw;
  line-height: 1.08;
}
.bbe-footer-export.festive-enabled .harbour-display-rays {
  position: absolute;
  inset: 31% 12% 17%;
}
.bbe-footer-export.festive-enabled .harbour-display-rays i {
  position: absolute;
  bottom: 0;
  width: var(--spread);
  height: var(--reach);
  color: var(--ray);
  filter: drop-shadow(0 0 4cqw currentColor);
}
.bbe-footer-export.festive-enabled .harbour-display-rays i:nth-child(-n+2) {
  right: 50%;
  border-left: 2.6cqw solid currentColor;
  border-bottom-left-radius: 100%;
}
.bbe-footer-export.festive-enabled .harbour-display-rays i:nth-child(n+3) {
  left: 50%;
  border-right: 2.6cqw solid currentColor;
  border-bottom-right-radius: 100%;
}
.bbe-footer-export.festive-enabled .harbour-display-rays i:nth-child(1) { --spread: 50%; --reach: 88%; --ray: #fa9e88; }
.bbe-footer-export.festive-enabled .harbour-display-rays i:nth-child(2) { --spread: 35%; --reach: 58%; --ray: #c7e19c; }
.bbe-footer-export.festive-enabled .harbour-display-rays i:nth-child(3) { --spread: 37%; --reach: 100%; --ray: #ffe39d; }
.bbe-footer-export.festive-enabled .harbour-display-rays i:nth-child(4) { --spread: 52%; --reach: 66%; --ray: #f6b4cf; }
.bbe-footer-export.festive-enabled .harbour-display-rays i::before {
  content: "";
  position: absolute;
  top: -9cqw;
  width: 19cqw;
  aspect-ratio: 1;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 34%, 94% 25%, 73% 50%, 94% 75%, 61% 66%, 50% 100%, 39% 66%, 6% 75%, 27% 50%, 6% 25%, 39% 34%);
}
.bbe-footer-export.festive-enabled .harbour-display-rays i:nth-child(-n+2)::before { left: -10cqw; }
.bbe-footer-export.festive-enabled .harbour-display-rays i:nth-child(n+3)::before { right: -10cqw; }
.bbe-footer-export.festive-enabled .harbour-holiday-display-sparks .harbour-display-gift {
  top: 83%;
  left: 36%;
  width: 28%;
  transform: none;
}

.bbe-footer-export.festive-enabled .harbour-flight {
  display: block;
  position: absolute;
  z-index: 5;
  top: 2.5%;
  left: 100%;
  width: max-content;
  pointer-events: none;
  --flight-rise: clamp(54px, 8.7vw, 164px);
  animation: bbe-sleigh-flight 42s -8s linear infinite paused;
}
.festive-enabled .harbour-flight { display: block; }
.bbe-footer-export.festive-enabled .harbour-flight-formation {
  display: flex;
  align-items: center;
  transform-origin: 35% center;
  animation: bbe-sleigh-glide 7s -2s ease-in-out infinite paused;
}
.bbe-footer-export.festive-enabled .harbour-sleigh {
  display: block;
  width: clamp(128px, 13vw, 210px);
  height: auto;
}
.bbe-footer-export.festive-enabled .harbour-flight-banner {
  position: relative;
  display: block;
  width: clamp(260px, 26vw, 380px);
  margin-inline-start: -3px;
  margin-top: clamp(8px, 1.1vw, 15px);
  transform-origin: 2% 50%;
  animation: bbe-ribbon-drift 4.8s -1s ease-in-out infinite paused;
}
.bbe-footer-export.festive-enabled .harbour-flight-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.bbe-footer-export.festive-enabled .harbour-flight-message {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #594932;
  font: italic 400 32px Georgia, serif;
  letter-spacing: -.4px;
}
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-motion="on"] .harbour-flight,
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-motion="on"] .harbour-flight-formation,
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-motion="on"] .harbour-flight-banner { animation-play-state: running; }
@keyframes bbe-sleigh-flight {
  0%   { transform: translate3d(0, var(--flight-rise), 0) rotate(1.2deg); }
  20%  { transform: translate3d(calc(-20vw - 20%), calc(var(--flight-rise) * .68), 0) rotate(3.5deg); }
  40%  { transform: translate3d(calc(-40vw - 40%), calc(var(--flight-rise) * .32), 0) rotate(3.1deg); }
  60%  { transform: translate3d(calc(-60vw - 60%), calc(var(--flight-rise) * .12), 0) rotate(2deg); }
  80%  { transform: translate3d(calc(-80vw - 80%), 0, 0) rotate(1.1deg); }
  100% { transform: translate3d(calc(-100vw - 100%), -12px, 0) rotate(.5deg); }
}
@keyframes bbe-sleigh-glide {
  0%, 100% { transform: translateY(1px) rotate(-.45deg); }
  25% { transform: translateY(-3.5px) rotate(.8deg); }
  58% { transform: translateY(-1px) rotate(.15deg); }
  79% { transform: translateY(2.5px) rotate(-.75deg); }
}
@keyframes bbe-ribbon-drift {
  0%, 100% { transform: rotate(-.8deg) scaleY(1); }
  49% { transform: rotate(1.1deg) scaleY(.92); }
  75% { transform: rotate(.3deg) scaleY(.975); }
}
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .harbour-flight {
  left: 50%;
  transform: translateX(-50%);
}
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .harbour-flight,
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .harbour-flight-formation,
.bbe-footer-export.festive-enabled .bbe-harbour-film[data-static="true"] .harbour-flight-banner { animation: none; }
@media (max-width: 767px) {
  .festive-enabled .bbe-footer-scene { aspect-ratio: 3 / 1; }
  .harbour-flight { top: 4%; }
  .harbour-sleigh { width: clamp(58px, 19vw, 123px); }
  .harbour-flight-banner { width: clamp(210px, 57vw, 310px); margin-top: 6px; }
  .harbour-lights { --lamp: #ffe6ae 0 .5px, #e7b76a8c 1px, transparent 2px; }
  .harbour-shore-lights {
    background:
      radial-gradient(circle at 16.6% 71.5%, var(--lamp)),
      radial-gradient(circle at 24.25% 71.7%, var(--lamp)),
      radial-gradient(circle at 36.2% 71.8%, var(--lamp)),
      radial-gradient(circle at 50.3% 71.8%, var(--lamp)),
      radial-gradient(circle at 61.7% 72%, var(--lamp)),
      radial-gradient(circle at 74.8% 72.3%, var(--lamp)),
      radial-gradient(circle at 87.5% 72.7%, var(--lamp)),
      radial-gradient(circle at 95% 73%, var(--lamp));
  }
  .harbour-shore-lights::after { content: none; }
}


@media (max-width: 1023px) {
  .festive-enabled .bbe-footer-copyright {
    min-height: 72px;
    justify-content: center;
    padding-inline-end: 82px;
    text-align: start;
  }
  .festive-enabled .bbe-illustrated-footer:has(.bbe-harbour-film[data-in-view="true"]) [data-bbe-whatsapp-float] {
    position: absolute;
    inset-block-end: 8px;
    inset-inline-end: 12px;
  }
}

.bbe-illustrated-footer .bbe-footer-scene::after { height: 24px; z-index: 5; background: linear-gradient(#102b55, transparent); }


:root { --village-cream: #fff4df; }
.festive-footer { display: none; }

.festive-snow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 51;
  display: none;
}
body[data-bbe-festive] .festive-snow { display: block; }
.festive-snow i {
  position: absolute;
  top: -15px;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #fffefb;
  box-shadow: 0 0 0 1px #61759866;
  opacity: 0;
  animation: festive-fall var(--duration) var(--delay) linear infinite;
}
body.bbe-festive-paused .festive-snow i { animation-play-state: paused; }
@keyframes festive-fall {
  0% { transform: translate3d(0,0,0); opacity: 0; }
  12% { opacity: .56; }
  48% { transform: translate3d(-14px,50dvh,0); opacity: .69; }
  85% { opacity: .49; }
  100% { transform: translate3d(18px,calc(100dvh + 20px),0); opacity: 0; }
}

body[data-bbe-festive] .festive-footer {
  display: block;
  padding: 34px 24px;
  scroll-margin-top: 172px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #162a21, #0e1c16 82%);
  border-block: 1px solid #8e7a5369;
  color: var(--village-cream);
}
.festive-footer > p {
  font: italic clamp(25px, 3.2vw, 38px)/1.15 Georgia, serif;
  letter-spacing: -.035em;
  margin: 13px 0 9px;
}
.festive-footer h2 { font-size: 15px; font-weight: 400; letter-spacing: .06em; margin: 0 0 12px; }
.festive-footer .footer-rule { width: 48px; height: 1px; background: #b59a65; margin: 0 auto; }
.bbe-footer-export.festive-enabled { margin-top: 0; }

@media (max-width: 700px) {
  .festive-snow i:nth-child(n+13) { display: none; }
  body[data-bbe-festive] .festive-footer { padding: 27px 16px; scroll-margin-top: 135px; }
  .festive-footer h2 { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .festive-snow, .festive-snow i { display: none !important; animation: none !important; }
}

/* Position festive decoration without changing the sticky header's ownership. */
.bbe-chrome-header.festive-enabled .bbe-header-wordmark { flex: 0 0 auto; }
@media (max-width: 767px) {
  .bbe-chrome-header.festive-enabled .bbe-main-row { min-height: 56px; padding-block: 8px; }
}
@media (max-width: 359px) {
  .bbe-chrome-header.festive-enabled .bbe-main-row { gap: 4px; padding-inline: 8px; }
}
.bbe-footer-export.festive-enabled .bbe-footer-scene { background: #0b132b; }
.bbe-footer-export.festive-enabled .bbe-footer-scene::after {
  background: linear-gradient(#0e152b, transparent);
}
.bbe-footer-export.festive-enabled .bbe-footer-scene img.bbe-junk-sprite { object-fit: contain; }
@media (max-width: 1023px) {
  .bbe-footer-export.festive-enabled:has(.bbe-harbour-film[data-in-view="true"]) .bbe-live-footer { position: static; }
  .bbe-footer-export.festive-enabled:has(.bbe-harbour-film[data-in-view="true"]) [data-bbe-whatsapp-float] {
    position: absolute;
    inset-block-end: 8px;
    inset-inline-end: 12px;
  }
}
.festive-footer { position: relative; }
.bbe-festive-motion-toggle {
  position: absolute;
  inset: auto 12px 5px auto;
  min-height: 24px;
  border: 0;
  background: transparent;
  color: #e3c797;
  text-decoration: underline;
  font-size: 11px;
}
.bbe-festive-motion-toggle[hidden] { display: none; }
.bbe-festive-motion-toggle:focus-visible { outline: 2px solid #e3c797; outline-offset: 2px; }

/* Animate a single overlaid layer of harbour reflections using transforms and opacity. */
.bbe-footer-export.festive-enabled .bbe-footer-scene { filter: none; }
.bbe-footer-export.festive-enabled .bbe-footer-scene picture img,
.bbe-footer-export.festive-enabled .bbe-footer-scene .bbe-foreground { filter: url(#bbe-engraving-ivory); }
.bbe-footer-export.festive-enabled .bbe-footer-scene .bbe-christmas-fir {
  filter: url(#bbe-fir-palette) url(#bbe-engraving-ivory);
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .bbe-footer-export.festive-enabled .bbe-harbour-film[data-motion="on"] .bbe-footer-scene::before {
    content: "";
    position: absolute;
    inset: auto -3% 0;
    height: 38%;
    z-index: 1;
    background:
      radial-gradient(ellipse 7% 3% at 22% 31%, #a6b7ce35, transparent 85%),
      radial-gradient(ellipse 13% 3% at 68% 59%, #d9ccad37, transparent 84%),
      radial-gradient(ellipse 11% 4% at 39% 81%, #afbed548, transparent 86%),
      repeating-linear-gradient(178deg, transparent 0 11px, #b3c6e314 12px, transparent 15px 22px);
    mask-image: linear-gradient(transparent, #000 35%);
    opacity: .4;
    animation: bbe-harbour-reflections 9s ease-in-out infinite alternate;
  }
}
@keyframes bbe-harbour-reflections {
  0% { transform: translate3d(-1.2%, 0, 0); opacity: .25; }
  100% { transform: translate3d(1.2%, 2%, 0); opacity: .72; }
}


/* Mobile announcement arrows keep the greeting centred in the existing ticker. */
.bbe-festive-promo-row {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto 34px;
  align-items: center;
  min-height: 36px;
  padding: 0 8px;
  gap: 6px;
}
[data-bbe-promo-greeting] .bbe-festive-promo-row { grid-template-columns: 34px minmax(0,1fr) 34px; }
[data-bbe-promo-greeting] .bbe-festive-promo-row p { justify-content: center; text-align: center; }
.bbe-festive-promo-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 36px;
  background: transparent;
  border: 0;
  color: #c7c6cf;
  cursor: pointer;
}
.bbe-festive-promo-arrow svg { display: block; width: 17px; height: 17px; }
.bbe-festive-promo-arrow:focus-visible { outline: 1px solid #efdaa9; outline-offset: -3px; }


/* The standard phone wordmark crops to 88px. Reserve the supplied mascot's space. */
@media (max-width: 767px) {
  .bbe-chrome-header.festive-enabled .bbe-main-row [data-bbe-link="home"].bbe-header-wordmark {
    width: 117px;
    overflow: visible;
  }
  .bbe-chrome-header.festive-enabled .bbe-main-row [data-bbe-link="home"] .festive-logo-mascot img {
    position: static;
    inset: auto;
    width: 200%;
    height: auto;
    max-width: none;
    filter: none;
    mix-blend-mode: normal;
  }
}
body[data-bbe-festive] .bbe-mobile-announcement .bbe-festive-promo-arrow { color: #c7c6cf; }
