/* =====================================================================
   首页 · 品牌落地页暖色样式（仅作用于 body.h-page）
   与菜单页 menu.css（body.m-page）同一暖色语言：
   奶油底 #FFF7F0 / 橙 #FF5B2E→#FF4F1A / 深棕字 #2B2118 / 金 #E8C9A0
   不动 app.css 的 :root 变量，也不影响其他页面。
   ===================================================================== */

body.h-page {
    --h-bg: #FFF7F0;
    --h-surface: #FFFFFF;
    --h-text: #2B2118;
    --h-sub: #8A7A6C;
    --h-muted: #A08A80;
    --h-accent: #FF5B2E;
    --h-accent2: #FF4F1A;
    --h-gold: #E8C9A0;
    --h-gold-deep: #B98A4E;
    --h-panel: #26201A;
    --h-shadow: 0 4px 12px rgba(115, 69, 26, 0.08);
    font-family: "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--h-bg);
    color: var(--h-text);
    padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px));
    line-height: 1.5;
}

/* ---------- 顶部 Hero ---------- */
.h-page .home-hero {
    position: relative;
    overflow: hidden;
    padding: 26px 18px 22px;
    background:
        radial-gradient(130px 96px at 92% -8%, rgba(255, 148, 87, 0.20), rgba(255, 148, 87, 0) 70%),
        radial-gradient(150px 120px at -8% 34%, rgba(240, 201, 152, 0.25), rgba(240, 201, 152, 0) 70%),
        linear-gradient(180deg, #FFF3E6, #FFF7F0 74%);
}
.h-page .hero-ring {
    position: absolute;
    border: 1px solid rgba(232, 201, 160, 0.45);
    border-radius: 50%;
}
.h-page .hero-ring.r1 { width: 120px; height: 120px; right: -38px; top: -44px; }
.h-page .hero-ring.r2 { width: 200px; height: 200px; right: -84px; top: -90px; }

.h-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--h-gold-deep);
}
.h-page .eyebrow::before { content: ""; width: 15px; height: 1px; background: var(--h-gold-deep); }

.h-page .brand-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 14px 0 8px;
}
.h-page .brand-seal {
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #FF8A3D, #FF4F1A);
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(255, 95, 46, 0.28);
}
.h-page .hero-title {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--h-text);
    line-height: 1.18;
}
.h-page .hero-title .title-suffix { color: var(--h-accent); }
.h-page .hero-sub {
    margin-top: 7px;
    font-size: 13px;
    color: var(--h-sub);
}
.h-page .hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}
.h-page .hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 18px;
    border: 1px solid var(--h-gold);
    background: rgba(255, 255, 255, 0.7);
    color: #5C4A3C;
    font-size: 11px;
}
.h-page .hero-chip svg { color: var(--h-accent); }

/* ---------- 优惠海报（示例文案，后续可接 qy_coupon） ---------- */
.h-page .promo-card {
    position: relative;
    display: flex;
    align-items: center;
    margin: 18px 16px 0;
    padding: 20px 12px 18px 18px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    background: linear-gradient(120deg, #FF8A3D 0%, #FF5B2E 55%, #FF4F1A 100%);
    box-shadow: 0 10px 24px rgba(255, 95, 46, 0.26);
}
.h-page .promo-deco {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
}
.h-page .promo-deco.pd1 { width: 170px; height: 170px; right: -56px; top: -66px; }
.h-page .promo-deco.pd2 { width: 60px; height: 60px; right: 118px; bottom: -26px; border-color: rgba(255, 255, 255, 0.16); }
.h-page .promo-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
    color: #FFF3DB;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.h-page .promo-main {
    margin-top: 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}
.h-page .promo-main b {
    font-size: 25px;
    font-weight: 800;
    font-family: "Inter", -apple-system, sans-serif;
    color: #FFF1CF;
    padding: 0 1px;
}
.h-page .promo-sub {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
}
.h-page .promo-seam {
    flex: none;
    align-self: stretch;
    width: 1px;
    margin: 0 14px;
    background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.75) 0 4px, transparent 4px 8px);
}
.h-page .promo-go {
    position: relative;
    z-index: 1;
    flex: none;
    width: 58px;
    height: 58px;
    margin-right: 2px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.h-page .promo-note {
    margin: 8px 16px 0;
    text-align: right;
    font-size: 10px;
    color: var(--h-muted);
}

/* ---------- 通用 section 骨架 ---------- */
.h-page .home-section { padding: 24px 16px 0; }
.h-page .sec-title {
    margin-top: 5px;
    font-size: 19px;
    font-weight: 800;
    color: var(--h-text);
    line-height: 1.3;
}
.h-page .sec-note {
    margin-top: 5px;
    font-size: 12px;
    color: var(--h-sub);
}

/* ---------- 门店信息 ---------- */
.h-page .store-card {
    margin-top: 14px;
    background: var(--h-surface);
    border: 1px solid var(--h-gold);
    border-radius: 16px;
    padding: 2px 15px;
    box-shadow: var(--h-shadow);
}
.h-page .info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #F6ECE0;
}
.h-page .info-row:last-of-type { border-bottom: none; }
.h-page .info-ic {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF1E5;
    color: var(--h-accent);
}
.h-page .info-main { flex: 1; min-width: 0; }
.h-page .info-label {
    font-size: 10px;
    color: var(--h-muted);
    letter-spacing: 0.08em;
}
.h-page .info-val {
    margin-top: 1px;
    font-size: 13px;
    font-weight: 500;
    color: var(--h-text);
    word-break: break-all;
}
.h-page .store-notice-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px 0 12px;
    padding: 9px 11px;
    border-radius: 10px;
    background: #FFF3E0;
    border: 1px solid #F7DEC0;
    color: #8A5B33;
    font-size: 11.5px;
    line-height: 1.5;
}
.h-page .store-actions {
    display: flex;
    gap: 10px;
    padding: 2px 0 15px;
}
.h-page .s-btn {
    flex: 1;
    height: 42px;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}
.h-page .s-btn.map { background: var(--h-panel); color: #fff; }
.h-page .s-btn.tel { background: #FFF1E5; color: var(--h-accent); border: 1px solid #FFD9C4; }

/* ---------- 每日鲜理念 ---------- */
.h-page .concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}
.h-page .concept-card {
    background: var(--h-surface);
    border: 1px solid #FBEFE2;
    border-radius: 14px;
    padding: 13px 12px 12px;
    box-shadow: var(--h-shadow);
}
.h-page .cc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.h-page .cc-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #E3C195;
    font-family: "Inter", -apple-system, sans-serif;
}
.h-page .cc-ic {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF6E9, #FBEFDC);
    color: var(--h-gold-deep);
}
.h-page .cc-title {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--h-text);
}
.h-page .cc-desc {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--h-sub);
}

/* ---------- 会员制说明（深色对比面板） ---------- */
.h-page .member-panel {
    position: relative;
    overflow: hidden;
    margin-top: 14px;
    padding: 24px 18px 20px;
    border-radius: 20px;
    background:
        radial-gradient(210px 130px at 110% -10%, rgba(255, 158, 92, 0.22), rgba(255, 158, 92, 0) 60%),
        radial-gradient(190px 150px at -12% 112%, rgba(255, 158, 92, 0.16), rgba(255, 158, 92, 0) 60%),
        var(--h-panel);
    box-shadow: 0 14px 30px rgba(38, 32, 26, 0.22);
}
.h-page .member-panel .eyebrow { color: #E8C9A0; }
.h-page .member-panel .eyebrow::before { background: #E8C9A0; }
.h-page .mp-title {
    margin-top: 7px;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}
.h-page .mp-sub {
    margin-top: 6px;
    color: #B5A89A;
    font-size: 12px;
}
.h-page .mp-tiers {
    display: flex;
    gap: 8px;
    margin-top: 17px;
}
.h-page .tier {
    flex: 1;
    text-align: center;
    padding: 9px 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.05);
}
.h-page .tier .t-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    color: #D9CFC2;
}
.h-page .tier .t-name .gem { width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); }
.h-page .tier.silver .gem { background: linear-gradient(135deg, #C7CDD6, #9AA3B0); }
.h-page .tier.gold   .gem { background: linear-gradient(135deg, #F0D9A8, #C99A4B); }
.h-page .tier.diamond .gem { background: linear-gradient(135deg, #A9DDF2, #5FA6C6); }
.h-page .tier .t-disc {
    margin-top: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: "Inter", -apple-system, sans-serif;
}
.h-page .mp-list {
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}
.h-page .mp-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 5px 0;
    font-size: 12.5px;
    color: #E8DDD0;
    line-height: 1.5;
}
.h-page .mp-list li::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    margin-top: 7px;
    border-radius: 50%;
    background: #E8C9A0;
}
.h-page .mp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 18px;
    height: 46px;
    border-radius: 23px;
    background: linear-gradient(180deg, #FF7A2E, #FF4F1A);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(255, 79, 26, 0.3);
}

/* ---------- 页脚 ---------- */
.h-page .home-foot {
    margin-top: 26px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--h-muted);
}

/* ---------- 底部 Dock（常驻点餐/结算） ---------- */
.h-page .dock-cta {
    position: fixed;
    z-index: 180;
    left: 14px;
    right: 14px;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    height: 58px;
    border-radius: 29px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 6px 0 18px;
    background: var(--h-panel);
    box-shadow: 0 10px 24px rgba(38, 32, 26, 0.3);
}
.h-page .dock-info { flex: 1; min-width: 0; }
.h-page .dock-line1 {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
.h-page .dock-line1 .live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FFB36B;
    box-shadow: 0 0 0 3px rgba(255, 179, 107, 0.22);
}
.h-page .dock-line1 .dock-strong { color: #FFCF9A; }
.h-page .dock-line2 {
    margin-top: 1px;
    color: #A79A8B;
    font-size: 10px;
    line-height: 1.3;
}
.h-page .dock-btn {
    flex: none;
    height: 46px;
    padding: 0 19px;
    border-radius: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(180deg, #FF7A2E, #FF4F1A);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(255, 79, 26, 0.32);
}

/* ---------- 底部导航（暖色覆盖，保留 app.css 的 fixed 定位） ---------- */
.h-page .bottom-nav {
    background: #fffdf9;
    box-shadow: 0 -1px 10px rgba(115, 69, 26, 0.07);
}
.h-page .bottom-nav a { color: #C3B4A6; }
.h-page .bottom-nav a.active { color: var(--h-accent); }
.h-page .bottom-nav a .cart-badge { background: #FF3B30; }
