/* 移动端优先断点系统 */
:root {
    --primary-color: #ff5000;
    --list-color: #ff5c11;
    --secondary-color: #ff8e4e;
    --light-bg: #f5f5f5;
    --dark-text: #333;
    --light-text: #666;
    --header-mei: #ebebeb;

    --articleprimary-color: #3498db;
    --secondary-colorsss: #2c3e50;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --border-color: #e9ecef;
}

body {
    background: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;
}

li {
    list-style-type: none;
}

.display-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.widthhundred {
    width: 100%;
    max-width: 150px;
}

.minmax-flex {
    min-width: 0;
    min-height: 0;
}

header {
    background: #ffffff;
}

.top-banner {
    /* max-height: 95px;
    min-height: 40px; */
        height: 60px;
        width: 100%;
    display: flex;
    position: sticky;

}

.top-banner a {
    width: 100%;
    display: flex;
        height: 100%;
}

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

.header-mei {
    background: var(--header-mei);
    width: 100%;
}

.header-mei>div {
    height: 33px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

/*logo和搜索*/
.justify-align {
    justify-content: center;
    align-items: center;
}

.xys-width-two {
    width: 100%;
}

.xys-width-eight {
    width: 100%;
}

/*导航*/
.nav-ul {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 40px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    min-width: min-content;
}

.nav-ul li {
    list-style: none;
    padding: 0 15px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    flex: 0 0 auto;
    white-space: nowrap;
    display: flex;
    height: 100%;
    align-items: center;
}

.nav-ul a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    height: 100%;
    line-height: 38px;
}

nav .nav-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

nav .nav-scroll-container::-webkit-scrollbar {
    display: none;
}

.active {
    background: #f02626;
}

.paixu{
    margin-bottom: 20px;
     background: #fff;
      padding: 15px;
       border-radius: 8px;
}
.paixu span{
    font-weight: bold; margin-right: 10px;
}
.paixu a{
    margin-right: 15px;
}
.paixu a:hover,.fenleiactive{
    border-bottom: 2px red solid;
}

/* 轮播图 */
.banner-nav {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    margin: 1rem auto;
    gap: 2rem;
    margin-top: 30px;
}

.banner {
    background: #333;
}

/* 顶部导航栏样式优化 */
.navbar {
    min-height: 80px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.nav-botton {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    background: var(--primary-color);
    color: white;
}

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

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
    font-size: 24px;
}

.navbar-brand span {
    color: var(--dark-text);
}

/* 搜索框样式优化 */
.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

nav {
    max-height: 46px;
    background: var(--primary-color);
}

.search-bar {
    width: 100%;
}

.hot-search {
    display: flex;
    margin-top: 8px;
    font-size: 13px;
    color: var(--light-text);
}

.hot-search span,
.hot-search a {
    margin-right: 15px;
    cursor: pointer;
    color: var(--light-text);
    text-decoration: none;
}

.hot-search span:hover,
.hot-search a:hover ,
.category-name a:hover{
    color: var(--primary-color);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

/* 分类区域 */
.sub-categories-container {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    height: 430px;
    overflow-y: auto;
}

.sub-category {
    padding: 10px 0;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sub-category:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.category-icon {
    font-size: 16px;
    color: var(--primary-color);
}
.category-name a {
        font-size: 14px;
        color: var(--dark-text);
        display: block;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }


/* 热门频道 */
.coupon {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 30px;
    background: #ffffff;
}

.coupon .yhpd a {
    display: block;
    width: 100%;
    position: relative;
    text-decoration: none;
    border-radius: 3px;
    overflow: hidden;
    
}

.coupon .yhpd a img {
    width: 100%;
    height: 120px;
}

.coupon .yhpd a span {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 3px 15px 0;
    line-height: 32px;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 3px rgba(0, 0, 0, .6);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    box-sizing: border-box;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .5));
    transition: all .3s ease-out;
}

.coupon-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.coupon-item:hover {
    transform: translateY(-5px);
}

.coupon-img {
    height: 100px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
}

/*商品*/
.h3-font {
    color: var(--dark-text);
    font-weight: bold;
    font-size: 18px;
    padding: 20px 0 10px;
    position: relative;
}

.h3-font:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background-color: #ff5000;
}

.items-container ,.grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.items-container-div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    position: relative;
    text-decoration: none;
    border-radius: 3px;
    overflow: hidden;
    background: #ffffff;
    padding: 5px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.items-container-div:hover {
    box-shadow: 0px 0px 10px #a7a2a2;
    z-index: 2;
    transform: translateY(-5px);
}

.items-section {
    /* background: #ffffff; */
    margin-top: 30px;
}
.items-container-img{
    position: relative;
}
.items-container-span{
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 2px;
    height: 26px;
    background: #FF5722;
    color: #ffffff;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 16px;
        color: yellow;
}
.items-container-img a,.items-container-img .geturl{
    width: 100%;
    padding-bottom: 100%;
    height: 0;
    position: relative;
    display: inline-block;
    cursor: pointer;

}
.items-container-img>a>img,.items-container-img>div>img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: all .3s ease-out 0s;
    position: absolute;
    top: 0px;
    left: 0px;
}

.items-container-parameter {
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
     cursor: pointer;
}
.items-container-parameter h3 {
    font-size: 14px;
}
.items-container-parameter a {
    margin-bottom: 5px;
    color: var(--dark-text);
}

.items-container-parameter a:hover
 {
    text-decoration: none;
    color: var(--primary-color);

}
.zg-b {
    background: url(/index/img/tmall.jpg) no-repeat;
    width: 14px;
    height: 14px;
    background-size: contain;
    margin: 0 4px;
    display: inline-block;
    vertical-align: middle;
}
.zg-c{
    background: url(/index/img/taobao.jpg) no-repeat;
    width: 14px;
    height: 14px;
    background-size: contain;
    margin: 0 4px;
    display: inline-block;
    vertical-align: middle;
}
.hover {
    box-shadow: 0px 0px 10px #a7a2a2;
}

.items-container-parameter span {
    font-size: 13px;
    
}
.items-container-parameter .parameter-price {
        font-size: 18px;
    }

.parameter-price {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
}

/* .parameter-original {}

.parameter-attached {
    color: var(--primary-color);
    font-weight: bold;
} */

.parameter-shop {
    color: var(--secondary-color);
}

.parameter-scoring span {
    font-weight: bold;
    color: var(--primary-color);
}

.items-container-parameter-list {
    width: 100%;
    background: var(--list-color);
    line-height: 36px;
    text-align: center;
    border-radius: 20px;
    max-height: 36px;
}

.items-container-parameter-list a,.items-container-parameter-list div {
    display: block;
    width: 100%;
    letter-spacing: 1rem;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.items-container-parameter-list a:hover {
    /* background: #ff8e4e; */
    transform: scale(1.05);
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.carousel-slides {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 25%;
    height: 100%;
    position: relative;
}

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

.slide-content {
   position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: fit-content;
    color: white;
    padding: 30px 20px 20px;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/*分类*/
.navigation {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: #fffafa;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.copyright {
    border-top: 1px solid #555;
    margin-top: 20px;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.huadong {
    position: fixed;
    top: 0;
    z-index: 9999;
    background: #ffffff;
}

header h1,
header h2 {
    font-size: 20px;
    color: #ff5000;
    text-decoration: none;
}

header h1 a,
header h2 a {
    color: #ff5000;
}

header h1 a:hover,
header h2 a:hover {
    color: #ff5000;
    text-decoration: none;
    font-weight: bold;
}

/* 优惠券悬停效果 */
.yhpd a {
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.yhpd a:hover {
    transform: translateY(-5px);
}

.yhpd a img {
    transition: all 0.3s ease;
    border-radius: 5px;
}

.yhpd a:hover img {
    filter: brightness(1.05);
}

.yhpd a span {
    transition: all 0.3s ease;
}

.yhpd a:hover span {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}

/* 导航项悬停效果 */
.nav-ul li:hover {
    background-color: #ff8e4e;
    /* transform: translateY(-2px); */
}

/* 子分类悬停效果 */
.sub-category:hover,
.carousel-container:hover {
    background-color: rgba(255, 80, 0, 0.1);
    /* transform: translateY(-3px); */
}

/* 轮播图按钮悬停效果 */
.carousel-btn {
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
    /* transform: scale(1.1); */
}

/* 轮播图指示点悬停效果 */
.carousel-dot:hover {
    transform: scale(1.2);
}

/*底部*/
.footer-container nav {
    background: none;
    max-height: none;
}

footer {
    background: #ffffff;
    margin-top: 30px;
    color: var(--dark-text);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #ff5000;
}

.footer-section.about p {
    margin-bottom: 20px;
    text-align: justify;
}

.footer-links,
.contact-info {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    color: #ff5000;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ff5000;

}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links a {
    color: var(--dark-text);
    text-decoration: none;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.friend-links a:hover {
    background-color: #ff5000;
    color: white;
}

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

.contact-info i {
    margin-right: 10px;
    color: #ff5000;
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ff5000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

.footer-bottom-links {
    margin-bottom: 15px;
}

.footer-bottom-links a {
    color: var(--dark-text);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

.copyright {
    margin-bottom: 10px;
}

.beian {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.beian a {
    color: var(--dark-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.beian img {
    height: 16px;
}
/* .lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

.lazy-load:not(.loaded) {
    background-color: #f5f5f5;
    border-radius: 4px;
} */
/* CSS 示例 */
.pagination {
    text-align: center;
    margin: 20px 0;
}
.pagination a, .pagination p {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    margin: 0 2px;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
}
.pagination .page-current {
    background-color: var(--list-color);
    color: #fff;
    border-color: var(--list-color);
}
.pagination .page-disabled {
    color: #aaa;
    background-color: #f5f5f5;
    cursor: not-allowed;
}
.page{
    display: flex;
    justify-content: center;
}
.tags-container{
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.tags-container a{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 20px;
    padding: 10px;
    border: 1px solid #333;
        background: #ffffff;
    color: #333;
}
.tagnavtext{
    background: #ffffff;
    padding: 20px 10px;
    text-indent: 2em;
        margin-bottom: 20px;
}
/* 文章列表样式 */
/* 主要内容区域 */
   
   

    .articles-section {
        flex: 1;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--primary-color);
        font-weight: bold;
    }

    /* 文章卡片样式 */
    .article-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        margin-bottom: 25px;
        transition: transform 0.3s, box-shadow 0.3s;
        display: flex;
        flex-direction: column;
    }

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

    .article-card.with-image {
        flex-direction: row;
    }

    .article-image {
        /* flex: 0 0 200px; */
        height: 180px;
        overflow: hidden;
    }

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

    .article-card:hover .article-image img {
        transform: scale(1.05);
    }

    .article-content {
        /* padding: 20px; */
        flex: 1;
    }
    .article-card .article-content {
        padding: 20px;
        flex: 1;
    }

    .article-title {
        font-size: 16px;
        margin-bottom: 10px;
        color: var(--secondary-color);
    }
    .article-header .article-title{
        font-size: 22px;
        margin-bottom: 10px;
        color: #3b3b3b;
        font-weight: bold;
    }

    .article-title a {
        text-decoration: none;
        color: var(--articleprimary-color);
        transition: color 0.3s;
    }

    .article-title a:hover {
        color: var(--articleprimary-color);
    }

    .article-excerpt {
        color: var(--gray-color);
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        font-size: 14px;
        color: var(--gray-color);
        margin-bottom: 10px;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .meta-item i {
        color: var(--articleprimary-color);
    }

    .article-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .tag {
        background:#fff3ed;
        color: var(--primary-color);
        padding: 3px 10px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 500;
    }

    /* 侧边栏样式 */

    .sidebar-widget {
        background: white;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 25px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .widget-title {
        font-size: 16px;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
        font-weight: bold;
    }

    .search-form {
        display: flex;
    }

    .search-input {
        flex: 1;
        padding: 10px 15px;
        border: 1px solid var(--border-color);
        border-radius: 4px 0 0 4px;
        outline: none;
    }

    .search-button {
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 0 15px;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
        transition: background 0.3s;
    }

    .search-button:hover {
        background: #2980b9;
    }

    .category-list,
    .popular-posts {
        list-style: none;
        padding: 0;
    }

    .category-list li,
    .popular-posts li {
        padding: 8px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .category-list li:last-child,
    .popular-posts li:last-child {
        border-bottom: none;
    }

    .category-list a,
    .popular-posts a {
        text-decoration: none;
        color: var(--dark-color);
        transition: color 0.3s;
        display: flex;
        justify-content: space-between;
    }

    .category-list a:hover,
    .popular-posts a:hover {
        color: var(--articleprimary-color);
        
    }

    .category-count {
        background: var(--light-color);
        color: var(--gray-color);
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 13px;
    }

    .post-meta {
        font-size: 13px;
        color: var(--gray-color);
        margin-top: 5px;
    }

    .tag-cloud {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .tag-cloud .tag {
        background: var(--light-color);
        color: var(--dark-color);
    }

    .tag-cloud .tag:hover {
        background: var(--articleprimary-color);
        color: white;
    }
    .search-container .btn:hover{
        color: white;
        background: #2980b9;
    }    
    .category-list a:hover , .popular-posts a:hover{
            transform: scale(1.05);
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
   
   /* 主要内容区域 */
        .main-content {
            display: grid;
            margin: 30px 0;
            gap: 30px;
            grid-template-columns: 1fr;
        }
        
        .article-section {
            background: white;
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
              max-width: 100%;
            max-height: 100%;
            overflow: hidden;
        }

        .article-content h2 {
            font-size: 18px;
            margin: 30px 0 15px;
            /* color: var(--secondary-color); */
            font-weight: bold;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
            scroll-margin-top: 80px; /* 为锚点定位留出空间 */
        }
        
        .article-content h3,
        .article-content h4,
        .article-content h5,
        .article-content h6
        {
            font-size: 16px;
            margin: 25px 0 15px;
            /* color: var(--secondary-color); */
            font-weight: bold;
            scroll-margin-top: 80px; /* 为锚点定位留出空间 */
        }
        
        .article-content p {
            margin-bottom: 20px;
        }
        
        .article-content blockquote {
            border-left: 4px solid var(--primary-color);
            padding-left: 20px;
            margin: 25px 0;
            font-style: italic;
            color: var(--gray-color);
        }
        
        .article-content ul, .article-content ol {
            margin: 20px 0;
            padding-left: 30px;
        }
        
        .article-content li {
            margin-bottom: 10px;
        }
        
        .article-content code {
            background: var(--light-color);
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
        }
        
        .article-content pre {
            background: var(--dark-color);
            color: white;
            padding: 20px;
            border-radius: 8px;
            overflow-x: auto;
            margin: 25px 0;
        }
        
        .article-image {
            margin: 25px 0;
            text-align: center;
        }
        
        .article-image img {
            max-width: 100%;
            height: 100%;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .image-caption {
            font-size: 14px;
            color: var(--gray-color);
            margin-top: 10px;
            text-align: center;
        }
        
        /* 文章底部 */
        .article-footer {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }
        
        .author-bio {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .author-avatar {
            flex: 0 0 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
        }
        
        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .author-info {
            flex: 1;
        }
        
        .author-name {
            font-size: 13px;
            margin-bottom: 5px;
            color: var(--secondary-color);
        }
        
        .author-description {
            color: var(--gray-color);
        }
        
        .article-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .social-share {
            display: flex;
            gap: 10px;
        }
        
        .share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--light-color);
            color: var(--dark-color);
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .share-btn:hover {
            background: var(--primary-color);
            color: white;
        }
        
        .article-navigation {
            display: flex;
            gap: 15px;
        }
        
        .nav-btn {
            padding: 10px 20px;
            background: var(--light-color);
            color: var(--dark-color);
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .nav-btn:hover {
            background: var(--primary-color);
            color: white;
        }
        
        /* FAQ部分 - 使用details和summary标签 */
        .faq-section {
            margin-top: 50px;
        }
        
        .section-title {
            font-size: 16px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
            color: var(--secondary-color);
        }
        
        .faq-list {
            list-style: none;
        }
        
        .faq-item {
            margin-bottom: 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .faq-item summary {
            background: var(--light-color);
            padding: 15px 20px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s;
            list-style: none; /* 移除默认的三角符号 */
        }
        
        .faq-item summary::-webkit-details-marker {
            display: none; /* 移除默认的三角符号 */
        }
        
        .faq-item summary::after {
            content: '+';
            font-size: 14px;
            transition: transform 0.3s;
        }
        
        .faq-item[open] summary::after {
            transform: rotate(45deg);
        }
        
        .faq-item summary:hover {
            background: #e9ecef;
        }
        
        .faq-answer {
            padding: 20px;
        }
         /* 头部样式 */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .idebar-widget {
            background: white;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 25px;

        }
        .sidebar-widget > nav{
            max-height: 100%;
            background: #ffffff;
        }
  /* 商品主区域 */
        .product-main {
            display: flex;
            margin: 20px 0;
            gap: 20px;
            flex-direction: column;
        }
        
        .product-gallery {
            flex: 0 0 450px;
        }
        
        .product-info {
            flex: 1;
        }
        
        /* 商品图片区域 */
        .main-image {
            width: 100%;
            height: 450px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
        }
        
        .main-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .thumbnail-list {
            display: flex;
            gap: 10px;
        }
        
        .thumbnail {
            width: 80px;
            height: 80px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            overflow: hidden;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
        }
        
        .thumbnail.active {
            border-color: var(--primary-color);
        }
        
        .thumbnail img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        /* 商品信息区域 */
        .product-info {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .product-title {
            font-size: 18px;
            line-height: 1.4;
            margin-bottom: 10px;
            color: var(--dark-color);
        }
        
        .product-subtitle {
            font-size: 13px;
            color: var(--gray-color);
            margin-bottom: 15px;
        }
        
        .price-section {
            background: #fff8f5;
            padding: 15px;
            border-radius: 6px;
            margin-bottom: 20px;
        }
        
        .price-row {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .price-label {
            color: var(--gray-color);
            font-size: 14px;
            width: 80px;
        }
        
        .original-price {
            font-size: 13px;
            color: var(--gray-color);
            text-decoration: line-through;
            margin-right: 10px;
        }
        
        .current-price {
            font-size: 22px;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .coupon-tag {
            background: var(--primary-color);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 13px;
            margin-left: 10px;
        }
        
        .sales-info {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
        }
        
        .sales-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 13px;
            color: var(--gray-color);
        }
        
        .sales-item i {
            color: var(--primary-color);
        }
        
        .coupon-section {
            background: #fff2e8;
            border: 1px dashed var(--primary-color);
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 20px;
                position: relative;
        }
        
        .coupon-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .coupon-title {
            font-size: 14px;
            color: var(--primary-color);
            font-weight: bold;
        }
        
        .coupon-count {
            font-size: 13px;
            color: var(--gray-color);
        }
        
        .coupon-amount {
            font-size: 16px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 10px;
        }
        
        .coupon-condition {
            font-size: 13px;
            color: var(--gray-color);
        }
        
        .get-coupon-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.3s;
            width: 100%;
            margin-top: 10px;
        }
        
        .get-coupon-btn:hover {
            background: var(--secondary-color);
        }
        
        .recommendation {
            background: #f0f9ff;
            padding: 15px;
            border-radius: 6px;
            margin-bottom: 20px;
        }
        
        .recommendation-title {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 8px;
            color: var(--dark-color);
        }
        
        .recommendation-content {
            font-size: 13px;
            color: #666;
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .action-btn {
            flex: 1;
            padding: 12px 0;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
            text-decoration: none;
        }
        
        .buy-btn {
            background: var(--primary-color);
            color: white;
            border: none;
        }
        
        .buy-btn:hover {
            background: var(--secondary-color);
        }
        
        .tao-code-btn {
            background: white;
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
        }
        
        .tao-code-btn:hover {
            background: #fff8f5;
        }
        
        .product-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .product-tag {
            background: #f5f5f5;
            color: #666;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 13px;
        }
        
        .service-info {
            display: flex;
            gap: 20px;
            font-size: 13px;
            color: var(--gray-color);
        }
        
        .service-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        /* 商品详情区域 */
        .product-details {
            margin: 30px 0;
        }
        
        .section-title {
            font-size: 15px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
            color: var(--dark-color);
        }
        
        .detail-content {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .detail-image {
            margin-bottom: 15px;
            border-radius: 4px;
            overflow: hidden;
            width: 100%;
            padding-bottom: 100%;
            height: 0;
            position: relative;
            display: inline-block;
        }
        
        .detail-image img {
            width: 100%;
            height: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            transition: all .3s ease-out 0s;
            position: absolute;
            top: 0px;
            left: 0px;
        }
        
        /* FAQ部分 */
        .faq-section {
            margin: 30px 0;
        }
        
        .faq-list {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .faq-item {
            margin-bottom: 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .faq-item summary {
            background: var(--light-color);
            padding: 15px 20px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s;
            list-style: none;
        }
        
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        
        .faq-item summary::after {
            content: '+';
            font-size: 14px;
            transition: transform 0.3s;
        }
        
        .faq-item[open] summary::after {
            transform: rotate(45deg);
        }
        
        .faq-item summary:hover {
            background: #e9ecef;
        }
        
        .faq-answer {
            padding: 20px;
        }
        
        /* 相关商品区域 */
        .related-products {
            margin: 30px 0;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
        }
        
        .product-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .product-card-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f9f9f9;
        }
        
        .product-card-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .product-card-info {
            padding: 15px;
        }
        
        .product-card-title {
            font-size: 14px;
            margin-bottom: 8px;
       
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .product-card-price {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .product-card-original {
            font-size: 13px;
            color: var(--gray-color);
            text-decoration: line-through;
            margin-right: 5px;
        }
        
        .product-card-current {
            font-size: 16px;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .product-card-coupon {
            background: #fff2e8;
            color: var(--primary-color);
            padding: 2px 6px;
            border-radius: 2px;
            font-size: 13px;
            margin-left: 5px;
        }
        
        .product-card-sales {
            font-size: 13px;
            color: var(--gray-color);
        }
        .guoqi{
                position: absolute;
    top: 0;
    left: 50%;
        }
      .content-section {
            padding: 20px 0;
        }

        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--border-color);
        }

        .section-title a {
            color: var(--primary-color);
            font-weight: 500;
            transition: var(--transition);
            font-size: 14px;
        }

        .section-title a:hover {
            color: var(--secondary-color);
            
        }
        .grid-container :hover{
            text-decoration: none;
            color: var(--primary-color);
        }
        .card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        } 
        .card-img {
            width: 100%;
            height: 100px;
            object-fit: cover;
        }
        .card-content {
            padding: 12px;
        }
        .card-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 6px;
            height: 40px;
            overflow: hidden;
            color: var(--dark-text);
        }
        .activity-link {
            display: block;
            height: 100%;
        }
        .gethdurl{
            cursor: pointer;
        }


/* 移动端调整 */
@media (max-width: 576px) {
    .header-mei>div {
        height: 22px;
        font-size: 1.2rem;
    }

    .category-name a {
        font-size: 12px;
    }

    footer {
        padding: 30px 0 15px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .main-content h1 {
        font-size: 2rem;
    }


    .footer-bottom-links a {
        margin: 5px 0;
    }

    .beian {
        flex-direction: column;
        gap: 10px;
    }

    .friend-links {
        justify-content: center;
    }

    .friend-links a {
        padding: 4px 8px;
        color: #868686;
    }

    .footer-links,
    .contact-info {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
    }


        /* .main-content {
            flex-direction: column;
        } */



        .article-card.with-image {
            flex-direction: column;
        }

        .article-image {
            flex: 1;
            height: 200px;
        }
        
        
}

/* 小屏幕 - 平板竖屏 ( ≥ 576px ) */
@media (min-width: 576px) {
    .nav-ul a {
        font-size: 15px;
    }

    header h1,
    header h2 {
        font-size: 24px;
    }

    .items-container ,.grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 0.5fr));
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .friend-links-section {
        grid-column: 1 / -1;
    }
    .coupon .yhpd a img {
        height: 185px;
    }
}

/* 中等屏幕 - 平板横屏 ( ≥ 768px ) */
@media (min-width: 768px) {
    .carousel-container {
        height: 250px;
    }

    .category-icon {
        font-size: 22px;
        color: var(--primary-color);
    }

    .h3-font {
        font-size: 24px;
    }

    .items-container-parameter span {
        font-size: 14px;
    }

    .items-container-parameter .parameter-price {
        font-size: 24px;
    }



    .friend-links-section {
        grid-column: auto;
    }

    .article-content {
        padding: 20px;

    }
    .top-banner {
        height: 80px;
    }
    .card-img {
        height: 150px;
    }   


}

/* 大屏幕 - 桌面端 ( ≥ 992px ) */
@media (min-width: 992px) {
    .xys-width-two {
        width: 19%;
    }

    .xys-width-eight {
        width: 79%;
    }

    .widthhundred {
        max-width: 200px;
    }

    .carousel-container,
    .navigation {
        height: 350px;
    }

    .banner-nav {
        grid-template-columns: 2fr 1fr;
        gap: 1rem;
    }
     .items-container ,.grid-container{
        grid-template-columns: repeat(auto-fit, minmax(250px, 0.33fr));
        /* grid-template-columns: repeat(3, 1fr); */
    }

   .main-content {
        grid-template-columns: 3fr 1fr;
    }
    .top-banner {
        height: 95px;
    }
    .product-main {
            flex-direction: row;
        }

}

/* 超大屏幕 - 大桌面 ( ≥ 1200px ) */
@media (min-width: 1200px) {}
.items-container ,.grid-container{
        grid-template-columns: repeat(250px, 0.25fr);
    }
/* 超超大屏幕 ( ≥ 1400px ) */
@media (min-width: 1400px) {}