/* 晋江夜晚落脚点 · H5 样式 v2「市井招牌」
   奶油米底 + 朱红招牌 + 价签贴纸 + 印章，亮色、有烟火气 */

:root {
    --cream: #FBF3E4;
    --paper: #FFFCF4;
    --ink: #2E1F14;
    --ink-2: #6B5442;
    --muted: #8A7359;
    --line: #E7D2AF;
    --line-2: #EFE0C7;
    --red: #BE3B1C;
    --red-d: #8E2313;
    --gold: #E7A63C;
    --green: #3E7C4A;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 14px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* 夜色炭火味：极淡的斜纹 + 顶部暖光 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(90% 34% at 50% -4%, rgba(231, 166, 60, .28), rgba(231, 166, 60, 0) 72%),
        repeating-linear-gradient(45deg, rgba(190, 59, 28, .035) 0 2px, rgba(190, 59, 28, 0) 2px 16px);
}

a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

.wrap {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 16px calc(112px + env(safe-area-inset-bottom));
}

.wrap-narrow { padding-bottom: 44px; }

/* 结算页底部有结算条，留出空间 */
body.page-checkout .wrap { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }

/* ==================== 首页左侧分类栏（外卖式） ==================== */

.menu {
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 10px;
}

.cat-left {
    position: sticky;
    top: 8px;
    flex: none;
    width: 80px;
    margin-left: -16px;
    display: flex;
    flex-direction: column;
    border-radius: 0 12px 12px 0;
    background: #F6E7CD;
    border: 1px solid #E2CBA4;
    border-left: 0;
    box-shadow: 2px 2px 0 #EEDFC4;
    overflow: hidden;
}

.cat-btn {
    display: block;
    padding: 15px 5px 16px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    color: #8A6B45;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    transition: background .16s, color .16s, box-shadow .16s;
}

.cat-btn + .cat-btn { border-top: 1px dashed rgba(160, 120, 70, .28); }

.cat-btn.is-on {
    background: linear-gradient(90deg, #FFFDF7, #FFF4E2);
    color: var(--red);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--red);
}

.cat-name { display: block; }

.cat-cnt {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    color: #A9834F;
}

.cat-btn.is-on .cat-cnt { color: var(--red); opacity: .9; }

.menu-main { flex: 1; min-width: 0; }

/* 分类小标题（外卖式切栏后不重复大标题） */
.panel-note {
    margin: 0 0 9px;
    padding-left: 8px;
    border-left: 3px solid #E0B98C;
    font-size: 11.5px;
    line-height: 1.2;
    letter-spacing: .02em;
    color: var(--muted);
}

.menu-main .cat-pane { margin-top: 0; }

/* 电脑上页面短，左栏不吸顶就够 */
@media (min-width: 620px) {
    .cat-left { position: static; }
}

/* ==================== 招牌头图 ==================== */

.sign {
    padding: 16px 0 4px;
    text-align: center;
}

.sign-top, .shop-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.hero-kicker, .shop-kicker {
    flex: 1;
    min-width: 0;
    font-size: 9px;
    letter-spacing: .26em;
    color: #A9906E;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-link, .shop-mine {
    flex: none;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    padding: 5px 12px;
    border: 1.5px solid #DDB08C;
    border-radius: 999px;
    background: var(--paper);
    box-shadow: 0 2px 0 #EFDDC5;
}

.sign-board, .shop-sign {
    position: relative;
    margin: 0 auto;
    padding: 22px 16px 20px;
    border-radius: 12px;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(255, 200, 130, .3), rgba(255, 200, 130, 0) 60%),
        linear-gradient(180deg, #CC451F 0%, #A22C11 100%);
    border: 2px solid #7C1D08;
    box-shadow:
        inset 0 0 0 3px rgba(255, 214, 150, .35),
        0 5px 0 rgba(124, 29, 8, .22),
        0 16px 26px rgba(150, 80, 40, .18);
}

/* 灯笼 */
.lantern {
    position: absolute;
    top: -12px;
    width: 24px;
    height: 32px;
    border-radius: 50% 50% 46% 46% / 42% 42% 58% 58%;
    background: linear-gradient(180deg, #E4552A, #A92C0C);
    border: 1.5px solid #EBB64F;
    box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .22), 0 0 14px rgba(255, 170, 80, .45);
}

.lantern::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -9px;
    width: 2px;
    height: 9px;
    margin-left: -1px;
    background: #7C1D08;
}

.lantern::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 2px;
    height: 8px;
    margin-left: -1px;
    background: #EBB64F;
}

.lantern-l { left: 16px; }
.lantern-r { right: 16px; }

.sign-name, .shop-name {
    margin: 0;
    font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .16em;
    text-indent: .16em;
    line-height: 1.32;
    color: #FFEDCB;
    text-shadow: 0 2px 0 #7C1D08, 0 0 20px rgba(255, 196, 120, .4);
}

.sign-sub, .shop-slogan {
    margin: 14px auto 0;
    max-width: 320px;
    font-size: 12.5px;
    line-height: 1.9;
    color: #7A5B3E;
    letter-spacing: .06em;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink);
    border: 1.5px solid #DFC69E;
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 2px 0 #EEDFC4;
}

.chip i {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: .04em;
}

/* ==================== 公告便签 ==================== */

.notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 20px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(180deg, #FFF8DC, #FFF0C4);
    border: 1.5px dashed #E0C071;
    box-shadow: 0 3px 0 rgba(200, 160, 80, .16);
}

.notice p {
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
    color: #7A5416;
    letter-spacing: .02em;
}

.notice-dot {
    flex: none;
    width: 7px;
    height: 7px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: dot 2.2s ease-out infinite;
}

@keyframes dot {
    0% { box-shadow: 0 0 0 0 rgba(190, 59, 28, .45); }
    70% { box-shadow: 0 0 0 7px rgba(190, 59, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(190, 59, 28, 0); }
}

/* ==================== 区块 ==================== */

.sec { margin-top: 26px; }

.menu-main .sec:first-child { margin-top: 0; }

.sec-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sec-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--ink);
}

.sec-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 14px;
    margin-right: 8px;
    border-radius: 2px;
    background: linear-gradient(var(--red), #DE6A3C);
    vertical-align: -1px;
}

.sec-note {
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: .04em;
}

.list { display: flex; flex-direction: column; gap: 9px; }

/* ==================== 商品卡 ==================== */

.card {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 2px 0 var(--line-2);
    transition: border-color .18s, box-shadow .18s, background .18s;
}

/* 菜品图 */
.card-photo {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 9px;
    overflow: hidden;
    background: #F4E6CE;
    border: 1px solid #E4CFA9;
    display: grid;
    place-items: center;
}

.card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-photo.is-empty .photo-ph {
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 20px;
    color: #B98F5E;
}

.card.is-out .card-photo img { filter: grayscale(.6) brightness(.95); }

.card.has-qty {
    border-color: #C9531F;
    background: #FFFDF7;
    box-shadow: 0 2px 0 #EBB9A3, 0 0 0 3px rgba(190, 59, 28, .07);
}

.card-body { flex: 1; min-width: 0; }

.card-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.card-name {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-idx {
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #C2A57E;
    margin-right: 5px;
    letter-spacing: .04em;
}

/* 价签（行内小价签，跟在余量前面） */
.price {
    flex: none;
    padding: 1px 6px 2px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 5px;
    background: linear-gradient(180deg, #CC451F, #A82C0F);
    color: #FFF0D0;
    box-shadow: 0 1.5px 0 #8E2313;
    letter-spacing: .01em;
    white-space: nowrap;
}

.price em {
    font-style: normal;
    font-size: 10px;
    margin-right: 1px;
    opacity: .82;
}

.card-note {
    margin: 3px 0 0;
    font-size: 10.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0 0;
    font-size: 10.5px;
    color: var(--muted);
}

.card-stock b { color: var(--red); font-size: 12px; }

.stock-txt {
    flex: none;
    font-size: 10.5px;
    color: #9B8468;
    white-space: nowrap;
}

/* 份量条 */
.bar-track {
    position: relative;
    flex: none;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: #EADBC2;
    overflow: hidden;
}

.bar-fill {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #E8823C, #BE3B1C);
}

/* 售罄印章 */
.stamp-out {
    display: inline-block;
    padding: 2px 6px;
    border: 2px solid var(--red);
    border-radius: 6px;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    transform: rotate(-9deg);
    opacity: .92;
    background: transparent;
    white-space: nowrap;
}

.act-out {
    font-size: 11.5px;
    color: #A38C70;
}

.card.is-out {
    background: #F8EFE1;
    border-color: #E2CDAB;
    box-shadow: 0 2px 0 #EADBC2;
}

.card.is-out .card-name { color: #9B8468; font-weight: 600; }
.card.is-out .price {
    background: #C6B294;
    color: #FFFBF0;
    box-shadow: 0 2px 0 #B09B7E;
}

.card-act {
    flex: none;
    width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 数量步进 */
.stepper {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 2px;
    border-radius: 999px;
    background: #FFFDF8;
    border: 1.5px solid #E2C9A3;
    box-shadow: 0 2px 0 #EEDFC4;
}

.st-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #F6E7CE;
    color: var(--red-d);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background .18s, color .18s, transform .12s;
}

.st-btn:active { transform: scale(.9); }
.st-btn:disabled { opacity: .32; cursor: default; }

.card.has-qty .st-btn {
    background: linear-gradient(180deg, #CC451F, #A82C0F);
    color: #FFF0D0;
}

.st-qty {
    min-width: 17px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
}

.card.has-qty .st-qty { color: var(--red); }

/* ==================== 预定三步 ==================== */

.steps {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.step {
    flex: 1;
    padding: 12px 9px 11px;
    text-align: center;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 2px 0 var(--line-2);
}

.step-no {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, #CC451F, #A82C0F);
    color: #FFF0D0;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 2px 0 #8E2313;
}

.step-t {
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
}

.step-s {
    margin: 4px 0 0;
    font-size: 10.5px;
    line-height: 1.55;
    color: var(--muted);
}

/* ==================== 底部结算条 ==================== */

.bottombar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 520px;
    margin: 0 auto;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 3px solid var(--red);
    box-shadow: 0 -8px 22px rgba(140, 90, 50, .14);
}

.bar-info { flex: 1; min-width: 0; }

.bar-count {
    margin: 0;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .03em;
}

.bar-amount {
    margin: 1px 0 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--red);
    letter-spacing: .01em;
}

.btn-main {
    flex: none;
    height: 46px;
    padding: 0 26px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #D9481F, #B2330F);
    color: #FFF3DC;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .05em;
    box-shadow: 0 3px 0 #8A2410;
    transition: transform .12s, box-shadow .12s, opacity .2s;
}

.btn-main:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #8A2410;
}

.btn-main:disabled {
    background: #EADBC2;
    color: #A38C70;
    box-shadow: 0 3px 0 #DCC9A8;
    cursor: default;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    line-height: 42px;
    height: auto;
    padding: 0 16px;
}

.btn-ghost {
    display: block;
    width: 100%;
    padding: 0 16px;
    line-height: 42px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1.5px solid #C9531F;
    background: #FFF8EC;
    color: var(--red);
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 2px 0 #EECDBE;
}

/* ==================== 预定须知 ==================== */

.tips {
    margin-top: 26px;
    padding: 16px 15px;
    border-radius: 12px;
    border: 1.5px dashed #DDBE8E;
    background: var(--paper);
}

.tips h3 {
    margin: 0;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--red-d);
}

.tips ol {
    margin: 10px 0 0;
    padding-left: 16px;
}

.tips li {
    font-size: 12px;
    line-height: 1.85;
    color: var(--ink-2);
    margin-bottom: 5px;
    letter-spacing: .02em;
}

.tips li:last-child { margin-bottom: 0; }
.tips b { color: var(--red); font-weight: 700; }

.footer {
    margin-top: 26px;
    padding: 16px 0 4px;
    text-align: center;
    border-top: 1px dashed #E2C9A3;
}

.footer-slogan {
    margin: 0;
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 14px;
    letter-spacing: .16em;
    color: var(--red-d);
}

.footer-phone {
    display: inline-block;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px dotted #DB9E7C;
    padding-bottom: 1px;
}

.footer-copy {
    margin: 12px 0 0;
    font-size: 10.5px;
    color: #A8906E;
    letter-spacing: .05em;
}

/* ==================== 顶栏 ==================== */

.topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0 6px;
}

.topbar-back {
    position: absolute;
    left: 0;
    top: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid #DFC69E;
    background: var(--paper);
    color: var(--red-d);
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 2px 0 #EEDFC4;
}

.topbar-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--ink);
}

/* ==================== 面板 / 表单 ==================== */

.panel {
    margin-top: 13px;
    padding: 15px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 2px 0 var(--line-2);
}

.panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.panel-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--ink);
}

.panel-head h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 12px;
    margin-right: 7px;
    border-radius: 2px;
    background: var(--red);
    vertical-align: -1px;
}

.panel-note {
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: .02em;
}

.field { margin-bottom: 14px; }
.field:last-of-type { margin-bottom: 0; }

.field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-2);
    letter-spacing: .04em;
}

.input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border-radius: 10px;
    border: 1.5px solid #E2C9A3;
    background: #FFFDF8;
    color: var(--ink);
    font-size: 15px;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .18s, box-shadow .18s;
}

.input::placeholder { color: #B29A7C; }

.input:focus {
    outline: none;
    border-color: #C9531F;
    box-shadow: 0 0 0 3px rgba(190, 59, 28, .09);
}

.textarea {
    height: auto;
    min-height: 82px;
    padding: 11px 13px;
    line-height: 1.7;
    resize: vertical;
}

.field-inline {
    display: flex;
    gap: 9px;
}

.field-inline .input { flex: 1; }

.btn-small {
    flex: none;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #D9481F, #B2330F);
    color: #FFF3DC;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 3px 0 #8A2410;
}

.flow-tip {
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #FFF6E3;
    border: 1px dashed #E0C071;
}

.flow-tip p {
    margin: 0 0 3px;
    font-size: 11.5px;
    line-height: 1.7;
    color: #7A5B3E;
}

.flow-tip p:last-child { margin-bottom: 0; }
.flow-tip b { color: var(--red); font-weight: 700; letter-spacing: .05em; }

.err-box {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #FDEEE9;
    border: 1.5px solid #E9A593;
    color: #93260F;
    font-size: 12px;
    line-height: 1.7;
}

.checkout-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.8;
}

.summary-box { min-height: 38px; }

.summary-empty {
    margin: 0;
    padding: 10px 0;
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
}

.sum-list { display: flex; flex-direction: column; gap: 9px; }

.sum-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 13.5px;
    color: var(--ink);
}

.sum-name i {
    font-style: normal;
    font-size: 11.5px;
    color: var(--muted);
    margin-left: 3px;
}

.sum-price { color: var(--ink-2); font-weight: 600; }

.sum-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px dashed #E2C9A3;
    font-size: 12.5px;
    color: var(--muted);
}

.sum-total strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--red);
}

/* ==================== 状态条 ==================== */

.status-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
}

.status-strip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: none;
}

.status-strip.is-wait {
    background: #FFF4D6;
    border: 1.5px solid #E9C87A;
    color: #7A5416;
}

.status-strip.is-wait::before {
    background: #D98A18;
    animation: dot 2s ease-out infinite;
}

.status-strip.is-done {
    background: #EDF6EE;
    border: 1.5px solid #A9CDAF;
    color: #2F6540;
}

.status-strip.is-done::before { background: var(--green); }

.status-strip.is-cancel {
    background: #F3ECE1;
    border: 1.5px solid #DCC9AC;
    color: #8A7359;
}

.status-strip.is-cancel::before { background: #A38C70; }

/* ==================== 付款 ==================== */

.pay-hero {
    padding: 20px 0 6px;
    text-align: center;
}

.pay-label {
    margin: 0;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .16em;
}

.pay-amount {
    margin: 5px 0 0;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--red);
    letter-spacing: .01em;
}

.pay-amount em {
    font-style: normal;
    font-size: 17px;
    font-weight: 700;
    margin-right: 4px;
    opacity: .8;
}

.pay-timer {
    margin: 7px 0 0;
    font-size: 11.5px;
    color: var(--muted);
}

.pay-timer.is-urgent { color: #B33A1B; font-weight: 700; }

.qr-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.qr-tab {
    flex: 1;
    height: 38px;
    border-radius: 9px;
    border: 1.5px solid #E2C9A3;
    background: #FFFDF8;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .03em;
    transition: all .18s;
}

.qr-tab.is-on {
    border-color: #C9531F;
    background: #FFF1E3;
    color: var(--red);
    box-shadow: 0 2px 0 #EECDBE;
}

.qr-box {
    width: 216px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid var(--line);
    box-shadow: 0 8px 22px rgba(140, 90, 50, .14);
}

.qr-box img { display: block; width: 100%; border-radius: 5px; }

.qr-tips {
    margin: 11px 0 0;
    text-align: center;
    font-size: 11.5px;
    color: var(--muted);
}

.qr-tips b { color: var(--red); font-weight: 700; }

.qr-empty { text-align: center; }

.qr-empty p {
    margin: 4px 0 13px;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.8;
}

.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 18px;
    border: 1.5px dashed #D9BE93;
    border-radius: 11px;
    background: #FFF8EC;
    cursor: pointer;
}

.upload-box:active { border-color: #C9531F; }

.upload-icon {
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    color: var(--red);
}

.upload-text { font-size: 13px; font-weight: 600; color: var(--ink); }

.upload-sub { font-size: 10.5px; color: var(--muted); }

.upload-box.is-uploading .upload-text { color: var(--red); }

/* ==================== 预定号 ==================== */

.pick-card {
    position: relative;
    margin-top: 15px;
    padding: 24px 18px 20px;
    border-radius: 14px;
    text-align: center;
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(255, 205, 140, .35), rgba(255, 205, 140, 0) 64%),
        #FFF7E6;
    border: 2px solid var(--red);
    box-shadow: 0 4px 0 #E9B4A0, 0 12px 26px rgba(150, 80, 40, .16);
}

.pick-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1.5px dashed #E0B98C;
    border-radius: 9px;
    pointer-events: none;
}

.pick-kicker {
    position: relative;
    margin: 0;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--red-d);
}

.pick-no {
    position: relative;
    margin: 8px 0 0;
    font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .1em;
    text-indent: .1em;
    color: var(--red);
    text-shadow: 0 2px 0 rgba(142, 35, 19, .18);
}

.pick-hint {
    position: relative;
    margin: 10px 0 0;
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: .02em;
}

.btn-copy-no {
    position: relative;
    margin-top: 13px;
    height: 34px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1.5px solid #C9531F;
    background: #FFFDF8;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 2px 0 #EECDBE;
}

.pick-card.is-done { padding-bottom: 18px; }

/* ==================== 取餐信息 ==================== */

.info-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    border-bottom: 1px dashed #EAD7B6;
}

.info-row:last-child { border-bottom: 0; padding-bottom: 2px; }

.info-label {
    flex: none;
    width: 64px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .03em;
}

.info-value {
    flex: 1;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink);
    word-break: break-word;
    text-decoration: none;
}

.info-tel { color: var(--red); font-weight: 700; letter-spacing: .03em; }
.info-value.muted { color: var(--muted); }

.mini-btn {
    flex: none;
    padding: 5px 11px;
    border-radius: 8px;
    border: 1.5px solid #DFC69E;
    background: #FFFDF8;
    color: var(--ink-2);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 0 #EEDFC4;
}

.mini-btn:active { background: #FFF3E1; }

.pickup-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--ink-2);
    letter-spacing: .02em;
}

.pickup-panel .btn-main { margin-top: 14px; }

.remark-line {
    margin: 12px 0 0;
    padding: 9px 12px;
    border-radius: 9px;
    background: #FFF6E3;
    border: 1px dashed #E0C071;
    font-size: 12px;
    line-height: 1.7;
    color: #7A5B3E;
}

/* ==================== 等待确认 ==================== */

.wait-panel {
    padding: 26px 18px 20px;
    text-align: center;
}

.spinner {
    width: 30px;
    height: 30px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid #F0DCC0;
    border-top-color: var(--red);
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.wait-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
}

.wait-sub {
    margin: 7px 0 0;
    font-size: 12px;
    line-height: 1.85;
    color: var(--muted);
}

.wait-sub b { color: var(--red); }

.wait-tip {
    margin: 16px 0 8px;
    font-size: 11px;
    color: var(--muted);
}

/* ==================== 订单页脚 ==================== */

.order-foot {
    margin-top: 20px;
    text-align: center;
    padding-bottom: 6px;
}

.link-danger {
    border: 0;
    background: none;
    padding: 6px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-no {
    margin: 9px 0 0;
    font-size: 10.5px;
    color: #A8906E;
    letter-spacing: .03em;
}

/* ==================== 空状态 ==================== */

.empty-box {
    margin-top: 18px;
    padding: 30px 18px;
    text-align: center;
    border-radius: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 2px 0 var(--line-2);
}

.empty-t {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
}

.empty-s {
    margin: 7px 0 17px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
}

/* ==================== 订单列表 ==================== */

.order-list { display: flex; flex-direction: column; gap: 9px; }

.order-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 11px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 2px 0 var(--line-2);
    text-decoration: none;
}

.oi-main { flex: 1; min-width: 0; }

.oi-title {
    margin: 0;
    font-size: 13.5px;
    color: var(--ink);
}

.oi-title b {
    color: var(--red);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
}

.oi-sub {
    margin: 4px 0 0;
    font-size: 10.5px;
    color: var(--muted);
}

.oi-side {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.oi-price { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

.status-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid #DFC69E;
    color: var(--ink-2);
    background: #FFFDF8;
}

.status-pill.s-0 { border-color: #E9C87A; background: #FFF4D6; color: #7A5416; }
.status-pill.s-1 { border-color: #E0A98C; background: #FFF1E3; color: #A0300F; }
.status-pill.s-2 { border-color: #A9CDAF; background: #EDF6EE; color: #2F6540; }
.status-pill.s-3 { border-color: #DFC69E; background: #FBF4E6; color: #7A5B3E; }
.status-pill.s-4 { border-color: #DCC9AC; background: #F3ECE1; color: #8A7359; }

/* ==================== Toast ==================== */

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(100px + env(safe-area-inset-bottom));
    z-index: 60;
    max-width: 84%;
    padding: 10px 18px;
    border-radius: 999px;
    background: #FFFCF4;
    border: 1.5px solid #E2C9A3;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 10px 26px rgba(140, 90, 50, .22);
    transform: translate(-50%, 0);
    animation: toast-in .2s ease-out;
}

@keyframes toast-in {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ==================== 桌面适配 ==================== */

@media (min-width: 560px) {
    .sign { padding-top: 22px; }
    .sign-name, .shop-name { font-size: 33px; }
    .card { padding: 14px 15px; }
    .bottombar { border-radius: 14px 14px 0 0; }
}

/* ==================== v1.4 外卖店头 / 招牌 / 底部导航 ==================== */

.shop { padding: 14px 0 0; text-align: center; }

/* 店头状态卡 */
.shop-card {
    margin: 14px 0 0;
    padding: 11px 12px 12px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 2px 0 var(--line-2);
    text-align: left;
}

.shop-state {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 9px;
    border-bottom: 1px dashed rgba(160, 120, 70, .26);
}

.state-dot {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E5541F;
    box-shadow: 0 0 0 3px rgba(229, 84, 31, .14);
}

.state-txt {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--red);
}

.state-time {
    margin-left: auto;
    font-size: 11.5px;
    letter-spacing: .03em;
    color: #8E7355;
}

.shop-figs {
    display: flex;
    align-items: center;
    margin-top: 9px;
}

.fig {
    flex: 1;
    text-align: center;
    position: relative;
}

.fig + .fig::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background: rgba(160, 120, 70, .18);
}

.fig b {
    display: block;
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

.fig span {
    display: block;
    margin-top: 2px;
    font-size: 10.5px;
    letter-spacing: .04em;
    color: #9A8265;
}

/* 服务标签 */
.svc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    justify-content: center;
}

.svc-item {
    padding: 3px 9px;
    border-radius: 6px;
    background: #FFF6E6;
    border: 1px solid #EBD6B4;
    font-size: 10.5px;
    letter-spacing: .04em;
    color: #8A6B45;
}

/* 摊位地址条 */
.shop-addr {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, #FFFDF7, #FCF1DC);
    border: 1px solid #E7D2AE;
    text-align: left;
}

.addr-label {
    flex: none;
    font-size: 10px;
    letter-spacing: .1em;
    color: #FFF6E6;
    background: var(--red);
    padding: 2px 6px;
    border-radius: 4px;
}

.addr-main {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addr-btn {
    flex: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--red);
    text-decoration: none;
    padding: 3px 10px;
    border: 1.5px solid #DCB48C;
    border-radius: 999px;
    background: #FFFDF6;
}

/* 今晚招牌横滑 */
.hot { margin-top: 16px; }

.hot-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.hot-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--ink);
    padding-left: 9px;
    border-left: 3px solid var(--red);
}

.hot-note { font-size: 11px; letter-spacing: .04em; color: #9A8265; }

.hot-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.hot-scroll::-webkit-scrollbar { display: none; }

.hot-card {
    flex: none;
    width: 148px;
    scroll-snap-align: start;
    display: block;
    padding: 7px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 2px 0 var(--line-2);
}

.hot-photo {
    position: relative;
    width: 100%;
    height: 132px;
    border-radius: 9px;
    overflow: hidden;
    background: #F1E2C8;
}

.hot-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hot-photo .photo-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: "Songti SC", "STSong", serif;
    font-size: 30px;
    color: #C9AE84;
}

.hot-rank {
    position: absolute;
    left: 6px;
    top: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(124, 29, 8, .82);
    color: #FFE4B0;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .06em;
}

.hot-name {
    margin: 7px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-desc {
    margin: 2px 0 0;
    font-size: 10.5px;
    color: #9A8265;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-foot {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 5px;
}

.hot-left {
    margin-left: auto;
    font-size: 10.5px;
    color: #9A8265;
}

.hot-act {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
}

.hot-card .stepper { transform: scale(.92); transform-origin: right center; }

/* 底部导航 */
.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    background: #FFFDF8;
    border-top: 1px solid var(--line);
    box-shadow: 0 -3px 10px rgba(150, 105, 60, .08);
    padding-bottom: env(safe-area-inset-bottom);
}

.tab {
    flex: 1;
    position: relative;
    padding: 10px 0 12px;
    text-align: center;
    font-size: 12px;
    letter-spacing: .06em;
    color: #8E7355;
    text-decoration: none;
}

.tab.is-on { color: var(--red); font-weight: 700; }

.tab.is-on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 16px;
    height: 3px;
    margin-left: -8px;
    border-radius: 2px;
    background: var(--red);
}

/* 首页有 tabbar，结算条上移、页面多留一截 */
body.page-index .bottombar { bottom: calc(42px + env(safe-area-inset-bottom)); }
body.page-index .wrap { padding-bottom: calc(170px + env(safe-area-inset-bottom)); }

body.page-my .wrap { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
