﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.activeli {
    background-color: #d83a65
}


a {
    text-decoration: none;
    /*color: inherit;
            transition: all 0.3s ease;*/
}

/*a:hover {
                color: #e94e77;
            }*/

ul {
    list-style: none;
}

/*img {
            max-width: 100%;
            height: auto;
            vertical-align: middle;
        }*/

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

/* 基础样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    position: relative;
}

.section {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

    .section-title h2 {
        font-size: 22px;
        font-weight: 600;
        color: #333;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: #e94e77;
        border-radius: 3px;
    }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #e94e77;
    color: white;
}

    .btn-primary:hover {
        background-color: #d83a65;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(233, 78, 119, 0.2);
    }

.card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

/* 导航栏 */
.header {
    background-color: #Fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    /*top: 0;*/
    z-index: 100;
}

.header-top {
    padding: 5px 0;
}

    .header-top .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

.logo {
    display: flex;
    align-items: center;
}

    .logo i {
        color: #e94e77;
        font-size: 32px;
        margin-right: 10px;
    }

    .logo h1 {
        color: #e94e77;
        font-size: 24px;
        margin: 0;
    }

    .logo p {
        color: #888;
        font-size: 12px;
        margin: 0;
    }

    .logo img {
        width: 239.9px;
        border-radius: 5px;
    }

.search-box {
    width: 100%;
    max-width: 400px;
    margin: 15px 0;
    position: relative;
}

    .search-box input {
        width: 100%;
        padding: 12px 45px 12px 15px;
        border: 2px solid #e94e77;
        border-radius: 25px;
        outline: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .search-box button {
        position: absolute;
        right: 0;
        top: 0;
        height: 60%;
        width: 66px;
        background-color: #e94e77;
        color: white;
        border-radius: 0 25px 25px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .search-box button:hover {
            background-color: #d83a65;
        }

.search-hot {
    margin-top: 8px;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .search-hot a {
        font-size: 12px;
        color: #888;
    }

        .search-hot a:hover {
            color: #e94e77;
        }

.user-tools {
    display: flex;
    gap: 25px;
}

    .user-tools a {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
        position: relative;
        color: #555;
    }

        .user-tools a i {
            font-size: 16px;
            margin-bottom: 0px;
        }

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e94e77;
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav {
    background-color: #e94e77;
    /*color: #e94e77;*/
}

    .main-nav ul {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 16px;
    }

    .main-nav li {
        padding: 8px 0;
        position: relative;
        transition: all 0.3s ease;
    }

        .main-nav li:hover {
            /*background-color: #d83a65;*/
        }

    .main-nav .menua {
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: 500;
        color: white
    }

/*.main-nav .menua:hover {
                   background-color: #d83a65;
                }*/

.user-tools span:hover {
    color: #d83a65;
}

.d1 a:hover {
    color: #d83a65;
}
/* 商品分类侧边栏 */
.category-menu {
    position: relative;
    text-align: center;
    /*background-color: #d83a65;*/
    color: #fff;
}

.category-sidebar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 240px;
    height: 480px;
    background-color: #F7F8FC;
    color: #636363;
    z-index: 20;
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-radius: 0 0 10px 10px;*/
    /*display: none;*/
}

/*.category-menu:hover .category-sidebar {
            display: block;
        }*/

.sidebar-columns {
    display: flex;
    flex-wrap: wrap;
}

.sidebar-column {
    width: 25%;
    padding: 0 10px;
    margin-bottom: 20px;
}

    .sidebar-column h3 {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 10px;
        padding: 0;
    }

    .sidebar-column ul {
        margin-bottom: 0;
        padding: 0;
    }

    .sidebar-column li {
        margin-bottom: 8px;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .sidebar-column li a:hover {
            color: #e94e77;
        }

/* 轮播图 */
.banner {
    height: 480px;
    position: relative;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .banner-slide.active {
        opacity: 1;
    }

    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    width: 100%;
    padding: 0 15px;
}

    .banner-content h2 {
        font-size: 42px;
        margin-bottom: 20px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        animation: fadeInUp 0.8s ease-out;
    }

    .banner-content p {
        font-size: 22px;
        margin-bottom: 30px;
        text-shadow: 0 2px 5px rgba(0,0,0,0.1);
        animation: fadeInUp 1s ease-out;
    }

    .banner-content a {
        animation: fadeInUp 1.2s ease-out;
    }

.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .banner-dot.active {
        background-color: white;
        transform: scale(1.2);
        box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    }

.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(233, 78, 119, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 10;
}

.banner-prev {
    left: 30px;
}

.banner-next {
    right: 30px;
}

    .banner-prev:hover, .banner-next:hover {
        background-color: #e94e77;
        transform: translateY(-50%) scale(1.1);
    }

/* 服务优势 */
.services {
    /*background-color: white;*/
    padding: 20px 0px 0px 0px;
    /*border-bottom: 1px solid #eee;*/
}

    .services .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

.service-item {
    display: flex;
    align-items: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    /*background-color: rgba(233, 78, 119, 0.1);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e94e77;
    font-size: 20px;
    margin-right: 15px;
}

.service-info h3 {
    font-size: 14px;
    margin-bottom: 2px;
}

.service-info p {
    font-size: 12px;
    color: #333;
}

/* 分类导航 */
.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    height: 398px;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
}

    .category-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    .category-item:hover img {
        transform: scale(1.1);
    }

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: white;
}

    .category-overlay h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .category-overlay p {
        font-size: 12px;
        opacity: 0.8;
    }

.category-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.category-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.category-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.category-4 {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.category-5 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

    .category-5 .category-item {
        height: 100%;
    }

.category-6 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

/* 热门商品 */
.products-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 25px;
}

.product-big {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
}

    .product-big img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
        transform: scale(1.05);
    }

    .product-big:hover img {
        transform: scale(1.05);
    }

.product-big-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.product-big:hover .product-big-info {
}

.product-big-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-big-info p {
    font-size: 16px;
    margin-bottom: 15px;
}

.product-big-info .price {
    font-size: 20px;
    font-weight: bold;
    color: #e94e77;
}

.product-big-info button {
    background-color: white;
    color: #e94e77;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

    .product-big-info button:hover {
        background-color: #e94e77;
        color: white;
        transform: translateY(-2px);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 209px;
    border-radius: 10px 10px 0 0;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e94e77;
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 15px;
    font-weight: 500;
    z-index: 10;
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-item:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 30px;
    height: 30px;
    background-color: white;
    color: #e94e77;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 12px;
}

    .action-btn:hover {
        background-color: #e94e77;
        color: white;
        transform: translateY(-2px);
    }

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0 0 10px 10px;
}

    .product-info h3 {
        font-size: 16px;
        margin-bottom: 8px;
        font-weight: 500;
        line-height: 1.2;
    }

    .product-info p {
        font-size: 12px;
        color: #888;
        margin-bottom: 10px;
        flex-grow: 1;
    }

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #e94e77;
}

.product-add {
    background-color: rgba(233, 78, 119, 0.1);
    color: #e94e77;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .product-add:hover {
        background-color: #e94e77;
        color: white;
    }

/* 推荐系列 */
.featured-section {
    padding: 20px 0 20px;
}

.featured-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}



.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

    .featured-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    .featured-item:hover img {
        transform: scale(1.05);
    }

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

    .featured-overlay h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .featured-overlay p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .featured-overlay a {
        background-color: white;
        color: #e94e77;
        padding: 8px 20px;
        border-radius: 25px;
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        width: fit-content;
    }

        .featured-overlay a:hover {
            background-color: #e94e77;
            color: white;
            transform: translateY(-2px);
        }

/* 用户晒单 */
.reviews {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.review-item {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

    .review-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

    .review-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.review-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.review-rating {
    color: #ffc107;
    font-size: 14px;
}

.review-content {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

    .review-images img {
        width: 100%;
        object-fit: cover;
        border-radius: 5px;
        aspect-ratio: 1/1;
    }

.review-date {
    font-size: 14px;
    color: #888;
}

.review-item span {
    font-family: FontAwesome;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    color: #e94e778c;
}

/* 新闻资讯 */
.news-section {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .news-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.news-image {
    height: 200px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.news-read-more {
    color: #e94e77;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

    .news-read-more i {
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

.news-item:hover .news-read-more i {
    transform: translateX(5px);
}


.contact-info li {
    display: flex;
    align-items: center;
}

.contact-info i {
    width: 25px;
    margin-right: 10px;
    color: #e94e77;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background-color: rgba(255,255,255,0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background-color: #e94e77;
        }

.newsletter input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
    color: white;
    margin-bottom: 15px;
    outline: none;
}

.newsletter button {
    background-color: #e94e77;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .newsletter button:hover {
        background-color: #d83a65;
    }

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .banner-prev, .banner-next {
        left: 15px;
        transform: translateY(-50%);
    }

    .banner-next {
        left: auto;
        right: 15px;
        transform: translateY(-50%);
    }

    .products-container {
        grid-template-columns: 1fr;
    }

    .product-big {
        height: 300px;
        margin-bottom: 25px;
    }

    .featured-grid, .reviews, .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories {
        height: 400px;
    }

    .category-overlay h3 {
        font-size: 16px;
    }

    .category-overlay p {
        font-size: 10px;
    }

    .sidebar-column {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid, .reviews, .news-grid, .categories {
        grid-template-columns: 1fr;
    }

    .categories {
        height: auto;
    }

    .category-1, .category-2, .category-3, .category-4, .category-5, .category-6 {
        grid-column: auto;
        grid-row: auto;
        height: 200px;
    }

    .banner {
        height: 300px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 14px;
    }



    .sidebar-column {
        width: 100%;
    }
}


.prefix-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 10px;
}

.prefix-tabs {
    display: flex;
    align-items: baseline;
}

.prefix-tab {
    padding: 0 1rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

    .prefix-tab:first-child {
        padding-left: 0;
    }

    .prefix-tab:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 50%;
        width: 2px;
        background-color: #222;
    }

.prefix-tab-active {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.prefix-tab-inactive {
    font-size: 20px;
    color: #333;
}

    .prefix-tab-inactive:hover {
        color: #e94e77
    }

.prefix-more-btnm {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

    .prefix-more-btnm:hover {
        color: #e94e77
    }

.prefix-more-btn i {
    margin-left: 0.3rem;
    transition: transform 0.2s;
}



/* 示例容器样式 */
.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0px;
    /*      padding: 1.5rem;*/
    /*        background-color: #f8f9fa;*/
}

.service-icon .fa {
    font-size: 30px;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.top-nav {
    height: 35px;
    width: 100%;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e6e6e6;
}

.d1 {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}



    .d1 > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }
/*    .nav-item { display: flex; align-items: center; gap: 5px; color: #333; text-decoration: none; height: 40px; position: relative; }*/
/*        .nav-item:hover::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: #333; transition: width 0.3s ease; }*/
.icon {
    display: inline-block;
    /*width: 16px;
            height: 16px;*/
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 18px;
}

.icon-favorite {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.icon-wechat {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 16c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm-3.5-6c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5-3.5 1.57-3.5 3.5z'/%3E%3C/svg%3E");
}

@media(max-width: 768px) {
    .d1 {
        flex-direction: column;
        height: auto;
        padding: 10px 15px;
    }

        .d1 > div {
            width: 100%;
            justify-content: center;
            gap: 15px;
        }

    .left-section {
        margin-bottom: 10px;
    }

    .nav-item-2:hover::after {
        display: none;
    }
}

/* 按钮基础样式 */
.nav-item-2 {
    position: relative; /* 为二维码容器提供定位参考 */
    display: inline-flex;
    align-items: center;
    gap: 2px; /* 图标与文字间距 */
    padding: 8px 6px;
    text-decoration: none;
    /*color: #333;*/
    /*      border: 1px solid #e0e0e0;*/
    /*     border-radius: 4px;*/
    cursor: pointer;
    transition: all 0.2s; /* 悬停动画过渡 */
    font-size: 13px;
    color: #71797F;
}

.d1 a {
    text-decoration: none;
    font-size: 13px;
    color: #71797F;
}


.nav-item-2:hover {
    border-color: #4a90e2; /* 悬停时按钮边框变色 */
}

/* 二维码弹窗样式已移至 _headerTop.cshtml 内联 */

/* 命名空间：prefix- */
.prefix-news-container {
    max-width: 1200px;
    margin: 0px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1.5rem;
}

.prefix-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.prefix-news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    position: relative;
    padding-left: 1rem;
}

    .prefix-news-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 80%;
        background-color: #06c;
        border-radius: 2px;
    }

.prefix-more-btn {
    color: #06c;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

    .prefix-more-btn i {
        margin-left: 0.3rem;
        transition: transform 0.2s;
    }

    .prefix-more-btn:hover i {
        transform: translateX(3px);
    }

.prefix-news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
}

.prefix-news-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
    padding: 0 0 0rem 0;
    /*    border-bottom: 1px solid #f0f0f0;*/
}
/*        .prefix-news-item:last-child {
            border-bottom: none;
        }*/

.prefix-news-content {
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
}

.prefix-news-dot {
    color: #555;
    margin-right: 0.3rem;
}

.prefix-news-date {
    color: #888;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.prefix-news-content a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
}

    .prefix-news-content a:hover {
        color: #d83a65
    }






/* 面包屑导航 */
.breadcrumb {
    padding: 12px 0;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.breadcrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #64748B;
    font-size: 13px;
}

    .breadcrumb li:not(:last-child)::after {
        content: "›";
        margin: 0 8px;
        color: #94A3B8;
    }

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .breadcrumb a:hover {
        color: #e94e77
    }



.cart-count, .cart-count-3 {
    position: absolute;
    top: -8px;
    right: -8px;
 
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-icon-container {
    position: relative;
    display: inline-block;
}

.cart-count.show, .cart-count-3.show {
    opacity: 1 
}