/* PMAM - Modern European Style CSS */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E63946;
    --primary-dark: #C1121F;
    --secondary: #1D3557;
    --accent: #F4A261;
    --light: #F1FAEE;
    --dark: #1D3557;
    --gray: #457B9D;
    --white: #FFFFFF;
    --black: #000000;
    --header-height: 76px;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html[lang="zh-CN"] body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 58px;
}

.nav a {
    font-weight: 500;
    color: var(--dark);
    padding: 10px 10px;
    position: relative;
    letter-spacing: 0.02em;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 10px;
    margin-left: 32px;
    padding-left: 32px;
    border-left: 1px solid #ddd;
}

.lang-switch a {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    background: #f5f5f5;
    color: var(--dark);
}

.lang-switch a.active {
    background: var(--primary);
    color: white;
}

.lang-switch-select {
    display: none;
}

.nav-links-desktop {
    display: contents;
}

.nav-select-mobile {
    display: none;
}

.mobile-select {
    padding: 6px 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f5f5f5;
    color: var(--dark);
    cursor: pointer;
    appearance: auto;
    max-width: 100%;
}

.lang-switch-select .mobile-select {
    padding: 6px 10px;
    font-size: 13px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-more {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    padding: 10px 10px;
    letter-spacing: 0.02em;
}
.nav-more:hover,
.nav-more.active {
    color: var(--primary);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary);
}

/* Header Search */
.header-search {
    position: relative;
    margin-left: 12px;
}
.search-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}
.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}
.search-form.active {
    opacity: 1;
    visibility: visible;
}
.search-form input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}
.search-form button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 20px;
    z-index: 9999;
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-content h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}
.cookie-content p {
    margin: 0;
    opacity: 0.9;
}

body.has-cookie-banner .whatsapp-widget {
    bottom: 120px;
}

.account-page,
.compare-page-wrap,
.tags-page-wrap,
.brands-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 40px;
}

.compare-page-wrap {
    max-width: 1400px;
}

.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    min-width: 720px;
}
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
.btn-cookie {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-cookie:hover {
    background: var(--primary-dark);
}
.cookie-link {
    color: white;
    opacity: 0.8;
    text-decoration: underline;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}
.whatsapp-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    position: relative;
    transition: transform 0.3s;
}
.whatsapp-toggle:hover {
    transform: scale(1.1);
    color: white;
}
.whatsapp-icon {
    width: 32px;
    height: 32px;
}
.whatsapp-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
}
.whatsapp-status.online {
    background: #2ecc71;
}

@media (max-width: 768px) {
    .dropdown-menu {
        left: 0;
        transform: none;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-actions {
        flex-direction: column;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 180px 0 120px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: var(--primary);
    opacity: 0.1;
    transform: rotate(-15deg);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.hero-image {
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    overflow: hidden;
}

.banner-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-text {
    max-width: 600px;
}

.banner-text h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.banner-text p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 35px;
    color: white;
}

.banner-image {
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 30px 0;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.banner-dot.active,
.banner-dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: var(--primary);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
}

/* Homepage Showcase (Certifications & Facilities) */
.home-showcase {
    padding: 88px 0;
    background: #fff;
}

.home-showcase .section-title {
    margin-bottom: 48px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-card {
    margin: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(29, 53, 87, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(29, 53, 87, 0.12);
}

.showcase-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.showcase-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, #f8f9fa 0%, #eef2f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-placeholder {
    font-size: 56px;
    line-height: 1;
    opacity: 0.85;
}

.showcase-caption {
    padding: 16px 18px 18px;
    text-align: center;
}

.showcase-caption strong {
    display: block;
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.35;
}

.showcase-caption span {
    display: block;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

.showcase-footer {
    text-align: center;
    margin-top: 40px;
}

.showcase-footer .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    background: #eef3f8;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease;
}

.showcase-footer .btn-secondary:hover {
    background: #dfe8f1;
}

/* Products Section */
.products {
    padding: 100px 0;
}

.products-list-section {
    padding: 56px 0 88px;
}

.products-list-section .products-grid {
    row-gap: 32px;
}

.products-home {
    padding: 72px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.products-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1080px;
    margin: 0 auto;
}

.products-home .product-info {
    padding: 18px 20px;
}

.products-home .product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.products-home .product-info p {
    font-size: 14px;
    margin-bottom: 12px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.product-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 22px 24px 26px;
}

.product-info h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.product-info p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.65;
}

.product-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-link:hover {
    gap: 10px;
}

/* About Section */
.about {
    padding: 80px 0 16px;
    background: var(--light);
}

.about + .features {
    padding-top: 24px;
}

.about + .features .section-title {
    margin-bottom: 32px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-image {
    min-height: 350px;
    max-height: 500px;
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: white;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text .cms-page-content > :last-child {
    margin-bottom: 0;
}

.about-text .btn {
    margin-top: 24px;
}

/* About Page */
.page-about .page-header-about {
    padding: 132px 0 56px;
    position: relative;
    overflow: hidden;
}

.page-about .page-header-about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(230, 57, 70, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(69, 123, 157, 0.22) 0%, transparent 40%);
    pointer-events: none;
}

.page-about .page-header-about .container {
    position: relative;
    z-index: 1;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb-sep {
    opacity: 0.55;
}

.page-about .page-header-about h1 {
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 12px;
}

.page-header-lead {
    font-size: 18px;
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto;
}

.section-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.page-about .about {
    padding: 48px 0 20px;
    background: linear-gradient(180deg, #f7f9fc 0%, var(--light) 100%);
}

html[lang="zh-CN"] .page-about .about {
    padding-bottom: 24px;
}

.page-about .about-panel {
    background: var(--white);
    border-radius: 20px;
    padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 18px 50px rgba(29, 53, 87, 0.08);
    border: 1px solid rgba(29, 53, 87, 0.06);
}

.page-about .about-content {
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
}

.page-about .about-image {
    min-height: 0;
    max-height: 340px;
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(29, 53, 87, 0.16);
    margin: 0;
    align-self: start;
}

.page-about .about-text {
    align-self: start;
}

.page-about .about-text .cms-page-content {
    color: #4a6072;
    font-size: 16px;
    line-height: 1.85;
}

.page-about .about-text .cms-page-content h1,
.page-about .about-text .cms-page-content h2,
.page-about .about-text .cms-page-content h3 {
    font-size: clamp(20px, 2.2vw, 26px);
    color: var(--dark);
    margin: 0 0 12px;
    line-height: 1.4;
}

.page-about .about-text .cms-page-content h1:not(:first-child),
.page-about .about-text .cms-page-content h2:not(:first-child),
.page-about .about-text .cms-page-content h3:not(:first-child) {
    margin-top: 20px;
}

.page-about .about-text .cms-page-content p,
.page-about .about-text .cms-page-content li {
    color: inherit;
}

.page-about .about-text .cms-page-content p {
    margin-bottom: 16px;
}

.page-about .about-text .cms-page-content p:empty,
.page-about .about-text .cms-page-content p:has(> br:only-child) {
    display: none;
    margin: 0;
}

.page-about .about-text .cms-page-content > :first-child {
    margin-top: 0;
}

.page-about .about-text .cms-page-content > :last-child {
    margin-bottom: 0;
}

.page-about .certifications-section {
    background: var(--white);
    padding-top: 48px;
    padding-bottom: 80px;
}

.page-about .certifications-section .section-title-compact {
    margin-bottom: 40px;
}

.page-about .certifications-section .section-title h2 {
    font-size: clamp(28px, 3vw, 36px);
}

.page-about .certifications-section .section-title p {
    max-width: 560px;
    margin: 0 auto;
}

.page-about .certifications-section .feature-card {
    border: 1px solid #e8eef3;
    box-shadow: 0 8px 24px rgba(29, 53, 87, 0.04);
    padding: 34px 24px;
}

.page-about .certifications-section .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(29, 53, 87, 0.1);
    border-color: rgba(230, 57, 70, 0.18);
}

.page-about .about + .features,
.page-about .about + .certifications-section {
    padding-top: 28px;
}

html[lang="zh-CN"] .page-about .about + .features,
html[lang="zh-CN"] .page-about .about + .certifications-section {
    padding-top: 32px;
}

.page-about .about + .features .section-title {
    margin-bottom: 40px;
}

html[lang="zh-CN"] .page-about .about-text .cms-page-content {
    line-height: 1.78;
}

html[lang="zh-CN"] .page-about .about-text .cms-page-content p {
    margin-bottom: 14px;
}

html[lang="zh-CN"] .page-about .about-image {
    max-height: 300px;
}

/* Chinese typography tuning */
html[lang="zh-CN"] .page-header h1,
html[lang="zh-CN"] .section-title h2,
html[lang="zh-CN"] .hero-text h1,
html[lang="zh-CN"] .banner-text h1 {
    letter-spacing: 0.02em;
}

html[lang="zh-CN"] .page-header h1 {
    font-size: clamp(32px, 4.5vw, 44px);
}

html[lang="zh-CN"] .section-title h2 {
    font-size: clamp(28px, 3.5vw, 34px);
    line-height: 1.35;
}

html[lang="zh-CN"] .section-title p,
html[lang="zh-CN"] .page-header p,
html[lang="zh-CN"] .page-header-lead {
    font-size: 17px;
    line-height: 1.8;
}

html[lang="zh-CN"] .product-info h3 {
    font-size: 18px;
    line-height: 1.45;
}

html[lang="zh-CN"] .product-info p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 14px;
}

html[lang="zh-CN"] .feature-card h3 {
    font-size: 18px;
}

html[lang="zh-CN"] .feature-card p {
    font-size: 14px;
    line-height: 1.75;
}

html[lang="zh-CN"] .list-pagination-btn {
    min-width: 112px;
    font-size: 15px;
}

html[lang="zh-CN"] .list-pagination-info {
    font-size: 15px;
}

html[lang="zh-CN"] .news-article-body {
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: 0.02em;
}

html[lang="zh-CN"] .news-pager-title {
    line-height: 1.6;
}

html[lang="zh-CN"] .nav a,
html[lang="zh-CN"] .nav-more {
    letter-spacing: 0.03em;
}

/* Search results */
.search-results {
    padding: 56px 0 88px;
}

.search-results-empty,
.search-results-summary {
    color: var(--gray);
    text-align: center;
    line-height: 1.65;
}

.search-results-summary {
    text-align: left;
    margin-bottom: 24px;
}

.search-result-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.search-result-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    line-height: 1.4;
}

.search-result-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.search-result-title a {
    color: var(--dark);
}

.search-result-title a:hover {
    color: var(--primary);
}

.search-result-excerpt {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

html[lang="zh-CN"] .search-result-title {
    font-size: 18px;
}

html[lang="zh-CN"] .search-result-excerpt {
    font-size: 14px;
    line-height: 1.8;
}

.list-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px 16px;
    margin-top: 40px;
    padding-top: 12px;
    flex-wrap: wrap;
}

.list-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease;
}

.list-pagination-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.list-pagination-btn.disabled {
    background: #e9ecef;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.list-pagination-info {
    color: var(--gray);
    font-size: 14px;
    min-width: 96px;
    text-align: center;
    line-height: 1.4;
}

.list-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--gray);
    font-size: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.list-empty-state p {
    margin: 0;
}

/* News Section */
.news {
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.news-card:has(.news-card-link:hover),
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.contact .section-title h2,
.contact .section-title p {
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    margin-bottom: 0;
}

.contact-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.contact-item p,
.contact-item-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
    padding-top: 4px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

.site-contact-phones p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #334155;
}

.site-contact-phones p:last-child {
    margin-bottom: 0;
}

.site-contact-phones-footer p {
    justify-content: center;
    font-size: 13px;
    margin-bottom: 6px;
}

.site-contact-phones-inline p {
    margin-bottom: 8px;
}

.cta-section .cta-phones {
    margin: 0 0 18px;
}

.cta-section .site-contact-phones p {
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
}

.pd-contact-phones {
    margin-top: 18px;
}

.pd-contact-phones .site-contact-phones p {
    margin-bottom: 6px;
    font-size: 15px;
}

.site-contact-block p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #334155;
}

.site-contact-block p:last-child {
    margin-bottom: 0;
}

.site-contact-block a {
    color: var(--secondary);
    text-decoration: none;
}

.site-contact-block a:hover {
    color: var(--primary);
}

.site-contact-block-centered {
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
}

.about-contact {
    padding: 50px 0 70px;
    background: #f8fafc;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #0d1b2a;
    color: white;
    padding: 28px 0 10px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
    gap: 18px 20px;
    margin-bottom: 14px;
    align-items: start;
}

.footer-about h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.footer-about p {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

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

.footer-links ul li {
    margin-bottom: 4px;
    line-height: 1.35;
}

.footer-links ul li a {
    font-size: 14px;
    opacity: 0.78;
}

.footer-links ul li a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-contact p {
    opacity: 0.7;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.4;
}

.footer-social {
    margin-top: 10px;
}

.footer-social-label {
    font-size: 13px;
    opacity: 0.75;
    margin: 0 0 8px;
    line-height: 1.2;
}

.social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    color: rgba(255,255,255,0.85);
}

.social-link svg {
    width: 16px;
    height: 16px;
    display: block;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-newsletter p {
    font-size: 13px;
    opacity: 0.7;
    margin: 0 0 8px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 6px;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 10px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-legal {
    margin-top: 4px;
}

.footer-legal a {
    color: white;
    opacity: 0.7;
    text-decoration: underline;
}

.footer-legal a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 13px;
    line-height: 1.35;
}

.footer-bottom p {
    margin: 0 0 4px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    padding: 150px 0 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.65;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* News Pages */
.page-news .page-header-news {
    padding: 132px 0 72px;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.page-news .page-header-news::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 88%, rgba(230, 57, 70, 0.2) 0%, transparent 42%),
        radial-gradient(circle at 88% 18%, rgba(69, 123, 157, 0.24) 0%, transparent 38%);
    pointer-events: none;
}

.page-news .page-header-news .container {
    position: relative;
    z-index: 1;
}

.page-news-kicker {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 10px;
}

.page-news .page-header-news h1 {
    font-size: clamp(34px, 4.8vw, 52px);
    line-height: 1.15;
    margin-bottom: 14px;
    max-width: 900px;
}

.page-news .page-header-news .page-header-lead {
    margin: 0;
    max-width: 720px;
}

.page-news .page-header-news-article {
    padding-bottom: 88px;
}

.page-news .page-header-news-article h1 {
    max-width: 960px;
}

.page-news-detail .news-detail-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, #457B9D 100%);
    overflow: hidden;
}

.page-news-detail .news-detail-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 88%, rgba(230, 57, 70, 0.2) 0%, transparent 42%),
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.12) 0%, transparent 38%);
    pointer-events: none;
}

.page-news-detail .news-detail-banner.is-placeholder {
    padding: 132px 0 96px;
    min-height: 380px;
}

.page-news-detail .news-detail-banner:not(.is-placeholder) {
    padding-top: 72px;
}

.page-news-detail .news-detail-banner img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: clamp(400px, 52vw, 580px);
    object-fit: cover;
}

.news-detail-intro {
    background: #fff;
    border-bottom: 6px solid #d5dde6;
    padding: 0;
}

.news-detail-crumbs-bar {
    height: 50px;
    background: #f5f6f8;
    border-bottom: 1px solid #e6eaef;
    display: flex;
    align-items: center;
}

.news-detail-crumbs-bar .container {
    max-width: 1200px;
    width: 100%;
}

.news-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    line-height: 1;
    color: #7a8694;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.news-detail-breadcrumb-sep {
    flex-shrink: 0;
    color: #b8c0cc;
}

.news-detail-breadcrumb a {
    color: #6b7785;
    flex-shrink: 0;
}

.news-detail-breadcrumb a:hover {
    color: #457B9D;
}

.news-detail-title-wrap {
    max-width: 1200px;
    padding: 22px 20px 18px;
}

.news-detail-title {
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.4;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px;
}

.news-detail-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #8a939f;
}

.news-detail-stats-time {
    color: #8a939f;
}

.news-detail-stats-sep {
    color: #c5ccd4;
}

.news-detail-stats-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8a939f;
}

.news-detail-stats-icon {
    font-size: 14px;
    line-height: 1;
}

.news-detail-meta {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    white-space: nowrap;
}

.news-detail-meta-date {
    color: #6b7a8a;
    font-size: 14px;
}

.news-article-header {
    padding: 34px 48px 8px;
}

.news-article-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #6b7a8a;
}

.news-article-breadcrumb a {
    color: var(--gray);
}

.news-article-breadcrumb a:hover {
    color: var(--primary);
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.news-article-meta-date {
    color: #6b7a8a;
    font-size: 14px;
}

.news-article-header h1 {
    font-size: clamp(28px, 3.8vw, 42px);
    line-height: 1.25;
    color: var(--secondary);
    margin: 0;
}

.news-article-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.news-article-hero-date {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.news-list-section {
    padding: 56px 0 88px;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.news-list-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.news-list-heading {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--secondary);
    margin: 0;
}

.news-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(29, 53, 87, 0.12);
    box-shadow: 0 2px 8px rgba(29, 53, 87, 0.05);
}

.news-category-pill:hover {
    border-color: var(--gray);
    color: var(--primary);
}

.news-category-pill.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.news-list-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.news-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(29, 53, 87, 0.14);
}

.news-list-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.news-list-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #457B9D 55%, var(--primary) 100%);
    overflow: hidden;
}

.news-list-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-list-card:hover .news-list-card-media img {
    transform: scale(1.04);
}

.news-list-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 56px;
    color: rgba(255, 255, 255, 0.92);
}

.news-list-card-date {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.news-list-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 28px 30px;
    flex: 1;
}

.news-list-card-category {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-news-detail .page-header-news-article .news-list-card-category {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.page-news-detail .page-header-news-article .news-list-card-category:hover {
    background: rgba(255, 255, 255, 0.22);
}

.page-news-detail .news-article-header .news-list-card-category:hover {
    background: rgba(230, 57, 70, 0.16);
}

.page-news-detail .news-detail-intro .news-list-card-category {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
}

.page-news-detail .news-detail-intro .news-list-card-category:hover {
    background: rgba(230, 57, 70, 0.16);
}

html[lang="zh-CN"] .news-list-card-body {
    padding: 22px 24px 26px;
    gap: 10px;
}

html[lang="zh-CN"] .news-list-card-body h3 {
    font-size: 17px;
    line-height: 1.45;
}

html[lang="zh-CN"] .news-list-card-body p {
    font-size: 14px;
    line-height: 1.75;
}

.news-list-card-body h3 {
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.35;
    color: var(--secondary);
    margin: 0;
}

.news-list-card-body p {
    margin: 0;
    color: #5f6b7a;
    line-height: 1.75;
    flex: 1;
}

.news-list-card-more {
    margin-top: auto;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.news-list-empty {
    padding: 24px 0 8px;
}

.page-news .list-pagination {
    margin-top: 40px;
}

.news-article-section {
    padding: 0 0 88px;
    background: linear-gradient(180deg, #eef3f8 0%, #f7f9fc 100%);
}

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
    max-width: 1200px;
}

.news-detail-main {
    min-width: 0;
}

.news-detail-sidebar {
    position: relative;
}

.news-product-recommend {
    position: sticky;
    top: 92px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(29, 53, 87, 0.1);
    padding: 28px 20px 32px;
}

.news-product-recommend-title {
    font-size: 20px;
    color: var(--secondary);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f5;
}

.news-product-recommend-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.news-product-recommend-list > li + li {
    padding-top: 4px;
    border-top: 1px solid #f0f3f7;
}

.news-product-recommend-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    color: inherit;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    transition: opacity 0.2s ease;
}

.news-product-recommend-item:hover {
    opacity: 0.92;
}

.news-product-recommend-thumb {
    flex: none;
    width: 300px;
    height: 300px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-product-recommend-thumb img {
    width: 300px;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.news-product-recommend-placeholder {
    font-size: 64px;
    line-height: 1;
}

.news-product-recommend-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 0 4px 8px;
}

.news-product-recommend-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-product-recommend-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #6b7a8a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-product-recommend-more {
    display: inline-flex;
    align-items: center;
    margin-top: 28px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.news-product-recommend-more:hover {
    color: var(--primary-dark);
}

.news-article-shell {
    max-width: none;
    margin: 0;
    position: relative;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(29, 53, 87, 0.12);
    overflow: hidden;
}

.news-article-featured-image {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-body {
    padding: 40px 48px 36px;
    font-size: 17px;
    line-height: 1.9;
    color: #2f3a45;
}

.news-article-body > :first-child {
    margin-top: 0;
}

.news-article-body > :last-child {
    margin-bottom: 0;
}

.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
    color: var(--secondary);
    margin: 1.6em 0 0.7em;
    line-height: 1.35;
}

.news-article-body p {
    margin-bottom: 1.1em;
}

.news-article-body ul,
.news-article-body ol {
    margin: 1em 0 1.2em;
    padding-left: 1.4em;
}

.news-article-body li {
    margin-bottom: 0.45em;
}

.news-article-body a {
    color: var(--gray);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-article-body a:hover {
    color: var(--primary);
}

.news-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.2em 0;
}

.news-article-body blockquote {
    margin: 1.4em 0;
    padding: 18px 22px;
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    color: #4b5563;
}

.news-article-body strong {
    color: var(--secondary);
}

.news-article-pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    border-top: none;
}

.news-pager-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e6edf3;
    color: inherit;
    min-height: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.news-pager-link:hover {
    border-color: rgba(69, 123, 157, 0.35);
    box-shadow: 0 8px 24px rgba(29, 53, 87, 0.08);
    transform: translateY(-2px);
}

.news-pager-link.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.news-pager-next {
    text-align: right;
    align-items: flex-end;
}

.news-pager-direction {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.news-pager-title {
    font-size: 15px;
    line-height: 1.5;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-article-share {
    padding: 24px 0 0;
}

.news-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 28px 0 0;
    border-top: none;
    margin-top: 0;
}

.page-news .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.page-news .btn-primary {
    background: var(--primary);
    color: #fff;
}

.page-news .btn-primary:hover {
    background: var(--primary-dark);
}

.page-news .btn-secondary {
    background: #eef3f8;
    color: var(--secondary);
}

.page-news .btn-secondary:hover {
    background: #dfe8f1;
}

/* Responsive */
@media (max-width: 1100px) {
    .nav {
        gap: 28px;
    }

    .lang-switch {
        margin-left: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    
    .products-grid,
    .news-grid,
    .news-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 18px;
    }

    .footer-about,
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 108px;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
        padding: 10px 12px;
    }

    .logo-img {
        height: 32px;
    }
    
    .nav {
        flex-wrap: nowrap;
        justify-content: stretch;
        gap: 8px;
        width: 100%;
        overflow: visible;
    }

    .nav-links-desktop {
        display: none;
    }

    .nav-select-mobile {
        display: block;
        flex: 1;
        min-width: 0;
    }

    .nav-select-mobile .mobile-select {
        width: 100%;
    }

    .header-search {
        flex-shrink: 0;
        margin-left: 0;
    }

    .search-toggle {
        font-size: 16px;
        padding: 4px;
    }
    
    .lang-switch {
        display: none;
    }

    .lang-switch-select {
        display: block;
        flex-shrink: 0;
    }
    
    .products-list-section {
        padding: 40px 0 64px;
    }

    .products-list-section .products-grid {
        row-gap: 24px;
    }

    .list-pagination {
        gap: 10px 12px;
        margin-top: 32px;
    }

    .list-pagination-btn {
        min-width: 88px;
        padding: 9px 16px;
        font-size: 13px;
    }

    html[lang="zh-CN"] .list-pagination-btn {
        min-width: 96px;
        font-size: 14px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-image {
        width: 250px;
        height: 250px;
        margin-top: 40px;
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .page-about .about-panel {
        padding: 24px;
    }

    .home-showcase {
        padding: 60px 0;
    }

    .home-showcase .section-title {
        margin-bottom: 32px;
    }

    .showcase-grid {
        gap: 16px;
    }

    .showcase-caption {
        padding: 14px 12px 16px;
    }

    .showcase-caption strong {
        font-size: 14px;
    }

    .showcase-caption span {
        font-size: 12px;
    }

    .showcase-footer {
        margin-top: 28px;
    }

    .page-about .about-image {
        aspect-ratio: 16 / 10;
        max-height: 260px;
    }

    html[lang="zh-CN"] .page-about .about-image {
        max-height: 220px;
    }

    .page-about .page-header-about {
        padding: 112px 0 40px;
    }
    
    .page-news-detail .news-detail-banner:not(.is-placeholder) {
        padding-top: var(--header-height);
    }

    .news-article-pager {
        grid-template-columns: 1fr;
    }

    .news-pager-next {
        text-align: left;
        align-items: flex-start;
    }

    .hero {
        padding: calc(var(--header-height) + 24px) 0 60px;
    }

    .banner-slide-content {
        padding-top: 0;
    }

    html[lang="zh-CN"] .banner-text p,
    html[lang="zh-CN"] .hero-text p {
        font-size: 16px;
        line-height: 1.85;
    }

    html[lang="zh-CN"] .banner-text h1,
    html[lang="zh-CN"] .hero-text h1 {
        font-size: clamp(28px, 7vw, 36px);
    }

    html[lang="zh-CN"] .pd-tab-btn {
        flex: 1;
        min-width: 0;
        padding: 12px 8px;
        font-size: 13px;
        white-space: normal;
        line-height: 1.35;
        text-align: center;
    }

    .products-grid,
    .products-grid-home,
    .news-grid,
    .news-list-grid {
        grid-template-columns: 1fr;
    }

    .products-grid-home {
        max-width: 420px;
        margin-inline: auto;
    }

    .page-news .page-header-news {
        padding: 112px 0 48px;
    }

    .page-news .page-header-news-article {
        padding-bottom: 64px;
    }

    .page-news-detail .news-detail-banner.is-placeholder {
        padding: calc(var(--header-height) + 24px) 0 72px;
        min-height: 300px;
    }

    .page-news-detail .news-detail-banner img {
        height: clamp(280px, 58vw, 440px);
    }

    .news-list-toolbar {
        align-items: flex-start;
    }

    .news-detail-crumbs-bar {
        height: auto;
        min-height: 50px;
        padding: 10px 0;
    }

    .news-detail-breadcrumb {
        flex-wrap: wrap;
        white-space: normal;
        line-height: 1.5;
    }

    .news-detail-title-wrap {
        padding: 16px 20px 14px;
    }

    .news-detail-title {
        font-size: clamp(18px, 4.5vw, 22px);
        color: #222;
    }

    .news-article-shell {
        border-radius: 18px;
    }

    .news-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-product-recommend {
        position: static;
        margin-top: 8px;
        padding: 20px 16px 24px;
    }

    .news-product-recommend-title {
        font-size: 17px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .news-product-recommend-list {
        gap: 16px;
    }

    .news-product-recommend-item {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px;
        background: #f8fafc;
        border: 1px solid #e8eef3;
    }

    .news-product-recommend-thumb,
    .news-product-recommend-thumb img {
        width: 72px;
        height: 72px;
        min-width: 72px;
        max-width: 72px;
        aspect-ratio: 1 / 1;
        margin: 0;
        border-radius: 10px;
    }

    .news-product-recommend-placeholder {
        font-size: 28px;
    }

    .news-product-recommend-info {
        padding: 0;
    }

    .news-product-recommend-name {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .news-product-recommend-desc {
        display: none;
    }

    .news-product-recommend-more {
        margin-top: 16px;
        font-size: 14px;
    }

    .news-article-body {
        padding: 28px 22px 24px;
    }

    .news-article-pager {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 20px;
    }

    .news-pager-link {
        padding: 14px 12px;
    }

    .news-pager-direction {
        font-size: 12px;
    }

    .news-pager-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .news-pager-next {
        text-align: right;
        align-items: flex-end;
    }

    .products-grid-home {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
        text-align: left;
    }

    .footer-about,
    .footer-newsletter,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-newsletter .newsletter-form {
        max-width: 100%;
    }

    .social-icons {
        justify-content: flex-start;
    }
    
    .banner-slide-content {
        flex-direction: column;
        text-align: center;
        padding-top: 0;
    }
    
    .banner-text h1 {
        font-size: 36px;
    }
    
    .banner-image {
        width: 250px;
        height: 250px;
        margin-top: 40px;
    }
    
    .banner-arrow {
        display: none;
    }
}

html[lang="zh-CN"] .pd-related-info p {
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .list-pagination {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .list-pagination-info {
        order: -1;
    }

    .list-pagination-btn {
        width: 100%;
        min-width: 0;
    }
}

/* Search page form */
.search-page-form {
    margin-top: 20px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.search-page-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

html[lang="zh-CN"] .search-page-input {
    font-size: 14px;
}

/* Empty / utility sections */
.page-empty-section {
    padding: 56px 0 88px;
}

.page-empty-actions {
    text-align: center;
    margin-top: 20px;
}

/* Tags page */
.tags-page-section,
.brands-page-section {
    padding: 56px 0 88px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 28px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f5f7fa, #e4e8eb);
    color: var(--secondary);
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.4;
}

.tag-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.tag-item .count {
    display: inline-block;
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 8px;
}

.tag-item:hover .count {
    background: rgba(255, 255, 255, 0.25);
}

.popular-tags,
.all-tags {
    margin-bottom: 32px;
}

.popular-tags h2,
.all-tags h2,
.brands-all-heading {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 22px;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 36px 0;
}

.tags-empty-state,
.brands-empty-state {
    text-align: center;
    padding: 64px 20px;
    color: var(--gray);
}

.tags-empty-icon,
.brands-empty-icon {
    font-size: 56px;
    margin-bottom: 12px;
}

/* Brands page */
.featured-section {
    margin-bottom: 48px;
}

.featured-section h2 {
    color: var(--secondary);
    margin-bottom: 24px;
    text-align: center;
    font-size: 22px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.featured-brand {
    background: linear-gradient(135deg, var(--secondary), #457B9D);
    color: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
}

.featured-brand .logo {
    width: 88px;
    height: 88px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.featured-brand h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.featured-brand p {
    opacity: 0.88;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.brand-card-img {
    height: 150px;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.brand-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.brand-card-body {
    padding: 20px 22px 24px;
}

.brand-card-body h3 {
    margin: 0 0 10px;
    color: var(--secondary);
    font-size: 18px;
}

.brand-card-body p {
    margin: 0 0 14px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.brand-card-body a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.brand-card-body a:hover {
    color: var(--primary);
}

html[lang="zh-CN"] .featured-brand h3,
html[lang="zh-CN"] .brand-card-body h3 {
    font-size: 17px;
}

html[lang="zh-CN"] .featured-brand p,
html[lang="zh-CN"] .brand-card-body p {
    font-size: 13px;
    line-height: 1.75;
}

.cms-custom-page-body {
    line-height: 1.8;
    color: #333;
}

.cms-custom-page-body img {
    max-width: 100%;
    height: auto;
}

/* Product detail — Chinese typography (styles defined in product.php) */
html[lang="zh-CN"] .pd-product-title {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.35;
    letter-spacing: 0.02em;
}

html[lang="zh-CN"] .pd-product-desc {
    font-size: 16px;
    line-height: 1.85;
}

html[lang="zh-CN"] .pd-tab-btn {
    letter-spacing: 0.02em;
}

html[lang="zh-CN"] .pd-related-info h3 {
    font-size: 17px;
    line-height: 1.45;
}