/* ===================================
   芭咖家具 - 主样式（商用批发/定制站）
   =================================== */

/* CSS 变量 */
:root {
    --primary-color: #1e3a5f;
    --secondary-color: #c9a227;
    --accent-color: #2d5a87;
    --text-dark: #1a1a1a;
    --text-light: #5c5c5c;
    --white: #FFFFFF;
    --bg-light: #f4f6f9;
    --bg-cream: #f8f9fb;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.14);
    --transition: all 0.3s ease;
    --top-bar-height: 46px;
    --nav-height: 68px;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Noto Serif SC', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* ===================================
   顶栏公告
   =================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.875rem;
    min-height: var(--top-bar-height);
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0.35rem 20px;
}

.top-bar-msg {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    opacity: 0.95;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.top-bar-phone {
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}

.top-bar-phone:hover {
    color: var(--secondary-color);
}

.btn-top {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    text-transform: none;
    letter-spacing: 0;
}

.btn-top:hover {
    filter: brightness(1.05);
    color: var(--text-dark);
}

/* ===================================
   导航栏
   =================================== */
.navbar {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Noto Serif SC', serif;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* ===================================
   语言切换器
   =================================== */
.lang-switcher {
    position: relative;
    margin-left: 1.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.lang-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.lang-icon {
    font-size: 1.1rem;
}

.current-lang {
    font-weight: 500;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-hover);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown button {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.lang-dropdown button:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-dropdown button:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.lang-dropdown button:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.lang-dropdown button.active {
    background: var(--primary-color);
    color: var(--white);
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   按钮样式
   =================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===================================
   首屏横幅（视差效果）
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&q=80');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: calc(var(--top-bar-height) + var(--nav-height));
}

.hero-commercial .hero-overlay {
    background: rgba(15, 30, 50, 0.55);
}

.hero-kicker {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    font-weight: 600;
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.btn-hero-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.85);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-text {
    background: none;
    border: none;
    padding: 0;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.5rem;
}

.btn-text:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.btn-on-dark {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.85);
}

.btn-on-dark:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Noto Serif SC', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===================================
   产品系列卡片
   =================================== */
.collections {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-family: 'Noto Serif SC', serif;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.collection-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.collection-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.collection-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif SC', serif;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ===================================
   关于我们
   =================================== */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   联系我们
   =================================== */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-light);
}

/* ===================================
   页脚
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a,
.social-links .social-btn {
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 5px;
    font-size: 0.9rem;
}

.social-links a:hover,
.social-links .social-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.social-links .social-btn {
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

/* 社交二维码弹窗 */
.social-qr-modal .modal-content.social-qr-content {
    max-width: 420px;
    width: 92%;
}

.social-qr-inner {
    padding: 2.75rem 1.75rem 2rem;
    text-align: center;
}

.social-qr-inner h3 {
    font-family: 'Noto Serif SC', serif;
    color: var(--primary-color);
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.social-qr-img-wrap {
    margin: 1rem auto;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 24px var(--shadow);
}

.social-qr-img-wrap img {
    width: 240px;
    height: 240px;
    max-width: min(240px, 70vw);
    max-height: min(240px, 70vw);
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.social-qr-hint {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0.75rem 0 1rem;
}

.social-qr-actions .btn {
    margin-top: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===================================
   模态框
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.modal-info h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Noto Serif SC', serif;
}

.modal-price {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-price.quote-hint {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.modal-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===================================
   产品列表页
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 6rem 0 3rem;
    text-align: center;
    margin-top: calc(var(--top-bar-height) + var(--nav-height));
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif SC', serif;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 筛选器 */
.filters {
    padding: 2rem 0;
    background: var(--bg-light);
    position: sticky;
    top: calc(var(--top-bar-height) + var(--nav-height));
    z-index: 100;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    text-align: center;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 产品网格（瀑布流） */
.products {
    padding: 3rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.quick-view-btn-product {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .quick-view-btn-product {
    bottom: 20px;
    opacity: 1;
}

.quick-view-btn-product:hover {
    background: var(--primary-color);
    color: var(--white);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif SC', serif;
}

.product-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price.quote-hint {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.92rem;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 隐藏的产品卡片（用于筛选） */
.product-card.hidden {
    display: none;
}

/* ===================================
   首页：客户条 / 畅销 / 品类 / 文案 / 价值 / CTA / 评价 / 表单
   =================================== */
.clients-strip {
    padding: 1.25rem 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.clients-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.client-pill {
    padding: 0.35rem 0.85rem;
    background: var(--bg-light);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.bestsellers {
    padding: 4rem 0;
    background: var(--bg-cream);
}

.section-title-left {
    text-align: left;
}

.section-title-left::after {
    left: 0;
    transform: none;
}

.section-intro {
    color: var(--text-light);
    max-width: 40rem;
    margin: -1.5rem 0 2rem;
    font-size: 1.05rem;
}

.section-intro.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-cta-row {
    text-align: center;
    margin-top: 2.5rem;
}

.bestseller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bs-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px var(--shadow-hover);
}

.bs-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.bs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary-color);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.bs-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bs-body h3 {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-family: 'Noto Serif SC', serif;
    margin-bottom: 0.35rem;
}

.bs-price {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.35rem;
}

.bs-price.quote-hint {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
}

.bs-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    flex: 1;
}

.category-hub {
    padding: 4rem 0;
    background: var(--white);
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.hub-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px var(--shadow);
    min-height: 220px;
    color: var(--white);
    display: block;
}

.hub-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hub-card:hover img {
    transform: scale(1.06);
}

.hub-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(10, 20, 40, 0.88) 100%);
    pointer-events: none;
}

.hub-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    z-index: 1;
}

.hub-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    font-family: 'Noto Serif SC', serif;
}

.hub-card-body p {
    font-size: 0.9rem;
    opacity: 0.92;
    line-height: 1.45;
}

.foodservice-block {
    padding: 3.5rem 0;
    background: var(--bg-light);
}

.narrow {
    max-width: 760px;
}

.food-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.foodservice-block:not(.is-expanded) .food-more {
    display: none;
}

.read-toggle {
    margin-top: 0.5rem;
}

.value-props {
    padding: 3rem 0 4rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 0 0.5rem;
}

.value-icon {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.value-item h3 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Noto Serif SC', serif;
}

.value-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.55;
}

.custom-section {
    padding: 4rem 0;
    background: var(--bg-cream);
}

.custom-steps {
    margin: 1.5rem 0 2rem;
    padding-left: 1.25rem;
    color: var(--text-light);
    line-height: 1.9;
}

.custom-steps li {
    margin-bottom: 0.5rem;
}

.section-title.align-left {
    text-align: left;
}

.section-title.align-left::after {
    left: 0;
    transform: none;
}

.cta-strip {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
}

.cta-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-strip h2 {
    font-size: 1.75rem;
    font-family: 'Noto Serif SC', serif;
    margin-bottom: 0.35rem;
}

.cta-strip p {
    opacity: 0.9;
    max-width: 28rem;
}

.cta-strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.testimonials {
    padding: 4rem 0;
    background: var(--bg-cream);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    margin: 0;
    border: none;
}

.testimonial-card p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-card footer {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-card strong {
    color: var(--primary-color);
}

.contact-extended .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 18px var(--shadow);
}

.contact-form h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Noto Serif SC', serif;
}

.contact-form label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

.newsletter-block {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    text-align: center;
}

.newsletter-block h3 {
    font-size: 1.35rem;
    font-family: 'Noto Serif SC', serif;
    margin-bottom: 0.5rem;
}

.newsletter-block > p {
    opacity: 0.9;
    margin-bottom: 1.25rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.65rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form .btn {
    text-transform: none;
    letter-spacing: 0;
}

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: var(--text-dark);
    color: var(--white);
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: calc(var(--top-bar-height) + var(--nav-height));
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* 移动端语言切换器 */
    .lang-switcher {
        margin-left: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
        min-width: 120px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .collection-grid,
    .about-content,
    .modal-body,
    .contact-extended .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .filter-group {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .collection-card,
    .product-card {
        margin: 0 10px;
    }
}
