/* ======================================================================
   FESTIVE SEASON — "December Special Deals" (body.theme-festive)
   Navy and royal blue with gold lettering, after the client's December flyer.
   Hero: editorial serif headline + fanned stack of real product photos,
   floating gold dust. Runs on top of the normal cream/navy/gold site.
   ====================================================================== */
.theme-festive {
  --xm-navy: #13205e;
  --xm-navy-2: #0b1446;
  --xm-royal: #2448c9;
  --xm-royal-2: #1a35a3;
  --xm-gold: #e5af45;
  --xm-gold-light: #fbe3a0;
  --xm-gold-deep: #a8761c;
  --xm-ink: #2b2414;
  --serif: "Playfair Display", Georgia, serif;
  --xm-ease: cubic-bezier(.22, .8, .2, 1);
}
.xm[hidden] { display: none; }
.theme-festive .slider { display: none; }

/* top bar: navy band, gold serif italic */
.theme-festive .topbar { background: linear-gradient(90deg, #0b1446, #1b2c7c 50%, #0b1446); border-bottom: 1px solid var(--xm-gold); }
.theme-festive .topbar h2 { font: 600 14px/1.2 var(--serif); letter-spacing: .06em; }
.theme-festive .topbar h2 span { color: var(--xm-gold-light); font-style: italic; }

/* header: deep navy, gold rule, glass nav with a gold lamp */
.theme-festive .header { background: linear-gradient(90deg, #070d33, #0e1a5c 50%, #070d33); border-bottom: 1px solid rgba(229, 175, 69, .7); }
.theme-festive .header .tl-nav { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: 0 6px 22px rgba(0, 0, 0, .3); }
.theme-festive .header .tl-item { color: rgba(230, 236, 255, .78); }
.theme-festive .header .tl-item:hover, .theme-festive .header .tl-item.is-active { color: #fff; }
.theme-festive .header .tl-lamp { background: rgba(229, 175, 69, .14); }
.theme-festive .header .tl-lamp::before { background: var(--xm-gold); box-shadow: 0 0 12px 2px rgba(229, 175, 69, .6); }
.theme-festive .header .tl-lamp::after { background: rgba(229, 175, 69, .3); }
.theme-festive .header .tool, .theme-festive .header .menu-btn { color: #fff; }
.theme-festive .header .tool:hover { background: rgba(255, 255, 255, .1); color: var(--xm-gold-light); }
.theme-festive .header .tool .count { background: var(--xm-gold); color: var(--xm-navy-2); }
.theme-festive .logo-round { filter: drop-shadow(0 0 0 1.5px var(--xm-gold)) drop-shadow(0 4px 14px rgba(0, 0, 0, .45)); }
.theme-festive .tl-dock .tl-nav { background: rgba(11, 20, 70, .85); border-color: rgba(229, 175, 69, .35); }
.theme-festive .tl-dock .tl-item { color: rgba(230, 236, 255, .8); }
.theme-festive .tl-dock .tl-item.is-active { color: #fff; }
.theme-festive .tl-dock .tl-lamp::before { background: var(--xm-gold); }

/* ---------- hero ---------- */
.xm { position: relative; overflow: hidden; isolation: isolate; min-height: min(760px, calc(100vh - 120px)); display: flex; align-items: center; padding: 72px 0 80px;
  background:
    radial-gradient(46% 60% at 74% 46%, rgba(64, 110, 255, .55), rgba(36, 72, 201, 0) 70%),
    radial-gradient(40% 50% at 78% 50%, rgba(255, 214, 130, .16), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(5, 10, 40, .7), transparent 65%),
    linear-gradient(125deg, #070d33 0%, #0e1a5c 38%, #1a35a3 72%, #2448c9 100%); color: #fff; }
.xm::before { /* soft light streaks, like the showroom wall in the flyer */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 120px, rgba(255, 225, 160, .05) 120px 122px, transparent 122px 240px);
  mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); }
.xm::after { /* fine gold rule along the bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--xm-gold) 20%, var(--xm-gold-light) 50%, var(--xm-gold) 80%, transparent); }
.xm-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.xm-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }

.xm-copy { display: grid; justify-items: start; }
.xm-copy > * { animation: xmUp .9s var(--xm-ease) both; }
.xm-copy > :nth-child(2) { animation-delay: .08s; } .xm-copy > :nth-child(3) { animation-delay: .16s; }
.xm-copy > :nth-child(4) { animation-delay: .24s; } .xm-copy > :nth-child(5) { animation-delay: .32s; } .xm-copy > :nth-child(6) { animation-delay: .4s; }
.xm-copy > :nth-child(7) { animation-delay: .48s; } .xm-copy > :nth-child(8) { animation-delay: .56s; } .xm-copy > :nth-child(9) { animation-delay: .64s; }
@keyframes xmUp { from { opacity: 0; transform: translateY(26px); } }

.xm-eyebrow { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 14px; font: 600 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--xm-gold-light); }
.xm-eyebrow i { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--xm-gold)); }
.xm-eyebrow i:last-child { transform: scaleX(-1); }
.xm-title { margin: 0; display: grid; line-height: .9; }
.xm-dec { font: italic 800 clamp(68px, 9vw, 136px)/.92 var(--serif); letter-spacing: -.02em; padding-bottom: .06em;
  background: linear-gradient(176deg, #fff3c4 0%, #f6d27a 30%, #e5af45 55%, #b9811f 75%, #f3c766 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(90, 55, 5, .55)) drop-shadow(0 16px 30px rgba(0, 0, 0, .45)); }
.xm-sd { margin-top: 10px; font: 700 clamp(18px, 2.1vw, 28px)/1.1 var(--serif); letter-spacing: .32em; text-transform: uppercase; color: #fff; text-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.xm-lede { margin: 26px 0 0; max-width: 46ch; font: 400 16.5px/1.75 var(--sans); color: rgba(235, 240, 255, .86); }
.xm-lede b { color: #fff; font-weight: 600; }
.xm-lede .xm-amazing { color: var(--xm-gold-light); letter-spacing: .06em; }
.xm-tag { margin: 18px 0 0; font: italic 700 clamp(19px, 1.8vw, 24px)/1.3 var(--serif);
  background: linear-gradient(180deg, #fff1c2, #e5af45); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xm-watch { margin: 14px 0 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 100px;
  font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(229, 175, 69, .5); backdrop-filter: blur(6px); }
.xm-watch span { width: 8px; height: 8px; border-radius: 50%; background: var(--xm-gold); animation: xmPing 2s infinite; }
@keyframes xmPing { 0% { box-shadow: 0 0 0 0 rgba(229, 175, 69, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(229, 175, 69, 0); } }

.xm-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.xm-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 100px; font: 600 15px/1 var(--sans); letter-spacing: .01em;
  transition: transform .3s var(--xm-ease), box-shadow .3s, background .3s, color .3s; }
.xm-btn svg { width: 18px; height: 18px; transition: transform .3s var(--xm-ease); }
.xm-btn:hover { transform: translateY(-2px); }
.xm-btn:hover svg { transform: translateX(4px); }
.xm-btn--gold { background: linear-gradient(180deg, #fbe09a, #e5af45 55%, #c98f2a); color: var(--xm-navy-2); box-shadow: 0 14px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .6); }
.xm-btn--gold svg { color: var(--xm-navy-2); }
.xm-btn--gold:hover { box-shadow: 0 18px 38px rgba(229, 175, 69, .35); }
.xm-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.xm-btn--ghost:hover { background: #fff; color: var(--xm-navy-2); }

.xm-perks { list-style: none; margin: 36px 0 0; padding: 18px 0 0; display: flex; gap: 0; border-top: 1px solid rgba(229, 175, 69, .3); }
.xm-perks li { display: grid; gap: 2px; padding: 0 26px; border-left: 1px solid rgba(229, 175, 69, .3); }
.xm-perks li:first-child { padding-left: 0; border-left: 0; }
.xm-perks b { font: 700 20px/1.1 var(--serif); color: var(--xm-gold-light); }
.xm-perks span { font-size: 12px; letter-spacing: .06em; color: rgba(220, 228, 255, .7); }
.xm-fine { margin: 22px 0 0; display: flex; gap: 10px; align-items: center; font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(220, 228, 255, .6); }
.xm-fine i { width: 4px; height: 4px; border-radius: 50%; background: var(--xm-gold); }

/* fanned card stack */
.xm-show { position: relative; display: grid; justify-items: center; animation: xmUp 1s .15s var(--xm-ease) both; }
.xm-show::before { content: ""; position: absolute; top: 4%; left: 50%; width: 118%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(120, 160, 255, .45), rgba(36, 72, 201, 0) 62%); }
.xm-stack { position: relative; width: min(440px, 82%); aspect-ratio: 1 / 1.02; }
.xm-slide { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: #fff; border: 6px solid #f6e7c4;
  box-shadow: 0 0 0 1.5px #e5af45, 0 34px 70px -14px rgba(0, 0, 0, .65);
  transition: transform 1s var(--xm-ease), opacity .8s, filter .8s; transform-origin: 50% 90%; }
.xm-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transition: transform 6s linear; }
.xm-slide.is-flyer img { transform: scale(2.3); transform-origin: 50% 53%; }
.xm-slide[data-pos="0"] { z-index: 3; transform: none; }
.xm-slide[data-pos="0"]:not(.is-flyer) img { transform: scale(1.06); }
.xm-slide[data-pos="1"] { z-index: 2; transform: translate(16%, -5%) rotate(7deg) scale(.88); filter: brightness(.92) saturate(.9); cursor: pointer; }
.xm-slide[data-pos="2"] { z-index: 1; transform: translate(-15%, -3%) rotate(-7deg) scale(.82); filter: brightness(.86) saturate(.85); cursor: pointer; }
.xm-slide[data-pos="x"] { z-index: 0; transform: translateY(10%) scale(.7); opacity: 0; pointer-events: none; }

.xm-info { position: relative; z-index: 4; margin-top: -34px; display: grid; justify-items: center; gap: 8px; padding: 16px 28px 14px; min-width: min(380px, 92%);
  border-radius: 20px; background: linear-gradient(180deg, rgba(14, 26, 92, .92), rgba(7, 13, 51, .95)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--xm-gold); box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); text-align: center; }
.xm-label { font: 600 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--xm-gold); }
.xm-name { font: italic 700 clamp(19px, 1.9vw, 24px)/1.2 var(--serif); color: #fff; }
.xm-name:hover { color: var(--xm-gold-light); }
.xm-price { display: flex; align-items: baseline; gap: 14px; }
.xm-was { font-size: 13px; color: rgba(220, 228, 255, .7); }
.xm-was del { text-decoration-color: #e2463a; text-decoration-thickness: 2px; }
.xm-now { font-size: 13px; color: #fff; letter-spacing: .04em; }
.xm-now b { margin-left: 4px; font: 800 26px/1 var(--serif); background: linear-gradient(180deg, #fff1c2, #e5af45); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xm-pop > * { animation: xmUp .6s var(--xm-ease) both; }
.xm-pop > :nth-child(2) { animation-delay: .05s; } .xm-pop > :nth-child(3) { animation-delay: .1s; }
.xm-dots { margin-top: 18px; display: flex; gap: 8px; }
.xm-dots button { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .28); transition: width .4s var(--xm-ease), background .3s; }
.xm-dots button.is-on { width: 28px; background: var(--xm-gold); }

/* ---------- rest of the site in festive dress ---------- */
.theme-festive .deals-section { background: linear-gradient(180deg, #eef2ff, #dfe7ff); }
.theme-festive .addon-title h2 { font: 700 clamp(30px, 3.6vw, 44px)/1.15 var(--serif); color: var(--xm-navy); text-transform: none; letter-spacing: -.01em; }
.theme-festive .deals-section .addon-title h2 { font-style: italic; }
.theme-festive .badge--deal { background: linear-gradient(135deg, var(--xm-navy-2), var(--xm-royal-2)); color: var(--xm-gold-light); border: 1px solid rgba(229, 175, 69, .6); font-family: var(--serif); font-style: italic; }
.theme-festive .badge--off { background: linear-gradient(180deg, #fff1bd, #d39b2f); color: var(--xm-navy-2); }
.theme-festive .card-name { font-family: var(--serif); font-weight: 700; text-transform: none; font-size: 18px; letter-spacing: -.005em; }
.theme-festive .deal-box { background: linear-gradient(160deg, var(--xm-royal), var(--xm-navy-2)); border: 1px solid var(--xm-gold); }
.theme-festive .deal-tag { font-family: var(--serif); font-style: italic; letter-spacing: .02em; text-transform: none; font-size: 13px; }
.theme-festive .breadcrumb-bar { background: linear-gradient(90deg, #0b1446, #1a35a3 50%, #0b1446); color: #fff; }
.theme-festive .breadcrumb-bar a, .theme-festive .breadcrumb-bar span, .theme-festive .breadcrumb-bar h1 { color: #fff; }
.theme-festive .breadcrumb-bar a:hover { color: var(--xm-gold-light); }

@media (max-width: 991px) {
  .xm { padding: 56px 0 72px; min-height: 0; }
  .xm-grid { grid-template-columns: 1fr; gap: 56px; }
  .xm-copy { justify-items: center; text-align: center; }
  .xm-actions, .xm-fine, .xm-perks { justify-content: center; }
}
@media (max-width: 600px) {
  .xm-dec { font-size: clamp(58px, 17vw, 84px); }
  .xm-sd { letter-spacing: .2em; font-size: 17px; }
  .xm-lede { font-size: 15.5px; }
  .xm-btn { height: 50px; padding: 0 22px; font-size: 14px; }
  .xm-perks li { padding: 0 14px; } .xm-perks b { font-size: 16px; } .xm-perks span { font-size: 11px; }
  .xm-stack { width: 76%; }
  .xm-tag { font-size: 19px; } .xm-watch { font-size: 11px; }
  .xm-info { padding: 14px 18px 12px; }
  .xm-fine { font-size: 9.5px; letter-spacing: .1em; white-space: nowrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .xm-copy > *, .xm-show, .xm-pop > * { animation: none !important; }
  .xm-slide, .xm-slide img { transition: none !important; }
}
