/* Gimmicks | ventana PDF y acceso de WhatsApp, aislado del diseño existente */
.gimmicks-whatsapp-floating{position:fixed;right:clamp(1rem,3vw,2.3rem);bottom:calc(clamp(1rem,3vw,2rem) + 65px);width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#25d366;color:#fff!important;z-index:102;border:1px solid rgba(255,255,255,.55);box-shadow:0 10px 26px rgba(8,45,27,.27);transition:transform .2s ease,background-color .2s ease;text-decoration:none!important}
.gimmicks-whatsapp-floating svg{width:31px;height:31px;display:block}
.gimmicks-whatsapp-floating:hover{transform:translateY(-3px);background:#18b958}
.gimmicks-whatsapp-floating:focus-visible{outline:3px solid #184675;outline-offset:3px}
html.gimmicks-pdf-open{overflow:hidden}
.gimmicks-pdf-dialog{box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:auto!important;padding:0!important;width:92vw!important;max-width:92vw!important;height:92vh!important;height:92dvh!important;max-height:92dvh!important;border:0!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;color:#12324a!important;box-shadow:0 22px 70px rgba(0,15,35,.44)!important;z-index:2000;font-family:Inter,'Segoe UI',Arial,sans-serif}
.gimmicks-pdf-dialog::backdrop{background:rgba(4,17,34,.83);backdrop-filter:blur(7px)}
.gimmicks-pdf-shell{height:100%;display:flex;flex-direction:column;min-width:0;min-height:0}
.gimmicks-pdf-header{flex:0 0 auto;min-height:69px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:12px clamp(12px,2vw,26px);background:linear-gradient(105deg,#092c48,#12506b);color:#fff}
.gimmicks-pdf-heading{min-width:0;max-width:50%}
.gimmicks-pdf-tag{font-size:.61rem;font-weight:800;letter-spacing:.18em;color:#75e0d8;display:block}
.gimmicks-pdf-heading h2{font-size:clamp(.94rem,1.3vw,1.23rem)!important;line-height:1.25!important;font-weight:750!important;letter-spacing:-.025em;margin:.23rem 0 0!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gimmicks-pdf-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.5rem;max-width:65%}
.gimmicks-pdf-action,.gimmicks-pdf-close{min-height:37px;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.54rem .8rem;font:650 .78rem/1.1 Inter,'Segoe UI',Arial,sans-serif!important;border:1px solid rgba(255,255,255,.32);border-radius:7px;background:rgba(255,255,255,.11);color:#fff!important;cursor:pointer;text-decoration:none!important;white-space:nowrap}
.gimmicks-pdf-action:hover,.gimmicks-pdf-close:hover{background:rgba(255,255,255,.24)}
.gimmicks-pdf-download{background:#6b339b;border-color:#6b339b}
.gimmicks-pdf-close{font-size:1.7rem!important;line-height:1!important;padding:0;width:39px;height:39px}
.gimmicks-pdf-action:focus-visible,.gimmicks-pdf-close:focus-visible{outline:3px solid #65dacf;outline-offset:2px}
.gimmicks-pdf-body{position:relative;flex:1 1 auto;min-height:0;background:#e9edf1}
.gimmicks-pdf-body iframe{display:block;width:100%;height:100%;border:0;background:#e9edf1}
.gimmicks-pdf-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;padding:.8rem 1.2rem;background:#fff;border-radius:8px;color:#173b53;font-weight:650;box-shadow:0 4px 18px #122f4238;pointer-events:none;z-index:1}
.gimmicks-pdf-loading[hidden]{display:none!important}
@media(max-width:720px){
 .gimmicks-whatsapp-floating{width:46px;height:46px;bottom:calc(clamp(1rem,3vw,2rem) + 59px)}
 .gimmicks-whatsapp-floating svg{width:28px;height:28px}
 .gimmicks-pdf-dialog{width:96vw!important;max-width:96vw!important;height:94dvh!important;max-height:94dvh!important;border-radius:10px!important}
 .gimmicks-pdf-header{align-items:flex-start;flex-direction:column;gap:.55rem;min-height:unset;padding:11px 13px}
 .gimmicks-pdf-heading{max-width:100%}
 .gimmicks-pdf-actions{max-width:100%;width:100%;gap:.35rem;justify-content:flex-start}
 .gimmicks-pdf-action{font-size:.72rem!important;min-height:33px;padding:.43rem .6rem}
 .gimmicks-pdf-close{margin-left:auto;width:33px;height:33px}
}
@media(max-width:380px){.gimmicks-pdf-print{display:none}}
@media(prefers-reduced-motion:reduce){.gimmicks-whatsapp-floating{transition:none}}

/* GIMMICKS_FLOAT_V2_20261022: 15% smaller controls; WhatsApp below back-to-top. */
/* Modals use browser top-layer: WhatsApp also lives in the modal header. */
.gimmicks-whatsapp-floating{
  width:44.2px!important;height:44.2px!important;
  bottom:clamp(1rem,3vw,2rem)!important;
  z-index:1010!important;
}
.gimmicks-whatsapp-floating svg{width:26.35px!important;height:26.35px!important}
#back-to-top{
  width:44.2px!important;height:44.2px!important;
  bottom:calc(clamp(1rem,3vw,2rem) + 57px)!important;
  font-size:1.53rem!important;
  z-index:1011!important;
}
.gimmicks-pdf-contact-copy{color:#d8f3f2!important;margin:3px 0 0!important;font:500 .72rem/1.3 Inter,'Segoe UI',Arial,sans-serif!important}
.gimmicks-pdf-heading{max-width:55%}
.gimmicks-pdf-actions{max-width:48%}
.gimmicks-pdf-whatsapp{background:#128c56!important;border-color:#5de2a0!important;display:inline-flex;align-items:center;gap:.5rem}
.gimmicks-pdf-whatsapp:hover{background:#0b7848!important}
.gimmicks-pdf-whatsapp svg{width:17px;height:17px;display:block;flex-shrink:0}
@media(max-width:720px){
 .gimmicks-whatsapp-floating{width:39.1px!important;height:39.1px!important;bottom:clamp(1rem,3vw,2rem)!important}
 .gimmicks-whatsapp-floating svg{width:23.8px!important;height:23.8px!important}
 #back-to-top{width:39.1px!important;height:39.1px!important;bottom:calc(clamp(1rem,3vw,2rem) + 51px)!important;font-size:1.4rem!important}
 .gimmicks-pdf-heading,.gimmicks-pdf-actions{max-width:100%}
 .gimmicks-pdf-contact-copy{font-size:.69rem!important}
 .gimmicks-pdf-whatsapp svg{width:16px;height:16px}
}
