
/* Fuente decorativa acotada a la cinta, con alternativa del sistema. */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* Atmósfera navideña. El selector raíz permite recuperar el diseño base en un clic. */
[data-navidad] body:not(.admin-page) {
  background: linear-gradient(145deg,#fff8e9,#f0e7dc 36%,#e1ece4 76%,#f9f4e9);
}
[data-navidad] body:not(.admin-page) .ambient {
  background:
    radial-gradient(circle at 15px 15px,#fff9 0 1px,transparent 2px) 0 0 / 37px 37px,
    radial-gradient(ellipse at 12% 20%,#f8e5df,transparent 55%),
    radial-gradient(ellipse at 84% 65%,#d7e6d8,transparent 62%),#faf3e7;
}
[data-navidad] .home-page .home-content > section {
  border-color: #bb985f;
  box-shadow: 0 12px 27px #6c40201b;
}
[data-navidad] .home-page .home-content > :is(.purchase-faq,.reasons,.sellers,.home-stock) {
  background: #fffaf0ed; border: 1px solid #d6bb87; border-radius: 16px; padding: clamp(14px,4vw,37px);
  color: #28372e;
}
[data-navidad] .home-page .home-content > :is(.purchase-faq,.reasons,.sellers,.home-stock) p { color: #39493d; }
[data-navidad] body.showroom-page { background: #192521; }
[data-navidad] body.showroom-page .ambient { background: radial-gradient(ellipse at 78% 0,#4a2735,#162822 68%); }
[data-navidad] .festive-card,[data-navidad] .festive-candy {
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 2px #ecd08e, 0 10px 26px #60391d28;
  position: relative;
}
[data-navidad] .festive-card::before,[data-navidad] .festive-candy::before {
  content: ""; position: absolute; z-index: 2; inset: -3px; border: 3px solid transparent;
  border-image: repeating-linear-gradient(125deg,#ab2541 0 7px,#fff7e9 7px 14px) 1;
  pointer-events: none;
}
[data-navidad] .festive-snowcap { position: relative; }
[data-navidad] .festive-snowcap::after,[data-navidad] .festive-button::after {
  content: ""; position: absolute; inset: -3px 8px auto; height: 9px; pointer-events: none;
  background: radial-gradient(ellipse at center top,#fffdf9 0 61%,transparent 67%) 0 0 / 24px 9px repeat-x;
}
[data-navidad] .festive-button {
  position: relative; box-shadow: 0 0 0 2px #e7bc61a0,0 0 16px #ebc16c60;
}
[data-navidad-movimiento] .festive-button { animation: christmas-gold 3.8s ease-in-out infinite; }
[data-navidad-movimiento] .festive-button:hover::after { animation: christmas-ring .5s ease both; }
@keyframes christmas-gold { 50% { box-shadow: 0 0 0 2px #f9db88cc,0 0 22px #edc063ad; } }
@keyframes christmas-ring { 50% { transform: translateY(-3px); opacity: .58; } }

/* Cinta y separadores: en flujo normal, debajo del encabezado fijo. */
.christmas-ribbon,.christmas-divider,.christmas-cast,.christmas-sleigh { display: none; }
[data-navidad] .christmas-ribbon {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px clamp(20px,5vw,65px);
  padding: 10px 12px 12px; text-align: center; color: #fff0ca;
  background: radial-gradient(ellipse at 50% 0,#ab3151,#64162d 70%);
  border-block: 2px solid #d8b471;
}
[data-navidad] .christmas-ribbon h2 {
  margin: 0; color: #fff1cd; font: 400 clamp(2.3rem,5.6vw,4.1rem)/1.13 "Great Vibes","Georgia",serif;
  letter-spacing: .025em; text-shadow: 0 2px 10px #2d0718;
}
.christmas-ribbon::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg,transparent 32%,#f7d8902b,transparent 63%); }
[data-navidad-movimiento] .christmas-ribbon::after { animation: christmas-shine 7s ease-in-out infinite; }
@keyframes christmas-shine { from { transform: translateX(-90%); } 52%,to { transform: translateX(90%); } }
.christmas-count { display: flex; gap: 5px; }
.christmas-count span { min-width: 2.75rem; display: grid; gap: 1px; padding: 4px 5px; border: 1px solid #f7d38375; border-radius: 8px; background: #5e172b9e; }
.christmas-count b { font: 800 clamp(.98rem,2vw,1.45rem)/1.05 "Manrope",sans-serif; font-variant-numeric: tabular-nums; }
.christmas-count small { font-size: .72rem; }
[data-navidad] .christmas-divider { display: block; border-block: 1px solid #cda76c66; background: #f9efdb; padding-block: 5px; margin-block: clamp(-56px,-5vw,-18px); }
.christmas-divider-art { width: 100%; max-height: 57px; object-fit: fill; display: block; }
[data-navidad] .festive-footer { width: 100%; max-width: none; max-height: 135px; object-fit: cover; object-position: center; }
[data-navidad] .festive-lights { height: 12px; z-index: 4; }
[data-navidad] .festive-bulb { width: 8px; height: 10px; }
[data-navidad] .festive-bauble { width: 33px; height: 93px; z-index: 3; background-size: 1px 63px; }
[data-navidad] .festive-bauble::after { bottom: 32px; left: 13px; }

/* Todas las figuras quedan detrás de los controles y nunca reciben eventos. */
[data-navidad] .christmas-cast {
  display: block; position: absolute; right: 18px; bottom: 72px; width: clamp(117px,16vw,230px);
  filter: drop-shadow(0 5px 9px #38202360);
}
[data-navidad-movimiento] .christmas-cast { animation: christmas-cast-glow 4s ease-in-out infinite; }
@keyframes christmas-cast-glow { 50% { filter: drop-shadow(0 3px 12px #ffbd6399); } }
[data-navidad][data-navidad-movimiento] .christmas-sleigh {
  display: block; position: absolute; top: 25%; left: 0; width: clamp(180px,32vw,420px);
  transform: translateX(-110%); animation: christmas-flight 27s linear infinite; filter: drop-shadow(0 2px 5px #8e6137);
}
@keyframes christmas-flight {
  0%,24% { transform: translate3d(-110%,12vh,0); }
  50%,100% { transform: translate3d(105vw,-18vh,0); }
}
.christmas-particle {
  position: absolute; z-index: 5; font: 700 13px/1 sans-serif; color: #ffcf69;
  text-shadow: 0 0 5px #99531e; animation: christmas-particle .65s ease-out forwards;
}
@keyframes christmas-particle { to { transform: translate3d(var(--dx),var(--dy),0) scale(.45); opacity: 0; } }
.festive-toggle [data-festive-state] { white-space: nowrap; }
@media(max-width:680px) {
  [data-navidad] .festive-bauble { width: 18px; height: 67px; background-size: 1px 50px; }
  [data-navidad] .festive-bauble::after { bottom: 17px; left: 6px; }
  [data-navidad] .festive-bulb { width: 6px; height: 8px; }
  [data-navidad] .christmas-cast { width: 91px; right: 10px; bottom: 66px; opacity: .8; }
  [data-navidad] .christmas-ribbon { gap: 4px 12px; }
  [data-navidad] .festive-footer { max-height: 91px; object-fit: contain; }
}
@media(max-width:360px) { .festive-toggle [data-festive-state] { display: inline; } .festive-toggle { width: auto; padding: 6px 8px; } }
