.dropdown-menu.open { display: block !important; }
.modal.show, .modal.in { display: block !important; }
.modal-backdrop { z-index: 1040; }
.modal.show, .modal.in { z-index: 1050; }
.local-ui-mock-result { margin-top: 12px; }

/* Purchase Pages Layout Fix: prevent carousel from blowing out grid-template-columns: auto */
.pc-page-inner {
    grid-template-columns: max(38%, 484px) minmax(0, 1fr) !important;
}
.pc-right-cont {
    min-width: 0 !important;
    max-width: 100% !important;
}
.pc-right-inner {
    width: 100% !important;
    max-width: 680px !important;
}
.pc-license-cont {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}
.pc-license-cont.single-card {
    grid-template-columns: 1fr !important;
    max-width: 440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 834px) {
    .pc-license-cont {
        grid-template-columns: 1fr !important;
    }
}

/* Top Navigation Bar: Static / Non-Sticky */
.main-header {
    position: relative !important;
    top: 0 !important;
}

.layout-sidebar-large.sticky-wrapper {
    height: auto !important;
}

/* Ensure proper document flow: unfloat main-content-wrap and clear footer */
body.sd-open .main-content-wrap,
.sd-open .main-content-wrap {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-height: auto !important;
}

body.sd-open main,
.sd-open main {
    display: block !important;
    overflow: visible !important;
    clear: both !important;
}

.dx-main-footer-wrapper,
.dx-footer-botttom {
    clear: both !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    z-index: 10 !important;
}

.dx-footer-top {
    display: none !important;
}

.dx-main-footer-wrapper {
    background: #ffffff !important;
    margin-top: 40px !important;
    padding-bottom: 20px !important;
}

.new-footer {
    position: relative !important;
    width: 100% !important;
    padding-top: 20px !important;
}

.dx-footer-inner-wrapper.companied {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin: 30px 0 !important;
    width: 100% !important;
}

.dx-footer-inner-wrapper.companied .dx-company {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    min-width: 200px !important;
}

.dx-footer-inner-wrapper.companied .dx-company-socials {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px !important;
}

.dx-footer-inner-wrapper.companied .dx-menu-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.dx-footer-inner-wrapper.companied .dx-menu-list .dx-menu-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.dx-footer-inner-wrapper.companied .dx-menu-list ul.dx-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.dx-footer-inner-wrapper.companied .dx-menu-list ul.dx-menu li a {
    color: #4D515F !important;
    text-decoration: none !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.dx-footer-inner-wrapper.companied .dx-etbis-menus {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.dx-footer-inner-wrapper.companied .dx-social-meta-menus {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
}

.dx-footer-inner-wrapper.companied .dx-social-meta-menus .dx-second-flex-general {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
}

.dx-footer-botttom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 0 !important;
    border-top: 1px solid #ddd !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    width: 100% !important;
}

.dx-footer-bottom-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

@media (max-width: 991px) {
    .dx-main-footer-wrapper {
        display: none !important;
    }
    .dx-footer-top {
        display: block !important;
        clear: both !important;
        position: relative !important;
        width: 100% !important;
        z-index: 10 !important;
    }
    .dx-footer-inner-wrapper.companied {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
    }
    .dx-footer-bottom-inner {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
}
