/**
 * Amasty GDPR cookie wall: dimmed full-screen backdrop; bar stays above; no interaction with page behind.
 */

.ammodals-overlay[data-amgdpr-js="overlay"] {
    background-color: rgba(33, 33, 33, 0.65);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99990;
    pointer-events: auto;
}

/* Bar / modal shell above the dimmer (do not override Amasty position: sticky/fixed) */
aside.amgdprjs-bar-template,
.amgdprjs-bar-template,
[data-role="gdpr-cookie-container"] {
    z-index: 99999;
}

/* Sidebar modal layout (Amasty “modal” bar type) */
.amgdprcookie-modal-container.modal-popup.modal-slide {
    z-index: 99999 !important;
}

/* Block page scroll while the wall is visible */
html:has(.ammodals-overlay[data-amgdpr-js="overlay"]) body {
    overflow: hidden;
}
