/* Scoped styling to avoid conflicts with PrestaShop themes. */
#psjs-warning.psjs-warning {
  box-sizing: border-box; position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 2147483000; width: 100%; min-height: 15vh;
  padding: 2px; background: #fff; color: #000; border: 0;
  font-family: Helvetica, Arial, sans-serif; text-align: center;
  display: flex; align-items: stretch; justify-content: center;
}
#psjs-warning *, #psjs-warning *::before, #psjs-warning *::after { box-sizing: border-box; }
#psjs-warning .psjs-warning__frame {
  width: 100%; min-height: calc(15vh - 4px); background: #fff;
  border: 18px solid #000; padding: 10px 48px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
#psjs-warning .psjs-warning__message {
  font-family: Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(18px, 2.2vw, 32px);
  line-height: 1.13; color: #000; max-width: 36ch; text-wrap: balance;
}
#psjs-warning .psjs-warning__minor,
#psjs-warning .psjs-warning__link {
  font-family: Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(12px, 1.32vw, 19px);
  line-height: 1.16; margin-top: 3px; color: #000; text-decoration: none;
}
#psjs-warning .psjs-warning__link { text-decoration: underline; }
#psjs-warning .psjs-warning__close {
  box-sizing: border-box; position: absolute; right: 25px; top: 25px;
  z-index: 1; display: flex; justify-content: center; align-items: center;
  width: 28px; height: 28px; padding: 0; border: 1px solid #333; border-radius: 0;
  background: #fff; color: #000; font: bold 25px/1 Helvetica, Arial, sans-serif;
  cursor: pointer; opacity: 1;
}
#psjs-warning .psjs-warning__close:disabled { opacity: .45; cursor: not-allowed; }
@media(max-width: 600px) {
  #psjs-warning .psjs-warning__frame { padding: 10px 31px 10px 10px; }
  #psjs-warning .psjs-warning__message { font-size: clamp(16px, 4.8vw, 22px); }
  #psjs-warning .psjs-warning__minor, #psjs-warning .psjs-warning__link { font-size: clamp(11px, 3.2vw, 15px); }
  #psjs-warning .psjs-warning__close { right: 23px; top: 23px; width: 23px; height: 23px; font-size: 21px; }
}

/* Permanent footer information: scoped to the module. */
.psjs-footer { box-sizing: border-box; clear: both; width: 100%; padding: 18px 16px; margin: 12px auto 0; text-align: center; color: inherit; font-family: inherit; font-size: 14px; line-height: 1.5; }
.psjs-footer__title { font-size: 16px; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.psjs-footer__minor { font-weight: 700; }
.psjs-footer__risk { margin-top: 3px; }
.psjs-footer__more { margin-top: 3px; }
.psjs-footer a { color: inherit; text-decoration: underline; }
@media(max-width: 600px) { .psjs-footer { padding: 14px 12px; font-size: 13px; } }
