/* area.css - Clean version */

/* 基础页面样式 */
.area-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: " > ";
    margin: 0 8px;
    color: #999;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 筛选器区域 */
.filter-section {
    margin-bottom: 30px;
}

.filter-section h1 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.8em;
}

.filter-row {
    margin-bottom: 1px;
    padding: 5px; 
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 筛选器标题样式 */
.filter-section h2 {
    margin: 0 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid;
    padding-bottom: 8px;
}

/* 地方标题（蓝色主题） */
.filter-row:first-child h2 {
    color: #1976d2;
    border-bottom-color: #1976d2;
}

.filter-row:first-child h2::before {
    content: "🗾";
    font-size: 16px;
}

/* エリア标题（绿色主题） */
.filter-row:last-child h2 {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
}

.filter-row:last-child h2::before {
    content: "📍";
    font-size: 16px;
}

/* 筛选器按钮容器 */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/* 筛选器按钮基础样式 */
.filter-btn {
    background: #272626;
    border: 1px solid #414141;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #f8f7f7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px; 
    box-sizing: border-box;
    margin-bottom: 7px;
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.filter-btn .count {
    font-size: 0.85em;
    opacity: 0.8;
}

.filter-btn.active .count {
    opacity: 1;
}

/* 额外筛选条件行样式 */
.filter-row.extra-filters {
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.05) 0%, rgba(255, 107, 0, 0.03) 100%);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 138, 0, 0.2);
}

.filter-row.extra-filters .filter-btn {
    background: #1a1a1a;
    border-color: #3a3a3a;
}

.filter-row.extra-filters .filter-btn:hover {
    background: #2a2a2a;
    border-color: #ff8a00;
}

.filter-row.extra-filters .filter-btn.active {
    background: linear-gradient(135deg, #ff8a00, #ff6b00);
    border-color: #ff8a00;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 138, 0, 0.3);
}

/* 车站筛选器（第三行）——视觉上与エリア筛选器区分：浅色背景、pill 按钮、橙色主题 */
.station-row {
    margin-top: 2px;
    padding: 2px; 
    border-radius: 3px;
}

.station-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

/* area_2分组样式 */
.area2-group {
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.area2-group:last-child {
    border-bottom: none;
}

.area2-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    padding-left: 5px;
    border-left: 4px solid #ff9800;
}

.area2-stations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* area_2 过滤芯片（拝島/福生 等） */
.area2-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.area2-filter-btn {
    background-color: #2a2a2a;
    color: #ddd;
    border-radius: 16px;
    padding: 6px 10px;
}

.area2-filter-btn.active {
    background-color: #31a58b;
    color: #fff;
}

/* Divider between area_2 chips and station groups */
.station-divider {
    border: 0;
    height: 1px;
    background: #e6e6e6; /* visible on dark theme */
    margin: 3px 0 4px;
    display: block;
}
.station-filter-btn { 
        border: 1px solid #80807f;
        border-radius: 5px;
        padding: 1px 4px;
        font-size: 14px;
        /* text-decoration: none; */
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }

.station-filter-btn:hover {
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(240,156,69,0.12);
}

.station-filter-btn .count {
    font-size: 0.85em;
    color: #d8d5d5;
}

.station-filter-btn.active {
    background: #6f42c1; /* 主强调色 */ 
}

.station-row p {
    margin: 0;
    color: #666;
}

/* 超过一定数量时折叠多余的车站项 */
.station-filters .more-item {
    display: none;
}
.station-filters.expanded .more-item {
    display: inline-flex; /* 与按钮一致的 inline-flex */
}

/* 更多/折叠 按钮样式 */
.station-more-toggle {
    background: transparent;
    border: none;
    color: #ff8a00;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.12s ease, transform 0.12s ease;
}
.station-more-toggle:hover {
    background: rgba(255,138,0,0.06);
    transform: translateY(-2px);
}

.station-filters + .station-more-toggle {
    margin-left: 6px;
}

/* 超过一定数量时折叠多余的エリア项 */
.area-filters .more-item {
    display: none;
}
.area-filters.expanded .more-item {
    display: inline-flex; /* 与按钮一致的 inline-flex */
}

/* エリア更多/折叠 按钮样式 */
.area-more-toggle {
    background: transparent;
    border: none;
    color: #ff8a00;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.12s ease, transform 0.12s ease;
}
.area-more-toggle:hover {
    background: rgba(255,138,0,0.06);
    transform: translateY(-2px);
}

.area-filters + .area-more-toggle {
    margin-left: 6px;
}

/* 地方筛选器按钮（蓝色主题） */
.filter-row:first-child .filter-btn:hover {
    border-color: #1976d2;
    background: #f3f7ff;
    color: #1976d2;
}

.filter-row:first-child .filter-btn.active {
    background: #1f6d35; 
    color: #fff; 
}

/* エリア筛选器按钮（绿色主题） */
.filter-row.area-filter-row .filter-btn:hover,
.filter-row:last-child .filter-btn:hover {
    border-color: #2e7d32;
    background: #f3fff3;
    color: #2e7d32;
}

.filter-row.area-filter-row .filter-btn.active,
.filter-row:last-child .filter-btn.active {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
    box-shadow: 0 3px 8px rgba(46,125,50,0.25);
}

/* 店铺信息区域 - 桌面版横向排列，手机版纵向排列 */
.shop-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.shop-info .info-item {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 侧边栏新店铺卡片 */
.new-shop-card {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px;
    background: #3a3a3a;
    border-radius: 6px;
}

.new-shop-info .shop-name {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}

.new-shop-info .station {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 4px;
}

.new-shop-info .business-time {
    font-size: 11px;
    color: #999;
}

/* 评分显示样式 - 让common.css控制响应式行为 */
.area-list .card .rating-display i.fa-star {
    color: #ffd700;
}

/* Colored icons for better visual cues */
.page-shop .area-list .card .info i.fa-clock,
.area-list .card .info i.fa-clock {
  color: #f39c12;
}

.page-shop .area-list .card .info i.fa-phone,
.area-list .card .info i.fa-phone {
  color: #27ae60;
}

.page-shop .area-list .card .info i.fa-language,
.area-list .card .info i.fa-language {
  color: #9b59b6;
}

.page-shop .area-list .card .info i.fa-location-dot,
.area-list .card .info i.fa-location-dot {
  color: #e74c3c;
}

.page-shop .area-list .card .info i.fa-train-subway,
.area-list .card .info i.fa-train-subway {
  color: #3498db;
}

.page-shop .area-list .card .info i.fa-map-marker-alt,
.area-list .card .info i.fa-map-marker-alt {
  color: #e74c3c;
}

.page-shop .area-list .card .info i.fa-user-secret,
.area-list .card .info i.fa-user-secret {
  color: #9b59b6;
}

.page-shop .area-list .card .info i.fa-route,
.area-list .card .info i.fa-route {
  color: #e67e22;
}

/* 新增图标颜色设置 */
.page-shop .area-list .card .info i.fa-link,
.area-list .card .info i.fa-link {
  color: #28a745; /* 绿色 - 链接图标 */
}

.page-shop .area-list .card .info i.fa-yen-sign,
.area-list .card .info i.fa-yen-sign {
  color: #28a745; /* 绿色 - 价格图标 */
}

.page-shop .area-list .card .info i.fa-user,
.area-list .card .info i.fa-user {
  color: #6f42c1; /* 紫色 - 用户图标 */
}

/* 链接样式 - 让用户知道可以点击 */
.info-item a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.info-item a:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Shop layout - 左右布局 */
.shop-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sidebar {
    max-width: 300px;
    width: 100%;
    min-width: 250px;
}

/* Sidebar 新着店舗 */
.sidebar .new-list {
  background: #2c3e50;
  border: 1px solid #6ef9a066;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar .new-list h2 {
  margin-top: 0;
  font-size: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid #6ef9a066;
  color: #fff;
}

.sidebar .new-list h2 i {
    color: #40f312;
    margin-right: 6px;
}

.sidebar .tag-entry-title i {
    color: #f6c343;
}

/* 新着店舗card样式 */
.sidebar .new-list .new-shop-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto 1fr;
  gap: 4px 6px;
  background: #34495e;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #2c3e50;
  box-sizing: border-box;
  min-height: 64px;
  margin-bottom: 10px;
  transition: background 0.3s ease;
}

.sidebar .new-list .new-shop-card:hover {
  background: #4a6741;
}

.sidebar .new-list .new-shop-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  grid-column: 1/2;
  grid-row: 1/3;
}

.sidebar .new-list .new-shop-card .new-shop-info {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  grid-column: 2/3;
  grid-row: 1/3;
}

.sidebar .new-list .new-shop-card .shop-name {
  margin-left: 13px;
  line-height: 1.2;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.sidebar .new-list .new-shop-card .station {
  color: #bdc3c7;
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: 13px;
}

.sidebar .new-list .new-shop-card .business-time {
  color: #bdc3c7;
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: 13px;
}

.sidebar .new-list .new-shop-card .shop-date {
    color: #bdc3c7;
    font-size: 11px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 13px;
}

.sidebar .new-list .new-shop-card .business-time i {
  color: #f39c12;
  margin-right: 3px;
  width: 8px;
}

.sidebar .new-list .new-shop-card .shop-date i {
    color: #8ab4f8;
    margin-right: 3px;
    width: 8px;
}

/* 侧边栏新着店舗链接版本样式 */
.sidebar .new-list .new-shop-card[href] {
  text-decoration: none;
  color: inherit; 
}

.sidebar .new-list .new-shop-card[href]:hover {
  text-decoration: none;
  color: inherit;
}

/* 快速链接区域 */
.tokyo-quick-links {
  background: #2c3e50;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.tokyo-quick-links h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.quick-link {
  padding: 8px 12px;
  background: #34495e;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  transition: background 0.3s ease;
}

.quick-link:hover {
  background: #4a6741;
  color: white;
}

/* ========================================
   共用店铺卡片样式 (area.php & tokyo_area.php)
   ======================================== */

/* 卡片基础样式 */
.area-list .card,
.page-shop .area-list .card {
    display: block;
    background: #2b2b2b;
    border-radius: 8px;
    border: 1px solid #191919;
    box-sizing: border-box;
    margin-bottom: 10px;
    overflow: hidden;
}

/* 日本人店铺卡片样式 - 整体设计 */
.area-list .card.japan-shop,
.page-shop .area-list .card.japan-shop {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.03) 0%, rgba(74, 144, 226, 0.02) 100%);
    border: 2px solid #6f42c1;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.15), inset 0 1px 0 rgba(111, 66, 193, 0.1);
    position: relative;
}

.area-list .card.japan-shop::before,
.page-shop .area-list .card.japan-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6f42c1 0%, #4a90e2 100%);
    border-radius: 8px 0 0 8px;
}

/* 亚洲店铺卡片样式 - 整体设计 */
.area-list .card.asia-shop,
.page-shop .area-list .card.asia-shop {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.03) 0%, rgba(255, 107, 0, 0.02) 100%);
    border: 2px solid #f39c12;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.15), inset 0 1px 0 rgba(243, 156, 18, 0.1);
    position: relative;
}

.area-list .card.asia-shop::before,
.page-shop .area-list .card.asia-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f39c12 0%, #ff6b00 100%);
    border-radius: 8px 0 0 8px;
}

/* 第一行：店名左，评价+気に入る右 */
.area-list .card .card-header,
.page-shop .area-list .card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 3px 3px 9px;
    border-bottom: 1px solid #404040;
    gap: 10px;
}

.area-list .card .shop-name,
.page-shop .area-list .card .shop-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex: 1;
    min-width: 0;
    /* overflow: hidden; */ 
    /* white-space: nowrap; */
    margin-left: 10px;
}

/* 区域落地页说明文（SEO 主体内容） */
.area-description-block {
    margin: 12px 0 16px;
    padding: 14px 16px;
    border: 1px solid #2f3b45;
    border-radius: 8px;
    background: #202a31;
}

.area-description-title {
    margin: 0 0 8px;
    font-size: 16px;
    color: #ffffff;
}

.area-description-text {
    margin: 0;
    line-height: 1.8;
    color: #d6e2ea;
    font-size: 14px;
}

.area-description-summary {
    margin: 8px 0 12px;
    padding: 8px 12px;
    border-left: 3px solid #4f6b7f;
    background: #1b232a;
}

.area-description-summary p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #c9d7e2;
}

.area-description-bottom {
    margin-top: 18px;
}

.area-list .card .header-right,
.page-shop .area-list .card .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.area-list .card .rating-display,
.page-shop .area-list .card .rating-display {
    color: #ffd700;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.favorite-btn {
    background: transparent;
    border: 1px solid #92df85;
    padding: 1px 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.3s ease;
}

.favorite-btn:hover {
    background: rgba(255,255,255,0.1);
}

.favorite-btn.active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.favorite-btn.active i {
    color: #fff;
}

/* 第二行：图片左，信息右 */
.area-list .card .card-content,
.page-shop .area-list .card .card-content {
    display: flex;
    padding: 12px;
    gap: 12px;
    align-items: flex-start;
}

.area-list .card .shop-image,
.page-shop .area-list .card .shop-image {
    flex-shrink: 0;
}

.area-list .card .shop-image img,
.page-shop .area-list .card .shop-image img {
    
    object-fit: cover;
    border-radius: 6px;
}

.area-list .card .shop-info,
.page-shop .area-list .card .shop-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.area-list .card .info-item,
.page-shop .area-list .card .info-item {
    color: #cfd6db;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.area-list .card .info-item i,
.page-shop .area-list .card .info-item i { 
    flex-shrink: 0;
    width: 14px;
}

.ranking-jump {
    margin: 8px 0 14px;
}

.sidebar .sidebar-ranking-jump {
    margin: 0 0 12px;
}

.ranking-jump-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #2b4046;
    border-radius: 8px;
    color: #d8e7ec;
    background: #162126;
    text-decoration: none;
    font-size: 14px;
}

.sidebar .sidebar-ranking-jump .ranking-jump-link { 
    width: 100%;
    justify-content: center;
    gap: 0px;
    padding: 12px 1px;
    border-radius: 10px;
    border: 1px solid #8c309f;
    background: linear-gradient(180deg, #2f3947 0%, #4800cc 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(32, 31, 75, 0.35);
}

.sidebar .sidebar-ranking-jump .ranking-jump-link i {
    color: #fff;
}

.ranking-jump-link:hover {
    background: #1d2d33;
    border-color: #365963;
}

.sidebar .sidebar-ranking-jump .ranking-jump-link:hover {
    background: linear-gradient(180deg, #364456 0%, #49627c 100%);
    border-color: #8c309f;
}

/* 第三行：店铺说明文 */
.area-list .card .card-description,
.page-shop .area-list .card .card-description {
    padding: 0 12px 12px 12px;
    display: none;
}

.area-list .card .card-description-mobile,
.page-shop .area-list .card .card-description-mobile {
    display: block;
}

.area-list .card .description,
.page-shop .area-list .card .description {
    color: #cfd6db;
    font-size: 14px;
    line-height: 1.4; 
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

/* 第四行：操作按钮 */
.area-list .card .card-actions,
.page-shop .area-list .card .card-actions {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #404040;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    flex: 1;
    min-width: 80px;
    transition: all 0.3s ease;
}

.action-btn.call-shop {
    background: #1f6d35;
}

.action-btn.reserve-now {
    background: #ff6b6b;
}

.action-btn.write-review {
    background: linear-gradient(135deg, rgb(255, 193, 7), rgb(255, 143, 0));
    color: #1f2937;
}

.action-btn.view-detail {
    background: #3f6385;
}

.action-btn:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
}

/* 卡片悬停效果 */
.area-list .card:hover,
.page-shop .area-list .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== 合并的响应式设计 (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* 响应式布局 */
    .shop-layout {
        flex-direction: column;
    }
    
    .sidebar {
        display: block;
    }

    /* 标签响应式样式 */
    .shop-badges {
        gap: 5px;
    }
    
    .badge {
        font-size: 0.8em;
        padding: 4px 8px;
    }

    /* 评价系统响应式设计 */
    .rating-item {
        flex-direction: column;
        align-items: stretch;
    }

    .rating-label {
        min-width: auto;
        margin-bottom: 5px;
    }

    .rating-form {
        padding: 15px;
    }
    
    .rating-stars {
        font-size: 20px;
    }
    
    .rating-buttons {
        flex-direction: column;
    }
    
    .rating-success-message {
        left: 10px;
        right: 10px;
        top: 10px;
        text-align: center;
    }

    /* 卡片响应式设计 */
    .area-list .card .card-header,
    .page-shop .area-list .card .card-header {
        padding: 2px;
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 6px;        
        align-items: center;            /* 垂直居中 */
    }

    .area-list .card .card-content,
    .page-shop .area-list .card .card-content { 
        padding: 10px;
        gap: 8px;
    }

    .area-list .card .shop-image img,
    .page-shop .area-list .card .shop-image img {
        width: 100%;
        height: auto;
        max-height: 115px;
        max-width: 120px;
    }

    .area-list .card .shop-info,
    .page-shop .area-list .card .shop-info {
        gap: 4px;
        display: flex;
        flex-wrap: wrap;
        min-width: 0;
        overflow: hidden;
    }

    .area-list .card .info-item,
    .page-shop .area-list .card .info-item,
    .shop-info .info-item {
        white-space: normal;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .area-list .card .card-description,
    .page-shop .area-list .card .card-description {
        padding: 10px;
        display: block;
        margin-bottom: 10px;
    }

    .area-list .card .card-description-mobile,
    .page-shop .area-list .card .card-description-mobile {
        display: none;
        padding: 0 10px 10px 10px;
    }

    .area-list .card .card-actions,
    .page-shop .area-list .card .card-actions {
        padding: 10px;
        gap: 8px;
    }

    .action-btn {
        flex: 1;
        min-width: 80px;
    }

    /* 移动端筛选器专用样式（从 js/area.js 移入） */
    .mobile-filters {
        gap: 8px;
    }

    .mobile-filters .filter-btn {
        font-size: 0.85em;
        padding: 8px 15px;
        min-height: 40px;
    }

    .filter-row h2 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }

    .filter-section {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .area-page {
        padding: 1px;
    }
    
    .filter-row {
        padding: 5px;
    }
    
    .filters {
        gap: 6px;
    }
    
    .filter-btn {
        font-size: 0.75em;
        padding: 4px 10px;
        min-height: 28px;
        gap: 3px;
    }

    .quick-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-link {
        font-size: 12px;
        padding: 6px 8px;
    }
}
/* 移动端筛选器小屏幕调整（为 480px 以下调整字体/内边距） */
@media (max-width: 480px) {
    .mobile-filters .filter-btn {
        font-size: 0.8em;
        padding: 6px 12px;
        min-height: 36px;
    }

    .filter-row {
        margin-bottom: 0px;
    }
}

/* 分页样式 */
.pagination{
    display:flex;
    justify-content:center;
    margin-top:30px;
    padding:20px 0;
}

.pagination-list{
    display:flex;
    align-items:center;
    gap:6px;
    list-style:none;
    margin:0;
    padding:0;
}

.pagination-item{
    margin:0;
}

.pagination-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 8px;
    background:#f5f5f5;
    color:#333;
    border:1px solid #ddd;
    border-radius:4px;
    text-decoration:none;
    transition:all 0.2s ease;
    font-size:14px;
    font-weight:500;
}

.pagination-link:hover{
    background:#ff8a00;
    color:#fff;
    border-color:#ff8a00;
}

.pagination-link.active{
    background:#ff8a00;
    color:#fff;
    border-color:#ff8a00;
    cursor:default;
}

.pagination-ellipsis{
    color:#999;
    padding:0 4px;
}

.pagination-prev, .pagination-next{
    gap:4px;
}

.pagination-info{
    text-align:center;
    color:#666;
    font-size:13px;
    margin-top:15px;
}

/* 回到顶部按钮 */
.scroll-to-top{
    position:fixed;
    right:20px;
    bottom:20px;
    width:50px;
    height:50px;
    background:linear-gradient(135deg,#ff8a00 0%,#ff6b00 100%);
    color:#fff;
    border:none;
    border-radius:50%;
    cursor:pointer;
    display:none;
    align-items:center;
    justify-content:center;
    font-size:20px;
    transition:all 0.3s ease;
    box-shadow:0 4px 12px rgba(255,138,0,0.3);
    z-index:999;
}

.scroll-to-top:hover{
    transform:translateY(-3px);
    box-shadow:0 6px 16px rgba(255,138,0,0.5);
}

.scroll-to-top.show{
    display:flex;
}
