/* Christmas decor: enabled from Appearance → Customize → Eloraa Creations → Christmas decor. */

/* Festive palette (overrides the Customizer colours while Christmas decor is on). */
body.xmas{
  --cream:#fdf6ec; --paper:#fffdf8;
  --gold:#c9a45c; --gold2:#f3dfa8; --marigold:#e8b84a; --red:#b3202a;
  --night:#10261a; --night2:#1d3b2a;
}
body.xmas{background:
  radial-gradient(ellipse at 50% -10%,rgba(179,32,42,.12),transparent 55%),
  var(--cream)}

/* Greeting bar */
.xmas-bar{display:flex;justify-content:center;align-items:center;gap:10px;text-align:center;padding:7px 12px;font-size:.84rem;font-weight:600;letter-spacing:.03em;color:#fff;
  background:linear-gradient(90deg,#9e1b25,#c62f38,#9e1b25,#c62f38,#9e1b25);background-size:300% 100%;animation:xm-shine 9s linear infinite}
.xmas-ico{width:20px;height:20px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 9l9 10h-5l8 9H8l8-9h-5z' fill='%231f7a3d'/%3E%3Cpath d='M20 15l6 7h-3l5 6H12l5-6h-3z' fill='%232e9e5b'/%3E%3Crect x='17' y='28' width='6' height='8' fill='%236b3f1d'/%3E%3Cpath d='M20 1.5l1.7 3.6 3.9.5-2.9 2.7.8 3.9L20 10.2l-3.5 2 .8-3.9-2.9-2.7 3.9-.5z' fill='%23ffd54a'/%3E%3Ccircle cx='14' cy='26' r='1.6' fill='%23e53935'/%3E%3Ccircle cx='26' cy='24' r='1.6' fill='%23ffd54a'/%3E%3Ccircle cx='21' cy='19' r='1.4' fill='%23e53935'/%3E%3C/svg%3E") center/contain no-repeat;display:inline-block}
@keyframes xm-shine{to{background-position:300% 0}}

/* String lights hanging under the sticky header */
.xmas-lights{position:absolute;left:0;right:0;top:100%;height:34px;pointer-events:none;overflow:hidden}
.xmas-lights::before,.xmas-lights::after{content:"";position:absolute;inset:0;background-repeat:repeat-x;background-size:72px 34px}
.xmas-lights::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='34' viewBox='0 0 72 34'%3E%3Cpath d='M0 2Q18 12 36 2T72 2' fill='none' stroke='%231f4d2e' stroke-width='1.4'/%3E%3Cg%3E%3Crect x='14' y='9' width='4' height='4' fill='%231f4d2e'/%3E%3Cellipse cx='16' cy='19' rx='5' ry='7' fill='%23e53935'/%3E%3Crect x='50' y='9' width='4' height='4' fill='%231f4d2e'/%3E%3Cellipse cx='52' cy='19' rx='5' ry='7' fill='%232e9e5b'/%3E%3C/g%3E%3C/svg%3E");animation:xm-twinkle 2.2s ease-in-out infinite alternate;filter:drop-shadow(0 0 5px rgba(229,57,53,.7))}
.xmas-lights::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='34' viewBox='0 0 72 34'%3E%3Cg%3E%3Crect x='32' y='9' width='4' height='4' fill='%231f4d2e'/%3E%3Cellipse cx='34' cy='19' rx='5' ry='7' fill='%23ffd54a'/%3E%3Crect x='68' y='9' width='4' height='4' fill='%231f4d2e'/%3E%3Cellipse cx='70' cy='19' rx='5' ry='7' fill='%239ed2ff'/%3E%3C/g%3E%3C/svg%3E");animation:xm-twinkle 2.2s ease-in-out -1.1s infinite alternate;filter:drop-shadow(0 0 5px rgba(255,213,74,.8))}
@keyframes xm-twinkle{from{opacity:.35}to{opacity:1}}

/* Row of trees above the footer content */
.xmas-trees{height:44px;margin:-10px 0 18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='44' viewBox='0 0 64 44'%3E%3Cpath d='M32 4l11 13h-6l9 11H18l9-11h-6z' fill='%231f7a3d'/%3E%3Crect x='29' y='28' width='6' height='10' fill='%236b3f1d'/%3E%3Cpath d='M32 0l1.6 3.3 3.6.5-2.6 2.5.6 3.6L32 8l-3.2 1.9.6-3.6-2.6-2.5 3.6-.5z' fill='%23ffd54a'/%3E%3Ccircle cx='26' cy='22' r='1.8' fill='%23e53935'/%3E%3Ccircle cx='38' cy='21' r='1.8' fill='%23ffd54a'/%3E%3C/svg%3E") center bottom/64px 44px repeat-x;animation:xm-glow 2.4s ease-in-out infinite alternate}
@keyframes xm-glow{from{filter:drop-shadow(0 0 3px rgba(255,213,74,.3))}to{filter:drop-shadow(0 0 9px rgba(255,213,74,.9))}}

/* Gently falling snow over the whole site (non-interactive) */
body.xmas::before{content:"";position:fixed;inset:0;z-index:25;pointer-events:none;opacity:.75;
  background:
    radial-gradient(circle,#b9d6ee 0 1.8px,transparent 2.6px) 0 0/130px 150px,
    radial-gradient(circle,#d6e8f6 0 1.4px,transparent 2.2px) 55px 70px/170px 190px,
    radial-gradient(circle,#a9c9e4 0 1.6px,transparent 2.4px) 95px 25px/210px 230px;
  animation:xm-fall 28s linear infinite}
@keyframes xm-fall{from{background-position:0 0,55px 70px,95px 25px}to{background-position:-20px 150px,40px 260px,70px 255px}}

/* Festive glow on key elements */
body.xmas .site-header{box-shadow:0 2px 14px rgba(179,32,42,.18)}
body.xmas .btn.gold,body.xmas .single_add_to_cart_button,body.xmas #place_order{box-shadow:0 0 0 0 rgba(179,32,42,.5);animation:xm-pulse 2.6s infinite}
@keyframes xm-pulse{70%{box-shadow:0 0 0 12px rgba(179,32,42,0)}100%{box-shadow:0 0 0 0 rgba(179,32,42,0)}}
body.xmas .title h2::after{content:"❄";display:block;color:var(--red);font-size:.9rem;margin-top:4px}
body.xmas .site-footer{background:linear-gradient(180deg,var(--night),#08170f)}

@media(max-width:700px){.xmas-lights{height:28px}.xmas-bar{font-size:.76rem}}
body.nav-open .xmas-lights{display:none}
@media(prefers-reduced-motion:reduce){
  .xmas-bar,.xmas-lights::before,.xmas-lights::after,.xmas-trees,body.xmas::before,
  body.xmas .btn.gold,body.xmas .single_add_to_cart_button,body.xmas #place_order{animation:none!important}
  body.xmas::before{display:none}
}

/* ---------- Highlighted Christmas category: bar CTA, menu, floating pill, home banner ---------- */
.xmas-bar .bar-cta{background:#1f6b3a;color:#fff;text-decoration:none;border-radius:99px;padding:3px 14px;font-size:.78rem;white-space:nowrap;transition:.2s}
.xmas-bar .bar-cta:hover{background:#154d29;transform:translateY(-1px)}
.xmas-bar .xmas-ico:last-child{display:none}

.main-nav .menu-xmas>a{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#b3202a,#d9434b);color:#fff!important;font-weight:600;padding:5px 14px;border-radius:99px;box-shadow:0 0 0 0 rgba(179,32,42,.5);animation:xm-pulse 2.6s infinite}
.main-nav .menu-xmas>a:hover{filter:brightness(1.08)}
.main-nav .menu-xmas .xmas-ico{width:16px;height:16px}
.fmenu .menu-xmas a{color:var(--gold2);font-weight:600}
.fmenu .menu-xmas .xmas-ico{display:inline-block;width:14px;height:14px;vertical-align:-2px;margin-right:6px}
@media(max-width:700px){.main-nav .menu-xmas>a{display:flex;justify-content:center;padding:9px 14px}}

.xmas-fab{position:fixed;left:16px;bottom:16px;z-index:60;display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#b3202a,#d9434b);color:#fff;text-decoration:none;font-weight:600;font-size:.88rem;padding:10px 18px 10px 12px;border-radius:99px;box-shadow:0 6px 18px rgba(16,38,26,.35),0 0 18px rgba(179,32,42,.45);transition:.2s}
.xmas-fab:hover{transform:translateY(-3px)}
.xmas-fab .xmas-ico{width:22px;height:22px}
body.on-xmas-cat .xmas-fab{display:none}
.single-product .xmas-fab{bottom:78px}

.xmas-banner{padding:26px 0 0}
.xmas-banner .db-box{display:flex;align-items:center;gap:18px;text-decoration:none;color:#fff;padding:18px 24px;border-radius:20px;border:2px solid var(--gold);
  background:radial-gradient(circle at 12% 50%,rgba(255,213,74,.25),transparent 45%),linear-gradient(135deg,#1d3b2a,#10261a);box-shadow:0 10px 30px rgba(16,38,26,.3),inset 0 0 0 4px rgba(243,223,168,.15);transition:.25s}
.xmas-banner .db-box:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(16,38,26,.4),0 0 24px rgba(179,32,42,.4)}
.xmas-ico.big{width:64px;height:64px;filter:drop-shadow(0 0 10px rgba(255,213,74,.8))}
.db-copy{flex:1;display:flex;flex-direction:column;line-height:1.25}
.db-copy small{letter-spacing:.2em;text-transform:uppercase;font-size:.7rem;color:var(--gold2)}
.db-copy b{font-family:Cormorant Garamond,serif;font-size:clamp(1.5rem,3.6vw,2.2rem);color:#fff}
.db-copy em{font-style:normal;opacity:.85;font-size:.92rem}
@media(max-width:700px){
  .xmas-bar{flex-wrap:wrap}
  .xmas-banner .db-box{flex-wrap:wrap;justify-content:center;text-align:center;padding:16px}
  .db-copy{flex-basis:100%;order:2}.xmas-banner .btn{order:3}
  .xmas-fab{padding:9px 14px 9px 10px;font-size:.82rem}
}
@media(prefers-reduced-motion:reduce){.main-nav .menu-xmas>a{animation:none!important}}

/* Highlighted category listed first: shop chip + home tile */
.chips .xmas-chip{background:linear-gradient(135deg,#b3202a,#d9434b);color:#fff;border-color:#b3202a;font-weight:600;box-shadow:0 0 12px rgba(179,32,42,.4)}
.chips .xmas-chip::before{content:"🎄 "}
.cattile.xmas-tile{outline:3px solid #b3202a;outline-offset:-3px;box-shadow:0 0 22px rgba(179,32,42,.45)}
.cattile .tile-badge{position:absolute;top:18px;left:18px;z-index:3;background:linear-gradient(135deg,#b3202a,#d9434b);color:#fff;font-size:.7rem;font-weight:600;font-style:normal;padding:3px 10px;border-radius:99px;line-height:1.5}

/* The peacock feather is a Diwali-style decoration: hide it while Christmas decor is on */
body.xmas .peacock{display:none}
