/* 基本样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 标题样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 50px;
    width: auto;
}

.mobile-menu-btn, .mobile-search-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;

	padding: 0.5rem 1rem;
}

.main-nav a.active {
    color: #ff4d4d;
    background-color: #fff5f5;
}

.main-nav a:hover, .main-nav a.active {
    color: #fff;
    background-color: #ff7800;
}

.main-nav a:hover {
    color: #fff;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

.search-btn {
    padding: 0.5rem 1rem;
    background-color: #ff7800;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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


/* 主要内容布局 */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

/* 城市导航风格 */
.city-nav {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.city-nav h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff7800;
}

.cities-list {
    list-style: none;
}

.city-group {
    margin-bottom: 1.5rem;
}

.city-group-title {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    border-left: 3px solid #ff7800;
}

.city-link {
    text-decoration: none;
    color: #34495e;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    margin: 0.3rem 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.city-link i {
    margin-right: 0.8rem;
    font-size: 1rem;
    color: #95a5a6;
    transition: all 0.3s ease;
}

.city-link .city-name {
    flex: 1;
}

.city-link .city-count {
    background: #ecf0f1;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.city-link:hover {
    color: #ff7800;
    background-color: #fff;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.city-link:hover i {
    color: #ff7800;
}

.city-link:hover .city-count {
    background: #ff7800;
    color: #fff;
}

.city-link.active {
    color: #ff7800;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.city-link.active i {
    color: #ff7800;
}

.city-link.active .city-count {
    background: #ff7800;
    color: #fff;
}

@media (max-width: 768px) {
    .city-nav {
        position: static;
        margin-bottom: 0.2rem;
    }
}

/* 产品容器 */
.products-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* 产品展示款式 */
.products-showcase {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    scroll-margin-top: 100px;
}

.section-header {
    margin-bottom: 2rem;
}

.title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.section-header h1 {
    color: #2c3e50;
    font-size: 2rem;
    border-bottom: 3px solid #ff7800;
    padding-bottom: 0.5rem;
    margin-right: 1rem;
    white-space: nowrap;
}

.more-link {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.more-link:hover {
    color: #ff7800;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-card {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}

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

.product-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
	padding: 10px;
}


.product-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.product-info:hover h3 {
    color: #ff7800;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    flex: 1;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-details, .btn-favorite {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-details {
    background-color: #3498db;
    color: white;
    flex: 1;
}

.btn-details:hover {
    background-color: #2980b9;
}

.btn-favorite {
    background-color: #f1f1f1;
    color: #333;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}

.favorite-count {
    font-size: 0.9rem;
    color: #666;
}

.favorite-count:hover {
   
    color: white;
}


.btn-favorite:hover {
    background-color: #ff7800;
    color: white;
}

.btn-favorite:hover .favorite-count {
    color: white;
}

/*页脚样式*/
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}




/* 添加新的导航和轮播样式 */
.hero-section {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

.category-nav {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-nav h2 {
    padding: 1rem;
    background-color: #ff7800;
    color: white;
    border-radius: 8px 8px 0 0;
    margin: 0;
}

.category-list {
    list-style: none;
    padding: 0.5rem 0;
}

.category-item {
    position: relative;
}

.category-item > a {
    padding: 0.8rem 1rem;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.category-item > a:hover {
    background-color: #f8f9fa;
    color: #ff7800;
}

.category-item i {
    color: #ff8800;
    margin-right: 10px;
    margin-top: 4px;
}

.subcategory {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 200px;
    background: white;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    border-radius: 0 4px 4px 0;
    z-index: 1000;
}

.category-item:hover .subcategory {
    display: block;
}

.subcategory a {
    padding: 0.8rem 1rem;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.subcategory a:hover {
    background-color: #f8f9fa;
    color: #ff7800;
}

/* 轮播样式 */
.carousel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.carousel-inner {
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

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

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

.carousel-caption h3 {
    margin-bottom: 0.5rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s;
}

.carousel-control:hover {
    background: rgba(255,255,255,0.8);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 1;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
}

.carousel-indicator.active {
    background: #ff8800;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .category-nav {
        display: none;
    }

    .carousel {
        height: 300px;
    }
}

/* 保持原有的其他样式不变 */
/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn, .mobile-search-btn {
        display: block;
    }

    .header-content {
        flex-wrap: wrap;
        padding: 0.1rem 0.5rem;
    }

    .logo {
        order: 2;
        flex: 1;
        text-align: center;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 4;
    }

    .main-nav.show {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .search-box {
        display: none;
        width: 100%;
        order: 5;
    }

    .search-box.show {
        display: flex;
    }

    .search-box input {
        flex: 1;
    }

    .main-content {
        grid-template-columns: 1fr;
    }


    .product-card {
        flex-direction: row;
    }

    .product-img {
        
        height: 200px;
    }

    .product-info {
        width: 60%;
    }

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

    .section-header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .product-card {
        flex-direction: row;
    }

    .product-img {
        width: 120px;
        height: 120px;
		padding: 8px;
    }

    .product-info {
        padding: 0.1rem;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    }

    .product-actions {
        flex-wrap: nowrap;
    }

    .btn-details, .btn-favorite {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* 添加热门特产推荐样式 */
.popular-products {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.0rem;
    margin-top: 1.5rem;
	
}
}

.popular-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}

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

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

.popular-info {
    padding: 0.1rem;
}

.popular-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0rem;
    color: #2c3e50;
}

.popular-info p {
    font-size: 0.9rem;
    color: #666;
}

/* 最新特产资讯样式 */
.news-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.news-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}

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

.news-img {
    width: 200px;
    flex-shrink: 0;
}

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

.news-info {
    padding: 1.5rem;
    flex: 1;
}

.news-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.news-info p {
    color: #666;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #999;
    font-size: 0.9rem;
}

.news-meta i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }

	.popular-info {
    padding: 0rem;
}
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}



/* Popular Items 链接效果 */
.popular-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
}

.popular-item-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.popular-item-link:hover::after {
    opacity: 1;
}

.popular-item-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
    border-radius: 8px;
}

/* News Items 链接效果 */
.news-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
    position: relative;
}

.news-item-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.news-item-link:hover::after {
    opacity: 1;
}

.news-item-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
    border-radius: 8px;
}

/* 保留原有样式 */
.popular-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.popular-item img {
    transition: transform 0.3s ease;
    border-radius: 6px;
}

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

.popular-item h3 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 0rem;
}

.popular-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff7800;
    transition: width 0.3s ease;
}

.popular-item:hover h3::after {
    width: 50px;
}

/* News Items 效果 */
.news-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.news-item-img {
    width: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-img img {
    transform: scale(1.1);
}

.news-item-content {
    padding: 1.5rem;
    flex: 1;
    position: relative;
}

.news-item-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
    color: #ff7800;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.news-item-meta i {
    color: #ff7800;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-meta i {
    transform: translateX(3px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .popular-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .popular-item {
        margin: 0;
        padding: 0.8rem;
    }

    .popular-item h3 {
        font-size: 0.9rem;
        margin-top: 0rem;
    }

    .news-item {
        flex-direction: column;
        margin: 0 1rem 1rem;
    }

    .news-item-img {
        width: 100%;
        height: 200px;
    }

    .news-item-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .popular-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .popular-item h3 {
        font-size: 0.8rem;
    }

    .news-item-img {
        height: 150px;
    }

    .news-item-title {
        font-size: 1rem;
    }

    .news-item-meta {
        font-size: 0.8rem;
    }
}




/* 全局链接样式 */
a {
    transition: all 0.3s ease;
    position: relative;
}

/* 导航链接效果 */
.main-nav a {
    position: relative;
	background: #fff;
    border-radius: 6px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;

}

.main-nav a:hover::after {
    width: 100%;
}

/* 更多链接效果 */
.more-link {
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.more-link:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.more-link i {
    transition: transform 0.3s ease;
}

.more-link:hover i {
    transform: translateX(5px);
}

/* 按钮通用效果 */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn:hover::after {
    width: 200%;
    height: 200%;
}

/* 搜索按钮效果 */
.search-btn {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}



/* 收藏按钮效果 */
.btn-favorite {
    position: relative;
    overflow: hidden;
}

.btn-favorite:hover {
    background-color: #ff7800;
}

.btn-favorite i {
    transition: transform 0.3s ease;
}

.btn-favorite:hover i {
    transform: scale(1.2);
}

.btn-category:hover {
    background-color: #ff7800;
    color: white;
}
.btn-category {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.3rem;
    background-color: #f1f1f1;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

a {
    transition: all 0.3s ease;
    position: relative;
	text-decoration: none;
}


/* 底部链接效果 */
.footer-section a {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    padding-left: 20px;
}

.footer-section a:hover::before {
    left: 0;
    opacity: 1;
}

/* Popular Items 移动端布局 */
@media (max-width: 768px) {
    .popular-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .popular-item {
        margin: 0;
    }

    .popular-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .popular-item h3 {
        font-size: 0.9rem;
        margin-top: 0rem;
    }

    .popular-item p {
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }
}

@media (max-width: 480px) {
    .popular-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 320px) {
    .btn-category {display:none
        
    }
}






/* Popular Items 效果 */
.popular-item {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.popular-item img {
    transition: transform 0.3s ease;
    border-radius: 6px;
}

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



.popular-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff7800;
    transition: width 0.3s ease;
}

.popular-item:hover h3::after {
    width: 50px;
}

/* News Items 效果 */
.news-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.news-item-img {
    width: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-img img {
    transform: scale(1.1);
}

.news-item-content {
    padding: 1.5rem;
    flex: 1;
    position: relative;
}

.news-item-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
    color: #ff7800;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.news-item-meta i {
    color: #ff7800;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-meta i {
    transform: translateX(3px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .popular-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .popular-item {
        margin: 0;
        padding: 0.8rem;
    }



    .news-item {
        flex-direction: column;
        margin: 0 1rem 1rem;
    }

    .news-item-img {
        width: 100%;
        height: 200px;
    }

    .news-item-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .popular-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .popular-item h3 {
        font-size: 0.8rem;
    }

    .news-item-img {
        height: 150px;
    }

    .news-item-title {
        font-size: 1rem;
    }

    .news-item-meta {
        font-size: 0.8rem;
    }
}




/* 分类页面样式 */
.category-page {
    padding: 2rem 0;
	max-width: 1200px;
    margin: 1rem auto;
    display: grid;
    gap: 2rem;
    padding: 0 1rem;
}

.category-layout {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 1rem;
}

/* 左侧导航 */
.category-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.category-nav {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.nav-title {

    margin: 0;
    border-bottom: 1px solid #eee;
    font-size: 1.2rem;
    color: #333;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.category-list a.active,
.category-list a:hover {
    background: #f0f7ff;
    color: #007bff;
}

/* 主要内容区 */
.category-header {
    background: #fff;
    border-radius: 8px;
    padding: 0rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-title {
    font-size: 2rem;
    margin: 0 0 1rem;
    color: #333;
}

.category-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.category-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-banner {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.category-description {
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 特产列表 */


/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 4px;
    background: #fff;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link.active,
.page-link:hover {
    background: #007bff;
    color: #fff;
}

.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    color: #666;
}

/* 相关推荐 */
.related-section {
    background: #fff;
    border-radius: 8px;
    padding: 1.2rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff7800;

}

.section-title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: #333;
}

.section-subtitle {
    color: #666;
    margin: 0 0 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-link {
    text-decoration: none;
    color: inherit;
}

.related-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h3 {
    margin: 0.8rem;
    font-size: 1rem;
    color: #333;
}

.related-card p {
    margin: 0 0.8rem 0.8rem;
    font-size: 0.9rem;
    color: #666;
}

/* 页脚样式 */
.site-footer {
    background: #2c3e50;
    padding: 0rem 0 1rem;
    margin-top: 1rem;
}

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

.footer-section h3 {
    color: #333;
    margin: 0 0 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #666;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom p {
    margin: 0.5rem 0;
}


.footer-bottom  a {
    color: #bdc3c7;
}

.footer-bottom a:hover {
    color: #007bff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}







/* 面包屑导航样式 */
.breadcrumb {
    background: #fff;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 1px 0px rgba(0,0,0,0.1);
	
}

.breadcrumb-nav {
    
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #ff7800;
}

.breadcrumb i {
    color: #999;
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: #ff7800;
    font-weight: 500;
}


/* 确保激活状态的样式优先级更高 */
.city-link.active {
    color: #ff7800;
    background: #fff ;
    position: relative;
}

.city-link.active i{
    color: #ff7800;
}


/* 城市导航样式 */
@media (max-width: 768px) {
    
    .products-showcase {
    padding: 0rem 1rem 1rem 1rem;
    }
    .city-nav {
        position: static; /* 取消悬浮 */
        padding: 0.8rem 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        z-index: 100;
        /* 隐藏滚动条 - Webkit浏览器 */
        &::-webkit-scrollbar {
            display: none;
        }
        /* 隐藏滚动条 - Firefox */
        scrollbar-width: none;
        /* 隐藏滚动条 - IE/Edge */
        -ms-overflow-style: none;
    }

    .nav-title {
        display: none; /* 隐藏标题 */
    }

   .category-page {
    padding: 0.1rem 0;
	margin: 0.1rem auto;
     }

   .category-layout {
    gap: 0rem;
   }

    .cities-list {
        display: flex;
        padding: 0 0.5rem;
    }

    .city-group {
        display: flex;
        gap: 0.5rem;
		margin-bottom: 0.1rem;
    }

    .city-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
        border-radius: 20px;
        background: #f5f5f5;
        display: inline-flex;
        align-items: center;
        margin: 0 0.2rem;
    }

    .city-link i {
        font-size: 0.9rem;
        margin-right: 0.4rem;
    }

    .city-link.active {
        background: #ff7800;
        color: #fff;
    }

    .city-link.active i {
        color: #fff;
    }
}

/* 小屏幕设备进一步优化 */
@media (max-width: 480px) {
    .city-nav {
        padding: 0.2rem 0;
    }

    .city-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .city-link i {
        font-size: 0.8rem;
        margin-right: 0.3rem;
    }
}




/* 文章内容样式 */
.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.article-meta i {
    color: #ff7800;
}

.content h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.content-summary {
    background: #f8f9fa;
    border-left: 4px solid #ff7800;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.content-summary h2 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.summary-list {
    list-style: none;
}

.summary-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.summary-list li::before {
    content: "";
    color: #ff7800;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.content-body {
    font-size: 1.04rem;
    line-height: 1.8;
    color: #2c3e50;
}

.content-body h2 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.content-body h3 {
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
}

.content-body h4 {
font-size: 1.04rem;
    margin: 1rem 0 0.5rem;
    color: #2c3e50;
}


.content-body p {
    margin-bottom: 0.75rem;
}

.content-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

 .content-body ol, .content-body ul{
list-style-position: outside;
    margin-bottom: 10px;
    padding-left: 2em;
}

.content-body ol ul {
list-style-position: outside;
    margin-bottom: 10px;
    padding-left: 0.5em;
}

        /* 表格样式 */
  .content-body table {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            border-collapse: collapse;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 0 0.1em rgba(0,0,0,0.3);

        }

     .content-body table th, .content-body table td {
            padding: 8px 8px;
            text-align: left;
        }

    .content-body table th {
            background-color: #fba050;
            color: white;
            font-weight: bold;
			border: 1px solid #dbdbdb;
        }

     .content-body table tr:nth-child(even) {
            background-color: #f2f2f2;
        }

    .content-body table tr:hover {
            background-color: #ddd;
        }

    .content-body table td {
            border-bottom: 1px solid #ddd;
			border-left: 1px solid #cec2b3;
        }

        /* 响应式设计 */
        @media (max-width: 600px) {
       .content-body table th,.content-body table td {
                padding: 8px;
                font-size: 14px;
            }

           .content-body table {
                display: block;
                overflow-x: auto;
            }
        }



.content-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    font-size: 1rem;
}

.tag {
    background: #f8f9fa;
    color: #666;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #ff7800;
    color: #fff;
}

.tag a {color: #34495e;}

.tag a:hover  {color: #fff;}

/* 相关推荐样式优化 */
.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

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

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

.related-item-content {
    padding: 1.5rem;
}

.related-item-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.8rem;
}

.related-item-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-item-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .content h1 {
        font-size: 1.8rem;
    }

    .content-body {
        font-size: 1rem;
    }

    .content-body h2 {
        font-size: 1.5rem;
    }

    .content-body h3 {
        font-size: 1.2rem;
    }

    .related-item-img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .content h1 {
        font-size: 1.5rem;
    }
}

