/* =============================================================================
   EbookState - Black Friday 30% Off bar + harvest accents (2026-11-16, v2)
   Design: James (UI) direction, with Ali's wording: "30% Off" everywhere,
   package prices unchanged, footer offer note, a few light animations.
   Removable: delete the <link>/<script> tags or these two files.
   Every rule hangs off body.es-season-2026, which ONLY /js/bf-banner-20261116.js
   adds (and never after 30 Nov 2026 23:59 America/New_York).
   No layout/copy/address/consent/redirect/tracking changes.
   ============================================================================= */
body.es-season-2026{
  /* --- colour tokens (James) --- */
  --es-bf-bar-bg:#241510;          /* harvest espresso */
  --es-bf-bar-text:#F6F0E4;        /* brand cream */
  --es-bf-bar-emphasis:#F4A340;    /* 30% Off / $349 / Nov 30 */
  --es-bf-btn-bg:#F4A340;
  --es-bf-btn-text:#0B1B3A;
  --es-bf-btn-hover-bg:#E8873A;
  --es-bf-btn-hover-text:#0B1B3A;
  --es-bf-focus:#F4A340;
  --es-bf-dismiss:#F6F0E4;
  --es-harvest-amber:#F4A340;
  --es-harvest-burnt:#C45C2A;
  --es-harvest-red:#8E2A24;
  --es-thanks:#E2D8C3;
  --es-off-bg:#8E2A24;             /* 30% OFF badge (cranberry) */
  --es-off-text:#F6F0E4;
  --es-was-color:#6B6F7B;          /* struck original price on cream */
  --es-was-color-dark:#C9CCD6;     /* struck original price on navy */
  --es-bf-rule:linear-gradient(90deg,#F4A340 0%,#C45C2A 55%,#8E2A24 100%);
  /* --- motion knobs (all off under prefers-reduced-motion) --- */
  --es-bf-rule-shine-speed:7s;     /* light sweep along the bar's 2px rule */
  --es-bf-btn-shine-speed:5s;      /* shine across Get My Quote */
  --es-bf-btn-glow-speed:3s;       /* soft glow pulse behind Get My Quote */
  --es-leaf-drift-speed:24s;       /* hero maple drift (James: 24s / 4px) */
  --es-leaf-sway-speed:9s;         /* hero oak + footer maple/sprig sway */
  --es-sparkle-speed:4.5s;         /* hero sparkles twinkle (opacity/scale) */
}
/* bar height, kept in sync by the JS ResizeObserver (on <html> so scroll-padding can use it) */
html{--es-bf-bar-h:0px}

/* ----- Promo bar ------------------------------------------------------------ */
body.es-season-2026 .es-season-bar{position:sticky;top:0;z-index:55;background:var(--es-bf-bar-bg);color:var(--es-bf-bar-text);font-family:Inter,system-ui,sans-serif;padding-bottom:2px;box-shadow:0 1px 0 rgba(36,21,16,.35);overflow:hidden}
body.es-season-2026 .es-season-bar *{box-sizing:border-box}
body.es-season-2026 .es-season-bar::before{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--es-bf-rule)}
body.es-season-2026 .es-season-bar::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:28%;background:linear-gradient(90deg,transparent,rgba(255,240,214,.95),transparent);transform:translateX(-110%);opacity:0;pointer-events:none}
body.es-season-2026 .es-season-bar__inner{max-width:1180px;margin:0 auto;padding:0 24px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:16px}
body.es-season-2026 .es-season-bar__copy{margin:0;font-size:14px;line-height:20px;font-weight:500;color:var(--es-bf-bar-text);text-align:center}
body.es-season-2026 .es-season-bar__copy strong{font-weight:700;letter-spacing:.01em}
body.es-season-2026 .es-season-bar__copy em{font-style:normal;font-weight:700;color:var(--es-bf-bar-emphasis)}
body.es-season-2026 .es-season-bar__cta{position:relative;isolation:isolate;flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 14px;background:var(--es-bf-btn-bg);color:var(--es-bf-btn-text);font:600 13px/1 Inter,system-ui,sans-serif;text-decoration:none;border:0;border-radius:0;white-space:nowrap;transition:background .2s ease,color .2s ease}
body.es-season-2026 .es-season-bar__cta:hover{background:var(--es-bf-btn-hover-bg);color:var(--es-bf-btn-hover-text)}
body.es-season-2026 .es-season-bar__cta:focus-visible,
body.es-season-2026 .es-season-bar__dismiss:focus-visible{outline:3px solid var(--es-bf-focus);outline-offset:3px}
body.es-season-2026 .es-season-bar__cta .es-season-shine{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
body.es-season-2026 .es-season-bar__cta .es-season-shine::after{content:"";position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);transform:translateX(-130%) skewX(-20deg)}
body.es-season-2026 .es-season-bar__cta::before{content:"";position:absolute;inset:-2px;z-index:-1;box-shadow:0 0 0 2px rgba(244,163,64,.45),0 0 16px 3px rgba(244,163,64,.45);opacity:0;pointer-events:none}
body.es-season-2026 .es-season-bar__dismiss{flex:none;width:32px;height:32px;margin-right:-6px;border:0;background:transparent;color:var(--es-bf-dismiss);font-size:22px;line-height:1;cursor:pointer;opacity:.85;padding:0}
body.es-season-2026 .es-season-bar__dismiss:hover{opacity:1}

/* Sticky nav (homepage) sits under the sticky bar; scroll targets clear both */
body.es-season-2026 > nav{top:var(--es-bf-bar-h)}
/* live site: html scroll-padding-top 88px, #heroForm scroll-margin-top 20px (measured 16 Nov); only the bar height is added */
html.es-season-bar-on{scroll-padding-top:calc(88px + var(--es-bf-bar-h))}

/* Tablet / phone (incl. 360-390px): copy row 1, CTA row 2 (44px tap target), dismiss top-right */
@media (max-width:900px){
  body.es-season-2026 .es-season-bar__inner{display:grid;grid-template-columns:1fr auto 32px;grid-template-areas:"copy copy dismiss" "cta cta dismiss";align-items:center;column-gap:10px;row-gap:8px;padding:8px 12px 10px;min-height:0}
  body.es-season-2026 .es-season-bar__copy{grid-area:copy;font-size:13px;line-height:18px;text-align:left}
  body.es-season-2026 .es-season-bar__cta{grid-area:cta;justify-self:start;min-height:44px;padding:10px 16px}
  body.es-season-2026 .es-season-bar__dismiss{grid-area:dismiss;align-self:start;justify-self:end;width:44px;height:44px;margin:-6px -6px 0 0}
}
@media (max-width:390px){body.es-season-2026 .es-season-bar__inner{padding:8px 10px 10px;column-gap:8px}body.es-season-2026 .es-season-bar__dismiss{margin:-6px -2px 0 0}}

/* Checkout (/pay/): bar only - static, not sticky, no CTA, no other accents */
body.es-season-2026.es-season-pay .es-season-bar{position:relative}
body.es-season-2026.es-season-pay .es-season-bar__inner{display:flex}
@media (max-width:900px){body.es-season-2026.es-season-pay .es-season-bar__inner{display:grid;grid-template-areas:"copy copy dismiss";row-gap:0}}

/* ----- Harvest accents on existing CTAs (shadow only) + nav hairline -------- */
body.es-season-2026:not(.es-season-pay) .btn-p{box-shadow:0 8px 24px rgba(196,92,42,.28)}
body.es-season-2026:not(.es-season-pay) .btn-p:hover{box-shadow:0 12px 30px rgba(142,42,36,.28)}
body.es-season-2026 > nav{box-shadow:0 2px 0 var(--es-harvest-burnt)}

/* ----- Decorative leaves (original motifs, aria-hidden, pointer-events none) - */
body.es-season-2026 .es-season-deco{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
body.es-season-2026 .es-season-leaf{position:absolute;pointer-events:none;overflow:visible;display:block;height:auto}
body.es-season-2026 .hero .es-season-leaf--maple-tl{top:18px;left:18px;width:96px;color:var(--es-harvest-burnt);opacity:.22;transform:rotate(-18deg)}
body.es-season-2026 .hero .es-season-leaf--oak-br{bottom:22%;right:18px;width:84px;color:var(--es-harvest-red);opacity:.20;transform:rotate(16deg);transform-origin:50% 90%}
body.es-season-2026 .hero .es-season-spark{position:absolute;width:10px;height:10px;color:var(--es-harvest-amber);opacity:0;transform:scale(.6)}
body.es-season-2026 .hero .es-season-spark:nth-of-type(1){top:128px;left:104px}
body.es-season-2026 .hero .es-season-spark:nth-of-type(2){top:40px;left:132px;width:7px;height:7px}
body.es-season-2026 .hero .es-season-spark:nth-of-type(3){bottom:calc(22% + 104px);right:40px;width:8px;height:8px}
body.es-season-2026 .hero .es-season-spark:nth-of-type(4){bottom:calc(22% - 22px);right:96px;width:6px;height:6px}
body.es-season-2026 footer{position:relative}
body.es-season-2026 footer .es-season-deco{z-index:0}
body.es-season-2026 footer .es-season-leaf--ft-maple{top:18px;right:4%;width:100px;color:var(--es-harvest-amber);opacity:.48;transform:rotate(14deg);transform-origin:50% 95%}
body.es-season-2026 footer .es-season-leaf--ft-sprig{top:28px;right:13%;width:42px;color:#E8873A;opacity:.55;transform:rotate(8deg);transform-origin:50% 100%}
body.es-season-2026 footer .fg,body.es-season-2026 footer .es-pay-row,body.es-season-2026 footer .copy,body.es-season-2026 footer .flag-rule,body.es-season-2026 footer .tdx-bill{position:relative;z-index:1}
/* footer offer note, under the studio blurb */
body.es-season-2026 .es-season-thanks{margin:14px 0 0;max-width:300px;font:italic 600 15px/1.4 "Playfair Display",Georgia,serif;color:var(--es-thanks);letter-spacing:.01em}
body.es-season-2026 .es-season-thanks span{display:block;margin-top:2px;font:400 13px/1.45 Inter,system-ui,sans-serif;font-style:normal;color:var(--es-thanks);opacity:.85}
@media (max-width:720px){
  body.es-season-2026 .hero .es-season-deco{display:none}
  body.es-season-2026 footer .es-season-leaf--ft-maple{width:56px;opacity:.32;right:4%}
  body.es-season-2026 footer .es-season-leaf--ft-sprig{display:none}
  body.es-season-2026 .es-season-thanks{font-size:14px}
}

/* ----- A few light animations (transform/opacity only) ---------------------- */
@keyframes es-season-rule{0%{transform:translateX(-110%);opacity:0}8%{opacity:1}55%{transform:translateX(380%);opacity:1}60%,100%{transform:translateX(380%);opacity:0}}
@keyframes es-season-shine{0%,60%{transform:translateX(-130%) skewX(-20deg)}82%,100%{transform:translateX(330%) skewX(-20deg)}}
@keyframes es-season-glow{0%,100%{opacity:0}50%{opacity:1}}
@keyframes es-season-drift{0%,100%{transform:rotate(-18deg) translateY(0)}50%{transform:rotate(-18deg) translateY(4px)}}
@keyframes es-season-sway-oak{0%,100%{transform:rotate(16deg)}50%{transform:rotate(22deg)}}
@keyframes es-season-sway-ft{0%,100%{transform:rotate(14deg)}50%{transform:rotate(19deg)}}
@keyframes es-season-sway-sprig{0%,100%{transform:rotate(8deg)}50%{transform:rotate(3deg)}}
@keyframes es-season-twinkle{0%,100%{opacity:0;transform:scale(.6)}45%{opacity:.75;transform:scale(1)}70%{opacity:0;transform:scale(.6)}}
@media (prefers-reduced-motion:no-preference){
  body.es-season-2026:not(.es-season-pay) .es-season-bar::after{animation:es-season-rule var(--es-bf-rule-shine-speed) ease-in-out 1.5s infinite}
  body.es-season-2026 .es-season-bar__cta .es-season-shine::after{animation:es-season-shine var(--es-bf-btn-shine-speed) ease-in-out infinite}
  body.es-season-2026 .es-season-bar__cta::before{animation:es-season-glow var(--es-bf-btn-glow-speed) ease-in-out infinite}
  body.es-season-2026 .hero .es-season-leaf--maple-tl{animation:es-season-drift var(--es-leaf-drift-speed) ease-in-out infinite}
  body.es-season-2026 .hero .es-season-leaf--oak-br{animation:es-season-sway-oak var(--es-leaf-sway-speed) ease-in-out infinite}
  body.es-season-2026 .hero .es-season-spark{animation:es-season-twinkle var(--es-sparkle-speed) ease-in-out infinite}
  body.es-season-2026 .hero .es-season-spark:nth-of-type(2){animation-delay:-1.2s}
  body.es-season-2026 .hero .es-season-spark:nth-of-type(3){animation-delay:-2.4s}
  body.es-season-2026 .hero .es-season-spark:nth-of-type(4){animation-delay:-3.4s}
  body.es-season-2026 footer .es-season-leaf--ft-maple{animation:es-season-sway-ft calc(var(--es-leaf-sway-speed) * 1.2) ease-in-out infinite}
  body.es-season-2026 footer .es-season-leaf--ft-sprig{animation:es-season-sway-sprig var(--es-leaf-sway-speed) ease-in-out -2s infinite}
}
/* reduced motion = fully static (no rules above apply); hide the twinkles entirely */
@media (prefers-reduced-motion:reduce){body.es-season-2026 .hero .es-season-spark{display:none}body.es-season-2026 .es-season-bar__cta{transition:none}}

/* ----- 30% OFF price display (inserted elements only; prices unchanged) ----- */
body.es-season-2026 .es-season-vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.es-season-2026 .es-season-was{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;font:500 15px/1.2 Inter,system-ui,sans-serif;color:var(--es-was-color);vertical-align:middle}
body.es-season-2026 .es-season-was s{text-decoration-thickness:2px;text-decoration-color:var(--es-harvest-red)}
body.es-season-2026 .es-season-off{display:inline-block;padding:3px 7px;background:var(--es-off-bg);color:var(--es-off-text);font:700 11px/1.1 Inter,system-ui,sans-serif;letter-spacing:.06em;border-radius:0;white-space:nowrap}
body.es-season-2026 .es-season-was--card{display:flex;margin:6px 0 4px}
body.es-season-2026 .es-season-was--hero{color:var(--es-was-color-dark);font-size:14px}
body.es-season-2026 .es-season-was--hero s{text-decoration-color:#F4A340}
body.es-season-2026 .es-season-was--hero .es-season-off{background:#F4A340;color:#0B1B3A}
body.es-season-2026 .es-season-was--inline{margin-right:6px;font-size:.8em}
body.es-season-2026 .es-season-was--inline .es-season-off{font-size:10px}
body.es-season-2026 .es-season-was--pkp{margin-right:auto;margin-left:10px;font-size:13px;color:inherit;opacity:.9}
body.es-season-2026 .es-season-paywas{margin:6px 0 0}
body.es-season-2026 .es-season-was--pay{font-size:13px}
@media (prefers-reduced-motion:no-preference){
  @keyframes es-season-off-pop{0%,88%,100%{transform:scale(1)}94%{transform:scale(1.08)}}
  body.es-season-2026 .es-season-was--card .es-season-off{animation:es-season-off-pop 6s ease-in-out 1s infinite}
}

/* =============================================================================
   2026-11-27 EbookState Christmas Sale (30% Off, ends 26 Dec 2026 23:59 ET).
   Appended to this file so every page that already loads it gets the festive look.
   Every rule hangs off body.es-xmas-2026, which ONLY /js/bf-banner-20261116.js (and the
   homepage bundle) add, never after the END. Prices, forms, tracking untouched.
   ============================================================================= */
body.es-xmas-2026{
  --es-bf-bar-bg:linear-gradient(90deg,#7E141C 0%,#A51F28 45%,#7E141C 100%);
  --es-bf-bar-text:#FFF6E8;
  --es-bf-bar-emphasis:#F6D58B;
  --es-bf-btn-bg:#F6D58B;
  --es-bf-btn-text:#4A0D12;
  --es-bf-btn-hover-bg:#FFE6A8;
  --es-bf-btn-hover-text:#4A0D12;
  --es-bf-focus:#F6D58B;
  --es-bf-dismiss:#FFF6E8;
  --es-harvest-amber:#D8A845;
  --es-harvest-burnt:#1F6B45;
  --es-harvest-red:#A51F28;
  --es-thanks:#F3E3BD;
  --es-off-bg:#A51F28;
  --es-off-text:#FFF6E8;
  --es-bf-rule:linear-gradient(90deg,#1F6B45 0%,#D8A845 50%,#1F6B45 100%);
  --xm-red:#A51F28;--xm-green:#1F6B45;--xm-gold:#D8A845;--xm-cream:#FFF8EC
}
body.es-xmas-2026 .es-season-bar{background:var(--es-bf-bar-bg)}
/* candy-stripe hairline under the bar */
body.es-xmas-2026 .es-season-bar::before{height:3px;background:repeating-linear-gradient(135deg,#FFF6E8 0 6px,#A51F28 6px 12px,#1F6B45 12px 18px)}
@media (max-width:1099px){html.esb-ready body.es-xmas-2026 .es-season-bar__copy strong em{background:#F6D58B;color:#4A0D12}}

/* ---------- hero: snow, holly, hanging ornaments ---------- */
body.es-xmas-2026 header.hero{background-image:radial-gradient(1200px 420px at 50% -60px,rgba(165,31,40,.10),rgba(165,31,40,0) 70%),radial-gradient(700px 300px at 8% 30%,rgba(31,107,69,.08),rgba(31,107,69,0) 70%),radial-gradient(700px 300px at 92% 30%,rgba(216,168,69,.12),rgba(216,168,69,0) 70%)}
body.es-xmas-2026 .glow:before{background:radial-gradient(circle,rgba(216,168,69,.22) 0%,rgba(165,31,40,.06) 40%,rgba(216,168,69,0) 70%)}
body.es-xmas-2026 .lf svg{fill:none}
body.es-xmas-2026 .lf1 svg,body.es-xmas-2026 .lf4 svg,body.es-xmas-2026 .lf7 svg{color:#9FB3CF}
body.es-xmas-2026 .lf2 svg,body.es-xmas-2026 .lf5 svg,body.es-xmas-2026 .lf8 svg{color:#C9D5E6}
body.es-xmas-2026 .lf3 svg,body.es-xmas-2026 .lf6 svg,body.es-xmas-2026 .lf9 svg{color:#D8A845}
body.es-xmas-2026 .es-xmas-holly{position:absolute;display:block;height:auto;pointer-events:none}
body.es-xmas-2026 .hero .es-xmas-holly--tl{top:14px;left:18px;width:128px;opacity:.9;transform:rotate(-14deg)}
body.es-xmas-2026 .es-xmas-hang{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;pointer-events:none;transform-origin:50% 0}
body.es-xmas-2026 .es-xmas-hang i{display:block;width:1px;height:var(--h);background:linear-gradient(#D8A845,rgba(216,168,69,.4))}
body.es-xmas-2026 .es-xmas-hang .es-xmas-orn{width:26px;height:auto;margin-top:-1px;filter:drop-shadow(0 6px 8px rgba(11,27,58,.18))}
body.es-xmas-2026 .es-xmas-hang--1{right:9%}
body.es-xmas-2026 .es-xmas-hang--2{right:5.5%}
body.es-xmas-2026 .es-xmas-hang--2 .es-xmas-orn{width:20px}
body.es-xmas-2026 .es-xmas-hang--3{right:2.5%}
body.es-xmas-2026 .es-xmas-hang--3 .es-xmas-orn{width:16px}
body.es-xmas-2026 .hero .es-season-spark{color:#D8A845}

/* hero promo ribbon */
body.es-xmas-2026 .es-xmas-ribbon{position:relative;z-index:3;display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:6px 14px;margin:14px auto 0;padding:7px 8px 7px 7px;border-radius:999px;background:#fff;border:1px solid rgba(165,31,40,.22);box-shadow:0 10px 26px -14px rgba(126,20,28,.45);font:500 14px/1.3 Inter,system-ui,sans-serif;color:#0B1B3A}
body.es-xmas-2026 .es-xmas-ribbon__tag{display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 8px;border-radius:999px;background:linear-gradient(90deg,#7E141C,#A51F28);color:#FFF6E8;font:700 12px/1 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
body.es-xmas-2026 .es-xmas-ribbon__tag .es-xmas-orn{width:13px;height:auto;color:#F6D58B}
body.es-xmas-2026 .es-xmas-ribbon b{color:#A51F28;font-weight:800}
body.es-xmas-2026 .es-xmas-ribbon s{color:#6B6F7B;text-decoration-color:#A51F28;text-decoration-thickness:2px}
body.es-xmas-2026 .es-xmas-ribbon__end{padding:5px 12px;border-radius:999px;background:rgba(31,107,69,.10);color:#174F33;font-weight:600;font-size:13px}
body.es-xmas-2026 .es-xmas-ribbon__end b{color:#174F33}
body.es-xmas-2026 .hero-top{text-align:center}

/* ---------- pricing ---------- */
body.es-xmas-2026 .es-xmas-pricing{position:relative;display:flex;align-items:center;gap:16px;margin:26px 0 6px;padding:16px 22px 16px 16px;border-radius:18px;background:linear-gradient(100deg,#7E141C 0%,#A51F28 55%,#8B1A22 100%);color:#FFF6E8;overflow:hidden;box-shadow:0 18px 40px -24px rgba(126,20,28,.7)}
body.es-xmas-2026 .es-xmas-pricing:after{content:"";position:absolute;inset:auto 0 0 0;height:4px;background:repeating-linear-gradient(135deg,#FFF6E8 0 6px,#1F6B45 6px 12px,#D8A845 12px 18px)}
body.es-xmas-2026 .es-xmas-pricing strong{display:block;font:700 20px/1.25 "Playfair Display",Georgia,serif;color:#fff}
body.es-xmas-2026 .es-xmas-pricing span{display:block;margin-top:4px;font:500 14px/1.45 Inter,system-ui,sans-serif;color:#F3E3BD}
body.es-xmas-2026 .es-xmas-holly--pr{position:relative!important;flex:none;width:86px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.25))}
body.es-xmas-2026 .author-plan{position:relative;overflow:visible}
body.es-xmas-2026 .es-xmas-badge{position:absolute;top:-13px;right:18px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 9px;border-radius:999px;background:linear-gradient(90deg,#1F6B45,#2E8A5A);color:#FFF6E8;font:700 11.5px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 8px 18px -8px rgba(23,79,51,.7)}
body.es-xmas-2026 .es-xmas-badge .es-xmas-orn{width:13px;height:auto;color:#F6D58B}
body.es-xmas-2026 .author-plan:nth-child(2) .es-xmas-badge{background:linear-gradient(90deg,#B98A2E,#D8A845);color:#2A1606}
body.es-xmas-2026 .author-plan:nth-child(2) .es-xmas-badge .es-xmas-orn{color:#A51F28}
body.es-xmas-2026 .author-plan:nth-child(2){box-shadow:0 0 0 2px rgba(216,168,69,.55),0 30px 60px -30px rgba(11,27,58,.6)}

/* ---------- footer ---------- */
body.es-xmas-2026 footer .es-xmas-holly--ft{top:18px;right:4%;width:120px;opacity:.75;transform:rotate(10deg)}
body.es-xmas-2026 .es-season-thanks{color:#F3E3BD}

/* ---------- motion: gentle ornament sway only when allowed ---------- */
@media (prefers-reduced-motion:no-preference){
  @keyframes es-xmas-sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
  body.es-xmas-2026 .es-xmas-hang{animation:es-xmas-sway 6s ease-in-out infinite}
  body.es-xmas-2026 .es-xmas-hang--2{animation-duration:7.5s;animation-delay:-2s}
  body.es-xmas-2026 .es-xmas-hang--3{animation-duration:5.2s;animation-delay:-1s}
}
@media (prefers-reduced-motion:reduce){body.es-xmas-2026 .lf{opacity:.5}}

/* ---------- tablet / phone ---------- */
@media (max-width:1100px){
  body.es-xmas-2026 .hero .es-xmas-holly--tl{width:84px;top:8px;left:8px;opacity:.75}
  body.es-xmas-2026 .es-xmas-hang--2{display:none}
}
@media (max-width:760px){
  body.es-xmas-2026 .hero .es-season-deco{display:block}
  body.es-xmas-2026 .hero .es-season-spark,body.es-xmas-2026 .es-xmas-hang--3{display:none}
  body.es-xmas-2026 .hero .es-xmas-holly--tl{width:64px;top:6px;left:4px;opacity:.6}
  body.es-xmas-2026 .es-xmas-hang--1{right:5%}
  body.es-xmas-2026 .es-xmas-hang--1 i{height:26px}
  body.es-xmas-2026 .es-xmas-hang--1 .es-xmas-orn{width:18px}
  body.es-xmas-2026 .es-xmas-ribbon{display:flex;max-width:360px;border-radius:16px;gap:6px 8px;padding:8px 10px;font-size:13.5px;margin:12px auto 22px}
  body.es-xmas-2026 .es-xmas-ribbon__ex{display:none}
  body.es-xmas-2026 .es-xmas-ribbon__end{font-size:12.5px;padding:4px 10px}
  body.es-xmas-2026 .es-xmas-pricing{align-items:flex-start;gap:10px;padding:14px 14px 16px 10px;border-radius:14px}
  body.es-xmas-2026 .es-xmas-holly--pr{width:54px}
  body.es-xmas-2026 .es-xmas-pricing strong{font-size:17px}
  body.es-xmas-2026 .es-xmas-pricing span{font-size:13px}
  body.es-xmas-2026 footer .es-xmas-holly--ft{width:64px;opacity:.5}
}
@media print{body.es-xmas-2026 .es-xmas-deco,body.es-xmas-2026 .es-xmas-ribbon,body.es-xmas-2026 .es-xmas-badge{display:none!important}}

/* ---------- v2 (27 Nov): Santa, Christmas notes, gift tags, music toggle ---------- */
body.es-xmas-2026 .es-xmas-santa{position:absolute;z-index:2;left:max(24px,calc(50% - 690px));top:150px;width:132px;pointer-events:none;filter:drop-shadow(0 14px 18px rgba(11,27,58,.18))}
body.es-xmas-2026 .es-xmas-santa img{display:block;width:100%;height:auto;transform-origin:50% 95%}
body.es-xmas-2026 .es-xmas-note{position:absolute;z-index:2;right:max(24px,calc(50% - 690px));top:168px;width:176px;padding:16px 14px 12px;background:#FFFDF7;border:1px solid #EADBB8;border-radius:6px;box-shadow:0 16px 30px -18px rgba(11,27,58,.45);transform:rotate(4deg);text-align:center;pointer-events:none}
body.es-xmas-2026 .es-xmas-note strong{display:block;font:italic 700 20px/1.15 "Playfair Display",Georgia,serif;color:#A51F28}
body.es-xmas-2026 .es-xmas-note span:not(.es-xmas-note__pin){display:block;margin-top:4px;font:500 12.5px/1.35 Inter,system-ui,sans-serif;color:#174F33}
body.es-xmas-2026 .es-xmas-note__pin{position:absolute;top:-7px;left:50%;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#F6D58B,#B98A2E);box-shadow:0 2px 3px rgba(0,0,0,.25)}
body.es-xmas-2026 .es-xmas-ribbon__santa,body.es-xmas-2026 .es-xmas-ribbon__note{display:none}
/* gift tags on the pricing strip */
body.es-xmas-2026 .es-xmas-pricing > div:not(.es-xmas-tags){flex:1 1 auto;min-width:0}
body.es-xmas-2026 .es-xmas-tags{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}
body.es-xmas-2026 .es-xmas-pricing .es-xmas-tag{position:relative;display:inline-block;margin:0;padding:7px 14px 7px 24px;background:#FFF8EC;color:#7E141C;font:700 12.5px/1.2 Inter,system-ui,sans-serif;clip-path:polygon(12px 0,100% 0,100% 100%,12px 100%,0 50%);white-space:nowrap}
body.es-xmas-2026 .es-xmas-pricing .es-xmas-tag:before{content:"";position:absolute;left:10px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#A51F28}
body.es-xmas-2026 .es-xmas-pricing .es-xmas-tag--gold{background:#F6D58B;color:#4A0D12;transform:rotate(-2deg)}
/* music toggle: bottom-left, above the WhatsApp button (desktop) / above the sticky CTA bar (phones) */
body.es-xmas-2026 .es-xmas-sound{position:fixed;z-index:60;left:22px;bottom:152px;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 13px 8px 10px;border:1px solid rgba(216,168,69,.7);border-radius:999px;background:#7E141C;color:#FFF6E8;font:600 12.5px/1 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 10px 24px -12px rgba(126,20,28,.8)}
body.es-xmas-2026 .es-xmas-sound svg{width:18px;height:18px;color:#F6D58B}
body.es-xmas-2026 .es-xmas-sound[aria-pressed=false]{background:#2A3A5F;border-color:rgba(255,255,255,.35)}
body.es-xmas-2026 .es-xmas-sound:focus-visible{outline:3px solid #F6D58B;outline-offset:3px}
@media (prefers-reduced-motion:no-preference){
  @keyframes es-xmas-wave{0%,100%{transform:rotate(0)}50%{transform:rotate(-4deg)}}
  @keyframes es-xmas-note-in{0%,100%{transform:rotate(4deg) translateY(0)}50%{transform:rotate(3deg) translateY(-3px)}}
  body.es-xmas-2026 .es-xmas-santa img{animation:es-xmas-wave 3.2s ease-in-out infinite}
  body.es-xmas-2026 .es-xmas-note{animation:es-xmas-note-in 6s ease-in-out infinite}
  body.es-xmas-2026 .es-xmas-sound.is-playing svg{animation:es-xmas-wave 1s ease-in-out infinite}
}
@media (max-width:1240px){body.es-xmas-2026 .es-xmas-note{display:none}body.es-xmas-2026 .es-xmas-santa{width:100px;top:170px;left:12px}}
@media (max-width:960px){
  body.es-xmas-2026 .es-xmas-santa{display:none}
  body.es-xmas-2026 .es-xmas-ribbon{position:relative;padding-left:70px!important;justify-content:flex-start!important;text-align:left}
  body.es-xmas-2026 .es-xmas-ribbon__santa{display:block;position:absolute;left:10px;top:50%;width:52px;height:auto;transform:translateY(-50%)}
  body.es-xmas-2026 .es-xmas-ribbon__note{display:block;width:100%;font:italic 700 15px/1.2 "Playfair Display",Georgia,serif;color:#A51F28}
  body.es-xmas-2026 .es-xmas-pricing{flex-wrap:wrap}
  body.es-xmas-2026 .es-xmas-tags{flex-direction:row;flex-wrap:wrap;align-items:center;width:100%;padding-left:0;gap:8px 10px}
  body.es-xmas-2026 .es-xmas-pricing .es-xmas-tag{font-size:12px;padding:6px 12px 6px 22px}
  body.es-xmas-2026 .es-xmas-sound{left:8px;bottom:calc(86px + env(safe-area-inset-bottom,0px));min-height:38px;width:38px;padding:0;justify-content:center}
  body.es-xmas-2026 .es-xmas-sound span{display:none}
}
@media print{body.es-xmas-2026 .es-xmas-santa,body.es-xmas-2026 .es-xmas-note,body.es-xmas-2026 .es-xmas-sound,body.es-xmas-2026 .es-xmas-tags{display:none!important}}

/* ---------- v3 (27 Nov): visible snowfall + livelier Santa ---------- */
body.es-xmas-2026 .leaves{display:none!important}
body.es-xmas-2026 .es-xmas-snow{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
body.es-xmas-2026 .es-xmas-snow i{position:absolute;top:-40px;display:block;color:#5F7FB3;opacity:0;filter:drop-shadow(0 0 1px #fff) drop-shadow(0 2px 3px rgba(11,27,58,.12))}
body.es-xmas-2026 .es-xmas-snow i:nth-child(3n){color:#8AA3CC}
body.es-xmas-2026 .es-xmas-snow i:nth-child(4n){color:#C9A24A}
body.es-xmas-2026 .es-xmas-snow svg{display:block;width:100%;height:auto}
@media (prefers-reduced-motion:no-preference){
  @keyframes es-xmas-snowfall{0%{transform:translate3d(0,0,0) rotate(0);opacity:0}6%{opacity:.95}50%{transform:translate3d(26px,520px,0) rotate(180deg)}90%{opacity:.8}100%{transform:translate3d(-14px,1080px,0) rotate(360deg);opacity:0}}
  body.es-xmas-2026 .es-xmas-snow i{animation:es-xmas-snowfall linear infinite;will-change:transform}
  @keyframes es-xmas-santa{0%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-4px) rotate(-2deg)}40%{transform:translateY(0) rotate(1deg)}
    70%{transform:translateY(0) rotate(0)}76%{transform:translateY(-14px) rotate(-5deg)}82%{transform:translateY(0) rotate(3deg)}86%{transform:translateY(-5px) rotate(0)}90%{transform:translateY(0)}}
  body.es-xmas-2026 .es-xmas-santa img,body.es-xmas-2026 .es-xmas-ribbon__santa img{animation:es-xmas-santa 5s ease-in-out infinite}
  body.es-xmas-2026 .es-xmas-ribbon__santa{animation:es-xmas-santa-m 5s ease-in-out infinite}
  @keyframes es-xmas-santa-m{0%,70%,90%,100%{transform:translateY(-50%) rotate(0)}76%{transform:translateY(calc(-50% - 9px)) rotate(-5deg)}82%{transform:translateY(-50%) rotate(3deg)}}
}
@media (prefers-reduced-motion:reduce){body.es-xmas-2026 .es-xmas-snow i{opacity:.55;animation:none}body.es-xmas-2026 .es-xmas-snow i:nth-child(n+5){display:none}
  body.es-xmas-2026 .es-xmas-snow i:nth-child(1){top:18%}body.es-xmas-2026 .es-xmas-snow i:nth-child(2){top:40%}body.es-xmas-2026 .es-xmas-snow i:nth-child(3){top:26%}body.es-xmas-2026 .es-xmas-snow i:nth-child(4){top:55%}}
@media (max-width:760px){
  body.es-xmas-2026 .es-xmas-snow i:nth-child(2n):not(:nth-child(14)){display:none}
  body.es-xmas-2026 .es-xmas-snow i{max-width:22px}
  /* mute toggle as a slim edge tab so it barely meets the quote form edge */
  body.es-xmas-2026 .es-xmas-sound{left:0;width:30px;min-height:36px;border-left:0;border-radius:0 18px 18px 0;padding:0 2px 0 0}
  body.es-xmas-2026 .es-xmas-sound svg{width:16px;height:16px}
}
