/* ============================================
   城市详情页样式 - flowertocn.com
   ============================================ */

   .city-detail-page {
    padding: 30px 0 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    padding: 10px 0 20px;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #DD302D;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* ========== 城市英雄区域 ========== */
.city-hero {
    margin-bottom: 40px;
}

.city-hero-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.city-hero-image {
    flex: 0 0 35%;
    max-width: 380px;
}

.city-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.city-hero-text {
    flex: 1;
}

.city-hero-text h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.2;
}

.city-hero-text .subtitle {
    font-size: 16px;
    color: #DD302D;
    font-weight: 500;
    margin-bottom: 20px;
}

.city-description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ========== 通用卡片区域 ========== */
.section-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 30px 35px;
    margin-bottom: 30px;
    transition: all 0.2s;
}

.section-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.section-card h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #DD302D;
    display: inline-block;
}

.section-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

/* ========== 配送区域内容 ========== */
.delivery-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* ========== 花店列表 ========== */
.shops-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 4px;
}

.shop-item {
    display: flex;
    gap: 15px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s;
    border: 1px solid #e9ecef;
}

.shop-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #DD302D;
}

.shop-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.shop-info {
    flex: 1;
}

.shop-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.shop-address,
.shop-tel {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

/* ========== 商品网格 ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 4px;
}

.product-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #DD302D;
}

.product-item a {
    text-decoration: none;
    display: block;
}

.product-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 14px 12px 16px;
    text-align: center;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
    min-height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 17px;
    font-weight: 700;
    color: #DD302D;
}

/* ========== 文章列表 ========== */
.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 4px;
}

.article-item a {
    display: block;
    padding: 12px 18px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid #e9ecef;
}

.article-item a:hover {
    background: #DD302D;
    color: white;
    transform: translateX(5px);
    border-color: #DD302D;
}

/* ========== 无数据提示 ========== */
.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
    font-size: 14px;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .city-hero-content {
        flex-direction: column;
        align-items: center;
    }
    
    .city-hero-image {
        flex: none;
        max-width: 100%;
        text-align: center;
    }
    
    .city-hero-image img {
        max-width: 350px;
    }
    
    .city-hero-text {
        text-align: center;
    }
    
    .city-hero-text h1 {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .shops-list {
        grid-template-columns: 1fr;
    }
    
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .city-detail-page {
        padding: 20px 0 40px;
    }
    
    .section-card {
        padding: 20px 20px;
    }
    
    .section-card h2 {
        font-size: 20px;
    }
    
    .city-hero-text h1 {
        font-size: 24px;
    }
    
    .city-hero-text .subtitle {
        font-size: 14px;
    }
    
    .city-description {
        font-size: 14px;
        text-align: left;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .articles-list {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-name {
        font-size: 13px;
        min-height: auto;
    }
    
    .shop-item {
        padding: 14px 16px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-name {
        font-size: 12px;
    }
    
    .product-price {
        font-size: 14px;
    }
    
    .product-info {
        padding: 10px 8px 12px;
    }
    
    .section-card {
        padding: 16px 14px;
    }
    
    .section-card h2 {
        font-size: 18px;
    }
    
    .city-hero-text h1 {
        font-size: 20px;
    }
    
    .shop-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }
    
    .article-item a {
        font-size: 13px;
        padding: 10px 14px;
    }
}