﻿/* =========================================================
   Footer 完整优化版
   当前 HTML：四栏平级结构
   Theme: #e886ae
   ========================================================= */

.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer {
    width: 100%;
    background: #fff;
    border-top: 1px solid #eaeaea;
    color: #333;
}


/* =========================================================
   Footer 主体
   左：公司
   中1：Quick Links
   中2：Support
   右：Stay Connected
   ========================================================= */

.footer-box {
    display: grid;
    grid-template-columns:
        minmax(280px, 1.25fr)
        minmax(150px, .72fr)
        minmax(150px, .72fr)
        minmax(320px, 1.25fr);
    gap: 55px;
    align-items: flex-start;
    padding: 52px 0 56px;
}


/* =========================================================
   左侧公司信息
   ========================================================= */

.footer-about {
    min-width: 0;
}

.footer-logo {
    margin: 0 0 28px;
}

.footer-logo a {
    display: inline-block;
    line-height: 0;
}

.footer-logo img {
    display: block;
    width: 132px;
    height: 54px;
    object-fit: contain;
}


/* 地址、邮箱 */

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-company-info img{ max-width:100%; height:auto;}
.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.footer-info-icon {
    flex: 0 0 18px;
    width: 18px;
    padding-top: 2px;
    color: #e886ae;
    font-size: 17px;
    text-align: center;
}

.footer-info-content {
    flex: 1;
    min-width: 0;
}

.footer-info-content span {
    display: block;
    color: #444;
}

.footer-info-content a {
    color: #444;
    text-decoration: none;
    word-break: break-word;
    transition: color .25s ease;
}

.footer-info-content a:hover {
    color: #e886ae;
}


/* =========================================================
   Footer 标题
   ========================================================= */

.footer-links h3,
.footer-support h3,
.footer-subscribe h3 {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 13px;
    color: #1e1e1e;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
}

.footer-links h3::after,
.footer-support h3::after,
.footer-subscribe h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background: #e886ae;
}


/* =========================================================
   Quick Links
   你现在已经不是 ul/li 结构
   ========================================================= */

.footer-links {
    min-width: 0;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-links-list a {
    position: relative;
    display: block;
    padding-left: 14px;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color .25s ease,
        transform .25s ease;
}

.footer-links-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d0d0d0;
    transition: background .25s ease;
}

.footer-links-list a:hover {
    color: #e886ae;
    transform: translateX(3px);
}

.footer-links-list a:hover::before {
    background: #e886ae;
}


/* =========================================================
   Support
   ========================================================= */

.footer-support {
    min-width: 0;
}

.footer-support-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-support-list a,
.footer-support-item {
    position: relative;
    display: block;
    padding-left: 14px;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color .25s ease,
        transform .25s ease;
}

.footer-support-list a::before,
.footer-support-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d0d0d0;
    transition: background .25s ease;
}

.footer-support-list a:hover,
.footer-support-item:hover {
    color: #e886ae;
    transform: translateX(3px);
}

.footer-support-list a:hover::before,
.footer-support-item:hover::before {
    background: #e886ae;
}


/* =========================================================
   Stay Connected
   ========================================================= */

.footer-subscribe {
    min-width: 0;
}

.footer-subscribe-desc {
    max-width: 390px;
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   邮箱提交框
   ========================================================= */

.footer-feedback-form {
    width: 100%;
    max-width: 400px;
    margin: 0;
}

.footer-email-box {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 50px;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 7px;
    background: #fff;
    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.footer-email-box:focus-within {
    border-color: #e886ae;
    box-shadow: 0 0 0 3px rgba(232, 134, 174, .10);
}


/* 邮箱小图标 */

.footer-email-icon {
    flex: 0 0 46px;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 16px;
}


/* 输入框 */

.footer-email-box input[type="email"] {
    flex: 1;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 0 10px 0 0;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: #333;
    font-size: 14px;
    font-family: inherit;
}

.footer-email-box input[type="email"]::placeholder {
    color: #aaa;
}


/* 提交按钮 */

.footer-email-box button {
    flex: 0 0 52px;
    width: 52px;
    height: 50px;
    margin: -1px -1px -1px 0;
    padding: 0;
    border: 0;
    outline: none;
    background: #e886ae;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: background .25s ease;
}

.footer-email-box button:hover {
    background: #d8759e;
}

.footer-email-box button:disabled {
    cursor: default;
    opacity: .65;
}


/* =========================================================
   Follow Us
   ========================================================= */

.footer-social-wrap {
    margin-top: 22px;
}

.footer-social-title {
    margin: 0 0 13px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #f2cadb;
    border-radius: 50%;
    background: #fff;
    color: #e886ae;
    font-size: 16px;
    text-decoration: none;
    transition: all .25s ease;
}

.footer-social a:hover {
    border-color: #e886ae;
    background: #e886ae;
    color: #fff;
    transform: translateY(-3px);
}


/* =========================================================
   Copyright
   ========================================================= */

.footer-copy {
    width: 100%;
    padding: 17px 0;
    border-top: 1px solid #eaeaea;
    color: #777;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.footer-copy .container {
    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================================
   Loading
   ========================================================= */

.footer-feedback-loading {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, .35);
}

.footer-feedback-loading.show {
    display: flex;
}

.footer-feedback-loading-box {
    min-width: 145px;
    padding: 25px 28px;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .16);
}

.footer-loading-spinner {
    display: block;
    width: 35px;
    height: 35px;
    margin: 0 auto 13px;
    border: 3px solid #f5d6e3;
    border-top-color: #e886ae;
    border-radius: 50%;
    animation: footerLoadingRotate .75s linear infinite;
}

.footer-feedback-loading-box p {
    margin: 0;
    color: #444;
    font-size: 14px;
}

@keyframes footerLoadingRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   提交结果弹窗
   ========================================================= */

.footer-feedback-modal {
    position: fixed;
    z-index: 100001;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.footer-feedback-modal.show {
    display: flex;
}

.footer-feedback-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, .42);
}

.footer-feedback-modal-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 390px;
    padding: 34px 30px 28px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .18);
}

.footer-feedback-modal-close {
    position: absolute;
    right: 13px;
    top: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #999;
    font-size: 16px;
    cursor: pointer;
}

.footer-feedback-modal-close:hover {
    background: #f7f7f7;
    color: #333;
}

.footer-feedback-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff0f6;
    color: #e886ae;
    font-size: 25px;
}

.footer-feedback-modal-icon.error {
    background: #fff1f1;
    color: #e5484d;
}

.footer-feedback-modal-box h4 {
    margin: 0 0 10px;
    color: #222;
    font-size: 19px;
    font-weight: 600;
}

.footer-feedback-modal-box p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.footer-feedback-modal-btn {
    min-width: 110px;
    height: 40px;
    margin-top: 22px;
    padding: 0 25px;
    border: 0;
    border-radius: 6px;
    background: #e886ae;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.footer-feedback-modal-btn:hover {
    background: #d8759e;
}


/* =========================================================
   PC 右侧浮动客服
   ========================================================= */

.customerList {
    position: fixed;
    z-index: 999;
    right: 0;
    top: 40%;
    width: 60px;
}

.customerBox {
    width: 60px;
}

.customerBox > a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    margin-bottom: 1px;
    border-radius: 6px 0 0 6px;
    background: #e886ae;
    color: #fff;
    font-size: 1.8rem;
    line-height: 60px;
    text-align: center;
    text-decoration: none;
}

.customerBox > a:hover {
    background: #d8759e;
}

.customerBox a .eso_divinfo {
    position: absolute;
    right: 60px;
    top: 0;
    display: none;
    min-width: 260px;
    padding: 10px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, .1);
    color: #e886ae;
    font-size: 1rem;
    line-height: 1.6;
}

.customerBox a .eso_divinfo::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -12px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid #fff;
}

.customerBox a:hover .eso_divinfo {
    display: block;
}


/* =========================================================
   PC 隐藏手机悬浮工具
   ========================================================= */

.mobile-fixed-tools {
    display: none;
}


/* =========================================================
   1200 以下
   ========================================================= */

@media (max-width: 1200px) {

    .footer-box {
        grid-template-columns:
            minmax(240px, 1.15fr)
            minmax(140px, .7fr)
            minmax(140px, .7fr)
            minmax(280px, 1.1fr);
        gap: 35px;
    }

}


/* =========================================================
   平板
   ========================================================= */

@media (max-width: 992px) {

    .footer-box {
        grid-template-columns: 1.15fr .85fr .85fr;
        gap: 38px 30px;
        padding: 42px 15px 45px;
    }

    /* Stay Connected 独占下一排 */
    .footer-subscribe {
        grid-column: 1 / -1;
        max-width: 500px;
    }

}


/* =========================================================
   手机
   ========================================================= */

@media (max-width: 768px) {

    .footer-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
        padding: 30px 15px 32px;
    }


    /* 公司信息独占一排 */

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-logo {
        margin-bottom: 20px;
    }


    /* Quick Links + Support 并排 */

    .footer-links {
        grid-column: auto;
    }

    .footer-support {
        grid-column: auto;
    }


    /* Stay Connected 独占一排 */

    .footer-subscribe {
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
    }

    .footer-feedback-form {
        max-width: none;
    }


    /* 标题 */

    .footer-links h3,
    .footer-support h3,
    .footer-subscribe h3 {
        margin-bottom: 17px;
        padding-bottom: 10px;
        font-size: 17px;
    }


    /* 链接 */

    .footer-links-list,
    .footer-support-list {
        gap: 9px;
    }

    .footer-links-list a,
    .footer-support-list a,
    .footer-support-item {
        font-size: 14px;
    }


    /* 公司信息 */

    .footer-info-item {
        font-size: 14px;
    }


    /* 邮箱 */

    .footer-subscribe-desc {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .footer-email-box {
        height: 48px;
    }

    .footer-email-box input[type="email"] {
        height: 46px;
    }

    .footer-email-box button {
        height: 48px;
    }


    /* 社媒 */

    .footer-social-wrap {
        margin-top: 20px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }


    /* Copyright */

    .footer-copy {
        padding: 14px 15px;
        font-size: 13px;
        line-height: 22px;
    }


    /* PC 客服隐藏 */

    .customerList {
        display: none;
    }


    /* 手机右下角工具 */

    .mobile-fixed-tools {
        position: fixed;
        z-index: 9999;
        right: 6px;
        bottom: 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-fixed-tools .mobile-fixed-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: #fff;
        font-size: 1.25rem;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(216, 117, 158, .22);
    }

    .mobile-fixed-bom,
    .mobile-fixed-contact {
        background: linear-gradient(
            270deg,
            #d8759e 0%,
            #e886ae 100%
        );
    }

    .mobile-fixed-whatsapp {
        background: #25D366;
    }

    .mobile-fixed-top {
        border: 1px solid #f5d6e3;
        background: #fff;
        color: #e886ae !important;
    }

}


/* =========================================================
   超小屏
   ========================================================= */

@media (max-width: 420px) {

    .footer-box {
        gap: 28px 15px;
    }

    .footer-links h3,
    .footer-support h3 {
        font-size: 16px;
    }

    .footer-links-list a,
    .footer-support-list a {
        font-size: 14px;
    }

    .footer-feedback-modal-box {
        padding: 32px 20px 25px;
    }

}