/* 全局样式重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #4d4d4d;
    font-family: "Microsoft Yahei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    transition: all 0.3s ease;
}

body {
    background-color: #F5F5F5;
    line-height: 1.6;
    overflow-x: hidden;
}

input, textarea, select, button {
    padding: 0;
    margin: 0;
    background: none;
    outline: none;
    border: none;
}

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    font-weight: 600;
}

ul, ol, dl, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

p {
    margin: 0;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #FCA7A2;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f88a82;
}

/* 加载动画 */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-circle {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FCA7A2;
    animation: loader 1.2s linear infinite;
}

.loader-circle:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.loader-circle:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 0.4s;
}

.loader-circle:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.8s;
}

@keyframes loader {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.loading-text {
    margin-top: 20px;
    color: #FCA7A2;
    font-size: 18px;
    font-weight: 500;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-out;
}

/* 顶部通知栏 */
.top-notice {
    background-color: #FF6B6B;
    color: #fff;
    padding: 8px 0;
    border-bottom: 1px solid #ff8787;
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notice-content i {
    color: #fff;
    margin-right: 10px;
    font-size: 16px;
}

.notice-content marquee {
    flex: 1;
    color: #fff;
    font-size: 14px;
}

.notice-close {
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin-left: 10px;
}

.notice-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 容器样式 */
.container {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    height: 110px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 99;
}

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

/* Logo区域 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 80px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h1 {
    font-size: 24px;
    color: #FCA7A2;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 12px;
    color: #999;
}

/* 搜索区域 */
.search-wrapper {
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
}

.header .SearchBox {
    width: 100%;
    height: 50px;
    border: 2px solid #FCA7A2;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(252, 167, 162, 0.1);
}

.search-category {
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fef2f1;
    color: #FCA7A2;
    font-size: 14px;
    cursor: pointer;
}

.search-category i {
    color: #FCA7A2;
    margin-left: 5px;
    font-size: 12px;
}

.search-input {
    height: 100%;
    flex: 1;
    padding: 0 20px;
    font-size: 14px;
}

.search-btn {
    width: 100px;
    height: 100%;
    background: linear-gradient(135deg, #FCA7A2 0%, #f88a82 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
}

.search-btn span {
    color: #fff;
    margin-left: 5px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #f88a82 0%, #f56c6c 100%);
}

.hot-search {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

.hot-search a {
    color: #666;
    margin: 0 8px;
}

.hot-search a:hover {
    color: #FCA7A2;
    text-decoration: underline;
}

/* 头部功能导航 */
.header-nav {
    display: flex;
    align-items: center;
}

.header-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 25px;
    color: #666;
    text-decoration: none;
    position: relative;
}

.header-nav-item i {
    font-size: 22px;
    color: #FCA7A2;
    margin-bottom: 5px;
}

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

.header-nav-item:hover {
    color: #FCA7A2;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 18px;
    height: 18px;
    background-color: #FF6B6B;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 导航栏样式 */
.nav {
    height: 60px;
    background: linear-gradient(135deg, #FCA7A2 0%, #f88a82 100%);
    position: sticky;
    top: 0;
    z-index: 98;
    box-shadow: 0 4px 12px rgba(252, 167, 162, 0.2);
}

.nav-scrolled {
    background: linear-gradient(135deg, #f88a82 0%, #f56c6c 100%);
    box-shadow: 0 6px 15px rgba(252, 167, 162, 0.3);
}

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

.main-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.nav-item i {
    color: #fff;
    margin-right: 8px;
}

.nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: none;
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-column {
    flex: 1;
    padding: 0 10px;
}

.dropdown-column h4 {
    color: #FCA7A2;
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-column a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

.dropdown-column a:hover {
    color: #FCA7A2;
    padding-left: 5px;
}

/* 用户导航 */
.user-nav {
    display: flex;
    align-items: center;
    color: #fff;
}

.user-nav a {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.user-nav a i {
    color: #fff;
    margin-right: 5px;
}

.separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

/* 轮播图区域样式 */
.lunBox {
    margin-top: 20px;
}

.lunBox .container {
    padding: 25px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* 侧边广告 */
.guanggao {
    width: 24%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ad-item {
    display: block;
    width: 100%;
    height: 145px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.ad-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ad-item:hover img {
    transform: scale(1.08);
}

.ad-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.ad-mask h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.ad-mask p {
    color: #fff;
    font-size: 12px;
}

/* 轮播图容器 */
.lunBox .box {
    width: 50%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.swiper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wrap {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
}

#pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    display: flex;
}

#pic li {
    width: 33.333%;
    height: 100%;
}

#pic li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图指示器 */
#list {
    position: absolute;
    right: 5%;
    bottom: 20px;
    display: flex;
    gap: 12px;
}

#list li {
    width: 10px;
    height: 10px;
    border: 1px solid #FFF;
    border-radius: 50%;
    color: #959490;
    text-align: center;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
}

#list .on {
    background: #FCA7A2;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(252, 167, 162, 0.8);
}

/* 轮播图箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #FCA7A2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.wrap:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background-color: #FCA7A2;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* 侧边公告栏 */
.ceList {
    width: 24%;
    height: 300px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    max-height: 300px;
}

.title {
    border-bottom: 2px solid #FCA7A2;
    padding: 7px 0;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #f88a82;
}

.title h3 {
    color: #FCA7A2;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title .more {
    font-size: 12px;
    color: #999;
}

.title .more:hover {
    color: #FCA7A2;
}

.notice-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    position: relative;
}

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

.notice-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    margin-right: 8px;
    color: #fff;
}

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

.notice-tag.activity {
    background-color: #FF9F43;
}

.notice-tag.system {
    background-color: #48C9B0;
}

.notice-list li a {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-list li a:hover {
    color: #FCA7A2;
}

.notice-time {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
}

/* 会员福利 */
.vip-benefit {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #fef2f1;
    border-radius: 8px;
    margin-top: 10px;
}

.vip-benefit img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 10px;
}

.vip-text h4 {
    color: #FCA7A2;
    font-size: 14px;
    margin-bottom: 5px;
}

.vip-text ul {
    margin-bottom: 8px;
}

.vip-text li {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.vip-text li i {
    color: #FCA7A2;
    font-size: 10px;
    margin-right: 3px;
}

.vip-btn {
    display: inline-block;
    padding: 4px 12px;
    background-color: #FCA7A2;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

.vip-btn:hover {
    background-color: #f88a82;
}

/* 特色分类区 */
.category-section {
    margin-top: 30px;
    padding: 20px 0;
    background-color: #fff;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 22px;
    color: #333;
    display: flex;
    align-items: center;
}

.section-title h2 i {
    color: #FCA7A2;
    margin-right: 10px;
}

.section-title p {
    font-size: 14px;
    color: #999;
    margin-left: 10px;
}

.section-title .more {
    font-size: 14px;
    color: #666;
}

.section-title .more:hover {
    color: #FCA7A2;
}

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

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16%;
    padding: 15px 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.category-item:hover {
    background-color: #fef2f1;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(252, 167, 162, 0.1);
}

.category-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 2px solid #f0f0f0;
}

.category-item span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.category-item:hover span {
    color: #FCA7A2;
}

/* 横幅广告 */
.heng {
    margin-top: 30px;
}

.heng .container {
    padding: 0;
}

.banner-link {
    display: block;
    position: relative;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.banner-link:hover img {
    transform: scale(1.03);
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-text h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
    animation: textScale 2s ease-in-out infinite alternate;
}

@keyframes textScale {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.banner-text p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.banner-text button {
    padding: 10px 30px;
    background-color: #FCA7A2;
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(252, 167, 162, 0.3);
}

.banner-text button:hover {
    background-color: #f88a82;
    transform: scale(1.05);
}

/* 商品列表区域 */
.bodyer {
    margin-top: 30px;
    padding-bottom: 50px;
}

.bodyer .container {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tab-nav {
    display: flex;
    gap: 20px;
}

.tab-nav a {
    font-size: 14px;
    color: #666;
    padding: 5px 10px;
    border-radius: 4px;
}

.tab-nav a.tab-active {
    background-color: #fef2f1;
    color: #FCA7A2;
    font-weight: 500;
}

.tab-nav a:hover {
    color: #FCA7A2;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.product-item {
    width: calc(33.333% - 14px);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(252, 167, 162, 0.15);
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    z-index: 10;
}

.hot-tag {
    background-color: #FF6B6B;
}

.new-tag {
    background-color: #48C9B0;
}

.sale-tag {
    background-color: #FF9F43;
}

.product-img {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.product-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-img:hover .product-hover {
    opacity: 1;
}

.product-hover button {
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #FCA7A2;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-hover button i {
    color: #FCA7A2;
}

.product-hover button:hover {
    background-color: #FCA7A2;
    color: #fff;
}

.product-hover button:hover i {
    color: #fff;
}

.product-item .nr {
    padding: 15px;
}

.product-item h3 {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product-rating i {
    color: #FFD700;
    font-size: 12px;
    margin-right: 2px;
}

.product-rating span {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
}

.biaoQian {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.biaoQian .l {
    font-size: 18px;
    color: #FF6B6B;
    font-weight: 600;
}

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

.biaoQian .r {
    font-size: 12px;
    color: #999;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: #f0f0f0;
}

/* 新品上市区 */
.new-product-section {
    margin-top: 30px;
    padding: 30px 0;
    background-color: #fff;
}

.new-product-list {
    position: relative;
    overflow: hidden;
}

.product-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

.product-slide {
    min-width: calc(25% - 15px);
}

.product-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(252, 167, 162, 0.15);
}

.card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

.product-card:hover .card-img img {
    transform: scale(1.08);
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    background-color: #FCA7A2;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.card-info {
    padding: 15px;
}

.card-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price {
    font-size: 16px;
    color: #FF6B6B;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-sales {
    font-size: 12px;
    color: #999;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #FCA7A2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.slider-btn:hover {
    background-color: #FCA7A2;
    color: #fff;
}

/* 用户评价区 */
.review-section {
    margin-top: 30px;
    padding: 30px 0;
    background-color: #fff;
}

.review-list {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.review-item {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    background-color: #fef2f1;
    box-shadow: 0 3px 10px rgba(252, 167, 162, 0.1);
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(252, 167, 162, 0.15);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.user-info h4 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.review-rating i {
    color: #FFD700;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.review-more {
    display: block;
    width: 180px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #FCA7A2;
    color: #fff;
    border-radius: 20px;
    margin: 30px auto 0;
    font-size: 14px;
    font-weight: 500;
}

.review-more:hover {
    background-color: #f88a82;
    transform: scale(1.05);
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    margin-top: 50px;
}

.footer-top {
    padding: 30px 0;
    border-bottom: 1px solid #444;
}

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

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

.service-item i {
    font-size: 28px;
    color: #FCA7A2;
}

.service-text h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.service-text p {
    color: #999;
    font-size: 12px;
}

.footer-middle {
    padding: 50px 0;
    border-bottom: 1px solid #444;
}

.footer-column {
    width: 20%;
    float: left;
}

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #FCA7A2;
}

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

.footer-column ul li a {
    color: #999;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #FCA7A2;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info li i {
    color: #FCA7A2;
    font-size: 16px;
    margin-top: 3px;
}

.contact-info li div p {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.footer-qrcode {
    margin-top: 20px;
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid #444;
}

.footer-qrcode p {
    color: #999;
    font-size: 12px;
    margin-top: 10px;
}

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

.footer-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: #999;
    font-size: 12px;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #FCA7A2;
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.payment-methods img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* 侧边导航 */
.xf {
    position: fixed;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 99;
}

.xf .t {
    width: 50px;
    height: 50px;
    background-color: #FCA7A2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(252, 167, 162, 0.3);
    transition: all 0.3s ease;
}

.xf .t:hover {
    background-color: #f88a82;
    transform: scale(1.1);
}

.xf .t a {
    color: #fff;
    font-size: 20px;
}

.xf .t a i {
    color: #fff;
}

.cart-badge.mini {
    top: -3px;
    right: -3px;
    width: 15px;
    height: 15px;
    font-size: 10px;
}

/* 返回顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #FCA7A2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(252, 167, 162, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 98;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: #f88a82;
    transform: scale(1.1);
}

.back-to-top-btn i {
    color: #fff;
}

/* 清除浮动 */
.clearfix::after {
    content: '';
    display: block;
    clear: both;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
    
    .category-item {
        width: 15%;
    }
    
    .product-item {
        width: calc(50% - 10px);
    }
    
    .product-slide {
        min-width: calc(33.333% - 15px);
    }
    
    .review-list {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 10px 0;
    }
    
    .header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .search-wrapper {
        width: 100%;
        margin: 10px 0;
    }
    
    .header-nav {
        margin-top: 10px;
    }
    
    .nav {
        height: auto;
    }
    
    .main-nav {
        flex-wrap: wrap;
    }
    
    .lunBox .container {
        flex-direction: column;
    }
    
    .guanggao, .lunBox .box, .ceList {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .category-list {
        flex-wrap: wrap;
    }
    
    .category-item {
        width: 30%;
        margin-bottom: 20px;
    }
    
    .product-item {
        width: 100%;
    }
    
    .product-slide {
        min-width: calc(50% - 10px);
    }
    
    .footer-column {
        width: 50%;
        margin-bottom: 30px;
    }
}