#site-footer-include.layout-include {
    display: block;
}

.site-footer-wrap {
    background-color: #000b21;
    position: relative;
    /* Sit above main content when product cards (or other sections) use z-index; pairs with
       .product-container { z-index: 0 } so main stays in a lower global layer. */
    z-index: 1;
}

.contact-bar {
    background: #000b21;
    color: rgba(255, 255, 255, 0.92);
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
}

.contact-bar-inner {
    width: calc(100% - var(--container-gutter));
    max-width: var(--container-max);
    margin-inline: auto;
}

.contact-bar-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    gap: 0;
    background: #000b21;
}

@media (min-width: 1024px) {
    .contact-bar {
        position: relative;
        height: 110px;
        min-height: 110px;
        max-height: 110px;
        box-sizing: border-box;
        background: linear-gradient(to right, #000b21 0, #000b21 100%);
        overflow: hidden;
    }

    .contact-bar-inner {
        position: relative;
        z-index: 1;
        height: 100%;
        display: flex;
        align-items: stretch;
        min-width: 0;
    }

    .contact-bar-row {
        flex: 1;
        align-self: stretch;
        height: auto;
        min-width: 0;
        background: transparent;
    }

    .contact-bar-cell:hover {
        background: #f0f2f5;
    }

    /* 非邮箱hover文字黑色 */
    .contact-bar-cell:not(.contact-bar-cell--email):hover {
        color: #000b21;
    }

    /* 电话地址图标hover */
    .contact-bar-cell:not(.contact-bar-cell--email):hover .contact-icon--light {
        background: #000b21;
    }
    .contact-bar-cell:not(.contact-bar-cell--email):hover .contact-icon--light img {
        filter: invert(1);
    }

    /* 邮箱图标hover */
    .contact-bar-cell--email:hover .contact-icon--dark {
        background: #000b21;
    }
    .contact-bar-cell--email:hover .contact-icon--dark img {
        filter: brightness(0) invert(1);
    }

    /* 最高权重强制邮箱hover 黑色文字+黑色下划线，和电话完全一致 */
    body .site-footer-wrap .contact-bar-cell--email:hover .contact-item-text a {
        color: #000b21 !important;
        text-decoration-color: #000b21 !important;
    }
}

.contact-bar-cell {
    flex: 1 1 0;
    padding: 0 60px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 110px;
    min-width: 0;
    border-image: none;
    overflow: hidden;
}

.contact-bar-cell:first-child {
    padding-left: 0;
}

.contact-item {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    box-sizing: border-box;
    height: 50px;
    font-size: 16px;
    line-height: 1.55;
}

.contact-label {
    font-weight: 700;
    margin-right: 6px;
    color: inherit;
}

.contact-item-text {
    margin: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-icon--light {
    width: 50px;
    height: 50px;
    background: #fff;
    color: #000b21;
}

.contact-icon--dark {
    background: #000b21;
    color: #fff;
}

.contact-bar-cell--email .contact-icon--dark {
    background: #fff;
    color: #000b21;
}
/* 常态白圈：白底黑图标 → invert(1)变成黑底白，再亮度0强制变回黑色 */
.contact-bar-cell--email .contact-icon--dark img {
    filter: invert(1) brightness(0);
}

.contact-bar-cell--email a {
    color: #000b21;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-bar-cell--email a:hover {
    color: var(--color-primary);
}

.contact-bar-cell:not(.contact-bar-cell--email) a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer {
    position: relative;
    background: #000b21;
    color: rgba(255, 255, 255, 0.72);
    padding: 0;
    padding-bottom: 20px;
    margin: 0;
    overflow: hidden;
}
.footer-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.footer-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 140, 255, 0) 0%,
        rgba(0, 140, 255, 0.07) 42%,
        rgba(0, 157, 255, 0.14) 100%
    );
    opacity: 1;
}

.footer-wave::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -40px;
    height: 120px;
    background: radial-gradient(
        ellipse 80% 55% at 50% 100%,
        rgba(0, 156, 255, 0.22) 0%,
        transparent 72%
    );
}

.footer-body {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: calc(100% - var(--container-gutter));
    max-width: var(--container-max);
    margin-inline: auto;
    padding-top: 60px;
    padding-bottom: 28px;
    padding-left: 0;
    padding-right: 56px;
}

.footer-go-top {
    position: absolute;
    right: 0;
    top: 112px;
    box-sizing: border-box;
    width: 36px;
    padding: 20px 0 22px;
    background: #283853;
    border-radius: var(--radius-pill);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.footer-go-top:hover {
    background: #062042;
    color: #fff;
}

.footer-go-top-icon {
    width: 17px;
    height: 9px;
}

.footer-go-top-label {
    line-height: 1.2;
    font-size: 16px;
}

.footer-grid {
    width: 100%;
    margin-inline: 0;
    display: grid;
    grid-template-columns: 1.35fr 0.95fr 0.95fr 0.82fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-grid > * {
    min-width: 0;
}

.footer-brand {
    width: 660px;
    max-width: 100%;
    height: auto;
    margin-right: 216px;
    padding-left: 0;
    box-sizing: border-box;
}

.footer-logo-mark {
    display: inline-block;
    line-height: 0;
}

.footer-logo-mark img {
    width: 110px;
    height: 96px;
    max-width: none;
    object-fit: contain;
    display: block;
}

.footer-lead {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.subscribe {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    padding: 0;
    box-sizing: border-box;
}

#footer-subscribe-email {
    flex: 1;
    border: none;
    padding: 16px 20px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    min-width: 0;
    box-sizing: border-box;
}

#footer-subscribe-email::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#footer-subscribe-email:focus,
#footer-subscribe-email:focus-visible {
    outline: none;
    box-shadow: none;
}

.subscribe-send {
    flex-shrink: 0;
    width: 66px;
    padding: 16px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    box-sizing: border-box;
    cursor: pointer;
}

.subscribe-send:hover {
    background: transparent;
    color: var(--color-primary);
}

.subscribe-send::-moz-focus-inner {
    border: 0;
}

.subscribe-send:focus {
    outline: none;
    box-shadow: none;
}

.subscribe-send:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--color-primary);
}

@media (max-width: 1440px) {
    .footer-body {
        padding-top: 58px;
    }

    .footer-go-top {
        top: 108px;
        width: 35px;
        padding: 19px 0 21px;
        gap: 9px;
    }

    .footer-go-top-label {
        font-size: 15px;
    }

    .footer-go-top-icon {
        width: 16px;
        height: 8px;
    }

    .footer-brand {
        width: 580px;
        margin-right: 128px;
        padding-left: 0;
    }
}

@media (max-width: 1366px) {
    .footer-body {
        padding-top: 54px;
    }

    .footer-go-top {
        top: 105px;
        width: 35px;
        padding: 19px 0 20px;
    }

    .footer-brand {
        width: 500px;
        margin-right: 100px;
        padding-left: 8px;
    }
}

.footer-col h6 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 11px;
    font-size: 15px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.58);
}

.footer-col a:hover {
    color: #fff;
}

.footer-social-row {
    width: 100%;
    margin-inline: 0;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 8px;
    position: relative;
    z-index: 1;
}

.social-footer {
    display: flex;
    flex-direction: row;
    gap: 38px;
    align-items: center;
}

.social-footer-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
}

.social-footer-link:hover {
    background: rgba(0, 156, 255, 0.35);
    color: #fff;
    transform: translateY(-2px);
}

.site-footer .ix-scroll-x,
.site-footer .ix-footer-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

@media (min-width: 1024px) {
    .site-footer .ix-footer-scroll > .footer-grid {
        min-width: 820px;
    }
}

.contact-bar .ix-scroll-x {
    overflow: visible;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    background: #1a2433;
    color: rgba(255, 255, 255, 0.92);
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transform: translateY(110%);
    transition: transform 0.35s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-text {
    flex: 1;
    min-width: 220px;
}

.cookie-banner p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}

.cookie-banner-meta {
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-actions button {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: none;
}

.btn-c-outline {
    background: #fff;
    color: #000b21;
}

.btn-c-outline:hover {
    background: #e8edf3;
}

.btn-c-accent {
    background: var(--color-primary);
    color: #fff;
}

.btn-c-accent:hover {
    background: var(--color-primary-hover);
}

.btn-cookie-manage,
.btn-cookie-decline {
    background: #fff;
    color: #000b21;
}

.btn-cookie-accept {
    background: var(--color-primary);
    color: #fff;
}

.fab-support {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 240;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.go-top-vertical {
    position: fixed;
    right: 0;
    bottom: 30%;
    z-index: 235;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 18px 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-primary);
}

@media (max-width: 1280px) {
    .footer-body {
        padding-top: 50px;
        padding-bottom: 26px;
        padding-left: 0;
        padding-right: 52px;
    }

    .footer-go-top {
        top: 100px;
        width: 34px;
        padding: 18px 0 20px;
        gap: 8px;
    }

    .footer-go-top-label {
        font-size: 15px;
    }

    .footer-go-top-icon {
        width: 16px;
        height: 8px;
    }

    .footer-grid {
        gap: 34px;
        margin-bottom: 36px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        padding-left: 16px;
        padding-right: 0;
    }

    .site-footer .ix-footer-scroll > .footer-grid {
        min-width: 0;
    }
}

@media (max-width: 1024px) {
    .footer-body {
        padding-top: 44px;
    }

    .contact-bar {
        height: auto;
    }

    .contact-bar-inner {
        height: auto;
        display: block;
    }

    .contact-bar-row {
        flex-direction: column;
        height: auto;
    }

    .contact-bar-cell + .contact-bar-cell {
        margin-left: 0;
        margin-top: -1px;
    }

    .contact-bar-cell {
        flex: 0 0 auto;
        width: 100%;
        height: 84px;
    }

    .contact-bar-cell:first-child {
        padding-left: 60px;
    }

    .contact-item {
        height: auto;
    }

    .contact-bar-cell--email {
        background: #000b21;
        color: rgba(255, 255, 255, 0.92);
    }

    .contact-bar-cell--email a {
        color: rgba(255, 255, 255, 0.92);
    }

    .contact-bar-cell--email a:hover {
        color: #fff;
    }

    .contact-bar-cell--email .contact-icon--dark {
        background: #fff;
        color: #000b21;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        min-width: 0;
    }

    .footer-brand {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 0;
    }

    .site-footer .ix-scroll-x,
    .site-footer .ix-footer-scroll {
        overflow-x: visible;
    }

    .site-footer .ix-footer-scroll > .footer-grid {
        min-width: 0;
    }

    .footer-go-top {
        top: auto;
        bottom: 100px;
        width: 34px;
        padding: 17px 0 19px;
        gap: 8px;
    }

    .footer-go-top-label {
        font-size: 14px;
    }

    .footer-go-top-icon {
        width: 15px;
        height: 8px;
    }
}

@media (max-width: 768px) {
    .contact-bar-row {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .contact-bar-cell,
    .contact-bar-cell:first-child {
        padding: 0;
    }

    .contact-bar-cell {
        height: 78px;
    }

    .footer-body {
        padding-top: 38px;
        padding-bottom: 24px;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        max-width: none;
    }

    .footer-go-top {
        position: fixed;
        right: 0;
        bottom: 140px;
        top: auto;
        z-index: 230;
        width: 40px;
        padding: 15px 0 17px;
        gap: 8px;
    }

    .footer-go-top-label {
        font-size: 13px;
    }

    .footer-go-top-icon {
        width: 15px;
        height: 8px;
    }

    .footer-grid {
        gap: 28px;
        margin-bottom: 32px;
    }

    .footer-col h6 {
        margin-bottom: 14px;
    }

    .footer-lead {
        margin: 16px 0 22px;
    }

    .footer-brand {
        width: 100%;
        height: auto;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    #footer-subscribe-email {
        padding: 12px 14px;
        font-size: 13px;
    }

    .subscribe-send {
        width: 66px;
        padding: 16px 0;
    }

    .social-footer-link {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 11px;
    }

    .cookie-banner {
        padding: 14px 18px;
    }

    .cookie-actions button {
        padding: 9px 14px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .contact-bar-cell {
        height: 66px;
    }

    .footer-body {
        padding-top: 30px;
        padding-bottom: 20px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .site-footer .ix-footer-scroll > .footer-grid {
        min-width: 0;
    }

    .footer-go-top {
        bottom: 128px;
        width: 42px;
        padding: 14px 0 16px;
        gap: 7px;
    }

    .footer-go-top-label {
        font-size: 12px;
    }

    .footer-go-top-icon {
        width: 14px;
        height: 7px;
    }

    .footer-social-row {
        justify-content: center;
    }

    #footer-subscribe-email {
        padding: 11px 12px;
        font-size: 12px;
    }

    .cookie-banner p,
    .cookie-banner-meta {
        font-size: 11px;
    }
}

@media (max-width: 375px) {
    .contact-bar-cell {
        height: 60px;
    }

    .footer-body {
        padding-top: 26px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .footer-brand {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-go-top {
        bottom: 112px;
        width: 38px;
        padding: 12px 0 14px;
        gap: 6px;
    }

    .footer-go-top-label {
        font-size: 11px;
    }

    .footer-go-top-icon {
        width: 13px;
        height: 7px;
    }
}
