/* =================== CSS Variables =================== */
:root {
    --primary: #C8102E;
    --primary-dark: #9B0E23;
    --primary-light: #E63946;
    --primary-soft: #FDF2F4;
    --secondary: #F8F4F0;
    --dark: #1A1A1A;
    --text: #333333;
    --text-light: #666666;
    --gray: #999999;
    --light-gray: #F5F5F5;
    --border: #E5E5E5;
    --white: #FFFFFF;
    --green: #4A7C59;
    --gold: #C9A961;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 100%; /* 100% 自适应模式: 内容随视口宽度铺满,不再限制在固定宽度内 */
}

/* =================== Reset & Base =================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 2.5vw, 48px); }

/* =================== Navigation =================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border);
}

/* Transparent state (at top of page): white text for dark hero background */
.navbar:not(.scrolled) .nav-link { color: var(--white); }
.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active { color: var(--primary-light); }
.navbar:not(.scrolled) .nav-search-btn { color: var(--white); }
.navbar:not(.scrolled) .nav-search-btn:hover { color: var(--primary-light); }
.navbar:not(.scrolled) .logo-en { color: rgba(255,255,255,0.7); }
.navbar:not(.scrolled) .lang { color: rgba(255,255,255,0.7); }
.navbar:not(.scrolled) .lang.active { color: var(--white); }
.navbar:not(.scrolled) .lang:hover { color: var(--primary-light); }
.navbar:not(.scrolled) .lang-divider { color: rgba(255,255,255,0.4); }
.navbar:not(.scrolled) .nav-toggle span { background: var(--white); }

/* Scrolled state: dark text on white background */
.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--primary); }
.navbar.scrolled .nav-search-btn { color: var(--text); }
.navbar.scrolled .nav-search-btn:hover { color: var(--primary); }
.navbar.scrolled .logo-en { color: var(--text-light); }
.navbar.scrolled .nav-toggle span { background: var(--text); }

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(16px, 2.5vw, 48px);
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 242px;
    height: 71px;
    flex-shrink: 0;
}
.nav-logo img {
    width: 242px;
    height: 71px;
    object-fit: contain;
    display: block;
}
.logo-icon { display: flex; }
.nav-logo svg { width: 48px; height: 48px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-cn { font-size: 26px; font-weight: 900; color: var(--primary); letter-spacing: 2px; }
.logo-en { font-size: 11px; font-weight: 500; color: var(--text-light); letter-spacing: 3px; text-transform: uppercase; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    transition: var(--transition);
    border-radius: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.arrow {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: var(--transition);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px; height: 14px;
    background: var(--white);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}
.dropdown-menu li a:hover {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 26px;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .arrow { transform: rotate(180deg); }

/* Mega dropdown (image + text) */
.mega-menu {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 1160px;
    max-width: calc(100vw - 48px);
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    border-radius: 12px;
    border-top: 3px solid var(--primary);
}
.mega-menu::before { display: none; }
.mega-menu li { margin: 0; }
.mega-menu li a {
    padding: 0;
    font-size: 14px;
    color: var(--text);
}
.mega-menu li a:hover { padding-left: 0; }
.mega-item {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: #FAFAFA;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.mega-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--white);
}
.mega-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.mega-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px 10px;
}
.mega-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.mega-desc {
    font-size: 10px;
    line-height: 1.5;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mega-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}
.mega-item:hover .mega-title { color: var(--primary); }
.mega-item:hover .mega-img img { transform: scale(1.08); }
.nav-dropdown:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-search-btn {
    background: none; border: none; cursor: pointer;
    color: var(--text); padding: 6px;
    transition: var(--transition);
    display: flex;
}
.nav-search-btn:hover { color: var(--primary); }

.lang-switch {
    display: flex; align-items: center; gap: 2px;
    font-size: 13px; font-weight: 500;
}
.lang { cursor: pointer; color: var(--text-light); transition: var(--transition); padding: 2px 4px; }
.lang.active { color: var(--primary); font-weight: 700; }
.lang:hover { color: var(--primary); }
.lang-divider { color: var(--gray); }

/* Search Bar */
.search-bar {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}
.search-bar.active { max-height: 80px; padding: 20px 0; }
.search-bar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(16px, 2.5vw, 48px);
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-bar-inner input {
    flex: 1;
    border: none;
    border-bottom: 2px solid var(--border);
    padding: 12px 0;
    font-size: 16px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}
.search-bar-inner input:focus { border-bottom-color: var(--primary); }
.search-submit, .search-close {
    background: none; border: none; cursor: pointer;
    color: var(--text); padding: 6px; display: flex;
    transition: var(--transition);
}
.search-submit:hover { color: var(--primary); }
.search-close:hover { color: var(--primary); }

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =================== Hero =================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-slides {
    position: absolute;
    inset: 0;
    display: flex;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}
.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(16px, 2.5vw, 48px);
    color: var(--white);
}
.hero-tag {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.3s forwards;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-title {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 32px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.35);
    opacity: 0;
    animation: fadeInUp 0.8s 0.5s forwards;
}
.hero-title span { color: #FFD700; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hero-products {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.7s forwards;
}
.hero-products li {
    font-size: 16px;
    font-weight: 500;
    padding-left: 18px;
    position: relative;
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero-products li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
}
.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid var(--primary);
    opacity: 0;
    animation: fadeInUp 0.8s 0.9s forwards;
}
.hero-btn:hover {
    background: transparent;
    border-color: var(--white);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px; height: 52px;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.2);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.hero-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}
.hero-prev { left: 30px; }
.hero-next { right: 30px; }

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}
.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.6);
}
.dot.active {
    background: var(--primary);
    border-color: var(--white);
    width: 32px;
    border-radius: 6px;
}

/* =================== Section Common =================== */
section { position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-sub {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.section-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}
.section-desc {
    font-size: 15px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    color: var(--primary);
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-weight: 500;
}
.section-tag.light { color: rgba(255,255,255,0.8); }

/* =================== Products =================== */
.products { padding: 100px 0; background: var(--secondary); }

/* 产品分类：单行横向轮播，左右箭头切换（仅首页） */
.cat-carousel { position: relative; }
.cat-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.cat-arrow:hover { background: var(--primary); color: var(--white); }
.cat-arrow.prev { left: -12px; }
.cat-arrow.next { right: -12px; }

.product-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 90px) / 4);
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 12px 4px 4px;
    margin: -12px -4px -4px;
}
.product-grid::-webkit-scrollbar { display: none; }

.product-card {
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--light-gray);
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-img img { transform: scale(1.1); }

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(200,16,46,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay span {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 28px;
    border: 2px solid var(--white);
    border-radius: 30px;
    transform: translateY(20px);
    transition: var(--transition);
}
.product-card:hover .product-overlay span { transform: translateY(0); }

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 6px;
}
.product-card p {
    font-size: 13px;
    color: var(--text-light);
    padding-bottom: 20px;
}

.product-card-more {
    border: 2px dashed var(--border);
    background: transparent;
    box-shadow: none;
}
.product-card-more:hover { border-color: var(--primary); border-style: solid; }
.product-more-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    aspect-ratio: 4 / 3;
}

/* =================== Thin Salt =================== */
.thin-salt {
    padding: 120px 0;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF0F0 100%);
    overflow: hidden;
}
.thin-salt-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.thin-salt-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 24px;
}
.thin-salt-slogan {
    font-size: 20px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 36px;
    line-height: 1.6;
}
.thin-salt-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
}
.thin-salt-btn:hover {
    background: var(--primary);
    color: var(--white);
}
.thin-salt-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.thin-salt-image img {
    width: 100%;
    aspect-ratio: 7/6;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.thin-salt-image:hover img { transform: scale(1.05); }

/* =================== About =================== */
.about { padding: 100px 0; }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.about-image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.badge-year { display: block; font-size: 28px; font-weight: 900; line-height: 1; }
.badge-text { display: block; font-size: 12px; opacity: 0.9; margin-top: 4px; }

.about-text p {
    font-size: 15px;
    color: var(--text);
    line-height: 2;
    margin-bottom: 16px;
    text-align: justify;
}
.about-text .about-poem {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    letter-spacing: 2px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

/* Counters */
.counters {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}
.counter-item {
    text-align: center;
    color: var(--white);
    position: relative;
}
.counter-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}
.counter-number {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 8px;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
}
.counter-suffix {
    font-size: 0.6em;
    font-weight: 500;
    margin-left: 2px;
}
.counter-label {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 400;
}

/* Certifications */
.certifications {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}
.cert-item {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    letter-spacing: 1px;
}
.cert-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

/* =================== Moment =================== */
.moment {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.moment-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.moment-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.8) 0%, rgba(155,14,35,0.6) 100%);
}
.moment-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 0 24px;
}
.moment-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.moment-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 36px;
    letter-spacing: 2px;
}
.moment-btn {
    display: inline-block;
    padding: 14px 44px;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
}
.moment-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* =================== News =================== */
.news { padding: 100px 0; background: var(--secondary); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.news-card.clickable { cursor: pointer; }

.news-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}
.news-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card:hover .news-img img { transform: scale(1.1); }

.news-date {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 10px 18px;
    text-align: center;
    border-bottom-right-radius: 12px;
}
.date-day { display: block; font-size: 24px; font-weight: 900; line-height: 1; }
.date-month { display: block; font-size: 12px; opacity: 0.9; margin-top: 4px; }

.news-body { padding: 24px; }
/* 标题行: 标题居左, 日期居右(行内小字, 取代图片角上的日期角标) */
.news-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.news-title-row .news-title { flex: 1; }
.news-title-row .news-date {
    position: static;
    background: none;
    color: var(--text-light);
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.news-title-row .date-day { font-size: 15px; font-weight: 700; }
.news-title-row .date-month { font-size: 13px; opacity: 1; margin-top: 0; }
.news-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.5;
    transition: var(--transition);
}
.news-card:hover .news-title { color: var(--primary); }
.news-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}
.news-link:hover { letter-spacing: 1px; }

/* =================== Footer =================== */
.footer {
    background: #1A1A1A;
    color: rgba(255,255,255,0.7);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding: 70px 0 50px;
}

.footer-logo { margin-bottom: 20px; }
.footer-logo img {
    width: 242px;
    height: 71px;
    object-fit: contain;
    display: block;
}
.footer-logo .logo-cn { color: var(--white); }
.footer-logo .logo-en { color: rgba(255,255,255,0.5); }
.footer-logo .logo-icon svg circle { stroke: var(--primary); }

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.6);
}
.footer-slogan {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 1px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--primary);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}
.footer-contact svg { color: var(--primary-light); flex-shrink: 0; margin-top: 3px; }

.footer-social {
    display: flex;
    gap: 20px;
}
.social-item {
    text-align: center;
}
.social-qr {
    width: 100px; height: 100px;
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    transition: var(--transition);
}
.social-qr:hover { transform: translateY(-4px); box-shadow: 0 4px 20px rgba(200,16,46,0.3); }
.social-qr img { width: 100%; height: 100%; border-radius: 4px; }
.social-item span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: inherit; transition: var(--transition); }
.footer-bottom a:hover { color: var(--primary-light); }
/* 首页友情链接（仅首页 footer-bottom 内） */
.friend-links { margin-bottom: 10px; font-size: 13px; }
.friend-links .fl-label { color: rgba(255,255,255,0.4); }
.friend-links a { color: rgba(255,255,255,0.65); margin: 0 10px; text-decoration: none; }
.friend-links a:hover { color: var(--primary-light); }

/* =================== Company Page =================== */
.page-banner {
    position: relative;
    height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 0;
}
.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.75) 0%, rgba(155,14,35,0.55) 100%);
}
.page-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(16px, 2.5vw, 48px) 48px;
    color: var(--white);
}
.page-banner-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.page-banner-crumbs {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}
.page-banner-crumbs a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.page-banner-crumbs a:hover { color: var(--white); }
.page-banner-crumbs span { margin: 0 8px; color: rgba(255,255,255,0.5); }

.company-intro { padding-top: 80px; }
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}
.intro-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.intro-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.intro-image:hover img { transform: scale(1.04); }
.intro-text p {
    font-size: 15px;
    color: var(--text);
    line-height: 2;
    margin-bottom: 16px;
    text-align: justify;
}

.advantages { padding: 100px 0; background: var(--secondary); }
.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.adv-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid transparent;
}
.adv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary);
}
.adv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 22px;
    transition: var(--transition);
}
.adv-card:hover .adv-icon { background: var(--primary); color: var(--white); transform: scale(1.08); }
.adv-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.adv-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

.certs { padding: 100px 0; }
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.cert-figure {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.cert-figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-figure img { width: 100%; object-fit: contain; }

.factory-show { padding: 100px 0; background: var(--secondary); }
/* 厂房展示：一屏 4 张横向轮播，左右箭头切换 */
.factory-carousel { position: relative; }
.factory-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 12px;
    scrollbar-width: none;
}
.factory-track::-webkit-scrollbar { display: none; }
.factory-item {
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    background: var(--white);
}
.factory-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    pointer-events: none;
}
.factory-item:hover img { transform: scale(1.04); }
.factory-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.factory-arrow:hover { background: var(--primary); color: var(--white); }
.factory-arrow.prev { left: 18px; }
.factory-arrow.next { right: 18px; }

@media (max-width: 1100px) {
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .factory-track { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 900px) {
    .page-banner { height: 300px; }
    .intro-content { grid-template-columns: 1fr; }
    .page-banner-bg { background-attachment: scroll; }
    .factory-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
    .adv-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }
    .factory-track { gap: 12px; }
    .factory-arrow { width: 38px; height: 38px; }
    .factory-arrow.prev { left: 10px; }
    .factory-arrow.next { right: 10px; }
    .company-intro { padding-top: 60px; }
    .advantages, .certs, .factory-show { padding: 60px 0; }
}

/* =================== Contact Page =================== */
.page-banner-sub {
    margin-top: 14px;
    font-size: 16px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.85);
}
.contact-info { padding: 100px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 22px;
    text-align: center;
    transition: var(--transition);
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 18px;
    transition: var(--transition);
}
.contact-card:hover .contact-icon { background: var(--primary); color: var(--white); transform: scale(1.08); }
.contact-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.contact-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.contact-card p a { color: var(--text-light); transition: var(--transition); }
.contact-card p a:hover { color: var(--primary); }
.contact-en {
    display: block;
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gray);
    text-transform: uppercase;
}

.map-section { padding: 100px 0; background: var(--secondary); }
.map-frame {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.map-frame img { width: 100%; display: block; }
.map-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,26,26,0);
    transition: var(--transition);
}
.map-frame:hover::after { background: rgba(26,26,26,0.15); }
.map-frame-tip {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255,255,255,0.95);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-radius: 9999px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.map-frame:hover .map-frame-tip { color: var(--primary); }
.map-actions { text-align: center; margin-top: 30px; }

/* 关注我们（联系页） */
.follow-section { padding: 100px 0; background: var(--secondary); }
.follow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 50px auto 0;
}
.follow-card {
    background: var(--white);
    border-radius: 14px;
    padding: 36px 26px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.follow-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.follow-qr {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.follow-qr img { width: 100%; height: 100%; object-fit: cover; }
.follow-card h3 { font-size: 18px; color: var(--text); }
.follow-card p { margin-top: 8px; font-size: 13px; color: var(--text-light); }

@media (max-width: 1100px) {
    .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .contact-info, .map-section, .follow-section { padding: 60px 0; }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .contact-card { padding: 24px 14px; }
    .map-frame-tip { bottom: 14px; font-size: 13px; padding: 8px 16px; }
    .follow-grid { grid-template-columns: 1fr; max-width: 300px; gap: 20px; }
    .follow-qr { width: 140px; height: 140px; }
}

/* =================== 定制/服务：流程步骤 =================== */
.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(229,0,18,0.08);
    border-radius: 10px;
    padding: 44px 26px 34px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(229,0,18,0.12);
    border-color: rgba(229,0,18,0.3);
}
.step-num {
    display: block;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: rgba(229,0,18,0.15);
    margin-bottom: 16px;
    font-family: Arial, sans-serif;
}
.step-card:hover .step-num { color: rgba(229,0,18,0.35); }
.step-card h3 {
    font-size: 19px;
    color: var(--dark, #222);
    margin-bottom: 10px;
}
.step-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
}
.step-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.step-grid.cols-5 .step-num { font-size: 42px; }

/* =================== 底部 CTA 横幅 =================== */
.cta-band {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #b3000e 100%);
    color: var(--white);
    text-align: center;
}
.cta-band h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-band p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}
.cta-band .btn-lg {
    padding: 14px 44px;
    font-size: 16px;
}
.cta-band .btn-primary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}
.cta-band .btn-primary:hover {
    background: transparent;
    color: var(--white);
}

/* =================== 新闻/美食列表页 =================== */
.page-list { padding: 60px 0 100px; }
.news-cat {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    background: rgba(229,0,18,0.08);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.filter-item.cat-hidden { display: none; }

@media (max-width: 1100px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .step-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .step-grid, .step-grid.cols-5 { grid-template-columns: 1fr; }
    .cta-band h2 { font-size: 24px; }
    .cta-band { padding: 60px 0; }
}

/* =================== Side Widget (在线客服/在线下载, 仅桌面端) =================== */
.side-widget {
    position: fixed;
    right: 0;
    bottom: 50px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.side-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 64px;
    height: 64px;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 10px 0 0 10px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}
.side-btn + .side-btn { border-top-left-radius: 10px; }
.side-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.side-btn span { font-size: 12px; font-weight: 500; line-height: 1; }
.side-btn > svg { flex-shrink: 0; }

/* 微信弹层: 纯 CSS hover, 悬停按钮或弹层均保持显示 */
.side-pop {
    position: absolute;
    right: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 170px;
    padding: 14px 12px 12px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: default;
}
.side-pop::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--white);
    box-shadow: 2px -2px 4px rgba(0,0,0,0.04);
}
.side-pop img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
    pointer-events: none;
}
.side-pop em {
    font-style: normal;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    white-space: nowrap;
}
.side-btn:hover .side-pop,
.side-pop:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 900px) {
    .side-widget { display: none; }
}

/* =================== Product Center Page =================== */
.product-cat { padding: 80px 0 40px; }
.product-cat:nth-of-type(odd) { background: var(--white); }
.product-cat:nth-of-type(even) { background: var(--secondary); }
.product-cat:last-of-type { padding-bottom: 100px; }
.cat-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.cat-head-title h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--dark);
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}
.cat-head-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.cat-en {
    display: inline-block;
    margin-left: 12px;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--gray);
    text-transform: uppercase;
}
.cat-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    white-space: nowrap;
}
.cat-more i { font-style: normal; transition: var(--transition); }
.cat-more:hover { color: var(--primary); }
.cat-more:hover i { padding-left: 4px; }

.prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.prod-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 18px;
    transition: var(--transition);
}
.prod-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.prod-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light-gray);
    margin-bottom: 16px;
}
.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.08); }
.prod-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    padding: 0 12px;
    transition: var(--transition);
}
.prod-card:hover h3 { color: var(--primary); }
/* 标题行: 产品名居左, 容量居右 */
.prod-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 16px;
    margin: 14px 0 6px;
}
.prod-title-row h3 {
    margin-bottom: 0;
    padding: 0;
    text-align: left;
    flex: 1;
    min-width: 0;
}
.prod-title-row .prod-spec {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
}
.prod-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.prod-code { color: var(--gray); letter-spacing: 1px; }
.prod-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(229, 0, 18, 0.18);
    border-radius: 9999px;
    padding: 4px 14px;
}

@media (max-width: 1100px) {
    .prod-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .prod-grid { grid-template-columns: repeat(2, 1fr); }
    .product-cat { padding: 60px 0 20px; }
}
@media (max-width: 600px) {
    .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .prod-card h3 { font-size: 15px; }
    .cat-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =================== 产品中心分类二级菜单 =================== */
.cat-menu {
    position: sticky;
    top: 76px;
    z-index: 90;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.cat-menu-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-menu-inner::-webkit-scrollbar { display: none; }
.cat-menu-item {
    flex-shrink: 0;
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
}
.cat-menu-item::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
    transition: var(--transition);
}
.cat-menu-item:hover { color: var(--primary); }
.cat-menu-item.active { color: var(--primary); font-weight: 700; }
.cat-menu-item.active::after { width: 60%; }

.product-cat.cat-hidden { display: none; }

@media (max-width: 600px) {
    .cat-menu { top: 64px; }
    .cat-menu-item { padding: 13px 16px; font-size: 14px; }
}

/* =================== Back to Top =================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px; height: 46px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* 桌面端: 返回顶部按钮外观与侧边客服按钮一致, 排在其正上方（须在基础样式之后） */
@media (min-width: 901px) {
    .back-to-top {
        bottom: 198px;
        right: 0;
        width: 64px;
        height: 64px;
        background: var(--white);
        color: var(--text);
        border: 1px solid var(--border);
        border-right: none;
        border-radius: 10px 0 0 10px;
        box-shadow: var(--shadow-sm);
    }
    .back-to-top:hover {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
        transform: none;
    }
    .back-to-top span { font-size: 12px; font-weight: 500; line-height: 1; }
    .back-to-top.show {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
}
/* 移动端: 回到顶部按钮隐藏文字, 只保留箭头图标 */
@media (max-width: 900px) {
    .back-to-top span { display: none; }
    .back-to-top.show { display: flex; align-items: center; justify-content: center; }
}

/* =================== Reveal Animation =================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================== Responsive =================== */
@media (max-width: 1100px) {
    .product-grid { grid-auto-columns: calc((100% - 60px) / 3); }
    .cat-arrow.prev { left: -6px; }
    .cat-arrow.next { right: -6px; }
    .counters { grid-template-columns: repeat(3, 1fr); gap: 30px; row-gap: 40px; }
    .counter-item:nth-child(3n)::after { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }
    .nav-menu.active { transform: translateY(0); }
    .navbar:not(.scrolled) .nav-menu .nav-link { color: var(--text); }
    .navbar:not(.scrolled) .nav-menu .nav-link:hover,
    .navbar:not(.scrolled) .nav-menu .nav-link.active { color: var(--primary); }
    .navbar:not(.scrolled) .nav-menu .arrow { border-top-color: currentColor; }
    .nav-link { padding: 14px 16px; border-bottom: 1px solid var(--border); }
    .nav-link::after { display: none; }
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        display: none;
    }
    .dropdown-menu::before { display: none; }
    .nav-dropdown.open .dropdown-menu { display: grid; }
    .nav-dropdown:hover .dropdown-menu { transform: none; }
    .mega-menu {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
        border-top: none;
        background: #F7F7F7;
        box-shadow: none;
    }
    .nav-dropdown:hover .mega-menu { transform: none; }
    .nav-toggle { display: flex; }
    .lang-switch { display: none; }

    .thin-salt-wrap { grid-template-columns: 1fr; }
    .thin-salt-image { order: -1; }
    .about-content { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-auto-columns: calc((100% - 30px) / 2); }
    .counters { grid-template-columns: repeat(2, 1fr); }
    .counter-item::after { display: none; }
    .moment-bg { background-attachment: scroll; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .nav-container { height: 64px; padding: 0 16px; }
    .nav-menu { top: 64px; }
    .nav-logo { width: 173px; height: 51px; }
    .nav-logo svg { width: 34px; height: 34px; }
    .logo-cn { font-size: 19px; }
    .logo-en { font-size: 9px; letter-spacing: 2px; }

    .hero { min-height: 500px; }
    .hero-content { padding: 0 20px; }
    .hero-products { gap: 8px 20px; }
    .hero-products li { font-size: 14px; }
    .hero-arrow { width: 40px; height: 40px; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }

    .products, .about, .news { padding: 60px 0; }
    .thin-salt { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    .product-grid { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
    .cat-arrow { width: 38px; height: 38px; }
    .cat-arrow.prev { left: 2px; }
    .cat-arrow.next { right: 2px; }
    .news-grid { grid-template-columns: 1fr; }
    .counters { grid-template-columns: 1fr 1fr; padding: 30px 20px; gap: 24px; }

    .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 50px 0 30px; }
    .footer-social { justify-content: center; }

    .about-image-badge { padding: 10px 16px; }
    .badge-year { font-size: 20px; }

    .back-to-top { bottom: 20px; right: 16px; width: 40px; height: 40px; }
}


/* =================== Detail Pages (product / article) =================== */
/* --- 产品详情 --- */
.pd-section { padding: 70px 0 40px; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pd-gallery { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.pd-main-img { background: var(--light-gray); border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.pd-main-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-thumbs { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
.pd-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--light-gray); cursor: pointer; transition: var(--transition); aspect-ratio: 4 / 3; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--primary); }
.pd-title { font-size: 34px; font-weight: 800; color: var(--text); line-height: 1.25; }
.pd-title span { color: var(--primary); }
.pd-slogan { font-size: 17px; color: var(--text); margin-top: 12px; font-weight: 600; }
.pd-sub { font-size: 14px; color: var(--primary); margin-top: 6px; font-weight: 600; }
.pd-desc { font-size: 15px; line-height: 1.9; color: var(--text-light); margin-top: 14px; }
.pd-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 18px; }
.pd-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: none;
    border-radius: 0;
}
.pd-tag::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e50012" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
}
.pd-meta { list-style: none; margin-top: 22px; border-top: 1px solid var(--border); }
.pd-meta li { display: flex; padding: 12px 2px; border-bottom: 1px solid var(--border); font-size: 14px; }
.pd-meta b { width: 96px; flex-shrink: 0; color: var(--text-light); font-weight: 500; }
.pd-meta span { color: var(--text); font-weight: 600; }
.pd-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.pd-consult-btn {
    display: inline-block;
    padding: 13px 46px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 999px;
    transition: var(--transition);
}
.pd-consult-btn:hover { background: var(--primary); color: var(--white); }
.pd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.pd-stat { background: var(--light-gray); border-radius: 14px; padding: 28px 20px; text-align: center; }
.pd-stat b { display: block; font-size: 24px; color: var(--primary); font-weight: 800; }
.pd-stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-light); }
/* 信息列内: 数据条两列并排（位于立即咨询上方） */
.pd-info .pd-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.pd-info .pd-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; text-align: left; border-radius: 10px; }
.pd-info .pd-stat b { font-size: 17px; line-height: 1.3; }
.pd-info .pd-stat span { margin-top: 0; font-size: 13px; }
@media (max-width: 600px) {
    .pd-info .pd-stats { grid-template-columns: 1fr; }
}
.pd-details { padding: 70px 0; }
.pd-intro { max-width: 880px; margin: 26px auto 0; text-align: center; font-size: 15px; line-height: 1.9; color: var(--text-light); }
.spec-table-wrap { margin-top: 40px; overflow-x: auto; border-radius: 14px; box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--white); font-size: 14px; }
.spec-table th { background: var(--primary); color: var(--white); padding: 14px 18px; text-align: left; font-weight: 600; white-space: nowrap; }
.spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
.spec-table td i { color: var(--text-light); font-style: normal; font-size: 12px; }
.spec-table tr:last-child td { border-bottom: none; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.feature-item { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; transition: var(--transition); }
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-item b { display: block; font-size: 17px; color: var(--primary); margin-bottom: 10px; }
.feature-item p { font-size: 14px; line-height: 1.8; color: var(--text-light); }
.pd-related { padding: 0 0 80px; }

/* --- 文章详情（新闻/美食通用） --- */
.article-section { padding: 60px 0 80px; }
.article-wrap { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 48px 56px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--text-light); }
.article-meta span { position: relative; padding-left: 14px; }
.article-meta span::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.article-title { font-size: 30px; font-weight: 800; color: var(--text); line-height: 1.4; margin-top: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.article-hero { margin: 30px 0 6px; border-radius: 14px; overflow: hidden; }
.article-hero img { width: 100%; display: block; }
.article-content { margin-top: 18px; }
.article-content p { font-size: 16px; line-height: 2; color: var(--text); margin-bottom: 18px; text-align: justify; }
.article-content h2 { font-size: 21px; font-weight: 700; color: var(--text); margin: 30px 0 14px; padding-left: 14px; border-left: 4px solid var(--primary); }
.article-content blockquote { margin: 22px 0; padding: 18px 22px; background: rgba(229, 0, 18, 0.04); border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.9; color: var(--text); }
.recipe-list { margin: 0 0 20px; padding-left: 22px; }
.recipe-list li { font-size: 15px; line-height: 2; color: var(--text); }
.recipe-steps { margin: 0 0 20px; padding-left: 22px; }
.recipe-steps li { font-size: 15px; line-height: 2; color: var(--text); margin-bottom: 6px; }
.article-foot { display: flex; justify-content: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.article-nav-item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--light-gray); border-radius: 12px; transition: var(--transition); overflow: hidden; }
.article-nav-item.next { text-align: right; }
.article-nav-item:hover { background: var(--primary); color: var(--white); }
.article-nav-item span { font-size: 12px; color: var(--text-light); transition: var(--transition); }
.article-nav-item b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: var(--transition); }
.article-nav-item:hover span, .article-nav-item:hover b { color: var(--white); }
.related-block { max-width: 860px; margin: 44px auto 0; }
.related-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 20px; padding-left: 12px; border-left: 4px solid var(--primary); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 1100px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .article-wrap { padding: 36px 32px; }
}
@media (max-width: 900px) {
    .pd-layout { grid-template-columns: 1fr; gap: 32px; }
    .pd-title { font-size: 27px; }
    .pd-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .pd-stat b { font-size: 18px; }
    .pd-stat span { font-size: 12px; }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .article-nav { grid-template-columns: 1fr; }
    .article-nav-item.next { text-align: left; }
}
@media (max-width: 600px) {
    .pd-section { padding: 44px 0 24px; }
    .pd-details { padding: 48px 0; }
    .pd-stats { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .article-wrap { padding: 26px 18px; border-radius: 14px; }
    .article-title { font-size: 22px; }
    .article-content p { font-size: 15px; }
    .related-grid { grid-template-columns: 1fr; }
}


/* --- 新闻/美食列表页 4 列布局（cols-4 修饰类，首页 3 列不受影响） --- */
.news-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-grid.cols-4 .news-desc { font-size: 13px; }
@media (max-width: 1200px) { .news-grid.cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .news-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid.cols-4 { grid-template-columns: 1fr; } }
