/* Ivanuki · imagen completa de estadísticas y visor accesible */
#servicios .service-card--stats .service-image{
  position:relative;
  height:268px!important;
  min-height:268px!important;
  padding:8px 10px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:#fbf1dc!important;
  border-radius:15px 15px 0 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
#servicios .service-card--stats .service-image img{
  display:block!important;
  height:100%!important;
  width:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:none!important;
}
@media(max-width:760px){
  #servicios .service-card--stats .service-image{height:320px!important;min-height:320px!important;padding:5px!important}
}
@media(max-width:380px){
  #servicios .service-card--stats .service-image{height:285px!important;min-height:285px!important}
}
/* La imagen es la acción, sin otro botón grande que sature las tarjetas. */
#servicios .service-image img.iv-image-enlarge,
#recargas .ivrc-product img.iv-image-enlarge{
  cursor:zoom-in!important;
  outline-offset:3px;
}
#servicios .service-image:has(> img.iv-image-enlarge){position:relative}
#servicios .service-image:has(> img.iv-image-enlarge)::after{
  content:'⤢';
  position:absolute;
  right:10px;bottom:10px;
  display:grid;place-items:center;
  width:33px;height:33px;
  border-radius:11px;
  background:rgba(6,39,45,.84);
  border:1px solid rgba(255,245,218,.40);
  color:#fff2d2;font-size:23px;line-height:1;
  pointer-events:none;
  box-shadow:0 5px 16px rgba(0,20,28,.27);
}
#recargas .ivrc-product img.iv-image-enlarge:hover,
#servicios .service-image img.iv-image-enlarge:hover{filter:brightness(1.035)}
.iv-zoom-trigger{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;
  background:rgba(251,229,172,.10);border:1px solid rgba(255,229,172,.30);
  border-radius:999px;color:#ffe5a7;font-size:12px;font-weight:800;
  line-height:1.25;cursor:pointer;white-space:nowrap}
.iv-zoom-trigger:hover,.iv-zoom-trigger:focus-visible{background:rgba(255,232,179,.22);outline:2px solid #ffde98;outline-offset:2px}
#ofertas .ivpack-compact-head .iv-zoom-trigger{align-self:center;flex:0 0 auto;margin-left:auto}
@media(max-width:760px){
 #ofertas .ivpack-compact-head .iv-zoom-trigger{margin:8px 0 0;font-size:11.5px}
}
/* Lightbox encima de la cabecera fija y del resto de la web */
dialog.iv-zoom-dialog{
  position:fixed!important;inset:auto!important;
  top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;
  margin:0!important;
  max-width:min(96vw,1400px)!important;
  width:max-content!important;
  max-height:96dvh!important;
  height:max-content!important;min-height:0!important;
  box-sizing:border-box!important;
  padding:12px!important;
  overflow:visible!important;
  border:1px solid rgba(249,220,151,.35)!important;
  border-radius:20px!important;
  background:#0c2930!important;
  color:#f8e7bf!important;
  box-shadow:0 28px 100px rgba(0,0,0,.64)!important;
  z-index:2147483647!important;
}
dialog.iv-zoom-dialog::backdrop{background:rgba(1,15,23,.88);backdrop-filter:blur(5px)}
.iv-zoom-stage{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;align-items:center;gap:6px}
.iv-zoom-figure{margin:0!important;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0}
.iv-zoom-figure img{display:block;width:auto!important;height:auto!important;max-width:min(85vw,1200px)!important;max-height:calc(90dvh - 96px)!important;object-fit:contain!important;border-radius:9px;box-shadow:0 10px 30px rgba(0,0,0,.2);background:#fff3dd}
.iv-zoom-figure figcaption{max-width:90vw;line-height:1.4;text-align:center;font-size:13px;font-weight:800;color:#ffe2a7}
.iv-zoom-close,.iv-zoom-nav{appearance:none;display:grid;place-items:center;cursor:pointer;color:#ffedc7;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,247,225,.22);border-radius:50%;
  width:40px;height:40px;font:700 25px/1 Arial,sans-serif}
.iv-zoom-close{position:absolute;right:-11px;top:-14px;z-index:3;background:#15545c;box-shadow:0 6px 18px rgba(0,0,0,.32)}
.iv-zoom-nav{font-size:30px}
.iv-zoom-close:hover,.iv-zoom-nav:hover,.iv-zoom-close:focus-visible,.iv-zoom-nav:focus-visible{background:#226a70;outline:2px solid #ffe0a4;outline-offset:2px}
.iv-zoom-nav[hidden]{visibility:hidden!important;display:grid!important;pointer-events:none}
@media(max-width:620px){
 dialog.iv-zoom-dialog{padding:13px 6px 8px!important;border-radius:13px!important;max-width:99vw!important}
 .iv-zoom-stage{grid-template-columns:30px minmax(0,1fr) 30px;gap:1px}
 .iv-zoom-nav{width:29px;height:34px;font-size:23px}
 .iv-zoom-figure img{max-width:calc(100vw - 85px)!important;max-height:calc(90dvh - 80px)!important}
 .iv-zoom-figure figcaption{font-size:12px}
 .iv-zoom-close{right:1px;top:-15px;width:37px;height:37px}
}


/* ===== Ivanuki 2026-11-05 · legibilidad dentro de packs ===== */
#ofertas .pack-panel .premium-fixed-options,
#ofertas .pack-panel .pack-options{
  display:grid;
  gap:12px;
}
#ofertas .pack-panel .iv-service-group-title{
  color:#7e5313!important;
  font-weight:900!important;
  letter-spacing:.02em;
  margin:6px 0 2px!important;
}
#ofertas .pack-panel .service-entry{
  background:rgba(255,248,236,.88)!important;
  border:1px solid rgba(177,139,73,.22)!important;
  border-radius:16px!important;
  box-shadow:0 6px 18px rgba(36,25,6,.05)!important;
  overflow:hidden!important;
}
#ofertas .pack-panel .service-entry-bar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 14px!important;
  background:linear-gradient(180deg,rgba(255,252,245,.98),rgba(246,236,217,.92))!important;
  border-bottom:1px solid rgba(177,139,73,.18)!important;
}
#ofertas .pack-panel .service-disclose{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  background:none!important;
  border:none!important;
  padding:0!important;
  color:#39250d!important;
  text-align:left!important;
  font-weight:800!important;
}
#ofertas .pack-panel .service-title{
  color:#39250d!important;
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:900!important;
}
#ofertas .pack-panel .service-caret{
  color:#8e601e!important;
  font-size:16px!important;
  flex:none;
}
#ofertas .pack-panel .service-state{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:7px 11px!important;
  min-width:88px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#e8f9e8,#d2f0d2)!important;
  color:#145a2b!important;
  border:1px solid rgba(55,133,72,.22)!important;
  font-size:12.5px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  box-shadow:none!important;
}
#ofertas .pack-panel .service-detail{
  padding:10px 14px 12px!important;
  background:linear-gradient(180deg,rgba(255,249,238,.98),rgba(249,242,230,.95))!important;
}
#ofertas .pack-panel .service-detail .custom-option{
  width:100%!important;
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  border:1px solid rgba(173,133,67,.18)!important;
  background:#fffdf9!important;
  box-shadow:none!important;
  color:#4e3111!important;
}
#ofertas .pack-panel .service-detail .custom-option > span:last-child{
  color:#4e3111!important;
  font-size:14.5px!important;
  line-height:1.42!important;
  font-weight:800!important;
  text-wrap:pretty;
}
#ofertas .pack-panel .pack-service-visual{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:58px!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#fff7ea,#f4ead6)!important;
  border:1px solid rgba(176,140,73,.18)!important;
  padding:6px!important;
}
#ofertas .pack-panel .pack-service-visual img{
  max-width:100%!important;
  max-height:52px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
}
#ofertas .pack-panel .pass-logo-pair,
#ofertas .pack-panel .custom-option-images,
#ofertas .pack-panel .event-resource-lines{
  width:100%!important;
}
#ofertas .pack-panel .event-resource-line,
#ofertas .pack-panel .tokens-vertical{
  color:#4e3111!important;
}
#ofertas .pack-panel .service-detail .custom-option:hover{
  border-color:rgba(177,139,73,.42)!important;
}
#ofertas .pack-panel .premium-total,
#ofertas .pack-panel .pack-info,
#ofertas .pack-panel .custom-selection-summary,
#ofertas .pack-panel .pack-summary{
  color:#4f3014!important;
}
#ofertas .pack-panel .premium-total strong,
#ofertas .pack-panel .pack-info strong{color:#4f3014!important}

/* icono sutil para indicar ampliación en imágenes internas del pack */
#ofertas .pack-panel .pack-service-visual:has(img.iv-image-enlarge)::after{
  content:'⤢';
  position:absolute;
  right:6px;bottom:6px;
  width:22px;height:22px;
  display:grid;place-items:center;
  border-radius:8px;
  background:rgba(7,39,45,.82);
  color:#fff2d2;
  font-size:14px;
  box-shadow:0 4px 10px rgba(0,0,0,.18);
  pointer-events:none;
}

@media (max-width:760px){
  #ofertas .pack-panel .service-entry-bar{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:center!important;
  }
  #ofertas .pack-panel .service-state{
    min-width:0!important;
    padding:6px 8px!important;
    align-self:center!important;
    font-size:11.5px!important;
  }
  #ofertas .pack-panel .service-title{
    font-size:14.5px!important;
  }
  #ofertas .pack-panel .service-detail{
    padding:10px!important;
  }
  #ofertas .pack-panel .service-detail .custom-option{
    grid-template-columns:68px minmax(0,1fr)!important;
    gap:12px!important;
    padding:9px 10px!important;
  }
  #ofertas .pack-panel .service-detail .custom-option > span:last-child{
    font-size:13px!important;
  }
  #ofertas .pack-panel .pack-service-visual img{
    max-height:48px!important;
  }
}


/* Ivanuki · Avisos de los packs: máximo contraste y lectura clara. */
#ofertas .pack-panel .pack-info{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  margin:24px 0 6px!important;
  padding:20px clamp(16px,2.4vw,26px)!important;
  background:linear-gradient(115deg,#113a41 0%,#0a2c34 100%)!important;
  border:1px solid #b9a06a!important;
  border-left:5px solid #ffd879!important;
  border-radius:16px!important;
  box-shadow:0 11px 26px rgba(0,25,32,.19)!important;
  color:#f5f5eb!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.8!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  overflow-wrap:anywhere;
}
#ofertas .pack-panel .pack-info strong,
#ofertas .pack-panel .pack-info b{
  color:#fff6d8!important;
  font-weight:750!important;
  text-shadow:none!important;
}
#ofertas .pack-panel .pack-info > strong:first-child{
  display:inline-block;
  color:#ffd579!important;
  font-size:15px!important;
  margin-bottom:2px;
}
#ofertas .pack-panel .pack-info a,
#ofertas .pack-panel .pack-info a.barn-table-link{
  display:inline-block;
  color:#102f36!important;
  background:#ffde86!important;
  border:1px solid rgba(255,255,255,.35)!important;
  border-radius:9px!important;
  text-decoration:none!important;
  padding:5px 10px!important;
  margin:5px 0 0 4px!important;
  font-weight:900!important;
  font-size:13px!important;
  line-height:1.4!important;
  text-shadow:none!important;
}
#ofertas .pack-panel .pack-info a:hover,
#ofertas .pack-panel .pack-info a:focus-visible{
  background:#fff1b8!important;
  outline:2px solid #fff8d3!important;
  outline-offset:2px!important;
}
@media(max-width:760px){
  #ofertas .pack-panel .pack-info{
    margin:16px 0 4px!important;
    padding:15px 14px!important;
    border-radius:12px!important;
    font-size:13px!important;
    line-height:1.7!important;
  }
  #ofertas .pack-panel .pack-info > strong:first-child{font-size:14px!important}
}
