﻿/* 全局样式 */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2B48C;
    --accent-color: #A0522D;
    --text-color: #333;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --border-color: #ddd;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

img[width][height] {
    height: auto;
}

.catalog-item img,
.catalog-card-image img,
.new-product-image img,
.gallery-item img,
.report-image img,
.main img,
.thumb img,
.swatch img,
.g img {
    display: block;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body {
    top: 0 !important;
}

/* 产品详情：主图/缩略图与「可选颜色」区块分隔，便于区分 */
section.product-detail .color-options {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(139, 69, 19, 0.12);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

@supports (content-visibility: auto) {
    section:not(.hero) {
        content-visibility: auto;
        contain-intrinsic-size: 1px 900px;
    }
}

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header-logo {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.logo .sub-title {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-top: 0;
}

/* 语言选择器 */
.language-selector {
    margin-left: 20px;
    position: relative;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B4513' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 30px;
}

.language-selector select:hover {
    border-color: var(--primary-color);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 首页横幅 */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.26)), url('https://charmforyou.oss-us-west-1.aliyuncs.com/images/背景图.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 1px 5px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-content .btn {
    margin-top: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.hero-buttons .btn {
    margin-top: 0;
    min-width: 160px;
}

.hero-buttons .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-buttons .download-btn i {
    font-size: 1.1em;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    width: 100%;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    font-size: 16px;
}

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 1;
}

/* 公司架构部分 */
.company-structure {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.company-structure h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.company-structure h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4CAF50;
}

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

.company-item {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf8 100%);
    border-radius: 18px;
    padding: 36px 30px 30px;
    box-shadow: 0 14px 35px rgba(88, 58, 32, 0.08);
    border: 1px solid rgba(160, 120, 82, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    overflow: hidden;
}

.company-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(210,180,140,0.9) 50%, rgba(255,255,255,0) 100%);
}

.company-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 48px rgba(88, 58, 32, 0.12);
    border-color: rgba(160, 120, 82, 0.16);
}

.company-logo-image {
    width: 180px;
    height: 96px;
    margin: 0 auto 22px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.06));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.company-item:hover .company-logo-image {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.08));
}

.company-item-ouchao .company-logo-image {
    width: 220px;
    height: 88px;
}

.company-item h4 {
    margin-bottom: 12px;
    font-size: 22px;
    color: #2f241c;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.company-item > p:first-of-type {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 15px;
    color: #8b5e3c;
    line-height: 1.7;
    font-weight: 500;
    position: relative;
}

.company-item > p:first-of-type::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 42px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d9b48d 0%, #a86c3d 100%);
}

.company-item p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #666;
    line-height: 1.75;
}

.company-item p[data-i18n^="about.company"] {
    font-weight: 500;
    color: #444;
    margin-bottom: 20px;
}

.company-item p[data-i18n$="Detail"] {
    text-align: justify;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

/* 公司价值观部分 */
.company-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.value-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    z-index: -1;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-item i {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.value-item:hover i {
    transform: scale(1.2);
}

.value-item h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 350px;
        order: -1;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .company-values {
        grid-template-columns: 1fr;
    }
    
    .company-item {
        padding: 24px 20px 22px;
    }
    
    .company-logo-image {
        width: 150px;
        height: 82px;
        margin-bottom: 18px;
    }

    .company-item-ouchao .company-logo-image {
        width: 190px;
        height: 76px;
    }
    
    .value-item {
        padding: 20px;
    }
}

/* 新品展示 */
.new-products {
    background-color: #f9f5f0;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.new-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    opacity: 0.05;
    z-index: 0;
}

.new-products .container {
    position: relative;
    z-index: 1;
}

.new-products-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.new-products-intro p {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.new-products {
    overflow-x: hidden;
}

.new-products-slider {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    position: relative;
    width: 100%;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.new-product-slide {
    min-width: 0;
    width: 100%;
    margin: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.new-product-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.new-product-slide:after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.new-product-slide:hover:after {
    opacity: 1;
    transform: scale(1);
}

.new-product-slide:hover .view-details {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.new-product-image {
    position: relative;
    width: 100%;
    height: 350px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.new-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.new-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.new-product-info {
    padding: 20px;
    background: #fff;
    flex-grow: 1;
}

.new-product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.new-product-info p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.view-details {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    pointer-events: none;
}

.view-details:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.prev-slide, .next-slide {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    cursor: pointer;
    transition: var(--transition);
}

.prev-slide:hover, .next-slide:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .new-products-slider {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .new-products-slider {
        grid-template-columns: 1fr;
    }
}

/* 产品展示区域 */
.hot-products {
    background: linear-gradient(180deg, #f8f3ed 0%, #ffffff 100%);
}

.hot-products-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 36px;
}

.hot-products-intro p {
    font-size: 1.08rem;
    color: #7a5a42;
}

.hot-products-header {
    margin-bottom: 30px;
    position: relative;
}

.hot-products-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 16px;
    position: relative;
}

.hot-products-header-row p {
    margin: 0;
    color: #8a6a52;
    font-size: 1rem;
    line-height: 1.8;
}

.all-products-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.18);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(139, 69, 19, 0.08);
    position: absolute;
    left: calc(50% + 260px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
}

.all-products-mini-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) translateY(-2px);
}

.product-category-nav-bottom {
    margin: 38px auto 0;
    padding-top: 28px;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
}

.product-category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 42px;
}

.catalog-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(139, 69, 19, 0.18);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.08);
}

.catalog-nav-btn:hover,
.catalog-nav-btn.active {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.catalog-stage {
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.catalog-sections {
    position: relative;
    min-height: 0;
}

.catalog-section {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.45s ease, opacity 0.45s ease, visibility 0.45s ease;
    margin: 0;
}

.catalog-section.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 2;
}

.catalog-section.is-leaving-left {
    opacity: 0;
    visibility: visible;
    transform: translateX(-100%);
    z-index: 1;
}

.catalog-section.is-leaving-right {
    opacity: 0;
    visibility: visible;
    transform: translateX(100%);
    z-index: 1;
}

.catalog-section.is-entering-left {
    opacity: 1;
    visibility: visible;
    transform: translateX(-100%);
    z-index: 2;
}

.catalog-section.is-entering-right {
    opacity: 1;
    visibility: visible;
    transform: translateX(100%);
    z-index: 2;
}

.catalog-item img {
    cursor: zoom-in;
    user-select: none;
}


.catalog-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.12);
}

.catalog-section-heading h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.catalog-section-heading span {
    color: #b18966;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
}

.catalog-item {
    margin: 0;
    background: #fffaf6;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(139, 69, 19, 0.08);
    box-shadow: 0 10px 24px rgba(110, 69, 33, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.catalog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(110, 69, 33, 0.14);
}

.catalog-item img {
    width: 100%;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover;
    display: block;
    background: #f1e5d9;
    flex: 0 0 auto;
}

.catalog-item figcaption {
    padding: 14px 12px 16px;
    text-align: center;
    font-weight: 700;
    color: #6d4b32;
    letter-spacing: 0.05em;
}

.catalog-section-empty p {
    color: #8c6c52;
    font-size: 1rem;
}

.product-categories,
.products-grid,
.load-more {
    display: none;
}

@media (max-width: 768px) {
    .catalog-stage,
    .catalog-sections {
        min-height: 0;
    }

    .catalog-section {
        padding: 20px;
        border-radius: 18px;
    }

    .catalog-section-heading {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .catalog-section-heading h3 {
        font-size: 1.45rem;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .catalog-nav-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    .hot-products-header {
        margin-bottom: 24px;
    }

    .hot-products-header-row {
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
    }

    .all-products-mini-btn {
        position: static;
        transform: none;
        padding: 7px 14px;
        font-size: 0.86rem;
    }

    .all-products-mini-btn:hover {
        transform: translateY(-2px);
    }

    .product-category-nav-bottom {
        margin-top: 30px;
        padding-top: 22px;
    }
}

@media (max-width: 480px) {
    .catalog-stage,
    .catalog-sections {
        min-height: 0;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

.products {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.category-type-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.type-btn {
    background-color: #f0f0f0;
    border: none;
    color: #333;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.type-btn.active {
    background-color: #2c3e50;
    color: white;
}

.product-categories {
    display: none;
}

.product-categories.active {
    display: block;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-btn {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #333;
    padding: 8px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

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

.product-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #2c3e50;
}

.product-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .category-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .type-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* 企业优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.advantage-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 联系我们 */
.contact {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.contact-info {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    position: relative;
    padding-left: 15px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.info-item div {
    padding-left: 60px;
}

.info-item h3 {
    margin-bottom: 8px;
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-item p {
    margin: 0;
    color: var(--text-color);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    transition: var(--transition);
    margin-top: 10px;
}

.download-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-btn i {
    font-size: 1.1em;
}

.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.map-container h3 {
    background: #fff;
    color: var(--primary-color);
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.map-container h3::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
}

#baidu-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.store-map-link {
    display: block;
    color: inherit;
}

.store-map-wrap {
    position: relative;
    background: #fff;
    cursor: pointer;
}

.store-map-wrap img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 0;
}

.store-map-label {
    position: absolute;
    left: 50%;
    top: 43%;
    transform: translate(-50%, -115%);
    padding: 7px 13px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(139, 69, 19, 0.25);
    pointer-events: none;
}

.store-map-label::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid var(--primary-color);
}

.amap-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 12px 12px;
    transition: var(--transition);
}

.amap-nav-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.amap-nav-btn i {
    color: inherit;
}

#beijing-time {
    font-weight: 500;
    color: var(--primary-color);
}

/* 地图信息窗口样式 */
.BMap_bubble_title {
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.BMap_bubble_content {
    color: #666;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-info {
        padding: 30px;
    }
    
    .info-item {
        margin-bottom: 25px;
    }
    
    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-item div {
        padding-left: 55px;
    }
    
    #baidu-map {
        height: 250px;
    }

    .store-map-label {
        top: 43%;
        padding: 6px 10px;
        font-size: 0.78rem;
    }
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: space-around;
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.footer-links ul li a {
    color: #ccc;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-beian a {
    color: #ccc;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-beian a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        grid-template-columns: 1fr;
    }
    
    .footer-links ul li a {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .language-selector {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }
    
    .language-selector select {
        font-size: 0.85rem;
        padding: 6px 28px 6px 10px;
        background-size: 14px;
    }
    
    .mobile-menu-btn {
        order: 3;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        transition: var(--transition);
        box-shadow: var(--box-shadow);
        order: 4;
        width: 100%;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .logo-container {
        gap: 10px;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo .sub-title {
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .company-values, .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-tabs {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .gallery-tab {
        width: 80%;
    }
}

/* 企业风采 */
.gallery {
    background-color: #f9f9f9;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-tab {
    padding: 10px 25px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
}

.gallery-tab:hover, .gallery-tab.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gallery-container {
    display: none;
}

.gallery-container.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item img[src="https://charmforyou.oss-us-west-1.aliyuncs.com/images/5555.jpg"] {
    object-position: center 70%; /* 调整图片显示位置，使顶棚更加明显 */
}

/* 图片模态框 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--secondary-color);
}

.modal-navigation {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .modal-image {
        max-height: 80vh;
    }
    
    .modal-navigation {
        bottom: -40px;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
    }
}

/* 环保认证部分 */
.certification {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.certification-content {
    margin-bottom: 40px;
}

.certification-text p {
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: justify;
}

.certification-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.certification-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
}

.certification-item i {
    color: #4CAF50;
    font-size: 24px;
    margin-right: 15px;
}

.certification-reports h3 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
}

.reports-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.report-category h4 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    color: #333;
}

.report-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dmf-reports {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
}

.report-image {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.report-image:hover {
    transform: scale(1.03);
}

.report-image::after {
    content: '\1F50D';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.report-image:hover::after {
    opacity: 1;
}

.report-image img {
    width: 100%;
    height: auto;
    display: block;
}

.report-image p {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    background-color: #f5f5f5;
    margin: 0;
}

/* 报告查看器模态框 */
.report-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.report-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.report-modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.report-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.report-modal-close:hover {
    color: #e74c3c;
}

.report-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.report-modal-title {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.zoom-controls {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.zoom-in-btn,
.zoom-out-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.zoom-in-btn:hover,
.zoom-out-btn:hover {
    background-color: #e9ecef;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .report-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .report-modal-image {
        max-height: 60vh;
    }
    
    .zoom-in-btn,
    .zoom-out-btn {
        width: 35px;
        height: 35px;
    }
}

/* 优化公司架构部分 */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.company-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.company-item:hover {
    transform: translateY(-5px);
}

.company-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-item h4 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 18px;
    color: #333;
}

.company-item p {
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.company-item p[data-i18n^="about.company"] {
    text-align: center;
    font-weight: bold;
    color: #444;
}

.company-item p[data-i18n^="about.company"][data-i18n$="Detail"] {
    text-align: justify;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    color: #666;
}

/* 优化图片布局 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .certification-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certification-items {
        grid-template-columns: 1fr;
    }
    
    .report-images {
        grid-template-columns: 1fr;
    }
    
    .dmf-reports {
        grid-template-columns: 1fr;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* 百度地图样式 */
.map-container {
    margin-top: 30px;
    width: 100%;
}

.map-container h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

#baidu-map {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

#beijing-time {
    font-weight: bold;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    #baidu-map {
        height: 250px;
    }
}

.contact-form {
    justify-content: space-between;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    border-radius: 3px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group:last-of-type {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    background-color: #fff;
}

.form-group textarea {
    height: 100%;
    min-height: 150px;
    resize: vertical;
    flex-grow: 1;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 10px;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input, .form-group textarea {
        padding: 12px 15px;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* 热销商品部分 */
.hot-products {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.hot-products::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(139, 69, 19, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hot-products .container {
    position: relative;
    z-index: 1;
}

.hot-products-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
}

.hot-products-intro p {
    max-width: 700px;
    margin: 0 auto;
}

/* 分类筛选按钮 */
.product-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    font-weight: 500;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

/* 产品卡片网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.product-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #daa520 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover:after {
    opacity: 1;
}

.product-card:hover .view-details {
    opacity: 1;
    transform: translateY(0);
}

.product-card .view-details {
    opacity: 0.8;
    transform: translateY(5px);
    transition: all 0.3s ease;
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 10px;
    text-decoration: underline;
    padding-bottom: 2px;
    cursor: pointer;
}

/* 产品标签 */
.product-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 2;
}

.tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 500;
    color: #fff;
}

.tag-animal {
    background-color: #e67e22;
}

.tag-metallic {
    background-color: #3498db;
}

.tag-fabric {
    background-color: #9b59b6;
}

.tag-glitter {
    background-color: #f1c40f;
    color: #333;
}

.tag-others {
    background-color: #7f8c8d;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.15);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* 修改产品卡片样式以适应预览功能 */
.product-preview,
.preview-image,
.new-product-image:hover .product-preview,
.product-card:hover .product-preview {
    display: none;
}

/* 修改产品图片悬停效果 */
.new-product-image,
.product-card .new-product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.new-product-image img,
.product-card .new-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.new-product-image:hover img,
.product-card .new-product-image:hover img {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-preview {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .product-preview {
        grid-template-columns: 1fr;
        padding: 8px;
    }
}

.phone-list {
    display: grid;
    gap: 6px;
}

.info-item .phone-list {
    padding-left: 0;
}

.phone-list a {
    color: var(--text-color);
    font-weight: 600;
}

@media (min-width: 993px) {
    .contact-info {
        flex: 1.28 1 0;
    }

    .contact-form {
        flex: 0.82 1 0;
    }
}

.wechat-info-item {
    display: block;
    padding-left: 0;
}

.wechat-info-item:hover {
    transform: none;
}

.wechat-info-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.info-item .wechat-info-heading {
    padding-left: 0;
}

.wechat-info-heading > i {
    position: static;
    transform: none;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.wechat-info-item:hover .wechat-info-heading > i {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.08);
}

.info-item .wechat-info-heading > div {
    padding-left: 0;
}

.wechat-qr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
    width: 100%;
}

.wechat-qr-card {
    margin: 0;
    padding: 10px 10px 11px;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
    border: 1px solid rgba(139, 69, 19, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(88, 58, 32, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wechat-qr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(88, 58, 32, 0.14);
}

.wechat-qr-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.wechat-qr-card figcaption {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.2;
    color: #6d4b32;
    font-weight: 700;
}

/* 手机端排版优化 */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 72px;
    }

    body {
        font-size: 15px;
        line-height: 1.7;
        overflow-x: hidden;
    }

    .container {
        padding: 0 16px;
    }

    section,
    .new-products,
    .hot-products,
    .certification,
    .contact {
        padding: 54px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        margin-top: 12px !important;
    }

    .underline {
        width: 56px;
        height: 3px;
    }

    header {
        padding: 10px 0;
    }

    header .container {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .logo {
        min-width: 0;
        flex: 1;
    }

    .logo-container {
        gap: 9px;
        min-width: 0;
    }

    .header-logo {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .logo h1 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo .sub-title {
        font-size: 0.68rem;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f8f3ed;
        color: var(--primary-color);
        flex: 0 0 40px;
    }

    nav {
        top: 60px;
        height: calc(100vh - 60px);
        width: 100%;
        overflow-y: auto;
    }

    nav ul {
        padding: 18px 20px 28px;
        gap: 4px;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 12px 4px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(139, 69, 19, 0.08);
    }

    .hero {
        height: calc(100vh - 58px);
        min-height: calc(100svh - 58px);
        margin-top: 58px;
        padding: 0;
        background-size: cover;
        background-position: center center;
    }

    .hero .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 42px 8px;
    }

    .hero-content h2 {
        font-size: clamp(2rem, 10vw, 3.05rem);
        line-height: 1.12;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .hero-buttons {
        margin-top: 22px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn,
    .btn {
        width: min(100%, 260px);
        padding: 12px 20px;
        border-radius: 999px;
    }

    .new-products-intro {
        margin-bottom: 24px;
    }

    .new-products-intro p,
    .hot-products-intro p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .new-products-slider {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .new-product-slide {
        border-radius: 12px;
    }

    .new-product-image {
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 8px;
    }

    .new-tag {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 0.68rem;
    }

    .new-product-info {
        padding: 10px;
    }

    .new-product-info h3 {
        font-size: 0.94rem;
        line-height: 1.35;
        margin-bottom: 5px;
    }

    .new-product-info p {
        font-size: 0.76rem;
        line-height: 1.45;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .view-details {
        font-size: 0.78rem;
        padding-bottom: 2px;
    }

    .product-category-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
        margin: 0 -16px 28px;
        padding: 2px 16px 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .catalog-nav-btn {
        flex: 0 0 auto;
        scroll-snap-align: start;
        padding: 9px 15px;
        font-size: 0.9rem;
        white-space: nowrap;
        box-shadow: 0 6px 16px rgba(139, 69, 19, 0.08);
    }

    .catalog-section {
        padding: 0;
        border-radius: 0;
    }

    .catalog-section-heading {
        gap: 4px;
        padding-bottom: 10px;
    }

    .catalog-section-heading h3 {
        font-size: 1.35rem;
    }

    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .catalog-item {
        border-radius: 10px;
        box-shadow: 0 6px 14px rgba(110, 69, 33, 0.08);
    }

    .catalog-item figcaption {
        padding: 8px 4px 9px;
        font-size: 0.78rem;
        line-height: 1.25;
        letter-spacing: 0.02em;
    }

    .about {
        padding: 54px 0;
    }

    .about-content {
        gap: 32px;
        margin-top: 24px;
    }

    .about-intro {
        gap: 24px;
    }

    .about-text p,
    .certification-text p {
        font-size: 0.95rem;
        line-height: 1.85;
        text-align: left;
        margin-bottom: 16px;
    }

    .about-image {
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 14px;
    }

    .company-structure {
        margin-top: 34px;
        padding-top: 28px;
    }

    .company-structure h3 {
        font-size: 1.45rem;
        margin-bottom: 22px;
    }

    .companies-grid,
    .company-values,
    .reports-grid,
    .dmf-reports {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .advantages-grid,
    .certification-items,
    .gallery-grid,
    .report-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .company-item,
    .value-item {
        border-radius: 14px;
        padding: 20px 16px;
    }

    .advantage-item,
    .certification-item {
        border-radius: 14px;
        padding: 16px 10px;
    }

    .advantage-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 12px;
    }

    .advantage-icon i {
        font-size: 1.45rem;
    }

    .advantage-item h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .advantage-item p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .certification-item {
        align-items: center;
        min-height: 58px;
    }

    .certification-item i {
        font-size: 18px;
        margin-right: 8px;
        flex: 0 0 auto;
    }

    .certification-item span {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .company-item p[data-i18n$="Detail"] {
        text-align: left;
    }

    .gallery-tabs {
        justify-content: flex-start;
        gap: 10px;
        margin: 0 -16px 28px;
        padding: 0 16px 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-tab {
        flex: 0 0 auto;
        width: auto;
        padding: 9px 18px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-item {
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        background: #fff;
        padding: 6px;
    }

    .gallery-item img {
        object-fit: contain;
        border-radius: 8px;
    }

    .report-image {
        background: #fff;
        padding: 6px;
        border-radius: 12px;
    }

    .report-image img {
        aspect-ratio: 3 / 4;
        object-fit: contain;
        background: #fff;
    }

    .report-image p {
        padding: 7px 4px;
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .contact-content {
        gap: 22px;
    }

    .contact-info,
    .contact-form {
        min-width: 0;
        width: 100%;
        padding: 24px 18px;
        border-radius: 14px;
    }

    .info-item {
        align-items: flex-start;
        padding-left: 0;
        margin-bottom: 22px;
    }

    .info-item i {
        position: static;
        transform: none;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        margin-right: 12px;
    }

    .info-item:hover i {
        transform: none;
    }

    .info-item div {
        padding-left: 0;
        min-width: 0;
    }

    .info-item h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .info-item p {
        font-size: 0.92rem;
        line-height: 1.6;
        word-break: break-word;
    }

    .wechat-qr-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 14px;
    }

    .phone-list {
        gap: 8px;
    }

    .phone-list p {
        padding: 9px 10px;
        background: #fffaf6;
        border: 1px solid rgba(139, 69, 19, 0.08);
        border-radius: 10px;
    }

    .phone-list a {
        color: var(--primary-color);
    }

    .wechat-info-heading {
        gap: 12px;
        margin-bottom: 12px;
    }

    .info-item .wechat-info-heading {
        padding-left: 0;
    }

    .wechat-info-heading > i {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .info-item .wechat-info-heading > div {
        padding-left: 0;
    }

    .wechat-qr-card {
        margin: 0;
        padding: 12px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .wechat-qr-card img {
        width: min(100%, 260px);
        height: auto;
        display: block;
        margin: 0 auto;
        border-radius: 10px;
    }

    .wechat-qr-card figcaption {
        margin-top: 8px;
        font-size: 0.9rem;
        color: #6d4b32;
        font-weight: 700;
    }

    .map-container h3 {
        padding: 12px 14px;
        font-size: 1rem;
    }

    #baidu-map {
        height: 220px;
    }

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

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 12px 14px;
    }

    .form-group textarea {
        min-height: 128px;
    }

    .footer-content {
        align-items: stretch;
        text-align: left;
    }

    .footer-links,
    .footer-contact {
        min-width: 0;
        max-width: none;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 0;
        transform: none;
    }

    .footer-links ul li a,
    .footer-contact p {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    section,
    .new-products,
    .hot-products,
    .certification,
    .contact {
        padding: 46px 0;
    }

    .logo h1 {
        font-size: 0.95rem;
    }

    .logo .sub-title {
        max-width: 230px;
    }

    .hero {
        height: calc(100vh - 58px);
        min-height: calc(100svh - 58px);
        padding: 0;
    }

    .hero-content h2 {
        font-size: 2.15rem;
    }

    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .catalog-item figcaption {
        font-size: 0.76rem;
    }

    .contact-info,
    .contact-form {
        padding: 22px 16px;
    }

    .advantages-grid,
    .certification-items,
    .gallery-grid,
    .report-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .advantage-item,
    .certification-item {
        padding: 14px 8px;
    }

    .wechat-qr-grid {
        gap: 12px;
    }

    .wechat-qr-card img {
        width: min(100%, 240px);
    }
}

/* 产品状态小角标：用于热销/新品在目录卡片右上角提示 */
.catalog-item,
.catalog-card,
.new-product-image {
    position: relative;
}

.product-corner-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    pointer-events: none;
}

.product-corner-badge {
    min-width: 34px;
    padding: 2px 7px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.62rem;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.18);
}

.product-corner-badge.badge-new {
    background: linear-gradient(135deg, #2ecc71, #169f5f);
}

.product-corner-badge.badge-hot {
    background: linear-gradient(135deg, #ff7a18, #e53935);
}

@media (max-width: 768px) {
    .product-corner-badges {
        top: 5px;
        right: 5px;
        gap: 3px;
    }

    .product-corner-badge {
        min-width: 28px;
        padding: 1px 5px;
        font-size: 0.52rem;
    }
}

/* 移动端热销分类横向滑动提示 */
.product-category-nav-wrap {
    position: relative;
}

.mobile-tab-hint {
    display: none;
}

@media (max-width: 768px) {
    .product-category-nav-wrap {
        margin: 0 -20px 24px;
        padding: 0 0 6px 20px;
    }

    .mobile-tab-hint {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        padding: 0 22px 8px 0;
        color: #9a6a3a;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        animation: tabHintPulse 1.8s ease-in-out infinite;
    }

    .mobile-tab-hint span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: rgba(139, 69, 19, 0.12);
        font-size: 1.2rem;
        line-height: 1;
    }

    .product-category-nav-wrap::after {
        content: '›';
        position: absolute;
        top: 34px;
        right: 0;
        width: 44px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #8b4513;
        font-size: 1.7rem;
        font-weight: 800;
        background: linear-gradient(90deg, rgba(249, 249, 249, 0), #f9f9f9 58%);
        pointer-events: none;
        z-index: 3;
    }

    .product-category-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding: 0 56px 10px 0;
        margin-bottom: 0;
        scrollbar-width: none;
    }

    .product-category-nav::-webkit-scrollbar {
        display: none;
    }

    .product-category-nav .catalog-nav-btn {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
    }
}

@keyframes tabHintPulse {
    0%, 100% { opacity: 0.62; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

/* 新品区域更新时间 */
.new-products-update-time {
    margin-top: 8px;
    color: #9a6a3a;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* 强化产品小角标，避免移动端因旧样式或布局变成普通文字 */
.catalog-item > .product-corner-badges,
.catalog-card > .product-corner-badges {
    position: absolute !important;
    top: 7px !important;
    right: 7px !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 3px !important;
    pointer-events: none !important;
    line-height: 1 !important;
}

.catalog-item > .product-corner-badges .product-corner-badge,
.catalog-card > .product-corner-badges .product-corner-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 30px !important;
    max-width: 42px !important;
    height: 17px !important;
    padding: 0 6px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 0.56rem !important;
    line-height: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

@media (max-width: 768px) {
    .catalog-item > .product-corner-badges,
    .catalog-card > .product-corner-badges {
        top: 5px !important;
        right: 5px !important;
        gap: 2px !important;
    }

    .catalog-item > .product-corner-badges .product-corner-badge,
    .catalog-card > .product-corner-badges .product-corner-badge {
        min-width: 25px !important;
        max-width: 36px !important;
        height: 14px !important;
        padding: 0 4px !important;
        font-size: 0.46rem !important;
        line-height: 14px !important;
    }

    .new-products-update-time {
        font-size: 0.82rem;
    }
}
