/* Anita Fiesta — visual reference implementation */
:root{
  --ref-wine:#2a0813;
  --ref-wine-2:#4a1021;
  --ref-cream:#fff6ec;
  --ref-card:#fffaf4;
  --ref-peach:#ffc2aa;
  --ref-pink:#e72b6d;
  --ref-pink-dark:#b51850;
  --ref-ink:#3e1726;
  --ref-muted:#816975;
  --ref-line:rgba(91,34,53,.16);
  --ref-green:#18aa62;
  --ref-shadow:0 18px 50px rgba(73,28,45,.12);
}
body.ref-ui{
  margin:0;
  background:var(--ref-cream);
  color:var(--ref-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
body.ref-ui button,body.ref-ui input{font-family:inherit}
body.ref-ui main{height:100dvh;overflow:hidden}
body.ref-ui main>section{
  display:none!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100dvh!important;
  min-height:0!important;
  padding:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
body.ref-ui main>section.screen-active{display:block!important}
body.ref-ui main>#inicio.hero-v4.screen-active{
  display:block!important;
  overflow:hidden!important;
  background:var(--ref-wine)!important;
}
body.ref-ui main>section>.wrap{
  width:min(1240px,calc(100% - 56px));
  min-height:calc(100dvh - 110px);
  height:auto!important;
  margin:0 auto;
  padding:112px 0 48px;
  display:block!important;
}
body.ref-ui .reveal{opacity:1!important;transform:none!important}
body.ref-ui footer{display:none!important}

/* Header */
body.ref-ui .party-header{
  height:88px;
  padding:16px clamp(20px,5.7vw,88px);
  gap:22px;
  color:#fff;
  pointer-events:auto;
  background:transparent;
  transition:background .2s ease,box-shadow .2s ease;
}
body.ref-ui:not(.hero-mode) .party-header{
  background:rgba(255,248,241,.96);
  border-bottom:1px solid rgba(91,34,53,.12);
  box-shadow:0 5px 24px rgba(64,23,39,.06);
  color:var(--ref-ink);
}
body.ref-ui .party-brand{
  display:flex!important;
  flex:0 0 auto;
  gap:10px;
  color:inherit;
  text-shadow:none;
  pointer-events:auto;
}
body.ref-ui .party-brand:before,
body.ref-ui .party-brand img{display:none!important;content:none!important}
body.ref-ui .party-brand span{display:block!important}
body.ref-ui .party-brand strong{
  display:block;
  color:inherit;
  font-family:Georgia,"Times New Roman",serif;
  font-size:29px;
  line-height:.82;
  letter-spacing:-1.4px;
}
body.ref-ui .party-brand strong:after{
  content:"";
  display:inline-block;
  width:9px;
  height:9px;
  margin:0 0 4px 4px;
  border-radius:8px 2px 8px 2px;
  background:var(--ref-peach);
  transform:rotate(28deg);
}
body.ref-ui:not(.hero-mode) .party-brand strong{color:var(--ref-pink)}
body.ref-ui .party-brand small{
  display:block;
  margin-top:7px;
  color:var(--ref-peach);
  font-size:7px;
  font-weight:900;
  letter-spacing:2.1px;
}
body.ref-ui:not(.hero-mode) .party-brand small{color:var(--ref-pink-dark)}
body.ref-ui .hero-v4-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1;
  gap:clamp(16px,2.8vw,42px);
  pointer-events:auto;
}
body.ref-ui .hero-v4-nav button{
  border:0;
  padding:9px 0;
  background:transparent;
  color:rgba(255,246,236,.86);
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  transition:color .18s ease;
}
body.ref-ui .hero-v4-nav button:hover,
body.ref-ui .hero-v4-nav button:focus-visible{color:#fff}
body.ref-ui:not(.hero-mode) .hero-v4-nav button{color:var(--ref-muted)}
body.ref-ui:not(.hero-mode) .hero-v4-nav button:hover,
body.ref-ui:not(.hero-mode) .hero-v4-nav button:focus-visible{color:var(--ref-pink)}
body.ref-ui .ref-header-tools{
  display:flex;
  align-items:center;
  gap:15px;
  flex:0 0 auto;
}
body.ref-ui .ref-header-search,
body.ref-ui .ref-header-cart{
  position:relative;
  border:0;
  color:inherit;
  background:transparent;
  cursor:pointer;
}
body.ref-ui .ref-header-search{
  width:270px;
  height:48px;
  border:1px solid rgba(255,246,236,.35);
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 18px;
  color:rgba(255,246,236,.62);
  text-align:left;
}
body.ref-ui:not(.hero-mode) .ref-header-search{
  border-color:var(--ref-line);
  color:var(--ref-muted);
}
body.ref-ui .ref-header-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
body.ref-ui .ref-header-search span{font-size:13px}
body.ref-ui .ref-header-cart{
  width:38px;
  height:45px;
  display:grid;
  place-items:center;
}
body.ref-ui .ref-header-cart svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6}
body.ref-ui .ref-cart-count{
  position:absolute;
  top:0;
  right:-2px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--ref-peach);
  color:var(--ref-wine);
  font-size:10px;
  font-weight:950;
}
body.ref-ui .menu-toggle{
  display:none!important;
  flex:0 0 auto;
  width:46px;
  height:46px;
  border:1px solid rgba(255,246,236,.36);
  background:rgba(255,255,255,.08);
  box-shadow:none;
}
body.ref-ui:not(.hero-mode) .menu-toggle{
  display:grid!important;
  border-color:var(--ref-line);
  background:var(--ref-card);
}
body.ref-ui .menu-toggle span{background:currentColor}
body.ref-ui .corner-menu{
  top:78px;
  right:clamp(12px,4vw,58px);
  border:1px solid var(--ref-line);
  border-radius:20px;
  padding:62px 24px 24px;
  background:var(--ref-card);
}
body.ref-ui .corner-menu a{color:var(--ref-ink)}
body.ref-ui .menu-close{background:#ffedf4;color:var(--ref-pink-dark)}
body.ref-ui .menu-backdrop{z-index:124}

/* Hero */
body.ref-ui #inicio.hero-v4:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(90deg,rgba(42,8,19,.93) 0%,rgba(42,8,19,.68) 39%,rgba(42,8,19,.08) 73%,rgba(42,8,19,.08) 100%),
    url("assets/hero-reference-bg.webp") center/cover no-repeat;
}
body.ref-ui #inicio .hero-v4-bg,
body.ref-ui #inicio .hero-v4-platform,
body.ref-ui #inicio .hero-v4-halo{display:none!important}
body.ref-ui #inicio .hero-v4-shell{
  position:relative;
  z-index:2;
  width:min(1380px,calc(100% - 112px));
  height:100dvh;
  min-height:0;
  margin:0 auto;
  padding:106px 0 34px;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(560px,1.1fr);
  align-items:center;
  gap:36px;
}
body.ref-ui #inicio .hero-v4-copy{
  position:relative;
  z-index:4;
  max-width:650px;
}
body.ref-ui #inicio .hero-v4-copy:before{
  content:"TUS FAVORITOS, SIEMPRE AQUÍ";
  display:block;
  color:var(--ref-peach);
  font-size:12px;
  font-weight:850;
  letter-spacing:4px;
  margin-bottom:22px;
}
body.ref-ui #inicio .hero-v4-copy h1{
  max-width:650px;
  margin:0;
  color:var(--ref-cream);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(58px,6.4vw,105px);
  font-weight:600;
  line-height:.91;
  letter-spacing:-4.5px;
  text-wrap:balance;
  text-shadow:0 8px 28px rgba(18,2,8,.2);
}
body.ref-ui #inicio .hero-v4-copy h1 span{color:var(--ref-cream)}
body.ref-ui #inicio .hero-v4-copy p{
  max-width:540px;
  margin:28px 0 0;
  color:rgba(255,246,236,.78);
  font-size:clamp(16px,1.35vw,20px);
  line-height:1.45;
}
body.ref-ui #inicio .hero-v4-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:34px;
}
body.ref-ui #inicio .hero-v4-cta{
  min-width:198px;
  height:62px;
  padding:0 25px;
  border-radius:999px;
  border:1px solid rgba(255,246,236,.75);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  color:var(--ref-cream);
  background:transparent;
  font-size:16px;
  font-weight:850;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,color .2s ease;
}
body.ref-ui #inicio .hero-v4-cta svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
body.ref-ui #inicio .hero-v4-cta:hover,
body.ref-ui #inicio .hero-v4-cta:focus-visible{transform:translateY(-2px)}
body.ref-ui #inicio .hero-v4-primary{
  border-color:var(--ref-peach);
  background:var(--ref-peach);
  color:var(--ref-wine);
}
body.ref-ui #inicio .hero-v4-secondary{border-color:rgba(255,246,236,.84)}
body.ref-ui #inicio .hero-v4-stage{
  position:relative;
  width:100%;
  height:100%;
  min-height:520px;
  pointer-events:none;
}
body.ref-ui #inicio .hero-v4-products{
  position:absolute;
  inset:0;
  pointer-events:auto;
}
body.ref-ui #inicio .hero-v4-product{
  position:absolute!important;
  top:52%!important;
  left:50%!important;
  width:245px!important;
  height:440px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  display:grid!important;
  place-items:center;
  background:transparent!important;
  opacity:.34;
  cursor:pointer;
  transform:translate(-50%,-50%) scale(.65)!important;
  transition:transform .55s cubic-bezier(.2,.8,.2,1),opacity .55s ease,filter .55s ease,left .55s ease,top .55s ease;
  filter:saturate(.78);
}
body.ref-ui #inicio .hero-v4-product img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  filter:drop-shadow(0 24px 20px rgba(17,1,8,.34));
}
body.ref-ui #inicio .hero-v4-product.is-active{
  left:50%!important;
  top:52%!important;
  z-index:5!important;
  opacity:1;
  transform:translate(-50%,-50%) scale(1.04)!important;
  filter:saturate(1);
}
body.ref-ui #inicio .hero-v4-product.is-prev{
  left:18%!important;
  top:60%!important;
  z-index:2!important;
  opacity:.78;
  transform:translate(-50%,-50%) scale(.62)!important;
}
body.ref-ui #inicio .hero-v4-product.is-next{
  left:84%!important;
  top:61%!important;
  z-index:2!important;
  opacity:.86;
  transform:translate(-50%,-50%) scale(.68)!important;
}
body.ref-ui #inicio .hero-v4-product.is-far-left{
  left:5%!important;
  top:42%!important;
  z-index:1!important;
  opacity:.18;
  transform:translate(-50%,-50%) scale(.42)!important;
}
body.ref-ui #inicio .hero-v4-product.is-far-right{
  left:103%!important;
  top:42%!important;
  z-index:1!important;
  opacity:.18;
  transform:translate(-50%,-50%) scale(.42)!important;
}
body.ref-ui #inicio .hero-v4-arrow{
  position:absolute;
  top:53%;
  z-index:8;
  width:48px;
  height:48px;
  border:1px solid rgba(255,246,236,.45);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--ref-cream);
  background:rgba(42,8,19,.35);
  cursor:pointer;
  pointer-events:auto;
}
body.ref-ui #inicio .hero-v4-arrow svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}
body.ref-ui #inicio .hero-v4-prev{left:4%}
body.ref-ui #inicio .hero-v4-next{right:4%}
body.ref-ui #inicio .hero-v4-meta{
  position:absolute;
  left:5%;
  right:5%;
  bottom:2%;
  z-index:10;
  display:flex;
  align-items:center;
  gap:16px;
  color:var(--ref-cream);
  pointer-events:none;
}
body.ref-ui #inicio .hero-v4-progress{display:flex;align-items:center;gap:13px}
body.ref-ui #inicio .hero-v4-number{font-size:12px;letter-spacing:2px}
body.ref-ui #inicio .hero-v4-dots{display:flex;gap:6px}
body.ref-ui #inicio .hero-v4-dots i{width:7px;height:7px;border:1px solid rgba(255,246,236,.72);border-radius:50%}
body.ref-ui #inicio .hero-v4-dots i.is-active{background:var(--ref-peach);border-color:var(--ref-peach)}
body.ref-ui #inicio .hero-v4-divider{width:1px;height:27px;background:rgba(255,246,236,.4)}
body.ref-ui #inicio .hero-v4-product-copy{display:flex;flex-direction:column;gap:3px}
body.ref-ui #inicio .hero-v4-product-copy strong{font-family:Georgia,serif;font-size:17px;font-weight:500}
body.ref-ui #inicio .hero-v4-product-copy span{color:rgba(255,246,236,.68);font-size:11px}

/* Shared screens */
body.ref-ui .section-title{display:block;margin:0 0 26px}
body.ref-ui .section-title .fiesta-kicker{
  display:block;
  margin-bottom:8px;
  color:var(--ref-pink);
  font-size:10px;
  font-weight:950;
  letter-spacing:2.3px;
  text-transform:uppercase;
}
body.ref-ui .section-title h2{
  margin:0;
  color:var(--ref-wine);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(38px,4.4vw,62px);
  font-weight:600;
  line-height:.95;
  letter-spacing:-2.5px;
}
body.ref-ui .section-title h2 span{color:var(--ref-pink)}
body.ref-ui .section-title p{
  max-width:600px;
  margin:13px 0 0;
  color:var(--ref-muted);
  font-size:15px;
  line-height:1.5;
  text-align:left;
}

/* Combos */
body.ref-ui #combos{
  background:
    radial-gradient(circle at 90% 10%,rgba(255,194,170,.5),transparent 27%),
    linear-gradient(140deg,#fff8f0 0%,#fff5f8 52%,#fffaf1 100%);
}
body.ref-ui #combos .combo-grid{display:block;width:100%;max-width:1080px;margin:0 auto}
body.ref-ui .ref-combo-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(260px,.73fr) minmax(0,1.27fr);
  min-height:calc(100dvh - 226px);
  border:1px solid rgba(102,37,59,.12);
  border-radius:30px;
  background:linear-gradient(145deg,#fff0f4,#fffaf4 50%,#f7efff);
  box-shadow:var(--ref-shadow);
}
body.ref-ui .ref-combo-art{
  position:relative;
  min-height:100%;
  padding:25px;
  background:
    radial-gradient(circle at 40% 25%,rgba(255,194,170,.9),transparent 30%),
    linear-gradient(160deg,#5a132d,#290713);
  overflow:hidden;
}
body.ref-ui .ref-combo-art:after{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,246,236,.35);
  border-radius:22px;
  pointer-events:none;
}
body.ref-ui .ref-combo-poster{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:contain;
  filter:drop-shadow(0 18px 24px rgba(19,3,10,.35));
}
body.ref-ui .ref-combo-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:30px 32px 25px;
}
body.ref-ui .ref-combo-kicker{
  color:var(--ref-pink);
  font-size:10px;
  font-weight:950;
  letter-spacing:2px;
  text-transform:uppercase;
}
body.ref-ui .ref-combo-copy h3{
  margin:7px 0 5px;
  color:var(--ref-wine);
  font-family:Georgia,serif;
  font-size:clamp(34px,4vw,58px);
  line-height:.92;
  letter-spacing:-2.5px;
}
body.ref-ui .ref-combo-lead{
  max-width:490px;
  margin:0 0 18px;
  color:var(--ref-muted);
  font-size:14px;
  line-height:1.45;
}
body.ref-ui .ref-combo-items{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin:0;
  padding:0;
  list-style:none;
  overflow:auto;
}
body.ref-ui .ref-combo-item{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:7px;
  min-width:0;
  padding:8px 9px;
  border:1px solid rgba(102,37,59,.11);
  border-radius:12px;
  background:rgba(255,255,255,.78);
}
body.ref-ui .ref-combo-qty{
  min-width:27px;
  height:27px;
  padding:0 4px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--ref-pink);
  color:#fff;
  font-size:9px;
  font-weight:950;
}
body.ref-ui .ref-combo-item:nth-child(3n) .ref-combo-qty{background:#6940a7}
body.ref-ui .ref-combo-item:nth-child(3n+2) .ref-combo-qty{background:#e79b32}
body.ref-ui .ref-combo-item-name{
  min-width:0;
  overflow:hidden;
  color:var(--ref-ink);
  font-size:11px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.ref-ui .ref-replace-button{
  border:0;
  padding:6px 7px;
  border-radius:999px;
  background:#fff0f5;
  color:var(--ref-pink-dark);
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
body.ref-ui .ref-replace-button:hover,
body.ref-ui .ref-replace-button:focus-visible{background:var(--ref-pink);color:#fff}
body.ref-ui .ref-combo-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:auto;
  padding-top:20px;
}
body.ref-ui .ref-combo-wa,
body.ref-ui .ref-combo-back{
  min-height:49px;
  border:0;
  border-radius:999px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  cursor:pointer;
  font-size:12px;
  font-weight:950;
}
body.ref-ui .ref-combo-wa{background:var(--ref-green);color:#fff}
body.ref-ui .ref-combo-back{background:transparent;border:1px solid var(--ref-line);color:var(--ref-ink)}
body.ref-ui .ref-combo-wa svg{width:20px;height:20px;fill:currentColor}

/* Catalog */
body.ref-ui #catalogo{background:var(--ref-cream)}
body.ref-ui #catalogo .catalog-head{
  display:grid;
  grid-template-columns:1fr minmax(230px,290px);
  align-items:center;
  gap:18px;
  margin-bottom:18px;
}
body.ref-ui #catalogo .filters{display:flex;flex-wrap:wrap;gap:7px}
body.ref-ui #catalogo .filter{
  min-height:37px;
  margin:0!important;
  padding:0 15px!important;
  border:1px solid rgba(102,37,59,.16)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.68)!important;
  color:var(--ref-muted)!important;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
body.ref-ui #catalogo .filter.active{
  border-color:var(--ref-pink)!important;
  background:var(--ref-pink)!important;
  color:#fff!important;
}
body.ref-ui #catalogo .search{
  width:100%;
  height:46px;
  padding:0 17px;
  border:1px solid rgba(102,37,59,.17);
  border-radius:999px;
  outline:none;
  background:#fffdf9;
  color:var(--ref-ink);
  font-size:13px;
}
body.ref-ui #catalogo .search::placeholder{color:#a89198}
body.ref-ui #catalogo .search:focus{border-color:var(--ref-pink);box-shadow:0 0 0 3px rgba(231,43,109,.12)}
body.ref-ui .ref-replace-banner{
  display:none;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:0 0 16px;
  padding:13px 16px;
  border:1px solid rgba(231,43,109,.26);
  border-radius:16px;
  background:#fff0f5;
  color:var(--ref-ink);
}
body.ref-ui .ref-replace-banner.is-visible{display:flex}
body.ref-ui .ref-replace-banner strong{display:block;color:var(--ref-pink-dark);font-size:12px}
body.ref-ui .ref-replace-banner span{display:block;margin-top:3px;color:var(--ref-muted);font-size:11px}
body.ref-ui .ref-cancel-replace{
  flex:0 0 auto;
  border:1px solid rgba(181,24,80,.28);
  border-radius:999px;
  padding:8px 12px;
  background:#fff;
  color:var(--ref-pink-dark);
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
body.ref-ui .ref-catalog-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
  min-height:0!important;
  align-content:start;
}
body.ref-ui .ref-product-card{
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  padding:10px;
  border:1px solid rgba(102,37,59,.12);
  border-radius:19px;
  background:var(--ref-card);
  box-shadow:0 8px 25px rgba(87,34,53,.06);
  transition:transform .2s ease,box-shadow .2s ease;
}
body.ref-ui .ref-product-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(87,34,53,.12)}
body.ref-ui .ref-product-image{
  position:relative;
  display:grid;
  place-items:center;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:14px;
  background:linear-gradient(145deg,#ffe4d5,#fff8ee);
}
body.ref-ui .ref-product-card:nth-child(4n+2) .ref-product-image{background:linear-gradient(145deg,#dff7ff,#fff8ee)}
body.ref-ui .ref-product-card:nth-child(4n+3) .ref-product-image{background:linear-gradient(145deg,#ffe0ec,#fff8ee)}
body.ref-ui .ref-product-card:nth-child(4n) .ref-product-image{background:linear-gradient(145deg,#eaf4cc,#fff8ee)}
body.ref-ui .ref-product-image img{
  width:92%;
  height:92%;
  object-fit:contain;
  filter:drop-shadow(0 11px 10px rgba(68,36,49,.15));
}
body.ref-ui .ref-product-copy{display:flex;flex:1;flex-direction:column;padding:10px 4px 2px}
body.ref-ui .ref-product-card h4{
  margin:0;
  color:var(--ref-ink);
  font-size:14px;
  line-height:1.2;
}
body.ref-ui .ref-product-card small{
  display:block;
  margin-top:5px;
  color:var(--ref-muted);
  font-size:10px;
  font-weight:850;
  letter-spacing:1px;
  text-transform:uppercase;
}
body.ref-ui .ref-product-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
  margin-top:auto;
  padding-top:10px;
}
body.ref-ui .ref-qty-control{
  display:flex;
  align-items:center;
  height:36px;
  overflow:hidden;
  border:1px solid rgba(102,37,59,.15);
  border-radius:999px;
  background:#fff;
}
body.ref-ui .ref-qty-control button{
  width:31px;
  height:100%;
  border:0;
  background:transparent;
  color:var(--ref-pink);
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
body.ref-ui .ref-qty-control button:disabled{color:#cfc1c6;cursor:default}
body.ref-ui .ref-qty-control span{
  min-width:24px;
  color:var(--ref-ink);
  font-size:12px;
  font-weight:950;
  text-align:center;
}
body.ref-ui .ref-add-button{
  width:38px;
  height:38px;
  flex:0 0 auto;
  border:0;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:var(--ref-pink);
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 7px 14px rgba(231,43,109,.2);
}
body.ref-ui .ref-add-button:hover,
body.ref-ui .ref-add-button:focus-visible{background:var(--ref-pink-dark);transform:translateY(-1px)}
body.ref-ui .ref-select-replacement{
  width:100%;
  height:37px;
  border:0;
  border-radius:999px;
  background:var(--ref-pink);
  color:#fff;
  font-size:11px;
  font-weight:950;
  cursor:pointer;
}
body.ref-ui .ref-select-replacement:focus-visible,
body.ref-ui .ref-add-button:focus-visible,
body.ref-ui .ref-qty-control button:focus-visible,
body.ref-ui .ref-combo-back:focus-visible,
body.ref-ui .ref-combo-wa:focus-visible{
  outline:3px solid rgba(231,43,109,.28);
  outline-offset:2px;
}
body.ref-ui #catalogo .pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:22px;
}
body.ref-ui #catalogo .pagination button{
  min-width:94px;
  min-height:39px;
  border:1px solid var(--ref-line);
  border-radius:999px;
  background:#fffdf9;
  color:var(--ref-ink);
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
body.ref-ui #catalogo .pagination button:disabled{opacity:.42;cursor:default}
body.ref-ui #catalogo .pagination span{min-width:100px;color:var(--ref-muted);font-size:11px;text-align:center}
body.ref-ui .ref-catalog-empty{
  grid-column:1/-1;
  padding:45px 20px;
  border:1px dashed var(--ref-line);
  border-radius:18px;
  color:var(--ref-muted);
  text-align:center;
}
body.ref-ui .selection-dock{
  position:fixed;
  z-index:100;
  left:50%;
  bottom:18px;
  width:min(620px,calc(100% - 34px));
  min-height:60px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:10px 13px 10px 18px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:999px;
  background:rgba(42,8,19,.94);
  color:var(--ref-cream);
  box-shadow:0 15px 36px rgba(45,13,27,.23);
  backdrop-filter:blur(12px);
}
body.ref-ui .selection-dock[hidden]{display:none!important}
body.ref-ui .selection-dock strong{display:block;font-size:12px}
body.ref-ui .selection-dock small{display:block;margin-top:2px;color:rgba(255,246,236,.67);font-size:10px}
body.ref-ui .selection-dock a{
  padding:11px 17px;
  border-radius:999px;
  background:var(--ref-peach);
  color:var(--ref-wine);
  font-size:11px;
  font-weight:950;
}

/* Builder */
body.ref-ui #builder{background:linear-gradient(145deg,#fff7f1,#fff0f6)}
body.ref-ui #builder .builder{
  display:grid;
  grid-template-columns:.7fr 1.25fr .9fr;
  gap:16px;
  align-items:start;
}
body.ref-ui #builder .panel{
  border:1px solid var(--ref-line);
  border-radius:20px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 32px rgba(87,34,53,.07);
}
body.ref-ui #builder .step{color:var(--ref-wine);font-size:14px}
body.ref-ui #builder .step-num{border:0;border-radius:50%;background:var(--ref-pink);color:#fff}
body.ref-ui #builder .kids button{
  border:1px solid var(--ref-line);
  border-radius:999px;
  background:#fff;
  color:var(--ref-ink);
  cursor:pointer;
}
body.ref-ui #builder .kids button.active{border-color:var(--ref-pink);background:var(--ref-pink);color:#fff}
body.ref-ui #builder .build-row{border-color:var(--ref-line)}
body.ref-ui #builder .prod-name{color:var(--ref-ink)}
body.ref-ui #builder .prod-name img{border-radius:9px;background:#fff3ea}
body.ref-ui #builder .qty{border-color:var(--ref-line);border-radius:999px}
body.ref-ui #builder .qty button{background:#fff0f5;color:var(--ref-pink)}
body.ref-ui #builder .btn.ghost{border-color:var(--ref-line);border-radius:999px;background:#fff}
body.ref-ui #builder .summary .wa-btn{border-radius:999px;background:var(--ref-green)}
body.ref-ui #builder .empty{border:1px dashed var(--ref-line);border-radius:14px;background:#fffaf4;color:var(--ref-muted)}

/* Motion and mobile */
@media (prefers-reduced-motion:reduce){
  body.ref-ui *,body.ref-ui *:before,body.ref-ui *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}
@media (max-width:1100px){
  body.ref-ui #inicio .hero-v4-shell{width:min(100% - 56px,960px);grid-template-columns:.84fr 1.16fr;gap:10px}
  body.ref-ui #inicio .hero-v4-copy h1{font-size:clamp(52px,6.7vw,82px)}
  body.ref-ui #inicio .hero-v4-stage{min-height:470px}
  body.ref-ui .ref-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ref-ui #builder .builder{grid-template-columns:1fr 1fr}
  body.ref-ui #builder .summary{grid-column:1/-1}
}
@media (max-width:760px){
  body.ref-ui .party-header{
    height:76px;
    padding:10px 14px;
  }
  body.ref-ui .party-brand strong{font-size:22px}
  body.ref-ui .party-brand small{font-size:6.5px}
  body.ref-ui .hero-v4-nav{display:none}
  body.ref-ui .ref-header-tools{margin-left:auto;gap:7px}
  body.ref-ui .ref-header-search{
    width:43px;
    height:43px;
    justify-content:center;
    padding:0;
    border:0;
  }
  body.ref-ui .ref-header-search span{display:none}
  body.ref-ui .ref-header-cart{width:36px;height:43px}
  body.ref-ui .menu-toggle{display:grid!important;opacity:1!important;pointer-events:auto!important}
  body.ref-ui.hero-mode .menu-toggle{display:grid!important}
  body.ref-ui #inicio .hero-v4-shell{
    width:calc(100% - 32px);
    height:100dvh;
    padding:96px 0 20px;
    grid-template-columns:1fr;
    grid-template-rows:auto 1fr;
    gap:5px;
    align-items:center;
  }
  body.ref-ui #inicio .hero-v4-copy{
    max-width:540px;
    margin:0 auto;
    text-align:center;
  }
  body.ref-ui #inicio .hero-v4-copy:before{margin-bottom:14px;font-size:9px;letter-spacing:2.6px}
  body.ref-ui #inicio .hero-v4-copy h1{
    font-size:clamp(43px,12vw,66px);
    line-height:.92;
    letter-spacing:-2.8px;
  }
  body.ref-ui #inicio .hero-v4-copy p{
    max-width:360px;
    margin:15px auto 0;
    font-size:14px;
  }
  body.ref-ui #inicio .hero-v4-actions{
    justify-content:center;
    gap:8px;
    margin-top:17px;
  }
  body.ref-ui #inicio .hero-v4-cta{
    min-width:0;
    height:48px;
    padding:0 16px;
    font-size:11px;
  }
  body.ref-ui #inicio .hero-v4-stage{
    width:100%;
    min-height:0;
    height:100%;
    max-height:390px;
    margin:auto;
  }
  body.ref-ui #inicio .hero-v4-product{
    width:145px!important;
    height:260px!important;
  }
  body.ref-ui #inicio .hero-v4-product.is-active{transform:translate(-50%,-50%) scale(1.02)!important}
  body.ref-ui #inicio .hero-v4-product.is-prev{left:15%!important;top:64%!important;transform:translate(-50%,-50%) scale(.55)!important}
  body.ref-ui #inicio .hero-v4-product.is-next{left:85%!important;top:65%!important;transform:translate(-50%,-50%) scale(.58)!important}
  body.ref-ui #inicio .hero-v4-product.is-far-left{left:0!important;top:50%!important}
  body.ref-ui #inicio .hero-v4-product.is-far-right{left:100%!important;top:50%!important}
  body.ref-ui #inicio .hero-v4-arrow{top:52%;width:36px;height:36px}
  body.ref-ui #inicio .hero-v4-prev{left:0}
  body.ref-ui #inicio .hero-v4-next{right:0}
  body.ref-ui #inicio .hero-v4-meta{
    left:7px;
    right:7px;
    bottom:0;
    gap:9px;
  }
  body.ref-ui #inicio .hero-v4-product-copy strong{font-size:13px}
  body.ref-ui #inicio .hero-v4-product-copy span{font-size:9px}
  body.ref-ui main>section>.wrap{
    width:calc(100% - 24px);
    padding:95px 0 38px;
  }
  body.ref-ui .section-title{margin-bottom:18px}
  body.ref-ui .section-title .fiesta-kicker{font-size:8px;letter-spacing:1.6px}
  body.ref-ui .section-title h2{font-size:36px;letter-spacing:-1.7px}
  body.ref-ui .section-title p{font-size:12px;margin-top:8px}
  body.ref-ui .ref-combo-card{
    display:block;
    min-height:0;
    border-radius:22px;
  }
  body.ref-ui .ref-combo-art{height:225px;min-height:0;padding:12px}
  body.ref-ui .ref-combo-art:after{inset:10px;border-radius:15px}
  body.ref-ui .ref-combo-poster{min-height:0;height:100%;object-fit:contain}
  body.ref-ui .ref-combo-copy{padding:17px 14px 14px}
  body.ref-ui .ref-combo-kicker{font-size:8px}
  body.ref-ui .ref-combo-copy h3{font-size:34px;letter-spacing:-1.4px}
  body.ref-ui .ref-combo-lead{font-size:12px;margin-bottom:11px}
  body.ref-ui .ref-combo-items{gap:5px;max-height:none}
  body.ref-ui .ref-combo-item{padding:6px;border-radius:10px;gap:5px}
  body.ref-ui .ref-combo-qty{min-width:23px;height:23px;font-size:8px}
  body.ref-ui .ref-combo-item-name{font-size:9px}
  body.ref-ui .ref-replace-button{padding:5px;font-size:8px}
  body.ref-ui .ref-combo-actions{padding-top:13px}
  body.ref-ui .ref-combo-wa,body.ref-ui .ref-combo-back{min-height:43px;padding:0 12px;font-size:10px}
  body.ref-ui #catalogo .catalog-head{
    display:flex;
    flex-direction:column-reverse;
    align-items:stretch;
    gap:9px;
    margin-bottom:13px;
  }
  body.ref-ui #catalogo .filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:2px;
    scrollbar-width:none;
  }
  body.ref-ui #catalogo .filters::-webkit-scrollbar{display:none}
  body.ref-ui #catalogo .filter{flex:0 0 auto;min-height:34px;padding:0 13px!important;font-size:10px}
  body.ref-ui #catalogo .search{height:44px;font-size:12px}
  body.ref-ui .ref-catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  body.ref-ui .ref-product-card{padding:7px;border-radius:15px}
  body.ref-ui .ref-product-image{border-radius:11px}
  body.ref-ui .ref-product-card h4{font-size:11px}
  body.ref-ui .ref-product-card small{margin-top:4px;font-size:8px;letter-spacing:.7px}
  body.ref-ui .ref-product-actions{padding-top:7px}
  body.ref-ui .ref-qty-control{height:31px}
  body.ref-ui .ref-qty-control button{width:25px;font-size:16px}
  body.ref-ui .ref-qty-control span{min-width:19px;font-size:10px}
  body.ref-ui .ref-add-button{width:34px;height:34px;border-radius:11px;font-size:23px}
  body.ref-ui .ref-select-replacement{height:32px;font-size:9px}
  body.ref-ui .ref-replace-banner{align-items:flex-start;padding:10px 11px}
  body.ref-ui .ref-replace-banner span{font-size:9px}
  body.ref-ui .ref-cancel-replace{padding:7px 9px;font-size:9px}
  body.ref-ui #catalogo .pagination{margin-top:16px}
  body.ref-ui #catalogo .pagination button{min-width:76px;min-height:35px;padding:0 9px;font-size:10px}
  body.ref-ui #catalogo .pagination span{min-width:76px;font-size:10px}
  body.ref-ui .selection-dock{bottom:11px;min-height:52px;padding:8px 9px 8px 13px}
  body.ref-ui .selection-dock strong{font-size:10px}
  body.ref-ui .selection-dock small{font-size:8px}
  body.ref-ui .selection-dock a{padding:9px 12px;font-size:9px}
  body.ref-ui #builder .builder{grid-template-columns:1fr;gap:9px}
  body.ref-ui #builder .summary{grid-column:auto}
}
@media (max-width:380px){
  body.ref-ui #inicio .hero-v4-copy h1{font-size:41px}
  body.ref-ui #inicio .hero-v4-stage{max-height:330px}
  body.ref-ui .ref-combo-copy h3{font-size:29px}
  body.ref-ui .ref-combo-item-name{font-size:8px}
  body.ref-ui .ref-replace-button{font-size:7px}
}

/* Final cascade cleanup: neutralize legacy header remnants */
body.ref-ui .party-brand{
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.ref-ui .party-brand strong{
  font-family:Georgia,"Times New Roman",serif!important;
  color:inherit!important;
  text-shadow:none!important;
}
body.ref-ui .menu-toggle{
  background:rgba(255,250,244,.96)!important;
  color:var(--ref-ink)!important;
  border-color:var(--ref-line)!important;
}
body.ref-ui.hero-mode .menu-toggle{
  background:rgba(255,246,236,.1)!important;
  color:var(--ref-cream)!important;
  border-color:rgba(255,246,236,.4)!important;
}
body.ref-ui .corner-menu{
  transform:translateX(120%)!important;
}
body.ref-ui.menu-open .corner-menu{
  transform:translateX(0)!important;
}
@media (min-width:761px){
  body.ref-ui.hero-mode .menu-toggle{
    display:none!important;
  }
}

body.ref-ui.hero-mode .party-brand strong{color:var(--ref-cream)!important}
body.ref-ui:not(.hero-mode) .party-brand strong{color:var(--ref-pink)!important}
body.ref-ui.hero-mode .party-brand small{color:var(--ref-peach)!important}
body.ref-ui:not(.hero-mode) .party-brand small{color:var(--ref-pink-dark)!important}

/* ===== Iteración v2: catálogo más vivo + CTA WhatsApp integrado ===== */
:root{
  --ref-catalog-cyan:#20c5d2;
  --ref-catalog-yellow:#ffc33d;
  --ref-catalog-violet:#7040ae;
  --ref-catalog-coral:#ff765f;
}
body.ref-ui #catalogo{
  background:
    radial-gradient(circle at 8% 6%,rgba(255,194,170,.6),transparent 24%),
    radial-gradient(circle at 96% 28%,rgba(32,197,210,.14),transparent 25%),
    linear-gradient(180deg,#fff0e7 0%,#fff8ef 42%,#fff1f7 100%)!important;
}
body.ref-ui #catalogo .section-title{
  position:relative;
  padding:0 0 16px;
}
body.ref-ui #catalogo .section-title:after{
  content:"DULCES  •  SNACKS  •  CHOCOLATES  •  PARA COMPARTIR";
  display:block;
  margin-top:13px;
  color:var(--ref-catalog-violet);
  font-size:9px;
  font-weight:950;
  letter-spacing:2px;
}
body.ref-ui #catalogo .section-title .fiesta-kicker{color:var(--ref-catalog-coral)}
body.ref-ui #catalogo .section-title h2 span{color:var(--ref-pink)}
body.ref-ui #catalogo .catalog-head{
  padding:11px;
  border:1px solid rgba(112,64,174,.12);
  border-radius:20px;
  background:rgba(255,255,255,.52);
  box-shadow:0 8px 22px rgba(112,64,174,.06);
}
body.ref-ui #catalogo .search{
  border-color:rgba(231,43,109,.25);
  background:#fffaf7;
}
body.ref-ui #catalogo .filter:not(.active):nth-child(2){
  border-color:rgba(32,197,210,.45)!important;
  color:#138792!important;
}
body.ref-ui #catalogo .filter:not(.active):nth-child(3){
  border-color:rgba(112,64,174,.35)!important;
  color:var(--ref-catalog-violet)!important;
}
body.ref-ui #catalogo .filter:not(.active):nth-child(4){
  border-color:rgba(231,43,109,.3)!important;
  color:var(--ref-pink-dark)!important;
}
body.ref-ui #catalogo .filter:not(.active):nth-child(5){
  border-color:rgba(255,195,61,.55)!important;
  color:#a36d00!important;
}
body.ref-ui #catalogo .filter:not(.active):nth-child(6){
  border-color:rgba(255,118,95,.4)!important;
  color:#c84c3b!important;
}
body.ref-ui #catalogo .filter:not(.active):nth-child(7){
  border-color:rgba(32,197,210,.35)!important;
  color:#138792!important;
}
body.ref-ui #catalogo .ref-product-card{
  border-top:3px solid var(--ref-catalog-coral);
  background:rgba(255,253,249,.94);
  box-shadow:0 12px 28px rgba(87,34,53,.09);
}
body.ref-ui #catalogo .ref-product-card:nth-child(4n+2){border-top-color:var(--ref-catalog-cyan)}
body.ref-ui #catalogo .ref-product-card:nth-child(4n+3){border-top-color:var(--ref-catalog-violet)}
body.ref-ui #catalogo .ref-product-card:nth-child(4n){border-top-color:var(--ref-catalog-yellow)}
body.ref-ui #catalogo .ref-product-image{
  border:1px solid rgba(255,255,255,.85);
  box-shadow:inset 0 0 0 1px rgba(91,34,53,.05);
}
body.ref-ui #catalogo .ref-product-card:nth-child(4n+1) .ref-product-image{
  background:linear-gradient(145deg,#ffbfae 0%,#fff0c7 100%);
}
body.ref-ui #catalogo .ref-product-card:nth-child(4n+2) .ref-product-image{
  background:linear-gradient(145deg,#a9eff5 0%,#eafcff 100%);
}
body.ref-ui #catalogo .ref-product-card:nth-child(4n+3) .ref-product-image{
  background:linear-gradient(145deg,#ffc2dd 0%,#fff0f8 100%);
}
body.ref-ui #catalogo .ref-product-card:nth-child(4n) .ref-product-image{
  background:linear-gradient(145deg,#d8ed9c 0%,#f9ffdd 100%);
}
body.ref-ui #catalogo .ref-product-image img{
  image-rendering:auto;
  filter:drop-shadow(0 12px 11px rgba(68,36,49,.18)) saturate(1.06) contrast(1.035);
}
body.ref-ui #catalogo .ref-add-button{
  background:linear-gradient(145deg,#f33278,#d4155b);
  box-shadow:0 8px 16px rgba(231,43,109,.28);
}
body.ref-ui #catalogo .ref-qty-control{
  border-color:rgba(231,43,109,.22);
  background:#fff;
}
body.ref-ui #catalogo .ref-qty-control button{color:var(--ref-pink-dark)}
body.ref-ui #catalogo .ref-product-card h4{font-weight:900}

/* WhatsApp: una sola llamada a la acción, oficial y sin tapar la selección */
body.ref-ui .whatsapp-float{
  right:22px;
  bottom:22px;
  height:50px;
  min-width:50px;
  padding:0 16px;
  border:1px solid rgba(255,194,170,.78);
  border-radius:999px;
  background:rgba(42,8,19,.94);
  color:var(--ref-cream);
  box-shadow:0 12px 30px rgba(42,8,19,.24);
}
body.ref-ui .whatsapp-float svg{
  width:23px;
  height:23px;
}
body.ref-ui .whatsapp-float:hover{
  background:var(--ref-pink-dark);
}
body.ref-ui.ref-has-selection .whatsapp-float{
  display:none!important;
}
body.ref-ui .selection-dock{
  width:min(700px,calc(100% - 34px));
  padding:9px 10px 9px 17px;
  gap:9px;
  background:linear-gradient(105deg,rgba(42,8,19,.98),rgba(74,16,33,.97));
}
body.ref-ui .selection-dock>div:first-child{flex:1;min-width:0}
body.ref-ui .selection-dock a{
  flex:0 0 auto;
  background:var(--ref-peach);
}
body.ref-ui .ref-selection-whatsapp{
  width:42px;
  height:42px;
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.82);
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  background:#18aa62;
  color:#fff;
  cursor:pointer;
  box-shadow:0 7px 16px rgba(24,170,98,.28);
}
body.ref-ui .ref-selection-whatsapp svg{
  width:23px;
  height:23px;
}
body.ref-ui .ref-selection-whatsapp span{
  display:none;
}
body.ref-ui .ref-selection-whatsapp:hover{background:#0f8b50}

/* Más aire y detalle en el catálogo móvil */
@media (max-width:760px){
  body.ref-ui #catalogo .section-title:after{
    margin-top:9px;
    font-size:7px;
    letter-spacing:1.3px;
  }
  body.ref-ui #catalogo .catalog-head{
    padding:7px;
    border-radius:16px;
  }
  body.ref-ui .selection-dock{
    width:calc(100% - 20px);
    bottom:9px;
    min-height:55px;
    padding:8px 8px 8px 12px;
    gap:6px;
  }
  body.ref-ui .selection-dock a{
    padding:9px 11px;
    font-size:9px;
    white-space:nowrap;
  }
  body.ref-ui .ref-selection-whatsapp{
    width:37px;
    height:37px;
  }
  body.ref-ui .ref-selection-whatsapp svg{
    width:21px;
    height:21px;
  }
  body.ref-ui .whatsapp-float{
    right:14px;
    bottom:14px;
    height:45px;
    min-width:45px;
    padding:0 13px;
  }
  body.ref-ui .whatsapp-float span{display:none}
  body.ref-ui .whatsapp-float svg{width:22px;height:22px}
}

/* Anita Fiesta catalog scenes — reference card treatment */
#catalogo {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 196, 210, .22), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 215, 136, .2), transparent 24%),
    linear-gradient(145deg, #fff8f2 0%, #fff2ef 48%, #f9f7ec 100%);
}
#catalogo .ref-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#catalogo .ref-product-card {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(91, 54, 75, .13);
  border-radius: 22px;
  background: #fffaf3;
  box-shadow: 0 14px 28px rgba(114, 66, 81, .12);
  transition: transform .24s ease, box-shadow .24s ease;
}
#catalogo .ref-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(114, 66, 81, .2);
}
#catalogo .ref-product-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 240px;
  aspect-ratio: 1 / .96;
  background-color: #fff0e9;
  background-image: var(--scene-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#catalogo .ref-product-stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 38%, rgba(74,34,61,.06));
  pointer-events: none;
}
#catalogo .ref-product-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 11%;
  right: 11%;
  bottom: 5%;
  height: 9%;
  border-radius: 50%;
  background: rgba(83, 46, 59, .16);
  filter: blur(12px);
  pointer-events: none;
}
#catalogo .ref-product-cutout {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 7px 9px 0;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  filter: drop-shadow(0 15px 12px rgba(70, 36, 55, .25)) saturate(1.08) contrast(1.04);
  transition: transform .3s ease, filter .3s ease;
}
#catalogo .ref-product-card:hover .ref-product-cutout {
  transform: scale(1.035) translateY(-3px);
  filter: drop-shadow(0 20px 15px rgba(70, 36, 55, .3)) saturate(1.12) contrast(1.05);
}
#catalogo .ref-product-copy {
  position: relative;
  z-index: 4;
  min-height: 116px;
  padding: 15px 16px 16px;
  background: linear-gradient(180deg, rgba(255,250,243,.98), #fffaf4);
}
#catalogo .ref-product-copy h4 {
  margin: 0 0 5px;
  color: #2f1a38;
  font-family: Bricolage, Manrope, sans-serif;
  font-size: 17px;
  line-height: 1.08;
  font-weight: 800;
}
#catalogo .ref-product-copy small {
  display: block;
  margin-bottom: 12px;
  color: #88646d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
#catalogo .ref-product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#catalogo .ref-qty-control {
  border-color: rgba(148, 81, 112, .23);
  background: rgba(255,255,255,.72);
}
#catalogo .ref-add-button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(145deg, #ec1f67, #c70e53);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  box-shadow: 0 8px 15px rgba(204, 19, 88, .25);
}
#catalogo .ref-select-replacement {
  width: 100%;
  border-radius: 10px;
}
#catalogo .ref-product-card[data-scene-kind="yogurt"] .ref-product-stage { border-bottom: 5px solid #ff668c; }
#catalogo .ref-product-card[data-scene-kind="lollipop"] .ref-product-stage { border-bottom: 5px solid #3c83d6; }
#catalogo .ref-product-card[data-scene-kind="chocolate"] .ref-product-stage { border-bottom: 5px solid #d69638; }
#catalogo .ref-product-card[data-scene-kind="mint"] .ref-product-stage { border-bottom: 5px solid #77bd64; }
#catalogo .ref-product-card[data-scene-kind="gummy"] .ref-product-stage { border-bottom: 5px solid #e53383; }
#catalogo .ref-product-card[data-scene-kind="snack"] .ref-product-stage { border-bottom: 5px solid #e88d37; }
#catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-stage { border-bottom: 5px solid #c98a52; }
#catalogo .ref-product-card[data-scene-kind="candy"] .ref-product-stage { border-bottom: 5px solid #e85b6f; }
.ref-scene-yogurt,
.ref-scene-mint,
.ref-scene-chocolate,
.ref-scene-cookie,
.ref-scene-gummy,
.ref-scene-lollipop,
.ref-scene-snack,
.ref-scene-candy {
  --scene-shadow: rgba(80, 42, 69, .2);
}
@media (max-width: 1060px) {
  #catalogo .ref-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  #catalogo .ref-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #catalogo .ref-product-stage {
    min-height: 0;
    aspect-ratio: 1 / 1.04;
  }
  #catalogo .ref-product-copy {
    min-height: 112px;
    padding: 13px 12px 14px;
  }
  #catalogo .ref-product-copy h4 {
    font-size: 15px;
  }
  #catalogo .ref-product-copy small {
    margin-bottom: 10px;
    font-size: 10px;
  }
  #catalogo .ref-add-button {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
  }
  #catalogo .ref-qty-control button {
    width: 27px;
  }
}
@media (max-width: 360px) {
  #catalogo .ref-product-copy h4 { font-size: 14px; }
  #catalogo .ref-product-copy { padding-left: 10px; padding-right: 10px; }
}

/* Catalog scene pedestal overlay */
#catalogo .ref-scene-pedestal {
  position: absolute;
  z-index: 1;
  left: 13%;
  right: 13%;
  bottom: 5%;
  height: 10%;
  border-radius: 50%;
  background: rgba(255, 255, 250, .16);
  box-shadow: 0 12px 16px rgba(71, 35, 57, .16);
  pointer-events: none;
}


/* Anita Fiesta v4 — galletas protagonistas, escenas con más profundidad */
#catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-stage {
  aspect-ratio: 1 / 1.02;
  min-height: 248px;
  background-position: center;
  background-size: cover;
}
#catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-stage::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 42%, rgba(61,25,43,.12)),
    radial-gradient(circle at 50% 72%, rgba(255,255,255,.12), transparent 45%);
}
#catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-stage::after {
  left: 8%;
  right: 8%;
  bottom: 4%;
  height: 14%;
  background: rgba(60, 28, 39, .20);
  filter: blur(17px);
}
#catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-cutout {
  inset: auto auto 0 50%;
  width: 116%;
  height: 116%;
  padding: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 15px rgba(56, 26, 39, .31)) saturate(1.09) contrast(1.05);
}
#catalogo .ref-product-card[data-scene-kind="cookie"] .ref-scene-pedestal {
  display: none;
}
#catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-copy {
  min-height: 116px;
  background: linear-gradient(180deg, rgba(255,251,245,.99), #fff8f0);
}
#catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-stage {
  border-bottom-color: #d49354;
}
#catalogo .ref-product-card[data-product-id="p71"] .ref-product-cutout,
#catalogo .ref-product-card[data-product-id="p72"] .ref-product-cutout {
  width: 121%;
  height: 121%;
}
#catalogo .ref-product-card[data-product-id="p73"] .ref-product-cutout {
  width: 110%;
  height: 110%;
}
#catalogo .ref-product-card[data-product-id="p74"] .ref-product-cutout {
  width: 121%;
  height: 121%;
}
#catalogo .ref-product-card[data-product-id="p75"] .ref-product-cutout,
#catalogo .ref-product-card[data-product-id="p76"] .ref-product-cutout,
#catalogo .ref-product-card[data-product-id="p77"] .ref-product-cutout {
  width: 118%;
  height: 118%;
}
#catalogo .ref-product-card[data-product-id="p78"] .ref-product-cutout,
#catalogo .ref-product-card[data-product-id="p79"] .ref-product-cutout {
  width: 114%;
  height: 114%;
}
#catalogo .ref-product-card[data-product-id="p80"] .ref-product-cutout,
#catalogo .ref-product-card[data-product-id="p81"] .ref-product-cutout {
  width: 111%;
  height: 111%;
}
@media (max-width: 720px) {
  #catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-stage {
    aspect-ratio: 1 / 1.05;
    min-height: 0;
  }
  #catalogo .ref-product-card[data-scene-kind="cookie"] .ref-product-cutout {
    width: 120%;
    height: 120%;
  }
  #catalogo .ref-product-card[data-product-id="p73"] .ref-product-cutout {
    width: 113%;
    height: 113%;
  }
  #catalogo .ref-product-card[data-product-id="p80"] .ref-product-cutout,
  #catalogo .ref-product-card[data-product-id="p81"] .ref-product-cutout {
    width: 115%;
    height: 115%;
  }
}


/* Catálogo — fondos de producto batch v2 */
#catalogo .ref-product-stage.ref-scene-composite {
  min-height: 0;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
}
#catalogo .ref-product-stage.ref-scene-composite .ref-product-cutout,
#catalogo .ref-product-stage.ref-scene-composite .ref-scene-pedestal {
  display: none;
}
#catalogo .ref-product-stage.ref-scene-composite::after {
  opacity: .42;
}
@media (max-width: 720px) {
  #catalogo .ref-product-stage.ref-scene-composite {
    aspect-ratio: 3 / 4;
  }
}
