/* UO Popups Pro 2.2.0 */
:root {
    --uop-overlay-bg: rgba(15,23,42,.72);
    --uop-popup-bg: #fff;
    --uop-border-radius: 18px;
    --uop-shadow: 0 24px 70px rgba(15,23,42,.28);
    --uop-content-padding: 40px;
    --uop-ease: cubic-bezier(.22,1,.36,1);
}

.uop-root, .uop-root * { box-sizing: border-box; }
html.uop-is-open { overflow: hidden; }

.uop-center,
.uop-drawer,
.uop-toast {
    font-family: inherit;
    color: var(--title-c, #1d2327);
    background: var(--uop-popup-bg, #fff);
    box-shadow: var(--uop-shadow);
    -webkit-font-smoothing: antialiased;
}

.uop-center {
    position: fixed;
    inset: 50% auto auto 50%;
    width: var(--cw-d, 900px);
    max-width: min(var(--center-max-w, 1200px), calc(100vw - 40px));
    max-height: min(90vh, 900px);
    margin: 0;
    padding: 0;
    transform: translate(-50%, -48%) scale(.985);
    border: 0;
    border-radius: var(--uop-border-radius);
    overflow: hidden;
    opacity: 0;
    box-shadow: var(--uop-shadow);
    transition: opacity .24s ease, transform .34s var(--uop-ease);
    z-index: 2147483000;
}
.uop-center[open] { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.uop-center::backdrop { background: var(--uop-overlay-bg); backdrop-filter: blur(2px); }
.uop-center .uop-wrap { display: flex; min-height: 280px; max-height: min(90vh, 900px); overflow: auto; }
.uop-center .uop-left { flex: 0 0 48%; min-width: 0; background: #f8fafc; }
.uop-center .uop-left img { display: block; width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.uop-center .uop-right { flex: 1; min-width: 0; padding: var(--uop-content-padding); display: flex; flex-direction: column; justify-content: center; }

.uop-title { margin: 0 0 12px; font-size: var(--title-fs, 42px); line-height: 1.08; letter-spacing: -.025em; font-weight: var(--title-fw, 700); color: var(--title-c, #1d2327); }
.uop-desc { margin: 0; font-size: var(--desc-fs, 18px); line-height: 1.62; color: var(--desc-c, #475569); }
.uop-btn-wrap { margin: 24px 0 0; }
.uop-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 0;
    border-radius: var(--btn-radius, 10px);
    background: var(--btn-bg, #111827);
    color: var(--btn-c, #fff) !important;
    text-decoration: none !important;
    font-size: var(--btn-fs, 16px);
    font-weight: 650;
    line-height: 1.2;
    box-shadow: 0 8px 22px rgba(15,23,42,.12);
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.uop-btn:hover { background: var(--btn-bg-hover, #000); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(15,23,42,.18); }
.uop-btn:focus-visible, .uop-close:focus-visible { outline: 3px solid rgba(37,99,235,.42); outline-offset: 3px; }

.uop-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.88);
    color: #111827;
    box-shadow: 0 6px 18px rgba(15,23,42,.10);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font: 400 27px/1 Arial, sans-serif;
    transition: transform .16s ease, background-color .16s ease;
}
.uop-close:hover { transform: scale(1.04); background: #fff; }
.uop-close span { transform: translateY(-1px); }

.uop-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147482998;
    background: var(--uop-overlay-bg);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(2px);
    transition: opacity .24s ease, visibility .24s ease;
}
.uop-backdrop.show { opacity: 1; visibility: visible; }

.uop-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: var(--dw-d, 520px);
    max-width: 100vw;
    z-index: 2147483000;
    overflow: auto;
    transform: translate3d(102%,0,0);
    transition: transform .38s var(--uop-ease);
}
.uop-drawer.open { transform: translate3d(0,0,0); }
.uop-drawer .uop-head { position: sticky; top: 0; z-index: 3; height: 0; }
.uop-drawer .uop-close { top: 16px; right: 16px; }
.uop-drawer .uop-body { min-height: 100%; padding: var(--uop-content-padding); display: flex; flex-direction: column; justify-content: center; }
.uop-drawer .uop-img-wrap { margin: calc(var(--uop-content-padding) * -1) calc(var(--uop-content-padding) * -1) 30px; max-height: 44vh; overflow: hidden; background: #f8fafc; }
.uop-drawer .uop-img-wrap img { display: block; width: 100%; height: 100%; max-height: 44vh; object-fit: cover; }
.uop-drawer .uop-title { font-size: min(var(--title-fs, 42px), 42px); }

.uop-toast {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: var(--tw, 380px);
    max-width: calc(100vw - 48px);
    z-index: 2147483000;
    border: 1px solid rgba(15,23,42,.07);
    border-radius: var(--uop-border-radius);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.985);
    transition: opacity .22s ease, transform .34s var(--uop-ease), visibility .22s ease;
}
.uop-toast.show, .uop-toast.uop-shortcode { opacity: 1; visibility: visible; transform: none; }
.uop-toast .uop-row { display: flex; gap: 16px; align-items: center; padding: 18px 50px 18px 18px; }
.uop-toast .uop-row > img { width: 86px; height: 86px; border-radius: calc(var(--uop-border-radius) * .65); flex: 0 0 86px; object-fit: cover; }
.uop-toast .uop-txt { min-width: 0; flex: 1; }
.uop-toast .uop-title { margin-bottom: 6px; font-size: clamp(18px, calc(var(--title-fs, 42px) * .48), 22px); line-height: 1.15; }
.uop-toast .uop-desc { font-size: clamp(13px, calc(var(--desc-fs, 18px) * .82), 16px); line-height: 1.45; }
.uop-toast .uop-btn-wrap { margin-top: 12px; }
.uop-toast .uop-btn { min-height: 38px; padding: 9px 14px; font-size: clamp(13px, var(--btn-fs, 16px), 15px); }
.uop-toast .uop-close { top: 9px; right: 9px; width: 30px; height: 30px; font-size: 21px; box-shadow: none; background: rgba(248,250,252,.92); }

.uop-shortcode { position: relative; inset: auto; transform: none; opacity: 1; visibility: visible; margin: 20px 0; z-index: auto; }
.uop-center-static { width: 100%; max-width: var(--center-max-w, 1200px); }

@media (min-width: 768px) and (max-width: 1023px) {
    .uop-center { width: var(--cw-t, 80vw); }
    .uop-center .uop-wrap { flex-direction: column; }
    .uop-center .uop-left { flex-basis: auto; max-height: 38vh; }
    .uop-center .uop-left img { max-height: 38vh; }
    .uop-center .uop-right { padding: min(var(--uop-content-padding), 34px); }
    .uop-center .uop-title { font-size: clamp(28px, 5vw, var(--title-fs, 42px)); }
    .uop-drawer { width: var(--dw-t, 420px); }
}

@media (max-width: 767px) {
    .uop-center { width: var(--cw-m, 92vw); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
    .uop-center .uop-wrap { flex-direction: column; max-height: calc(100dvh - 24px); }
    .uop-center .uop-left { flex-basis: auto; max-height: 34vh; }
    .uop-center .uop-left img { max-height: 34vh; }
    .uop-center .uop-right { padding: 28px 22px 26px; }
    .uop-center .uop-title { font-size: clamp(26px, 8vw, 34px); }
    .uop-center .uop-desc { font-size: clamp(15px, var(--desc-fs, 18px), 18px); }
    .uop-btn { width: 100%; }
    .uop-drawer { width: var(--dw-m, 92vw); }
    .uop-drawer .uop-body { padding: 26px 22px; }
    .uop-drawer .uop-img-wrap { margin: -26px -22px 26px; }
    .uop-toast { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
    .uop-toast .uop-row { padding: 16px 46px 16px 16px; }
    .uop-toast .uop-row > img { width: 72px; height: 72px; flex-basis: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .uop-center, .uop-drawer, .uop-toast, .uop-backdrop, .uop-btn, .uop-close { transition: none !important; }
}
