:root{
  --primary:#e51476!important;
  --mgf-navy:#08111f;
  --mgf-navy-2:#101b2d;
  --mgf-pink:#e51476;
  --mgf-pink-2:#ff4fa0;
  --mgf-gold:#d6aa3d;
  --mgf-gold-soft:#f7d77a;
  --mgf-ivory:#fffaf5;
}
html,body{background:#fff;color:#101828}
body{font-size:13px!important}
small,.hint,.lead,.pub-master-yape small,.pub-master-benefits small,.m40-footer p,.m40-footer a,.m40-footer span,.m60-footer p,.m60-footer a,.m60-footer span{font-size:13px!important;line-height:1.4}
/* Identidad premium: conserva la arquitectura MASTER; solo cambia la capa visual. */
.pub-master-shell{background:#fff}
.pub-master-header{background:#08111f!important;border-bottom:1px solid rgba(214,170,61,.3)!important}
.pub-master-logo img{max-height:64px!important;width:auto!important;object-fit:contain!important}
.pub-master-nav{background:#08111f!important;color:#fff!important;border-color:#243047!important}
.pub-master-nav a,.pub-master-nav button{color:#fff!important;font-size:13px!important}
.pub-master-nav a:hover,.pub-master-nav button:hover{color:#f7d77a!important}
.pub-master-publish{background:#e51476!important;color:#fff!important;border-color:#e51476!important}
.pub-master-account,.pub-master-icon-link,.pub-master-cart{color:#fff!important}
.pub-master-hero{background:#08111f!important}
.pub-master-slider-zone{background:#08111f!important}
.pub-master-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,8,18,.06) 18%,rgba(3,8,18,.28) 58%,rgba(3,8,18,.66));pointer-events:none;z-index:1}
.pub-master-copy{z-index:4!important}
.pub-master-copy h1,.pub-master-copy h2{font-family:Georgia,'Times New Roman',serif!important;letter-spacing:-.02em!important;text-shadow:0 3px 16px rgba(0,0,0,.5)}
.pub-master-copy strong{color:#ff4fa0!important}
.pub-master-copy p{font-size:var(--pub-subtitle-web,16px)!important;line-height:1.45!important}
.pub-master-cta{background:#e51476!important;color:#fff!important;border-color:#e51476!important;border-radius:999px!important;padding:11px 18px!important;font-size:13px!important}
.pub-master-proof{z-index:4!important}
.pub-master-arrow{color:#fff!important;background:rgba(8,17,31,.32)!important;border:1px solid rgba(255,255,255,.5)!important}
.pub-master-arrow:hover{background:#e51476!important;border-color:#e51476!important}
/* Botonera de necesidades: misma lógica original, temática MGF. */
.pub-master-yape{background:#08111f!important;color:#fff!important;border-color:#08111f!important}
.pub-master-yape-head h2,.pub-master-yape-head a{color:#fff!important}
.pub-master-yape-grid>a{background:#111d30!important;color:#fff!important;border-color:#26344d!important;border-radius:12px!important}
.pub-master-yape-grid>a:hover{border-color:#e51476!important;box-shadow:0 8px 20px rgba(229,20,118,.18)!important}
.pub-master-yape-icon{color:#f7d77a!important}
.pub-master-yape-icon.is-urgent{color:#fff!important;background:#e51476!important}
.pub-master-yape-grid strong{font-size:13px!important}.pub-master-yape-grid small{color:#cdd5e2!important}
.pub-master-yape-arrow{color:#fff!important}
/* Beneficios bajo el slider */
.pub-master-benefits{background:#08111f!important;color:#fff!important;border-top:1px solid #243047!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
.pub-master-benefits>div{border-color:#243047!important;min-width:0}
.pub-master-benefits span{color:#fff!important;background:#e51476!important;border-radius:50%;width:38px;height:38px;display:grid;place-items:center}
.pub-master-benefits b{font-size:13px!important}.pub-master-benefits small{color:#cbd5e1!important}
/* Sectores HOME: fiel al concepto aprobado, A-Z. */
.mgf-sector-home{width:min(1220px,calc(100% - 28px))!important;margin:28px auto 34px!important}
.mgf-sector-home .pub-home-sector-nav-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.mgf-sector-home .pub-home-sector-nav-head h2{margin:0;font-size:26px!important;line-height:1.1;font-weight:900;color:#08111f}
.mgf-sector-home .pub-home-sector-nav-head h2 strong{color:#e51476}
.mgf-sector-home .pub-home-sector-nav-head p{margin:6px 0 0;font-size:13px!important;color:#667085}
.mgf-sector-home .pub-home-sector-nav-head a{font-size:13px!important;color:#e51476!important;font-weight:850;text-decoration:none}
.mgf-sector-home .pub-home-sector-nav-track{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.mgf-sector-home .pub-home-sector-card{position:relative!important;aspect-ratio:.98/1!important;min-height:0!important;border:0!important;border-radius:8px!important;overflow:hidden!important;background:#08111f;color:#fff;box-shadow:0 12px 30px rgba(8,17,31,.12)!important;isolation:isolate}
.mgf-sector-home .pub-home-sector-card:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--sector-bg);background-size:cover;background-position:center;background-repeat:no-repeat;transition:transform .25s ease}
.mgf-sector-home .pub-home-sector-card:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,17,31,0) 35%,rgba(8,17,31,.22) 58%,rgba(8,17,31,.94) 100%)}
.mgf-sector-home .pub-home-sector-card:hover:before{transform:scale(1.035)}
.mgf-sector-home .pub-home-sector-copy{position:absolute!important;left:13px!important;right:48px!important;bottom:12px!important;top:auto!important;display:block!important;transform:none!important}
.mgf-sector-home .pub-home-sector-copy strong{display:block;font-size:18px!important;line-height:1.08;font-weight:900;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.65)}
.mgf-sector-home .pub-home-sector-copy small{display:block;margin-top:6px;font-size:13px!important;line-height:1.25;color:#f8fafc!important;white-space:normal!important;text-shadow:0 2px 8px rgba(0,0,0,.7)}
.mgf-sector-home .pub-home-sector-arrow{position:absolute!important;right:12px!important;bottom:12px!important;top:auto!important;transform:none!important;width:31px;height:31px;border-radius:50%;background:#e51476;display:grid;place-items:center;color:#fff!important;font-size:17px!important;font-weight:800;text-shadow:none!important}
.mgf-sector-home .pub-home-sector-card.is-help{background:#fceaf3!important;border:1px solid #f5c8dc!important;color:#72103f!important}
.mgf-sector-home .pub-home-sector-card.is-help:before,.mgf-sector-home .pub-home-sector-card.is-help:after{display:none!important}
.mgf-sector-home .pub-home-sector-card.is-help .pub-home-sector-copy{left:20px!important;right:20px!important;bottom:50%;transform:translateY(50%)!important;text-align:center}
.mgf-sector-home .pub-home-sector-card.is-help strong{color:#7b1648!important;text-shadow:none!important;font-size:19px!important}
.mgf-sector-home .pub-home-sector-card.is-help small{color:#8a4163!important;text-shadow:none!important}
/* Oculta en HOME únicamente bloques automotrices; las rutas, tablas, admin y herramientas se conservan íntegros. */
.pub-is-home #vehiculos-home,.pub-is-home #cocheras-home,.pub-is-home #alquiler-home,.pub-is-home #grifos-home,.pub-is-home #carreras-home,.pub-is-home #concesionarios-home,.pub-is-home #maquinaria-pesada-home{display:none!important}
/* Reinterpreta módulos genéricos visibles. */
.pub-is-home #negocios-home,.pub-is-home #servicios-home,.pub-is-home #productos-home,.pub-is-home #agenda-home,.pub-is-home #btl-home,.pub-is-home #buscar-cerca-home{display:block!important}
.pub-head h2,.m70-head h2{color:#08111f!important}.pub-head a,.m70-head a{color:#e51476!important}
/* Publicidad/paneles heredan glamour sin cambiar su lógica comercial. */
.m313-economic-slider{background:#08111f!important;color:#fff!important;border-top:1px solid #2a3448!important}
.m313-economic-item,.m313-economic-item:nth-child(even){background:#101b2d!important;color:#fff!important;border-color:#29364e!important}
.m313-economic-copy small{color:#f7d77a!important}.m313-economic-nav{color:#f7d77a!important}
/* Footer MASTER de Publicar, con identidad MiGranFiesta. */
.m60-footer,.m40-footer{background:#08111f!important;color:#fff!important;border-top:1px solid #2d3b53!important}
.m60-footer a,.m60-footer p,.m60-footer span,.m40-footer a,.m40-footer p,.m40-footer span{color:#cdd5e2!important;font-size:13px!important}
.m60-footer a:hover,.m40-footer a:hover{color:#f7d77a!important}
.m60-footer-logo-link img{max-width:260px!important;max-height:84px!important;object-fit:contain!important}
/* Dock global original: solo cambia paleta; funcionalidad original queda intacta. */
.m30-social-rail{z-index:9999!important}.m30-social-btn.notify,.m30-social-btn.install{background:#08111f!important;color:#f7d77a!important;border:1px solid rgba(247,215,122,.5)!important}.m30-social-btn.social-toggle{background:#e51476!important;color:#fff!important}
/* Tipografía mínima solicitada para toda la experiencia visible. */
.m70-ui [style*="font-size:8px"],.m70-ui [style*="font-size:9px"],.m70-ui [style*="font-size:10px"],.m70-ui [style*="font-size:11px"],.m70-ui [style*="font-size:12px"]{font-size:13px!important}
@media(max-width:980px){
 .pub-master-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mgf-sector-home .pub-home-sector-nav-track{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
 .pub-master-benefits{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory}.pub-master-benefits>div{min-width:72%!important;scroll-snap-align:start}
 .mgf-sector-home{width:calc(100% - 20px)!important;margin:20px auto 26px!important}
 .mgf-sector-home .pub-home-sector-nav-head{align-items:flex-start}.mgf-sector-home .pub-home-sector-nav-head h2{font-size:22px!important}.mgf-sector-home .pub-home-sector-nav-head p{font-size:13px!important}
 .mgf-sector-home .pub-home-sector-nav-track{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mgf-sector-home .pub-home-sector-card{aspect-ratio:16/10!important}
 .mgf-sector-home .pub-home-sector-copy strong{font-size:17px!important}.mgf-sector-home .pub-home-sector-copy small{font-size:13px!important}
 .pub-master-copy p{font-size:13px!important}
}
/* Portadas por sector — capa temática sobre el CORE original. */
.mgf-sector-page{padding-bottom:34px}.mgf-sector-hero{position:relative;min-height:430px;margin:14px auto 0;border-radius:18px;overflow:hidden;background-image:var(--mgf-sector-image);background-size:cover;background-position:center;color:#fff;box-shadow:0 18px 45px rgba(8,17,31,.18)}.mgf-sector-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,17,31,.93),rgba(8,17,31,.58) 48%,rgba(8,17,31,.16))}.mgf-sector-hero-copy{position:relative;z-index:2;max-width:700px;min-height:430px;display:flex;flex-direction:column;justify-content:center;padding:38px}.mgf-sector-hero-copy>span{font-size:13px!important;letter-spacing:2px;text-transform:uppercase;color:#f7d77a;font-weight:800}.mgf-sector-hero-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(38px,5vw,64px);line-height:1;margin:10px 0 12px}.mgf-sector-hero-copy p{font-size:16px!important;line-height:1.5;max-width:620px}.mgf-sector-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.mgf-sector-hero-actions a,.mgf-sector-search button,.mgf-sector-cta>a{display:inline-flex;align-items:center;justify-content:center;background:#e51476;color:#fff;border:0;border-radius:999px;padding:11px 18px;font-size:13px!important;font-weight:850;text-decoration:none}.mgf-sector-hero-actions a.secondary{background:rgba(8,17,31,.72);border:1px solid rgba(255,255,255,.42)}.mgf-sector-search{position:relative;z-index:4;width:min(1120px,calc(100% - 36px));margin:-34px auto 28px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px;box-shadow:0 14px 36px rgba(8,17,31,.12)}.mgf-sector-search form{display:grid;grid-template-columns:1.6fr repeat(3,1fr) auto;gap:9px;align-items:end}.mgf-sector-search label{font-size:13px!important;font-weight:800;color:#475467}.mgf-sector-search input{display:block;width:100%;box-sizing:border-box;margin-top:5px;min-height:42px;border:1px solid #d8dee8;border-radius:9px;padding:9px 11px;font-size:13px!important}.mgf-sector-section{width:min(1180px,calc(100% - 28px));margin:34px auto}.mgf-sector-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.mgf-sector-head h2{margin:0;font-size:24px;color:#08111f}.mgf-sector-head p{margin:5px 0 0;font-size:13px!important;color:#667085}.mgf-sector-head>a{font-size:13px!important;font-weight:850;color:#e51476;text-decoration:none}.mgf-chip-grid{display:flex;flex-wrap:wrap;gap:8px}.mgf-chip-grid a{padding:9px 13px;border-radius:999px;border:1px solid #e1e5eb;background:#fff;color:#172033;font-size:13px!important;font-weight:750;text-decoration:none}.mgf-chip-grid a:hover{border-color:#e51476;color:#e51476}.mgf-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mgf-service-grid a{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;padding:14px;border:1px solid #e2e6ed;border-radius:13px;background:#fff;text-decoration:none;color:#172033;box-shadow:0 5px 14px rgba(8,17,31,.04)}.mgf-service-grid span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fceaf3;color:#e51476;font-size:17px}.mgf-service-grid strong{font-size:13px!important}.mgf-service-grid small{font-size:13px!important;color:#667085;margin-top:3px}.mgf-sector-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#08111f;color:#fff;padding:24px;border-radius:16px}.mgf-sector-cta h2{margin:0 0 5px;color:#fff}.mgf-sector-cta p{margin:0;color:#cdd5e2;font-size:13px!important}.mgf-simple{width:min(1000px,calc(100% - 28px));margin:40px auto;padding:30px;background:#fff;border-radius:16px}
@media(max-width:900px){.mgf-sector-search form{grid-template-columns:1fr 1fr}.mgf-sector-search button{grid-column:1/-1}.mgf-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgf-sector-hero-copy{padding:28px}}
@media(max-width:560px){.mgf-sector-hero{min-height:390px;border-radius:0;margin-left:-8px;margin-right:-8px}.mgf-sector-hero-copy{min-height:390px;padding:22px}.mgf-sector-hero-copy p{font-size:13px!important}.mgf-sector-search{margin-top:-18px;width:calc(100% - 20px)}.mgf-sector-search form{grid-template-columns:1fr}.mgf-sector-search button{grid-column:auto}.mgf-service-grid{grid-template-columns:1fr}.mgf-sector-cta{align-items:flex-start;flex-direction:column}.mgf-sector-head{align-items:flex-start}.mgf-sector-head h2{font-size:21px}}
.mgf-builder{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.mgf-builder label{display:grid;gap:5px;font-size:13px!important;font-weight:800;color:#475467}.mgf-builder input,.mgf-builder select{min-height:42px;padding:9px 11px;border:1px solid #d6dbe4;border-radius:9px;background:#fff;font-size:13px!important}.mgf-builder button{grid-column:1/-1;justify-self:start;border:0;border-radius:999px;background:#e51476;color:#fff;padding:11px 18px;font-size:13px!important;font-weight:900;cursor:pointer}.mgf-quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.mgf-quick-links a,.mgf-pill{display:inline-flex;padding:10px 14px;border-radius:999px;background:#08111f;color:#fff;text-decoration:none;font-size:13px!important;font-weight:800}
@media(max-width:760px){.mgf-builder{grid-template-columns:1fr}}

/* MiGranFiesta.pe v1.4.3 · HERO fiel a la referencia + HOME paralelo acumulativo */
body.pub-is-home .pub-master-hero{
  display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;background:#08111f!important;overflow:visible!important;
}
body.pub-is-home .pub-master-hero>.pub-master-slider-zone{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.pub-is-home .pub-master-hero>.pub-master-slider-zone.is-primary-zone{order:1!important}
body.pub-is-home .pub-master-hero>.mgf-hero-benefits{order:2!important}
body.pub-is-home .pub-master-hero>.pub-master-yape{order:3!important;width:min(1450px,calc(100% - 20px))!important;margin:14px auto 0!important;border-radius:16px!important}
body.pub-is-home .pub-master-hero>.pub-master-slider-zone.is-secondary-zone{order:4!important;width:min(1450px,calc(100% - 20px))!important;margin:14px auto 0!important;border-radius:18px!important;overflow:hidden!important}
body.pub-is-home .pub-master-slider.is-primary{
  position:relative!important;width:100%!important;max-width:none!important;height:clamp(430px,42vw,600px)!important;min-height:430px!important;
  aspect-ratio:auto!important;border-radius:0!important;overflow:hidden!important;background:#08111f!important;
}
body.pub-is-home .pub-master-slider.is-primary .pub-hero-slides,body.pub-is-home .pub-master-slider.is-primary .pub-master-slide{height:100%!important;min-height:100%!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-slide,body.pub-is-home .pub-master-slider.is-primary .pub-master-slide[class*="image-pos-"]{
  background-size:cover!important;background-position:center center!important;border-radius:0!important;
}
body.pub-is-home .pub-master-slider.is-primary .pub-master-slide:after{
  background:linear-gradient(90deg,rgba(5,10,22,.62) 0%,rgba(5,10,22,.22) 26%,rgba(5,10,22,.15) 70%,rgba(5,10,22,.38) 100%),linear-gradient(180deg,rgba(5,10,22,.08) 0%,rgba(5,10,22,.04) 55%,rgba(5,10,22,.45) 100%)!important;
}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy,body.pub-is-home .pub-master-slider.is-primary .pub-master-slide:first-child .pub-master-copy{
  position:absolute!important;z-index:5!important;width:min(1180px,94%)!important;max-width:none!important;padding:0 18px!important;margin:0!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;
}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy h1,body.pub-is-home .pub-master-slider.is-primary .pub-master-copy h2{
  width:100%!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:6px!important;
  font-family:Inter,Arial,sans-serif!important;font-size:var(--pub-title-web,44px)!important;line-height:1.02!important;text-shadow:0 4px 16px rgba(0,0,0,.7)!important;
}
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-kicker{
  display:block!important;color:#fff!important;font-size:inherit!important;font-weight:800!important;line-height:1.06!important;letter-spacing:-.025em!important;text-transform:none!important;
}
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline{
  display:block!important;color:#fff!important;font-size:inherit!important;font-weight:950!important;line-height:.98!important;letter-spacing:-.04em!important;text-transform:uppercase!important;white-space:normal!important;text-wrap:balance!important;
}
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline::first-line{color:#fff}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy p{
  display:block!important;margin:9px 0 0!important;max-width:760px!important;color:#f4f6fa!important;font-size:var(--pub-subtitle-web,17px)!important;line-height:1.35!important;font-weight:600!important;text-shadow:0 2px 10px rgba(0,0,0,.68)!important;
}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy .pub-master-cta{display:none!important}
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline{background:linear-gradient(90deg,#fff 0%,#fff 68%,#ff0b76 68%,#ff0b76 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.mgf-hero-actions{position:absolute;z-index:8;top:22px;right:7%;display:flex;align-items:center;gap:10px}
.mgf-hero-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border-radius:10px;text-decoration:none!important;font-size:13px!important;font-weight:900;box-shadow:0 5px 18px rgba(0,0,0,.16);transition:.18s transform,.18s box-shadow}
.mgf-hero-action:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.22)}
.mgf-hero-action.is-primary{background:#ed0b71;color:#fff!important}.mgf-hero-action.is-primary span{font-size:19px;margin-left:9px;line-height:1}
.mgf-hero-action.is-secondary{background:#fff;color:#101828!important;border:1px solid rgba(255,255,255,.7)}
body.pub-is-home .mgf-hero-benefits{width:100%!important;max-width:none!important;margin:0!important;padding:13px max(18px,7vw)!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;background:linear-gradient(90deg,#06101f,#110921)!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important}
body.pub-is-home .mgf-hero-benefits>div{display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;min-height:56px!important;padding:4px 18px!important;border-right:1px solid rgba(255,255,255,.11)!important}
body.pub-is-home .mgf-hero-benefits>div:last-child{border-right:0!important}
body.pub-is-home .mgf-hero-benefits span{width:40px!important;height:40px!important;min-width:40px!important;background:transparent!important;border:2px solid #ed0b71!important;color:#ed0b71!important}
body.pub-is-home .mgf-hero-benefits span svg{width:20px!important;height:20px!important;stroke:currentColor!important}
body.pub-is-home .mgf-hero-benefits p{margin:0!important;display:flex!important;flex-direction:column!important;gap:1px!important}
body.pub-is-home .mgf-hero-benefits b{color:#fff!important;font-size:13px!important;line-height:1.12!important}body.pub-is-home .mgf-hero-benefits small{color:#f5f7fb!important;font-size:13px!important;line-height:1.12!important}

/* Propuesta paralela: se suma sin eliminar módulos heredados; puede apagarse desde Diseño > Home. */
.mgf-parallel-suite{width:min(1220px,calc(100% - 28px));margin:18px auto 36px;padding:24px;border:1px solid #e9e4eb;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#fffafd 100%);box-shadow:0 16px 44px rgba(8,17,31,.08)}
.mgf-parallel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.mgf-parallel-head span{display:inline-flex;color:#e51476;font-size:13px;font-weight:900;letter-spacing:.12em}.mgf-parallel-head h2{margin:5px 0 6px;color:#08111f;font-size:clamp(24px,3vw,34px);line-height:1.05}.mgf-parallel-head p{margin:0;max-width:820px;color:#667085;font-size:13px;line-height:1.5}
.mgf-parallel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mgf-parallel-grid>a{min-height:170px;padding:16px;border:1px solid #e5e7eb;border-radius:15px;background:#fff;color:#101828;text-decoration:none;display:flex;flex-direction:column;gap:10px;box-shadow:0 6px 18px rgba(8,17,31,.05);transition:.18s transform,.18s box-shadow}.mgf-parallel-grid>a:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(8,17,31,.1)}.mgf-parallel-grid>a>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fceaf3;color:#e51476}.mgf-parallel-grid>a>span svg{width:21px;height:21px}.mgf-parallel-grid strong{display:block;font-size:16px;line-height:1.15}.mgf-parallel-grid small{display:block;margin-top:5px;color:#667085;font-size:13px;line-height:1.42}.mgf-parallel-grid b{margin-top:auto;color:#e51476;font-size:13px}.mgf-parallel-grid>a.is-dark{background:#08111f;border-color:#1c2b42;color:#fff}.mgf-parallel-grid>a.is-dark small{color:#cbd5e1}.mgf-parallel-grid>a.is-dark>span{background:#e51476;color:#fff}.mgf-parallel-grid>a.is-dark b{color:#ff75b4}
.mgf-ecosystem-cross{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.mgf-ecosystem-cross>a{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:center;padding:18px 20px;border-radius:15px;background:linear-gradient(135deg,#0b1323,#17102a);color:#fff;text-decoration:none}.mgf-ecosystem-cross strong{font-size:18px}.mgf-ecosystem-cross span{font-size:13px;color:#cbd5e1}.mgf-ecosystem-cross b{grid-column:2;grid-row:1/3;color:#ff75b4;font-size:13px}

@media(max-width:980px){
 body.pub-is-home .pub-master-slider.is-primary{height:clamp(420px,58vw,520px)!important}
 body.pub-is-home .pub-master-slider.is-primary .pub-master-copy h1,body.pub-is-home .pub-master-slider.is-primary .pub-master-copy h2{font-size:var(--pub-title-tablet,31px)!important}
 body.pub-is-home .pub-master-slider.is-primary .mgf-hero-kicker,body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline{font-size:inherit!important}
 body.pub-is-home .pub-master-slider.is-primary .pub-master-copy p{font-size:var(--pub-subtitle-tablet,13px)!important}
 .mgf-hero-actions{right:18px;top:16px}.mgf-parallel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.pub-is-home .mgf-hero-benefits{grid-template-columns:repeat(5,minmax(155px,1fr))!important;overflow-x:auto!important;padding-left:12px!important;padding-right:12px!important}
 body.pub-is-home .mgf-hero-benefits>div{min-width:155px!important}
}
@media(max-width:620px){
 body.pub-is-home .pub-master-slider.is-primary{height:430px!important;min-height:430px!important}
 body.pub-is-home .pub-master-slider.is-primary .pub-master-copy,body.pub-is-home .pub-master-slider.is-primary .pub-master-slide:first-child .pub-master-copy{width:96%!important;padding:0 14px!important}
 body.pub-is-home .pub-master-slider.is-primary .pub-master-copy h1,body.pub-is-home .pub-master-slider.is-primary .pub-master-copy h2{font-size:var(--pub-title-phone,27px)!important}
 body.pub-is-home .pub-master-slider.is-primary .mgf-hero-kicker,body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline{font-size:inherit!important;max-width:100%!important}
 body.pub-is-home .pub-master-slider.is-primary .pub-master-copy p{font-size:var(--pub-subtitle-phone,13px)!important;line-height:1.3!important}
 .mgf-hero-actions{top:12px;right:10px;left:10px;justify-content:flex-end;gap:6px}.mgf-hero-action{min-height:38px;padding:0 10px;font-size:13px!important;border-radius:9px}.mgf-hero-action.is-secondary{max-width:47%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.pub-is-home .mgf-hero-benefits{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding:9px 10px!important}.mgf-hero-benefits>div{flex:0 0 72%!important;scroll-snap-align:start;border-right:1px solid rgba(255,255,255,.11)!important}
 .mgf-parallel-suite{width:calc(100% - 20px);padding:16px;margin:14px auto 26px}.mgf-parallel-grid{grid-template-columns:1fr}.mgf-ecosystem-cross{grid-template-columns:1fr}.mgf-ecosystem-cross>a{grid-template-columns:1fr}.mgf-ecosystem-cross b{grid-column:auto;grid-row:auto}
}
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;color:#fff!important}
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline span{color:#fff!important}
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline em{color:#ff0b76!important;font-style:normal!important}


/* MiGranFiesta.pe MASTER v1.4.11 — CONSOLIDADO TODO PENDIENTE */
/* 1. Header original preservado pero oculto; header temporal de la referencia visible. */
body.pub-is-home .mgf-original-header-preserved{display:none!important}
body.pub-is-home .mgf-temp-header{display:block!important;background:#07101f!important;color:#fff!important;border-bottom:1px solid #202b3e!important;width:100%!important;box-sizing:border-box!important}
body.pub-is-home .mgf-temp-head-main{min-height:76px;display:grid;grid-template-columns:245px minmax(360px,1fr) auto;align-items:center;gap:20px;width:min(1240px,calc(100% - 32px));margin:0 auto}
body.pub-is-home .mgf-temp-brand{display:flex;flex-direction:column;gap:2px;text-decoration:none!important;min-width:0}
body.pub-is-home .mgf-temp-brand img{width:180px;height:auto;display:block}
body.pub-is-home .mgf-temp-brand small{color:#d7dce5!important;font-size:12px!important;line-height:1.15!important;white-space:nowrap}
body.pub-is-home .mgf-temp-head-search{height:44px;display:grid;grid-template-columns:1fr 46px;background:#fff;border-radius:24px;overflow:hidden;border:0;margin:0}
body.pub-is-home .mgf-temp-head-search input{width:100%;height:44px;border:0;outline:0;padding:0 18px;background:#fff;color:#111827;font-size:13px!important;box-sizing:border-box}
body.pub-is-home .mgf-temp-head-search button{height:44px;border:0;background:#fff;color:#0b1220;display:grid;place-items:center;cursor:pointer}
body.pub-is-home .mgf-temp-head-search svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2}
body.pub-is-home .mgf-temp-head-actions{display:flex;align-items:center;gap:17px;white-space:nowrap}
body.pub-is-home .mgf-temp-head-actions>a{display:inline-flex;align-items:center;gap:6px;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:650}
body.pub-is-home .mgf-temp-head-actions svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
body.pub-is-home .mgf-temp-head-actions .mgf-temp-opportunities{color:#ffb8da!important;font-weight:900}
body.pub-is-home .mgf-temp-head-actions .mgf-temp-publish{min-height:42px;padding:0 17px;border-radius:10px;background:#ed0873!important;color:#fff!important;font-weight:900}
body.pub-is-home .mgf-temp-head-nav{height:50px;display:flex;align-items:center;gap:31px;width:min(1240px,calc(100% - 32px));margin:0 auto;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
body.pub-is-home .mgf-temp-head-nav::-webkit-scrollbar{display:none}
body.pub-is-home .mgf-temp-head-nav a{color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:500}
body.pub-is-home .mgf-temp-head-nav a:hover{color:#ff6cab!important}

/* 2. HERO: la posición elegida en Admin manda. Se elimina el bloqueo visual center-center. */
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy{z-index:5!important;width:min(1180px,calc(100% - 36px))!important;max-width:calc(100% - 36px)!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-left-top{left:24px!important;right:auto!important;top:24px!important;bottom:auto!important;transform:none!important;text-align:left!important;align-items:flex-start!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-center-top{left:50%!important;right:auto!important;top:24px!important;bottom:auto!important;transform:translateX(-50%)!important;text-align:center!important;align-items:center!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-right-top{left:auto!important;right:24px!important;top:24px!important;bottom:auto!important;transform:none!important;text-align:right!important;align-items:flex-end!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-left-center{left:24px!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;text-align:left!important;align-items:flex-start!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-center-center{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;text-align:center!important;align-items:center!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-right-center{left:auto!important;right:24px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;text-align:right!important;align-items:flex-end!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-left-bottom{left:24px!important;right:auto!important;top:auto!important;bottom:34px!important;transform:none!important;text-align:left!important;align-items:flex-start!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-center-bottom{left:50%!important;right:auto!important;top:auto!important;bottom:34px!important;transform:translateX(-50%)!important;text-align:center!important;align-items:center!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-right-bottom{left:auto!important;right:24px!important;top:auto!important;bottom:34px!important;transform:none!important;text-align:right!important;align-items:flex-end!important}
body.pub-is-home .pub-master-slider.is-primary .pub-master-copy h1,body.pub-is-home .pub-master-slider.is-primary .pub-master-copy h2{align-items:inherit!important;text-align:inherit!important}

/* 3. Beneficios: WEB 5, TABLET 3, PHONE 2. Sin carrusel horizontal. */
body.pub-is-home .mgf-hero-benefits{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;scroll-snap-type:none!important;padding:13px max(18px,7vw)!important}
body.pub-is-home .mgf-hero-benefits>div{min-width:0!important;flex:none!important;scroll-snap-align:none!important}

/* 4. ¿Qué necesitas hoy?: matriz blanca REAL, sin track, páginas, flechas, autoplay ni arrastre. */
body.pub-is-home .pub-master-hero>.pub-master-yape{display:none!important}
body.pub-is-home .mgf-needs-matrix{display:block!important;width:min(1450px,calc(100% - 16px))!important;max-width:1450px!important;margin:10px auto 28px!important;padding:18px 20px 20px!important;box-sizing:border-box!important;background:#fff!important;color:#101828!important;border:1px solid #e5e7eb!important;border-radius:16px!important;overflow:visible!important;box-shadow:0 5px 18px rgba(8,17,31,.05)!important}
body.pub-is-home .mgf-needs-matrix .pub-master-yape-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 12px!important}
body.pub-is-home .mgf-needs-matrix .pub-master-yape-head h2{margin:0!important;color:#101828!important;font-size:20px!important;font-weight:900!important}
body.pub-is-home .mgf-needs-matrix .pub-master-yape-head a{color:#e51476!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important}
body.pub-is-home .mgf-needs-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(4,auto)!important;gap:8px!important}
body.pub-is-home .mgf-needs-grid>a{min-width:0!important;min-height:88px!important;padding:8px 6px!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:3px!important;background:#fff!important;color:#111827!important;border:1px solid #dfe3e8!important;border-radius:12px!important;text-decoration:none!important;box-shadow:0 1px 3px rgba(16,24,40,.03)!important}
body.pub-is-home .mgf-needs-grid>a:hover{background:#fff!important;color:#111827!important;border-color:#e51476!important;box-shadow:none!important}
body.pub-is-home .mgf-needs-grid .pub-master-yape-icon{width:28px!important;height:28px!important;margin:0!important;background:transparent!important;color:#101828!important;border:0!important;border-radius:0!important;display:grid!important;place-items:center!important}
body.pub-is-home .mgf-needs-grid .pub-master-yape-icon.is-urgent{color:#e51476!important;background:transparent!important}
body.pub-is-home .mgf-needs-grid .pub-master-yape-icon svg{width:23px!important;height:23px!important}
body.pub-is-home .mgf-needs-grid strong{font-size:13px!important;line-height:1.1!important;font-weight:850!important;color:#111827!important}
body.pub-is-home .mgf-needs-grid small{font-size:11px!important;line-height:1.15!important;color:#667085!important;max-width:100%!important}

/* 5. Cuadrante ¿No sabes por dónde empezar? replicado según referencia. */
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:8px!important;background:#fdeaf3!important;border:1px solid #f5bfd6!important;color:#0b1220!important;padding:20px 16px!important;box-sizing:border-box!important}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help .mgf-help-icon{position:static!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;color:#ef0b73!important;flex:0 0 auto!important}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help .mgf-help-icon svg{width:38px!important;height:38px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help .pub-home-sector-copy{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;transform:none!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;flex:1 1 auto!important}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help strong{color:#0b1220!important;text-shadow:none!important;font-size:clamp(18px,1.45vw,20px)!important;line-height:1.08!important;text-transform:none!important;max-width:100%!important;text-wrap:balance}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help small{margin-top:8px!important;max-width:250px!important;color:#263044!important;text-shadow:none!important;font-size:clamp(12px,1.05vw,13px)!important;line-height:1.32!important}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help b{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex-wrap:nowrap!important;white-space:nowrap!important;max-width:100%!important;margin-top:12px!important;padding:10px 14px!important;border-radius:6px!important;background:#e51476!important;color:#fff!important;font-size:12px!important;font-weight:900!important;line-height:1.1!important}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help .mgf-help-cta-label{font-size:inherit!important;line-height:inherit!important;white-space:nowrap!important}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help b span:last-child{font-size:16px!important;line-height:1!important;flex:0 0 auto!important}
body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help .pub-home-sector-arrow{display:none!important}

/* 6. Botón BUSCAR del buscador principal: fucsia MiGranFiesta, no amarillo. */
body.pub-is-home .pub-master-search .pub-master-search-submit{background:#e51476!important;border-color:#e51476!important;color:#fff!important}
body.pub-is-home .pub-master-search .pub-master-search-submit:hover{background:#c90f65!important;border-color:#c90f65!important}

@media(max-width:1100px){
 body.pub-is-home .mgf-temp-head-main{grid-template-columns:190px minmax(260px,1fr) auto;gap:12px;width:min(100% - 24px,1100px)}
 body.pub-is-home .mgf-temp-brand img{width:160px}body.pub-is-home .mgf-temp-brand small{display:none}
 body.pub-is-home .mgf-temp-head-actions{gap:10px}body.pub-is-home .mgf-temp-head-actions>a span{display:none}
 body.pub-is-home .mgf-temp-head-nav{width:calc(100% - 24px);gap:24px}
 body.pub-is-home .mgf-hero-benefits{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:10px 12px!important;gap:0!important}
 body.pub-is-home .mgf-hero-benefits>div{min-height:60px!important;border-right:1px solid rgba(255,255,255,.11)!important;border-bottom:1px solid rgba(255,255,255,.11)!important}
 body.pub-is-home .mgf-hero-benefits>div:nth-child(3n){border-right:0!important}
 body.pub-is-home .mgf-needs-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:none!important}
}
@media(max-width:700px){
 body.pub-is-home .mgf-temp-head-main{grid-template-columns:1fr auto;width:calc(100% - 20px);min-height:auto;padding:9px 0;gap:8px}
 body.pub-is-home .mgf-temp-brand{grid-column:1}.mgf-temp-brand img{width:150px!important}
 body.pub-is-home .mgf-temp-head-actions{grid-column:2;gap:7px}.mgf-temp-head-actions .mgf-temp-opportunities{display:none!important}.mgf-temp-head-actions>a:not(.mgf-temp-publish){width:34px;height:34px;justify-content:center}.mgf-temp-head-actions .mgf-temp-publish{padding:0 10px!important;min-height:36px!important;font-size:11px!important}
 body.pub-is-home .mgf-temp-head-search{grid-column:1/-1;grid-row:2;height:42px}.mgf-temp-head-search input,.mgf-temp-head-search button{height:42px!important}
 body.pub-is-home .mgf-temp-head-nav{height:43px;width:calc(100% - 20px);gap:20px}
 body.pub-is-home .mgf-hero-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;display:grid!important}
 body.pub-is-home .mgf-hero-benefits>div{min-width:0!important;padding:8px!important;justify-content:flex-start!important}
 body.pub-is-home .mgf-hero-benefits>div:nth-child(3n){border-right:1px solid rgba(255,255,255,.11)!important}
 body.pub-is-home .mgf-hero-benefits>div:nth-child(2n){border-right:0!important}
 body.pub-is-home .mgf-needs-matrix{width:calc(100% - 12px)!important;padding:14px 10px 14px!important;margin-top:8px!important}
 body.pub-is-home .mgf-needs-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 body.pub-is-home .mgf-needs-grid>a{min-height:83px!important;padding:6px 3px!important}
 body.pub-is-home .mgf-needs-grid small{font-size:10px!important}
 body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-left-bottom{left:14px!important;bottom:24px!important}
 body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-center-bottom{bottom:24px!important}
 body.pub-is-home .pub-master-slider.is-primary .pub-master-copy.content-pos-right-bottom{right:14px!important;bottom:24px!important}
}


/* MiGranFiesta MASTER v1.4.15 — reglas acumulativas aprobadas */
.mgf-sector-home .pub-home-sector-nav-head h2{font-size:30px!important}
.pub-master-yape-head{position:relative;display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center!important;gap:12px}.pub-master-yape-head h2{grid-column:2;text-align:center;margin:0!important}.pub-master-yape-head>a{grid-column:3;justify-self:end;align-self:center;margin:0!important}
.mgf-provider-head{display:flex!important;align-items:center!important;justify-content:space-between!important}.mgf-provider-head h2,.mgf-home-agenda-head h2{margin:0!important}.mgf-provider-head>a,.mgf-home-agenda-head>a{margin-left:auto}
/* Marcas y productos heredados quedan fuera del HOME hasta contar con contenido propio MiGranFiesta. */
#productos-home,.pub-brand-carousel{display:none!important}
.mgf-service-grid button{appearance:none;width:100%;border:1px solid #dde2e9;border-radius:14px;background:#fff;color:#111827;padding:14px;text-align:left;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;cursor:pointer;min-height:88px;transition:.16s ease;font:inherit}.mgf-service-grid button>span{grid-row:1/3;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff0f7;color:#f20778;font-size:18px}.mgf-service-grid button strong{font-size:13px}.mgf-service-grid button small{font-size:13px;color:#687083}.mgf-service-grid button:hover,.mgf-service-grid button:focus-visible,.mgf-service-grid button.is-active{border-color:#f20778;box-shadow:0 5px 16px rgba(242,7,120,.10);outline:none}.mgf-service-grid button.is-active{background:#fff8fb}
.mgf-home-agenda{background:#fff;border:1px solid #e5e8ee;border-radius:18px;padding:20px;margin:18px 0}.mgf-home-agenda-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.mgf-home-agenda-head h2{font-size:26px}.mgf-home-agenda-head a{color:#f20778;font-weight:900;text-decoration:none;font-size:13px}.mgf-home-agenda-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mgf-home-agenda-card{border:1px solid #e1e5eb;border-radius:14px;padding:14px;text-decoration:none;color:#111827;display:flex;flex-direction:column;gap:6px}.mgf-home-agenda-card strong{font-size:14px}.mgf-home-agenda-card span,.mgf-home-agenda-empty{font-size:13px;color:#6b7280}.mgf-home-agenda-empty{border:1px dashed #d7dce4;border-radius:14px;padding:22px;text-align:center}
/* Regla global: ningún texto funcional de la web puede bajar de 13px. */
body :where(p,small,a,button,input,select,textarea,label,li,td,th,span,b,strong,em){font-size:max(13px,1em)!important}
@media(max-width:900px){.mgf-home-agenda-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pub-master-yape-head{grid-template-columns:1fr auto}.pub-master-yape-head h2{grid-column:1;text-align:left}.pub-master-yape-head>a{grid-column:2}}
@media(max-width:600px){.mgf-home-agenda-grid{grid-template-columns:1fr}.mgf-sector-home .pub-home-sector-nav-head h2{font-size:26px!important}}


/* MiGranFiesta MASTER v1.4.16 — cierre de reglas visibles y anti-regresión */
body.pub-is-home .pub-master-yape-head{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important}
body.pub-is-home .pub-master-yape-head h2{grid-column:2!important;text-align:center!important;justify-self:center!important;margin:0!important}
body.pub-is-home .pub-master-yape-head>a{grid-column:3!important;justify-self:end!important;margin:0!important}
/* Mínimo real 13px incluso frente a selectores antiguos con !important. Conserva textos mayores. */
html body.m70-ui.m70-ui.m70-ui.m70-ui.m70-ui :where(p,small,a,button,input,select,textarea,label,li,td,th,span,b,strong,em){font-size:max(13px,1em)!important}
@media(max-width:900px){
 body.pub-is-home .pub-master-yape-head{grid-template-columns:1fr auto 1fr!important}
 body.pub-is-home .pub-master-yape-head h2{grid-column:2!important;text-align:center!important;justify-self:center!important}
 body.pub-is-home .pub-master-yape-head>a{grid-column:3!important;justify-self:end!important}
}


/* MiGranFiesta MASTER v1.4.17 — orden, agenda espejo y responsive final */
/* Los servicios de cada sector se distribuyen por FILAS exactas: 3 web, 4 tablet, 5 phone. */
.mgf-sector-page .mgf-service-grid{
  display:grid!important;
  grid-template-columns:none!important;
  grid-template-rows:repeat(3,minmax(88px,auto))!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(0,1fr)!important;
  gap:10px!important;
}
@media(max-width:900px){
  .mgf-sector-page .mgf-service-grid{grid-template-rows:repeat(4,minmax(88px,auto))!important;}
}
@media(max-width:620px){
  .mgf-sector-page .mgf-service-grid{grid-template-rows:repeat(5,minmax(88px,auto))!important;gap:7px!important;}
  .mgf-sector-page .mgf-service-grid button{min-height:88px!important;padding:10px!important;}
}
/* Agenda: HOME y /agenda/ comparten exactamente el mismo widget y paleta MiGranFiesta. */
.mgf-agenda-mirror{width:min(1450px,calc(100% - 16px));margin:22px auto;background:#fff;color:#08111f;border:1px solid #e7e9ee;border-radius:18px;padding:16px;box-sizing:border-box;overflow:hidden}
.mgf-agenda-page{background:#fff!important;color:#08111f!important}
.mgf-agenda-mirror .m41-agenda,.mgf-agenda-mirror .m603-agenda-racing,.mgf-agenda-mirror .m603-calendar-box,.mgf-agenda-mirror .m41-agenda-events,.mgf-agenda-mirror .m603-featured,.mgf-agenda-mirror .m603-category-section,.mgf-agenda-mirror .m603-upcoming-section{background:#fff!important;color:#08111f!important;border-color:#e5e7eb!important;box-shadow:none!important}
.mgf-agenda-mirror .m603-agenda-title h1,.mgf-agenda-mirror .m603-section-head h2,.mgf-agenda-mirror .m41-events-head h3,.mgf-agenda-mirror [data-agenda-month-label]{color:#08111f!important}
.mgf-agenda-mirror .m603-title-slash,.mgf-agenda-mirror .m41-view-tabs button.active,.mgf-agenda-mirror .m41-near-btn[aria-pressed="true"],.mgf-agenda-mirror .m603-category-card:hover,.mgf-agenda-mirror .m603-category-card:focus-visible{background:#e51476!important;border-color:#e51476!important;color:#fff!important}
.mgf-agenda-mirror .m41-activity-menu summary,.mgf-agenda-mirror .m603-section-head a,.mgf-agenda-mirror a{color:#e51476}
.mgf-agenda-mirror .m603-agenda-title p,.mgf-agenda-mirror small,.mgf-agenda-mirror .m41-empty{color:#667085!important}
.mgf-agenda-mirror .m603-agenda-stats>div{background:#fff7fb!important;border-color:#f4c9dc!important}.mgf-agenda-mirror .m603-agenda-stats b{color:#e51476!important}
.mgf-agenda-mirror .m603-category-card,.mgf-agenda-mirror .m41-view-tabs button,.mgf-agenda-mirror .m41-near-btn,.mgf-agenda-mirror .m41-activity-menu summary{background:#fff!important;color:#08111f!important;border-color:#dfe3e8!important}
.mgf-agenda-mirror .m603-publish-event{background:#08111f!important;color:#fff!important}.mgf-agenda-mirror .m603-publish-event h3{color:#fff!important}.mgf-agenda-mirror .m603-publish-event a{background:#e51476!important;color:#fff!important}
.mgf-secondary-slider-slot{width:min(1450px,calc(100% - 16px));margin:22px auto 8px;box-sizing:border-box}
.mgf-brands-placeholder{width:min(1450px,calc(100% - 16px));margin:0 auto 22px;padding:12px 0 18px;border-bottom:1px solid #eceef2}.mgf-brands-placeholder .pub-head{margin:0!important}.mgf-brands-placeholder h2{margin:0;color:#08111f!important}
/* Nunca ocultar el contenedor MARCAS: se conserva vacío hasta que exista contenido propio. */
#marcas-home{display:block!important}

/* MiGranFiesta MASTER v1.4.18 — identidad limpia + sliders en proporción real */
body.pub-is-home .mgf-temp-brand{gap:0!important;justify-content:center!important;align-items:flex-start!important}
body.pub-is-home .mgf-temp-brand img{
  width:198px!important;
  height:auto!important;
  display:block!important;
  padding:2px!important;
  margin:0!important;
  border-radius:7px!important;
  background:#fff!important;
  box-sizing:border-box!important;
  box-shadow:0 1px 0 rgba(255,255,255,.10)!important;
}
body.pub-is-home .mgf-temp-brand small{display:none!important}
/* El tamaño natural del slider vuelve a depender de su proporción configurada, no de clamps heredados. */
body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary,
body.pub-is-home .mgf-secondary-slider-slot .pub-master-slider.is-secondary{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:var(--pub-slider-aspect,18/9)!important;
}
body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary.has-h-web,
body.pub-is-home .mgf-secondary-slider-slot .pub-master-slider.is-secondary.has-h-web{height:var(--pub-slider-h-web)!important;aspect-ratio:auto!important}
@media(max-width:900px){
  body.pub-is-home .mgf-temp-brand img{width:176px!important}
  body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary,
  body.pub-is-home .mgf-secondary-slider-slot .pub-master-slider.is-secondary{height:auto!important;min-height:0!important;aspect-ratio:var(--pub-slider-aspect,18/9)!important}
  body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary.has-h-tablet,
  body.pub-is-home .mgf-secondary-slider-slot .pub-master-slider.is-secondary.has-h-tablet{height:var(--pub-slider-h-tablet)!important;aspect-ratio:auto!important}
}
@media(max-width:620px){
  body.pub-is-home .mgf-temp-brand img{width:165px!important;border-radius:6px!important}
  body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary,
  body.pub-is-home .mgf-secondary-slider-slot .pub-master-slider.is-secondary{height:auto!important;min-height:0!important;aspect-ratio:var(--pub-slider-aspect,18/9)!important}
  body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary.has-h-phone,
  body.pub-is-home .mgf-secondary-slider-slot .pub-master-slider.is-secondary.has-h-phone{height:var(--pub-slider-h-phone)!important;aspect-ratio:auto!important}
}

/* Agenda v1.4.18 — cada evento real se presenta como tarjeta independiente y legible. */
.mgf-agenda-mirror .m603-upcoming-grid{gap:10px!important;align-items:stretch!important}
.mgf-agenda-mirror .m603-upcoming-card{background:#fff!important;color:#08111f!important;border:1px solid #e1e5eb!important;border-radius:14px!important;box-shadow:0 4px 14px rgba(8,17,31,.05)!important;overflow:hidden!important}
.mgf-agenda-mirror .m603-upcoming-card:hover,.mgf-agenda-mirror .m603-upcoming-card:focus-visible{border-color:#e51476!important;box-shadow:0 8px 22px rgba(229,20,118,.10)!important;outline:none!important}
.mgf-agenda-mirror .m603-upcoming-copy h3{color:#08111f!important}.mgf-agenda-mirror .m603-upcoming-copy p,.mgf-agenda-mirror .m603-upcoming-copy span,.mgf-agenda-mirror .m603-upcoming-copy small{color:#667085!important}.mgf-agenda-mirror .m603-upcoming-copy b{color:#e51476!important}
.mgf-agenda-mirror .m603-upcoming-media{background-color:#f5f7fa!important}.mgf-agenda-mirror .m603-upcoming-date{background:#08111f!important;color:#fff!important}.mgf-agenda-mirror .m603-upcoming-fav{color:#e51476!important;background:#fff!important}

/* MiGranFiesta.pe v1.4.20 — referencia visual + preferencias del visitante */
:root{
  --mgf-ui-dark:#07101f;
  --mgf-ui-dark-2:#12132f;
  --mgf-ui-accent:#f0077a;
  --mgf-ui-accent-2:#ff4d9d;
  --mgf-ui-soft:#fff6fb;
  --mgf-ui-card:#ffffff;
  --mgf-ui-text:#101828;
  --mgf-ui-muted:#667085;
  --mgf-ui-gold:#f6c945;
}
html[data-mgf-skin="elegante"]{--mgf-ui-dark:#241019;--mgf-ui-dark-2:#4a1834;--mgf-ui-accent:#b91c5c;--mgf-ui-accent-2:#d97706;--mgf-ui-soft:#fff8f1;--mgf-ui-gold:#eab308}
html[data-mgf-skin="familiar"]{--mgf-ui-dark:#0d2941;--mgf-ui-dark-2:#164e63;--mgf-ui-accent:#0f9f92;--mgf-ui-accent-2:#f97360;--mgf-ui-soft:#f0fdfa;--mgf-ui-gold:#f7c948}
html[data-mgf-skin="claro"]{--mgf-ui-dark:#27235f;--mgf-ui-dark-2:#4338ca;--mgf-ui-accent:#7c3aed;--mgf-ui-accent-2:#ec4899;--mgf-ui-soft:#faf8ff;--mgf-ui-gold:#f59e0b}
html[data-mgf-skin="noche"]{--mgf-ui-dark:#030307;--mgf-ui-dark-2:#14051e;--mgf-ui-accent:#ff0b78;--mgf-ui-accent-2:#8b5cf6;--mgf-ui-soft:#faf5ff;--mgf-ui-gold:#facc15}

/* La preferencia del usuario altera solo apariencia, nunca contenido ni slugs. */
body.pub-is-home .mgf-temp-header,
.m20-top,.m20-topin,.m60-footer,.m40-footer{background:var(--mgf-ui-dark)!important}
body.pub-is-home .mgf-temp-publish,
body.pub-is-home .pub-master-yape a:hover,
.mgf-provider-card-go,
.mgf-sector-hero-actions a,
.mgf-sector-search button,
.mgf-sector-cta>a,
.mgf-dir-filter button,
.mgf-zona-intent button,
.mgf-zona-expert a,
.mgf-zona-filter button{background:var(--mgf-ui-accent)!important}
body.pub-is-home .pub-home-sector-nav-head h2 strong,
body.pub-is-home .pub-head a,.mgf-provider-head a,.mgf-sector-head>a{color:var(--mgf-ui-accent)!important}

/* Selector de apariencia desde HOME */
.mgf-appearance-trigger{height:40px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:#111a2a;color:#fff;display:inline-flex;align-items:center;gap:7px;padding:0 11px;font:inherit;cursor:pointer;white-space:nowrap}.mgf-appearance-trigger span{font-size:20px;line-height:1}.mgf-appearance-trigger b{font-size:13px}.mgf-appearance-trigger:hover{border-color:var(--mgf-ui-accent);color:#fff}
.mgf-appearance-panel{position:absolute;z-index:12000;top:64px;right:max(18px,5vw);width:min(560px,calc(100vw - 24px));padding:16px;border-radius:18px;background:#fff;color:#101828;border:1px solid #e6e8ee;box-shadow:0 24px 70px rgba(0,0,0,.28)}.mgf-appearance-panel[hidden]{display:none!important}.mgf-appearance-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mgf-appearance-panel-head strong{font-size:16px}.mgf-appearance-panel-head button{width:34px;height:34px;border:0;border-radius:50%;background:#07101f;color:#fff;font-size:20px;cursor:pointer}.mgf-appearance-panel>p{margin:6px 0 14px;color:#667085;font-size:13px}.mgf-appearance-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.mgf-appearance-options button{min-width:0;border:1px solid #e3e6eb;border-radius:13px;background:#fff;padding:9px 8px;text-align:left;cursor:pointer;color:#111827}.mgf-appearance-options button.is-active{border-color:var(--mgf-ui-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--mgf-ui-accent) 18%,transparent)}.mgf-appearance-options i{display:block;width:100%;height:22px;border-radius:7px;margin-bottom:7px;background:linear-gradient(90deg,#07101f 0 48%,#f0077a 48% 100%)}.mgf-appearance-options [data-mgf-skin="elegante"] i{background:linear-gradient(90deg,#241019 0 48%,#b91c5c 48% 75%,#d97706 75%)}.mgf-appearance-options [data-mgf-skin="familiar"] i{background:linear-gradient(90deg,#0d2941 0 48%,#0f9f92 48% 75%,#f97360 75%)}.mgf-appearance-options [data-mgf-skin="claro"] i{background:linear-gradient(90deg,#f7f5ff 0 48%,#7c3aed 48% 75%,#ec4899 75%)}.mgf-appearance-options [data-mgf-skin="noche"] i{background:linear-gradient(90deg,#030307 0 48%,#ff0b78 48% 75%,#8b5cf6 75%)}.mgf-appearance-options span{display:block;font-size:13px;font-weight:900}.mgf-appearance-options small{display:block;margin-top:2px;color:#667085;font-size:13px;line-height:1.2}
@media(max-width:900px){.mgf-appearance-trigger b{display:none}.mgf-appearance-options{grid-template-columns:repeat(2,minmax(0,1fr))}.mgf-appearance-panel{top:58px;right:10px}}

/* Slider principal: recupera tamaño aprobado; no usa aspect-ratio forzado. */
body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary{
  height:clamp(430px,42vw,600px)!important;
  min-height:430px!important;
  aspect-ratio:auto!important;
}
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-kicker,
body.pub-is-home .pub-master-slider.is-primary .mgf-hero-mainline{font-size:inherit!important}
@media(max-width:980px){body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary{height:clamp(420px,58vw,520px)!important;min-height:420px!important;aspect-ratio:auto!important}}
@media(max-width:620px){body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary{height:430px!important;min-height:430px!important;aspect-ratio:auto!important}}

/* Sectores HOME: cada tarjeta conserva foto pero gana identidad cromática propia. */
.mgf-sector-home .pub-home-sector-card:not(.is-help){border:3px solid var(--mgf-accent,#f0077a)!important;box-shadow:0 12px 30px color-mix(in srgb,var(--mgf-accent,#f0077a) 18%,rgba(8,17,31,.10))!important}
.mgf-sector-home .pub-home-sector-card:not(.is-help):after{background:linear-gradient(180deg,rgba(8,17,31,0) 30%,color-mix(in srgb,var(--mgf-accent,#f0077a) 22%,rgba(8,17,31,.20)) 60%,rgba(8,17,31,.94) 100%)!important}
.mgf-sector-home .pub-home-sector-card .pub-home-sector-arrow{background:var(--mgf-accent,#f0077a)!important;box-shadow:0 4px 16px color-mix(in srgb,var(--mgf-accent,#f0077a) 35%,transparent)!important}
.mgf-sector-home .pub-home-sector-card:hover{transform:translateY(-3px);transition:.2s ease}.mgf-sector-home .pub-home-sector-card:hover:before{transform:scale(1.05)}

/* v1.4.20 · tarjeta única para tiendas, negocios y servicios */
.pub-business-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dfe4ea;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(8,17,31,.07);transition:.18s ease}.pub-business-card:hover{transform:translateY(-3px);border-color:var(--mgf-ui-accent);box-shadow:0 16px 34px rgba(8,17,31,.12)}.pub-business-media{position:relative;display:block;width:100%;aspect-ratio:16/10;background:#eef1f4;overflow:hidden}.pub-business-media img{width:100%;height:100%;display:block;object-fit:cover}.pub-business-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#8992a0}.pub-business-placeholder svg{width:52px;height:52px}.pub-business-status{position:absolute;left:9px;top:9px;display:inline-flex;min-height:24px;align-items:center;padding:0 8px;border-radius:6px;background:rgba(7,16,31,.84);color:#fff;font-size:13px;font-weight:900}.pub-business-status.is-verified{background:var(--mgf-ui-accent)}.pub-business-body{display:flex;flex-direction:column;flex:1 1 auto;padding:12px}.pub-business-category{font-size:13px;color:#788190;margin:0 0 5px}.pub-business-title{font-size:17px;line-height:1.18;font-weight:900;color:#101828;text-decoration:none;margin:0 0 7px}.pub-business-desc{font-size:13px;line-height:1.42;color:#667085;margin:0 0 12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.pub-business-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:auto;color:#667085;font-size:13px}.pub-business-meta .is-rated{color:#b77900;font-weight:800}.pub-business-actions{display:flex;align-items:center;gap:8px;margin-top:11px}.pub-business-actions a,.pub-business-actions button{min-height:34px;padding:0 10px;border-radius:8px;border:1px solid var(--mgf-ui-accent);background:#fff;color:var(--mgf-ui-accent);font-size:13px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.pub-business-actions button{cursor:pointer}.pub-business-actions a:hover,.pub-business-actions button:hover{background:var(--mgf-ui-accent);color:#fff}


/* MiGranFiesta v1.4.31 · cierre visual consolidado */
/* HOME: título ¿QUÉ VAS A CELEBRAR? reduce exactamente 2 px respecto a v1.4.30. */
body.pub-is-home .mgf-sector-home .pub-home-sector-nav-head h2{font-size:28px!important}
@media(max-width:600px){body.pub-is-home .mgf-sector-home .pub-home-sector-nav-head h2{font-size:24px!important}}

/* Amarillo oficial vivo MGF: evita el mostaza heredado de Publicar. */
.m70-ui .m120-publish-cta,.m120-publish-cta{background:#FFD200!important;border-color:#FFD200!important;color:#07101f!important}
.m70-ui .m120-publish-cta:hover,.m120-publish-cta:hover{background:#FFE04D!important;border-color:#FFD200!important;color:#07101f!important}

/* Todo CTA fucsia debe usar texto blanco para contraste. */
.mgf-global-publish,.pub-master-publish,.pub-master-cta,.mgf-sector-hero-actions a,.mgf-sector-search button,.mgf-sector-cta>a,.mgf-builder button,.mgf-needs-grid .is-urgent,.pub-store-filter-submit{color:#fff!important}

/* Slider principal: si Admin deja altura en 0, la proporción seleccionada manda realmente. */
body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary{height:auto!important;min-height:0!important;aspect-ratio:var(--pub-slider-aspect,18/9)!important}
body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary.has-h-web{height:var(--pub-slider-h-web)!important;aspect-ratio:auto!important}
@media(max-width:980px){
 body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary{height:auto!important;min-height:0!important;aspect-ratio:var(--pub-slider-aspect,18/9)!important}
 body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary.has-h-tablet{height:var(--pub-slider-h-tablet)!important;aspect-ratio:auto!important}
}
@media(max-width:620px){
 body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary{height:auto!important;min-height:0!important;aspect-ratio:var(--pub-slider-aspect,18/9)!important}
 body.pub-is-home .pub-master-slider-zone>.pub-master-slider.is-primary.has-h-phone{height:var(--pub-slider-h-phone)!important;aspect-ratio:auto!important}
}

/* MiGranFiesta v1.4.32 · navegación de rubros en 2 filas para tablet y phone */
@media(max-width:980px){
  body.pub-is-home .mgf-sector-home .pub-home-sector-nav-track{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-copy strong{font-size:15px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-copy small{font-size:12px!important;line-height:1.18!important}
}
@media(max-width:640px){
  body.pub-is-home .mgf-sector-home .pub-home-sector-nav-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card{aspect-ratio:1/1.05!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-copy strong{font-size:14px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-copy small{font-size:11px!important;line-height:1.14!important}
}

@media(max-width:980px){
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help{padding:18px 14px!important;gap:7px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help strong{font-size:17px!important;line-height:1.07!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help small{font-size:12px!important;line-height:1.26!important;max-width:220px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help b{margin-top:10px!important;padding:9px 12px!important;font-size:11px!important;gap:7px!important}
}
@media(max-width:640px){
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help{padding:14px 10px!important;gap:6px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help .mgf-help-icon{width:34px!important;height:34px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help .mgf-help-icon svg{width:30px!important;height:30px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help strong{font-size:14px!important;line-height:1.08!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help small{font-size:10.5px!important;line-height:1.2!important;max-width:180px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help b{margin-top:8px!important;padding:8px 10px!important;font-size:10.5px!important;gap:6px!important}
  body.pub-is-home .mgf-sector-home .pub-home-sector-card.is-help b span:last-child{font-size:14px!important}
}

/* v1.4.38 · ¿Qué necesitas hoy?: hover exclusivamente en el borde */
body.pub-is-home .mgf-needs-grid>a:hover,
body.pub-is-home .mgf-needs-grid>a:focus-visible{background:#fff!important;box-shadow:none!important;transform:none!important}
body.pub-is-home .mgf-needs-grid>a:hover .pub-master-yape-icon,
body.pub-is-home .mgf-needs-grid>a:focus-visible .pub-master-yape-icon{background:transparent!important}
body.pub-is-home .mgf-needs-grid>a:hover strong,
body.pub-is-home .mgf-needs-grid>a:hover small{color:inherit!important}

/* MiGranFiesta v1.4.39 · bloque superior negro continuo: header → slider → beneficios → buscador */
body.pub-is-home .mgf-global-header{background:#000!important;border-bottom-color:#000!important}
body.pub-is-home .pub-master-shell{background:#000!important;box-shadow:0 0 0 100vmax #000!important;clip-path:inset(0 -100vmax)!important}
body.pub-is-home .pub-master-hero,
body.pub-is-home .pub-master-slider-zone,
body.pub-is-home .pub-master-slider-zone.is-primary-zone,
body.pub-is-home .mgf-hero-benefits{background:#000!important}
body.pub-is-home .mgf-hero-benefits{border-top-color:#151515!important;border-bottom:0!important}
body.pub-is-home .pub-master-search{background:#000!important;border-color:#000!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding:10px 4px 14px!important}
body.pub-is-home .pub-master-search .pub-master-near,
body.pub-is-home .pub-master-search .pub-master-query,
body.pub-is-home .pub-master-search .pub-master-select{background:#fff!important;color:#111!important}
body.pub-is-home .pub-master-search .pub-master-search-submit{background:#e51476!important;border-color:#e51476!important;color:#fff!important}
@media(max-width:820px){body.pub-is-home .pub-master-search{padding:8px 10px 12px!important;margin:0!important}}

/* MiGranFiesta v1.4.41 · orden corregido + carrusel compacto + buscador claro
 * REGLA: no modifica ni reduce las dimensiones del slider principal. */
body.pub-is-home .pub-master-hero>.mgf-benefits-carousel{order:2!important}
body.pub-is-home .mgf-benefits-carousel{position:relative;width:100%!important;max-width:none!important;margin:0!important;padding:7px 30px!important;background:#000!important;box-sizing:border-box!important;overflow:hidden!important}
body.pub-is-home .mgf-benefits-carousel .mgf-hero-benefits{display:flex!important;grid-template-columns:none!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:#000!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;scroll-behavior:smooth!important}
body.pub-is-home .mgf-benefits-carousel .mgf-hero-benefits::-webkit-scrollbar{display:none!important}
body.pub-is-home .mgf-benefit-card{flex:0 0 calc((100% - 32px)/5)!important;min-width:0!important;min-height:68px!important;display:flex!important;align-items:center!important;gap:9px!important;padding:7px 10px!important;box-sizing:border-box!important;background:#080d16!important;border:1px solid #202938!important;border-radius:10px!important;color:#fff!important;text-decoration:none!important;scroll-snap-align:start!important;transition:border-color .2s ease!important}
body.pub-is-home .mgf-benefit-card:hover{background:#080d16!important;border-color:#ed0b71!important;transform:none!important}
body.pub-is-home .mgf-benefit-card>span{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:50%!important;background:transparent!important;border:2px solid #ed0b71!important;color:#ed0b71!important}
body.pub-is-home .mgf-benefit-card>span svg{width:20px!important;height:20px!important;stroke:currentColor!important}
body.pub-is-home .mgf-benefit-card p{margin:0!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important}
body.pub-is-home .mgf-benefit-card b{color:#fff!important;font-size:13px!important;line-height:1.12!important;font-weight:900!important}
body.pub-is-home .mgf-benefit-card small{color:#cbd5e1!important;font-size:12px!important;line-height:1.18!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
body.pub-is-home .mgf-benefits-arrow{position:absolute!important;z-index:4!important;top:50%!important;transform:translateY(-50%)!important;width:20px!important;height:32px!important;min-width:20px!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;font-size:24px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important;opacity:.9!important}
body.pub-is-home .mgf-benefits-arrow.is-left{left:1px!important}body.pub-is-home .mgf-benefits-arrow.is-right{right:1px!important}
body.pub-is-home .mgf-benefits-arrow:hover{color:#ed0b71!important}
/* El buscador sí queda separado y claro, sin redimensionar sus controles internos. */
body.pub-is-home .pub-master-search{background:#f3f5f8!important;color:#111!important;border:1px solid #e0e5ec!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important;border-radius:14px!important;margin:12px auto 0!important;padding:10px!important;width:min(1220px,calc(100% - 24px))!important}
body.pub-is-home .pub-master-search .pub-master-near,body.pub-is-home .pub-master-search .pub-master-query,body.pub-is-home .pub-master-search .pub-master-select{background:#fff!important;color:#111!important}
@media(max-width:980px){
 body.pub-is-home .mgf-benefits-carousel{padding:7px 26px!important}
 body.pub-is-home .mgf-benefit-card{flex-basis:calc((100% - 16px)/3)!important;min-height:70px!important}
}
@media(max-width:640px){
 body.pub-is-home .mgf-benefits-carousel{padding:6px 22px!important}
 body.pub-is-home .mgf-benefits-carousel .mgf-hero-benefits{gap:8px!important}
 body.pub-is-home .mgf-benefit-card{flex-basis:calc((100% - 8px)/2)!important;min-width:0!important;min-height:76px!important;align-items:center!important;gap:7px!important;padding:7px 8px!important;border-radius:9px!important}
 body.pub-is-home .mgf-benefit-card>span{flex-basis:32px!important;width:32px!important;height:32px!important}
 body.pub-is-home .mgf-benefit-card>span svg{width:17px!important;height:17px!important}
 body.pub-is-home .mgf-benefit-card b{font-size:12px!important;line-height:1.1!important}
 body.pub-is-home .mgf-benefit-card small{font-size:11px!important;line-height:1.14!important;-webkit-line-clamp:2!important}
 body.pub-is-home .pub-master-search{width:calc(100% - 16px)!important;margin-top:10px!important;border-radius:12px!important}
}


/* MiGranFiesta v1.4.42 · header blanco + iconos circulares 1:1 + flechas estándar 20px */
/* Header global: toda la franja blanca, textos e iconos negros. */
.mgf-global-header,
body.pub-is-home .mgf-global-header{background:#fff!important;color:#000!important;border-bottom:1px solid #e5e7eb!important}
.mgf-global-header .mgf-global-head-main,
.mgf-global-header .mgf-global-nav{background:#fff!important;color:#000!important}
.mgf-global-header .mgf-global-actions>a,
.mgf-global-header .mgf-global-actions>button,
.mgf-global-header .mgf-global-search-icon,
.mgf-global-header .mgf-global-opportunities,
.mgf-global-header .mgf-global-nav a,
.mgf-global-header .mgf-global-sector-trigger{color:#000!important}
.mgf-global-header .mgf-global-actions svg,
.mgf-global-header .mgf-global-search-icon svg,
.mgf-global-header .mgf-global-nav svg{color:#000!important;stroke:currentColor!important}
.mgf-global-header .mgf-global-publish{background:#fff!important;color:#000!important;border:1px solid #111!important;box-shadow:none!important}
.mgf-global-header .mgf-appearance-trigger{background:#fff!important;color:#000!important;border-color:#d1d5db!important}
.mgf-global-header .mgf-global-actions>a:hover,
.mgf-global-header .mgf-global-actions>button:hover,
.mgf-global-header .mgf-global-nav a:hover,
.mgf-global-header .mgf-global-nav a.active,
.mgf-global-header .mgf-global-sector-trigger:hover,
.mgf-global-header .mgf-global-sector-menu.is-open .mgf-global-sector-trigger{color:#000!important}

/* Carrusel informativo: los aros de iconos no pueden encogerse ni ovalarse. */
body.pub-is-home .mgf-benefit-card>span{
  box-sizing:border-box!important;
  width:38px!important;height:38px!important;
  min-width:38px!important;min-height:38px!important;
  max-width:38px!important;max-height:38px!important;
  aspect-ratio:1/1!important;
  flex:0 0 38px!important;
  border-radius:50%!important;
  line-height:1!important;
}
@media(max-width:640px){
  body.pub-is-home .mgf-benefit-card>span{
    width:32px!important;height:32px!important;
    min-width:32px!important;min-height:32px!important;
    max-width:32px!important;max-height:32px!important;
    aspect-ratio:1/1!important;
    flex:0 0 32px!important;
  }
}

/* Flechas aprobadas: 20px, sin relleno, a 1px del borde. */
body.pub-is-home .mgf-benefits-arrow,
body.pub-is-home .pub-master-arrow{
  box-sizing:border-box!important;
  width:20px!important;height:20px!important;
  min-width:20px!important;min-height:20px!important;
  max-width:20px!important;max-height:20px!important;
  padding:0!important;margin:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:grid!important;place-items:center!important;
  line-height:20px!important;
  font-size:20px!important;
}
body.pub-is-home .mgf-benefits-arrow.is-left,
body.pub-is-home .pub-master-arrow.is-left{left:1px!important}
body.pub-is-home .mgf-benefits-arrow.is-right,
body.pub-is-home .pub-master-arrow.is-right{right:1px!important}
body.pub-is-home .pub-master-arrow svg{width:20px!important;height:20px!important}
