* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.header-banner {
    background: linear-gradient(90deg, #1890ff 0%, #096dd9 100%);
    padding: 8px 0;
    text-align: center;
}

.header-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
    font-size: 14px;
}

.header-banner .banner-icon {
    font-size: 16px;
}

.header-banner .banner-highlight {
    background: #ff7875;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
}

header {
    background: linear-gradient(90deg, #1890ff 0%, #096dd9 100%);
    padding: 10px 0;
}

header .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

header .header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

header .header-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

header .header-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header .logo-img {
    height: 44px;
    width: auto;
    border-radius: 6px;
}

.search-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
    margin-bottom: 18px;
}

.search-box {
    display: flex;
    width: 650px;
    max-width: 90%;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #1890ff;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
    border-right: none;
}

.search-btn {
    padding: 10px 25px;
    background: #1890ff;
    border: none;
    border-radius: 0 4px 4px 0;
    color: white;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #096dd9;
}

header .main-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

header .nav-item {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

header .nav-item:hover {
    color: #1890ff;
}

header .nav-item.active {
    color: #1890ff;
    font-weight: 600;
}

.main-content {
    margin-top: 18px;
}

.main-content .container {
    display: flex;
    gap: 18px;
}

.content-left {
    width: 190px;
    flex-shrink: 0;
}

.category-sidebar {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.sidebar-title {
    background: #1890ff;
    color: white;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 14px;
}

.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: block;
    padding: 11px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.category-list a:hover {
    background: #e6f7ff;
    color: #1890ff;
}

.category-list i {
    margin-right: 8px;
    color: #1890ff;
    width: 16px;
    text-align: center;
}

.content-center {
    flex: 1;
}

.banner-slider {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 18px;
}

.banner-slider img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.section-title .title-icon {
    margin-right: 8px;
    color: #1890ff;
}

.section-title .more-link {
    margin-left: auto;
    font-size: 13px;
    font-weight: normal;
    color: #999;
    text-decoration: none;
}

.section-title .more-link:hover {
    color: #1890ff;
}

.brand-section {
    background: white;
    padding: 18px;
    border-radius: 4px;
    margin-bottom: 18px;
    border: 1px solid #e8e8e8;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.brand-card {
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    background: white;
    transition: all 0.2s;
    border: 1px solid #f0f0f0;
}

.brand-card:hover {
    border-color: #1890ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
}

.brand-card img {
    width: 90px;
    height: 90px;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 10px;
}

.brand-name {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.brand-price {
    font-size: 15px;
    color: #ff4d4f;
    font-weight: 600;
}

.recommend-section {
    background: white;
    padding: 18px;
    border-radius: 4px;
    margin-bottom: 18px;
    border: 1px solid #e8e8e8;
}

.recommend-grid {
    display: flex;
    gap: 12px;
}

.recommend-item.big {
    flex: 1;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 260px;
}

.recommend-item.big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-item.big .recommend-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px;
    text-align: center;
    color: white;
}

.recommend-item.big h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.recommend-item.big p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.recommend-list {
    width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.recommend-item.small {
    border-radius: 4px;
    overflow: hidden;
    height: 125px;
    position: relative;
}

.recommend-item.small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-item.small .recommend-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    text-align: center;
    color: white;
}

.recommend-item.small h4 {
    font-size: 12px;
    margin-bottom: 4px;
}

.recommend-price {
    font-size: 13px;
    color: #ffd700;
    font-weight: 600;
}

.product-section {
    background: white;
    padding: 18px;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.product-card {
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s;
    background: white;
    border: 1px solid #e8e8e8;
}

.product-card:hover {
    border-color: #1890ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card .product-info {
    padding: 12px;
    text-align: left;
}

.product-card h3 {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.product-card .product-price {
    font-size: 16px;
    color: #ff4d4f;
    font-weight: 600;
}

.content-right {
    width: 200px;
    flex-shrink: 0;
}

.side-banner {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    position: relative;
}

.side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-banner .side-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    color: white;
    text-align: center;
}

.side-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.side-text p {
    font-size: 12px;
    opacity: 0.9;
}

.float-nav {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #1890ff 0%, #096dd9 100%);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
    z-index: 9999;
}

.float-item {
    color: #fff;
    font-size: 18px;
    text-align: center;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.float-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-3px);
}

.float-item.back-top {
    background: #ff6b6b;
    margin-top: 4px;
}

.float-item.back-top:hover {
    background: #ff8787;
}

.float-tip {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
}

.float-tip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.85);
}

.float-item:hover .float-tip {
    opacity: 1;
    visibility: visible;
    right: 52px;
}

.float-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4757;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    padding: 0 4px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.privacy-policy {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.privacy-policy h1 {
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2a5298;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-policy h2 {
    font-size: 20px;
    color: #2a5298;
    margin: 25px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #2a5298;
}

.privacy-policy h3 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px;
}

.privacy-policy p {
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-policy ul {
    margin: 15px 0;
    padding-left: 30px;
}

.privacy-policy li {
    line-height: 2;
    list-style-type: disc;
}

.process-section {
    background: white;
    padding: 40px 0;
    margin-top: 20px;
}

.process-section h2 {
    text-align: center;
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative;
}

.process-step::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #2a5298;
}

.process-step:last-child::after {
    display: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.process-step h3 {
    font-size: 18px;
    color: #1e3c72;
    margin-bottom: 15px;
}

.process-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.join-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.join-form h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dashboard {
    display: flex;
    margin-top: 20px;
    min-height: calc(100vh - 200px);
}

.dashboard-sidebar {
    width: 220px;
    background: white;
    padding: 20px 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.dashboard-sidebar h3 {
    padding: 0 20px 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #1e3c72;
    font-size: 18px;
}

.dashboard-sidebar ul {
    list-style: none;
}

.dashboard-sidebar li {
    margin-bottom: 5px;
}

.dashboard-sidebar a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.active {
    background: #f0f7ff;
    color: #2a5298;
    border-left: 3px solid #2a5298;
}

.dashboard-sidebar i {
    margin-right: 10px;
    width: 20px;
}

.dashboard-content {
    flex: 1;
    padding: 20px;
    background: #f5f5f5;
}

.dashboard-content h2 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 20px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 10px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 14px;
}

.data-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.data-table h3 {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    color: #1e3c72;
    font-size: 16px;
}

footer {
    background: #fff;
    color: #666;
    padding: 30px 0;
    margin-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 25px;
}

.footer-col {
    text-align: left;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

.footer-col a:hover {
    color: #1890ff;
}

.footer-bottom-row {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.footer-bottom-row a {
    color: #999;
    text-decoration: none;
    font-size: 12px;
    margin: 0 10px;
}

.footer-bottom-row a:hover {
    color: #1890ff;
}

.footer-bottom-row span {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}
