/* ============================================================
   适配方案：rem（双端）
     - 浏览器端（PC）：设计稿基准 1920px，根字号 = min(视口,1920)/1920*100
     - H5 端（移动端）：设计稿基准 750px，根字号 = min(视口,750)/750*100
   说明：
     - 默认样式按 H5（750 基准）书写
     - html[data-mode="pc"] 内按浏览器端（1920 基准）覆盖
     - 媒体查询一律使用 px，避免随根字号漂移
   ============================================================ */

/* ---------- 全局字体：Gabarito ---------- */
@font-face {
    font-family: "Gabarito";
    src: url("../assets/font/Gabarito-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gabarito";
    src: url("../assets/font/Gabarito-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    /* 主题色 */
    --c-primary: #4f7cff;
    --c-primary-soft: #7aa2ff;
    --c-accent: #22d3ee;
    --c-bg: white;
    --c-bg-soft: #101830;
    --c-border: rgba(255, 255, 255, 0.08);
    --c-text: #eef2ff;
    --c-muted: #9aa5c4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* 该值会被 app.js 动态覆盖，此处作为回退基准 */
    font-size: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Gabarito", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    /* H5：内容最大宽度 750px（7.5rem） */
    max-width: 7.5rem;
    margin: 0 auto;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

/* ---------- 首页 Banner 轮播 ---------- */
.banner {
    position: relative;
    width: 100%;
    max-width: 19.2rem;
    /* 1920px 设计稿 */
    margin: 0 auto;
    background: #000;
    overflow: hidden;
}

.banner__viewport {
    position: relative;
    width: 100%;
    padding-top: 50%;
    /* 1920 x 960 比例 */
}

.banner__track {
    position: absolute;
    inset: 0;
}

.banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.05s linear 0.65s;
}

.banner__slide.is-active {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    transition: opacity 0.05s linear;
}

.banner__slide.is-leaving {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04) translateY(0);
    /* 进入完成后的姿态，保持轻微放大 */
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.9s ease;
}

/* 新图：从「下方 120px + 放大 20%」明显滑入归位，透明度渐渐恢复 */
.banner__slide.is-active .banner__bg {
    opacity: 1;
    animation: banner-enter 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 旧图：向上移出并淡出 */
.banner__slide.is-leaving .banner__bg {
    transform: scale(1.08) translateY(-0.3rem);
    opacity: 0;
}

@keyframes banner-enter {
    from {
        opacity: 0;
        transform: scale(1.25) translateY(2rem);
        /* 初始：下方 200px + 放大 */
    }

    to {
        opacity: 1;
        transform: scale(1.04) translateY(0);
        /* 归位，透明度渐渐恢复 */
    }
}

.banner__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.15) 45%,
            rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

.banner__content {
    position: absolute;
    left: 3.1rem;
    top: 2.69rem;
    color: #fff;
    z-index: 2;
}

.banner__eyebrow {
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

.banner__title {
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* 蓝色渐变标题：左上角到右下角 */
.banner__title-blue {
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.banner__btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-decoration: none;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: 0.01rem solid #FFF;
    cursor: pointer;
    width: max-content;
    padding: 0.1rem 0.12rem;
    margin-top: 0.65rem;
    border-radius: 0.02rem;
    transition: color 0.35s ease, border-color 0.35s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
}

.banner__btn .banner__btn-arrow {
    width: 0.16rem;
    height: 0.16rem;
    margin-left: 0.1rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.3s ease;
}

/* 底部斜角白色填充层 */
.banner__btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #ffffff 0%, #d8f1ff 100%);
    transform: translateY(101%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 斜向扫光条 */
.banner__btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 0%,
            rgba(255, 255, 255, 0.9) 50%,
            transparent 100%);
    transform: translateX(-150%) skewX(-20deg);
    pointer-events: none;
}

.banner__btn:hover {
    transform: translateY(-0.04rem);
    border-color: rgba(255, 255, 255, 0.95);
    color: #123c5e;
    box-shadow: 0 0.08rem 0.3rem rgba(255, 255, 255, 0.45),
        0 0 0.5rem rgba(255, 255, 255, 0.28);
}

.banner__btn:hover::before {
    transform: translateY(0);
}

.banner__btn:hover::after {
    transform: translateX(260%) skewX(-20deg);
    transition: transform 0.7s ease 0.12s;
}

.banner__btn:hover .banner__btn-arrow {
    transform: translateX(0.06rem) scale(1.15);
    filter: brightness(0);
}

.banner__slide.is-active .banner__eyebrow,
.banner__slide.is-active .banner__title {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 顶部导航 ---------- */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 7.5rem;
    z-index: 100;
    height: 0.8rem;
    padding: 0 0.4rem;
    display: flex;
    align-items: center;
    transition: background 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.header__inner-nav-item,
.header__inner-nav-item a {
    transition: color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.header__inner-right-search,
.header__inner-right-language {
    transition: background 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.is-scrolled {
    background: #ffffff;
    box-shadow: 0 0.02rem 0.2rem rgba(0, 0, 0, 0.08);
}

/* 滚动后为白色背景，导航文字切换为深色保证可读性 */
.header.is-scrolled .header__inner-nav-item,
.header.is-scrolled .header__inner-nav-item a,
.header.is-scrolled .header__inner-right-language {
    color: #333333;
}

.header.is-scrolled .header__inner-right-search {
    background: rgba(51, 51, 51, 0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.header__inner-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.header__inner-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #FFF;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* 悬浮 & 激活：文字切换为 banner__title-blue 渐变蓝
   仅作用于导航项直接子级 <a>（即导航文字本身），避免后代菜单
   （mega-menu 分类、About Us 下拉项等）被错误染成渐变透明文字 */
.header__inner-nav-item:hover > a,
.header__inner-nav-item.is-active > a,
.header.is-scrolled .header__inner-nav-item:hover > a,
.header.is-scrolled .header__inner-nav-item.is-active > a {
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 激活项：下方渐变横条 */
.header__inner-nav-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0.02rem;
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
    border-radius: 0.01rem;
    opacity: 0;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.header.is-scrolled .header__inner-nav-item.is-active::after {
    width: 0.4rem;
    opacity: 1;
}

.header__inner-right {
    display: flex;
    margin-right: 0.6rem;
}

.header__inner-right div {
    cursor: pointer;
}

.header__inner-right-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.32rem;
    height: 0.32rem;
    margin-right: 0.1rem;
    border-radius: 0.16rem;
    background: rgba(51, 51, 51, 0.06);
}

.header__inner-right-search img {
    width: 0.16rem;
    height: 0.16rem;
}

/* 默认显示 header-search/header-language，滚动后切换为 header-search2/header-language2 */
.header__inner-right-search .icon-scrolled,
.header__inner-right-language .icon-scrolled {
    display: none;
}

.header.is-scrolled .header__inner-right-search .icon-default,
.header.is-scrolled .header__inner-right-language .icon-default {
    display: none;
}

.header.is-scrolled .header__inner-right-search .icon-scrolled,
.header.is-scrolled .header__inner-right-language .icon-scrolled {
    display: inline;
}

.header__inner-right-language {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.72rem;
    height: 0.32rem;
    margin-right: 0.1rem;
    color: #FFF;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 0.16rem;
    background: rgba(51, 51, 51, 0.06);
}

.header__inner-right-language img {
    width: 0.16rem;
    height: 0.16rem;
    margin-right: 0.07rem;
}

.header__inner-right-msg {
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.15rem 0 0.13rem;
    height: 0.32rem;
    margin-right: 0.1rem;
    color: #FFF;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: linear-gradient(90deg, #00B8E2 0%, #0063C3 100%);
}

.header__inner-right-msg img {
    width: 0.16rem;
    height: 0.16rem;
    margin-right: 0.07rem;
}

.header__inner-right>div:last-child,
.header__inner-right>a:last-child {
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.15rem 0 0.13rem;
    height: 0.32rem;
    margin-right: 0.1rem;
    color: #333333;
    text-decoration: none;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: #F3F3F3;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 0.6rem;
}

.logo img {
    width: 1.36rem;
    height: 0.38rem;
    display: block;
}

/* 遮罩 */
.nav-mask {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(5, 8, 18, 0.72);
    backdrop-filter: blur(0.06rem);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-mask.is-visible {
    opacity: 1;
}

/* ---------- 页脚 ---------- */
.footer {
    background: #0a0a0a;
    color: #999;
}

.footer__main {
    margin: 0 auto;
    padding: 0.6rem 3.1rem 0.53rem;
}

.footer__links {
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 2rem;
}

.footer__title {
    position: relative;
    color: #fff;
    font-size: 0.18rem;
    font-weight: 600;
    margin-bottom: 0.16rem;
    padding-bottom: 0.1rem;
}

.footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0.4rem;
    height: 0.03rem;
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
}

.footer__link {
    color: #999;
    font-size: 0.16rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #fff;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    font-size: 0.18rem;
    color: #fff;
    margin-bottom: 0.17rem;
}

.footer__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 0.4rem;
    background: #4DC247;
}

.footer__contact-icon img {
    width: 0.2rem;
    height: 0.2rem;
}

.footer__col .footer__contact-item:last-child .footer__contact-icon {
    background: #333333;
}

.footer__col .footer__contact-item:last-child .footer__contact-icon img {
    width: 0.24rem;
    height: 0.24rem;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.3rem;
}

.footer__logo {
    width: 5.39rem;
    height: 1.53rem;
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.footer__social-label {
    color: #FFF;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.footer__social-icons {
    display: flex;
    gap: 0.12rem;
}

.footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.4em;
    height: 0.4rem;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
}

.footer__social-icon:hover {
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
    transform: translateY(-2px);
}

.footer__social-icon img {
    width: 0.2rem;
    height: 0.2rem;
}


.footer__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3.1rem;
    border-top: 1px solid #1A1A1A;
    color: #999;
    height: 0.6rem;
    font-family: Gabarito;
    font-size: 0.16rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background-color: #1A1A1A;
}

.footer__bar-left {
    display: flex;
    gap: 0.24rem;
}

.footer__bar-right {
    display: flex;
    align-items: center;
    gap: 0.12rem;
}

.footer__bar-divider {
    color: #444;
}

/* ---------- H5 页脚：导航列可折叠 ---------- */
html[data-mode="h5"] .footer__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.1rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

html[data-mode="h5"] .footer__title::after {
    content: "";
    position: static;
    width: 0.55em;
    height: 0.55em;
    border-right: 0.15em solid #fff;
    border-bottom: 0.15em solid #fff;
    background: none;
    flex-shrink: 0;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

html[data-mode="h5"] .footer__col.is-open .footer__title::after {
    transform: rotate(-135deg);
}

html[data-mode="h5"] .footer__col > *:not(.footer__title) {
    display: none;
}

html[data-mode="h5"] .footer__col.is-open > *:not(.footer__title) {
    display: block;
    animation: footer-col-in 0.3s ease;
}

/* 联系方式列不参与折叠：始终完整显示、无箭头、不可点击 */
html[data-mode="h5"] .footer__col--static .footer__title {
    cursor: default;
}

html[data-mode="h5"] .footer__col--static .footer__title::after {
    display: none;
}

html[data-mode="h5"] .footer__col--static > *:not(.footer__title) {
    display: block;
}

html[data-mode="h5"] .footer__col--static .footer__contact-item {
    display: flex;
    align-items: center;
}

@keyframes footer-col-in {
    from {
        opacity: 0;
        transform: translateY(-0.12rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- H5 页脚：整体布局（公共，原 index.css 移入） ---------- */
html[data-mode="h5"] .footer__main {
    padding: 0.6rem 0.4rem 0.5rem;
}

html[data-mode="h5"] .footer__links {
    flex-wrap: wrap;
    gap: 0.3rem 0.2rem;
}

html[data-mode="h5"] .footer__col {
    flex: 1 1 40%;
    min-width: 2.6rem;
}

html[data-mode="h5"] .footer__contact-item {
    font-size: 0.2rem;
}

html[data-mode="h5"] .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-top: 0.4rem;
    padding-top: 0.3rem;
}

html[data-mode="h5"] .footer__logo {
    width: 4rem;
    height: auto;
}

html[data-mode="h5"] .footer__bar {
    flex-direction: column;
    height: auto;
    padding: 0.18rem 0.4rem;
    gap: 0.1rem;
}

/* ---------- 浮动侧边栏 ---------- */
.float-bar {
    position: fixed;
    right: 0.2rem;
    bottom: 3.54rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
}

.float-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.float-bar__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.3);
}

.float-bar__btn--email {
    background: linear-gradient(135deg, #00B8E2 0%, #0063C3 100%);
}

.float-bar__btn--phone {
    background: linear-gradient(135deg, #52C41A 0%, #389E0D 100%);
}

.float-bar__btn--top {
    background: #333;
    color: #fff;
}

.float-bar__btn img {
    width: 0.3rem;
    height: 0.3rem;
    display: block;
}

.float-bar__btn--top img {
    width: 0.36rem;
    height: 0.36rem;
}


/* ============================================================
   浏览器端（PC，1920 设计稿基准）尺寸覆盖
   由 app.js 在 html 上设置 data-mode="pc"
   ============================================================ */
html[data-mode="pc"] body {
    max-width: 19.2rem;
    /* 1920px */
}
html[data-mode="pc"] .header {
    max-width: 19.2rem;
    padding: 0 0.8rem;
    height: 80px;
}
/* 1920 设计稿：L1/L2 高度 149px，换算 rem：149 / 100 = 1.49rem */
html[data-mode="pc"] .loader__img {
    height: 1.49rem;
}

/* 1920 设计稿：L3/L4 高度 92.595px，换算 rem：92.595 / 100 = 0.92595rem */
html[data-mode="pc"] .loader__img:nth-child(3),
html[data-mode="pc"] .loader__img:nth-child(4) {
    height: 0.92595rem;
}

/* 1920 设计稿：SVG 间距 10px，换算 rem：10 / 100 = 0.1rem */
html[data-mode="pc"] .loader__box {
    gap: 0.1rem;
}

/* 1920 设计稿：L2 左边间距 -10px，换算 rem：-10 / 100 = -0.1rem */
html[data-mode="pc"] .loader__img:nth-child(2) {
    margin-left: -0.3rem;
}
/* 无障碍焦点样式 */
a:focus-visible,
button:focus-visible {
    outline: 0.02rem solid var(--c-accent);
    outline-offset: 0.04rem;
}

/* ---------- Get a Quote 弹窗 ---------- */
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal.is-open {
    opacity: 1;
    visibility: visible;
}

body.quote-modal-open {
    overflow: hidden;
}

.quote-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(0.04rem);
}

.quote-modal__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 7.5rem;
    max-height: 100vh;
    background: #fff;
    border-radius: 0.08rem;
    overflow: hidden;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.28);
    transform: translateY(0.2rem);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-modal.is-open .quote-modal__wrapper {
    transform: translateY(0);
}

.quote-modal__close {
    position: absolute;
    top: 0.16rem;
    right: 0.16rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.4rem;
    height: 0.4rem;
    border: 0.01rem solid #333;
    border-radius: 50%;
    background: transparent;
    color: #333;
    font-size: 0.24rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.quote-modal__close:hover {
    background: #333;
    color: #fff;
}

.quote-modal__left {
    position: relative;
    flex: 0 0 auto;
    height: 1.6rem;
    background: linear-gradient(135deg, #1b1f2a 0%, #2d3447 100%);
    overflow: hidden;
}

.quote-modal__left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.quote-modal__title {
    position: absolute;
    left: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 0.36rem;
    font-weight: 700;
    line-height: 1.2;
    z-index: 2;
}

.quote-modal__right {
    flex: 1;
    padding: 0.32rem 0.28rem;
    overflow-y: auto;
}

#quoteForm {
    margin-bottom: 0;
}

/* WPCF7 隐藏字段容器：去除 fieldset 浏览器默认边框与内边距 */
.hidden-fields-container {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

/* 与 product-detail.html 第七屏表单结构一致：ul > li > p > span > input/textarea */
#quoteForm ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    column-gap: 0.12rem;
    row-gap: 0.12rem;
    margin: 0 0 0.12rem;
    padding: 0;
    list-style: none;
}

#quoteForm ul li {
    flex: 1 1 calc(50% - 0.06rem);
}

#quoteForm ul li:nth-child(5),
#quoteForm ul li:nth-child(6) {
    flex: 1 1 100%;
}

#quoteForm ul li p {
    margin: 0;
}

#quoteForm ul li span {
    display: block;
}

#quoteForm ul li input,
#quoteForm ul li textarea {
    display: block;
}

#quoteForm input {
    width: 100%;
    height: 0.8rem;
    padding: 0 0.2rem;
    border: 1px solid #f0f3f8;
    border-radius: 0.05rem;
    background: #f3f5f9;
    color: #333;
    font-family: inherit;
    font-size: 0.24rem;
    line-height: 1.4;
    outline: none;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

#quoteForm input::placeholder {
    color: #98a3b8;
}

#quoteForm input:focus {
    background: #e6ecf6;
    box-shadow: 0 0 0 0.02rem rgba(31, 110, 224, 0.18);
}

#quoteForm textarea {
    width: 100%;
    height: 2.4rem;
    padding: 0.2rem;
    border: 1px solid #f0f3f8;
    border-radius: 0.05rem;
    background: #f3f5f9;
    color: #333;
    font-family: inherit;
    font-size: 0.24rem;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

#quoteForm textarea::placeholder {
    color: #98a3b8;
}

#quoteForm textarea:focus {
    background: #e6ecf6;
    box-shadow: 0 0 0 0.02rem rgba(31, 110, 224, 0.18);
}

#quoteForm > p,
#quoteForm .seventh__privacy {
    margin: 0.2rem 0 0.24rem;
    color: #999;
    text-align: center;
    font-size: 0.2rem;
    line-height: 1.5;
}

#quoteForm > div,
#quoteForm .seventh__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
}

#quoteForm button {
    width: 1.8rem;
    height: 0.6rem;
    padding: 0;
    border: none;
    border-radius: 0.05rem;
    font-family: inherit;
    font-size: 0.24rem;
    line-height: 1;
    cursor: pointer;
    transition: box-shadow 0.25s ease, opacity 0.25s ease;
}

#quoteForm button[type="reset"] {
    color: #666;
    background: transparent;
}

#quoteForm button[type="reset"]:hover {
    opacity: 0.85;
}

#quoteForm button[type="submit"] {
    background: linear-gradient(135deg, #2a8bff 0%, #1457e0 100%);
    color: #fff;
}

#quoteForm button[type="submit"]:hover {
    box-shadow: 0 0.04rem 0.16rem rgba(31, 110, 224, 0.32);
    opacity: 0.92;
}

.quote-modal__success {
    margin-top: 0.16rem;
    padding: 0.12rem;
    border-radius: 0.04rem;
    background: #e8f9f0;
    color: #1a8c4e;
    font-size: 0.14rem;
    text-align: center;
}

/* PC 端弹窗双栏布局 */
html[data-mode="pc"] .quote-modal__wrapper {
    flex-direction: row;
    width: 9.2rem;
    max-width: 92vw;
    max-height: 84vh;
    min-height: 5.2rem;
}

html[data-mode="pc"] .quote-modal__left {
    flex: 0 0 3.4rem;
    height: auto;
    min-height: 5.2rem;
}

html[data-mode="pc"] .quote-modal__title {
    left: 0.48rem;
    font-size: 0.44rem;
}

html[data-mode="pc"] .quote-modal__right {
    padding: 0.48rem 0.5rem;
}

html[data-mode="pc"] #quoteForm ul {
    column-gap: 0.15476rem;
    row-gap: 0.12rem;
}

html[data-mode="pc"] #quoteForm ul li {
    flex: 0 0 calc(50% - 0.07738rem);
}

html[data-mode="pc"] #quoteForm ul li:nth-child(5),
html[data-mode="pc"] #quoteForm ul li:nth-child(6) {
    flex: 1 1 100%;
}

html[data-mode="pc"] #quoteForm input {
    height: 0.6rem;
    padding: 0 0.16rem;
    font-size: 0.16rem;
}

html[data-mode="pc"] #quoteForm textarea {
    height: 2.1rem;
    padding: 0.16rem;
    font-size: 0.16rem;
}

html[data-mode="pc"] #quoteForm > p,
html[data-mode="pc"] #quoteForm .seventh__privacy {
    margin: 0.3rem 0 0.32rem;
    font-size: 0.14rem;
}

html[data-mode="pc"] #quoteForm button {
    width: 1.3rem;
    height: 0.46rem;
    font-size: 0.16rem;
}

/* ============================================================
   Mega Menu（Products 导航二级菜单）— 公共样式
   面板定位：header 为 fixed + transform，其 position: fixed 后代的
   包含块即 header，因此面板可相对整个导航条居中铺开

   设计规格（PC 1920 设计稿，1rem=100px）：
   - 面板：1920 × 673px（19.2rem × 6.73rem）
   - 左侧分类：上边距 64px / 左边距 60px
   - 分类文字：#333 / Gabarito / 24px / 700 / line-height 300%
   - 选中/悬浮：蓝色渐变文字
   - View More 按钮：高 40px / padding 10px 14px / 16px / 400
   ============================================================ */
.header__inner-nav-item--mega .mega-menu {
    position: fixed;
    top: 0.8rem;
    left: 50%;
    width: 19.2rem;
    height: 6.73rem;
    box-sizing: border-box;
    padding: 0.64rem 2.4rem 0.8rem 0.6rem;
    transform: translateX(-50%) translateY(0.14rem);
    display: flex;
    background: #fff;
    border-radius: 0.04rem;
    box-shadow: 0 0.24rem 0.6rem rgba(15, 33, 62, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s;
}

.header__inner-nav-item--mega:hover .mega-menu,
.header__inner-nav-item--mega.is-mega-open .mega-menu,
.header__inner-nav-item--mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* ---------- 左侧分类栏（宽 505px，无内边距） ---------- */
.mega-menu__cats {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 5.05rem;
    padding: 0;
    border-right: 1px solid #E8E8E8;
}

.mega-menu__cat {
    color: #333;
    font-family: Gabarito, sans-serif;
    font-size: 0.24rem;
    font-weight: 700;
    line-height: 3;
    text-decoration: none;
    text-transform: capitalize;
    transition: color 0.2s ease;
}

/* 选中 / 悬浮：蓝色渐变文字（仅分类项） */
.mega-menu__cat.is-active,
.mega-menu__cat:hover {
    color: #333 !important;
    background: linear-gradient(90deg, #00B8E2 0%, #0063C3 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.mega-menu__viewmore {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 0.08rem;
    height: 0.4rem;
    padding: 0.1rem 0.14rem;
    box-sizing: border-box;
    margin-top: auto;
    border: 1px solid #D9D9D9;
    border-radius: 0.2rem;
    color: #333;
    font-family: Gabarito, sans-serif;
    font-size: 0.16rem;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.mega-menu__viewmore:hover {
    color: #00B8E2 !important;
    border-color: #00B8E2;
}

.mega-menu__viewmore i {
    font-style: normal;
    font-size: 0.14rem;
}

/* ---------- 右侧产品网格（一行 4 个、item 宽 200px，超出可竖向滚动） ---------- */
.mega-menu__grid {
    flex: 1;
    min-height: 0;
    /* 左侧 padding 让网格与分类栏分隔线之间留出间距，避免紧贴 */
    padding: 0 0 0 0.4rem;
    overflow-y: auto;
}

/* 每个分类对应的产品面板：默认隐藏，激活分类时按一行 4 个网格展示 */
.mega-menu__panel {
    display: none;
    grid-template-columns: repeat(4, 200px);
    gap: 0.27rem 0.4rem;
    align-content: start;
    justify-content: start;
}

.mega-menu__panel.is-active {
    display: grid;
}

/* 商品网格竖向滚动条：宽 2px，滑块为蓝色渐变 */
.mega-menu__grid::-webkit-scrollbar {
    width: 2px;
}

.mega-menu__grid::-webkit-scrollbar-track {
    background: transparent;
}

.mega-menu__grid::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: linear-gradient(90deg, #00B8E2 0%, #0063C3 100%);
}

.mega-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    gap: 0.08rem;
    padding: 0;
    background: #fff;
    text-decoration: none;
}

.mega-menu__item:hover .mega-menu__item-media {
    border-color: #00B8E2;
}

.mega-menu__item-media {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid #E8E8E8;
    border-radius: 0.04rem;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.mega-menu__item-media img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-menu__item:hover .mega-menu__item-media img {
    transform: scale(1.06);
}

.mega-menu__item-name {
    color: #666;
    text-align: center;
    font-family: Gabarito, sans-serif;
    font-size: 0.16rem;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-menu__item:hover .mega-menu__item-name {
    color: #00B8E2;
}

/* .mega-menu__viewmore 尺寸（height/padding/font-size）与面板其他
   部分一致，无需单独覆盖，已随基础规则生效 */

/* ---------- H5 移动端：Mega Menu 隐藏（使用全屏菜单） ---------- */
html[data-mode="h5"] .mega-menu {
    display: none !important;
}

/* ---------- 导航二级下拉菜单（如 About Us → Our Company / Our Factory） ---------- */
.header__inner-nav-item--has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0.1rem);
    min-width: 2.1rem;
    padding: 0.12rem 0;
    background: #fff;
    border-radius: 0.08rem;
    box-shadow: 0 0.12rem 0.4rem rgba(15, 33, 62, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.header__inner-nav-item--has-dropdown:hover .nav-dropdown,
.header__inner-nav-item--has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__item {
    display: block;
    padding: 0.1rem 0.24rem;
    color: #333;
    font-family: Gabarito, sans-serif;
    font-size: 0.16rem;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown__item:hover {
    color: #00B8E2;
    background: #F5F8FB;
}

/* H5 移动端：下拉改为跟随展开的菜单纵向平铺 */
html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item--has-dropdown {
    flex-direction: column;
    align-items: stretch;
}

html[data-mode="h5"] .header__inner-nav.is-open .nav-dropdown {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0 0 0.1rem 0.2rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

html[data-mode="h5"] .header__inner-nav.is-open .nav-dropdown__item {
    padding: 0.12rem 0;
    font-size: 0.26rem;
        white-space: unset;
}

/* ---------- H5 顶部导航：汉堡菜单 + 全屏菜单（公共，原 index.css 移入） ---------- */
.menu-btn {
    display: none;
}

html[data-mode="h5"] .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.09rem;
    width: 0.44rem;
    height: 0.44rem;
    margin-left: auto;
    padding: 0;
    border: none;
    border-radius: 0.1rem;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

html[data-mode="h5"] .menu-btn span {
    display: block;
    width: 0.22rem;
    height: 0.03rem;
    border-radius: 0.03rem;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

html[data-mode="h5"] .header.is-scrolled .menu-btn {
    background: rgba(51, 51, 51, 0.08);
}

html[data-mode="h5"] .header.is-scrolled .menu-btn span {
    background: #333;
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(1) {
    transform: translateY(0.12rem) rotate(45deg);
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

html[data-mode="h5"] .menu-btn.is-open span:nth-child(3) {
    transform: translateY(-0.12rem) rotate(-45deg);
}

/* 移动端：隐藏桌面导航，保留搜索与 Get a Quote 等右侧按钮 */
html[data-mode="h5"] .header__inner-nav {
    display: none;
}

html[data-mode="h5"] .header__inner {
    justify-content: space-between;
}

html[data-mode="h5"] .logo {
    order: 1;
    margin-left: 0;
    margin-right: auto;
    flex-shrink: 0;
}

html[data-mode="h5"] .logo img {
    width: 1.1rem;
    height: auto;
}

html[data-mode="h5"] .header__inner-right {
    order: 2;
    margin-right: 0;
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.08rem;
}

html[data-mode="h5"] .menu-btn {
    order: 3;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: 0.08rem;
    margin-right: 0;
    flex-shrink: 0;
}

/* 右侧按钮统一不换行 */
html[data-mode="h5"] .header__inner-right-search,
html[data-mode="h5"] .header__inner-right-language,
html[data-mode="h5"] .header__inner-right-msg,
html[data-mode="h5"] .header__inner-right>a:last-child {
    flex-shrink: 0;
    white-space: nowrap;
}

html[data-mode="h5"] .header__inner-right-search {
    width: 0.36rem;
    height: 0.36rem;
    margin-right: 0;
}

html[data-mode="h5"] .header__inner-right-language {
    width: auto;
    min-width: 0.62rem;
    height: 0.36rem;
    padding: 0 0.08rem;
    margin-right: 0;
    font-size: 0.2rem;
}

html[data-mode="h5"] .header__inner-right-msg {
    height: 0.36rem;
    padding: 0 0.14rem;
    margin-right: 0;
    font-size: 0.2rem;
}

/* H5：隐藏搜索图标与 msg 按钮内图标 */
html[data-mode="h5"] .header__inner-right-search {
    display: none;
}

html[data-mode="h5"] .header__inner-right-msg img {
    display: none;
}

/* msg 按钮文案：PC 显示 Get a Quote，H5 显示 Quote */
.header__inner-right-msg .msg-text-short {
    display: none;
}

html[data-mode="h5"] .header__inner-right-msg .msg-text-full {
    display: none;
}

html[data-mode="h5"] .header__inner-right-msg .msg-text-short {
    display: inline;
}

html[data-mode="h5"] .header__inner-right>a:last-child {
    height: 0.36rem;
    padding: 0 0.14rem;
    margin-right: 0;
    font-size: 0.2rem;
}

/* 移动端：展开后的全屏下拉菜单 */
html[data-mode="h5"] .header__inner-nav.is-open {
    position: fixed;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 7.5rem;
    height: calc(100vh - 0.8rem);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.3rem 0.6rem 0.6rem;
    box-sizing: border-box;
    background: #fff;
    overflow-y: auto;
    animation: h5NavFadeIn 0.25s ease both;
}

@keyframes h5NavFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -0.2rem);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item {
    width: 100%;
    padding: 0.22rem 0;
    border-bottom: 0.01rem solid #f0f2f5;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item a {
    color: #333;
    font-size: 0.3rem;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item:active a,
html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item a:active {
    color: #00B8E2;
}

/* 当前页在 H5 菜单中与其他项保持一致，重置渐变文字与下划线 */
html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item.is-active a {
    color: #333;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: initial;
}

html[data-mode="h5"] .header__inner-nav.is-open .header__inner-nav-item.is-active::after {
    display: none;
}

/* ============================================================
   语言切换器（TranslatePress 插件结构，DOM 与源站输出一致）
   样式移植自：插件 trp-language-switcher-v2.css + 源站主题
   common.css 的覆盖规则（rem 化，PC 1920 设计稿基准）
   布局：ANCHOR 层流内撑起尺寸，OVERLAY 层绝对定位叠加交互
   ============================================================ */

/* 滚动后导航变白底，语言文字同步切换为深色（含旧版 EN 节点） */
.header.is-scrolled .header__inner-right-language {
    color: #333;
}

.header__inner-right-language--switcher {
    position: relative;
    width: auto;
    min-width: 0.72rem;
    padding: 0 0.16rem;
}

/* 插件 wrapper：下拉定位锚 */
.header__inner-right-language--switcher .trp-shortcode-switcher__wrapper {
    position: relative;
    border: none;
}

/* 插件 shortcode 开关基础样式：去除插件默认胶囊外观，跟随 header 胶囊 */
.header__inner-right-language--switcher .trp-shortcode-switcher {
    position: static;
    display: block;
    overflow: visible;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* OVERLAY 层：绝对定位叠加在 ANCHOR 之上（插件定位规则） */
.header__inner-right-language--switcher .trp-shortcode-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.header__inner-right-language--switcher .trp-language-item {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    min-height: 0.19rem;
    box-sizing: content-box;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* 主题同款：当前语言行隐藏旗帜与箭头，仅显示文字 */
.header__inner-right-language--switcher .trp-current-language-item__wrapper svg,
.header__inner-right-language--switcher .trp-current-language-item__wrapper img {
    display: none;
}

/* 旗帜（下拉列表内）：覆盖外层 .header__inner-right-language img 旧图标规则 */
.header__inner-right-language--switcher img.trp-flag-image {
    width: 0.18rem;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 0.1rem 0 0;
    border-radius: 0.02rem;
}

.header__inner-right-language--switcher .trp-language-item-name {
    color: inherit;
    font-size: inherit;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 下拉列表（主题覆盖：白底阴影 + hover 缩放展开） ---------- */
.header__inner-right-language--switcher .trp-switcher-dropdown-list {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 1.6rem;
    margin: 0;
    padding: 0.1rem;
    box-sizing: border-box;
    display: block;
    background: #fff;
    border-radius: 0.05rem;
    box-shadow: 0 0 0.1rem rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(0) scale(0);
    transform-origin: top center;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 9999;
}

.header__inner-right-language--switcher .trp-language-switcher:hover .trp-switcher-dropdown-list,
.header__inner-right-language--switcher .trp-language-switcher:focus-within .trp-switcher-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item {
    padding: 0.05rem 0.1rem;
    color: #333;
    font-size: 0.14rem;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item + .trp-language-item {
    margin-top: 0.05rem;
}

.header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item-name {
    color: #333;
    font-size: 0.14rem;
}

/* ---------- H5 移动端 ---------- */
html[data-mode="h5"] .header__inner-right-language--switcher {
    min-width: 0;
    padding: 0 0.14rem;
}

html[data-mode="h5"] .header__inner-right-language--switcher img.trp-flag-image {
    width: 0.24rem;
}

html[data-mode="h5"] .header__inner-right-language--switcher .trp-switcher-dropdown-list {
    min-width: 2.6rem;
    padding: 0.16rem;
}

html[data-mode="h5"] .header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item {
    padding: 0.08rem 0.12rem;
}

html[data-mode="h5"] .header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item,
html[data-mode="h5"] .header__inner-right-language--switcher .trp-switcher-dropdown-list .trp-language-item-name {
    font-size: 0.24rem;
}

