/* ============================================================
   Web Fonts
   ============================================================ */
@font-face {
    font-family: "Square Peg";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/SquarePeg-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Square Peg";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/SquarePeg-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* SFT Schrifted Sans TRIAL ExtraBold —— 仅试用授权，商用前需购买正式版
   不限定 font-weight，任何字重声明下都命中该文件，避免浏览器合成加粗 */
@font-face {
    font-family: "SFT Schrifted Sans TRIAL ExtraBold";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/SFTSchriftedSansTRIAL-ExtraBold.ttf") format("truetype");
}

/* ============================================================
   Design Tokens — 修改下面的根变量即可整体换肤
   ============================================================ */
:root {
    /* —— 品牌主色（要换主题,改这里) —— */
    --brand-primary: #003087;          /* 主蓝 */
    --brand-primary-hover: #00205e;    /* 主蓝 hover/active */
    --brand-secondary: #1d72c2;        /* 次级亮蓝 */
    --brand-accent: #4ec5e0;           /* 高亮青(下划线/装饰) */
    --brand-success: #2bb673;          /* CTA 绿 */
    --brand-success-hover: #239b62;    /* CTA 绿 hover */

    /* —— 中性灰阶 —— */
    --neutral-0:   #ffffff;   /* 纯白 — 页面/卡片背景 */
    --neutral-50:  #f8fafc;   /* 极浅灰 — 柔和背景 */
    --neutral-100: #f1f5f9;   /* 浅灰 — 弱化背景/分区底色 */
    --neutral-200: #e2e8f0;   /* 灰 — 默认边框 */
    --neutral-300: #cbd5e1;   /* 中浅灰 — 强调边框/分割线 */
    --neutral-400: #94a3b8;   /* 中灰 — 占位符/禁用文字 */
    --neutral-500: #64748b;   /* 中深灰 — 次要/辅助文字 */
    --neutral-600: #475569;   /* 深灰 — 图标/次级标题 */
    --neutral-700: #334155;   /* 炭灰 — 正文文字 */
    --neutral-800: #1e293b;   /* 深炭灰 — 深色背景/强调文字 */
    --neutral-900: #0f172a;   /* 近黑（蓝黑）— 标题文字 */

    /* —— 强调色板 —— */
    --color-orange:     #F08E43;   /* 橙色 */
    --color-blue:       #206CDE;   /* 蓝色 */
    --color-teal:       #6ED2C5;   /* 湖蓝 */
    --color-purple:     #9595D2;   /* 紫色 */
    --color-yellow:     #F2BA02;   /* 黄色 */
    --color-green-dark: #588E32;   /* 深绿色 */
    --color-navy:       #1B2E43;   /* 深藏青 — 深色版块背景 */
    --color-slate:      #636e72;   /* 石板灰 — 中性辅助文字/图标 */
    --color-ppink:      #D8C7B8;   /* 浅粉色 — 中性辅助文字/图标 */


    /* —— 语义化色彩(基于上面) —— */
    --color-bg:              var(--neutral-0);
    --color-bg-soft:         var(--neutral-50);
    --color-bg-muted:        var(--neutral-100);
    --color-surface:         var(--neutral-0);
    --color-surface-alt:     var(--neutral-50);
    --color-border:          var(--neutral-200);
    --color-border-strong:   var(--neutral-300);
    /* --color-text:            var(--neutral-700); */
    --color-text:            var(--color-slate);
    --color-text-heading:    var(--color-slate);
    /* --color-text-muted:      var(--neutral-500); */
    --color-text-muted:      var(--color-slate);
    --color-text-inverse:    var(--neutral-0);
    --color-link:            var(--brand-primary);
    --color-link-hover:      var(--brand-primary-hover);
    --color-brand-soft:      rgba(0, 48, 135, 0.08);
    --color-brand-soft-2:    rgba(0, 48, 135, 0.14);

    /* —— 渐变 —— */
    --gradient-brand:    linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    --gradient-brand-h:  linear-gradient(90deg,  var(--brand-primary) 0%, var(--brand-secondary) 100%);
    --gradient-success:  linear-gradient(135deg, var(--brand-success) 0%, #3ed28a 100%);
    --gradient-surface:  linear-gradient(180deg, #ffffff 0%, var(--neutral-50) 100%);

    /* —— 字体 —— */
    --font-sans: 'Poppins',system-ui,sans-serif;
    --font-sans-old: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue",
                 Arial, sans-serif;

    --font-nav: 'Poppins', system-ui, sans-serif;
    --font-nav-old: "SFT Schrifted Sans TRIAL ExtraBold", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue",
                 Arial, sans-serif;   /* 顶部导航专用字体 */
    --font-handwriting: "Square Peg", var(--font-sans);                   /* 手写体，供其它位置调用 */

    --fs-xs:   0.75rem;    /* 12 */
    --fs-sm:   0.875rem;   /* 14 */
    --fs-base: 1rem;       /* 16 */
    --fs-md:   1.125rem;   /* 18 */
    --fs-lg:   1.25rem;    /* 20 */
    --fs-xl:   1.5rem;     /* 24 */
    --fs-2xl:  1.875rem;   /* 30 */
    --fs-3xl:  2.25rem;    /* 36 */
    --fs-4xl:  3rem;       /* 48 */
    --fs-5xl:  3.75rem;    /* 60 */

    --fs-display: clamp(2rem, 3vw, 2.75rem);
    --fs-heading: clamp(1.4175rem, 2.106vw, 2.025rem);
    --fs-subheading: clamp(1.375rem, 2vw, 1.75rem);

    --fw-regular:   300;
    --fw-medium:    300;
    --fw-semibold:  300;
    --fw-bold:      400;
    --fw-extrabold: 400;

    --lh-tight:   1.15;
    --lh-snug:    1.3;
    --lh-base:    1.5;
    --lh-relaxed: 1.7;
    --lh-loose:   1.85;

    /* —— 间距(4px 基准) —— */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-7:  1.75rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-14: 3.5rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    --section-py:    clamp(2rem, 4.2vw, 3.5rem);
    --section-py-lg: clamp(4rem, 8vw, 6.5rem);
    --section-py-sm: clamp(2rem, 4vw, 3.25rem);

    /* —— 圆角 —— */
    --radius-xs:   4px;
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   14px;
    --radius-xl:   20px;
    --radius-2xl:  28px;
    --radius-pill: 999px;

    /* —— 阴影 —— */
    --shadow-xs:    0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm:    0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md:    0 8px 20px rgba(15, 23, 42, 0.07);
    --shadow-lg:    0 16px 36px rgba(15, 23, 42, 0.09);
    --shadow-xl:    0 24px 48px rgba(15, 23, 42, 0.11);
    --shadow-focus: 0 0 0 3px rgba(0, 48, 135, 0.18);
    --shadow-brand: 0 12px 28px rgba(0, 48, 135, 0.22);
    --shadow-success: 0 10px 22px rgba(43, 182, 115, 0.26);

    /* —— 过渡 —— */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* —— 兼容旧变量（让历史样式继续工作) —— */
    --nav-blue-start:        var(--brand-primary);
    --nav-blue-end:          var(--brand-secondary);
    --nav-accent:            var(--brand-accent);
    --nav-green-start:       var(--brand-success);
    --nav-green-end:         var(--brand-success-hover);
    --site-title-color:      var(--color-text-heading);
    --site-heading-color:    var(--color-text-heading);
    --site-body-color:       var(--color-text);
    --site-link-color:       var(--color-link);
    --site-link-hover-color: var(--color-link-hover);
}

/* ============================================================
   Base
   ============================================================ */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    font-weight: var(--fw-medium);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.first-section {
    padding: var(--section-py) 0 !important;
}
.pagination a.page-link[data-pagination-summary]{
    display: none !important;
}
img { max-width: 100%; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--brand-primary);
    font-family: var(--font-nav);
}

a {
    color: var(--color-link);
    transition: color var(--transition-fast);
    font-family: var(--font-nav);
}
.btn{
    font-family: var(--font-nav);
}
a:hover { color: var(--color-link-hover); }

::selection { background: var(--color-brand-soft-2); color: var(--color-text-heading); }

/* ============================================================
   Utilities — 字体 / 颜色 工具类（按需在模板中调用）
   ============================================================ */
/* —— 字体 —— */
.font-nav         { font-family: var(--font-nav) !important; }
.font-handwriting { font-family: var(--font-handwriting) !important; letter-spacing: normal !important; }

/* —— 文字颜色（对应强调色板） —— */
.color-orange     { color: var(--color-orange) !important; }
.color-blue       { color: var(--color-blue) !important; }
.color-teal       { color: var(--color-teal) !important; }
.color-purple     { color: var(--color-purple) !important; }
.color-yellow     { color: var(--color-yellow) !important; }
.color-green-dark { color: var(--color-green-dark) !important; }
.color-navy       { color: var(--color-navy) !important; }
.color-slate      { color: var(--color-slate) !important; }

/* ============================================================
   证书/合作伙伴无缝滚动卡(全站通用,JS 逻辑在 main.js)
   用法:.story-certificates-row > .story-certificate-card.story-certificate-slider.story-cp-slider > img*n
   ============================================================ */
.story-certificates-row {
    display: flex;
    align-items: stretch;   /* 多卡并排时等高 */
    gap: var(--space-4);
    width: 100%;
}

.story-certificate-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;                 /* 平分宽度 */
    height: var(--story-certificate-height, 120px);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.story-certificate-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.story-certificate-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-certificate-slider {
    position: relative;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}
.story-certificate-slider > img + img { display: none; }   /* JS 接管前只露第一张,防闪烁 */

/* —— 无缝滚动 marquee 轨道 —— */
.story-cp-slider { justify-content: flex-start; }
.cp-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    height: 100%;
    will-change: transform;
}
.cp-marquee-group {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-4) var(--space-8) var(--space-4) 0;   /* 上下边距:图片高度 = 卡片高度 - 2*边距;右侧留白保证两组无缝衔接 */
    height: 100%;
}
.cp-marquee-group img {
    display: block;
    height: 100%;
    width: auto;
    aspect-ratio: 16 / 9;   /* 统一 16:9 槽位,宽度由高度自动算出 */
    max-width: none;        /* 覆盖 .img-fluid 的 max-width:100% */
    object-fit: contain;    /* 非 16:9 原图在槽内完整显示,不裁切不变形 */
}

/* ============================================================
   Header / Top Bar
   ============================================================ */
.site-header-sticky {
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1030;
    transition: all .65s cubic-bezier(.165,.84,.44,1);
}


.site-header-sticky.is-scrolled .top-meta-bar {
    background: rgba(0, 32, 94, 0.88);
}

.site-header-sticky.is-scrolled .navbar-sonoco {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-lg);
}

.top-meta-bar {
    background: var(--brand-primary-hover);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-xs);
    line-height: 1;
    padding: 10px 0 9px;
}

.top-meta-bar a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    transition: color var(--transition-fast);
}
.top-meta-bar a:hover { color: var(--color-text-inverse); }

.top-meta-divider { opacity: 0.5; }

.navbar-sonoco {
    background-color: hsla(0, 0%, 100%, .8);
    box-shadow: 0 0 2.9rem 0 rgba(0, 0, 0, .07);
    min-height: 72px;
    transition: all .65s cubic-bezier(.165,.84,.44,1);
}

.navbar-sonoco .navbar-brand {
    color: var(--color-text-heading);
    font-weight: var(--fw-bold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: var(--space-7);
    max-width: 200px;
}

.navbar-sonoco .nav-logo-img {
    height: 55px;
    object-fit: contain;
    display: block;
    transition: filter var(--transition-base);
}

.navbar-sonoco .navbar-brand:hover .nav-logo-img {
    filter: drop-shadow(0 2px 6px rgba(0, 48, 135, 0.25));
}

.navbar-sonoco .brand-title {
    color: var(--color-text-heading);
    font-size: var(--fs-xl);
    line-height: 1;
    font-weight: var(--fw-bold);
}

.navbar-sonoco .nav-item { position: relative; }

.navbar-sonoco .nav-link {
    color: var(--color-text-heading) !important;
    font-family: var(--font-nav);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    line-height: 1;
    padding: 10px 25px !important;
    position: relative;
    letter-spacing: 0.2px;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast),
                background var(--transition-fast);
}

.navbar-sonoco .nav-link:hover {
    color: var(--brand-primary) !important;
    background: var(--color-brand-soft);
}

.navbar-sonoco .nav-link.active {
    color: var(--brand-primary) !important;
}

/* 下划线 — 共享药丸形 + 实色 brand-primary */
.navbar-sonoco .nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: var(--brand-primary);
    border-radius: var(--radius-pill);
    transform: translateX(-50%);
    transition: width var(--transition-base),
                height var(--transition-base),
                box-shadow var(--transition-base);
}

/* hover 与 active 同款形态:72% / 4px / 双层发光 */
.navbar-sonoco .nav-link:hover::before,
.navbar-sonoco .nav-link.active::before {
    width: 72%;
    height: 4px;
    /* box-shadow:
        0 0 10px rgba(0, 48, 135, 0.6),
        0 6px 18px rgba(0, 48, 135, 0.4); */
}

/* 仅 active 保留呼吸动画,标记"当前所在页" */
.navbar-sonoco .nav-link.active::before {
    /* animation: navActivePulse 3s ease-in-out infinite; */
}
.header-search-box{
    background-color: #fff;
    border-top: .3rem solid var(--color-link-hover);
    padding: 10px 15px;
    transition: all .3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    transform: translateY(110%);
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, .3);
}
.header-search-box.show{
    opacity: 1;
    visibility: visible;
}
@keyframes navActivePulse {
    0%, 100% {
        box-shadow:
            0 0 10px rgba(0, 48, 135, 0.55),
            0 6px 18px rgba(0, 48, 135, 0.35);
    }
    50% {
        box-shadow:
            0 0 14px rgba(0, 48, 135, 0.75),
            0 6px 22px rgba(0, 48, 135, 0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-sonoco .nav-link.active::before { animation: none; }
}

/* dropdown 父项的 Bootstrap caret 加一点过渡 */
.navbar-sonoco .nav-link.dropdown-toggle::after {
    margin-left: 6px;
    transition: transform var(--transition-fast);
}
.navbar-sonoco .nav-item.dropdown:hover > .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* 移动端独立的 chevron 展开按钮 — 桌面默认隐藏 */
.nav-mobile-toggle,
.dropdown-submenu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.nav-mobile-toggle {
    padding: 10px 16px;
    color: var(--color-text-heading);
}
.nav-mobile-toggle:hover,
.nav-mobile-toggle:focus { color: var(--brand-primary); outline: none; }

.dropdown-submenu-toggle {
    padding: 10px 18px;
    color: var(--color-text-muted);
}
.dropdown-submenu-toggle:hover,
.dropdown-submenu-toggle:focus { color: var(--brand-primary); outline: none; }

.nav-mobile-toggle i,
.dropdown-submenu-toggle i {
    transition: transform var(--transition-base);
}
.nav-mobile-toggle[aria-expanded="true"] i,
.dropdown-submenu-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.nav-mobile-toggle::after,
.dropdown-submenu-toggle::after { display: none !important; }

.nav-btn-resource {
    color: var(--color-text-inverse) !important;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    line-height: 1;
    padding: 10px 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background var(--transition-fast);
}
.nav-btn-resource:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-text-inverse);
}

.nav-btn-contact {
    color: var(--color-text-inverse) !important;
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    line-height: 1;
    padding: 11px 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-success);
    box-shadow: var(--shadow-success);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}
.nav-btn-contact:hover {
    color: var(--color-text-inverse);
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 12px 26px rgba(43, 182, 115, 0.34);
}

.nav-search-form {
    display: inline-flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    transition: border-color var(--transition-fast),
                box-shadow var(--transition-fast),
                background var(--transition-fast);
}
.nav-search-form:hover {
    border-color: var(--color-border-strong);
}
.nav-search-form:focus-within {
    border-color: var(--brand-primary);
    background: var(--neutral-0);
    box-shadow: var(--shadow-focus);
}

.nav-search-input {
    border: 0;
    outline: none;
    background: transparent;
    padding: 8px 14px;
    font-size: var(--fs-sm);
    color: var(--color-text-heading);
    width: 160px;
    min-width: 0;
    line-height: 1.2;
}
.nav-search-input::placeholder {
    color: var(--color-text-muted);
}
.nav-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.nav-search-btn {
    border: 0;
    background: transparent;
    color: var(--brand-primary);
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--fs-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-search-btn:hover,
.nav-search-btn:focus {
    color: var(--color-text-inverse);
    background: var(--brand-primary);
    outline: none;
}

.navbar-sonoco .navbar-toggler {
    border: 1px solid var(--color-border-strong);
    color: var(--color-text-heading);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
}
.navbar-sonoco .navbar-toggler:focus { box-shadow: none; }

.navbar-sonoco .dropdown { position: relative; }

.navbar-sonoco .dropdown:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    z-index: 1000;
}

.navbar-sonoco .dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 230px;
    padding: 8px 0;
    margin-top: 6px;
    z-index: 1001;
}

.is-soft {
    background: #f7f9fc !important;
}
.seo-geo-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 10px;
    padding: 24px;
}
.seo-geo-card p {
    font-size: 14px;
    color: #5f6d7b;
    margin-bottom: 0;
}
.seo-geo-card h3 {
    font-size: 18px;
    color: var(--color-primary, #003d8f);
    margin-bottom: 10px;
}
@media (max-width: 992px) {
    .site-header-sticky,.site-header-sticky.is-scrolled{
        opacity: 1 !important;
        visibility: visible !important;
    }
    .site-header-sticky .navbar-sonoco{
        background-color: #ffffff !important;
    }
}
/* 桌面端:fade + slide-down 动画 */
@media (min-width: 992px) {
    
    .navbar-sonoco .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        pointer-events: none;
        transition: opacity var(--transition-base),
                    transform var(--transition-base),
                    visibility 0s linear var(--transition-base);
    }
    .navbar-sonoco .dropdown:hover > .dropdown-menu,
    .navbar-sonoco .dropdown-menu.show,
    .navbar-sonoco .dropdown-submenu:hover > .dropdown-menu,
    .navbar-sonoco .dropdown-submenu.show > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity var(--transition-base),
                    transform var(--transition-base);
    }

    /* 子菜单方向是从右展开 — 用水平位移更自然 */
    .navbar-sonoco .dropdown-submenu > .dropdown-menu {
        transform: translateX(-8px);
    }
    .navbar-sonoco .dropdown-submenu:hover > .dropdown-menu,
    .navbar-sonoco .dropdown-submenu.show > .dropdown-menu {
        transform: translateX(0);
    }

    /* hover 桥接 — 在父项右侧伸出一条透明带,鼠标移动过 gap 时不丢 hover */
    .navbar-sonoco .dropdown-submenu > .dropdown-item::before {
        content: '';
        position: absolute;
        top: 0;
        right: -10px;
        width: 14px;
        height: 100%;
        background: transparent;
    }
}

.navbar-sonoco .dropdown-item {
    position: relative;
    font-family: var(--font-nav);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
    padding: 10px 18px 10px 22px;
    border-left: 3px solid transparent;
    transition: background var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                padding var(--transition-fast);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
}

.navbar-sonoco .dropdown-item.active,
.navbar-sonoco .dropdown-item:active,
.navbar-sonoco .dropdown-item:hover {
    color: var(--brand-primary);
    background: var(--color-brand-soft);
    border-left-color: var(--brand-primary);
    padding-left: 26px;
}

.dropdown-submenu { position: relative; }

.dropdown-submenu > .dropdown-menu {
    top: -6px;
    left: 100%;
    margin-left: 0;
    display: none;
}
.dropdown-submenu.show > .dropdown-menu { display: block; }

/* 桌面端才用 :hover 触发显示;移动端只认 .show 类,避免触屏后 hover 状态残留 */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu { display: block; }
}

.dropdown-submenu > .dropdown-item.active {
    color: var(--brand-primary);
    background: var(--color-brand-soft);
}

/* 子菜单方向指示:替换 Bootstrap caret 为 FA chevron-right */
.dropdown-submenu > .dropdown-item.dropdown-toggle::after {
    content: '\f054';
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 0.7em;
    border: 0;
    margin: 0;
    color: currentColor;
    transition: transform var(--transition-fast);
}

.dropdown-submenu:hover > .dropdown-item.dropdown-toggle::after,
.dropdown-submenu.show > .dropdown-item.dropdown-toggle::after {
    transform: translateX(3px);
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.site-breadcrumb-section {
    /* 默认配色;下一个 section 是 soft 底时通过 :has() 自动翻转 */
    --crumb-section-bg: var(--color-bg);
    --crumb-pill-bg: var(--color-bg-soft);

    padding: var(--space-6) 0 0;
    background: var(--crumb-section-bg);
}

/* 下一个 section 是 soft 底的页面:把面包屑底色也换成 soft,药丸翻成白色 */
.site-breadcrumb-section:has(+ .article-detail-section),
.site-breadcrumb-section:has(+ .contact-us-section),
.site-breadcrumb-section:has(+ .about-overview-section) {
    --crumb-section-bg: var(--color-bg-soft);
    --crumb-pill-bg: var(--color-surface);
}

.site-breadcrumb-wrap {
    padding: 0;
    display: inline-block;
}

.site-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 6px 14px;
    list-style: none;
    border-radius: var(--radius-pill);
    background: var(--crumb-pill-bg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
}

.site-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
}

/* Chevron separator between items */
.site-breadcrumb-item + .site-breadcrumb-item::before {
    content: '\f054';
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    margin: 0 var(--space-2);
    color: var(--color-border-strong);
    font-size: 0.7em;
}

/* Home icon prefix on first item's link */
.site-breadcrumb-item:first-child a::before {
    content: '\f015';
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    margin-right: var(--space-2);
    font-size: 0.95em;
    color: var(--brand-primary);
    transition: color var(--transition-fast);
}
.site-breadcrumb-item:first-child a:hover::before { color: var(--color-link-hover); }

.site-breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    color: var(--color-link);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.site-breadcrumb-item a:hover {
    color: var(--color-link-hover);
    background: var(--color-brand-soft);
}

.site-breadcrumb-item.is-current {
    padding: 3px 10px;
    color: var(--brand-primary);
    font-weight: var(--fw-semibold);
}
/* ============================================================
   Common Section Heads（统一标题排版）
   ============================================================ */
.section-header {
    max-width: 780px;
    margin: 0 auto var(--space-12);
    text-align: center;
}

.section-header.section-header-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-6);
    max-width: none;
    text-align: left;
}

.section-header.section-header-light .section-title,
.section-header.section-header-light .section-lead {
    color: var(--color-text-inverse);
}

.section-header.section-header-light .section-eyebrow {
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-text-inverse);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--color-brand-soft);
    color: var(--brand-primary);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
}

.section-title {
    margin: 0 0 var(--space-4);
    color: var(--brand-primary);
    font-size: var(--fs-display);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: -0.02em;
}

.section-lead {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-link);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    text-decoration: none;
    padding: 10px 22px;
    border: 1.5px solid var(--color-link);
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.section-link:hover {
    color: var(--color-text-inverse);
    background: var(--gradient-brand);
    border-color: transparent;
    box-shadow: var(--shadow-brand);
    transform: translateY(-2px);
}

/* ============================================================
   Contact form 通用样式
   ============================================================ */
.contact-us-title {
    margin: 0 0 var(--space-4);
    color: var(--brand-primary);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
}

.contact-us-text {
    margin: 0;
    color: var(--color-text);
    font-size: var(--fs-base);
    line-height: var(--lh-loose);
}

.contact-form-box { padding: 6px 0; }

.input-box { position: relative; }

.input-label {
    position: absolute;
    top: -4px;
    left: 0;
    z-index: 1;
    display: block;
    padding: 0 .5rem;
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: var(--fs-base);
    line-height: 1.4375em;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
    transform: translate(.5rem, 50%) scale(1);
    transition: color var(--transition-base), transform var(--transition-base), font-size var(--transition-base);
}

.common-contact-input {
    min-height: 42px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: none;
    color: #000;
    font-size: var(--fs-sm);
    background: var(--color-surface);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.common-contact-input:focus {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-focus);
}

.common-contact-input::placeholder {
    color: var(--color-text-muted);
    opacity: 1;
}

.common-contact-textarea {
    min-height: 120px;
    resize: vertical;
}

.common-contact-submit {
    min-width: 140px;
    padding: 0.72rem 1.4rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: var(--color-text-inverse);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    box-shadow: var(--shadow-brand);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.common-contact-submit:hover,
.common-contact-submit:focus {
    color: var(--color-text-inverse);
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 14px 32px rgba(0, 48, 135, 0.3);
}

.input-box:has(.common-contact-input:focus) .input-label,
.input-box:has(input:not(:placeholder-shown)) .input-label,
.input-box:has(textarea:not(:placeholder-shown)) .input-label,
.input-box:has(select:valid) .input-label {
    transform: translate(.5rem, -50%) scale(1);
    font-size: .8rem;
    color: var(--brand-primary);
}

input:not(:placeholder-shown),
textarea:not(:placeholder-shown),
.common-contact-input:focus,
.common-contact-input:focus-within,
select:valid {
    border-color: var(--brand-primary);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--neutral-100);
    color: var(--color-text-muted);
    font-size: var(--fs-base);
    border-top: 1px solid var(--color-border);
}

.footer-main-row { padding: var(--space-16) 0 var(--space-7); }

.footer-contact-col { max-width: 420px; }

.footer-heading {
    color: var(--brand-primary);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    line-height: var(--lh-base);
    margin-bottom: var(--space-5);
    letter-spacing: 0.01em;
}

.footer-links { margin-bottom: 0; }

.footer-links li {
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--brand-primary); }

.footer-contact-block { margin-bottom: var(--space-5); }

.footer-address-block p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: 1.6;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-contact-item a {
    display: block;
    color: var(--color-text-muted);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.footer-contact-item a:hover { color: var(--brand-primary); }

.footer-icon {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1;
    margin-right: var(--space-5);
    padding-top: 0.25rem;
    width: 1.2rem;
    flex: 0 0 auto;
}

.footer-bottom {
    padding: var(--space-7) 0 var(--space-8);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-7);
    gap: var(--space-7);
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    line-height: 1;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
    transition: color var(--transition-fast),
                background var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-base);
}
.footer-socials a:hover {
    color: var(--color-text-inverse);
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-brand);
}

.footer-copy-text {
    margin: 0;
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    text-align: center;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
    margin: var(--space-8) 0 0;
    gap: 6px;
}

.pagination .page-item { margin: 0; }

.pagination .page-link {
    color: var(--color-link);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-base);
    transition: all var(--transition-fast);
    min-width: 40px;
    text-align: center;
}

.pagination .page-link:not([data-pagination-summary]):hover {
    color: var(--color-text-inverse);
    background: var(--gradient-brand);
    border-color: var(--brand-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
}

.pagination .page-link:focus {
    box-shadow: var(--shadow-focus);
    z-index: 3;
}

.pagination .page-item.active .page-link {
    color: var(--color-text-inverse);
    background: var(--gradient-brand);
    border-color: var(--brand-secondary);
    font-weight: var(--fw-bold);
    box-shadow: var(--shadow-brand);
    cursor: default;
}
.pagination .page-item.active .page-link:hover { transform: none; }

.pagination .page-item.disabled .page-link {
    color: var(--color-text-muted);
    background: var(--color-bg-muted);
    border-color: var(--color-border);
    cursor: not-allowed;
    opacity: 0.6;
}
.pagination .page-item.disabled .page-link:hover {
    color: var(--color-text-muted);
    background: var(--color-bg-muted);
    border-color: var(--color-border);
    transform: none;
    box-shadow: none;
}

.pagination .page-item .page-link[data-pagination-summary] {
    color: var(--color-text);
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    cursor: default;
}
.pagination .page-item .page-link[data-pagination-summary]:hover {
    color: var(--color-text);
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}
.pagination .page-item .page-link[data-pagination-summary] b {
    color: var(--brand-primary);
    font-weight: var(--fw-bold);
}

.pagination .page-item .page-link input[type="text"] {
    width: 48px;
    padding: 4px 6px;
    margin: 0 4px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--brand-primary);
    background: var(--color-surface);
    transition: all var(--transition-fast);
    vertical-align: baseline;
}
.pagination .page-item .page-link input[type="text"]:hover { border-color: var(--brand-primary); }
.pagination .page-item .page-link input[type="text"]:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-focus);
    background: var(--color-bg-soft);
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-weight: var(--fw-semibold);
}

/* ============================================================
   Listing Page Components
   —— 共享给 product/list.php 与 page/markets-detail.html
   ============================================================ */

/* —— Hero Banner（限定为产品 / markets 详情;不影响首页 hero） —— */
.banner:has(.product-banner) {
    padding: var(--space-7) 0 var(--space-8);
    background: var(--color-bg);
}

.product-banner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: stretch;
}
.product-banner.market-banner{
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
}
.product-banner > .product-banner-content {  }
.product-banner > .product-banner-image   {  }

.story-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 144px;
    width: fit-content;
    padding: 0.72rem 1.5rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: var(--color-text-inverse);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    text-transform: none;
    text-decoration: none;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                filter var(--transition-fast),
                gap var(--transition-fast);
}
.story-btn:hover,
.story-btn:focus {
    background: var(--gradient-brand);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
    filter: brightness(1.06);
    gap: var(--space-3);
}
.market-label ul{
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.market-label ul li{
    display: flex;
    gap: 3px;
    position: relative;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid #2bb673;
    color: #01934c;
    font-weight: bold;
    font-size: 12px;
    background: #d9f5e7;
}
.market-label ul li::before{
    content: "✓";
}
.market-serve-box{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.marker-serve-item{
    background: #fff;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.serve-label{
    padding: var(--space-1) var(--space-3);
    border-radius: 5px;
    font-size: 12px;
}
.serve-title{
    font-weight: bold;
}
.serve-content{
    color: var(--color-text);
    font-size: var(--fs-base);
    line-height: var(--lh-loose);
}
.serve-content ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.serve-content ul li{
    position: relative;
}
.serve-content ul li b{
    font-weight: bold;
}
.serve-content ul li::before{
    content: "✓";
    color: #2bb673;
    padding-right: 10px;
    font-weight: bold;
}
.market-app-box{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.marker-app-item.partner-advantage-card{
    flex-direction: column;
    padding: 0;
    gap: 0;
    overflow: hidden;
}
.marker-app-item .app-text{
    padding: var(--space-5);
}
.marker-app-item .app-text b{
    font-weight: bold;
}
.marker-app-item .product-icon{
    top: unset;
    width: 50px;
}
.app-product{
    display: flex;
    gap: 5px;
}
.app-product a{
    text-decoration: none;
}
.oem-box{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.oem-item{
    flex-direction: column;
    padding: var(--space-6);
    gap: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    min-height: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.oem-item:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.oem-item .icon{
    width: 50px;
    aspect-ratio: 1 / 1;
    background: #E2EAFC;
    color: var(--brand-primary);
    font-size: 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
}
.oem-title{
    font-size: var(--fs-md);
}
.story-box{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--brand-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}
.story-box .story-item{
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.story-box .story-item .story-title{
    color: #ffffff;
    font-weight: bold;
    font-size: var(--fs-heading);
}
.market-form .input-label{
    position: relative;
    top: 0;
    transform: none !important;
    display: inline-block;
    color: #000 !important;
    font-size: 1rem !important;
    font-weight: 500;
}
.market-form .input-label span{
    color: var(--bs-danger);
    margin-left: 5px;
}
.market-form-box{
    background: #ffffff;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
}
.market-contact-box{
    background: #1E4494;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.market-contact-box-title{
    color: #ffffff;
    font-size: var(--fs-subheading);
}
#whatBtn{
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding:var(--space-3) var(--space-6);
    color: #ffffff;
    border: 0;
    border-radius: 10000px;
    background-color: #25D366;
    font-size: 1.2rem;
}
.market-contact-box .footer-icon{
    opacity: .7;
}
.market-contact-box .box-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.market-contact-box .box-list li{
    background: #395BA1;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.product-banner-content {
    min-height: 320px;
    padding: var(--space-8);
}

.product-banner-heading { padding: 0; }

.product-banner-title {
    margin: 0 0 var(--space-5);
    color: var(--brand-primary);
    font-size: var(--fs-heading);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: -0.015em;
}

.product-banner-description { padding: 0; }
.product-banner-description p {    
    color: var(--color-text);
    font-size: var(--fs-base);
    line-height: var(--lh-relaxed);
}
.product-banner-description b,.product-banner-description strong{
  font-weight: 700;
}
.product-banner-image {
    min-height: 320px;
    max-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.product-banner-image img { display: block; border-radius: var(--radius-lg);}

/* —— Product Cards —— */
.product-list-section {
    padding: var(--section-py) 0;
    background: var(--color-bg);
}
.product-list.font-handwriting{
    font-size: clamp(0.85rem, 4vw + 1rem, 1.872rem) !important;
}
.product-list-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}
.product-list-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.product-list-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--color-bg-soft);
}

.product-list-image img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.product-list-card:hover .product-list-image img { transform: scale(1.05); }

.product-list-detail-icon {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-success);
    color: var(--color-text-inverse);
    font-size: 1rem;
    box-shadow: var(--shadow-success);
    transition: transform var(--transition-fast);
}
.product-list-card:hover .product-list-detail-icon { transform: scale(1.08); }

.product-text {
    display: flex;
    gap: var(--space-3);
    position: relative;
    padding: var(--space-3) var(--space-4);
}

.product-icon {
    width: 60px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    top: -25px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.product-icon img { width: 100%; }

.product-list-name {
    margin: 0;
    text-align: left;
    color: var(--color-text-inverse);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    line-height: 1.35;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 80px);
}

.product-list-name a {
    color: var(--color-text-inverse);
    text-decoration: none;
    text-transform: capitalize;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    letter-spacing: 0.02em;
}

/* —— Cat-attr / Page-attr info strip —— */
.pp-info {
    border-radius: var(--radius-lg);
    /*background: var(--color-bg-muted) !important;*/
}
.pp-info .img { width: 100px; }
.pp-info .info {
    width: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pp-info .info h4 {
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    color: var(--brand-primary);
    margin: 0 0 var(--space-1);
}
.pp-info .info h5 {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin: 0;
    font-weight: var(--fw-regular);
}

/* —— Partner Advantages —— */
.partner-advantages-section {
    padding: var(--section-py) 0;
    background: var(--color-bg-soft);
}

.contact-form-section {
    padding: var(--section-py) 0;
    background: var(--color-bg);
}

/* ============================================================
   Stat Cards —— 全局通用组件（首页 story / About / 等多处复用）
   ============================================================ */
.story-stats-grid { margin: 0; }

.story-stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 100%;
    padding: var(--space-2) var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    text-align: left;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.story-stat-card::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-brand-soft);
    opacity: 0.6;
    transition: transform var(--transition-base);
}
.story-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.story-stat-card:hover::before { transform: scale(1.4); }

.story-stat-card--featured {
    background: var(--gradient-brand);
    border-color: transparent;
    box-shadow: var(--shadow-brand);
}
.story-stat-card--featured::before {
    background: rgba(255, 255, 255, 0.18);
    opacity: 1;
}
.story-stat-card--featured:hover { box-shadow: 0 18px 36px rgba(0, 48, 135, 0.35); }

.story-stat-card--featured .story-stat-icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-text-inverse);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.story-stat-card--featured .story-stat-number {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--color-text-inverse);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.story-stat-card--featured .story-stat-label {
    color: rgba(255, 255, 255, 0.92);
    font-weight: var(--fw-bold);
}

.story-stat-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-3);
    background: var(--gradient-brand);
    color: var(--color-text-inverse);
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-brand);
    z-index: 1;
}

.story-stat-number {
    position: relative;
    display: block;
    margin-bottom: var(--space-1);
    color: var(--color-text-heading);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 1;
}

.story-stat-label {
    position: relative;
    display: block;
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
    font-weight: var(--fw-semibold);
    z-index: 1;
}

.partner-advantages-head {
    margin: 0 auto var(--space-12);
    text-align: center;
    max-width: 760px;
}

.partner-advantages-title {
    margin: 0 0 var(--space-4);
    color: var(--brand-primary);
    font-size: var(--fs-heading);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: -0.015em;
}

.partner-advantages-text {
    margin: 0;
    color: var(--color-text);
    font-size: var(--fs-base);
    line-height: var(--lh-loose);
}

.partner-advantage-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    min-height: 100%;
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}
.partner-advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.partner-advantage-icon {
    position: relative;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
}

.partner-advantage-shape,
.partner-advantage-shape::before,
.partner-advantage-shape::after {
    position: absolute;
    content: '';
    display: block;
}

.partner-advantage-icon-ring .partner-advantage-shape {
    inset: 0;
    border: 10px solid var(--brand-success);
    border-radius: 50%;
}
.partner-advantage-icon-ring .partner-advantage-shape::after {
    inset: 22px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.partner-advantage-icon-orbit .partner-advantage-shape {
    inset: 8px;
    border-radius: 50%;
    background: conic-gradient(var(--brand-primary) 0 145deg,
                               var(--brand-success) 145deg 270deg,
                               var(--color-surface) 270deg 360deg);
}
.partner-advantage-icon-orbit .partner-advantage-shape::before {
    width: 14px; height: 14px;
    top: 6px; left: 5px;
    border-radius: 50%;
    background: var(--brand-primary);
}
.partner-advantage-icon-orbit .partner-advantage-shape::after {
    width: 20px; height: 20px;
    top: 19px; left: 24px;
    border-radius: 50%;
    background: var(--color-surface);
}

.partner-advantage-icon-dot .partner-advantage-shape {
    inset: 6px;
    border-radius: 50%;
    background: var(--brand-success);
}
.partner-advantage-icon-dot .partner-advantage-shape::after {
    inset: 16px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.partner-advantage-icon-leaf .partner-advantage-shape {
    inset: 4px;
    border-radius: 50%;
    background: conic-gradient(var(--brand-primary) 0 180deg, var(--brand-success) 180deg 360deg);
}
.partner-advantage-icon-leaf .partner-advantage-shape::after {
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: var(--color-surface);
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.partner-advantage-icon-ring-dot .partner-advantage-shape {
    inset: 0;
    border: 10px solid var(--brand-success);
    border-radius: 50%;
}
.partner-advantage-icon-ring-dot .partner-advantage-shape::after {
    width: 12px; height: 12px;
    top: 28px; left: 28px;
    border-radius: 50%;
    background: var(--color-surface);
}

.partner-advantage-icon-corner-dot .partner-advantage-shape {
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 72% 72%, var(--color-surface) 0 34%, transparent 35%),
                conic-gradient(from 0deg, var(--brand-success) 0 270deg, transparent 270deg 360deg);
}
.partner-advantage-icon-corner-dot .partner-advantage-shape::after {
    width: 14px; height: 14px;
    right: 10px; bottom: 10px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.partner-advantage-content { flex: 1 1 auto; }

.partner-advantage-title {
    margin: 0 0 var(--space-3);
    color: var(--brand-primary);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    line-height: 1.35;
}

.partner-advantage-text {
    margin: 0;
    color: var(--color-text);
    font-size: var(--fs-sm);
    line-height: var(--lh-loose);
}

.product-faq-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 22px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: var(--color-text-inverse);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    line-height: 1;
    box-shadow: var(--shadow-brand);
    cursor: pointer;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                filter var(--transition-fast);
}
.product-faq-toggle:hover {
    color: var(--color-text-inverse);
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 16px 32px rgba(0, 48, 135, 0.3);
}
.product-faq-toggle i { font-size: 1rem; }

.product-faq-panel {
    position: absolute;
    top: 45px;
    width: 400px;
    max-width: 92vw;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    z-index: 10;
}
.product-faq-panel[hidden] { display: none; }

.product-faq-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--gradient-brand);
    color: var(--color-text-inverse);
}
.product-faq-panel-title {
    margin: 0;
    color: var(--color-text-inverse);
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    line-height: var(--lh-snug);
}
.product-faq-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-text-inverse);
    cursor: pointer;
    transition: background var(--transition-fast);
}
.product-faq-panel-close:hover { background: rgba(255, 255, 255, 0.32); }

.product-faq-panel-body {
    overflow-y: auto;
    padding: var(--space-4);
}

.product-faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-faq-item + .product-faq-item { margin-top: var(--space-2); }

.product-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text-heading);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast),
                border-color var(--transition-fast),
                color var(--transition-fast);
}
.product-faq-question:hover { background: var(--color-bg-soft); }
.product-faq-question i {
    flex-shrink: 0;
    color: var(--brand-primary);
    transition: transform var(--transition-fast);
}
.product-faq-question[aria-expanded="true"] {
    background: var(--color-brand-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.product-faq-question[aria-expanded="true"] i { transform: rotate(180deg); }

.product-faq-answer {
    padding: var(--space-3);
    color: var(--color-text);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
}
.product-faq-answer[hidden] { display: none; }

@media (max-width: 575.98px) {
    .product-faq-widget {
        right: var(--space-3);
        bottom: var(--space-3);
    }
    .product-faq-panel { width: 300px; }
}


@media (max-width: 991.98px) {
    .product-banner-title { font-size: var(--fs-xl); }
    .product-banner-content { min-height: 240px; padding: var(--space-6); }
    .product-banner-image { border-left: 0; min-height: 240px; }
    .partner-advantages-title { font-size: var(--fs-xl); }
    .story-certificates-row { flex-direction: column; }
    .story-certificate-card { flex: 0 0 auto; height: 200px; }
    .product-banner,.product-banner.market-banner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-banner > .product-banner-content,
    .product-banner > .product-banner-image { grid-column: 1; }
    .market-app-box{
        grid-template-columns: repeat(2, 1fr);
    }
    .oem-box,.story-box{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 991.98px) {
    .navbar-sonoco .brand-title { font-size: var(--fs-lg); }

    .navbar-sonoco .nav-link {
        font-size: var(--fs-md);
        padding: 10px 12px !important;
    }

    /* 移动端纵向排列,横向下划线不合适 — 隐藏 */
    .navbar-sonoco .nav-link::before { display: none; }

    /* dropdown 父项 hover 时不再翻转 caret(避免误触) */
    .navbar-sonoco .nav-item.dropdown:hover > .nav-link.dropdown-toggle::after { transform: none; }
    /* 移动端文字链旁边的 Bootstrap caret 也不需要了 — chevron 按钮替代 */
    .navbar-sonoco .nav-link.dropdown-toggle::after { display: none; }

    /* 让 nav-link 与 chevron 按钮并排;dropdown-menu 在下行铺满 */
    .navbar-sonoco .nav-item.dropdown {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .navbar-sonoco .nav-item.dropdown > .nav-link {
        flex: 1 1 auto;
    }
    .navbar-sonoco .nav-mobile-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 1rem;
    }
    .navbar-sonoco .nav-item.dropdown > .dropdown-menu {
        flex-basis: 100%;
        opacity: .95;
    }

    .nav-btn-resource,
    .nav-btn-contact { width: 100%; }

    .nav-search-form { width: 100%; }
    .nav-search-input { flex: 1 1 auto; width: auto; }

    .navbar-sonoco .dropdown:hover::before { display: none; }

    /* 移动端 dropdown-menu 沿用 Bootstrap 折叠展示 */
    .navbar-sonoco .dropdown-menu {
        margin-top: 4px;
        box-shadow: none;
        border-color: var(--color-border);
        background: var(--color-bg-soft);
    }

    /* 移动端 dropdown-submenu 也用 flex 排版：链接 + chevron 按钮并排,子菜单 100% 落下行 */
    .dropdown-submenu {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .dropdown-submenu > .dropdown-item {
        flex: 1 1 0;
        width: auto;  /* 覆盖 Bootstrap 默认 width: 100% */
        min-width: 0; /* 允许文本省略 */
    }
    .navbar-sonoco .dropdown-submenu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 0.85rem;
    }
    /* 桌面那个 FA chevron-right 装饰在移动端就不需要了 — 按钮自带 chevron */
    .dropdown-submenu > .dropdown-item.dropdown-toggle::after { display: none; }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        flex-basis: 100%;
        margin: 0;
        box-shadow: none;
        min-width: 0;
    }

    .site-breadcrumb-section { padding-top: var(--space-3); }
    .site-breadcrumb-item { font-size: var(--fs-sm); }

    .contact-us-title { font-size: var(--fs-2xl); }

    .footer-main-row { padding: var(--space-12) 0 var(--space-5); }
    .footer-contact-col { max-width: none; }
    .footer-heading { font-size: var(--fs-md); margin-bottom: var(--space-4); }
}

@media (max-width: 767.98px) {
    .section-header { margin-bottom: var(--space-12); }
    .section-header.section-header-split {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-title { font-size: var(--fs-3xl); }
    .section-lead { font-size: var(--fs-base); }
    .story-stat-card { padding: var(--space-5) var(--space-4); }
    .story-stat-icon { width: 38px; height: 38px; font-size: 1rem; }
    .story-stat-number { font-size: var(--fs-xl) !important; }
    .story-stat-label { font-size: var(--fs-xs); }

    .footer-main-row { padding: var(--space-10) 0 var(--space-3); }
    .footer-contact-block { margin-bottom: var(--space-5); }
    .footer-icon { margin-right: var(--space-3); }
    .footer-bottom { padding: var(--space-5) 0 var(--space-7); }
    .footer-socials { gap: var(--space-5); margin-bottom: var(--space-5); }
    .footer-socials a { width: 40px; height: 40px; font-size: 1rem; }

    .pagination { gap: 4px; flex-wrap: wrap; }
    .pagination .page-link { padding: 6px 10px; font-size: var(--fs-sm); min-width: 36px; }
    .pagination .page-item .page-link[data-pagination-summary] {
        font-size: var(--fs-xs);
        padding: 6px 8px;
        flex-basis: 100%;
        text-align: center;
        margin-top: 8px;
    }
    .pagination .page-item .page-link input[type="text"] { width: 42px; font-size: var(--fs-xs); }

    .cp-marquee-group{
        gap: var(--space-2);
        padding: var(--space-2) var(--space-2) var(--space-2) 0;
    }
    .cp-marquee-group img{
      height: 50px;
    }
}

@media (max-width: 575.98px) {
    .banner:has(.product-banner) { padding: var(--space-4) 0 var(--space-6); }
    .product-banner-content { padding: var(--space-5); min-height: 200px; }
    .product-banner-title { font-size: var(--fs-lg); }
    .product-banner-description p { font-size: var(--fs-sm); }

    .product-list-detail-icon { width: 34px; height: 34px; font-size: 0.9rem; }
    .product-list-name { font-size: var(--fs-base); }

    .partner-advantages-head { margin-bottom: var(--space-6); }
    .partner-advantages-title { font-size: var(--fs-lg); }
    .partner-advantages-text { font-size: var(--fs-sm); line-height: 1.75; }

    .partner-advantage-card { gap: var(--space-4); padding: var(--space-5); }
    .partner-advantage-icon { flex-basis: 56px; width: 56px; height: 56px; }
    .partner-advantage-title { font-size: var(--fs-base); }
    .partner-advantage-text { font-size: var(--fs-sm); line-height: 1.8; }
    .market-app-box,.market-serve-box,.oem-box,.story-box{
        grid-template-columns: repeat(1, 1fr);
    }
    .contact-us-title { font-size: var(--fs-xl); }
    .contact-us-text { font-size: var(--fs-sm); line-height: 1.75; }
    .pagination .page-link { padding: 5px 8px; font-size: var(--fs-xs); min-width: 32px; }
    .pagination .page-item .page-link input[type="text"] { width: 38px; padding: 3px 4px; font-size: 12px; }
    .story-certificates-row { gap: var(--space-3); }
    .story-certificate-card { padding: var(--space-2); height: 80px; }   
    .site-breadcrumb {
        padding: 4px 10px;
    }
    .site-breadcrumb-item { font-size: var(--fs-xs); }
    .site-breadcrumb-item a,
    .site-breadcrumb-item.is-current { padding: 2px 8px; }
    .site-breadcrumb-item + .site-breadcrumb-item::before {
        margin: 0 var(--space-1);
    }
    .section-eyebrow { font-size: 0.65rem; padding: 5px 12px; }
    .section-title { font-size: var(--fs-2xl); }
    .section-lead { font-size: var(--fs-sm); }
}
