/* ============================================================================
   餐饮 restaurant 模块移动样式（仅 ≤768px 生效，PC 零影响）
   hub.php / list.php / show.php（详情复用 .lod-* .cdh-* 类）
   ============================================================================ */
@media (max-width: 768px) {

    /* ---------- 栏目首页 hub ---------- */
    .restaurant-hub .hub-hero, .hub-hero { min-height: 380px; padding: 48px 16px 40px; }
    .hub-hero-title { font-size: 26px !important; }
    .hub-hero-subtitle { font-size: 14px !important; margin-bottom: 20px; }
    .hub-search-input { font-size: 16px !important; min-height: 46px; }
    .hub-search-btn { white-space: nowrap; min-height: 46px; padding: 0 20px; }
    .hub-hero-actions { gap: 10px; }
    .hub-hero-actions .hub-btn { flex: 1; justify-content: center; }
    .hub-intro, .hub-featured, .hub-list-section, .hub-cta { padding: 32px 16px !important; }
    .hub-stats { gap: 12px; }
    .hub-stat-num { font-size: 22px; }
    .hub-featured-grid { gap: 12px !important; }
    .hub-featured-cover { height: 120px; }
    .hub-filter-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 12px; padding: 12px; scrollbar-width: none; }
    .hub-filter-bar::-webkit-scrollbar { display: none; }
    .hub-filter-group { flex: 0 0 auto; align-items: center; }
    .hub-filter-tag { flex: 0 0 auto; white-space: nowrap; min-height: 34px; display: inline-flex; align-items: center; }
    .hub-list-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .hub-list-cover { height: 110px; }
    .hub-list-body { padding: 10px; }
    .hub-list-name { font-size: 13.5px; }
    .hub-list-subtitle, .hub-list-addr { display: none; }
    .hub-list-price { font-size: 15px; }
    .hub-list-price small { font-size: 10px; }

    /* ---------- 详情 show.php（复用 .lod-* / .cdh-*） ---------- */
    .cdh-nav {
        background: rgba(10,22,40,.92) !important;
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        padding-top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
        padding-bottom: 12px !important;
        box-shadow: 0 1px 14px rgba(0,0,0,.18);
    }
    .cdh-logo { font-size: 20px !important; }
    .cdh-nav-btn { padding: 7px 16px !important; font-size: 12px !important; }
    .lod-hero { height: 52vh !important; min-height: 380px; }
    .lod-hero-info { transform: translate(-50%, -50%); top: 50%; width: 92%; }
    .lod-hero-info h1 { font-size: 28px !important; letter-spacing: 2px; }
    .lod-hero-info .sub { font-size: 14px !important; }
    .lod-hero-info .meta { gap: 12px; font-size: 11px; flex-wrap: wrap; }
    .lod-wrap { padding: 0 14px !important; }
    .lod-title { font-size: 24px !important; }
    .lod-meta { gap: 10px; }
    .lod-meta .price { font-size: 24px; }
    .lod-amenity-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .lod-gallery { grid-template-columns: repeat(2, 1fr) !important; gap: 6px; margin: 24px 0 !important; }
    .lod-gallery img { height: 150px; }
    .lod-related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
    .lod-related-card img { height: 120px; }
    .lod-related-card h3 { font-size: 13.5px; }
    .lod-sidebar { position: static; }
    .lod-book-card { padding: 20px; }

    /* ---------- 固定底部订座条 ---------- */
    .lod-bookbar {
        display: flex; align-items: center; gap: 10px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: #fff; border-top: 1px solid #ece7df;
        box-shadow: 0 -2px 16px rgba(0,0,0,.08);
    }
    .lod-bookbar-price { flex-shrink: 0; min-width: 0; }
    .lod-bookbar-now { font-size: 19px; font-weight: 700; color: #c8956c; }
    .lod-bookbar-now small { font-size: 11px; color: #999; font-weight: 400; }
    .lod-bookbar-cta {
        flex: 1; min-height: 46px; display: flex; align-items: center; justify-content: center;
        gap: 6px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600;
    }
    .lod-bookbar-cta.primary { background: #1a7a4c; color: #fff; }
    .lod-bookbar-cta.secondary { background: #2a2a2a; color: #fff; }
    .lod-bookbar-cta:active { filter: brightness(.95); }
}

@media (max-width: 380px) {
    .lod-hero { min-height: 340px; }
    .lod-hero-info h1 { font-size: 24px; }
}
