/* 淘宝/京东风格商城样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

:root {
    --primary-color: #ff4400;
    --secondary-color: #f40;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --text-color: #666;
    --border-color: #e5e5e5;
    --price-color: #ff4400;
    --discount-color: #ff4400;
    --success-color: #67c23a;
    --warning-color: #e6a23c;
    --error-color: #f56c6c;
    --info-color: #909399;
}

body {
    background-color: #f5f5f5;
    color: var(--text-color);
    line-height: 1.5;
    font-size: 14px;
}

.container {
    width: 1190px;
    margin: 0 auto;
}

/* 顶部栏 */
.top-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;
    height: 35px;
    line-height: 35px;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.top-left, .top-right {
    display: flex;
    align-items: center;
}

.top-left a, .top-right a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0 10px;
}

.top-left a:hover, .top-right a:hover {
    color: var(--primary-color);
}

.divider {
    color: #ddd;
    padding: 0 5px;
}

.my-account {
    position: relative;
}

.my-account:hover .account-dropdown {
    display: block;
}

.account-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 120px;
    z-index: 100;
}

.account-dropdown a {
    display: block;
    padding: 8px 10px;
    border-bottom: 1px solid #f5f5f5;
}

.account-dropdown a:hover {
    background-color: #f5f5f5;
}

.cart-count {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 1px 5px;
    font-size: 10px;
    margin-left: 2px;
}

/* 搜索栏 */
.search-bar {
    background-color: white;
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-color);
}

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

.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff8400);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.logo i {
    color: white;
    font-size: 30px;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--dark-color);
    font-weight: bold;
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-color);
}

/* 搜索框 */
.search-box {
    width: 600px;
}

.search-tabs {
    display: flex;
    margin-bottom: 5px;
}

.tab {
    padding: 5px 15px;
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-bottom: none;
    cursor: pointer;
    border-radius: 2px 2px 0 0;
    margin-right: 5px;
}

.tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-input-group {
    display: flex;
}

.search-input {
    flex: 1;
    height: 40px;
    padding: 0 15px;
    border: 2px solid var(--primary-color);
    border-right: none;
    border-radius: 2px 0 0 2px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    width: 100px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 2px 2px 0;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #ff3300;
}

.search-hotwords {
    margin-top: 8px;
    font-size: 12px;
}

.search-hotwords a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 15px;
}

.search-hotwords a:hover {
    color: var(--primary-color);
}

/* 购物车 */
.header-cart {
    position: relative;
}

.cart-link {
    display: block;
    width: 140px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 2px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.cart-link:hover {
    background-color: white;
    border-color: var(--primary-color);
}

.cart-link i {
    margin-right: 5px;
}

.cart-count-large {
    position: absolute;
    top: -8px;
    right: 5px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 12px;
}

.cart-preview {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    width: 320px;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-cart:hover .cart-preview {
    display: block;
}

.cart-empty {
    padding: 30px;
    text-align: center;
    color: #999;
}

.cart-empty i {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
    color: #e5e5e5;
}

.cart-items {
    padding: 15px;
}

.cart-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.item-img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

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

.item-info {
    flex: 1;
}

.item-info h4 {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-price {
    color: var(--price-color);
    font-weight: bold;
}

.item-delete {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
}

.cart-footer {
    padding-top: 15px;
}

.cart-total {
    text-align: right;
    margin-bottom: 15px;
}

.total-price {
    color: var(--price-color);
    font-size: 18px;
    font-weight: bold;
}

.btn-view-cart {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 2px;
    font-size: 16px;
}

.btn-view-cart:hover {
    background-color: #ff3300;
}

/* 主导航 */
.main-nav {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-nav .container {
    display: flex;
}

/* 分类导航 */
.category-nav {
    width: 230px;
    position: relative;
}

.category-title {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.category-title i {
    margin-right: 10px;
}

.category-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-top: none;
    z-index: 1000;
    display: none;
}

.category-nav:hover .category-menu {
    display: block;
}

.category-item {
    border-bottom: 1px solid #f5f5f5;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 14px;
}

.category-item a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.category-item i:first-child {
    margin-right: 10px;
    color: #666;
    width: 20px;
    text-align: center;
}

.category-item a:hover i:first-child {
    color: var(--primary-color);
}

.sub-category {
    display: none;
    position: absolute;
    left: 230px;
    top: 0;
    width: 400px;
    background: white;
    border: 1px solid var(--border-color);
    padding: 20px;
    z-index: 1001;
}

.category-item:hover .sub-category {
    display: flex;
}

.sub-category-col {
    flex: 1;
    padding: 0 10px;
}

.sub-category-col h4 {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f5f5f5;
}

.sub-category-col a {
    display: block;
    padding: 5px 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 12px;
}

.sub-category-col a:hover {
    color: var(--primary-color);
}

/* 导航菜单 */
.nav-menu {
    flex: 1;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    height: 100%;
}

.nav-menu li {
    flex: 1;
}

.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu li.active a {
    color: var(--primary-color);
}

/* 主要内容区域 */
.main-content {
    padding: 20px 0;
}

.content-wrapper {
    display: flex;
}

/* 左侧边栏 */
.sidebar-left {
    width: 230px;
    margin-right: 20px;
}

.user-panel {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-greeting {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 12px;
}

.btn-login {
    background-color: var(--primary-color);
    color: white;
}

.btn-register {
    background-color: #f5f5f5;
    color: var(--dark-color);
    border: 1px solid #e5e5e5;
}

.order-panel, .service-panel, .notice-panel {
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.panel-header h3 {
    font-size: 16px;
    color: var(--dark-color);
}

.view-all {
    font-size: 12px;
    color: var(--text-color);
    text-decoration: none;
}

.view-all:hover {
    color: var(--primary-color);
}

.order-status {
    display: flex;
    justify-content: space-between;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.status-item i {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.status-item span {
    font-size: 12px;
}

.status-item:hover {
    color: var(--primary-color);
}

.service-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 3px;
    transition: background-color 0.3s;
}

.service-item:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.service-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.service-item span {
    font-size: 12px;
}

.notice-list {
    display: flex;
    flex-direction: column;
}

.notice-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px dashed #f5f5f5;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-tag {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 2px;
    font-size: 10px;
    margin-right: 8px;
    color: white;
}

.notice-tag.new {
    background-color: var(--primary-color);
}

.notice-tag.hot {
    background-color: #ff6b6b;
}

.notice-text {
    flex: 1;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-item:hover .notice-text {
    color: var(--primary-color);
}

/* 主内容区 */
.content-main {
    flex: 1;
}

/* 轮播图 */
.banner-section {
    display: flex;
    margin-bottom: 20px;
}

.banner-slider {
    flex: 1;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-right: 10px;
}

.slides {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
}

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

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-controls button {
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.slider-controls button:hover {
    background-color: rgba(0,0,0,0.5);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: white;
}

.banner-side {
    width: 190px;
    display: flex;
    flex-direction: column;
}

.side-ad {
    height: 195px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.side-ad:last-child {
    margin-bottom: 0;
}

.side-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 8px 10px;
    font-size: 14px;
}

/* 分类图标 */
.category-icons {
    display: flex;
    justify-content: space-between;
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    width: 10%;
}

.icon-item:hover {
    color: var(--primary-color);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.icon-item:hover .icon-circle {
    background-color: #fff0e8;
}

.icon-item i {
    font-size: 24px;
}

.icon-item span {
    font-size: 12px;
}

/* 限时抢购 */
.flash-sale {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.section-title {
    display: flex;
    align-items: center;
    flex: 1;
}

.section-title i {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 10px;
}

.section-title h2 {
    font-size: 22px;
    color: var(--dark-color);
    margin-right: 10px;
}

.tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: normal;
}

.countdown {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.time-box {
    background-color: var(--dark-color);
    color: white;
    padding: 5px;
    border-radius: 3px;
    font-size: 18px;
    min-width: 30px;
    text-align: center;
}

.time-colon {
    margin: 0 5px;
    color: var(--dark-color);
    font-weight: bold;
}

.more-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
}

.more-link:hover {
    color: var(--primary-color);
}

.flash-products {
    display: flex;
    justify-content: space-between;
}

.flash-product {
    width: 24%;
    border: 1px solid #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.flash-product:hover .product-img img {
    transform: scale(1.05);
}

.sale-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.price-info {
    margin-bottom: 10px;
}

.current-price {
    font-size: 20px;
    color: var(--price-color);
    font-weight: bold;
    margin-right: 10px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.progress-bar {
    height: 6px;
    background-color: #f5f5f5;
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.sale-info {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.buy-now {
    width: 100%;
    height: 36px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-now:hover {
    background-color: #ff3300;
}

/* 推荐商品 */
.recommend-section {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.recommend-tabs {
    display: flex;
}

.recommend-tabs .tab {
    padding: 8px 20px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-right: 20px;
}

.recommend-tabs .tab.active,
.recommend-tabs .tab:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.recommend-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    border: 1px solid #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.product-tags {
    position: absolute;
    top: 10px;
    left: 10px;
}

.product-tags .tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    color: white;
    margin-right: 5px;
}

.tag.hot {
    background-color: var(--primary-color);
}

.tag.new {
    background-color: #67c23a;
}

.tag.discount {
    background-color: #e6a23c;
}

.tag.vr {
    background-color: #409eff;
}

.tag.gift {
    background-color: #f56c6c;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
    line-height: 1.4;
}

.price-info {
    margin-bottom: 10px;
}

.current-price {
    font-size: 18px;
    color: var(--price-color);
    font-weight: bold;
    margin-right: 10px;
}

.original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.discount {
    font-size: 12px;
    color: var(--discount-color);
    background-color: #fff0e8;
    padding: 1px 5px;
    border-radius: 2px;
}

.sales-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.rating {
    color: #ff9900;
}

.shop-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    padding-top: 10px;
    border-top: 1px dashed #f5f5f5;
}

.shop-name {
    color: var(--dark-color);
}

.location {
    color: #999;
}

/* 楼层导航 */
.floor-nav {
    background-color: white;
    border-radius: 5px;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.floor-item {
    padding: 5px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    border-right: 1px solid #f5f5f5;
}

.floor-item:last-child {
    border-right: none;
}

.floor-item.active,
.floor-item:hover {
    color: var(--primary-color);
}

/* 页脚 */
.main-footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.footer-service {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-list {
    display: flex;
    justify-content: space-between;
}

.service-item {
    display: flex;
    align-items: center;
}

.service-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-right: 15px;
}

.service-text h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.service-text p {
    font-size: 14px;
    color: var(--text-color);
}

.footer-links {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.links-container {
    display: flex;
    justify-content: space-between;
}

.links-column {
    width: 16%;
}

.links-column h4 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.links-column ul {
    list-style: none;
}

.links-column li {
    margin-bottom: 10px;
}

.links-column a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
}

.links-column a:hover {
    color: var(--primary-color);
}

.contact-info h4 {
    margin-bottom: 15px;
}

.contact-phone {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.btn-contact {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
}

.btn-contact:hover {
    background-color: #ff3300;
}

.footer-bottom {
    padding: 20px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #ff8400);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.footer-logo .logo i {
    color: white;
    font-size: 20px;
}

.footer-logo .logo-text h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.footer-logo .logo-text p {
    font-size: 12px;
    color: var(--text-color);
}

.footer-copyright {
    text-align: center;
    color: #999;
    font-size: 12px;
}

.legal-links {
    margin: 10px 0;
}

.legal-links a {
    color: #999;
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:hover {
    color: var(--primary-color);
}

.certificates {
    margin-top: 15px;
}

.certificates a {
    margin: 0 10px;
}

.certificates img {
    width: 40px;
    height: 40px;
}

/* 侧边工具栏 */
.sidebar-tools {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 70px;
    background-color: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
}

.tool-item {
    display: block;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.tool-item:last-child {
    border-bottom: none;
}

.tool-item:hover {
    color: var(--primary-color);
    background-color: #f5f5f5;
}

.tool-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.tool-item span {
    font-size: 12px;
}

.tool-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 1px 5px;
    font-size: 10px;
}

.back-to-top {
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .search-box {
        width: 450px;
    }
    
    .recommend-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar-left {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .user-panel, .order-panel, .service-panel, .notice-panel {
        display: inline-block;
        width: calc(25% - 15px);
        vertical-align: top;
        margin-right: 20px;
    }
    
    .user-panel:last-child {
        margin-right: 0;
    }
    
    .banner-slider {
        height: 300px;
    }
    
    .category-icons {
        flex-wrap: wrap;
    }
    
    .icon-item {
        width: 20%;
        margin-bottom: 15px;
    }
    
    .flash-products {
        flex-wrap: wrap;
    }
    
    .flash-product {
        width: 48%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .search-bar .container {
        flex-direction: column;
    }
    
    .logo-area {
        margin-bottom: 20px;
    }
    
    .search-box {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .header-cart {
        width: 100%;
    }
    
    .cart-link {
        width: 100%;
    }
    
    .main-nav {
        display: none;
    }
    
    .user-panel, .order-panel, .service-panel, .notice-panel {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .banner-section {
        flex-direction: column;
    }
    
    .banner-slider {
        margin-right: 0;
        margin-bottom: 10px;
        height: 200px;
    }
    
    .banner-side {
        width: 100%;
        flex-direction: row;
    }
    
    .side-ad {
        width: 50%;
        margin-right: 10px;
    }
    
    .side-ad:last-child {
        margin-right: 0;
    }
    
    .icon-item {
        width: 25%;
    }
    
    .flash-product {
        width: 100%;
    }
    
    .recommend-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-list, .links-container {
        flex-wrap: wrap;
    }
    
    .service-item {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .links-column {
        width: 48%;
        margin-bottom: 30px;
    }
}