.wo-popup-root, .wo-popup-root * { box-sizing: border-box; }
.wo-popup { display: none; font-family: inherit; }
.wo-popup.is-open { display: block; }
.wo-popup-overlay { position: fixed; inset: 0; background: rgba(10, 18, 32, .58); z-index: 99998; opacity: 0; animation: woPopupFade .22s ease forwards; }
.wo-popup-backdrop-blur .wo-popup-overlay { backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); background: rgba(10, 18, 32, .52); }
.wo-popup-backdrop-light .wo-popup-overlay { background: rgba(248, 250, 252, .72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.wo-popup-panel { background: #fff; color: #1f2937; border-radius: var(--wo-popup-radius, 18px); box-shadow: 0 28px 80px rgba(15, 23, 42, .24); overflow: hidden; position: relative; z-index: 99999; border: 1px solid rgba(15, 23, 42, .08); isolation: isolate; }
.wo-popup-shadow-soft .wo-popup-panel { box-shadow: 0 18px 45px rgba(15, 23, 42, .18); }
.wo-popup-shadow-premium .wo-popup-panel { box-shadow: 0 30px 85px rgba(15, 23, 42, .28), 0 3px 10px rgba(15, 23, 42, .08); }
.wo-popup-shadow-deep .wo-popup-panel { box-shadow: 0 36px 110px rgba(2, 6, 23, .40), 0 8px 24px rgba(15, 23, 42, .16); }
.wo-popup-modal .wo-popup-panel { position: fixed; left: 50%; top: 50%; width: min(92vw, 540px); max-height: calc(100vh - 56px); overflow-y: auto; transform: translate(-50%, -50%); overscroll-behavior: contain; }
.wo-popup-modal.wo-popup-width-standard .wo-popup-panel { width: min(92vw, 540px); }
.wo-popup-modal.wo-popup-width-wide .wo-popup-panel { width: min(94vw, 760px); }
.wo-popup-modal.wo-popup-width-large .wo-popup-panel { width: min(96vw, 940px); }
.wo-popup-slidein .wo-popup-panel { position: fixed; right: 22px; bottom: 22px; width: min(calc(100vw - 44px), 430px); max-height: calc(100vh - 44px); overflow-y: auto; overscroll-behavior: contain; }
.wo-popup-bar .wo-popup-panel { position: fixed; left: 18px; right: 18px; bottom: 18px; max-width: 1060px; max-height: calc(100vh - 36px); overflow-y: auto; margin: 0 auto; overscroll-behavior: contain; }
.wo-popup-anim-scale.is-open .wo-popup-panel { animation: woPopupScale .28s cubic-bezier(.2,.8,.2,1) both; }
.wo-popup-anim-slide.is-open .wo-popup-panel { animation: woPopupSlideUp .28s cubic-bezier(.2,.8,.2,1) both; }
.wo-popup-anim-fade.is-open .wo-popup-panel { animation: woPopupPanelFade .24s ease both; }
.wo-popup-slidein.wo-popup-anim-scale.is-open .wo-popup-panel, .wo-popup-bar.wo-popup-anim-scale.is-open .wo-popup-panel { animation: woPopupSlideUp .24s cubic-bezier(.2,.8,.2,1) both; }
.wo-popup-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 1px solid rgba(15, 23, 42, .08); border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111827; font-size: 25px; line-height: 1; cursor: pointer; z-index: 4; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(15, 23, 42, .12); transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.wo-popup-close:hover, .wo-popup-close:focus { background: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(15, 23, 42, .18); outline: none; }
.wo-popup-image { margin: 0; max-height: min(230px, 34vh); overflow: hidden; background: #f8fafc; }
.wo-popup-image img { display: block; width: 100%; height: 100%; max-height: inherit; object-fit: cover; }
.wo-popup-image-mode-full .wo-popup-image { max-height: none; background: #fff; }
.wo-popup-image-mode-full .wo-popup-image img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.wo-popup-content { padding: clamp(24px, 4vw, 36px); }
.wo-popup-content h2 { margin: 0 44px 12px 0; font-size: clamp(1.45rem, 2.25vw, 2rem); line-height: 1.12; letter-spacing: -.02em; color: #0f172a; }
.wo-popup-body { margin: 0 0 18px; font-size: 1rem; line-height: 1.6; color: #475569; }
.wo-popup-body p { margin: 0 0 12px; }
.wo-popup-panel img { max-width: 100%; }
.wo-popup-body img, .wo-popup-form img { display: block; width: auto; max-width: 100%; max-height: calc(100vh - 190px); height: auto; object-fit: contain; margin-left: auto; margin-right: auto; }
.wo-popup-form { margin-top: 16px; }
.wo-popup-actions { margin: 22px 0 0; }
.wo-popup-button, .wo-popup-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; background: var(--wo-popup-accent, #217c58); color: #fff !important; text-decoration: none !important; font-weight: 800; border: 1px solid transparent; cursor: pointer; letter-spacing: .01em; transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease, background .16s ease; box-shadow: 0 10px 24px rgba(15, 23, 42, .16); }
.wo-popup-button:hover, .wo-popup-button:focus, .wo-popup-trigger:hover, .wo-popup-trigger:focus { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(15, 23, 42, .22); opacity: .96; }
.wo-popup-button-style-solid .wo-popup-button { width: 100%; border-radius: 14px; min-height: 50px; }
.wo-popup-button-style-outline .wo-popup-button { background: transparent; color: var(--wo-popup-accent, #217c58) !important; border-color: var(--wo-popup-accent, #217c58); box-shadow: none; }
.wo-popup-button-style-outline .wo-popup-button:hover, .wo-popup-button-style-outline .wo-popup-button:focus { background: var(--wo-popup-accent, #217c58); color: #fff !important; }
.wo-popup-style-clean .wo-popup-panel { border-color: rgba(15, 23, 42, .08); }
.wo-popup-style-clean .wo-popup-image + .wo-popup-content { padding-top: 28px; }
.wo-popup-style-image-campaign .wo-popup-panel { background: #fff; border: 0; }
.wo-popup-style-image-campaign .wo-popup-image { max-height: none; background: #fff; }
.wo-popup-style-image-campaign .wo-popup-image img { width: 100%; height: auto; max-height: calc(100vh - 118px); object-fit: contain; }
.wo-popup-style-image-campaign .wo-popup-image + .wo-popup-content { padding: 22px clamp(22px, 3vw, 30px) 26px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); border-top: 1px solid rgba(15, 23, 42, .07); }
.wo-popup-style-image-campaign .wo-popup-content h2 { font-size: clamp(1.25rem, 1.9vw, 1.65rem); }
.wo-popup-style-minimal .wo-popup-panel { border: 1px solid rgba(15, 23, 42, .10); box-shadow: 0 18px 46px rgba(15, 23, 42, .18); }
.wo-popup-style-minimal .wo-popup-content { padding: 26px; }
.wo-popup-style-minimal .wo-popup-content h2 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.wo-popup-bar .wo-popup-panel { display: flex; align-items: center; }
.wo-popup-bar .wo-popup-image { width: 200px; align-self: stretch; max-height: none; flex: 0 0 auto; }
.wo-popup-bar .wo-popup-image img { height: 100%; object-fit: cover; }
.wo-popup-bar .wo-popup-content { display: flex; align-items: center; gap: 22px; width: 100%; padding: 20px 62px 20px 26px; }
.wo-popup-bar .wo-popup-content h2 { margin-bottom: 3px; }
.wo-popup-bar .wo-popup-body { margin: 0; flex: 1; }
.wo-popup-bar .wo-popup-actions { margin: 0; flex: 0 0 auto; }
body.wo-popup-lock { overflow: hidden; }
.admin-bar .wo-popup-modal .wo-popup-panel { max-height: calc(100vh - 88px); }
.admin-bar .wo-popup-style-image-campaign .wo-popup-image img, .admin-bar .wo-popup-body img, .admin-bar .wo-popup-form img { max-height: calc(100vh - 222px); }
@media (min-width: 760px) {
    .wo-popup-modal.wo-popup-style-split .wo-popup-panel { display: grid; grid-template-columns: minmax(260px, .95fr) minmax(300px, 1fr); align-items: stretch; }
    .wo-popup-modal.wo-popup-style-split .wo-popup-image { max-height: none; min-height: 100%; height: auto; }
    .wo-popup-modal.wo-popup-style-split .wo-popup-image img { height: 100%; min-height: 100%; object-fit: cover; }
    .wo-popup-modal.wo-popup-style-split .wo-popup-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 4.4vw, 52px); }
    .wo-popup-modal.wo-popup-style-split.wo-popup-image-mode-full .wo-popup-image img { object-fit: contain; background: #fff; }
}
@media (max-width: 680px) {
    .wo-popup-modal .wo-popup-panel { width: calc(100vw - 28px); max-height: calc(100vh - 28px); overflow-y: auto; }
    .wo-popup-slidein .wo-popup-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow-y: auto; }
    .wo-popup-bar .wo-popup-panel { left: 10px; right: 10px; bottom: 10px; display: block; max-height: calc(100vh - 20px); overflow-y: auto; }
    .wo-popup-bar .wo-popup-image { width: 100%; max-height: 170px; }
    .wo-popup-bar .wo-popup-content { display: block; padding: 24px; }
    .wo-popup-content { padding: 24px; }
    .wo-popup-content h2 { margin-right: 42px; }
    .wo-popup-actions { margin-top: 16px; }
    .wo-popup-button { width: 100%; }
    .wo-popup-style-image-campaign .wo-popup-image img { max-height: calc(100vh - 116px); }
}
@keyframes woPopupFade { to { opacity: 1; } }
@keyframes woPopupScale { from { opacity: 0; transform: translate(-50%, -48%) scale(.965); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes woPopupSlideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes woPopupPanelFade { from { opacity: 0; } to { opacity: 1; } }
.wo-popup-modal.wo-popup-anim-slide.is-open .wo-popup-panel { animation-name: woPopupModalSlide; }
.wo-popup-modal.wo-popup-anim-fade.is-open .wo-popup-panel { animation-name: woPopupModalFade; }
@keyframes woPopupModalSlide { from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes woPopupModalFade { from { opacity: 0; transform: translate(-50%, -50%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.wo-popup-preview-badge { position: fixed; left: 18px; bottom: 18px; z-index: 100000; max-width: calc(100vw - 36px); padding: 10px 14px; border-radius: 999px; background: #111827; color: #fff; font-size: 13px; line-height: 1.3; box-shadow: 0 12px 30px rgba(15, 23, 42, .22); }
@media (max-width: 680px) { .wo-popup-preview-badge { left: 10px; right: 10px; bottom: 10px; border-radius: 14px; text-align: center; } }
