.xinghui-footer-beauty-enabled footer.footer {
    display: none !important;
}

.footer2-fav,
.onecad_new_footer2,
.onecad_new_footer2 * {
    box-sizing: border-box;
}

.footer2-fav {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 15px;
    background-image: linear-gradient(to top, #9ae8ff, transparent);
}

.footer2-fav .wrapper,
.onecad_new_footer2 .wrapper {
    max-width: var(--mian-max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

.footer2-fav .footer2-fav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
    width: 100%;
    padding-top: 36px;
    padding-bottom: 36px;
}

.footer2-fav .site-info {
    width: 60%;
}

.footer2-fav .site-info h2 {
    margin: 0 0 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer2-fav .site-info .site-p {
    max-width: 500px;
    margin-bottom: 10px;
}

.footer2-fav .site-info .site-p p:first-child:after {
    content: ",";
}

.footer2-fav .site-info p {
    margin: 0 0 10px;
    margin-bottom: 10px;
    color: #797979;
    font-size: 12px;
    line-height: 1.8;
    white-space: normal;
    word-wrap: break-word;
}

.footer2-fav .site-fav {
    padding-top: 5px;
}

.footer2-fav .site-fav .btn-orange {
    display: inline-block;
    min-width: 0;
    height: auto;
    padding: 0 1.2em;
    border: 0;
    border-radius: 8px;
    background-color: #3b9de8;
    color: #fff;
    font-size: 14px;
    line-height: 2.5;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
}

.footer2-fav .site-fav .btn-orange:hover {
    background-color: #2f91dc;
    color: #fff;
}

.footer2-fav .site-girl {
    position: absolute;
    bottom: 0;
    left: 50%;
}

.footer2-fav .site-girl .girl {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 180px;
    transition: all .3s;
}

.footer2-fav .site-girl .girl:after {
    position: absolute;
    top: 40%;
    left: 100%;
    display: block;
    visibility: hidden;
    color: #a7a7a7;
    content: "Hi~";
    font-size: 20px;
    opacity: 0;
    transition: all .3s;
}

.footer2-fav:hover .site-girl .girl {
    transform: translateX(-22px);
}

.footer2-fav:hover .site-girl .girl:after {
    visibility: visible;
    opacity: 1;
}

.footer2-fav .thumb {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-top: 120%;
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all .2s;
}

.footer2-fav .site-girl .girl-info {
    margin-bottom: 55px;
    margin-left: 150px;
}

.footer2-fav .site-girl h4 {
    margin: 0;
    color: #797979;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

footer2,
#onecad_new_footer2 {
    display: block;
    clear: both;
}

.onecad_new_footer2,
.footer2 {
    background-color: #333 !important;
    background-position: center top;
    background-repeat: repeat;
    color: #fff;
}

#hmbk-footer2-new.footer2 {
    padding: 0 !important;
    font-size: 13px;
}

#hmbk-footer2-new > div {
    background-position: center top;
    background-repeat: repeat;
}

#hmbk-footer2-new .hmbk-footer2 > .wrapper {
    border-bottom: 1px solid #9e9e9e3b;
}

#hmbk-footer2-new .hmbk-footer2 .hmbk-footer2-widget-in {
    display: flex;
    justify-content: space-between;
    margin: 0 -10px;
}

#hmbk-footer2-new .hmbk-footer2 section {
    margin: 0;
    margin-bottom: 0;
    padding: 0 15px;
    background: transparent !important;
    box-shadow: none !important;
}

#hmbk-footer2-new .hmbk-footer2 section:first-child {
    width: 25%;
}

#hmbk-footer2-new .hmbk-footer2 section:not(:first-child):not(:last-child) {
    width: 15%;
}

#hmbk-footer2-new .hmbk-footer2 section:last-child {
    width: 20%;
}

#hmbk-footer2-new .hmbk-footer2 .widget-title {
    position: relative;
    margin-top: 25px;
    margin-bottom: 14px;
    margin-left: 5px;
    padding: 0 0 10px;
    border-bottom: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
}

#hmbk-footer2-new .hmbk-footer2 .widget-title:before {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3b82f6 !important;
    content: "";
    transition: width .3s ease;
}

#hmbk-footer2-new .hmbk-footer2 section:hover .widget-title:before {
    width: 80px;
}

#hmbk-footer2-new .hmbk-footer2 .textwidget {
    padding: 10px 0;
    line-height: 26px;
}

#hmbk-footer2-new .hmbk-footer2 .textwidget p {
    margin: 0;
    color: #fff;
        font-size: 12px;
    font-weight: 500;
    line-height: 2;
}

#hmbk-footer2-new .hmbk-footer2 .widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#hmbk-footer2-new .hmbk-footer2 .widget ul li {
    position: relative;
    margin: 0;
    padding: 7px 0 8px 15px;
    color: #fff;
        font-size: 12px;
    font-weight: 500;   
}

#hmbk-footer2-new .hmbk-footer2 .widget ul li:before {
    position: absolute;
    top: 9px;
    left: 1px;
    color: #3b82f6 !important;
    content: "•";
    font-size: 16px;
    line-height: 1;
}

#hmbk-footer2-new a {
    color: #fff;
    text-decoration: none;
    transition: all .3s ease;
}

#hmbk-footer2-new a:hover {
    color: #3b82f6 !important;
    margin-left: 3px;
}

#hmbk-footer2-new .qr-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 10px;
    margin: 0;
    padding-top: 5px;
}

#hmbk-footer2-new .qr-item {
    padding: 0 5px;
    text-align: center;
}

#hmbk-footer2-new .qr-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

#hmbk-footer2-new .qr-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border-radius: 8px;
    transition: transform .3s ease;
}

#hmbk-footer2-new .qr-img:hover {
    transform: scale(1.05);
}

#hmbk-footer2-new .qr-tips {
    max-width: 90px;
    margin: 8px auto 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

#hmbk-footer2-new .hmbk-footer2-nav .wrapper {
    max-width: none;
    padding: 0;
}

#hmbk-footer2-new .footer2-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: var(--mian-max-width, 1200px);
    margin: 10px auto;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(154, 232, 255, .3) 0, rgba(154, 232, 255, .1) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

#hmbk-footer2-new .link-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

#hmbk-footer2-new .link-heading {
    margin-right: 12px;
    padding: 5px 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

#hmbk-footer2-new .link-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 15px;
    margin: 0;
    padding: 0;
}

#hmbk-footer2-new .apply-link,
#hmbk-footer2-new .link-items a {
    color: #f0f0f0 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

#hmbk-footer2-new .apply-link {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: rgba(59, 130, 246, .2);
}

#hmbk-footer2-new .footer2-bottom {
    width: 100%;
    margin: 0;
    padding: 15px 20px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    line-height: 24px;
}

#hmbk-footer2-new .footer2-bottom-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
    max-width: var(--mian-max-width, 1200px);
    margin: 0 auto;
}

#hmbk-footer2-new .foot-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#hmbk-footer2-new .foot-copyright {
    width: auto;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    text-align: left;
}

#hmbk-footer2-new .footer2-bottom-right {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .5);
}

.popup-overlay.is-active {
    display: flex;
}

.popup-container {
    width: min(600px, calc(100% - 32px));
    overflow: hidden;
    border-radius: 22px;
    background: rgba(72, 101, 232, .94);
    color: #fff;
    box-shadow: 0 24px 70px rgba(20, 35, 110, .28);
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.popup-header h3 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.popup-close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.popup-content {
    padding: 34px 36px 28px;
}

.popup-content p {
    margin: 0 0 28px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.8;
    text-align: center;
}

.popup-content strong {
    display: block;
    margin-bottom: 14px;
    color: inherit;
    font-size: 18px;
    font-weight: 800;
}

.popup-content kbd {
    display: inline-block;
    margin: 0 6px;
    padding: 2px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.popup-buttons {
    text-align: center;
}

.popup-btn {
    height: 54px;
    padding: 0 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.dark-theme .footer2-fav .site-info p,
.dark-theme .footer2-fav .site-girl h4,
.dark-theme .footer2-fav .site-girl .girl:after,
body.dark-theme .footer2-fav .site-info p,
body.dark-theme .footer2-fav .site-girl h4,
body.dark-theme .footer2-fav .site-girl .girl:after {
    color: #fff;
}

@media (min-width: 768px) {
    .footer2-fav {
        display: flex;
        overflow: visible;
        width: 100%;
        padding-top: 106px;
    }

    .footer2-fav .site-info {
        width: auto;
    }

    .footer2-fav .site-info h2 {
        font-size: 26px;
    }

    .footer2-fav .site-info .site-p {
        margin-bottom: 0;
    }

    .footer2-fav .site-info .site-p p:first-child:after {
        content: "";
    }

    .footer2-fav .site-info p {
        display: block;
        margin-bottom: 0;
        font-size: 14px;
    }

    .footer2-fav .site-fav {
        padding-top: 24px;
    }

    .footer2-fav .site-fav .btn-orange {
        padding: 0 2em;
        font-size: var(--hmbk--margin, 14px);
        line-height: 3.5;
    }

    .footer2-fav .site-girl .girl {
        left: -50px;
    }

    .hide_md {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .footer2-fav {
        min-height: 230px;
        padding: 0;
        background: linear-gradient(180deg, #f5f6f5 0%, #eff8f4 52%, #c9f7ec 100%);
    }

    .footer2-fav .girl-info,
    .footer2-fav .site-fav,
    .footer2-fav .site-p {
        display: none !important;
    }

    .footer2-fav .wrapper {
        max-width: none;
        padding: 0;
    }

    .footer2-fav .footer2-fav-top {
        position: relative;
        display: block;
        min-height: 230px;
        padding: 0;
        transform: none;
    }

    .footer2-fav .site-info {
        position: absolute;
        z-index: 2;
        top: 86px;
        left: 40px;
        width: 58%;
        padding: 0;
    }

    .footer2-fav .site-info h2 {
        margin: 0;
        color: #5d6668;
        font-size: 24px;
        font-weight: 400;
        line-height: 1.45;
        text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
        word-break: break-word;
    }

    .footer2-fav .site-girl {
        position: absolute;
        right: 32px;
        bottom: 0;
        left: auto;
        z-index: 1;
        display: block;
        width: 42%;
        min-width: 150px;
        max-width: 210px;
        margin: 0;
        padding: 0;
    }

    .footer2-fav .site-girl .girl {
        position: static;
        width: 100%;
        max-width: none;
        height: auto;
        transform: none !important;
    }

    .footer2-fav .site-girl .girl:after {
        display: none;
    }

    .footer2-fav .thumb {
        padding-top: 125%;
        background-position: center bottom;
    }

    #hmbk-footer2-new .hmbk-footer2 .hmbk-footer2-widget-in,
    #hmbk-footer2-new .footer2-links {
        display: none !important;
    }

    .onecad_new_footer2,
    .footer2,
    #hmbk-footer2-new > div,
    #hmbk-footer2-new .hmbk-footer2-nav {
        background: #000 !important;
        background-image: none !important;
    }

    #hmbk-footer2-new .hmbk-footer2-nav {
        padding: 24px 15px 18px;
    }

    #hmbk-footer2-new .hmbk-footer2-nav .wrapper {
        max-width: none;
        padding: 0;
    }

    #hmbk-footer2-new .hmbk-footer2 > .wrapper {
        border-bottom: none;
    }

    #hmbk-footer2-new .footer2-bottom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    #hmbk-footer2-new .foot-left {
        align-items: center;
    }

    #hmbk-footer2-new .foot-copyright,
    #hmbk-footer2-new .footer2-bottom-right {
        width: 100%;
        color: #d7d7d7;
        font-size: 16px;
        line-height: 1.7;
        white-space: normal;
        word-break: break-all;
        text-align: center;
    }

    #hmbk-footer2-new .footer2-bottom-right {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .footer2-fav {
        min-height: 205px;
    }

    .footer2-fav .footer2-fav-top {
        min-height: 205px;
    }

    .footer2-fav .site-info {
        top: 82px;
        left: 24px;
        width: 57%;
    }

    .footer2-fav .site-info h2 {
        font-size: 21px;
        line-height: 1.45;
    }

    .footer2-fav .site-girl {
        right: 8px;
        width: 43%;
        min-width: 138px;
        max-width: 172px;
    }

    #hmbk-footer2-new .hmbk-footer2-nav {
        padding-top: 22px;
    }

    #hmbk-footer2-new .foot-copyright,
    #hmbk-footer2-new .footer2-bottom-right {
        font-size: 14px;
    }
}
