/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', 'Segoe UI', Roboto, Arial, sans-serif;
    color: #1a1a2e;
    background-color: #f9f9fb;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== 顶部通告栏 ===== */
.top-bar {
    background-color: #1a1a2e;
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.top-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* 整体居中，但实际居中由内部文字控制 */
    min-height: 40px; /* 确保高度足够容纳按钮 */
}

/* 居中文字区域 */
.top-bar-center {
    text-align: center;
    width: 100%; /* 占满整行，让文字居中 */
}

.top-bar-center span {
    display: inline-block;
    margin: 0 12px;
}

.top-bar-center i {
    color: #f5c842;
    margin-right: 5px;
}

/* 右侧语言切换（绝对定位，不影响居中） */
.top-bar-lang {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 4px;
}

/* 语言切换按钮 */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;
    transition: all 0.25s ease;
    line-height: 1.6;
    cursor: pointer;
}

.lang-switch .flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-switch .lang-label {
    font-size: 0.65rem;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.lang-switch:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-switch.active {
    color: #fff;
    background: rgba(196, 154, 108, 0.35);
    border-color: #c49a6c;
    box-shadow: 0 0 0 1px rgba(196, 154, 108, 0.3);
}

.lang-switch.active .flag {
    filter: drop-shadow(0 0 2px rgba(196, 154, 108, 0.4));
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .top-bar-wrapper {
        min-height: 36px;
        padding: 4px 0;
    }

    .top-bar-center span {
        font-size: 0.75rem;
        margin: 0 8px;
    }

    .lang-switch {
        padding: 0 8px;
        font-size: 0.65rem;
    }

    .lang-switch .flag {
        font-size: 0.95rem;
    }

    .lang-switch .lang-label {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .top-bar-center span {
        font-size: 0.7rem;
        margin: 0 4px;
    }

    .lang-switch .lang-label {
        display: none; /* 小屏只显示国旗 */
    }

    .top-bar-lang {
        gap: 2px;
        right: 2px;
    }
}
/* ===== 导航栏 ===== */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
}

.logo span {
    color: #c49a6c;
}

.logo small {
    font-size: 0.7rem;
    font-weight: 400;
    color: #888;
    display: block;
    margin-top: -4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links > li {
    position: relative;
    padding: 4px 0;
}

.nav-links a {
    color: #1a1a2e;
    transition: color 0.2s;
    display: block;
    white-space: nowrap;
}

.nav-links > li > a {
    padding: 6px 0;
}

.nav-links a:hover {
    color: #c49a6c;
}

/* 主菜单下划线效果（仅作用于一级链接） */
.nav-links > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #c49a6c;
    transition: width 0.25s;
}

.nav-links > li > a:hover::after {
    width: 100%;
}

/* ===== Active 菜单样式 ===== */
.nav-links > li.active > a {
    color: #c49a6c;
}

.nav-links > li.active > a::after {
    width: 100%;
}

/* ===== 子菜单样式（修复悬停消失问题） ===== */
.nav-links ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 130px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    visibility: hidden;
    z-index: 200;
    border: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-top: -10px;
}

.nav-links li:hover > ul,
.nav-links li:focus-within > ul {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.nav-links ul li {
    padding: 0 16px;
}

.nav-links ul li a {
    padding: 8px 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.2s, padding-left 0.2s;
}

.nav-links ul li:last-child a {
    border-bottom: none;
}

.nav-links ul li a:hover {
    color: #c49a6c;
    padding-left: 6px;
}

/* 子菜单中的箭头指示 */
.nav-links > li > a i {
    margin-left: 4px;
    font-size: 0.7rem;
    color: #999;
}

/* ===== 导航图标 ===== */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1.15rem;
}

.nav-icons a {
    color: #1a1a2e;
    transition: color 0.2s;
}

.nav-icons a:hover {
    color: #c49a6c;
}

.nav-icons .cart-badge {
    position: relative;
}

.nav-icons .cart-badge::after {
    content: '0';
    position: absolute;
    top: -10px;
    right: -10px;
    background: #c49a6c;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 移动端菜单切换 */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #1a1a2e;
}

/* ===== 英雄区【全屏、底色贴合图片、完整显示不裁切】 ===== */
.hero {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
    background: linear-gradient(135deg, #f5f0eb 0%, #e8dfd7 100%);
}
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* 不写固定vh高度，高度由图片自动撑开 */
    height: auto;
}
.hero-slide {
    display: none;
    width: 100%;
    height: auto;
    animation: slideFade 0.6s ease;
}
.hero-slide.active {
    display: block;
}
.hero-image {
    width: 100%;
    height: auto;
}
.hero-image-frame {
    width: 100%;
    height: auto;
    max-width: unset;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.hero-image-frame img {
    width: 100%;
    height: auto;
    border-radius: 0;
    /* contain：完整显示整张图，等比例缩小，不会裁切 */
    object-fit: contain;
    display: block;
}

/* 指示器：悬浮图片底部居中 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}
.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.slider-dots span.active {
    background: #c49a6c;
    width: 28px;
    border-radius: 5px;
}

/* 左右切换按钮：默认隐藏，鼠标放图片才淡入显示 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 46, 0.7);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 默认隐藏+过渡动画 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
/* 鼠标悬浮轮播区域显示箭头 */
.hero-slider:hover .slider-btn {
    opacity: 1;
    visibility: visible;
}
.slider-btn:hover {
    background: #c49a6c;
    transform: translateY(-50%) scale(1.1);
}
.prev-btn {
    left: 30px;
}
.next-btn {
    right: 30px;
}

@keyframes slideFade {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

/* ========== 分屏幕自适应（仅调整按钮、圆点尺寸，不再限制图片高度） ========== */
/* 大屏 >1200px PC端 */
@media (min-width: 1200px) {
    .slider-dots {
        bottom: 24px;
    }
    .slider-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    .prev-btn {
        left: 40px;
    }
    .next-btn {
        right: 40px;
    }
}

/* 中屏 769px ~ 1199px 平板 */
@media (max-width: 1199px) and (min-width: 769px) {
    .slider-dots {
        bottom: 18px;
        gap: 8px;
    }
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .prev-btn {
        left: 20px;
    }
    .next-btn {
        right: 20px;
    }
}

/* 小屏 ≤768px 手机 */
@media (max-width: 768px) {
    .slider-dots {
        bottom: 12px;
        gap: 6px;
    }
    .slider-dots span {
        width: 8px;
        height: 8px;
    }
    .slider-dots span.active {
        width: 20px;
    }
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .prev-btn {
        left: 8px;
    }
    .next-btn {
        right: 8px;
    }
}

/* 超小屏 ≤480px 手机隐藏箭头 */
@media (max-width: 480px) {
    .slider-dots {
        bottom: 10px;
    }
    .slider-btn {
        display: none;
    }
}

/* ===== 特色徽章 ===== */
.features {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.feature-item i {
    font-size: 2.2rem;
    color: #c49a6c;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.feature-item p {
    font-size: 0.85rem;
    color: #777;
    margin-top: 4px;
}

/* ===== 产品分类 ===== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.section-title p {
    color: #777;
    margin-top: 6px;
}

.products {
    padding: 60px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

a.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
}

.product-card > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-card .img-placeholder {
    height: 200px;
    background: #e8e1d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #c49a6c;
}
/* 新增图片适配 */
.product-card .img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.15rem;
    margin: 16px 0 6px;
    color: #1a1a2e;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    padding: 0 16px;
    margin-bottom: 14px;
}

.product-card .btn-small {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    background: #1a1a2e;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.3s;
    pointer-events: none;
}

.product-card:hover .btn-small {
    background: #c49a6c;
}

/* ===== 首页产品展示（与产品列表页同款布局） ===== */
.home-showcase {
    padding: 50px 0 40px;
    background: #f8f9fa;
}

.home-showcase:not(:last-child) {
    border-bottom: 1px solid rgba(196, 155, 108, 0.45);
    padding-bottom: 50px;
}

.home-showcase + .home-showcase {
    padding-top: 50px;
}

.home-showcase .products-header {
    text-align: center;
    margin-bottom: 30px;
}

.home-showcase .products-header h2 {
    font-size: 32px;
    color: #222;
    margin: 0;
    font-weight: 600;
}

.home-showcase .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.home-showcase a.product-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    text-align: center;
}

.home-showcase a.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-showcase a.product-card .product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
}

.home-showcase a.product-card .product-info {
    padding: 16px;
}

.home-showcase a.product-card .product-name {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 42px;
}

.home-showcase a.product-card .product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color, #c49b6c);
}

.home-showcase a.product-card .product-price .currency {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    margin-right: 4px;
    letter-spacing: 0.5px;
    vertical-align: 1px;
}

.home-showcase .showcase-footer {
    text-align: center;
    padding-bottom: 10px;
}

.home-showcase .showcase-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    border-radius: 24px;
    border: 1.5px solid var(--primary-color, #c49b6c);
    color: var(--primary-color, #c49b6c);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.home-showcase .showcase-more-btn:hover {
    background: var(--primary-color, #c49b6c);
    color: #fff;
}

@media (max-width: 1100px) {
    .home-showcase .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-showcase {
        padding: 36px 0 30px;
    }
    .home-showcase .products-header h2 {
        font-size: 26px;
    }
    .home-showcase .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .home-showcase a.product-card .product-info {
        padding: 12px;
    }
    .home-showcase a.product-card .product-name {
        font-size: 13px;
        min-height: 36px;
    }
    .home-showcase a.product-card .product-price {
        font-size: 16px;
    }
}

/* ===== 服务保障 ===== */
.guarantee {
    background: #1a1a2e;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

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

.guarantee-item i {
    font-size: 2.4rem;
    color: #c49a6c;
    margin-bottom: 10px;
}

.guarantee-item h4 {
    font-size: 1.05rem;
}

.guarantee-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== 页脚 ===== */
.footer {
    background: #111;
    color: #bbb;
    padding: 50px 0 20px;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 36px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #c49a6c;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #2a2a2a;
    font-size: 0.85rem;
    color: #777;
    grid-column: 1 / -1;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-frame {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    /* 顶部通告栏移动端 */
    .top-bar-wrapper {
        min-height: auto;
        padding: 6px 0;
    }
    .top-bar-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;
        padding-right: 60px;
        box-sizing: border-box;
        pointer-events: none;   /* 关键修复：让点击穿透到 .top-bar-lang */
    }
    .top-bar-center span {
        display: block;
        margin: 0;
        font-size: 0.75rem;
        white-space: nowrap;
        pointer-events: auto;   /* 保留文字可选中（可选） */
    }
    .top-bar-lang {
        z-index: 10;            /* 确保位于最上层 */
    }
    .lang-switch {
        padding: 0 8px;
        font-size: 0.65rem;
    }
    .lang-switch .flag {
        font-size: 0.95rem;
    }
    .lang-switch .lang-label {
        font-size: 0.55rem;
    }

    /* 导航菜单 */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 16px 0;
        gap: 6px;
        background: #fff;
        border-top: 1px solid #eee;
    }
    .nav-links.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links > li {
        width: 100%;
        position: relative;
    }
    .nav-links > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-links > li > a i {
        font-size: 0.9rem;
        transition: transform 0.3s;
    }
    .nav-links ul {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        background: #fafafa;
        opacity: 1;
        transform: none;
        visibility: visible;
        display: none;
        border: none;
        transition: none;
        top: auto;
    }
    .nav-links ul li a {
        border-bottom: 1px solid #eee;
        padding: 8px 0;
        font-size: 0.9rem;
    }
    .nav-links ul li:last-child a {
        border-bottom: none;
    }
    .nav-links li.open-mobile > ul {
        display: block;
    }
    .nav-links li.open-mobile > a i {
        transform: rotate(180deg);
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-image-frame {
        max-width: 100%;
    }
    .nav-links > li.active > a {
        color: #c49a6c;
    }
    .nav-links > li.active > a::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-bar-center {
        padding-right: 50px;
        gap: 2px;
    }
    .top-bar-center span {
        font-size: 0.7rem;
    }
    .lang-switch .lang-label {
        display: none;
    }
    .top-bar-lang {
        gap: 2px;
        right: 2px;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    .features .container {
        grid-template-columns: 1fr 1fr;
    }
    .guarantee .container {
        grid-template-columns: 1fr 1fr;
    }
    .footer .container {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== 搜索弹窗 ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px 50px 50px;
    max-width: 640px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.search-overlay.active .search-modal {
    transform: scale(1) translateY(0);
}

.search-modal .close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.25s, transform 0.25s;
    line-height: 1;
    padding: 4px 8px;
}

.search-modal .close-btn:hover {
    color: #1a1a2e;
    transform: rotate(90deg);
}

.search-modal h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.search-modal .sub-text {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.search-modal form {
    display: flex;
    gap: 0;
    background: #f5f0eb;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.search-modal form:focus-within {
    border-color: #c49a6c;
}

.search-modal form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #1a1a2e;
    outline: none;
}

.search-modal form input::placeholder {
    color: #aaa;
}

.search-modal form button {
    padding: 16px 32px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.search-modal form button:hover {
    background: #c49a6c;
}

.search-modal .search-tips {
    margin-top: 18px;
    font-size: 0.8rem;
    color: #aaa;
    text-align: left;
}

/* 移动端适配 */
@media (max-width: 576px) {
    .search-modal {
        padding: 30px 24px 36px;
    }
    .search-modal h3 {
        font-size: 1.1rem;
    }
    .search-modal form input {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    .search-modal form button {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    .search-modal .close-btn {
        font-size: 1.5rem;
        top: 12px;
        right: 14px;
    }
}

/* ========== 免费服务弹窗样式 ========== */
.free-policy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 10000; /* 高于搜索弹窗9999 */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.free-policy-overlay.active {
    display: flex;
    opacity: 1;
}
.free-policy-modal {
    background: #fff;
    width: 92%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 40px 35px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.free-policy-overlay.active .free-policy-modal {
    transform: scale(1) translateY(0);
}
.free-policy-close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}
.free-policy-close:hover {
    color: #c49a6c;
    transform: rotate(90deg);
}
.free-policy-modal h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.free-policy-content {
    line-height: 1.8;
    color: #333;
    font-size: 0.98rem;
}
.free-policy-content p {
    margin-bottom: 12px;
}

.free-policy-btn {
    cursor: pointer;
}
/* 移动端适配 */
@media (max-width: 576px) {
    .free-policy-modal {
        padding: 30px 20px;
    }
    .free-policy-modal h3 {
        font-size: 1.1rem;
    }
}

/* ========== 隐私政策弹窗样式（与免费政策弹窗保持一致） ========== */
.privacy-policy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10001; /* 比免费政策弹窗更高一层 */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-policy-overlay.active {
    display: flex;
    opacity: 1;
}

/* 复用免费政策的弹窗样式，但也可以独立定义 */
.privacy-policy-overlay .free-policy-modal {
    background: #fff;
    width: 92%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 40px 35px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.privacy-policy-overlay.active .free-policy-modal {
    transform: scale(1) translateY(0);
}

/* 如果隐私政策弹窗使用了独立的关闭按钮类 */
.privacy-policy-overlay .privacy-policy-close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.privacy-policy-overlay .privacy-policy-close:hover {
    color: #c49a6c;
    transform: rotate(90deg);
}

/* 如果弹窗内的标题使用了不同的类 */
.privacy-policy-overlay .privacy-policy-title {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-policy-overlay .privacy-policy-content {
    line-height: 1.8;
    color: #333;
    font-size: 0.98rem;
}

.privacy-policy-overlay .privacy-policy-content p {
    margin-bottom: 12px;
}

/* 移动端适配 */
@media (max-width: 576px) {
    .privacy-policy-overlay .free-policy-modal {
        padding: 30px 20px;
    }
    .privacy-policy-overlay .privacy-policy-title {
        font-size: 1.1rem;
    }
}

/* ===== 数据统计（about-stats） ===== */
.about-stats {
    padding: 60px 0;
    background: #1a1a2e;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stats-grid .stat-item .number {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stats-grid .stat-item .number .suffix {
    font-size: 1.4rem;
    font-weight: 400;
}

.stats-grid .stat-item .label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
    letter-spacing: 0.5px;
}
/* 中屏及以下 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }
    .stats-grid .stat-item .number {
        font-size: 2rem;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .stats-grid {
        gap: 16px 12px;
    }
    .stats-grid .stat-item .number {
        font-size: 1.6rem;
    }
    .stats-grid .stat-item .label {
        font-size: 0.8rem;
    }
}

/* ===== 右下角一键到顶 / 到底 ===== */
.page-scroll-nav {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.page-scroll-nav.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.page-scroll-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #c49a6c;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-scroll-btn:hover {
    background: #b4895b;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.page-scroll-btn:active {
    transform: translateY(0);
}

.page-scroll-btn.is-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .page-scroll-nav {
        right: 14px;
        bottom: 20px;
        gap: 8px;
    }
    .page-scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}