/* Namespaced to avoid interfering with the 4 Eyes Optical PrestaShop theme. */
#four-eyes-black-friday-2026[hidden]{display:none!important}
#four-eyes-black-friday-2026,
#four-eyes-black-friday-2026 *{box-sizing:border-box}
#four-eyes-black-friday-2026{
  position:fixed;inset:0;z-index:2147483000;
  display:flex;justify-content:center;align-items:center;
  padding:14px;
}
#four-eyes-black-friday-2026 .four-eyes-bf-2026__shade{
  position:absolute;inset:0;background:rgba(0,0,0,.72)
}
#four-eyes-black-friday-2026 .four-eyes-bf-2026__dialog{
  position:relative;isolation:isolate;
  width:min(550px,calc(100vw - 28px),calc(100vh - 28px));
  max-width:100%;max-height:calc(100vh - 28px);
  margin:auto;box-shadow:0 14px 60px rgba(0,0,0,.52);
  background:#101010;line-height:0;overflow:hidden;
}
#four-eyes-black-friday-2026 .four-eyes-bf-2026__art{
  width:100%;height:auto;max-height:calc(100vh - 28px);
  display:block;object-fit:contain;border:0
}
/* Exact overlay for the X already printed at top right of approved square image. */
#four-eyes-black-friday-2026 .four-eyes-bf-2026__close{
  position:absolute;top:.7%;right:1.25%;width:9.2%;height:9.2%;
  min-width:44px;min-height:44px;max-width:65px;max-height:65px;
  padding:0;margin:0;border:0;border-radius:50%;background:transparent;
  cursor:pointer;appearance:none;-webkit-appearance:none;z-index:3;
}
#four-eyes-black-friday-2026 .four-eyes-bf-2026__close:focus-visible{
  outline:3px solid #a6d609;outline-offset:0;
  box-shadow:0 0 0 2px #000;
}
body.four-eyes-bf-2026-open{overflow:hidden!important}
@media(max-width:420px){
  #four-eyes-black-friday-2026{padding:8px}
  #four-eyes-black-friday-2026 .four-eyes-bf-2026__dialog{
    width:min(calc(100vw - 16px),calc(100vh - 16px));
    max-height:calc(100vh - 16px)
  }
  #four-eyes-black-friday-2026 .four-eyes-bf-2026__art{max-height:calc(100vh - 16px)}
}
