/* Christmas delivery styles 0.8.9. Source styles retained in their original cascade order. */

/* Source: header.css */
body.jf-xmas-local-preview .ts-header .header-middle {
  --jf-photo-icon-size: 40px;
  position: relative;
  background-color: #07111f !important;
}
body.jf-xmas-local-preview .ts-header .header-middle .header-right > .search-button,
body.jf-xmas-local-preview .ts-header .header-middle .header-right .account-control > a,
body.jf-xmas-local-preview .ts-header .header-middle .header-right .account-control > a > .label,
body.jf-xmas-local-preview .ts-header .header-middle .header-right .cart-control,
body.jf-xmas-local-preview .ts-header .header-middle .header-right > .ts-mobile-icon-toggle,
body.jf-xmas-local-preview .ts-header .header-middle .header-right > .icon-menu-sticky-header {
  color: #fff;
}
body.jf-xmas-local-preview .ts-header .header-middle > .container {
  padding-top: 12px;
  padding-bottom: 0;
}
body.jf-xmas-local-preview .ts-header .logo-wrapper {
  --ts-logo-width: 360px;
  width: 360px;
  flex-shrink: 0;
  height: auto !important;
  max-height: none !important;
}
body.jf-xmas-local-preview .ts-header .logo-wrapper .logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
body.jf-xmas-local-preview .ts-header .logo-wrapper .logo > a {
  display: block;
  max-width: 100%;
}
body.jf-xmas-local-preview .jf-xmas-logo-decorated {
  position: relative;
  overflow: visible;
}
body.jf-xmas-local-preview .jf-xmas-logo-garland {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  overflow: visible;
  z-index: 4;
}
body.jf-xmas-local-preview .jf-xmas-logo-cord {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
body.jf-xmas-local-preview .jf-xmas-logo-bulb {
  position: absolute;
  display: block;
  aspect-ratio: 4 / 3;
  transform-origin: 50% 9%;
}
body.jf-xmas-local-preview .jf-xmas-logo-bulb-off,
body.jf-xmas-local-preview .jf-xmas-logo-bulb-on {
  position: absolute;
  inset: 0;
  display: block;
  background-size: 200% 400%;
  background-repeat: no-repeat;
}
body.jf-xmas-local-preview .jf-xmas-logo-bulb-off { opacity: .82; }
body.jf-xmas-local-preview .jf-xmas-logo-bulb-on {
  opacity: 0;
  will-change: opacity;
}
body.jf-xmas-local-preview .jf-xmas-header-scene {
  display: block;
  width: min(100%, 160px);
  aspect-ratio: 20 / 9;
  margin-inline: auto;
  overflow: hidden;
  background: transparent;
  position: relative;
  z-index: 1;
  margin-bottom: -5px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  contain: layout paint;
  pointer-events: none;
}
body.jf-xmas-local-preview .jf-xmas-carpet-extension {
  position: absolute;
  display: block;
  left: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat-x;
  background-size: auto 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28px), linear-gradient(to bottom, #000 var(--carpet-opaque), transparent var(--carpet-end));
  mask-image: linear-gradient(to right, transparent, #000 28px), linear-gradient(to bottom, #000 var(--carpet-opaque), transparent var(--carpet-end));
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
body.jf-xmas-local-preview .jf-xmas-header-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}
body.jf-xmas-local-preview .is-sticky .jf-xmas-header-scene {
  display: none;
}
body.jf-xmas-local-preview .is-sticky .jf-xmas-carpet-extension { display: none; }
body.jf-xmas-local-preview .ts-header .account-control > a.jf-xmas-account-icon::before,
body.jf-xmas-local-preview .ts-header a.cart-control.jf-xmas-cart-icon .ic-cart::before {
  display: none;
  content: none;
}
body.jf-xmas-local-preview .ts-header .jf-xmas-snowman-icon,
body.jf-xmas-local-preview .ts-header .jf-xmas-gift-cart {
  display: block;
  width: var(--jf-photo-icon-size);
  height: var(--jf-photo-icon-size);
  flex: 0 0 var(--jf-photo-icon-size);
  object-fit: contain;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}
body.jf-xmas-local-preview .ts-header .account-control > a .label,
body.jf-xmas-local-preview .ts-header .cart-total > .label { color: #c8d1db !important; }
body.jf-xmas-local-preview .ts-header a.cart-control.jf-xmas-cart-icon .ic-cart {
  width: var(--jf-photo-icon-size);
  height: var(--jf-photo-icon-size);
}
body.jf-xmas-local-preview .jf-xmas-gift-cart {
  background-size: 200% 200%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}
body.jf-xmas-local-preview [data-xmas-gifts="1"] .jf-xmas-gift-cart { background-position: 100% 0%; }
body.jf-xmas-local-preview [data-xmas-gifts="2"] .jf-xmas-gift-cart { background-position: 0% 100%; }
body.jf-xmas-local-preview [data-xmas-gifts="3"] .jf-xmas-gift-cart { background-position: 100% 100%; }
body.jf-xmas-local-preview .jf-xmas-snow {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
body.jf-xmas-local-preview .jf-xmas-snowflake {
  position: absolute;
  top: 0;
  display: block;
  width: var(--snow-size);
  height: var(--snow-size);
  background-color: transparent;
  background-size: 300% 200%;
  background-repeat: no-repeat;
  animation: jf-xmas-snow-fall var(--snow-duration) linear var(--snow-delay) infinite;
  animation-play-state: paused;
  opacity: 0;
  will-change: transform;
}
body.jf-xmas-local-preview .jf-xmas-snow-soft { filter: blur(.35px); }
body.jf-xmas-local-preview .jf-xmas-snow-running .jf-xmas-snowflake { animation-play-state: running; }
@keyframes jf-xmas-snow-fall {
  0% { transform: translate3d(0, -12vh, 0) rotate(var(--snow-angle)); opacity: 0; }
  8% { opacity: var(--snow-opacity); }
  50% { transform: translate3d(var(--snow-sway), 50vh, 0) rotate(calc(var(--snow-angle) + var(--snow-angle-mid))); }
  92% { opacity: var(--snow-opacity); }
  100% { transform: translate3d(var(--snow-drift), 112vh, 0) rotate(calc(var(--snow-angle) + var(--snow-turn))); opacity: 0; }
}
body.jf-xmas-local-preview .jf-xmas-header-snow {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
body.jf-xmas-local-preview .jf-xmas-header-snowflake {
  position: absolute;
  top: 0;
  display: block;
  width: var(--snow-size);
  height: var(--snow-size);
  background-size: 300% 200%;
  background-repeat: no-repeat;
  opacity: 0;
  animation: jf-xmas-header-snow-fall var(--snow-duration) linear var(--snow-delay) infinite;
  animation-play-state: paused;
  will-change: transform;
}
body.jf-xmas-local-preview .jf-xmas-header-snow-running .jf-xmas-header-snowflake { animation-play-state: running; }
@keyframes jf-xmas-header-snow-fall {
  0% { transform: translate3d(0,-14px,0) rotate(var(--snow-angle)); opacity: 0; }
  10% { opacity: var(--snow-opacity); }
  50% { transform: translate3d(var(--snow-sway),calc(var(--snow-zone-height) * .5),0) rotate(calc(var(--snow-angle) + var(--snow-turn) * .5)); }
  90% { opacity: var(--snow-opacity); }
  100% { transform: translate3d(var(--snow-drift),calc(var(--snow-zone-height) + 14px),0) rotate(calc(var(--snow-angle) + var(--snow-turn))); opacity: 0; }
}
body.jf-xmas-local-preview .is-sticky .logo-wrapper {
  --ts-logo-width: 160px;
  width: 160px;
}
body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li > a > .menu-label {
  color: #59400e;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li > a > .menu-label {
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .12px rgba(68, 44, 7, .3);
    background-color: #493510;
    background-image: linear-gradient(105deg, #493510 0%, #59400e 40%, #9b741e 46%, #d9ac43 49%, #fff0a8 51%, #c59529 53%, #725014 58%, #493510 100%);
    background-size: 270% 100%;
    background-repeat: no-repeat;
    background-position: 100% center;
    -webkit-background-clip: text;
    background-clip: text;
    animation: jf-xmas-category-shine 8.4s linear infinite;
    animation-delay: var(--jf-xmas-shine-delay, 0s);
    animation-play-state: paused;
  }
  body.jf-xmas-local-preview .ts-header nav.main-menu.jf-xmas-nav-playing > .menu > li > a > .menu-label {
    animation-play-state: running;
  }
}
body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li:nth-child(2) { --jf-xmas-shine-delay: .75s; }
body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li:nth-child(3) { --jf-xmas-shine-delay: 1.5s; }
body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li:nth-child(4) { --jf-xmas-shine-delay: 2.25s; }
body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li:nth-child(5) { --jf-xmas-shine-delay: 3s; }
body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li:nth-child(6) { --jf-xmas-shine-delay: 3.75s; }
body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li:nth-child(7) { --jf-xmas-shine-delay: 4.5s; }
body.jf-xmas-local-preview .ts-header nav.main-menu > .menu > li:nth-child(8) { --jf-xmas-shine-delay: 5.25s; }
@keyframes jf-xmas-category-shine {
  0% { background-position: 100% center; text-shadow: 0 0 0 transparent; }
  7% { text-shadow: 0 0 4px rgba(208, 149, 32, .2); }
  16% { background-position: 0% center; text-shadow: 0 0 0 transparent; }
  100% { background-position: 0% center; text-shadow: 0 0 0 transparent; }
}
@media (max-width: 1199px) {
  body.jf-xmas-local-preview .ts-header .header-middle { --jf-photo-icon-size: 32px; }
  body.jf-xmas-local-preview .ts-header .logo-wrapper {
    --ts-logo-width: 280px;
    width: 280px;
  }
  body.jf-xmas-local-preview .jf-xmas-header-scene { width: 160px; }
}
@media (max-width: 767px) {
  body.jf-xmas-local-preview .jf-xmas-snowflake:nth-child(n+45) { display: none; }
  body.jf-xmas-local-preview .jf-xmas-header-snowflake:nth-child(n+33) { display: none; }
  body.jf-xmas-local-preview .ts-header .header-middle { --jf-photo-icon-size: 26px; }
  body.jf-xmas-local-preview .ts-header .logo-wrapper {
    --ts-logo-width: 200px;
    width: 100%;
    max-width: 200px;
  }
  body.jf-xmas-local-preview .ts-header .logo-wrapper .logo > a { width: 100%; }
  body.jf-xmas-local-preview .ts-header .logo-wrapper img { max-width: 100%; }
  body.jf-xmas-local-preview .jf-xmas-header-scene { width: min(100%, 150px); }
  body.jf-xmas-local-preview .ts-header .header-middle > .container {
    padding-top: 10px;
    padding-bottom: 0;
    flex-wrap: nowrap;
    gap: 8px;
  }
  body.jf-xmas-local-preview .ts-header .header-middle { --ts-hd-icon-size: 22px; }
  body.jf-xmas-local-preview .ts-header .header-middle .header-left {
    flex: 1 1 auto;
    min-width: 0;
  }
  body.jf-xmas-local-preview .ts-header .header-middle .header-right {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    margin-left: 0;
  }
}


/* Source: gift.css */
body.jf-xmas-local-preview .jfas-corner-decorations,
body.jf-xmas-local-preview .jfas-leaf-field,
body.jf-xmas-local-preview .jfas-win-leaf,
body.jf-xmas-local-preview .jfas-scroll-leaf { display: none !important; }

body.jf-xmas-local-preview .jfas-floating-trigger.jf-xmas-gift-trigger {
  --gift-size: 108px;
  --gift-body-top: 32px;
  position: fixed;
  inset: auto auto calc(18px + env(safe-area-inset-bottom, 0px)) 18px;
  z-index: 1000;
  display: block;
  width: 140px;
  height: 170px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #fff9e9;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  animation: none;
  transition: none;
  transform: none;
  filter: none;
  touch-action: manipulation;
}
body.jf-xmas-local-preview .jf-xmas-gift-trigger::before,
body.jf-xmas-local-preview .jf-xmas-gift-trigger::after { content: none; }
body.jf-xmas-local-preview .jf-xmas-gift-trigger:focus-visible {
  outline: 2px solid #b58838;
  outline-offset: 4px;
  background: #fffbef40;
}
body.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-leaf { display: none; }
.jf-xmas-gift-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.jf-xmas-gift-part {
  position: absolute;
  left: calc((100% - var(--gift-size)) / 2);
  display: block;
  width: var(--gift-size);
  height: var(--gift-size);
  background-size: 200% 100%;
  background-repeat: no-repeat;
}
.jf-xmas-gift-body {
  top: var(--gift-body-top);
  z-index: 2;
  background-position: 0 0;
  filter: drop-shadow(0 5px 5px #2c0c1330);
}
.jf-xmas-gift-body::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(28% 19%,89% 22%,73% 42%,8% 40%);
  background: radial-gradient(ellipse at 50% 33%,#fffdf1 0,#ffe190 26%,#eaae22b8 58%,#edaa1950 78%);
  opacity: 0;
  transition: opacity .3s ease .08s;
}
.jf-xmas-gift-open .jf-xmas-gift-body::after { opacity: .97; }
.jf-xmas-gift-radiance {
  position: absolute;
  left: calc(50% - 175px);
  top: calc(var(--gift-body-top) + var(--gift-size) * .34 - 297.5px);
  z-index: 1;
  display: block;
  width: 350px;
  height: 350px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform-origin: 50% 85%;
  transform: scale(.6,.45);
  opacity: 0;
  transition: opacity .35s ease .07s, transform .5s cubic-bezier(.15,.8,.2,1) .07s;
}
.jf-xmas-gift-open .jf-xmas-gift-radiance { opacity: 1; transform: scale(1); }
.jf-xmas-gift-lid {
  top: calc(var(--gift-body-top) - var(--gift-size) * .4);
  z-index: 4;
  background-position: 100% 0;
  filter: drop-shadow(0 5px 5px #2c0c1330);
  transform-origin: 50% 65%;
  transform: translate(-1px, 0) rotate(0);
  transition: transform 520ms cubic-bezier(.18,.85,.24,1.05);
}
.jf-xmas-gift-open .jf-xmas-gift-lid {
  transform: translate(-16px, -52px) rotate(-15deg);
}
.jf-xmas-gift-warmth {
  position: absolute;
  top: calc(var(--gift-body-top) + var(--gift-size) * .27);
  left: 27%;
  width: 46%;
  height: 27px;
  z-index: 3;
  border-radius: 50%;
  background: radial-gradient(ellipse, #fffef7, #ffe49dcf 30%,#ffc83766 55%, transparent 76%);
  opacity: 0;
  transition: opacity .35s ease;
}
.jf-xmas-gift-open .jf-xmas-gift-warmth { opacity: 1; }
body.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 6px 8px;
  text-align: center;
  background: linear-gradient(125deg, #0b342f, #092620);
  border: 1px solid #d9b96b9c;
  border-radius: 9px;
  box-shadow: 0 5px 14px #0b291f24;
}
body.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy strong {
  font-family: inherit;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .075em;
  color: #fff9ed;
  white-space: nowrap;
}
body.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy small {
  margin-top: 3px;
  color: #f2d89c;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.jf-xmas-gift-confetti {
  position: fixed;
  inset: 0;
  z-index: 1001;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.jf-xmas-gift-confetti-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
body.jf-xmas-local-preview .jfas-modal-dialog {
  border-color: #d9b96b9c;
  border-radius: 16px;
  background: #092f29;
}
body.jf-xmas-local-preview .jfas-modal .jfas-sale-banner {
  background: radial-gradient(ellipse at 12% 5%, #597b5e42, transparent 52%), linear-gradient(120deg,#102e28,#123f35 68%,#0b2928);
  border-radius: 15px;
  padding: 48px;
}
body.jf-xmas-local-preview .jfas-sale-banner::before {
  background: linear-gradient(110deg,transparent 62%,#cdb2700a 62%,#cdb2700a 63%,transparent 63%);
}
body.jf-xmas-local-preview .jfas-sale-banner::after {
  height: 3px;
  background: linear-gradient(90deg,#80602c,#ecd8a0,#94723a);
}
body.jf-xmas-local-preview .jfas-sale-banner h2 {
  color: #fffaf0;
  font-size: clamp(30px,4vw,49px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
body.jf-xmas-local-preview .jfas-eyebrow { color: #efd18e; }
body.jf-xmas-local-preview .jfas-subtitle { color: #e7eee8; }
body.jf-xmas-local-preview .jfas-auto-apply-note {
  background: #ffffff09;
  border-color: #d9b96b45;
  color: #e7eee8;
}
body.jf-xmas-local-preview .jfas-claim-button,
body.jf-xmas-local-preview .jfas-shop-link {
  background: linear-gradient(120deg,#f2dfb0,#d9b66c);
  border-color: #e2c58b;
  color: #142f27 !important;
  border-radius: 7px;
  text-shadow: none;
}
body.jf-xmas-local-preview .jfas-claim-button:hover,
body.jf-xmas-local-preview .jfas-shop-link:hover {
  color: #142f27;
  background: #f8eac9;
}
body.jf-xmas-local-preview .jfas-result {
  background: #fffaf0;
  border-color: #e4d4b1;
  border-radius: 10px;
  box-shadow: 0 12px 32px #061d1d24;
}
body.jf-xmas-local-preview .jfas-result-kicker { color: #8b6632; }
body.jf-xmas-local-preview .jfas-result-value strong { color: #173e32; }
body.jf-xmas-local-preview .jfas-modal-close { background: #102d28; }
body.jf-xmas-local-preview .jfas-modal-close:hover { background: #28523f; }
@media(max-width:767px) {
  body.jf-xmas-local-preview .jfas-floating-trigger.jf-xmas-gift-trigger {
    --gift-size: 84px;
    --gift-body-top: 27px;
    left: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 112px;
    height: 137px;
  }
  .jf-xmas-gift-open .jf-xmas-gift-lid { transform: translate(-9px,-38px) rotate(-14deg); }
  .jf-xmas-gift-radiance {
    left: calc(50% - 135px);
    top: calc(var(--gift-body-top) + var(--gift-size) * .34 - 229.5px);
    width: 270px;
    height: 270px;
  }
  body.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy { min-height: 32px; padding: 5px; }
  body.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy strong { font-size: 9px; letter-spacing: .03em; }
  body.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy small { font-size: 9px; }
  body.jf-xmas-local-preview .jfas-modal .jfas-sale-banner { padding: 52px 22px 28px; }
  body.jf-xmas-local-preview .jfas-modal-dialog { max-height: calc(100dvh - 20px); }
}
@media(prefers-reduced-motion:reduce) {
  body:not(.jf-xmas-gift-motion-full) .jf-xmas-gift-lid { transition-duration: .18s; }
}


/* Source: coupon.css */
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-dialog {
  width: min(980px,calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: transparent;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 26px 90px #071d2459;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon {
  --coupon-split: 57.5%;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) 1px minmax(0,.85fr);
  align-items: stretch;
  gap: 0;
  min-height: 470px;
  padding: 0;
  background: #fffaf0;
  border: 0;
  border-radius: 18px;
  color: #183f35;
  mask-image: radial-gradient(circle at var(--coupon-split) 0,transparent 12px,#000 13px),radial-gradient(circle at var(--coupon-split) 100%,transparent 12px,#000 13px);
  mask-composite: intersect;
  -webkit-mask-image: radial-gradient(circle at var(--coupon-split) 0,transparent 12px,#000 13px),radial-gradient(circle at var(--coupon-split) 100%,transparent 12px,#000 13px);
  -webkit-mask-composite: source-in;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon::before,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon::after { content: none; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-sale-copy {
  grid-column: 1;
  grid-row: 1;
  padding: 48px 42px 25px;
  background: radial-gradient(ellipse at 0 0,#f4e5c740,transparent 68%),#fffcf5;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-eyebrow {
  color: #94763b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  margin: 0 0 18px;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon h2 {
  margin: 0 0 22px;
  color: #173c31;
  font-family: Georgia,'Times New Roman',serif;
  font-size: clamp(34px,3.6vw,46px);
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: -.035em;
  white-space: pre-line;
  text-transform: none;
  text-shadow: none;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-subtitle {
  margin: 0 0 11px;
  color: #26483b;
  max-width: 370px;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-card-message {
  margin: 0;
  max-width: 370px;
  color: #5c665a;
  font-size: 14px;
  line-height: 1.7;
}
body.jf-xmas-local-preview #jfas-modal .jfas-auto-apply-note { display: none; }
.jf-xmas-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; }
.jf-xmas-card-signature { margin: 0; color: #244838; }
.jf-xmas-card-signature span { display: block; font: 23px/1.5 'Segoe Script','Brush Script MT',cursive; }
.jf-xmas-card-signature strong { display: block; font-family: inherit; font-size: 11px; line-height: 1.5; font-weight: 500; margin-top: 5px; }
.jf-xmas-card-gift { flex: 0 0 106px; width: 106px; height: 120px; position: relative; pointer-events: none; }
.jf-xmas-card-gift-base,.jf-xmas-card-gift-lid { position: absolute; left: 3px; width: 100px; height: 100px; display: block; background-size: 200% 100%; background-repeat: no-repeat; }
.jf-xmas-card-gift-base { top: 25px; background-position: 0 0; }
.jf-xmas-card-gift-lid { top: -15px; background-position: 100% 0; }
.jf-xmas-coupon-perforation { grid-column: 2; grid-row: 1; z-index: 4; background: repeating-linear-gradient(to bottom,#ad965d8c 0 4px,transparent 4px 10px); margin-block: 23px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-action,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 45px 28px 30px;
  color: #fff8e8;
  background: radial-gradient(ellipse at 100% 0,#49664c50,transparent 70%),#103c31;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
  text-align: center;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result-kicker,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-kicker {
  margin: 0 0 19px;
  color: #ecd9a4;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .16em;
  font-weight: 700;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result-value { margin: 0 0 10px; gap: 6px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result-value strong { color: #fff9e9; font-size: 84px; line-height: 1; font-weight: 500; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result-value span { color: #f2dfae; font-size: 20px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result-message { margin: 6px 0 19px; color: #d8e3d7; font-size: 12px; line-height: 1.6; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-code-line {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 5px 10px;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  margin: 0;
  background: #ffffff09;
  border: 1px dashed #e5cb8e7a;
  border-radius: 5px;
  text-align: left;
}
.jf-xmas-code-label { grid-column: 1 / -1; font-size: 8px; letter-spacing: .15em; color: #cbbd9b; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-code { color: #fff5d4; font: 12px/1.4 Consolas,'Courier New',monospace; letter-spacing: 0; overflow-wrap: anywhere; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-copy-code { color: #fff2ca; padding: 4px 6px; min-height: 30px; border: 1px solid #f1dba23d; border-radius: 4px; background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-copy-code:hover { background: #ffffff12; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-copy-code:focus-visible { outline: 2px solid #f5dfaa; outline-offset: 3px; }
.jf-xmas-copy-status { display: block; min-height: 15px; margin: 3px 0 9px; font-size: 10px; line-height: 1.5; color: #eadcae; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-shop-link,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-claim-button { min-height: 45px; padding: 12px 18px; color: #17382c !important; background: linear-gradient(120deg,#f8eac6,#dfc386); box-shadow: none; font-size: 11px; letter-spacing: .04em; border-radius: 5px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-shop-link { width: 100%; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-terms { margin: 17px 0 0; color: #bfcab9; font-size: 9.5px; line-height: 1.55; max-width: 285px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-action-title { color: #fff6e1; font: 36px/1.15 Georgia,'Times New Roman',serif; white-space: pre-line; margin: 3px 0 26px; }
body.jf-xmas-local-preview #jfas-modal .jfas-once { color: #e5d5aa; }
body.jf-xmas-local-preview #jfas-modal .jfas-modal-close { right: 12px; top: 12px; width: 33px; height: 33px; min-height: 0; font-size: 24px; background: #092d26; color: #f9e8ba; border-color: #d8c0895e; }
#jfas-modal.jf-xmas-coupon-preview-unclaimed .jf-xmas-coupon .jfas-action[hidden] { display: flex !important; }
#jfas-modal.jf-xmas-coupon-preview-unclaimed .jf-xmas-coupon .jfas-result { display: none !important; }
@media(max-width:700px) {
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon { grid-template-columns: 1fr; min-height: 0; border-radius: 12px; mask-image: radial-gradient(circle at 0 var(--coupon-split-y),transparent 10px,#000 11px),radial-gradient(circle at 100% var(--coupon-split-y),transparent 10px,#000 11px); -webkit-mask-image: radial-gradient(circle at 0 var(--coupon-split-y),transparent 10px,#000 11px),radial-gradient(circle at 100% var(--coupon-split-y),transparent 10px,#000 11px); }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-sale-copy { grid-column: 1; grid-row: 1; padding: 29px 25px 12px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-eyebrow { font-size: 9px; margin-bottom: 13px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon h2 { font-size: 33px; margin-bottom: 16px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-subtitle { font-size: 13px; line-height: 1.55; margin-bottom: 8px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-card-message { font-size: 12px; line-height: 1.65; }
  .jf-xmas-card-footer { margin-top: 4px; min-height: 88px; }
  .jf-xmas-card-signature span { font-size: 19px; }
  .jf-xmas-card-signature strong { font-size: 10px; }
  .jf-xmas-card-gift { width: 80px; flex-basis: 80px; height: 86px; transform: scale(.75); transform-origin: 100% 50%; }
  .jf-xmas-coupon-perforation { grid-column: 1; grid-row: 2; height: 1px; margin: 0 20px; background: repeating-linear-gradient(to right,#ad965d8c 0 4px,transparent 4px 10px); }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-action,
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result { grid-column: 1; grid-row: 3; padding: 26px 25px 22px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result-value strong { font-size: 65px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result-kicker { margin-bottom: 13px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon .jfas-result-message { max-width: 290px; font-size: 11px; margin: 3px 0 15px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-terms { margin-top: 13px; font-size: 9px; max-width: 320px; }
  body.jf-xmas-local-preview #jfas-modal .jfas-modal-close { right: 9px; top: 9px; width: 30px; height: 30px; background: #163e31; }
}

/* Foil-wrapped stationery and an individual letter, scoped to this popup only. */
.jf-xmas-gold-ribbon {
  position: absolute;
  z-index: 6;
  top: 17px;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: none;
  background: linear-gradient(96deg,#92702b,#e0bf6e 12%,#fbebbb 24%,#ba9142 40%,#ebd295 58%,#fff3cb 69%,#d3ad56 84%,#92702b);
  border-top: 1px solid #fff1bfcc;
  border-bottom: 1px solid #8b662c85;
  box-shadow: 0 2px 3px #674b2326,inset 0 2px #fff9dd55;
}
.jf-xmas-gold-ribbon::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,#fff4c71c 0 1px,transparent 1px 3px); }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon { border: 1px solid #d6bb7c78; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-sale-copy { display: flex; flex-direction: column; padding-top: 64px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-card-footer { margin-top: auto; padding-top: 18px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-action,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result {
  justify-content: flex-start;
  align-items: stretch;
  position: relative;
  padding: 57px 30px 29px;
  background: radial-gradient(ellipse at 90% 0,#fffdfb,#fcf7e9 85%);
  color: #213f33;
  box-shadow: inset 0 0 0 12px #164334;
  text-align: left;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-action::before,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid #b89c5c70;
  pointer-events: none;
}
.jf-xmas-letterhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; width: 100%; }
.jf-xmas-letter-logo { display: inline-flex; flex: 0 0 auto; padding: 7px 8px; background: #07111f; border-radius: 2px; }
.jf-xmas-letter-logo img { width: 124px; height: auto; display: block; object-fit: contain; }
.jf-xmas-letter-meta { margin: 0; min-width: 0; text-align: right; color: #776a4c; font-size: 8.5px; line-height: 1.55; overflow-wrap: anywhere; }
.jf-xmas-letter-meta span,.jf-xmas-letter-meta strong { display: block; }
.jf-xmas-letter-meta strong { color: #97773b; font-size: 8.5px; font-weight: 600; margin-top: 2px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-letter-recipient { color: #204634; font: 600 14px/1.4 Georgia,'Times New Roman',serif; margin: 0 0 9px; overflow-wrap: anywhere; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-letter-body { color: #5e685b; font-size: 11.5px; line-height: 1.65; margin: 0 0 19px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result-kicker,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-coupon-kicker { color: #96763b; font-size: 8.5px; letter-spacing: .13em; padding-top: 15px; border-top: 1px solid #bd9b5c4d; margin-bottom: 8px; text-align: center; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result-value { align-self: center; gap: 7px; margin-bottom: 5px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result-value strong { color: #204b37; font: 400 62px/.95 Georgia,'Times New Roman',serif; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result-value span { color: #9b7832; font-size: 16px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result-message { color: #68705e; text-align: center; font-size: 10.5px; line-height: 1.5; margin: 3px 0 14px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-code-line { background: #e8d9af16; border-color: #b18a3b77; padding: 9px 10px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-code { color: #254c39; font-size: 11px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-code-label { color: #998150; font-size: 7.5px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-copy-code { color: #3b583e; border-color: #b89b5b66; background: #e3d3a121; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-copy-status { color: #7b733f; min-height: 12px; font-size: 9px; margin-bottom: 7px; text-align: center; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-shop-link,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-claim-button { background: linear-gradient(115deg,#183e2f,#285742); color: #fff4d2 !important; min-height: 41px; font-size: 10px; padding: 11px 14px; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-shop-link:hover,
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-claim-button:hover { background: #305f45; color: #fff9e8 !important; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-letter-signoff { font: 12px/1.6 Georgia,'Times New Roman',serif; color: #34513c; white-space: pre-line; margin: 15px 0 0; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-coupon-terms { color: #8a856f; font-size: 8px; line-height: 1.5; max-width: none; margin: 10px 0 0; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-coupon-action-title { color: #284c38; font-size: 28px; line-height: 1.2; margin: 12px 0 20px; text-align: center; }
body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-once { color: #7a6c48; }
@media(max-width:700px) {
  .jf-xmas-gold-ribbon { height: 11px; top: 16px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result,
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-action { grid-row: 1; padding: 47px 25px 25px; box-shadow: inset 0 0 0 9px #164334; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result::before,
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-action::before { inset: 12px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-sale-copy { grid-row: 3; padding: 30px 25px 17px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-card-footer { margin-top: 0; padding-top: 4px; }
  .jf-xmas-letterhead { gap: 9px; margin-bottom: 17px; }
  .jf-xmas-letter-logo img { width: 112px; }
  .jf-xmas-letter-meta,.jf-xmas-letter-meta strong { font-size: 8px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jf-xmas-letter-body { font-size: 11px; line-height: 1.6; margin-bottom: 16px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result-value strong { font-size: 57px; }
  body.jf-xmas-local-preview #jfas-modal .jf-xmas-premium-coupon .jfas-result-message { font-size: 10px; }
}


/* Source: paper.css */
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-dialog { overflow:auto;background:transparent;border-radius:0;box-shadow:none;max-height:calc(100dvh - 20px);width:min(1000px,calc(100vw - 24px)); }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:0;padding:14px 17px 20px;min-height:0;overflow:visible;background:transparent;border:0;border-radius:0;mask:none;-webkit-mask:none;box-shadow:none; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-sale-copy,
body.jf-xmas-local-preview #jfas-modal .jf-paper-offer {
  position:relative;margin:0;min-width:0;border:5px solid transparent;
  background-image:url('premium-paper.webp'),linear-gradient(120deg,#9c7028,#edcf80 15%,#fff0ba 30%,#b58a3a 49%,#f1d48c 72%,#9c7028);
  background-origin:padding-box,border-box;background-clip:padding-box,border-box;background-size:420px 420px,100% 100%;
  filter:drop-shadow(0 10px 16px #04131b35);
  transition:transform .35s ease;
}
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-sale-copy { grid-column:1;grid-row:1;border-right:0;border-radius:14px 0 0 14px;padding:31px 33px 22px;display:flex;flex-direction:column; }
body.jf-xmas-local-preview #jfas-modal .jf-paper-offer { grid-column:2;grid-row:1;border-left:0;border-radius:0 14px 14px 0;transform-origin:0 100%; }
body.jf-xmas-local-preview #jfas-modal .jf-paper-offer::before { content:'';position:absolute;inset:10px;border:1px solid #b59a5f40;border-left:0;pointer-events:none; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-sale-copy::before { content:'';position:absolute;inset:10px;border:1px solid #b59a5f40;border-right:0;pointer-events:none; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-action,
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-result { display:flex;justify-content:center;align-items:stretch;width:100%;height:100%;min-height:470px;padding:42px 30px 31px;background:transparent;box-shadow:none;border:0;border-radius:0;position:relative; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-action::before,
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-result::before { content:none; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-letterhead { margin-bottom:24px; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-eyebrow { font-size:9px;margin-bottom:13px; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper h2 { font-size:36px;line-height:1.12;margin-bottom:22px; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-letter-body { font-size:13px;line-height:1.75; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-card-footer { margin-top:auto;padding-top:16px; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-result-kicker,
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-coupon-kicker { border-top:0;padding-top:0;font-size:10px;letter-spacing:.15em;margin-bottom:16px; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-result-value strong { font-size:78px; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-result-message { font-size:11px;margin:7px 0 22px;line-height:1.65; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-code-line { padding:12px; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-coupon-terms { font-size:9px;line-height:1.65;margin-top:19px; }
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-shop-link,
body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-claim-button { min-height:44px;font-size:11px; }
.jf-paper-bridge { position:absolute;z-index:5;display:block;pointer-events:none;background:url('premium-paper.webp') center/420px 420px; }
.jf-paper-bridge[hidden] { display:none!important; }
body.jf-xmas-local-preview #jfas-modal .jf-paper-bridge .jf-xmas-coupon-perforation { position:absolute;left:50%;top:7px;bottom:7px;width:1px;height:auto;margin:0;background:repeating-linear-gradient(to bottom,#977f4d9c 0 4px,transparent 4px 9px); }
body.jf-xmas-local-preview #jfas-modal .jf-paper-torn .jfas-sale-copy { clip-path:var(--paper-clip);transform:translate(-3px,-1px) rotate(-.12deg); }
body.jf-xmas-local-preview #jfas-modal .jf-paper-torn .jf-paper-offer { clip-path:var(--paper-clip);transform:translate(12px,3px) rotate(.45deg); }
.jf-paper-demo-button { position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:20;padding:8px 15px;background:#fff8e8;color:#244a39;border:1px solid #c2a868;border-radius:5px;font:12px/1.4 sans-serif;cursor:pointer; }
@media(max-width:700px){
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper { grid-template-columns:1fr;padding:8px 12px 20px; }
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-sale-copy { grid-column:1;grid-row:1;padding:25px 24px 17px;border:4px solid transparent;border-bottom:0;border-radius:12px 12px 0 0; }
 body.jf-xmas-local-preview #jfas-modal .jf-paper-offer { grid-column:1;grid-row:2;border:4px solid transparent;border-top:0;border-radius:0 0 12px 12px; }
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-action,
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-result { min-height:0;padding:30px 24px 26px; }
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper h2 { font-size:29px; }
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-letter-body { font-size:12px;line-height:1.65; }
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-letterhead { margin-bottom:19px; }
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-card-footer { padding-top:0; }
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jfas-result-value strong { font-size:64px; }
 body.jf-xmas-local-preview #jfas-modal .jf-premium-paper .jf-xmas-coupon-terms { font-size:9px; }
 body.jf-xmas-local-preview #jfas-modal .jf-paper-bridge .jf-xmas-coupon-perforation { top:50%;bottom:auto;left:7px;right:7px;width:auto;height:1px;background:repeating-linear-gradient(to right,#977f4d9c 0 4px,transparent 4px 9px); }
 body.jf-xmas-local-preview #jfas-modal .jf-paper-torn .jfas-sale-copy { transform:translate(0,-2px) rotate(-.12deg); }
 body.jf-xmas-local-preview #jfas-modal .jf-paper-torn .jf-paper-offer { transform:translate(0,12px) rotate(.25deg); }
}

/* Fine cellulose edges and a temporary bend mesh, confined to this coupon. */
@font-face { font-family:'JF Personal Hand';src:url('caveat-handwriting-ext.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'JF Personal Hand';src:url('caveat-handwriting.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-xmas-letter-body { font:500 24px/1.4 'JF Personal Hand','Segoe Print',cursive;color:#244b3b;letter-spacing:.005em; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-xmas-letter-recipient { font:500 25px/1.3 'JF Personal Hand','Segoe Print',cursive;margin-bottom:13px; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-xmas-card-signature span { font:500 29px/1.35 'JF Personal Hand','Segoe Print',cursive; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-xmas-personal-letter { max-width:440px; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jfas-sale-copy,
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-paper-offer {
  clip-path:none;transition:none;
}
body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-dialog { overflow-x:hidden; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper { padding-right:34px; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper.jf-paper-torn .jfas-sale-copy,
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper.jf-paper-torn .jf-paper-offer { clip-path:var(--paper-clip); }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper.jf-paper-torn .jfas-sale-copy { transform:none; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper.jf-paper-torn .jf-paper-offer { transform:translate(8px,1.5px); }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper.jf-paper-tearing > .jf-paper-offer { transform:none; }
.jf-paper-fibre-edge { position:absolute;display:block;pointer-events:none;overflow:visible;opacity:0;z-index:4; }
.jf-paper-torn .jf-paper-fibre-edge { opacity:1; }
.jf-paper-mesh { position:absolute;z-index:7;pointer-events:none;transform-origin:0 0;filter:drop-shadow(2px 3px 3px #20190824); }
.jf-paper-strip { position:absolute;inset:0;transform-origin:0 0;will-change:transform;pointer-events:none; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-paper-strip-surface {
  position:absolute!important;inset:auto!important;left:0!important;top:0!important;
  margin:0!important;transform:none!important;filter:none!important;clip-path:var(--paper-clip)!important;
  transition:none!important;min-height:0;visibility:visible!important;
}
.jf-paper-bend-light { position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,#6653405c,transparent 12%,#fffdf377 48%,transparent 85%);opacity:0; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jfas-result { animation:none!important; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-paper-strip-surface .jfas-result { transform:none!important;transition:none!important; }
body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-paper-bridge { filter:none; }
@media(min-width:701px){ body.jf-xmas-local-preview #jfas-modal .jf-xmas-coupon-dialog:has(.jf-paper-tearing) { overflow:hidden; } }
@media(max-width:700px){
 body.jf-xmas-local-preview #jfas-modal .jf-natural-paper .jf-xmas-letter-body { font-size:22px;line-height:1.35; }
 body.jf-xmas-local-preview #jfas-modal .jf-natural-paper { padding-right:12px; }
 body.jf-xmas-local-preview #jfas-modal .jf-natural-paper.jf-paper-torn .jf-paper-offer { transform:translate(1.5px,8px); }
 .jf-paper-bend-light { background:linear-gradient(180deg,#6653405c,transparent 14%,#fffdf377 48%,transparent 85%); }
}


/* Source: paper-real.css */
/* Photographic cotton-paper micro-slits and one continuous intact foil frame. */
body.jf-xmas-local-preview #jfas-modal .jf-real-paper { position:relative; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jfas-sale-copy,
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-offer {
    clip-path: var(--paper-clip);
    transition: none;
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-bridge {
    z-index: 5;
    background: none;
    mask: none;
    -webkit-mask: none;
    overflow: hidden;
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-xmas-coupon-perforation { display:none; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-bridge::before,
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-bridge::after { content:none; }
.jf-paper-perforation-material {
    display:block;position:absolute;left:50%;top:50%;width:24px;height:var(--jf-perforation-length);
    transform:translate(-50%,-50%);
    background:url('paper-perforation-photo-v1.webp') center top / 24px auto repeat-y;
    mask:linear-gradient(90deg,transparent,#000 24%,#000 76%,transparent);
    -webkit-mask:linear-gradient(90deg,transparent,#000 24%,#000 76%,transparent);
    pointer-events:none;
}
.jf-paper-whole-frame { display:block;position:absolute;z-index:9;overflow:hidden;pointer-events:none; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-whole-frame > rect { fill:none!important; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-torn .jf-paper-whole-frame { display:none; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper:not(.jf-paper-torn) .jfas-sale-copy::before,
body.jf-xmas-local-preview #jfas-modal .jf-real-paper:not(.jf-paper-torn) > .jf-paper-offer::before { opacity:0; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-torn .jf-paper-offer { transform:translate(5px,1px); }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-tearing > .jf-paper-offer { visibility:hidden;transform:none; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-tearing .jfas-sale-copy { transform:none; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-mesh {
    z-index:7;
    perspective:none;
    perspective-origin:50% 50%;
    transform-style:preserve-3d;
    filter:drop-shadow(1px 3px 3px #241b1022);
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-strip {
    transform-style:preserve-3d;
    backface-visibility:hidden;
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-strip-surface { visibility:visible!important; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-bend-light {
    background:linear-gradient(90deg,#4a352d28,transparent 10%,#fffef83d 55%,#5646330d);
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-fibre-edge { filter:none; }
.jf-paper-review-toolbar { position:fixed;top:8px;left:8px;width:112px;z-index:100001;padding:7px;background:#174334;color:#f5e2af;border:1px solid #cbb174;font:10px/1.4 sans-serif; }
.jf-paper-review-toolbar output { display:block;text-align:center; }
.jf-paper-review-toolbar button { display:block;width:100%;font:inherit;margin-top:5px;padding:6px; }
@media(max-width:700px) {
    .jf-paper-perforation-material { transform:translate(-50%,-50%) rotate(90deg); }
    body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-torn .jf-paper-offer { transform:translate(1px,5px); }
    body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-bend-light { background:linear-gradient(180deg,#4a352d28,transparent 10%,#fffef83d 55%,#5646330d); }
}

/* Approved small finishing details: real foil grain, paper stock and letterpress CTA. */
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jfas-sale-copy,
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jf-paper-offer {
    background-image:url('premium-paper.webp'),
        linear-gradient(105deg,transparent 43%,rgba(255,246,212,.4) 50%,transparent 57%),
        linear-gradient(120deg,rgba(156,112,40,.38),rgba(255,240,186,.12) 32%,rgba(181,138,58,.3) 59%,rgba(241,212,140,.12)),
        url('gold-foil-brushed-v1.webp');
    background-origin:padding-box,border-box,border-box,border-box;
    background-clip:padding-box,border-box,border-box,border-box;
    background-size:420px 420px,250% 100%,100% 100%,384px 384px;
    background-position:0 0,130% 0,0 0,0 0;
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper:not(.jf-paper-torn) {
    filter:drop-shadow(0 .8px 0 #e6dbc6) drop-shadow(0 1.6px .2px rgba(86,65,32,.23)) drop-shadow(0 10px 18px rgba(3,19,23,.2));
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper:not(.jf-paper-torn) .jfas-sale-copy,
body.jf-xmas-local-preview #jfas-modal .jf-real-paper:not(.jf-paper-torn) > .jf-paper-offer { filter:none; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-torn > .jfas-sale-copy,
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-torn > .jf-paper-offer {
    filter:drop-shadow(0 .8px 0 #e6dbc6) drop-shadow(0 1.6px .2px rgba(86,65,32,.23)) drop-shadow(0 10px 16px rgba(3,19,23,.2));
}
.jf-paper-foil-sheen { transform:translateX(0);opacity:0; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-foil-intro .jf-paper-foil-sheen {
    animation:jf-paper-foil-sweep 1400ms linear 1 both;
    animation-duration:1400ms!important;animation-iteration-count:1!important;
    transform-box:fill-box;
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-foil-intro > .jfas-sale-copy,
body.jf-xmas-local-preview #jfas-modal .jf-real-paper.jf-paper-foil-intro > .jf-paper-offer {
    animation:jf-paper-foil-background 1400ms linear 1 both;
    animation-duration:1400ms!important;animation-iteration-count:1!important;
}
@keyframes jf-paper-foil-sweep {
    0% { transform:translateX(0);opacity:0; }
    10%,85% { opacity:1; }
    100% { transform:translateX(100%);opacity:0; }
}
@keyframes jf-paper-foil-background {
    from { background-position:0 0,100% 0,0 0,0 0; }
    to { background-position:0 0,0% 0,0 0,0 0; }
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jfas-claim-button {
    background:linear-gradient(180deg,#22513f,#1b4736);
    color:#f7efd8;
    box-shadow:inset 0 1.5px 2.5px rgba(3,22,15,.34),inset 0 -1px 0 rgba(249,232,187,.15),0 .7px 0 rgba(255,255,247,.9);
    transition:transform 130ms ease,box-shadow 130ms ease,filter 130ms ease;
}
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jfas-claim-button:not(:disabled):hover { filter:brightness(1.045); }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jfas-claim-button:focus-visible { outline:2px solid #c7aa64;outline-offset:3px; }
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jfas-claim-button:not(:disabled):active,
body.jf-xmas-local-preview #jfas-modal .jf-real-paper .jfas-claim-button.jf-claim-pressed-preview {
    transform:translateY(1px) scale(.998);
    box-shadow:inset 0 3px 5px rgba(3,22,15,.45),inset 0 -1px 0 rgba(249,232,187,.1),0 .4px 0 rgba(255,255,247,.8);
}
.jf-paper-finish-review { position:fixed;right:8px;top:8px;width:132px;padding:6px;z-index:100002;background:#174334;border:1px solid #cbb174; }
.jf-paper-finish-review button { display:block;width:100%;margin:4px 0;padding:6px;font:10px/1.3 sans-serif; }
body.jf-envelope-active .jf-paper-finish-review { display:none; }


/* Source: candy-scrollbar.css */
/* Restore the inspected original native shape: 15px rail, narrow rounded thumb
   and two end arrow buttons. Only its material is replaced with pulled sugar. */
html:has(body.jf-xmas-local-preview) {
  --jf-candy-track:#f1f1f1;
  --jf-candy-up:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 6L5 2L9 6Z' fill='%23696969'/%3E%3C/svg%3E");
  --jf-candy-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 2L5 6L9 2Z' fill='%23696969'/%3E%3C/svg%3E");
}
@media(prefers-color-scheme:dark) {
  html:has(body.jf-xmas-local-preview) {
    --jf-candy-track:#2c2c2c;
    --jf-candy-up:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 6L5 2L9 6Z' fill='%23a0a0a0'/%3E%3C/svg%3E");
    --jf-candy-down:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 2L5 6L9 2Z' fill='%23a0a0a0'/%3E%3C/svg%3E");
  }
}
:is(html:has(body.jf-xmas-local-preview),body.jf-xmas-local-preview,body.jf-xmas-local-preview .jfas-modal-dialog)::-webkit-scrollbar {
  width:15px;height:15px;background:var(--jf-candy-track);
}
:is(html:has(body.jf-xmas-local-preview),body.jf-xmas-local-preview,body.jf-xmas-local-preview .jfas-modal-dialog)::-webkit-scrollbar-track {
  background:var(--jf-candy-track);
}
:is(html:has(body.jf-xmas-local-preview),body.jf-xmas-local-preview,body.jf-xmas-local-preview .jfas-modal-dialog)::-webkit-scrollbar-thumb {
  border:0 solid transparent;border-left-width:3px;border-right-width:3px;
  border-radius:8px / 5px;
  background:#e8ded1 url('candy-cane-photo.webp') center / 100% 100% no-repeat;
  background-clip:padding-box;
}
:is(html:has(body.jf-xmas-local-preview),body.jf-xmas-local-preview,body.jf-xmas-local-preview .jfas-modal-dialog)::-webkit-scrollbar-button {
  display:none;
}
:is(html:has(body.jf-xmas-local-preview),body.jf-xmas-local-preview,body.jf-xmas-local-preview .jfas-modal-dialog)::-webkit-scrollbar-button:vertical:decrement:start {
  display:block;height:17px;background:var(--jf-candy-up) center / 10px 8px no-repeat,var(--jf-candy-track);
}
:is(html:has(body.jf-xmas-local-preview),body.jf-xmas-local-preview,body.jf-xmas-local-preview .jfas-modal-dialog)::-webkit-scrollbar-button:vertical:increment:end {
  display:block;height:17px;background:var(--jf-candy-down) center / 10px 8px no-repeat,var(--jf-candy-track);
}

/* Keep native two-colour painting where textured thumbs are unavailable. */
@supports not selector(::-webkit-scrollbar-thumb) {
  html:has(body.jf-xmas-local-preview),
  body.jf-xmas-local-preview .jfas-modal-dialog {
    scrollbar-color: #ce1727 #fffaf2;
  }
}


/* Source: room.css */
/* Christmas room variant 0.7.0. All additions are decorative and Local gated. */
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-repeater-item-2561511 .swiper-slide-bg {
    background-image: url("christmas-room-01.webp") !important;
    background-position: center center !important;
}
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-repeater-item-084ec0f .swiper-slide-bg {
    background-image: url("christmas-room-02.webp") !important;
    background-position: center center !important;
}

/* A faint change in the photographed tree's illumination, using the very same
   photograph and crop. No particle canvas or additional video is introduced. */
body.jf-xmas-room-variant [data-id="54e96f6"] :is(.elementor-repeater-item-2561511,.elementor-repeater-item-084ec0f) .swiper-slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: inherit;
    background-size: inherit;
    background-position: inherit;
    filter: brightness(1.3) saturate(1.06);
    mask-image: linear-gradient(90deg, #000 0%, #000 20%, transparent 29%);
    animation: jf-xmas-tree-light 4.9s ease-in-out infinite alternate;
    animation-play-state: paused;
    opacity: .06;
}
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-repeater-item-084ec0f .swiper-slide-bg::after {
    mask-image: linear-gradient(270deg, #000 0%, #000 18%, transparent 29%);
    animation-delay: -1.7s;
}
body.jf-xmas-room-variant [data-id="54e96f6"].jf-xmas-room-in-view .swiper-slide-active .swiper-slide-bg::after {
    animation-play-state: running;
}
@keyframes jf-xmas-tree-light { from { opacity: .03; } to { opacity: .38; } }

body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-slide-heading,
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-slide-description {
    text-shadow: 0 2px 12px rgba(11, 21, 17, .65), 0 1px 3px rgba(11, 21, 17, .55);
}
body.jf-xmas-room-variant [data-id="54e96f6"] a.swiper-slide-inner,
body.jf-xmas-room-variant [data-id="54e96f6"] a.swiper-slide-inner:hover,
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-slide-heading,
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-slide-description { text-decoration: none !important; }
/* Ecomall's wrapper is at z-index 11; keep native arrows above its linked slide. */
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-swiper-button {
    z-index: 12;
    opacity: 1 !important;
    color: #f7e4b2 !important;
    background: rgba(15, 54, 40, .94) !important;
    box-shadow: inset 0 0 0 1px #d8bd78, 0 2px 8px rgba(10, 29, 20, .24) !important;
}
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-swiper-button svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    fill: currentColor !important;
    width: 18px !important;
    height: 18px !important;
}
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-swiper-button:hover {
    background: #285b42 !important;
    color: #fff3cf !important;
}
body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-swiper-button:focus-visible {
    outline: 2px solid #f3d68c;
    outline-offset: 3px;
}

/* Colour and material only: inherit the original button geometry and links. */
body.jf-xmas-room-variant .jf-xmas-shop-button {
    background-color: #174334 !important;
    background-image: linear-gradient(125deg, #103b2e 0%, #245441 55%, #173c30 100%) !important;
    color: #f5e2af !important;
    border-color: #d8bd78 !important;
    box-shadow: inset 0 0 0 1px rgba(230, 199, 126, .7), 0 3px 10px rgba(11, 38, 27, .12) !important;
}
body.jf-xmas-room-variant .jf-xmas-shop-button:hover,
body.jf-xmas-room-variant a:hover .jf-xmas-shop-button,
body.jf-xmas-room-variant .jf-xmas-shop-button:focus-visible,
body.jf-xmas-room-variant a:focus-visible .jf-xmas-shop-button {
    background-color: #24533d !important;
    background-image: linear-gradient(125deg, #204d39, #315e45, #1a4734) !important;
    color: #fff2cf !important;
}

/* Recolour the existing search submit and housing stroke; keep all geometry. */
body.jf-xmas-room-variant .header-middle .ts-search-by-category.no-category form {
    border-color: #cbb174 !important;
}
body.jf-xmas-room-variant .header-middle .ts-search-by-category.no-category .search-button,
body.jf-xmas-room-variant .header-middle .ts-search-by-category.no-category input[type="submit"] {
    background-color: #174334 !important;
    background-image: linear-gradient(125deg, #103b2e, #245441 55%, #173c30) !important;
    color: #f5e2af !important;
    border-color: #d8bd78 !important;
    box-shadow: inset 0 0 0 1px rgba(230, 199, 126, .7) !important;
}
body.jf-xmas-room-variant .header-middle .ts-search-by-category.no-category .search-button::before {
    color: #f5e2af !important;
    background-color: transparent !important;
}
body.jf-xmas-room-variant .header-middle .ts-search-by-category.no-category .search-button:hover,
body.jf-xmas-room-variant .header-middle .ts-search-by-category.no-category input[type="submit"]:hover {
    background-image: linear-gradient(125deg, #204d39, #315e45, #1a4734) !important;
    color: #fff2cf !important;
}
body.jf-xmas-room-variant .header-middle .ts-search-by-category.no-category input[type="submit"]:focus-visible {
    outline: 2px solid #f3d68c;
    outline-offset: -4px;
}

body.jf-xmas-room-variant .jf-xmas-snow-support { position: relative; }
body.jf-xmas-room-variant .jf-xmas-settled-snow {
    position: absolute;
    z-index: 6;
    /* Crop the source's transparent end caps and overlap the blue corner,
       so the photographed snow joins the housing instead of leaving a nick. */
    left: -1px;
    right: -1px;
    top: -8px;
    height: 12px;
    background: url("settled-snow.webp?ver=2") center bottom / calc(100% + 24px) 100% no-repeat;
    border-radius: 9px 9px 4px 4px;
    pointer-events: none;
    user-select: none;
}

body.jf-xmas-room-variant .jf-xmas-fir-corner {
    position: absolute;
    z-index: 3;
    width: clamp(92px, 10vw, 142px);
    aspect-ratio: 1764 / 887;
    left: 0;
    bottom: 0;
    background: url("fir-corner.webp") left bottom / contain no-repeat;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 2px 2px rgba(12, 29, 19, .16));
}

body.jf-xmas-room-variant .jf-xmas-showroom-hours {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 27px 30px;
    display: grid;
    grid-template-columns: minmax(210px, .95fr) minmax(0, 2.05fr);
    gap: 25px;
    align-items: center;
    background: linear-gradient(115deg, #103a2d, #1e4c3b 65%, #153e30);
    border: 1px solid #cdb16d;
    border-radius: 4px;
    box-shadow: inset 0 0 0 4px rgba(224, 195, 130, .1), 0 5px 16px rgba(18, 52, 39, .12);
    color: #fff9e9;
}
body.jf-xmas-room-variant .jf-xmas-hours-eyebrow {
    display: block;
    color: #ead094;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 8px;
}
body.jf-xmas-room-variant .jf-xmas-hours-title h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff9e9;
    margin: 0;
}
body.jf-xmas-room-variant .jf-xmas-hours-dates {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.25fr;
    gap: 18px;
    margin: 0;
    padding: 0;
}
body.jf-xmas-room-variant .jf-xmas-hours-dates > div {
    border-left: 1px solid rgba(226, 199, 141, .34);
    padding-left: 18px;
    min-width: 0;
}
body.jf-xmas-room-variant .jf-xmas-hours-dates dt {
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: #fff9e9;
    margin: 0 0 6px;
}
body.jf-xmas-room-variant .jf-xmas-hours-dates dd {
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    color: #f0e1ba;
    margin: 0;
}
body.jf-xmas-room-variant .jf-xmas-hours-dates dd time {
    font-weight: 700;
    color: #ffdf91;
}

/* Original top strip: colour only, with the same content, height and links. */
body.jf-xmas-room-variant .header-top {
    background: #143e30 !important;
    color: #f8efd9 !important;
    box-shadow: inset 0 -1px 0 rgba(231, 201, 136, .2);
}
body.jf-xmas-room-variant .header-top .header-store-notice,
body.jf-xmas-room-variant .header-top a {
    color: #f8efd9 !important;
}
body.jf-xmas-room-variant .header-top a:hover,
body.jf-xmas-room-variant .header-top a:focus-visible { color: #ffe2a0 !important; }

/* Category photos and their existing full-card links are untouched. The fine
   inner frame and small photographic sprig have no pointer hit area. */
body.jf-xmas-room-variant .jf-xmas-category-card { position: relative; }
body.jf-xmas-room-variant .jf-xmas-category-frame {
    position: absolute;
    inset: 0;
    z-index: 6;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(198, 165, 91, .85);
    pointer-events: none;
    user-select: none;
}
body.jf-xmas-room-variant .jf-xmas-category-fir {
    position: absolute;
    right: 0;
    top: 0;
    width: clamp(64px, 32%, 100px);
    max-width: 38%;
    aspect-ratio: 520 / 279;
    z-index: 5;
    background: url("fir-corner.webp") center / contain no-repeat;
    transform: scaleX(-1);
    filter: drop-shadow(0 2px 2px rgba(18, 35, 20, .18));
    pointer-events: none;
    user-select: none;
}

/* A static Christmas footer, reusing the already cached photographic fir.
   Existing contact copy, legal information, links and original logo remain. */
body.jf-xmas-room-variant #colophon.jf-xmas-footer {
    background: linear-gradient(115deg, #10372b, #194734 62%, #12382d) !important;
    color: #eee3ca;
    box-shadow: inset 0 1px 0 rgba(219, 190, 125, .55);
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer :is(p, li, a, .elementor-icon-list-text) {
    color: #eee3ca !important;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer :is(h2, h3, h4, h5, h6, .elementor-heading-title) {
    color: #ead094 !important;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer a:hover,
body.jf-xmas-room-variant #colophon.jf-xmas-footer a:focus-visible,
body.jf-xmas-room-variant #colophon.jf-xmas-footer a:hover .elementor-icon-list-text,
body.jf-xmas-room-variant #colophon.jf-xmas-footer a:focus-visible .elementor-icon-list-text {
    color: #ffe2a0 !important;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer .elementor-divider-separator {
    border-color: rgba(223, 195, 137, .28) !important;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer .elementor-social-icon {
    background-color: rgba(234, 208, 148, .12) !important;
    color: #f6e9c5 !important;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer .elementor-social-icon i { color: inherit !important; }
body.jf-xmas-room-variant #colophon.jf-xmas-footer [data-id="e185ca3"] {
    padding-left: 50px;
    padding-right: 50px;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer [data-id="e185ca3"] > .e-con-inner {
    max-width: 1410px;
    margin-left: auto;
    margin-right: auto;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-greeting {
    position: relative;
    width: calc(100% - 100px);
    max-width: 1410px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 36px 180px 24px;
    text-align: center;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-message { margin: 0; }
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-message span { display: block; }
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-message span:first-child {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    line-height: 1.25;
    font-style: italic;
    color: #f0d69c;
    margin-bottom: 6px;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-message span:last-child {
    font-size: 16px;
    line-height: 1.6;
    color: #f8efd9;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-greeting::before,
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-greeting::after {
    content: "";
    position: absolute;
    width: 180px;
    aspect-ratio: 520 / 279;
    bottom: 2px;
    background: url("fir-corner.webp") center / contain no-repeat;
    pointer-events: none;
    user-select: none;
}
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-greeting::before { left: 0; }
body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-greeting::after { right: 0; transform: scaleX(-1); }

@media (max-width: 1024px) {
    body.jf-xmas-room-variant .jf-xmas-showroom-hours { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
    body.jf-xmas-room-variant .jf-xmas-hours-dates > div:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
    body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-repeater-item-2561511 .swiper-slide-bg { background-position: 16% center !important; }
    body.jf-xmas-room-variant [data-id="54e96f6"] .elementor-repeater-item-084ec0f .swiper-slide-bg { background-position: 89% center !important; }
    body.jf-xmas-room-variant .jf-xmas-fir-corner { width: 86px; }
    body.jf-xmas-room-variant .jf-xmas-showroom-hours { padding: 25px 21px; gap: 21px; }
    body.jf-xmas-room-variant .jf-xmas-hours-title h2 { font-size: 28px; }
    body.jf-xmas-room-variant .jf-xmas-hours-dates { grid-template-columns: 1fr; gap: 14px; }
    body.jf-xmas-room-variant .jf-xmas-hours-dates > div { border: 0; border-top: 1px solid rgba(226, 199, 141, .34); padding: 13px 0 0; }
    body.jf-xmas-room-variant .jf-xmas-hours-dates > div:first-child { border-top: 0; padding: 0; }
    body.jf-xmas-room-variant .jf-xmas-hours-dates dt { font-size: 16px; margin-bottom: 3px; }
    body.jf-xmas-room-variant .jf-xmas-hours-dates dd { font-size: 14px; }
    body.jf-xmas-room-variant .jf-xmas-settled-snow { height: 10px; top: -7px; }
    body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-greeting {
        width: calc(100% - 40px);
        padding: 30px 18px 65px;
    }
    body.jf-xmas-room-variant #colophon.jf-xmas-footer [data-id="e185ca3"] { padding-left: 20px; padding-right: 20px; }
    body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-message span:first-child { font-size: 29px; }
    body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-greeting::before,
    body.jf-xmas-room-variant #colophon.jf-xmas-footer .jf-xmas-footer-greeting::after {
        width: 95px;
        max-width: 32%;
        bottom: 3px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.jf-xmas-room-variant [data-id="54e96f6"] .swiper-slide-bg::after { animation: none; opacity: .08; }
}

/* 0.8.8: photographic details are requested only where the matching element
   exists. The two hours corners share one cached WebP. Dates remain clear. */
body.jf-xmas-room-variant .jf-xmas-showroom-hours { position: relative; }
body.jf-xmas-room-variant .jf-xmas-showroom-hours::before,
body.jf-xmas-room-variant .jf-xmas-showroom-hours::after {
    content: '';
    position: absolute;
    z-index: 2;
    /* Seat the woody branch on the frame; the lower needles and baubles
       overlap the green face instead of floating in the white gap above. */
    top: -14px;
    width: clamp(120px, 12vw, 155px);
    aspect-ratio: 480 / 156;
    background: url('hours-fir-baubles-v1.webp') center / contain no-repeat;
    filter: drop-shadow(0 1.5px 1px rgba(3, 22, 11, .34));
    pointer-events: none;
    user-select: none;
}
body.jf-xmas-room-variant .jf-xmas-showroom-hours::before { left: -9px; }
body.jf-xmas-room-variant .jf-xmas-showroom-hours::after { right: -9px; transform: scaleX(-1); }

body.jf-xmas-room-variant .jf-xmas-category-title-art {
    display: inline-block;
    width: 110px;
    height: 49px;
    margin-left: 16px;
    vertical-align: middle;
    background: url('category-fir-bow-v1.webp') center / contain no-repeat;
    pointer-events: none;
    user-select: none;
}

/* Overlay has no hit area and owns its own clipping. Native button tooltips,
   before/after icons, dimensions and loading/added states remain independent. */
body.jf-xmas-room-variant .jf-xmas-product-action.jf-xmas-action-positioned { position: relative; }
body.jf-xmas-room-variant .jf-xmas-product-action > .jf-xmas-product-glint {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    width: auto;
    height: auto;
    overflow: hidden;
    border-radius: inherit;
    font-size: 0;
    pointer-events: none;
    user-select: none;
}
body.jf-xmas-room-variant .jf-xmas-product-glint::before {
    content: '';
    position: absolute;
    top: -45%;
    bottom: -45%;
    left: -40%;
    width: 35%;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(216, 172, 68, .25) 25%, rgba(255, 234, 176, .8) 50%, rgba(216, 172, 68, .25) 75%, transparent);
    transform: translateX(-150%) skewX(-18deg);
}
@keyframes jf-xmas-product-glint {
    0% { opacity: 0; transform: translateX(-150%) skewX(-18deg); }
    20% { opacity: .75; }
    80% { opacity: .75; }
    100% { opacity: 0; transform: translateX(500%) skewX(-18deg); }
}
@media (hover: hover) {
    body.jf-xmas-room-variant .jf-xmas-product-action:not(.loading):not(.disabled):not(:disabled):not([aria-disabled='true']):hover > .jf-xmas-product-glint::before { animation: jf-xmas-product-glint .78s ease-out both; }
}
body.jf-xmas-room-variant .jf-xmas-product-action:not(.loading):not(.disabled):not(:disabled):not([aria-disabled='true']):focus-visible > .jf-xmas-product-glint::before { animation: jf-xmas-product-glint .78s ease-out both; }

body.jf-xmas-room-variant .jf-xmas-empty-cart-scene { text-align: center; margin: 0 auto 12px; max-width: 660px; }
body.jf-xmas-room-variant .jf-xmas-empty-sleigh {
    display: block;
    width: 280px;
    max-width: 78%;
    aspect-ratio: 640 / 357;
    margin: 0 auto 18px;
    background: url('empty-cart-oak-sleigh-v1.webp') center / contain no-repeat;
    pointer-events: none;
    user-select: none;
}
body.jf-xmas-room-variant .jf-xmas-empty-cart-scene h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.25;
    letter-spacing: -.02em;
    color: #174334;
    text-wrap: balance;
}
body.jf-xmas-room-variant.woocommerce-cart .woocommerce .jf-xmas-empty-message .cart-empty::before,
body.jf-xmas-room-variant.woocommerce-cart .woocommerce .cart-empty.jf-xmas-empty-message::before { display: none !important; }
@media (max-width: 600px) {
    body.jf-xmas-room-variant .jf-xmas-showroom-hours::before,
    body.jf-xmas-room-variant .jf-xmas-showroom-hours::after { top: -8px; width: 92px; filter: drop-shadow(0 1px .7px rgba(3, 22, 11, .34)); }
    body.jf-xmas-room-variant .jf-xmas-category-title-art { width: 76px; height: 34px; margin-left: 10px; }
    body.jf-xmas-room-variant .jf-xmas-empty-sleigh { width: 240px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    /* The existing full-motion flag is an explicit Local review query only.
       Normal reduced-motion visitors receive a static metallic reflection. */
    body.jf-xmas-room-variant:not(.jf-xmas-gift-motion-full) .jf-xmas-product-action > .jf-xmas-product-glint::before { animation: none !important; }
    body.jf-xmas-room-variant:not(.jf-xmas-gift-motion-full) .jf-xmas-product-action:not(.loading):not(.disabled):not(:disabled):not([aria-disabled='true']):is(:hover, :focus-visible) > .jf-xmas-product-glint::before {
        left: 0;
        width: 100%;
        opacity: .32;
        transform: none;
        background: linear-gradient(110deg, transparent, rgba(255, 218, 119, .7), transparent);
    }
}

/* Existing service glyphs and gallery controls keep their native geometry. */
body.jf-xmas-room-variant .jf-xmas-service .elementor-icon,
body.jf-xmas-room-variant .jf-xmas-service .elementor-icon i,
body.jf-xmas-room-variant .jf-xmas-service .elementor-icon svg {
    color: #a27b2c !important;
    fill: #a27b2c !important;
}
body.jf-xmas-room-variant .jf-xmas-service .elementor-icon-box-title,
body.jf-xmas-room-variant .jf-xmas-service .elementor-icon-box-title span { color: #174334 !important; }
body.jf-xmas-room-variant .jf-xmas-gallery .jffg-title { color: #174334; }
body.jf-xmas-room-variant .jf-xmas-gallery .jffg-arrow,
body.jf-xmas-room-variant .jf-xmas-gallery .jffg-thumb-scroll {
    background: #174334 !important;
    color: #f5e2af !important;
    border-color: #cbb174 !important;
    box-shadow: inset 0 0 0 1px rgba(221, 190, 122, .7);
}
body.jf-xmas-room-variant .jf-xmas-gallery .jffg-arrow:hover,
body.jf-xmas-room-variant .jf-xmas-gallery .jffg-thumb-scroll:hover { background: #2b5a42 !important; }
body.jf-xmas-room-variant .jf-xmas-gallery .jffg-thumb[aria-selected="true"] {
    border-color: #be963d !important;
    box-shadow: 0 0 0 1px #d8bd78;
}
body.jf-xmas-room-variant .jf-xmas-value-banner h2 { text-wrap: balance; }

@media (max-width: 767px) {
    body.jf-xmas-room-variant.jf-xmas-local-preview .jfas-floating-trigger.jf-xmas-gift-trigger {
        --gift-size: 52px;
        --gift-body-top: 12px;
        width: 144px;
        height: 60px;
        background: linear-gradient(125deg, #0f3b2e, #174334);
        border-radius: 10px;
        box-shadow: inset 0 0 0 1px #cbb174, 0 4px 12px rgba(12, 42, 29, .2);
    }
    body.jf-xmas-room-variant .jf-xmas-gift-trigger .jf-xmas-gift-art {
        inset: 0 auto 0 2px;
        width: 52px;
    }
    body.jf-xmas-room-variant .jf-xmas-gift-trigger.jf-xmas-gift-open .jf-xmas-gift-lid {
        transform: translate(-6px, -24px) rotate(-14deg);
    }
    body.jf-xmas-room-variant.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy {
        left: 56px;
        right: 5px;
        top: 7px;
        bottom: 7px;
        min-height: 0;
        padding: 3px 1px;
        align-items: flex-start;
        text-align: left;
        background: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    body.jf-xmas-room-variant.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy strong {
        font-size: 9px;
        letter-spacing: .02em;
    }
    body.jf-xmas-room-variant.jf-xmas-local-preview .jf-xmas-gift-trigger .jfas-floating-copy small {
        font-size: 9px;
        white-space: normal;
        line-height: 1.1;
    }
}


/* Source: envelope.css */
/* Photographic folded-paper layers; one opening over the existing coupon. */
body.jf-envelope-pending #jfas-modal .jf-premium-paper { opacity: 0; }
body.jf-envelope-active #jfas-modal .jf-natural-paper {
    animation: jf-envelope-letter var(--jf-envelope-duration, 3200ms) cubic-bezier(.2,.7,.25,1) both;
    animation-duration: var(--jf-envelope-duration, 3200ms) !important;
    transform-origin: 50% 48%;
    pointer-events: none;
}
body.jf-envelope-active #jfas-modal .jf-xmas-coupon-dialog { overflow: hidden !important; z-index: 10; }
/* The sealed envelope is visible while the native reward check is pending.
   Starting the approved animation is a separate, verified-state step. */
body.jf-envelope-awaiting #jfas-modal .jf-natural-paper {
    animation: none !important;
    opacity: 0 !important;
    pointer-events: none;
}
body.jf-envelope-awaiting .jf-envelope-anim { animation: none !important; }
.jf-envelope-stage {
    display: contents;
    pointer-events: none;
    user-select: none;
}
.jf-envelope-layer {
    position: fixed;
    inset: 0;
    z-index: 20;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}
.jf-envelope-layer-back { z-index: 5; }
.jf-envelope-layer-front { z-index: 20; }
.jf-envelope-centre {
    position: absolute;
    width: min(620px, calc(100vw - 36px), calc((100dvh - 70px) * 1.03));
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    perspective: 1400px;
}
.jf-envelope-scene {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1.74;
    transform-style: preserve-3d;
    animation: jf-envelope-exit var(--jf-envelope-duration, 3200ms) cubic-bezier(.3,.1,.2,1) both;
    animation-duration: var(--jf-envelope-duration, 3200ms) !important;
    animation-iteration-count: 1 !important;
}
.jf-envelope-back,
.jf-envelope-pocket,
.jf-envelope-side,
.jf-envelope-flap-face {
    position: absolute;
    inset: 0;
    background: transparent;
}
.jf-envelope-back {
    background: url('envelope-cotton-body-v1.webp') center / 100% 100% no-repeat;
    filter: drop-shadow(0 14px 18px rgba(0,0,0,.29));
    z-index: 1;
}
.jf-envelope-back::after {
    content: none;
}
.jf-envelope-pocket {
    clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%);
    z-index: 4;
    background: url('envelope-cotton-body-v1.webp') center / 100% 100% no-repeat;
}
.jf-envelope-side { display: none; }
.jf-envelope-side-left {
    clip-path: polygon(0 0, 50% 58%, 0 100%);
    background-image: linear-gradient(30deg, rgba(255,255,255,.38), rgba(120,94,44,.1)), url('premium-paper.webp');
}
.jf-envelope-side-right {
    clip-path: polygon(100% 0, 100% 100%, 50% 58%);
    background-image: linear-gradient(330deg, rgba(255,255,255,.35), rgba(120,94,44,.12)), url('premium-paper.webp');
}
.jf-envelope-pocket::after {
    content: none;
}
.jf-envelope-contact {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: url('envelope-cotton-closed-v1.webp') center / 100% 100% no-repeat;
    /* The photographic receiver surrounds exactly the moving flap silhouette.
       Combined while closed, these two planes reproduce the complete photo. */
    clip-path: polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,0 0,100% 0,99.7% 2.6325%,99.1% 6.0075%,97.5% 9.6525%,94.6% 13.7025%,87.3% 22.815%,78% 34.0875%,68% 46.035%,58% 58.455%,51.5% 66.555%,50.5% 67.365%,49.7% 67.5%,48.9% 66.825%,41.4% 57.915%,31.5% 45.63%,21.5% 33.1425%,11.6% 20.925%,5.2% 13.0275%,2.4% 8.9775%,.9% 5.0625%,.3% 1.9575%,0 0);
    animation: jf-envelope-contact-lift var(--jf-envelope-duration,3200ms) linear both;
    animation-duration: var(--jf-envelope-duration,3200ms) !important;
    animation-iteration-count: 1 !important;
}
.jf-envelope-flap {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 67.5%;
    transform-origin: 50% 0;
    transform-style: preserve-3d;
    z-index: 6;
    animation: jf-envelope-unfold var(--jf-envelope-duration, 3200ms) cubic-bezier(.4,.1,.22,1) both;
    animation-duration: var(--jf-envelope-duration, 3200ms) !important;
    animation-iteration-count: 1 !important;
}
.jf-envelope-flap-face {
    /* Trace of the photographed flap, including its rounded tip and shoulders.
       Both faces share the same silhouette and rotate as one physical fold. */
    clip-path: polygon(0 0,100% 0,99.7% 3.9%,99.1% 8.9%,97.5% 14.3%,94.6% 20.3%,87.3% 33.8%,78% 50.5%,68% 68.2%,58% 86.6%,51.5% 98.6%,50.5% 99.8%,49.7% 100%,48.9% 99%,41.4% 85.8%,31.5% 67.6%,21.5% 49.1%,11.6% 31%,5.2% 19.3%,2.4% 13.3%,.9% 7.5%,.3% 2.9%);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: url('envelope-cotton-closed-v1.webp') center top / 100% 148.14815% no-repeat;
}
.jf-envelope-flap-front { filter: none; }
.jf-envelope-flap-front::after {
    content: none;
}
.jf-envelope-flap-back {
    transform: rotateY(180deg);
}
.jf-envelope-seal {
    position: absolute;
    width: 13%;
    aspect-ratio: 189 / 192;
    left: 50%;
    bottom: -9%;
    transform: translateX(-50%) translateZ(2px);
    background: url('envelope-gold-seal.webp') center / contain no-repeat;
    filter: drop-shadow(1px 3px 2px rgba(93,62,13,.27));
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.jf-envelope-sr-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@keyframes jf-envelope-unfold {
    0%, 28% { transform: rotateX(0deg); }
    64%, 100% { transform: rotateX(174deg); }
}
@keyframes jf-envelope-contact-lift {
    0%,28% { opacity: 1; }
    46% { opacity: .2; }
    56%,100% { opacity: 0; }
}
@keyframes jf-envelope-exit {
    0%, 68% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(100dvh); }
}
@keyframes jf-envelope-letter {
    0%, 53% { opacity: 0; transform: translateY(90px) scale(.55); }
    54% { opacity: 1; transform: translateY(90px) scale(.55); }
    80% { opacity: 1; transform: translateY(-80px) scale(.55); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Explicit Local review controls are omitted from normal visits. */
.jf-envelope-review-controls {
    position: fixed;
    z-index: 100000;
    top: 8px;
    left: 8px;
    width: 112px;
    padding: 6px;
    color: #f8ebca;
    background: #123b2e;
    border: 1px solid #b99a5c;
    font: 10px/1.3 sans-serif;
}
.jf-envelope-review-controls button { display: block; width: 100%; font: inherit; margin: 4px 0; padding: 6px 2px; min-height: 28px; }
.jf-envelope-review-controls output { display: block; text-align: center; }
body.jf-envelope-frame-review .jf-envelope-anim,
body.jf-envelope-frame-review #jfas-modal .jf-natural-paper {
    animation-play-state: paused !important;
    animation-delay: var(--jf-envelope-seek, 0ms) !important;
}

