/* =========================================================
   The Back Alley Café — pastel Christmas, site-wide (Nov – 6 Jan)
   Only active while christmas.js has put class "christmas" on <html>,
   so on 7 January everything returns to the usual look by itself.

   Pages: menu, My Account, checkout (light touch), gift card, promos,
   data privacy. The Membership page is left as it is.
   Palette from the December design: plum ink, dusty rose, sage,
   soft gold, powder blue, cream.
   ========================================================= */

html.christmas {
  --xs-ink: #4A3639; --xs-ink-2: #5C4649; --xs-muted: #6E5458;
  --xs-rose: #A24E55; --xs-rose-d: #8C4148; --xs-rose-2: #DC8C8C; --xs-rose-3: #E29A9A; --xs-rose-bg: #F8E3E1;
  --xs-sage: #4E7A62; --xs-sage-2: #9FC0AC; --xs-sage-bg: #E6F0EA;
  --xs-gold: #DBB974; --xs-gold-2: #C9A45C; --xs-gold-bg: #F7EDD6;
  --xs-blue: #9DC2D6; --xs-blue-2: #C3D8E4; --xs-blue-bg: #E7F0F5;
  --xs-cream: #FFFCF9; --xs-line: #F0DCD8; --xs-line-2: #E5C2C1;
  --xs-shadow: 0 1px 2px rgba(74,54,57,.05), 0 16px 36px -24px rgba(74,54,57,.38);
  --xs-snow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='104' viewBox='0 0 104 104'%3E%3Cg stroke='%239DC2D6' stroke-width='1.6' stroke-linecap='round' fill='none'%3E%3Cpath d='M26 16v20M17.3 21l17.4 10M17.3 31l17.4-10'/%3E%3Cpath d='M78 62v16M71 66l14 8M71 74l14-8'/%3E%3C/g%3E%3Ccircle cx='80' cy='22' r='2' fill='%239DC2D6'/%3E%3Ccircle cx='24' cy='80' r='1.6' fill='%239DC2D6'/%3E%3C/svg%3E");
  --xs-bg:
    radial-gradient(60% 50% at 0% 0%, rgba(255,252,249,.95), rgba(255,252,249,0) 70%),
    radial-gradient(55% 45% at 100% 100%, rgba(206,230,216,.7), rgba(206,230,216,0) 70%),
    linear-gradient(118deg, #FEF9F5, #FBEEEA 46%, #F2E8EC);
}

/* ---------- 1. Colours for the full-theme pages ---------- */
html.christmas:not([data-xs="checkout"]) {
  --bg: #FFFCF9; --bg-alt: #FBF1EE; --bg-soft: #FFF7F3;
  --text: #4A3639; --text-2: #5C4649; --text-3: #6E5458;
  --border: #F0DCD8; --border-2: #E5C2C1;
  --accent: #A24E55; --accent-dark: #8C4148; --accent-soft: #F8E3E1;
  --silver: #DBB974; --silver-light: #EFE0C4;
  color-scheme: light;
  --xm-gift-z: -1; --xm-snow-z: -1;
}

/* ---------- 2. Pastel background with the snowflake wallpaper ---------- */
/* On <html>, so the snow and icons (drawn behind the page) show through the body. */
html.christmas { background: var(--xs-bg) #FBEEEA; background-attachment: fixed; }
html.christmas body:not(.lux) { background: transparent !important; }
html.christmas body:not(.lux)::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .42;
  background-image: var(--xs-snow); background-size: 104px 104px;
}
html.christmas .bg-layer { background: none !important; }
html.christmas .leaf-fall { display: none !important; }

/* ---------- 3. Christmas lights: pastel bulbs ---------- */
html.christmas .xmas-lights::before { border-color: rgba(201,164,92,.55) !important; background-color: transparent; }
html.christmas .xmas-bulb::before { background: #D9C7A8 !important; }
html.christmas .xmas-bulb:nth-child(4n+1) { background: #EDA7A7 !important; box-shadow: 0 0 8px 2px rgba(226,154,154,.6) !important; }
html.christmas .xmas-bulb:nth-child(4n+2) { background: #A9CBB6 !important; box-shadow: 0 0 8px 2px rgba(159,192,172,.65) !important; }
html.christmas .xmas-bulb:nth-child(4n+3) { background: #EBD08E !important; box-shadow: 0 0 8px 2px rgba(219,185,116,.65) !important; }
html.christmas .xmas-bulb:nth-child(4n+4) { background: #B5D3E3 !important; box-shadow: 0 0 8px 2px rgba(157,194,214,.7) !important; }

/* ---------- 4. Pop-ups: a cap of snow on top, slowly melting ---------- */
.xm-snowcap { position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 5; pointer-events: none; border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='26' viewBox='0 0 160 26'%3E%3Cpath d='M0 0h160v8c-6 4-12 5-18 3-5 6-12 6-16 1-6 5-14 5-19-1-4 3-9 3-12-1-6 6-15 6-20 0-5 4-11 4-15-1-6 5-13 5-17-1-6 4-12 4-17 0-4 3-9 4-14 1-5 4-10 4-12 0V0z' fill='%23FFFFFF'/%3E%3Cpath d='M0 8c5 4 10 4 12 0 3 3 8 2 14-1 4 6 11 6 17 1 4 6 11 6 17 1 4 5 10 5 15 1 5 6 14 6 20 0 3 4 8 4 12 1 5 6 13 6 19 1 4 5 11 5 16-1 6 2 12 1 18-3' stroke='%23DCEBF2' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") repeat-x 0 0 / 160px 26px;
  filter: drop-shadow(0 2px 2px rgba(157,194,214,.35)); }
.xm-snowcap i { position: absolute; top: 9px; width: 4px; height: 7px; border-radius: 2px 2px 4px 4px; background: linear-gradient(#FFFFFF, #CFE3EE);
  transform-origin: 50% 0; animation: xmDrip 5.5s ease-in infinite; opacity: 0; }
.xm-snowcap i:nth-child(1) { left: 14%; animation-delay: .2s; }
.xm-snowcap i:nth-child(2) { left: 37%; animation-delay: 2.1s; }
.xm-snowcap i:nth-child(3) { left: 63%; animation-delay: 3.6s; }
.xm-snowcap i:nth-child(4) { left: 86%; animation-delay: 1.2s; }
@keyframes xmDrip {
  0% { opacity: 0; transform: translateY(0) scaleY(.4); }
  12% { opacity: 1; transform: translateY(0) scaleY(1); }
  55% { opacity: 1; transform: translateY(2px) scaleY(1.5); }
  80% { opacity: .8; transform: translateY(18px) scaleY(1); }
  100% { opacity: 0; transform: translateY(30px) scaleY(.8); }
}
html.christmas .modal-content, html.christmas .blend-sheet-panel, html.christmas .sheet-card { position: relative; }
html.christmas .modal-content .modal-header, html.christmas .sheet-card .sheet-head, html.christmas .blend-sheet-head { padding-top: max(26px, 1em); }
/* A blush band under the snow so the white cap reads */
html.christmas .modal-content > .modal-header, html.christmas .blend-sheet-head { background: linear-gradient(180deg, #F8E3E1, #FFFCF9) !important; }
html.christmas .modal-content.gate-card { background: linear-gradient(180deg, #F8E3E1 0, #FFFCF9 90px) !important; }
html.christmas .sheet-card { background: linear-gradient(180deg, #F8E3E1 0, #FFFCF9 80px) !important; }

/* ---------- 5. Pastel icons around the edges (from christmas.js) ---------- */
html.christmas .xp-scatter { z-index: var(--xm-snow-z, -1); }
@media (max-width: 760px) { html.christmas .xp-scatter .xp-ico { opacity: .75; } }

/* =========================================================
   MENU PAGE
   ========================================================= */
html.christmas main { background: rgba(255,252,249,.9) !important; box-shadow: var(--xs-shadow); }
html.christmas .site-header { background: rgba(255,252,249,.94); }
html.christmas .hero { background: var(--xs-cream) !important; border: 1px solid var(--xs-line) !important; box-shadow: var(--xs-shadow) !important; }

/* Category tabs: cream pills; the chosen one is rose with snow on top */
html.christmas .tab { background: rgba(255,252,249,.96) !important; border-color: var(--xs-line-2) !important; color: var(--xs-ink) !important; position: relative; }
html.christmas .tab:hover { border-color: var(--xs-rose-2) !important; }
html.christmas .tab.active { background: var(--xs-rose) !important; border-color: var(--xs-rose) !important; color: #fff !important; }


/* Menu cards */
html.christmas .menu-card { border-color: var(--xs-line) !important; box-shadow: 0 1px 2px rgba(74,54,57,.04), 0 10px 24px -20px rgba(74,54,57,.4); }
html.christmas .menu-card:hover { border-color: var(--xs-rose-3) !important; }

/* Size and option pills: cream, chosen ones in candy-cane rose with a snowflake */
html.christmas .customize-size, html.christmas .blend-opt, html.christmas .milk-select { background: var(--xs-cream) !important; border: 1.5px solid var(--xs-line-2) !important; color: var(--xs-ink) !important; position: relative; }
html.christmas .customize-size:hover, html.christmas .blend-opt:hover { border-color: var(--xs-rose-2) !important; }
html.christmas .customize-size .size-price { color: var(--xs-rose) !important; }
html.christmas .size-option { background: var(--xs-cream) !important; border: 1.5px solid var(--xs-line-2) !important; color: var(--xs-ink) !important; position: relative; }
html.christmas .size-option:hover { border-color: var(--xs-rose-2) !important; }
html.christmas .size-option .size-price { color: var(--xs-rose) !important; }
html.christmas .customize-size.selected, html.christmas .blend-opt.on,
html.christmas .size-option.selected {
  background: repeating-linear-gradient(-45deg, #A24E55 0 9px, #B05D64 9px 18px) !important;
  border-color: var(--xs-rose) !important; color: #fff !important; box-shadow: 0 6px 14px -8px rgba(192,106,110,.9) !important; }
html.christmas .size-option.selected .size-price, html.christmas .customize-size.selected .size-price, html.christmas .customize-size.selected .size-label,
html.christmas .blend-opt.on * { color: #fff !important; }
html.christmas .customize-size.selected::after, html.christmas .blend-opt.on::after,
html.christmas .size-option.selected::after { content: ""; position: absolute; right: 6px; top: 5px; width: 11px; height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: xsSpinSlow 6s linear infinite; }
@keyframes xsSpinSlow { to { transform: rotate(360deg); } }
html.christmas .size-option.sold-out { background: #F6EEEC !important; color: #B8A3A5 !important; }
html.christmas .opt-current { background: var(--xs-cream) !important; border-color: var(--xs-line-2) !important; }
html.christmas .opt-current:not(.pending) { border-color: var(--xs-sage-2) !important; background: #F4F9F6 !important; }

/* Pills and tags on the cards */
html.christmas .tag-pill { border-radius: 999px; }
html.christmas .customize-from { color: var(--xs-rose) !important; }

/* =========================================================
   MY ACCOUNT (the membership tier's own page colours stay)
   ========================================================= */
/* Customer code box */
html.christmas body:not(.lux) .code-chip {
  color: var(--xs-rose-d); border: 1.5px dashed var(--xs-rose-2);
  background: linear-gradient(135deg, #FFF8F5, #F8E3E1); box-shadow: 0 6px 14px -10px rgba(192,106,110,.8); }
html.christmas body.lux .code-chip { border-style: dashed; background: rgba(255,252,249,.08); }

/* Café Wallet: rose-and-cream, with a little gift and snow */
html.christmas .wallet-card {
  color: var(--xs-ink) !important;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255,255,255,.75), rgba(255,255,255,0) 55%),
    linear-gradient(140deg, #F8E3E1 0%, #F4D4D3 45%, #E9EFF0 100%) !important;
  border: 1px solid #EECACA !important;
  box-shadow: 0 18px 36px -24px rgba(192,106,110,.75) !important; }
html.christmas .wallet-card::after { opacity: .5 !important; animation: none !important;
  background: var(--xs-snow) 0 0 / 104px 104px !important; }
html.christmas .wallet-card .wallet-label { color: var(--xs-rose-d) !important; }
html.christmas .wallet-card .wallet-sub { color: var(--xs-muted) !important; }
html.christmas .wallet-card .wallet-balance { color: var(--xs-ink) !important; }
html.christmas .wallet-card .wallet-mark { color: var(--xs-rose) !important; }
html.christmas .wallet-card .wallet-btn { border-color: rgba(74,54,57,.28) !important; color: var(--xs-ink) !important; background: rgba(255,252,249,.6) !important; }
html.christmas .wallet-card .wallet-btn.primary { background: var(--xs-ink) !important; border-color: var(--xs-ink) !important; color: var(--xs-cream) !important; }
html.christmas .wallet-card .xs-gift { position: absolute; right: 16px; bottom: 58px; width: 46px; height: 46px; z-index: 0; opacity: .95;
  animation: xpWiggle 4s ease-in-out infinite; --r: -6deg; pointer-events: none; }

/* Stamp card: pastel by tier. More sparkle the higher the tier.
     Tier 0 (st-0): rose     — stamps shine only
     Tier 1 (st-1): gold     — shine + a slow twinkle
     Tier 2 (st-2): sage     — shine + twinkle + snow sparkles on the card
     Tier 3 (st-3): pearl    — all of it, faster, with a halo on every stamp */
html.christmas .stamps { border: 1.5px solid transparent;
  --bg1: #FFFCF9; --bg2: #F8E3E1; --ink: #4A3639; --ink2: rgba(74,54,57,.82); --rim: rgba(220,140,140,.45); --empty: rgba(192,106,110,.45);
  --g1: #FFF1F0; --g2: #EDB1B0; --g3: #D88A8B; --g4: #B9686B; --cupc: #fff;
  background: linear-gradient(160deg, var(--bg1), var(--bg2)) padding-box,
              linear-gradient(135deg, #E29A9A, #FFF1EE 30%, #DC8C8C 55%, #FBE2DF 78%, #E29A9A) border-box !important;
  box-shadow: 0 18px 40px -26px rgba(192,106,110,.6) !important; }
html.christmas .stamps.st-1 { --bg1: #FFFCF4; --bg2: #F7EDD6; --ink: #4A3639; --ink2: rgba(74,54,57,.82); --rim: rgba(201,164,92,.45); --empty: rgba(201,164,92,.55);
  --g1: #FFF8E2; --g2: #EBD08E; --g3: #DBB974; --g4: #86661A; --cupc: #6B4E1A;
  background: linear-gradient(160deg, var(--bg1), var(--bg2)) padding-box,
              linear-gradient(135deg, #C9A45C, #FFF3D0 25%, #DBB974 50%, #FFF6DA 72%, #C9A45C) border-box !important;
  box-shadow: 0 18px 40px -26px rgba(184,144,47,.6) !important; }
html.christmas .stamps.st-2 { --bg1: #FBFFFC; --bg2: #E6F0EA; --ink: #3E4E45; --ink2: rgba(62,78,69,.84); --rim: rgba(110,155,129,.42); --empty: rgba(110,155,129,.55);
  --g1: #F2FAF5; --g2: #B6D3C1; --g3: #8BB09B; --g4: #466F57; --cupc: #fff;
  background: linear-gradient(160deg, var(--bg1), var(--bg2)) padding-box,
              linear-gradient(135deg, #8BB09B, #EFF8F2 25%, #9FC0AC 50%, #F4FAF6 72%, #4E7A62) border-box !important;
  box-shadow: 0 18px 40px -26px rgba(110,155,129,.65) !important; animation: none; }
html.christmas .stamps.st-3 { --bg1: #FFFDFB; --bg2: #EFE7F1; --ink: #4A3639; --ink2: rgba(74,54,57,.82); --rim: rgba(219,185,116,.6); --empty: rgba(169,140,170,.6);
  --g1: #FFFFFF; --g2: #F4E3BD; --g3: #E3C9DA; --g4: #B9A0C0; --cupc: #5B4560;
  background: linear-gradient(160deg, #FFFDFB, #F6EEF4 45%, #E9F1F6) padding-box,
              linear-gradient(135deg, #DBB974, #FFF6DD 18%, #E3C9DA 38%, #C3D8E4 58%, #FFF6DD 78%, #DBB974) border-box !important;
  animation: xsPearlGlow 3.2s ease-in-out infinite !important; }
@keyframes xsPearlGlow { 0%, 100% { box-shadow: 0 18px 40px -26px rgba(120,90,130,.6), 0 0 0 0 rgba(219,185,116,0); }
                         50% { box-shadow: 0 18px 40px -26px rgba(120,90,130,.6), 0 0 30px -4px rgba(219,185,116,.7); } }
html.christmas .stamps .stamps-label { color: var(--xs-rose-d) !important; }
html.christmas .stamps.st-1 .stamps-label { color: #86661A !important; }
html.christmas .stamps.st-2 .stamps-label { color: #466F57 !important; }
html.christmas .stamps.st-3 .stamps-label { color: #7E5F86 !important; }
html.christmas .stamps .stamp-meter { background: rgba(74,54,57,.08) !important; }
html.christmas .stamps .stamp-complete { color: #fff !important; }
html.christmas .stamps.st-1 .stamp-complete { color: #4A3412 !important; }
html.christmas .stamps.st-3 .stamp-complete { color: #4A3639 !important; }

/* Sparkle levels */
html.christmas .stamps.st-0 .stamp.filled::before { display: none; }                        /* tier 0: shine only */
html.christmas .stamps.st-0 .st-spark { display: none; }
html.christmas .stamps.st-1 .stamp.filled::before { animation-duration: 4.6s; }               /* tier 1: slow twinkle */
html.christmas .stamps.st-1 .st-spark { display: none; }
html.christmas .stamps.st-2 .st-spark { background: #FFFFFF; filter: drop-shadow(0 0 3px rgba(110,155,129,.9)); }   /* tier 2: + card sparkles */
html.christmas .stamps.st-3 .st-spark { background: #FFF6DD; filter: drop-shadow(0 0 4px rgba(219,185,116,1)); animation-duration: 2.4s; }
html.christmas .stamps.st-3 .stamp.filled::before { animation-duration: 1.9s; width: 16px; height: 16px; }   /* tier 3: fast twinkle */
html.christmas .stamps.st-3 .stamp.filled { animation: xsHalo 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .26s); }
@keyframes xsHalo { 0%, 100% { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7), 0 6px 14px -8px rgba(150,110,160,.8); }
                    50% { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9), 0 0 16px 2px rgba(244,227,189,.95); } }
html.christmas .stamps .stamp.filled { background: radial-gradient(circle at 34% 28%, var(--g1) 0%, var(--g2) 30%, var(--g3) 64%, var(--g4) 100%) !important; }

/* Membership teaser and other cards on My Account */
html.christmas body:not(.lux) .member-teaser,
html.christmas body:not(.lux) .card, html.christmas body:not(.lux) .panel { border-color: var(--xs-line) !important; }
html.christmas .topup-promo { background: #F4F9F6 !important; border-color: #D3E5DA !important; }

/* =========================================================
   CHECKOUT — background and box borders only
   ========================================================= */
html.christmas[data-xs="checkout"] {
  --border: #EBD3D0; --border-2: #E2C4C2; --hair: #EBD3D0;
  --xm-gift-z: -1; --xm-snow-z: -1;
}
/* Checkout stays simple: snow yes, no gifts or icons */
html.christmas[data-xs="checkout"] .xm-gifts, html.christmas[data-xs="checkout"] .xp-scatter { display: none !important; }
html.christmas[data-xs="checkout"] .bar { background: rgba(255,252,249,.9) !important; border-bottom-color: #F0DCD8 !important; }

/* =========================================================
   PROMOS and DATA PRIVACY
   ========================================================= */
html.christmas .site-header .brand-name { color: var(--xs-ink); }
html.christmas .promo__thumb { background: var(--xs-cream) !important; border: 1px solid var(--xs-line) !important; }
html.christmas .mechanics { background: var(--xs-cream); border: 1px solid var(--xs-line); box-shadow: var(--xs-shadow) !important; }
html.christmas .promo__status[data-state="soon"]   { background: var(--xs-gold-bg) !important; color: #8A6A20 !important; }
html.christmas .promo__status[data-state="ending"] { background: var(--xs-rose-bg) !important; color: var(--xs-rose-d) !important; }
html.christmas .promo__status { background: var(--xs-sage-bg); color: var(--xs-sage); }
html.christmas .xs-paper { background: rgba(255,252,249,.92) !important; border: 1px solid var(--xs-line) !important; border-radius: 22px; box-shadow: var(--xs-shadow) !important; }

@media (prefers-reduced-motion: reduce) {
  .xm-snowcap i, html.christmas .size-option.selected::after, html.christmas .stamps.st-3, html.christmas .stamps.st-3 .stamp.filled,
  html.christmas .wallet-card .xs-gift { animation: none !important; }
}
@media print { .xm-snowcap, .xp-scatter { display: none !important; } }

/* ---------- Icon layer and motions (same as /xmas-pastel.css) ---------- */
/* ----- Scattered icons ----- */
.xp-scatter { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.xp-ico { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
          transform: rotate(var(--r)); filter: drop-shadow(0 4px 6px rgba(74, 54, 57, .12)); }
.xp-ico svg { width: 100%; height: 100%; display: block; overflow: visible; }
.xp-float   { animation: xpFloat var(--d) ease-in-out var(--delay) infinite; }
.xp-wiggle  { animation: xpWiggle var(--d) ease-in-out var(--delay) infinite; }
.xp-sway    { animation: xpSway var(--d) ease-in-out var(--delay) infinite; transform-origin: 50% 0; }
.xp-ring    { animation: xpRing calc(var(--d) * .8) ease-in-out var(--delay) infinite; transform-origin: 50% 12%; }
.xp-twinkle { animation: xpTwinkle calc(var(--d) * .6) ease-in-out var(--delay) infinite; }
.xp-spin    { animation: xpSpin calc(var(--d) * 4) linear var(--delay) infinite; }
@keyframes xpFloat   { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-9px) rotate(calc(var(--r) + 4deg)); } }
@keyframes xpWiggle  { 0%, 62%, 100% { transform: rotate(var(--r)); } 68% { transform: rotate(calc(var(--r) - 11deg)); } 74% { transform: rotate(calc(var(--r) + 10deg)); }
                       80% { transform: rotate(calc(var(--r) - 7deg)); } 86% { transform: rotate(calc(var(--r) + 4deg)); } }
@keyframes xpSway    { 0%, 100% { transform: rotate(calc(var(--r) - 8deg)); } 50% { transform: rotate(calc(var(--r) + 8deg)); } }
@keyframes xpRing    { 0%, 55%, 100% { transform: rotate(var(--r)); } 62% { transform: rotate(calc(var(--r) + 16deg)); } 70% { transform: rotate(calc(var(--r) - 14deg)); }
                       78% { transform: rotate(calc(var(--r) + 8deg)); } 86% { transform: rotate(calc(var(--r) - 4deg)); } }
@keyframes xpTwinkle { 0%, 100% { transform: rotate(var(--r)) scale(1); opacity: 1; } 50% { transform: rotate(calc(var(--r) + 12deg)) scale(.78); opacity: .55; } }
@keyframes xpSpin    { to { transform: rotate(calc(var(--r) + 360deg)); } }


/* =========================================================
   GIFT CARD PAGE — the card in holiday pastel
   ========================================================= */
html.christmas body:has(#gift) header { background: rgba(255,252,249,.92); color: var(--xs-ink); border-bottom: 1px solid var(--xs-line); }
html.christmas body:has(#gift) { --ink: #4A3639; --ink-2: #5C4649; --ink-3: #6E5458; --line: #F0DCD8; --mint-bg: #F8E3E1; --green: #4A3639; --green-3: #A24E55; }
html.christmas .card .front {
  color: var(--xs-ink);
  background:
    var(--xs-snow) 0 0 / 104px 104px,
    radial-gradient(110% 90% at 85% 0%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%),
    linear-gradient(150deg, #FBE3E2 0%, #F4CFCF 48%, #E8EFF1 100%) !important; }
html.christmas .card .front .wave path:first-child { fill: #BCD6C6; opacity: .85; }
html.christmas .card .front .wave path:last-child { stroke: #FFFCF9; opacity: .9; }
html.christmas .card .ribbon-v { background: linear-gradient(90deg, #C9A45C, #F2DDA6 45%, #DBB974) !important; }
html.christmas .card .bow path:nth-child(1) { fill: #DC8C8C; }
html.christmas .card .bow path:nth-child(2) { fill: #E8A6A6; }
html.christmas .card .bow path:nth-child(3) { fill: #C97A7C; }
html.christmas .card .bow path:nth-child(4) { fill: #B9686B; }
html.christmas .card .bow circle { fill: #E8A6A6; stroke: #B9686B; }
html.christmas .card .front .brand svg { color: var(--xs-ink); }
html.christmas .card .front .tag { color: var(--xs-rose-d); }
html.christmas .card .front .tag::after { content: "  ·  Holiday Edition"; }
html.christmas .card .front .value { text-shadow: 0 2px 10px rgba(255,255,255,.6); color: var(--xs-ink); }
html.christmas .card .front .value small { color: var(--xs-rose-d); }
html.christmas .card .shine { background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.55) 48%, transparent 60%); }
html.christmas .card .front .xs-card-ico { position: absolute; width: 38px; height: 38px; z-index: 1; pointer-events: none; }
html.christmas .card .front .xs-card-ico.a { left: 46%; top: 16%; animation: xpTwinkle 2.4s ease-in-out infinite; --r: 0deg; }
html.christmas .card .front .xs-card-ico.b { right: 8%; bottom: 14%; width: 44px; height: 44px; animation: xpFloat 3.4s ease-in-out infinite; --r: 8deg; }
html.christmas .card .back {
  background: var(--xs-snow) 0 0 / 104px 104px, linear-gradient(160deg, #E7F0F5, #F8E3E1) !important; color: var(--xs-ink); }
html.christmas .card .back .lbl { color: var(--xs-rose-d); }
html.christmas .card .back .meta { color: var(--xs-muted); }
html.christmas .card .code span { background: linear-gradient(170deg, #6A4B50 0%, #4A3639 60%, #A24E55 100%); -webkit-background-clip: text; background-clip: text; }
html.christmas .card .burst i { background: #DBB974; }
html.christmas .face { box-shadow: 0 22px 40px -18px rgba(192,106,110,.55), 0 2px 6px rgba(74,54,57,.12) !important; }

/* Christmas music button: plum with gold, to match the pastel pages */
html.christmas .carols-btn { background: rgba(74,54,57,.92) !important; }
html.christmas .carols-btn:hover { background: rgba(74,54,57,1) !important; }
html.christmas .carols-eq i { background: #EBD08E !important; }

/* =========================================================
   Category tabs as snow-capped ice buttons (pastel version of the
   frosty pill: snow along the top, icicles, a little drift at the
   bottom). The chosen one is glossy rose; the rest are pale ice.
   ========================================================= */
html.christmas .tab {
  position: relative; overflow: visible;
  padding: 11px 22px 8px !important;
  color: #3E4F5A !important;
  border: 1.5px solid #AFCDDD !important;
  background: linear-gradient(180deg, #F7FBFD 0%, #E3F0F6 52%, #D3E6EF 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -3px 6px rgba(157,194,214,.35), 0 6px 14px -10px rgba(74,104,120,.7) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html.christmas .tab:hover { border-color: #8FB8CD !important; color: #2F3F49 !important; }
html.christmas .tab.active {
  color: #fff !important;
  border-color: #9C4F53 !important;
  background: linear-gradient(180deg, #D47C80 0%, #B95F64 55%, #A9555A 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 6px rgba(110,40,45,.25), 0 8px 18px -10px rgba(169,85,90,.9) !important;
  text-shadow: 0 1px 1px rgba(90,30,35,.35);
}
/* the snow along the top (replaces the old small cap) */
html.christmas .tab::before, html.christmas .tab.active::before {
  content: ""; position: absolute; left: -3px; right: -3px; top: -6px; height: 13px; border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='1' stop-color='%23EEF6FA'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 7C0 2.5 4 0 11 0H189C196 0 200 2.5 200 7V8.5C196 10 192 9.5 188 11.5C184 14.5 179 13.5 176 10.5C170 12.5 164 13.5 158 10.5C150 14.5 142 13.5 136 10.5C128 13.5 120 12.5 114 9.5C106 12.5 98 13.5 92 10.5C84 13.5 76 12.5 70 9.5C62 12.5 54 13.5 48 10.5C40 13.5 32 13.5 26 10.5C20 13.5 14 12.5 10 10.5C6 11.5 2 10.5 0 9.5Z' fill='url%28%23g%29'/%3E%3Cpath d='M0 9.5C2 10.5 6 11.5 10 10.5C14 12.5 20 13.5 26 10.5C32 13.5 40 13.5 48 10.5C54 13.5 62 12.5 70 9.5C76 12.5 84 13.5 92 10.5C98 13.5 106 12.5 114 9.5C120 12.5 128 13.5 136 10.5C142 13.5 150 14.5 158 10.5C164 13.5 170 12.5 176 10.5C179 13.5 184 14.5 188 11.5C192 9.5 196 10 200 8.5' fill='none' stroke='%23BCD7E6' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat !important;
  filter: drop-shadow(0 1px 1px rgba(120,160,185,.45)); pointer-events: none;
}
/* icicles at both ends and a small drift at the bottom left */
html.christmas .tab::after {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; bottom: -3px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 18'%3E%3Cdefs%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='1' stop-color='%23D6E9F3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0H6C6 5 4.4 12 3 18C1.6 12 0 5 0 0Z' fill='url%28%23i%29' stroke='%23BCD7E6' stroke-width='.5'/%3E%3C/svg%3E") 9px 0 / 5px 13px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 18'%3E%3Cdefs%3E%3ClinearGradient id='i' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFFFFF'/%3E%3Cstop offset='1' stop-color='%23D6E9F3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0H6C6 5 4.4 12 3 18C1.6 12 0 5 0 0Z' fill='url%28%23i%29' stroke='%23BCD7E6' stroke-width='.5'/%3E%3C/svg%3E") calc(100% - 13px) 0 / 4px 9px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 9'%3E%3Cpath d='M0 9C1 4.5 5 2.5 9 4.5C12 1 17.5 1.5 18.5 5C21.5 5 23.5 7 24 9Z' fill='%23FFFFFF' stroke='%23BCD7E6' stroke-width='.6'/%3E%3C/svg%3E") -3px 100% / 22px 8px no-repeat;
  transform-origin: 50% 0;
}
html.christmas .tab.active::after { animation: xsMelt 4.5s ease-in-out infinite; }
@keyframes xsMelt { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.12); } }
html.christmas .tabs { padding-top: 22px !important; row-gap: 14px !important; }
@media (prefers-reduced-motion: reduce) { html.christmas .tab.active::after { animation: none; } }

/* =========================================================
   Readability (checked page by page against the pastel background)
   ========================================================= */
html.christmas .tag-limited { color: #4A3639 !important; }
html.christmas .tag-pill { text-shadow: none; }
html.christmas .kicker { color: #8C4148 !important; }
html.christmas .xmas-hours, html.christmas .brand-hours, html.christmas .brand-text span { color: #8C4148; }
html.christmas .promo__status { background: #DDEBE2 !important; color: #3E6650 !important; }
html.christmas .tab.active { background: linear-gradient(180deg, #BE6870 0%, #A24E55 55%, #913F47 100%) !important; }
html.christmas .tag.auto { color: #3E6650; }
html.christmas .brand-sub { opacity: .78 !important; }
html.christmas .bac-head .back-link { border-color: rgba(74,54,57,.32) !important; }
/* Checkout keeps its green, one shade deeper so it reads on the pastel */
html.christmas[data-xs="checkout"] { --accent: #4A7A2C; --accent-dark: #3B6322; }
html.christmas .bac-brand .brand-sub { color: #6E5458 !important; }
