/* ============================================
   城市页面样式
   ============================================ */

   .main-content {
    padding: 20px 0 60px;
    background: #f8f9fa;
    min-height: 500px;
}

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

/* ============================================
   面包屑导航
   ============================================ */
.breadcrumb {
    padding: 10px 0 20px;
    font-size: 14px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    padding: 4px 6px;
    border-radius: 4px;
}

.breadcrumb a:hover {
    color: #DD302D;
    background: rgba(221, 48, 45, 0.06);
}

.breadcrumb .separator {
    margin: 0 6px;
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* ============================================
   页面标题
   ============================================ */
.page-header {
    text-align: center;
    padding: 20px 0 30px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    color: #888;
}

/* ============================================
   城市列表
   ============================================ */
.city-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #DD302D;
    display: inline-block;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.city-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #DD302D;
}

.city-card .city-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.city-card .city-province {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.city-card.hot {
    border-color: #DD302D;
    background: #fdf6f5;
}

.city-card .hot-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #DD302D;
    color: #fff;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.hot-grid .city-card {
    background: #fdf6f5;
    border-color: #DD302D;
}

/* ============================================
   城市详情页
   ============================================ */
.city-header {
    text-align: center;
    padding: 20px 0 30px;
}

.city-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.city-header p {
    font-size: 16px;
    color: #888;
}

.city-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.city-detail-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.city-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
}

.city-detail-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.city-detail-content ul {
    margin: 8px 0 16px 20px;
}

.city-detail-content ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 4px;
}

.delivery-info {
    background: #f0f7fc;
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
    border-left: 4px solid #1890ff;
}

.delivery-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1890ff;
    margin: 0 0 6px 0;
}

.delivery-info p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* ============================================
   热门鲜花
   ============================================ */
.hot-flowers {
    background: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.hot-flowers h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.flower-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.flower-item {
    text-align: center;
    transition: all 0.3s ease;
}

.flower-item:hover {
    transform: translateY(-4px);
}

.flower-item a {
    text-decoration: none;
    display: block;
}

.flower-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
}

.flower-item h3 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 8px 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flower-item .price {
    font-size: 16px;
    font-weight: 700;
    color: #DD302D;
}

/* ============================================
   FAQ
   ============================================ */
.city-faq {
    background: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.city-faq h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.faq-item {
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* ============================================
   SEO内容
   ============================================ */
.seo-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-top: 30px;
}

.seo-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.seo-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.seo-content ul {
    margin: 8px 0 0 20px;
}

.seo-content ul li {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* ============================================
   响应式 - 平板
   ============================================ */
@media (max-width: 992px) {
    .city-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .flower-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   响应式 - 手机 (≤768px)
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    .main-content {
        padding: 10px 0 40px;
    }
    .breadcrumb {
        font-size: 12px;
        padding: 14px 0 12px;
    }
    .page-header h1 {
        font-size: 24px;
    }
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .city-card {
        padding: 14px 10px;
    }
    .city-card .city-name {
        font-size: 15px;
    }
    .flower-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .flower-item img {
        height: 120px;
    }
    .city-header h1 {
        font-size: 22px;
    }
    .city-content {
        padding: 20px 16px;
    }
    .hot-flowers {
        padding: 20px 16px;
    }
    .city-faq {
        padding: 20px 16px;
    }
    .seo-content {
        padding: 20px 16px;
    }
}

/* ============================================
   响应式 - 小屏手机 (≤480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    .main-content {
        padding: 6px 0 30px;
    }
    .breadcrumb {
        font-size: 11px;
        padding: 12px 0 10px;
    }
    .page-header h1 {
        font-size: 20px;
    }
    .section-title {
        font-size: 18px;
    }
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .city-card {
        padding: 12px 8px;
    }
    .city-card .city-name {
        font-size: 14px;
    }
    .flower-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .flower-item img {
        height: 100px;
    }
    .flower-item h3 {
        font-size: 12px;
    }
    .flower-item .price {
        font-size: 14px;
    }
    .city-header h1 {
        font-size: 18px;
    }
}
/* ============================================
   城市列表页 - 新增统计样式
   ============================================ */
   .city-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0 20px;
}

.city-stats .stat-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.city-stats .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #DD302D;
}

.city-stats .stat-label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-top: 4px;
}

/* ============================================
   城市详情页 - 相关文章和同省城市
   ============================================ */
.related-articles {
    background: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.related-articles h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.related-articles ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f8f9fa;
}

.related-articles ul li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.related-articles ul li a:hover {
    color: #DD302D;
}

/* 同省城市 */
.same-province {
    background: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.same-province h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.city-grid.mini-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.city-card.mini {
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.city-card.mini:hover {
    color: #DD302D;
}

/* ============================================
   响应式 - 手机 (≤768px)
   ============================================ */
@media (max-width: 768px) {
    .city-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .city-stats .stat-number {
        font-size: 22px;
    }
    
    .related-articles ul {
        grid-template-columns: 1fr;
    }
    
    .city-grid.mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .same-province {
        padding: 20px 16px;
    }
    
    .related-articles {
        padding: 20px 16px;
    }
}

/* ============================================
   响应式 - 小屏手机 (≤480px)
   ============================================ */
@media (max-width: 480px) {
    .city-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .city-stats .stat-item {
        padding: 14px 10px;
    }
    
    .city-stats .stat-number {
        font-size: 18px;
    }
    
    .city-stats .stat-label {
        font-size: 12px;
    }
    
    .city-grid.mini-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .city-card.mini {
        padding: 10px 8px;
        font-size: 13px;
    }
}