body.dmo-popup-open {
    overflow: hidden;
}

.dmo-popup[hidden] {
    display: none;
}

.dmo-popup {
    align-items: center;
    background: rgba(3, 17, 38, .78);
    backdrop-filter: blur(9px);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 9999;
}

.dmo-popup__dialog {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(1, 19, 48, .42);
    max-height: calc(100vh - 48px);
    max-width: 1040px;
    overflow: auto;
    position: relative;
    width: 100%;
}

.dmo-popup__hero {
    background: linear-gradient(123deg, #032d6c 0%, #0969bf 55%, #12aeea 100%);
    color: #fff;
    padding: 34px 78px 31px 42px;
}

.dmo-popup__eyebrow {
    align-items: center;
    color: rgba(255, 255, 255, .86);
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.dmo-popup__eyebrow::before {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .18);
    content: '';
    display: inline-block;
    height: 8px;
    width: 8px;
}

.dmo-popup__title {
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.18;
    margin: 0;
}

.dmo-popup__intro {
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    line-height: 1.6;
    margin: 12px 0 0;
    max-width: 640px;
}

.dmo-popup__close {
    align-items: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 22px;
    top: 21px;
    transition: background .2s ease, transform .2s ease;
    width: 42px;
}

.dmo-popup__close:hover,
.dmo-popup__close:focus-visible {
    background: rgba(255, 255, 255, .28);
    outline: none;
    transform: rotate(90deg);
}

.dmo-popup__products {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px 34px 18px;
}

.dmo-popup__product {
    border: 1px solid #e3ecf6;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

.dmo-popup__product:hover {
    box-shadow: 0 15px 36px rgba(15, 84, 157, .14);
    transform: translateY(-3px);
}

.dmo-popup__image {
    align-items: center;
    background: linear-gradient(145deg, #f5f9fd, #e9f2fb);
    display: flex;
    height: 230px;
    justify-content: center;
    padding: 22px;
}

.dmo-popup__image img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.dmo-popup__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px 22px 22px;
}

.dmo-popup__tag {
    color: #0872c9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dmo-popup__product-title {
    color: #132f56;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 20px;
    min-height: 52px;
}

.dmo-popup__cta {
    align-items: center;
    background: linear-gradient(100deg, #07509a, #168df0);
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
    min-height: 48px;
    padding: 10px 16px;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.dmo-popup__cta:hover,
.dmo-popup__cta:focus-visible {
    box-shadow: 0 9px 18px rgba(12, 103, 194, .28);
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

.dmo-popup__note {
    color: #75869a;
    font-size: 12px;
    margin: 0;
    padding: 0 34px 28px;
    text-align: center;
}

[dir="rtl"] .dmo-popup__close {
    left: 22px;
    right: auto;
}

@media (max-width: 700px) {
    .dmo-popup {
        align-items: flex-end;
        padding: 12px;
    }

    .dmo-popup__dialog {
        border-radius: 18px;
        max-height: calc(100vh - 24px);
    }

    .dmo-popup__hero {
        padding: 28px 60px 25px 24px;
    }

    .dmo-popup__intro {
        font-size: 13px;
    }

    .dmo-popup__close {
        right: 16px;
        top: 16px;
    }

    .dmo-popup__products {
        gap: 14px;
        grid-template-columns: 1fr;
        padding: 17px 16px 12px;
    }

    .dmo-popup__product {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .dmo-popup__image {
        height: 100%;
        min-height: 145px;
        padding: 14px;
    }

    .dmo-popup__content {
        padding: 16px;
    }

    .dmo-popup__product-title {
        font-size: 15px;
        margin-bottom: 14px;
        min-height: 0;
    }

    .dmo-popup__cta {
        font-size: 12px;
        min-height: 41px;
    }

    .dmo-popup__note {
        font-size: 11px;
        padding: 2px 18px 18px;
    }

    [dir="rtl"] .dmo-popup__close {
        left: 16px;
        right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dmo-popup__close,
    .dmo-popup__product,
    .dmo-popup__cta {
        transition: none;
    }
}

/* Header DMO dropdown */
header .center .menu ul li.dmo-header-nav {
    float: right;
    margin-right: 0;
    position: static;
}

header .center .menu ul li .dmo-menu-trigger .mdi-briefcase-check-outline {
    color: #0b83d8;
    font-size: 17px;
    margin-right: 3px;
    vertical-align: -1px;
}

header .center .menu ul li .dmo-header-menu {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    left: 0;
    overflow: hidden;
    padding: 20px;
    right: auto;
    top: 130%;
    width: 100%;
}

header .center .menu ul li:hover .dmo-header-menu,
header .center .menu ul li.dmo-header-nav:focus-within .dmo-header-menu,
header .center .menu ul li.dmo-header-nav.dmo-menu-open .dmo-header-menu {
    opacity: 1;
    top: 100%;
    visibility: visible;
    z-index: 4;
}

.dmo-header-menu__heading {
    align-items: center;
    background: linear-gradient(100deg, #053e88, #1295e5);
    color: #fff;
    display: flex;
    font-size: 11px;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 1.25px;
    padding: 13px 18px;
}

.dmo-header-menu__heading .mdi {
    font-size: 17px;
}

.dmo-header-menu__products {
    background: #fff;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
}

header .center .menu ul li .dmo-header-menu .dmo-header-menu__product {
    align-items: center;
    background: #f7faff;
    border: 1px solid #e7eef7;
    border-radius: 11px;
    display: flex;
    gap: 11px;
    margin: 0;
    min-width: 0;
    padding: 10px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

header .center .menu ul li .dmo-header-menu .dmo-header-menu__product:hover,
header .center .menu ul li .dmo-header-menu .dmo-header-menu__product:focus-visible {
    background: #fff;
    border-color: #86c8f2;
    box-shadow: 0 7px 16px rgba(15, 101, 183, .13);
    color: #18449e;
    outline: none;
    transform: translateY(-2px);
}

.dmo-header-menu__image {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex: 0 0 80px;
    height: 80px;
    justify-content: center;
    padding: 7px;
}

.dmo-header-menu__image img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.dmo-header-menu__content {
    display: block;
    min-width: 0;
}

.dmo-header-menu__content strong {
    color: #17375f;
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.dmo-header-menu__content small {
    color: #0877cb;
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}

[dir="rtl"] header .center .menu ul li .dmo-menu-trigger .mdi-briefcase-check-outline {
    margin-left: 3px;
    margin-right: 0;
}

@media screen and (max-width: 1100px) {
    header .center .menu ul li .dmo-header-menu {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        float: left;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
    }

    header .center .menu ul li.dmo-header-nav {
        float: left;
        margin-right: 0;
        position: relative;
    }

    header .center .menu ul li.dmo-header-nav.dmo-menu-open .dmo-header-menu {
        display: block !important;
    }

    .dmo-header-menu__heading {
        padding: 12px 20px;
    }

    .dmo-header-menu__products {
        grid-template-columns: 1fr;
        padding: 10px 14px 14px;
    }

    header .center .menu ul li .dmo-header-menu .dmo-header-menu__product {
        border-radius: 9px;
    }
}
