.ac-offer-popup {
position: fixed;
z-index: 2147483600;
inset: 0;
display: grid;
place-items: center;
padding: 24px;
opacity: 0;
visibility: hidden;
transition: opacity .34s ease, visibility 0s linear .34s;
}
.ac-offer-popup[hidden] { display: none !important; }
.ac-offer-popup[aria-hidden="false"] {
opacity: 1;
visibility: visible;
transition-delay: 0s;
}
.ac-offer-popup__backdrop {
position: absolute;
inset: 0;
background: rgba(12, 6, 4, .82);
-webkit-backdrop-filter: blur(7px);
backdrop-filter: blur(7px);
}
.ac-offer-popup__dialog {
position: relative;
width: min(860px, 74vw, calc((100dvh - 132px) * 1.414));
max-height: calc(100dvh - 48px);
overflow: visible;
border: 1px solid rgba(225, 179, 112, .55);
border-radius: 18px;
background: #21130d;
box-shadow: 0 28px 90px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 244, 225, .05) inset;
transform: translate3d(0, 20px, 0) scale(.97);
transition: transform .42s cubic-bezier(.16, 1, .3, 1);
}
.ac-offer-popup[aria-hidden="false"] .ac-offer-popup__dialog {
transform: translate3d(0, 0, 0) scale(1);
}
.ac-offer-popup__media {
position: relative;
overflow: hidden;
border-radius: 17px 17px 0 0;
background: #2a150e;
}
.ac-offer-popup__media img {
display: block;
width: 100%;
height: auto;
max-height: calc(100dvh - 132px);
object-fit: contain;
object-position: center;
}
.ac-offer-popup__close {
position: absolute;
z-index: 2;
top: -20px;
right: -15px;
display: grid;
width: 34px;
height: 34px;
place-items: center;
padding: 0;
color: #fff4e3;
border: 1px solid rgba(239, 199, 139, .66);
border-radius: 50%;
background: #2d1a12;
box-shadow: 0 7px 22px rgba(0, 0, 0, .35);
cursor: pointer;
transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.ac-offer-popup__close::before,
.ac-offer-popup__close::after {
content: "";
position: absolute;
width: 14px;
height: 1.5px;
border-radius: 2px;
background: currentColor;
}
.ac-offer-popup__close::before { transform: rotate(45deg); }
.ac-offer-popup__close::after { transform: rotate(-45deg); }
.ac-offer-popup__close:hover,
.ac-offer-popup__close:focus-visible {
color: #28130c;
border-color: #f0c786;
background: #f0c786;
transform: rotate(7deg) scale(1.05);
outline: none;
}
.ac-offer-popup__footer {
display: flex;
align-items: center;
justify-content: center;
min-height: 76px;
padding: 12px 20px;
border-top: 1px solid rgba(225, 179, 112, .3);
border-radius: 0 0 17px 17px;
background: linear-gradient(135deg, #2e1a12 0%, #1d100b 100%);
}
.ac-offer-popup__cta {
display: inline-flex;
min-height: 50px;
align-items: center;
justify-content: center;
gap: 11px;
padding: 9px 23px 9px 11px;
color: #2d1b12 !important;
border: 1px solid #e7bf8b;
border-radius: 13px;
background: linear-gradient(135deg, #fff8ec 0%, #f1dfc5 100%);
box-shadow: 0 9px 22px rgba(8, 4, 2, .23), inset 0 1px rgba(255, 255, 255, .9);
font-family: "Montaga", Georgia, serif;
font-size: 17px;
font-weight: 400;
line-height: 1.2;
letter-spacing: .01em;
text-align: center;
text-decoration: none !important;
white-space: nowrap;
transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ac-offer-popup__cta-icon {
display: grid;
flex: 0 0 32px;
width: 32px;
height: 32px;
place-items: center;
border-radius: 9px;
background: #218959;
box-shadow: inset 0 1px rgba(255, 255, 255, .2);
}
.ac-offer-popup__cta-icon svg { display: block; width: 20px; height: 20px; fill: #fff; }
.ac-offer-popup__cta:hover,
.ac-offer-popup__cta:focus-visible {
color: #2d1b12 !important;
background: #fffaf2;
box-shadow: 0 13px 28px rgba(8, 4, 2, .28);
transform: translateY(-2px);
outline: 2px solid #f1ca8e;
outline-offset: 3px;
}
body.ac-offer-popup-open .antiochia-floating-whatsapp { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
@media (min-width: 768px) and (max-width: 1100px) {
.ac-offer-popup { padding: 20px; }
.ac-offer-popup__dialog { width: min(820px, 88vw); }
}
@media (max-width: 767px) {
.ac-offer-popup { padding: 10px; }
.ac-offer-popup__dialog {
width: min(90vw, 560px);
max-height: calc(100dvh - 20px);
border-radius: 14px;
}
.ac-offer-popup__media img { max-height: calc(100dvh - 92px); }
.ac-offer-popup__media { border-radius: 13px 13px 0 0; }
.ac-offer-popup__footer { border-radius: 0 0 13px 13px; }
.ac-offer-popup__close { top: -18px; right: -12px; width: 32px; height: 32px; }
.ac-offer-popup__footer { min-height: 64px; padding: 9px 12px; }
.ac-offer-popup__cta { min-height: 46px; width: auto; max-width: 100%; gap: 9px; padding: 7px 16px 7px 8px; font-size: 15px; }
}
@media (max-width: 380px), (max-height: 600px) {
.ac-offer-popup__dialog { width: min(92vw, 520px); }
.ac-offer-popup__footer { min-height: 58px; padding: 7px 10px; }
.ac-offer-popup__cta { min-height: 42px; padding: 6px 12px 6px 7px; font-size: 13.5px; }
.ac-offer-popup__cta-icon { flex-basis: 28px; width: 28px; height: 28px; }
.ac-offer-popup__cta-icon svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
.ac-offer-popup, .ac-offer-popup__dialog, .ac-offer-popup__close, .ac-offer-popup__cta { transition: none !important; }
}