/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 106, 229, 0.25);
}

.btn:hover {
    background-color: #000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 106, 229, 0.35);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #000, #5a8df0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 顶部导航样式 */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
    font-size: 26px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 40px;
    position: relative;
}

nav ul li a {
    font-weight: 600;
    font-size: 16px;
    color: #444;
    padding: 8px 0;
}

nav ul li a:hover {
    color: #000;
}

nav ul li.active a {
    color: #000;
}

nav ul li.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
}

/* 右上角功能区样式 */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 用户相关按钮样式 */
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
}

.login-btn:hover {
    background-color: #f0f5ff;
}

.register-btn {
    background-color: #000;
    color: white;
    border: 1px solid #000;
}

.register-btn:hover {
    background-color: #1c5ad6;
}

/* 用户信息展示样式 */
.user-info {
    display: flex;
    align-items: center;
    position: relative;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-right: 10px;
    cursor: pointer;
}

.username {
    font-weight: 600;
    color: #444;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-dropdown-item:hover {
    background-color: #f5f7ff;
}

.user-dropdown-item i {
    margin-right: 10px;
    width: 20px;
    color: #666;
}

/* 语言切换样式 */
.language-container {
    position: relative;
}

.language-switch {
    display: flex;
    align-items: center;
    background-color: #f5f7ff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #e1e6f9;
}

.language-switch i {
    margin-right: 8px;
    color: #000;
}

.language-switch:hover {
    background-color: #eef1ff;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ----- 全新汇率选择器 (下拉) ----- */
.currency-selector {
    position: relative;
    min-width: 110px;
    user-select: none;
}
/* 触发器 (类似语言切换样式) */
.currency-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f7ff;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e1e6f9;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}
.currency-trigger:hover {
    background: #eef1ff;
    border-color: #c8d0f0;
}
.currency-trigger .code-badge {
    background: #1a2332;
    color: white;
    border-radius: 30px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.currency-trigger i.fa-chevron-down {
    font-size: 12px;
    color: #6b7a93;
    transition: transform 0.25s;
}
.currency-trigger.open i.fa-chevron-down {
    transform: rotate(180deg);
}

/* 下拉菜单 (与语言下拉风格统一) */
.currency-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1200;
    border: 1px solid rgba(225, 230, 249, 0.6);
    overflow: hidden;
}
.currency-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉选项 */
.currency-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.15s;
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
    border-left: 3px solid transparent;
}
.currency-option:hover {
    background: #f5f7ff;
}
.currency-option .option-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.currency-option .code {
    font-weight: 700;
    color: #0f172a;
    background: #eef2f6;
    padding: 0 8px;
    border-radius: 20px;
    font-size: 12px;
    line-height: 22px;
}
.currency-option .name {
    color: #334155;
}
/* 选中状态高亮 (与设计一致) */
.currency-option.active {
    background: #eef1ff;
    border-left-color: #2c6ae5;
    font-weight: 600;
}
.currency-option.active .code {
    background: #2c6ae5;
    color: white;
}
.currency-option .check-mark {
    color: #2c6ae5;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.15s;
}
.currency-option.active .check-mark {
    opacity: 1;
}

/* 分隔装饰 */
.currency-dropdown .divider {
    height: 1px;
    background: #e9edf5;
    margin: 6px 16px;
}

.language-option {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-option:hover {
    background-color: #f5f7ff;
}

.language-option.active {
    background-color: #eef1ff;
    color: #000;
    font-weight: 600;
}

.language-flag {
    width: 24px;
    height: 16px;
    margin-right: 10px;
    border-radius: 2px;
    overflow: hidden;
}

.language-flag.chinese {
    background: linear-gradient(to right, #de2910 0%, #de2910 33%, #ffde00 33%, #ffde00 66%, #009a44 66%, #009a44 100%);
}

.language-flag.english {
    background-color: #00247d;
    position: relative;
}

/* 主要内容区域 */
.hero-section {
    padding: 100px 0 120px;
    text-align: center;
    background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
}

.main-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 50px;
    background-color: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2ff;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.main-logo i {
    font-size: 80px;
    color: #000;
}

.slogan {
    margin-bottom: 40px;
}

.slogan h1 {
    font-size: 48px;
    font-weight: 800;
    color: #222;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #000, #5a8df0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slogan p {
    font-size: 22px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.cta-button {
    margin-top: 20px;
}

/* 商品推荐模块样式 */
.products-section {
    padding: 20px 0;
    background-color: white;
    /*text-align: center;*/
    /*background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);*/
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #000;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 20px;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-category {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.product-price {
    font-size: 22px;
    font-weight: 800;
    color: #e53935;
}

.old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.view-details-btn {
    padding: 10px 20px;
    background-color: #f5f7ff;
    color: #000;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background-color: #000;
    color: white;
}

.add-to-cart-btn {
    width: 42px;
    height: 42px;
    background-color: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #1c5ad6;
    transform: scale(1.1);
}

/* 登录注册模态框样式 */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.auth-modal.active {
    display: flex;
}

.auth-form {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #000;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #000;
}

.auth-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    background-color: #1c5ad6;
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    color: #666;
}

.auth-switch a {
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* 底部样式 */
footer {
    background-color: #1a2332;
    color: #b0b7c3;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section a {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    /*border-bottom: 2px solid #000;*/
    display: inline-block;
    font-weight: 600;
}
.footer-section h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    /*border-bottom: 2px solid #000;*/
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a:hover {
    color: #000;
    padding-left: 5px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #000;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a3445;
    font-size: 14px;
    color: #8a94a6;
}

.site-id {
    margin-top: 10px;
    font-family: monospace;
    color: #5a8df0;
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 1350px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px 10px;
    }

    /*.header-right {*/
    /*    margin-top: 15px;*/
    /*}*/

    .slogan h1 {
        font-size: 38px;
    }

    .slogan p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 0 90px;
    }

    .main-logo {
        width: 140px;
        height: 140px;
        margin-bottom: 40px;
    }

    .main-logo i {
        font-size: 60px;
    }

    .slogan h1 {
        font-size: 32px;
    }

    .slogan p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 16px;
    }

    .products-section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .auth-form {
        padding: 30px 20px;
    }

    .slogan-wrapper {
        padding: 22px 20px;
    }
    .slogan-text .main-slogan {
        font-size: 22px;
    }
    .slogan-text .sub-slogan {
        font-size: 15px;
        padding-top: 10px;
        margin-top: 6px;
    }
    .product-price{
        font-size: 19px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        /*grid-template-columns: 1fr;*/
        /*max-width: 350px;*/
        /*margin-left: auto;*/
        /*margin-right: auto;*/
        grid-template-columns: repeat(auto-fill, minmax(159px, 1fr));
        gap: 17px;
    }

    .product-image {
        height: 200px;
    }
    .product-price{
        font-size: 16px;
    }
}
@media (max-width: 375px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 15px;
    }

    .product-image {
        height: 200px;
    }
    .product-price{
        font-size: 14px;
    }
}

.social-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    align-items: flex-start;
}
.platform-item {
    flex: 0 0 auto;
    width: auto;
    /*min-width: 180px;*/
    border-bottom: none;
    padding: 4px 0;
    background: transparent;
}
.platform-item:hover {
    background: transparent;
}
.platform-detail {
    line-height: 1.3;
}
/* 调整footer-section布局，让Contact Us与About Us不在同一行 */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
}
.footer-section {
    flex: 0 0 auto;
    min-width: 200px;
}
/* 让About Us独占右侧或另起一行，但按设计它本来在第二个section，自然换行 */
/* 用flex-wrap: wrap + gap 即可自然分行，无需额外干预 */
/* 同时保持美观 */
.footer-section:last-child {
    margin-left: 0;
}
/* 针对移动端可保留换行 */
@media (max-width: 980px) {
    .social-platforms {
        flex-direction: column;
        gap: 8px;
    }
    .platform-item {
        min-width: unset;
        width: 100%;
    }
}




/*修改后新增区域代码*/
/* 头部搜索框样式 */
.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.search-container {
    display: flex;
    align-items: center;
    background: #f5f7ff;
    border-radius: 25px;
    padding: 4px 4px 4px 20px;
    border: 2px solid #e1e6f9;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.search-container:focus-within {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.search-input {
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    outline: none;
    flex: 1;
    color: #333;
}

.search-input::placeholder {
    color: #aaa;
}

.search-btn {
    background: #000;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.search-btn:hover {
    background: #1c5ad6;
}

/* 筛选区域样式 */
.filter-section {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 700;
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.filter-option {
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    background: #f5f7ff;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    user-select: none;
}

.filter-option:hover {
    background: #e8ecff;
    transform: translateY(-1px);
}

.filter-option.active {
    background: #ffcc32;
    border-color: #f4b700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filter-group-collapsible .filter-options {
    display: none;
}

.filter-group-collapsible .filter-options.show {
    display: flex!important;
}

.toggle-header {
    cursor: pointer;
    user-select: none;
}

.toggle-header i {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #999;
}

.toggle-header.active i {
    transform: rotate(180deg);
}

/* 清空筛选按钮 */
.filter-clear-btn {
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    color: #999;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-clear-btn:hover {
    background: #f5f5f5;
    color: #333;
}

/* 响应式适配 */
@media (max-width: 1350px) {
    .header-left {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .search-container {
        max-width: 100%;
        width: 100%;
    }

    .filter-section {
        padding: 20px;
    }

    .filter-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

@media (max-width: 768px) {
    .filter-options {
        gap: 6px;
    }

    .filter-option {
        padding: 6px 14px;
        font-size: 13px;
    }

    .filter-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
}

/* 分页控件样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 2px solid #e1e6f9;
    border-radius: 25px;
    background: white;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    background: #000;
    color: white;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.pagination-btn i {
    font-size: 14px;
}

.pagination-info {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
}

/* 加载状态下的分页样式 */
.pagination-container.loading .pagination-btn {
    opacity: 0.6;
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pagination-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .pagination-btn {
        min-width: 100px;
        padding: 8px 18px;
        font-size: 14px;
    }

    .pagination-info {
        font-size: 14px;
        min-width: 80px;
        order: -1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pagination-btn {
        min-width: 80px;
        padding: 6px 14px;
        font-size: 13px;
    }

    .pagination-btn i {
        display: none;
    }

    .slogan-wrapper {
        padding: 18px 14px;
    }
    .slogan-text .main-slogan {
        font-size: 18px;
        letter-spacing: 0.2px;
    }
    .slogan-text .sub-slogan {
        font-size: 13px;
        padding-top: 8px;
    }
    .slogan-text .sub-slogan i {
        margin: 0 4px;
        font-size: 13px;
    }
}

/* ===== 右下角悬浮面板 ===== */
.social-float-panel {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
/* 每个联系项卡片 */
.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /*width: 220px;*/
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 10px 16px 10px 14px;
    border-radius: 60px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    /*gap: 12px;*/
    cursor: default;  /* 仅展示，无链接跳转 */
}
/*.contact-item:hover {*/
/*    transform: translateX(-6px);*/
/*    background: #ffffff;*/
/*    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);*/
/*    border-color: #cbd5e1;*/
/*}*/
/* 图标容器 — 统一尺寸，圆底 */
.contact-item .icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: white;
    background: #1e293b; /* fallback */
    transition: transform 0.2s;
}
.contact-item:hover .icon-wrapper {
    transform: scale(1.05);
}
/* 各平台品牌色 (图标背景) */
.icon-x {
    background: #000000;
}
.icon-facebook {
    background: #1877f2;
}
.icon-instagram {
    background: radial-gradient(circle at 30% 30%, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.icon-tiktok {
    background: #010101;
    position: relative;
}
/* TikTok 占位特殊样式 (白底黑字) */
.icon-tiktok i {
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.8));
}
.icon-whatsapp {
    background: #25d366;
}
.icon-whatsapp-green {
    background: #128C7E;
}
/* 文本区域：账号/说明 */
.contact-item .info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    margin-left: 10px;
}
.contact-item .info .platform {
    font-weight: 600;
    font-size: 13px;
    color: #0f172a;
    letter-spacing: 0.2px;
}
.contact-item .info .account {
    font-size: 12px;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.contact-item .info .account small {
    font-weight: 400;
    color: #94a3b8;
    margin-left: 4px;
}
/* WhatsApp 特殊展示（双号码） */
.whatsapp-group .info .account {
    max-width: 150px;
}
/* 分割装饰（可选） */
.contact-divider {
    width: 60%;
    height: 1px;
    background: rgba(148, 163, 184, 0.2);
    margin: 4px 0 6px 0;
}
/* 响应式：小屏折叠或缩小 */
@media (max-width: 640px) {
    .social-float-panel {
        right: 12px;
        bottom: 12px;
        gap: 10px;
    }
    .contact-item {
        padding: 8px 12px 8px 10px;
        font-size: 13px;
        border-radius: 40px;
    }
    .contact-item .icon-wrapper {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
    .contact-item .info .account {
        max-width: 100px;
        font-size: 11px;
    }
    .contact-item .info .platform {
        font-size: 12px;
    }
}
/* 为了更紧凑，TikTok占位文字微调 */
.tiktok-placeholder .info .account {
    color: #64748b;
    font-style: italic;
}
/* WhatsApp 双号码竖排显示优化 */
.whatsapp-group .info .account {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.whatsapp-group .info .account span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.whatsapp-group .info .account i {
    font-size: 10px;
    color: #25d366;
    width: 14px;
}

/* ===== 海外平台 & WhatsApp 专用区块 ===== */
.social-platforms {

}
.platform-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
    border-radius: 6px;
    padding-left: 4px;
}
.platform-item:last-child {
    border-bottom: none;
}
.platform-item:hover {
    background: rgba(255,255,255,0.03);
}
/* 图标圆形背景 */
.platform-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 16px;
    background: #2a3445; /* fallback */
}
/* 品牌色 */
.icon-x { background: #000000; }
.icon-facebook { background: #1877f2; }
.icon-instagram { background: radial-gradient(circle at 30% 30%, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.icon-tiktok { background: #010101; }
.icon-whatsapp { background: #25d366; }
.icon-whatsapp-dark { background: #128C7E; }

.platform-detail {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex: 1;
}
.platform-name {
    font-weight: 600;
    font-size: 14px;
    color: #e2e8f0;
}
.platform-account {
    font-size: 13px;
    color: #94a3b8;
    word-break: break-all;
}
.platform-account .light {
    color: #64748b;
    font-style: italic;
}

/* 响应式 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    .footer-section {
        flex: 1 1 auto;
    }
    .platform-item {
        padding: 6px 0;
    }
}

/* ===== 口号区域 (商品推荐模块上方) ===== */
.slogan-wrapper {
    padding: 28px 30px;
    background-color: white;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
/* 装饰光晕 */
.slogan-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(44,106,229,0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.slogan-wrapper::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(44,106,229,0.02) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.slogan-text {
    position: relative;
    z-index: 2;
}
.slogan-text .main-slogan {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #0b1a33;
    line-height: 1.4;
    margin-bottom: 8px;
}
.slogan-text .main-slogan .highlight {
    color: #2c6ae5;
    background: linear-gradient(135deg, #1a4cbf, #4a7df7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.slogan-text .sub-slogan {
    font-size: 18px;
    font-weight: 400;
    color: #475569;
    letter-spacing: 0.3px;
    border-top: 1px solid rgba(44, 106, 229, 0.12);
    padding-top: 12px;
    margin-top: 8px;
    display: inline-block;
}
.slogan-text .sub-slogan i {
    color: #2c6ae5;
    margin: 0 6px;
    font-size: 16px;
    opacity: 0.7;
}