/* ==========================================================================
   Campus Romero — Calendario de Adviento 2026 (Muestra B Mosaico + Design System)
   Estrictamente encapsulado en .cr-adv-scope para no interferir con el tema.
   ========================================================================== */

/* Banner superior en el Home pegado debajo del menú (RF-08) */
.cr-adv-topbar-wrap{position:relative;width:100%;margin:0;padding:0;z-index:99}
.cr-adv-topbar[hidden],.cr-adv-topbar-tab[hidden]{display:none!important}
.cr-adv-topbar{
  background:#C8102E;
  color:#FFFFFF!important;
  text-align:center;
  font-family:'Lato',Arial,sans-serif;
  font-size:14px;
  line-height:1.4;
  padding:9px 44px 9px 16px;
  margin:0!important;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  position:relative;
}
.cr-adv-topbar-tab{
  position:absolute;
  right:18px;
  top:0;
  background:#C8102E;
  color:#FFFFFF!important;
  border:0;
  border-radius:0 0 10px 10px;
  padding:5px 14px 6px;
  font:700 12px/1.2 'Lato',Arial,sans-serif;
  letter-spacing:.3px;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(200,16,46,.32);
  transition:background .2s,padding-top .15s;
}
.cr-adv-topbar-tab:hover{background:#9E1B32;padding-top:8px}
.cr-adv-topbar-txt{color:#FFFFFF!important;font-weight:500}
.cr-adv-topbar-cta{
  display:inline-block;
  background:#FFF6E5;
  color:#9E1B32!important;
  font-weight:700;
  font-size:13px;
  padding:4px 12px;
  border-radius:20px;
  text-decoration:none!important;
  transition:background .2s,transform .15s;
}
.cr-adv-topbar-cta:hover{background:#FFFFFF;color:#C8102E!important;transform:translateY(-1px)}
.cr-adv-topbar-close{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.18);
  color:#FFFFFF!important;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  padding:0;
  opacity:1;
  float:none;
}
.cr-adv-topbar-close:hover{background:rgba(255,255,255,.32)}

/* Barra de vista previa admin */
.cr-adv-preview-bar{
  background:#1d2a2c;
  color:#cfe;
  font:13px/1.4 'Lato',Arial,sans-serif;
  padding:10px 16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:center;
}
.cr-adv-preview-bar strong{color:#fff}
.cr-adv-preview-bar code{background:#ffffff1a;color:#fff;padding:2px 6px;border-radius:4px}
.cr-adv-preview-bar a{color:#22A699;font-weight:700;margin-left:8px;text-decoration:underline}

/* Sello en ficha de producto revelado (RF-09) */
.cr-adv-product-badge{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  background:#FCE8EB;
  border:1px solid #C8102E33;
  border-radius:8px;
  padding:10px 14px;
  margin:0 0 16px;
  font-family:'Lato',Arial,sans-serif;
}
.cr-adv-badge-pill{
  background:#C8102E;
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:3px 10px;
  border-radius:20px;
}
.cr-adv-badge-link{
  color:#9E1B32;
  font-size:13px;
  font-weight:700;
  text-decoration:underline;
}
.cr-adv-badge-link:hover{color:#C8102E}

/* Pop-up global (RF-08 — Muestra aprobada con animación festiva) */
.cr-adv-popup-backdrop{
  position:fixed;
  inset:0;
  background:rgba(2,25,86,.72);
  display:grid;
  place-items:center;
  padding:16px;
  z-index:99999;
}
.cr-adv-popup-backdrop[hidden]{display:none!important}
.cr-adv-pop{
  position:relative;
  width:min(460px,100%);
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.38);
  font-family:'Lato',Arial,sans-serif;
  color:#4F5F73;
  animation:crAdvPop .35s cubic-bezier(.2,.9,.3,1.2);
}
.cr-adv-pop *{box-sizing:border-box}
.cr-adv-pop-close{
  position:absolute;
  right:12px;
  top:12px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:0;
  background:#fff;
  color:#4F5F73;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  z-index:4;
  opacity:1;
  float:none;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
}
.cr-adv-pop-close:hover{background:#FFF6E5;color:#C8102E}
.cr-adv-pop-head{
  position:relative;
  height:160px;
  background:#C8102E;
  overflow:hidden;
  display:grid;
  place-items:center;
}
.cr-adv-pop-head:before{
  content:'';
  position:absolute;
  inset:auto 0 0 0;
  height:14px;
  background:repeating-linear-gradient(135deg,#fff 0 10px,#9E1B32 10px 20px);
}
.cr-adv-pop-snow{
  position:absolute;
  inset:0;
  background-image:radial-gradient(#ffffff40 2px,transparent 2.5px),radial-gradient(#ffffff26 1.5px,transparent 2px);
  background-size:26px 26px,17px 17px;
  background-position:0 0,9px 11px;
}
.cr-adv-pop-gift{
  position:relative;
  margin-top:22px;
  width:88px;
  height:88px;
  background:#FFF6E5;
  border-radius:12px;
  transform:rotate(-6deg);
  display:grid;
  place-items:center;
  font:700 48px 'Poppins',Arial,sans-serif;
  color:#C8102E;
  box-shadow:0 10px 20px rgba(0,0,0,.22);
  z-index:2;
  animation:crAdvPopGiftPulse 2.4s ease-in-out infinite, crAdvPopGiftWiggle 3.4s ease-in-out infinite;
}
.cr-adv-pop-gift span{position:relative;z-index:2;color:#C8102E!important}
.cr-adv-pop-gift:after{
  content:'';
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:12px;
  margin-left:-6px;
  background:#E9B949;
  z-index:1;
}
.cr-adv-pop-gift:before{
  content:'';
  position:absolute;
  top:-17px;
  width:52px;
  height:26px;
  border:8px solid #E9B949;
  border-radius:50% 50% 10% 10%;
}
.cr-adv-pop-gift small{
  position:absolute;
  bottom:-11px;
  left:50%;
  transform:translateX(-50%) rotate(6deg);
  background:#021956;
  color:#fff!important;
  font:900 11px 'Lato',Arial,sans-serif;
  letter-spacing:2px;
  padding:3px 10px;
  border-radius:20px;
  z-index:3;
}
.cr-adv-pop-deco{position:absolute;width:50px;height:50px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.22))}
.cr-adv-pop-deco.d1{left:44px;top:30px;transform:rotate(-14deg)}
.cr-adv-pop-deco.d2{right:52px;top:22px;width:42px;height:42px}
.cr-adv-pop-deco.d3{left:96px;bottom:22px;width:34px;height:34px}
.cr-adv-pop-deco.d4{right:92px;bottom:26px;width:38px;height:38px;transform:rotate(8deg)}
.cr-adv-pop-body{padding:24px 26px 20px;text-align:center}
.cr-adv-pop-body h2{font:700 24px/30px 'Poppins',Arial,sans-serif;color:#4F5F73;margin:2px 0 16px}
.cr-adv-pop-body h2 span{color:#22A699}
.cr-adv-pop-today{
  display:flex;
  gap:14px;
  align-items:center;
  text-align:left;
  background:#FFF6E5;
  border:2px dashed rgba(200,16,46,.42);
  border-radius:10px;
  padding:12px 14px;
  margin-bottom:14px;
}
.cr-adv-pop-today svg{width:46px;height:46px;flex:none;animation:crAdvHoyBadge 2.4s ease-in-out infinite}
.cr-adv-pop-today .t-tag{font:700 11px 'Lato',Arial,sans-serif;letter-spacing:1.2px;color:#9E1B32}
.cr-adv-pop-today .t-name{font:700 15px/19px 'Poppins',Arial,sans-serif;color:#4F5F73;margin:2px 0 4px}
.cr-adv-pop-today .t-sub{font-size:13px;color:#6B7590}
.cr-adv-pop-strip{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;margin:0 0 8px}
.cr-adv-pop-strip i{height:14px;border-radius:3px;background:#E3E8F2;display:block}
.cr-adv-pop-strip i.past{background:#22A699}
.cr-adv-pop-strip i.now{
  background:#C8102E;
  box-shadow:0 0 0 2px #fff,0 0 0 4px #C8102E;
  animation:crAdvStripNow 1.8s ease-in-out infinite;
}
.cr-adv-pop-cap{font-size:12px;color:#6B7590;margin:0 0 16px}
.cr-adv-pop-cap b{color:#178276}
.cr-adv-pop-cta{
  display:block;
  width:100%;
  background:#22A699;
  color:#fff!important;
  border:0;
  border-radius:4px;
  padding:13px 16px;
  font:700 17px 'Lato',Arial,sans-serif;
  text-decoration:none;
  cursor:pointer;
}
.cr-adv-pop-cta:hover{background:#178276;color:#fff!important}
.cr-adv-pop-link{display:inline-block;margin-top:12px;color:#178276!important;font:700 14px 'Lato',Arial,sans-serif;text-decoration:underline}
.cr-adv-pop-cta:focus-visible,.cr-adv-pop-close:focus-visible,.cr-adv-pop-link:focus-visible{outline:3px solid #021956;outline-offset:2px}
@keyframes crAdvPopGiftPulse{
  0%,100%{box-shadow:0 10px 20px rgba(0,0,0,.22),0 0 0 0 rgba(233,185,73,.0)}
  50%{box-shadow:0 14px 26px rgba(0,0,0,.3),0 0 0 10px rgba(233,185,73,.48)}
}
@keyframes crAdvPopGiftWiggle{
  0%,68%,100%{transform:rotate(-6deg) scale(1)}
  74%{transform:rotate(-10deg) translateY(-4px) scale(1.06)}
  80%{transform:rotate(-2deg) translateY(-4px) scale(1.06)}
  86%{transform:rotate(-8deg) translateY(-2px) scale(1.03)}
  92%{transform:rotate(-5deg) scale(1.01)}
}
@keyframes crAdvStripNow{
  0%,100%{box-shadow:0 0 0 2px #fff,0 0 0 4px #C8102E;transform:scale(1)}
  50%{box-shadow:0 0 0 2px #fff,0 0 0 6px rgba(200,16,46,.55);transform:scale(1.12)}
}
@media(max-width:420px){
  .cr-adv-pop-head{height:126px}
  .cr-adv-pop-deco.d1{left:14px}
  .cr-adv-pop-deco.d2{right:56px}
  .cr-adv-pop-deco.d3{left:50px}
  .cr-adv-pop-deco.d4{right:40px}
  .cr-adv-pop-body h2{font-size:22px;line-height:28px}
  .cr-adv-pop-body{padding:18px}
}
@media(prefers-reduced-motion:reduce){
  .cr-adv-pop,.cr-adv-pop-gift,.cr-adv-pop-today svg,.cr-adv-pop-strip i.now{animation:none!important}
}

/* ===== Contenedor principal encapsulado ===== */
.cr-adv-scope{
  --xmas-red:#C8102E;
  --xmas-red-dark:#9E1B32;
  --xmas-red-soft:#FCE8EB;
  --xmas-cream:#FFF6E5;
  --xmas-gold:#E9B949;
  --cr-teal:#22A699;
  --cr-teal-text:#178276;
  --cr-navy:#021956;
  --cr-navy-2:#092976;
  --cr-slate:#4F5F73;
  --cr-gray-strike:#B6B6B6;
  --cr-muted-text:#6B7590;
  --cr-bg-soft:#FCFCFC;
  --cr-lavender:#DBE0FF;
  --cr-cream:#FFF2C9;
  --cr-pink:#E83F6F;
  --cr-pink-text:#C9284F;
  --cr-pink-soft:#FDE7EE;
  --cr-font-title:'Poppins',Arial,sans-serif;
  --cr-font-body:'Lato',Arial,sans-serif;
  --cr-radius-btn:4px;
  --cr-radius-card:10px;
  --cr-radius-pill:20px;
  font-family:var(--cr-font-body);
  color:var(--cr-slate);
  background:#fff;
  width:100%;
}
.cr-adv-scope *{box-sizing:border-box}
.cr-adv-scope h1,.cr-adv-scope h2,.cr-adv-scope h3{
  font-family:var(--cr-font-title);
  color:var(--cr-slate);
  font-weight:700;
  margin:0;
}
.cr-adv-scope .wrap{max-width:1120px;margin:0 auto;padding:0 24px}

/* Botones */
.cr-adv-scope .cr-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--cr-teal);
  color:#fff;
  font:700 16px/24px var(--cr-font-body);
  padding:8px 15px;
  border-radius:var(--cr-radius-btn);
  text-decoration:none;
  border:0;
  cursor:pointer;
  text-align:center;
  min-height:44px;
}
.cr-adv-scope .cr-btn:hover{background:var(--cr-teal-text);color:#fff}
.cr-adv-scope .cr-btn--ghost{
  background:transparent;
  color:var(--cr-teal-text);
  border:2px solid var(--cr-teal-text);
  padding:6px 13px;
}
.cr-adv-scope .cr-btn--ghost:hover{background:#E8F6F4;color:var(--cr-teal-text)}
.cr-adv-scope .cr-btn--lg{font-size:17px;padding:12px 22px}
.cr-adv-scope .cr-btn--disabled{background:#B6B6B6;color:#fff;cursor:default;pointer-events:none}
.cr-adv-scope .cr-btn:focus-visible,
.cr-adv-scope .tile:focus-visible,
.cr-adv-scope .close:focus-visible{
  outline:3px solid var(--cr-navy);
  outline-offset:2px;
}
.cr-adv-scope .on-navy .cr-btn:focus-visible,
.cr-adv-scope .on-navy .tile:focus-visible{
  outline-color:#fff;
}

/* Hero */
.cr-adv-scope .hero{
  padding:56px 0 48px;
  display:grid;
  grid-template-columns:1.45fr 1fr;
  align-items:center;
  gap:32px;
}
.cr-adv-scope .kicker{
  display:inline-block;
  background:var(--xmas-red-soft);
  color:var(--xmas-red-dark);
  font-weight:700;
  font-size:12px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  padding:5px 12px;
  border-radius:var(--cr-radius-pill);
}
.cr-adv-scope .hero h1{font-size:48px;line-height:56px;margin:16px 0 14px}
.cr-adv-scope .hero h1 span{color:var(--cr-teal)}
.cr-adv-scope .hero p{font:500 20px/28px var(--cr-font-title);margin:0 0 24px;max-width:540px;color:var(--cr-slate)}
.cr-adv-scope .cta-row{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.cr-adv-scope .countdown{font-size:14px;color:var(--cr-muted-text)}
.cr-adv-scope .countdown strong{
  display:block;
  font:700 20px var(--cr-font-title);
  color:var(--cr-slate);
  font-variant-numeric:tabular-nums;
}
.cr-adv-scope .ornament{display:grid;place-items:center;position:relative;min-height:260px}
.cr-adv-scope .gift{
  width:210px;
  height:auto;
  position:relative;
  display:grid;
  place-items:center;
  transform:rotate(-5deg);
  animation:crAdvFloat 4s ease-in-out infinite;
}
.cr-adv-scope .gift.gift--img{
  background:transparent;
  box-shadow:none;
}
.cr-adv-scope .gift.gift--img:before,
.cr-adv-scope .gift.gift--img:after{display:none}
.cr-adv-scope .gift-img{
  width:100%;
  height:auto;
  display:block;
  filter:drop-shadow(0 16px 26px rgba(2,25,86,.22));
  user-select:none;
  pointer-events:none;
}
.cr-adv-scope .gift-day{
  position:absolute;
  top:64%;
  left:50%;
  transform:translate(-50%,-50%);
  font:700 84px/1 var(--cr-font-title);
  color:#FFFFFF!important;
  text-shadow:0 3px 8px rgba(158,27,50,.55);
  pointer-events:none;
  letter-spacing:-2px;
}
.cr-adv-scope .deco{position:absolute;width:70px;height:70px;filter:drop-shadow(0 4px 6px #0002)}
.cr-adv-scope .deco.d1{left:4%;top:8%;transform:rotate(-14deg)}
.cr-adv-scope .deco.d2{right:4%;top:4%;width:58px;height:58px}
.cr-adv-scope .deco.d3{left:10%;bottom:4%;width:54px;height:54px;transform:rotate(10deg)}
.cr-adv-scope .ribbon{
  position:absolute;
  bottom:22px;
  right:6px;
  background:var(--cr-navy);
  color:#fff;
  border-radius:var(--cr-radius-pill);
  padding:8px 16px;
  font-size:13px;
  font-weight:700;
  transform:rotate(4deg);
}
@keyframes crAdvFloat{50%{transform:translateY(-8px) rotate(-4deg)}}

/* Sección calendario en azul marino */
.cr-adv-scope .on-navy{background:var(--cr-navy);color:#fff;padding:48px 0 56px}
.cr-adv-scope .on-navy h2{color:#FFFFFF!important}
.cr-adv-scope .section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}
.cr-adv-scope h2{font-size:32px;line-height:45px}
.cr-adv-scope .sub{font-size:16px;line-height:24px;color:var(--cr-muted-text);margin-top:4px}
.cr-adv-scope .on-navy .sub{color:#E8EEFF!important}
.cr-adv-scope .cr-adv-progress{
  display:block!important;
  height:auto!important;
  overflow:visible!important;
  background:transparent!important;
  border-radius:0!important;
  min-width:210px;
  text-align:right;
  font-size:14px;
  line-height:1.4;
  font-weight:700;
  color:#FFFFFF!important;
}
.cr-adv-scope .track{height:6px;background:#ffffff2e;border-radius:10px;margin-top:8px;overflow:hidden}
.cr-adv-scope .track i{display:block;height:100%;background:var(--cr-teal);transition:width .4s}
.cr-adv-scope .pill-pack{
  display:inline-block;
  background:var(--cr-cream);
  color:var(--cr-slate);
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
  padding:2px 9px;
  border-radius:var(--cr-radius-pill);
}

/* Mosaico Muestra B */
.cr-adv-scope .mosaic{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  grid-auto-rows:112px;
  gap:10px;
  background:#ffffff0f;
  padding:12px;
  border-radius:16px;
  box-shadow:inset 0 0 0 1px #ffffff1f;
}
.cr-adv-scope .tile{
  position:relative;
  border:0;
  border-radius:var(--cr-radius-card);
  padding:12px;
  text-align:left;
  cursor:pointer;
  font:inherit;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s;
  color:var(--cr-slate);
}
.cr-adv-scope .tile:hover{transform:translateY(-3px);box-shadow:0 10px 24px #00000055}
.cr-adv-scope .w2{grid-column:span 2}
.cr-adv-scope .h2{grid-row:span 2}
.cr-adv-scope .h3{grid-row:span 3}
.cr-adv-scope .big{grid-column:4/6;grid-row:5/7}
.cr-adv-scope .tile .n{font:700 34px/1 var(--cr-font-title);letter-spacing:-1px;position:relative;z-index:1}
.cr-adv-scope .tile.big .n{font-size:72px}
.cr-adv-scope .chip-n{
  display:inline-grid;
  place-items:center;
  width:50px;
  height:50px;
  border-radius:50%;
  background:#fff;
  color:var(--cr-slate);
  font:700 24px var(--cr-font-title);
  box-shadow:0 2px 6px #0002;
  position:relative;
  z-index:1;
}
.cr-adv-scope .tile .ico{position:absolute;right:8px;bottom:6px;width:46px;height:46px;z-index:0;filter:drop-shadow(0 2px 2px #0002)}
.cr-adv-scope .tile.w2 .ico,.cr-adv-scope .tile.h2 .ico,.cr-adv-scope .tile.h3 .ico{width:66px;height:66px}
.cr-adv-scope .tile.big .ico{width:130px;height:130px;right:16px;bottom:14px}
.cr-adv-scope .tile.h3 .ico{bottom:14px;right:50%;transform:translateX(50%)}
.cr-adv-scope .tile .packtag{position:absolute;right:10px;top:10px;z-index:1}

/* Texturas */
.cr-adv-scope .sk-candy{background:repeating-linear-gradient(135deg,var(--xmas-red) 0 13px,#fff 13px 26px)}
.cr-adv-scope .sk-red{background:var(--xmas-red);color:#fff}
.cr-adv-scope .sk-redgingham{background-color:#fff;background-image:linear-gradient(90deg,#C8102E66 50%,transparent 50%),linear-gradient(#C8102E66 50%,transparent 50%);background-size:22px 22px}
.cr-adv-scope .sk-xcream{background:var(--xmas-cream)}
.cr-adv-scope .sk-snow{background-color:#EAF6F4;background-image:radial-gradient(#fff 2.6px,transparent 3px),radial-gradient(#fff 1.6px,transparent 2px);background-size:22px 22px,14px 14px;background-position:0 0,7px 9px}
.cr-adv-scope .sk-solid{background:#fff}
.cr-adv-scope .sk-teal{background:var(--cr-teal);color:#fff}
.cr-adv-scope .sk-stripes{background:repeating-linear-gradient(135deg,var(--cr-teal) 0 14px,#fff 14px 28px)}

/* Estados casillas */
.cr-adv-scope .tile.locked{
  cursor:pointer;
  background:#ffffff12!important;
  background-image:none!important;
  color:#9FAED6;
  box-shadow:inset 0 0 0 1px #ffffff33;
}
.cr-adv-scope .tile.locked .chip-n{background:transparent;color:inherit;box-shadow:none;width:auto;height:auto;font-size:34px;letter-spacing:-1px}
.cr-adv-scope .tile.locked .ico{opacity:.18;filter:grayscale(1) brightness(2)}
.cr-adv-scope .tile.locked:hover{transform:none;box-shadow:inset 0 0 0 1px #ffffff55}
.cr-adv-scope .tile.locked .tlock{position:absolute;right:10px;top:10px;font-size:15px;z-index:1;opacity:.8}
.cr-adv-scope .tile.today{
  background:var(--xmas-cream);
  box-shadow:0 0 0 4px var(--xmas-red),0 14px 30px #C8102E66;
  z-index:2;
  animation:crAdvTodayPulse 2.4s ease-in-out infinite, crAdvTodayWiggle 3.6s ease-in-out infinite;
}
.cr-adv-scope .tile.today:hover{
  animation:none;
  transform:translateY(-4px) scale(1.03);
  box-shadow:0 0 0 4px var(--xmas-red),0 0 0 10px rgba(233,185,73,.35),0 16px 34px rgba(200,16,46,.55);
}
.cr-adv-scope .tile.today::after{
  content:'';
  position:absolute;
  top:-20%;
  left:-75%;
  width:50%;
  height:140%;
  background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.65) 50%,transparent 100%);
  transform:skewX(-20deg);
  pointer-events:none;
  z-index:2;
  animation:crAdvTodaySheen 3.2s ease-in-out infinite;
}
.cr-adv-scope .tile.today .bow{position:absolute;left:50%;top:-6px;transform:translateX(-50%);width:62px;height:30px;z-index:3}
.cr-adv-scope .tile.today .hoy{
  position:absolute;
  left:12px;
  bottom:10px;
  background:var(--xmas-red);
  color:#fff;
  font-weight:900;
  font-size:13px;
  letter-spacing:2px;
  padding:3px 12px;
  border-radius:var(--cr-radius-pill);
  z-index:3;
  animation:crAdvHoyBadge 2.4s ease-in-out infinite;
}
@keyframes crAdvTodayPulse{
  0%,100%{box-shadow:0 0 0 4px #C8102E,0 0 0 4px rgba(233,185,73,.0),0 14px 30px rgba(200,16,46,.45)}
  50%{box-shadow:0 0 0 4px #C8102E,0 0 0 11px rgba(233,185,73,.42),0 18px 36px rgba(200,16,46,.7)}
}
@keyframes crAdvTodayWiggle{
  0%,72%,100%{transform:translateY(0) rotate(0deg) scale(1)}
  78%{transform:translateY(-3px) rotate(-1.6deg) scale(1.025)}
  84%{transform:translateY(-3px) rotate(1.6deg) scale(1.025)}
  90%{transform:translateY(-2px) rotate(-1deg) scale(1.015)}
  95%{transform:translateY(0) rotate(.6deg) scale(1.005)}
}
@keyframes crAdvTodaySheen{
  0%,55%{left:-75%;opacity:0}
  65%{opacity:1}
  100%{left:135%;opacity:0}
}
@keyframes crAdvHoyBadge{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.08)}
}
.cr-adv-scope .tile .check{
  position:absolute;
  right:10px;
  top:10px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  color:var(--cr-teal-text);
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:14px;
  z-index:1;
  box-shadow:0 1px 4px #0002;
}
.cr-adv-scope .tile.pack .check{top:auto;bottom:10px}
.cr-adv-scope .tile.locked,
.cr-adv-scope .tile.locked .n,
.cr-adv-scope .tile.locked .chip-n{color:#D8E2FF!important}
.cr-adv-scope .tile.sk-red .n,
.cr-adv-scope .tile.sk-teal .n{color:#FFFFFF!important}
.cr-adv-scope .tile.today .hoy{color:#FFFFFF!important}
.cr-adv-scope .tile .pill-pack{color:#4F5F73!important}
.cr-adv-scope .mosaic-cta{text-align:center;margin:22px 0 0;font:700 20px var(--cr-font-title);color:#FFFFFF!important}
.cr-adv-scope .mosaic-cta small{display:block;font:400 14px var(--cr-font-body);color:#E8EEFF!important;margin-top:6px}
.cr-adv-scope .legend{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;font-weight:600;color:#FFFFFF!important;margin:0 0 16px}
.cr-adv-scope .legend span{color:#FFFFFF!important;display:inline-flex;align-items:center}
.cr-adv-scope .legend i{display:inline-block;width:13px;height:13px;border-radius:3px;vertical-align:-1px;margin-right:7px;flex-shrink:0}

/* Vitrina de ofertas reveladas */
.cr-adv-scope .shelf-sec{background:var(--cr-bg-soft);padding:48px 0 40px}
.cr-adv-scope .shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
.cr-adv-scope .card{
  background:#fff;
  border:0;
  border-radius:var(--cr-radius-card);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 1px 0 #e9edf3,0 0 0 1px #eef1f5;
}
.cr-adv-scope .thumb{
  aspect-ratio:16/10;
  display:grid;
  place-items:center;
  color:#fff;
  font:700 36px var(--cr-font-title);
  position:relative;
  overflow:hidden;
}
.cr-adv-scope .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.cr-adv-scope .thumb .badge{
  position:absolute;
  left:10px;
  top:10px;
  background:#fff;
  color:var(--cr-slate);
  font-size:13px;
  font-weight:700;
  padding:2px 10px 1px;
  border-radius:var(--cr-radius-pill);
  z-index:2;
}
.cr-adv-scope .thumb .dayb{
  position:absolute;
  right:10px;
  top:10px;
  background:var(--xmas-red);
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:2px 10px 1px;
  border-radius:var(--cr-radius-pill);
  z-index:2;
}
.cr-adv-scope .card .body{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1}
.cr-adv-scope .card h3{font-size:18px;line-height:22px}
.cr-adv-scope .price{display:flex;gap:22px;align-items:end;flex-wrap:wrap}
.cr-adv-scope .price small{display:block;font:400 12px/18px var(--cr-font-title);color:var(--cr-slate)}
.cr-adv-scope .price .old{font:700 16px var(--cr-font-title);color:var(--cr-gray-strike);text-decoration:line-through}
.cr-adv-scope .price .now small{color:var(--cr-teal-text)}
.cr-adv-scope .price .new{font:700 22px var(--cr-font-title);color:var(--cr-teal)}
.cr-adv-scope .save{
  align-self:flex-start;
  background:var(--xmas-red-soft);
  color:var(--xmas-red-dark);
  font-weight:700;
  font-size:12px;
  padding:3px 10px;
  border-radius:var(--cr-radius-pill);
}
.cr-adv-scope .card .actions{display:grid;gap:8px;margin-top:auto;padding-top:4px}
.cr-adv-scope .empty{background:#fff;border-radius:var(--cr-radius-card);padding:24px;text-align:center;color:var(--cr-muted-text)}
.cr-adv-scope .terms{font-size:13px;line-height:20px;color:var(--cr-muted-text);margin:28px 0 0}

/* Estado cerrado */
.cr-adv-scope .closed{padding:80px 24px;text-align:center}
.cr-adv-scope .closed h1{font-size:48px;line-height:56px;margin:14px 0}
.cr-adv-scope .closed h1 span{color:var(--cr-teal)}
.cr-adv-scope .closed p{font:500 20px/28px var(--cr-font-title);max-width:520px;margin:0 auto 26px}

/* Modal */
.cr-adv-scope dialog{
  border:0;
  border-radius:var(--cr-radius-card);
  padding:0;
  width:min(420px,calc(100% - 32px));
  color:var(--cr-slate);
  box-shadow:0 24px 80px #02195659;
  overflow:hidden;
  font-family:var(--cr-font-body);
  margin:auto;
}
.cr-adv-scope dialog[open]{animation:crAdvPop .3s cubic-bezier(.2,.9,.3,1.2)}
.cr-adv-scope dialog::backdrop{background:#021956b3}
@keyframes crAdvPop{from{opacity:0;transform:scale(.9) translateY(16px)}to{opacity:1;transform:none}}
.cr-adv-scope .close{
  position:absolute;
  right:10px;
  top:10px;
  float:none;
  opacity:1;
  border:0;
  background:#fff;
  border-radius:50%;
  width:40px;
  height:40px;
  font-size:24px;
  line-height:1;
  color:var(--cr-slate);
  cursor:pointer;
  z-index:3;
  box-shadow:0 2px 8px #0002;
}
.cr-adv-scope dialog .dayb{display:none}
.cr-adv-scope dialog .thumb{aspect-ratio:auto;height:175px}
.cr-adv-scope .m-body{padding:20px 24px 24px}
.cr-adv-scope .m-tag{color:var(--cr-teal-text);font-size:12px;font-weight:700;letter-spacing:1.3px}
.cr-adv-scope dialog h2{font-size:22px;line-height:28px;margin:6px 0 14px}
.cr-adv-scope dialog .note{font-size:14px;color:var(--cr-muted-text);margin:12px 0 18px}
.cr-adv-scope dialog .actions{display:grid;gap:10px}
.cr-adv-scope .lock{padding:40px 28px 28px;text-align:center}
.cr-adv-scope .lock .ico{font-size:56px;display:block;margin-bottom:6px}
.cr-adv-scope .lock p{color:var(--cr-muted-text);margin:0 0 20px}

/* Confeti */
.cr-adv-confetti{
  position:fixed;
  top:-20px;
  width:9px;
  height:15px;
  z-index:100000;
  pointer-events:none;
  animation:crAdvFall 1.6s linear forwards;
}
@keyframes crAdvFall{to{transform:translate(var(--dx),110vh) rotate(650deg);opacity:0}}

/* Responsivo */
@media(max-width:860px){
  .cr-adv-scope .hero{grid-template-columns:1fr;padding:36px 0}
  .cr-adv-scope .ornament{min-height:210px}
  .cr-adv-scope .mosaic{grid-template-columns:repeat(3,1fr);grid-auto-flow:dense}
  .cr-adv-scope .mosaic .h2,.cr-adv-scope .mosaic .h3{grid-row:auto}
  .cr-adv-scope .mosaic .m-w2{grid-column:span 2}
  .cr-adv-scope .mosaic .big{grid-column:1/-1;grid-row:auto/span 2}
}
@media(max-width:480px){
  .cr-adv-scope .wrap{padding:0 16px}
  .cr-adv-scope .hero h1,.cr-adv-scope .closed h1{font-size:34px;line-height:40px}
  .cr-adv-scope h2{font-size:26px;line-height:34px}
  .cr-adv-scope .hero p{font-size:17px;line-height:25px}
  .cr-adv-scope .section-head{flex-direction:column;align-items:start}
  .cr-adv-scope .cr-adv-progress{text-align:left;width:100%}
  .cr-adv-scope .cta-row .cr-btn{width:100%}
  .cr-adv-scope .mosaic{grid-template-columns:repeat(3,1fr);grid-auto-rows:96px;gap:8px;padding:8px}
  .cr-adv-scope .tile .n{font-size:28px}
  .cr-adv-scope .tile.big .n{font-size:56px}
  .cr-adv-scope .chip-n{width:42px;height:42px;font-size:20px}
  .cr-adv-scope .tile.locked .chip-n{font-size:28px}
  .cr-adv-scope .tile .ico{width:42px;height:42px}
  .cr-adv-scope .tile.big .ico{width:80px;height:80px}
}
@media(prefers-reduced-motion:reduce){
  .cr-adv-scope *,
  .cr-adv-scope *::before,
  .cr-adv-scope *::after{animation:none!important;transition:none!important}
  .cr-adv-confetti{display:none!important}
}
