/* ============================================================
   顾客下单端
   ============================================================ */
body.shop-body {
  background:
    radial-gradient(900px 420px at 8% -6%, #ffe9d2 0%, rgba(255,233,210,0) 60%),
    radial-gradient(800px 400px at 100% 0%, #fff3cf 0%, rgba(255,243,207,0) 55%),
    var(--cream);
  padding-bottom: 0;
}

/* ---------------- 顶部公告 ---------------- */
.announcement {
  background: var(--ink);
  color: #ffe9d4;
  font-size: 12.5px;
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.announcement .container { display: flex; align-items: center; gap: 10px; }
.announcement .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #ffb703;
  box-shadow: 0 0 0 0 rgba(255,183,3,.5); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,183,3,.45); } 70% { box-shadow: 0 0 0 6px rgba(255,183,3,0); } 100% { box-shadow: 0 0 0 0 rgba(255,183,3,0); } }
.announcement .marquee { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announcement .fee-tag {
  margin-left: auto; color: #ffcf9e; border: 1px solid rgba(255,207,158,.3);
  padding: 1px 8px; border-radius: 99px; font-size: 11px; white-space: nowrap;
}

/* ---------------- Header ---------------- */
.shop-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 250, 242, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(230, 213, 192, .55);
  transition: box-shadow .2s;
}
.shop-header.scrolled { box-shadow: 0 10px 30px rgba(74,45,21,.07); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(145deg, #ff8a4c, #ff5a36);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(255,90,54,.26), inset 0 -3px 0 rgba(0,0,0,.08);
  transform: rotate(-3deg);
}
.brand-text b { display: block; font-size: 17px; font-weight: 900; letter-spacing: -.4px; line-height: 1.15; }
.brand-text small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase; }
.header-search {
  flex: 1; max-width: 440px;
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 42px; padding: 0 6px 0 15px;
  transition: border-color .15s, box-shadow .15s;
}
.header-search:focus-within { border-color: #ffc7a8; box-shadow: 0 0 0 4px rgba(255,107,53,.08); }
.header-search svg { color: var(--muted); }
.header-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; padding: 0 10px; font-size: 13.5px; }
.header-search button {
  height: 32px; padding: 0 13px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.location-pill {
  display: inline-flex; align-items: center; gap: 5px;
  height: 38px; padding: 0 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  max-width: 150px;
}
.location-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.location-pill svg { color: var(--orange); }
.cart-btn { position: relative; }
.cart-btn.has-items { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 99px; background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
}
.header-orders { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.header-orders:hover { background: rgba(255,255,255,.8); }
.header-orders .badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); display: none; }

/* ---------------- Hero ---------------- */
.hero { padding: 44px 0 30px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 11.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.eyebrow .mini-emoji { width: 22px; height: 22px; border-radius: 50%; background: var(--amber-soft); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.hero h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.08;
  letter-spacing: -2.2px;
  font-weight: 900;
  margin: 18px 0 14px;
  color: var(--ink);
}
.hero h1 .accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute; left: 2%; right: 0; bottom: 2px; height: 12px;
  background: #ffd166; border-radius: 3px; z-index: -1; transform: rotate(-1deg);
  opacity: .85;
}
.hero-sub { font-size: 15px; color: var(--ink-2); max-width: 440px; line-height: 1.75; }
.hero-sub b { color: var(--ink); }
.hero-search {
  margin-top: 26px;
  display: flex; align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 7px 7px 7px 16px;
  border: 1px solid #f1e1cc;
  box-shadow: 0 18px 40px rgba(120, 73, 30, .1);
  max-width: 480px;
}
.hero-search svg { color: var(--orange); flex: none; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; height: 40px; font-size: 14px; background: transparent; }
.hero-search .btn { height: 40px; border-radius: 11px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-tags button {
  font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 999px;
  border: 1px dashed var(--line-2); background: rgba(255,255,255,.5);
  transition: all .15s;
}
.hero-tags button:hover { color: var(--orange-deep); border-color: #ffc4a6; background: #fff; }
.hero-stats { display: flex; gap: 26px; margin-top: 30px; }
.hero-stat b { font-family: var(--font-num); font-size: 23px; letter-spacing: -.5px; }
.hero-stat span { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.hero-stat .unit { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-left: 2px; }

.hero-art { position: relative; height: 400px; }
.hero-art .blob {
  position: absolute; inset: 8% 2% 6% 6%;
  background: radial-gradient(circle at 30% 25%, #ffdfae, #ffc9a4 55%, #ffb28c);
  border-radius: 58% 42% 46% 54% / 52% 46% 54% 48%;
  filter: blur(1px);
  animation: blob 12s ease-in-out infinite alternate;
}
@keyframes blob {
  0% { border-radius: 58% 42% 46% 54% / 52% 46% 54% 48%; transform: rotate(-2deg); }
  100% { border-radius: 45% 55% 57% 43% / 46% 56% 44% 54%; transform: rotate(2deg); }
}
.hero-art .ring { position: absolute; border: 1.5px dashed rgba(120,70,20,.22); border-radius: 50%; }
.hero-art .ring.r1 { inset: 2% 4% 2% 2%; animation: slowspin 40s linear infinite; }
.hero-art .ring.r2 { inset: 14% 14% 14% 14%; animation: slowspin 30s linear infinite reverse; }
@keyframes slowspin { to { transform: rotate(360deg); } }
.food-float {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.94);
  border: 1px solid #fff;
  padding: 9px 13px 9px 9px;
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(100,55,15,.16);
  animation: bob 5s ease-in-out infinite;
  z-index: 3;
}
.food-float .emoji-tile { width: 44px; height: 44px; font-size: 25px; }
.food-float b { display: block; font-size: 12.5px; line-height: 1.3; }
.food-float span { font-size: 10.5px; color: var(--muted); }
.food-float .mini-price { font-family: var(--font-num); color: var(--orange-deep); font-weight: 700; font-size: 12px; }
.food-float.f1 { top: 8%; left: 4%; animation-delay: -1s; }
.food-float.f2 { top: 30%; right: 0; animation-delay: -2.6s; }
.food-float.f3 { bottom: 22%; left: 0; animation-delay: -3.8s; }
.food-float.f4 { bottom: 2%; right: 8%; animation-delay: -1.8s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-10px) rotate(.6deg); } }
.hero-badge {
  position: absolute; z-index: 4; right: 6%; top: -2%;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--ink); color: #ffe4c8;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 9.5px; text-align: center; line-height: 1.35;
  transform: rotate(8deg);
  box-shadow: 0 16px 30px rgba(36,26,19,.24);
}
.hero-badge b { font-size: 20px; font-family: var(--font-num); color: #fff; line-height: 1.1; }
.hero-badge .small { font-size: 8px; letter-spacing: .5px; color: #ffcf9e; }

/* ---------------- Trust strip ---------------- */
.trust-strip { margin-top: 8px; }
.trust-strip .inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.trust-item { display: flex; align-items: center; gap: 11px; padding: 16px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .t-icon {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--orange-soft); color: var(--orange-deep);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.trust-item:nth-child(2) .t-icon { background: var(--green-soft); color: var(--green); }
.trust-item:nth-child(3) .t-icon { background: var(--blue-soft); color: var(--blue); }
.trust-item:nth-child(4) .t-icon { background: var(--amber-soft); color: #a06a00; }
.trust-item b { display: block; font-size: 12.5px; }
.trust-item span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 1px; }

/* ---------------- Sections ---------------- */
.section { padding: 46px 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-title { font-size: 24px; font-weight: 900; letter-spacing: -.8px; display: flex; align-items: center; gap: 10px; }
.section-title .title-emoji { font-size: 23px; transform: rotate(-6deg); }
.section-sub { color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.link-more { color: var(--orange-deep); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.link-more:hover { gap: 6px; }
.category-scroller { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.category-scroller::-webkit-scrollbar { display: none; }
.category-pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 16px; border-radius: 13px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap; flex: none;
  transition: all .17s;
}
.category-pill span { font-size: 16px; }
.category-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.category-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.category-pill .cat-count { font-size: 10px; color: var(--muted); font-weight: 500; }
.category-pill.active .cat-count { color: #b9a99a; }

/* ---------------- Hot products ---------------- */
.hot-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 13px; overflow-x: auto; padding: 2px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hot-rail::-webkit-scrollbar { display: none; }
.hot-card {
  scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 13px; display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; transition: transform .18s, box-shadow .18s;
  position: relative;
}
.hot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hot-card .emoji-tile { width: 100%; height: 92px; font-size: 46px; border-radius: 13px; }
.hot-card h4 { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-card .shop-name { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-card .hot-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.hot-card .price { font-family: var(--font-num); font-weight: 800; color: var(--orange-deep); font-size: 16px; }
.hot-card .price small { font-size: 10px; font-weight: 500; }
.hot-add {
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, background .15s;
}
.hot-add:hover { background: var(--orange); transform: scale(1.08); }
.hot-badge { position: absolute; top: 20px; left: 20px; z-index: 1; font-size: 9.5px; padding: 2px 7px; border-radius: 6px; background: rgba(36,26,19,.82); color: #ffe4c8; backdrop-filter: blur(4px); }

/* ---------------- Store grid ---------------- */
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-row .spacer { flex: 1; }
.sort-tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 3px; }
.sort-tabs button { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.sort-tabs button.active { background: var(--cream-2); color: var(--ink); font-weight: 700; }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.store-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
  position: relative;
}
.store-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px rgba(90,50,15,.12); border-color: #ecd7bf; }
.store-cover {
  height: 116px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 14px;
}
.store-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.5), transparent 45%), linear-gradient(180deg, transparent 30%, rgba(36,26,19,.16));
}
.store-cover .cover-emoji {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(7deg);
  font-size: 54px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.15)); z-index: 1;
}
.store-cover .cover-pattern { position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 14px 14px; }
.store-cover .open-state {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.92); color: var(--green);
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
}
.store-cover .open-state.closed { color: var(--muted); }
.store-cover .open-state i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.store-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.store-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.store-name { font-size: 16px; font-weight: 800; letter-spacing: -.3px; line-height: 1.25; }
.store-rating { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-num); font-size: 12px; font-weight: 700; color: #9a6400; flex: none; }
.store-rating svg { fill: #ffb703; stroke: none; }
.store-slogan { font-size: 11.5px; color: var(--muted); line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.store-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.store-tag { font-size: 9.5px; color: var(--ink-2); background: var(--cream); border-radius: 5px; padding: 2px 6px; }
.store-tag.promo { color: var(--orange-deep); background: var(--orange-soft); font-weight: 600; }
.store-meta { display: flex; align-items: center; gap: 10px; font-size: 10.5px; color: var(--muted); margin-top: auto; padding-top: 4px; }
.store-meta b { color: var(--ink-2); font-weight: 600; }
.store-meta .dot-sep { color: var(--line-2); }
.store-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 10px; }
.store-foot .delivery { font-size: 10.5px; color: var(--muted); }
.store-foot .delivery b { color: var(--green); }
.store-enter { font-size: 11px; font-weight: 700; color: var(--orange-deep); display: inline-flex; align-items: center; gap: 2px; }

/* ---------------- How it works ---------------- */
.how-card {
  background: var(--ink); color: #fff;
  border-radius: 28px; padding: 34px 34px 30px;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px;
}
.how-card::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.28), transparent 65%);
  right: -100px; top: -160px;
}
.how-card::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,183,3,.12), transparent 65%);
  left: -80px; bottom: -160px;
}
.how-left { position: relative; z-index: 1; }
.how-left h3 { font-size: 27px; font-weight: 900; letter-spacing: -1px; line-height: 1.2; }
.how-left h3 span { color: #ffb703; }
.how-left p { color: #c9b6a6; font-size: 13px; margin-top: 10px; line-height: 1.7; max-width: 360px; }
.fee-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 22px; padding: 13px 15px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  max-width: 420px;
}
.fee-note .fee-ico { color: #ffb703; flex: none; margin-top: 1px; }
.fee-note b { font-size: 12.5px; color: #fff; }
.fee-note p { font-size: 11px; color: #bba896; margin-top: 2px; line-height: 1.6; }
.fee-note .fee-amount { font-family: var(--font-num); color: #ffcf9e; font-weight: 800; }
.how-steps { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.how-step {
  display: flex; align-items: center; gap: 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px; padding: 13px 15px;
}
.how-step .step-num {
  width: 32px; height: 32px; border-radius: 10px; flex: none;
  background: #ffb703; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 800; font-size: 14px;
}
.how-step:nth-child(2) .step-num { background: #ff8a4c; }
.how-step:nth-child(3) .step-num { background: #5ee2b0; }
.how-step b { display: block; font-size: 13px; }
.how-step p { font-size: 10.5px; color: #bba896; margin-top: 2px; }

/* ---------------- Footer ---------------- */
.shop-footer { margin-top: 56px; border-top: 1px solid var(--line); background: #fffaf3; padding: 38px 0 100px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 10px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.footer-col a, .footer-col span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 7px; }
.footer-col a:hover { color: var(--orange-deep); }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; color: var(--muted-2); font-size: 10.5px; flex-wrap: wrap; }

/* ---------------- Floating cart ---------------- */
.cart-bar {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 120px);
  z-index: 300;
  width: min(680px, calc(100% - 28px));
  background: var(--ink); color: #fff;
  border-radius: 18px;
  padding: 10px 10px 10px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 22px 50px rgba(36,26,19,.32);
  transition: transform .3s cubic-bezier(.2,.8,.25,1);
  cursor: pointer;
}
.cart-bar.show { transform: translate(-50%, 0); }
.cart-bar .cart-emoji { font-size: 25px; }
.cart-bar .cart-info { flex: 1; min-width: 0; }
.cart-bar .cart-total { font-family: var(--font-num); font-size: 20px; font-weight: 800; letter-spacing: -.4px; line-height: 1.2; }
.cart-bar .cart-total small { font-family: var(--font); font-size: 10px; font-weight: 400; color: #bba896; margin-left: 6px; }
.cart-bar .cart-items-preview { font-size: 10px; color: #bba896; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.cart-bar .btn { height: 44px; border-radius: 12px; background: var(--orange); color: #fff; padding: 0 22px; font-size: 14px; font-weight: 700; }
.cart-bar .btn:hover { background: var(--orange-deep); }

/* ---------------- Mobile nav ---------------- */
.mobile-nav { display: none; }

/* ---------------- Store modal ---------------- */
.store-modal { padding: 0; background: #fffdf9; position: relative; }
.store-modal > .close-store {
  position: absolute; top: 14px; right: 14px; z-index: 12;
  background: rgba(255,255,255,.92); color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.store-modal > .close-store:hover { background: #fff; }
.store-hero {
  position: relative; padding: 24px 28px 22px; overflow: hidden; flex: none;
  color: #fff;
}
.store-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,26,19,.12), rgba(36,26,19,.55)); }
.store-hero .close-store { position: absolute; top: 14px; right: 14px; z-index: 4; background: rgba(255,255,255,.22); color: #fff; }
.store-hero .close-store:hover { background: rgba(255,255,255,.35); }
.store-hero .hero-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.store-hero .shop-logo {
  width: 66px; height: 66px; border-radius: 18px; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center; font-size: 36px;
  box-shadow: 0 12px 24px rgba(0,0,0,.16); flex: none;
}
.store-hero h2 { font-size: 23px; font-weight: 900; letter-spacing: -.5px; line-height: 1.2; }
.store-hero .shop-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 11px; color: rgba(255,255,255,.86); margin-top: 5px; }
.store-hero .shop-meta .rating-bubble { background: #fff; color: #9a6400; border-radius: 6px; padding: 1px 6px; display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-family: var(--font-num); }
.store-hero .shop-meta .rating-bubble svg { fill: #ffb703; stroke: none; }
.store-hero .hero-notice { position: relative; z-index: 2; margin-top: 14px; font-size: 11px; color: rgba(255,255,255,.92); background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.store-tabs {
  display: flex; gap: 2px; padding: 0 22px; border-bottom: 1px solid var(--line);
  background: #fffdf9; flex: none;
}
.store-tabs button { height: 46px; padding: 0 14px; font-size: 13px; color: var(--muted); font-weight: 500; position: relative; }
.store-tabs button.active { color: var(--ink); font-weight: 700; }
.store-tabs button.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2.5px; background: var(--orange); border-radius: 2px; }
.store-scroll { flex: 1; overflow-y: auto; display: flex; min-height: 0; }
.store-main { flex: 1; min-width: 0; padding: 18px 22px 24px; }
.store-side { width: 290px; border-left: 1px solid var(--line); background: #fffaf3; display: flex; flex-direction: column; flex: none; }
.coupon-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.coupon-strip::-webkit-scrollbar { display: none; }
.coupon-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px dashed #ffb28c; background: #fff5ee; color: var(--orange-deep);
  border-radius: 9px; padding: 6px 9px; font-size: 10.5px; white-space: nowrap; flex: none;
}
.coupon-pill b { font-family: var(--font-num); font-size: 13px; }
.coupon-pill button { font-size: 9.5px; background: var(--orange); color: #fff; border-radius: 5px; padding: 2px 6px; font-weight: 600; }
.coupon-pill.claimed { border-style: solid; border-color: #bfe6d5; background: var(--green-soft); color: var(--green); }
.coupon-pill.claimed button { background: transparent; color: var(--green); padding: 0; }
.menu-cats { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; position: sticky; top: 0; background: #fffdf9; z-index: 2; padding-top: 2px; }
.menu-cats::-webkit-scrollbar { display: none; }
.menu-cats button {
  height: 30px; padding: 0 11px; border-radius: 8px; font-size: 11.5px; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); white-space: nowrap;
}
.menu-cats button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-group { margin-bottom: 20px; }
.menu-group h4 { font-size: 14px; font-weight: 800; margin: 4px 0 8px; display: flex; align-items: center; gap: 6px; }
.menu-group h4 span { font-size: 10px; font-weight: 400; color: var(--muted); }
.menu-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f7eee3; }
.menu-item:last-child { border-bottom: 0; }
.menu-item .menu-info { flex: 1; min-width: 0; }
.menu-item h5 { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.menu-item h5 .pin { font-size: 8.5px; color: var(--orange-deep); background: var(--orange-soft); padding: 1px 5px; border-radius: 4px; font-weight: 600; }
.menu-item .menu-desc { font-size: 10.5px; color: var(--muted); margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; }
.menu-item .menu-sold { font-size: 9.5px; color: var(--muted-2); margin-top: 5px; }
.menu-item .menu-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.menu-item .price { font-family: var(--font-num); font-size: 16px; font-weight: 800; color: var(--orange-deep); }
.menu-item .price del { font-size: 10px; color: var(--muted-2); font-weight: 400; margin-left: 4px; }
.stepper { display: inline-flex; align-items: center; gap: 0; }
.stepper button { width: 27px; height: 27px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.stepper .minus { background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); }
.stepper .plus { background: var(--ink); color: #fff; }
.stepper .plus:hover { background: var(--orange); }
.stepper .qty { min-width: 26px; text-align: center; font-family: var(--font-num); font-weight: 700; font-size: 13px; }
.menu-item .sold-out { font-size: 10px; color: var(--muted); background: #f3ede5; border-radius: 6px; padding: 4px 8px; }

.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-item { border-bottom: 1px dashed var(--line); padding-bottom: 14px; }
.review-item:last-child { border-bottom: 0; }
.review-top { display: flex; align-items: center; gap: 8px; }
.review-top .avatar { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }
.review-top b { font-size: 12px; }
.review-top .review-time { margin-left: auto; font-size: 10px; color: var(--muted-2); }
.review-text { font-size: 12.5px; color: var(--ink-2); margin-top: 7px; line-height: 1.65; }
.review-reply { margin-top: 8px; background: #fff7ee; border-radius: 9px; padding: 8px 10px; font-size: 11px; color: var(--ink-2); }
.review-reply b { color: var(--orange-deep); margin-right: 4px; }
.rating-summary { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.rating-summary .big { font-family: var(--font-num); font-size: 38px; font-weight: 800; line-height: 1; color: #9a6400; }
.rating-summary .sub { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* store side cart */
.side-head { padding: 15px 16px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.side-head h4 { font-size: 13.5px; font-weight: 800; }
.side-head .clear { font-size: 10px; color: var(--muted); }
.side-body { flex: 1; overflow-y: auto; padding: 8px 16px; }
.side-empty { text-align: center; padding: 34px 10px; color: var(--muted-2); font-size: 11px; }
.side-empty .e { font-size: 30px; margin-bottom: 6px; }
.side-item { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px dashed #f2e5d5; }
.side-item:last-child { border-bottom: 0; }
.side-item .side-info { flex: 1; min-width: 0; }
.side-item b { display: block; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item .side-price { font-size: 10px; color: var(--muted); font-family: var(--font-num); }
.side-item .stepper button { width: 22px; height: 22px; border-radius: 6px; }
.side-item .stepper .qty { min-width: 20px; font-size: 11px; }
.side-foot { padding: 13px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
.side-total { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 10px; }
.side-total span { font-size: 11px; color: var(--muted); }
.side-total b { font-family: var(--font-num); font-size: 22px; color: var(--orange-deep); line-height: 1; }
.side-foot .btn { width: 100%; height: 42px; }
.side-foot .min-note { text-align: center; font-size: 9.5px; color: var(--muted); margin-top: 7px; }

/* mobile store cart bar inside modal */
.store-mobile-cart {
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
  align-items: center; gap: 10px; flex: none;
}
.store-mobile-cart .info { flex: 1; }
.store-mobile-cart .info b { font-family: var(--font-num); font-size: 19px; color: var(--orange-deep); }
.store-mobile-cart .info span { display: block; font-size: 9.5px; color: var(--muted); }
.store-mobile-cart .btn { height: 42px; }

/* ---------------- Cart drawer ---------------- */
.drawer-card { width: min(470px, 100%); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.drawer-body { padding: 16px 20px; overflow-y: auto; }
.drawer-foot { padding: 15px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffdfa; }
.cart-line { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #f7eee3; }
.cart-line:last-child { border-bottom: 0; }
.cart-line .c-info { flex: 1; min-width: 0; }
.cart-line .c-info b { display: block; font-size: 13px; font-weight: 600; }
.cart-line .c-info span { font-size: 10.5px; color: var(--muted); font-family: var(--font-num); }
.cart-line .c-sub { font-family: var(--font-num); font-size: 13px; font-weight: 700; }
.cart-summary { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.cart-summary .row.total { font-size: 14px; color: var(--ink); font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--line); }
.cart-summary .row.total b { font-family: var(--font-num); font-size: 22px; color: var(--orange-deep); }
.cart-summary .row .free { color: var(--green); font-weight: 600; }
.cart-tip { display: flex; align-items: center; gap: 7px; background: #fff7e8; border: 1px solid #ffe6b8; color: #8a6000; border-radius: 9px; padding: 8px 10px; font-size: 10.5px; margin-bottom: 12px; }

/* ---------------- Checkout ---------------- */
.checkout-modal { width: min(760px, 100%); }
.checkout-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; }
.checkout-section { margin-bottom: 19px; }
.checkout-section > h4 { font-size: 12.5px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.checkout-section > h4 .step-dot { width: 18px; height: 18px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--font-num); }
.addr-grid { display: grid; grid-template-columns: 1.05fr .8fr 1fr; gap: 8px; }
.addr-grid .field { gap: 5px; }
.addr-grid .input, .addr-grid .select { height: 40px; font-size: 12.5px; padding: 0 10px; border-radius: 9px; }
.co-field { display: flex; flex-direction: column; gap: 5px; }
.co-field label { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.quick-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.quick-tag { font-size: 10px; padding: 3px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.quick-tag:hover { border-color: #ffc4a6; color: var(--orange-deep); }
.saved-addresses { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.saved-addresses::-webkit-scrollbar { display: none; }
.saved-addr { font-size: 10px; padding: 4px 8px; border-radius: 6px; background: #fff5ec; color: var(--orange-deep); border: 1px solid #ffe0cd; white-space: nowrap; }
.pay-options { display: flex; flex-direction: column; gap: 8px; }
.pay-option {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 12px;
  cursor: pointer; transition: all .15s;
}
.pay-option.active { border-color: var(--orange); background: #fff9f4; }
.pay-option .pay-ico { width: 32px; height: 32px; border-radius: 9px; background: #e8f8ee; color: #07c160; display: flex; align-items: center; justify-content: center; }
.pay-option b { font-size: 12.5px; display: block; }
.pay-option span { font-size: 9.5px; color: var(--muted); }
.pay-option .radio { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; }
.pay-option.active .radio { border-color: var(--orange); background: var(--orange); }
.pay-option.active .radio::after { content: ""; position: absolute; top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.checkout-aside { background: #fffaf3; border: 1px solid var(--line); border-radius: 16px; padding: 16px; height: fit-content; position: sticky; top: 0; }
.checkout-aside h5 { font-size: 12.5px; font-weight: 800; margin-bottom: 10px; }
.checkout-line { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 7px; gap: 8px; }
.checkout-line .lname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-line b { font-family: var(--font-num); font-weight: 600; color: var(--ink-2); flex: none; }
.checkout-total { border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 10px; display: flex; justify-content: space-between; align-items: flex-end; }
.checkout-total span { font-size: 11px; color: var(--muted); }
.checkout-total b { font-family: var(--font-num); font-size: 25px; color: var(--orange-deep); line-height: 1; }
.checkout-total b small { font-size: 10px; font-family: var(--font); color: var(--muted); font-weight: 400; }
.fee-callout { margin-top: 10px; background: #fff; border: 1px dashed #ffd0b5; border-radius: 9px; padding: 8px 9px; font-size: 9.5px; color: #a05a2a; line-height: 1.55; display: flex; gap: 6px; }
.fee-callout svg { flex: none; margin-top: 1px; }
.coupon-select { display: flex; flex-direction: column; gap: 6px; }
.coupon-option {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 11px;
}
.coupon-option.active { border-color: var(--orange); background: #fff8f2; }
.coupon-option b { color: var(--orange-deep); font-family: var(--font-num); font-size: 13px; }
.coupon-option .c-title { color: var(--ink-2); }
.coupon-option .c-min { margin-left: auto; font-size: 9px; color: var(--muted); }
.coupon-empty { font-size: 10px; color: var(--muted); padding: 6px 0; }
.points-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; background: #fff8ee; border: 1px solid #ffe6cc; border-radius: 9px; }
.points-row .p-info b { font-size: 11px; display: block; }
.points-row .p-info span { font-size: 9.5px; color: var(--muted); }
.points-row .switch .track { width: 36px; height: 21px; }
.points-row .switch .track::after { width: 15px; height: 15px; }
.points-row .switch input:checked + .track::after { transform: translateX(15px); }

/* ---------------- Payment ---------------- */
.pay-modal { width: min(460px, 100%); }
.pay-head { padding: 26px 24px 6px; text-align: center; }
.pay-head .pay-amount { font-family: var(--font-num); font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.pay-head .pay-amount small { font-size: 16px; margin-right: 2px; }
.pay-head h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.pay-head p { font-size: 11px; color: var(--muted); }
.qr-box { width: 220px; height: 220px; margin: 16px auto; border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 14px; position: relative; }
.qr-box svg { width: 100%; height: 100%; }
.qr-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; font-size: 18px; border: 3px solid #fff; }
.qr-expired { position: absolute; inset: 0; border-radius: 18px; background: rgba(255,255,255,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.qr-expired b { font-size: 13px; }
.qr-expired span { font-size: 10px; color: var(--muted); }
.pay-timer { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.pay-timer b { font-family: var(--font-num); color: var(--orange-deep); font-size: 13px; }
.pay-notice { margin: 0 22px 12px; background: #fff8ea; border: 1px solid #ffe8bd; border-radius: 10px; padding: 9px 11px; font-size: 10px; color: #8f6500; display: flex; gap: 6px; line-height: 1.55; }
.pay-actions { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.pay-brandline { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 9.5px; color: var(--muted-2); margin-top: 10px; }
.pay-success { text-align: center; padding: 30px 24px 26px; }
.success-ring { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; animation: pop .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.pay-success h3 { font-size: 21px; font-weight: 900; }
.pay-success p { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.success-amount { font-family: var(--font-num); font-size: 32px; font-weight: 800; margin: 12px 0 4px; }
.success-order-no { font-size: 10px; color: var(--muted); background: var(--cream); display: inline-flex; padding: 4px 9px; border-radius: 6px; }
.success-actions { display: flex; gap: 9px; margin-top: 20px; }
.success-actions .btn { flex: 1; }
.confetti { position: absolute; width: 7px; height: 7px; border-radius: 2px; animation: confetti 1.4s ease-out forwards; }
@keyframes confetti { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(80px) rotate(320deg); opacity: 0; } }

/* ---------------- Orders drawer ---------------- */
.orders-drawer { width: min(560px, 100%); }
.order-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.order-tabs button { height: 42px; padding: 0 11px; font-size: 12px; color: var(--muted); white-space: nowrap; position: relative; }
.order-tabs button.active { color: var(--ink); font-weight: 700; }
.order-tabs button.active::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--orange); border-radius: 2px; }
.order-card { border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; margin-bottom: 11px; background: #fff; }
.order-card-top { display: flex; align-items: center; gap: 8px; }
.order-card-top .o-shop { font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.order-card-top .o-no { margin-left: auto; font-size: 9.5px; color: var(--muted-2); font-family: var(--font-num); }
.order-items-preview { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.order-items-preview .o-emojis { display: flex; gap: 4px; }
.order-items-preview .emoji-tile { width: 32px; height: 32px; font-size: 18px; border-radius: 8px; }
.order-items-preview .o-text { font-size: 10.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-items-preview .o-amount { margin-left: auto; font-family: var(--font-num); font-size: 15px; font-weight: 800; flex: none; }
.order-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 9px; }
.order-card-foot .o-time { font-size: 9.5px; color: var(--muted); }
.order-card-actions { display: flex; gap: 6px; }
.order-card-actions .btn { height: 28px; padding: 0 9px; font-size: 10.5px; border-radius: 7px; }
.order-detail-head { padding: 26px 24px 18px; background: linear-gradient(180deg,#fff7ea,#fffdf9); border-bottom: 1px solid var(--line); }
.order-detail-head .status-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.order-detail-head h3 { font-size: 21px; font-weight: 900; }
.order-detail-head p { font-size: 11px; color: var(--muted); margin-top: 4px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 10px; position: relative; padding-bottom: 15px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 1px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-item .t-dot { width: 11px; height: 11px; border-radius: 50%; background: #e8dacb; flex: none; margin-top: 4px; position: relative; z-index: 1; }
.timeline-item:first-child .t-dot { background: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.timeline-item b { display: block; font-size: 11.5px; font-weight: 600; }
.timeline-item span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.info-cell { background: #fffaf3; border-radius: 9px; padding: 9px 10px; }
.info-cell label { font-size: 9px; color: var(--muted); display: block; }
.info-cell b { font-size: 11px; font-weight: 600; display: block; margin-top: 1px; word-break: break-all; }
.order-item-line { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 11.5px; }
.order-item-line .qty { color: var(--muted); font-size: 10px; }
.order-item-line .line-price { margin-left: auto; font-family: var(--font-num); }
.summary-rows { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 9px; }
.summary-rows .row { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-bottom: 5px; }
.summary-rows .row b { font-family: var(--font-num); color: var(--ink-2); }
.summary-rows .row.grand { font-size: 13px; color: var(--ink); font-weight: 700; margin-top: 7px; }
.summary-rows .row.grand b { color: var(--orange-deep); font-size: 18px; }

/* Review form */
.review-stars { display: flex; gap: 6px; justify-content: center; margin: 8px 0 16px; }
.review-stars button { color: #e8dccd; transition: transform .12s; }
.review-stars button.on { color: #ffb703; }
.review-stars button:hover { transform: scale(1.12); }
.review-stars svg { fill: currentColor; stroke: none; }

/* ---------------- Empty / no results ---------------- */
.no-results { grid-column: 1 / -1; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 16px; }
  .hero-art { height: 320px; max-width: 520px; margin: 0 auto; width: 100%; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .store-side { display: none; }
  .store-mobile-cart { display: flex; }
  .how-card { grid-template-columns: 1fr; }
  .trust-strip .inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .header-search { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 62px; }
  body.shop-body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .hero-art { display: none; }
  .announcement { height: 30px; font-size: 10.5px; }
  .announcement .fee-tag { display: none; }
  .header-inner { gap: 10px; }
  .brand-mark { width: 37px; height: 37px; font-size: 20px; border-radius: 11px; }
  .brand-text b { font-size: 15px; }
  .brand-text small { font-size: 8px; letter-spacing: 1px; }
  .header-actions { gap: 6px; }
  .location-pill { height: 34px; padding: 0 9px; font-size: 11px; max-width: 112px; }
  .header-orders { display: none; }
  .icon-btn { width: 36px; height: 36px; border-radius: 11px; }
  .hero { padding: 26px 0 8px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.6px; margin: 14px 0 10px; }
  .hero-sub { font-size: 13px; }
  .hero-search { margin-top: 18px; padding: 5px 5px 5px 13px; }
  .hero-search input { height: 38px; font-size: 13px; }
  .hero-search .btn { padding: 0 14px; }
  .hero-tags { gap: 6px; }
  .hero-tags button { font-size: 10.5px; }
  .hero-stats { gap: 20px; margin-top: 22px; }
  .hero-stat b { font-size: 19px; }
  .hero-art { height: 260px; margin-top: 4px; }
  .food-float { padding: 7px 10px 7px 7px; border-radius: 12px; }
  .food-float .emoji-tile { width: 34px; height: 34px; font-size: 20px; }
  .food-float b { font-size: 10.5px; }
  .food-float span { font-size: 8.5px; }
  .hero-badge { width: 68px; height: 68px; font-size: 8px; right: 2%; }
  .hero-badge b { font-size: 16px; }
  .trust-strip { margin-top: 12px; }
  .trust-item { padding: 11px 13px; gap: 8px; }
  .trust-item .t-icon { width: 29px; height: 29px; border-radius: 8px; }
  .trust-item b { font-size: 11px; }
  .trust-item span { font-size: 9px; }
  .section { padding: 32px 0 0; }
  .section-title { font-size: 20px; }
  .section-sub { font-size: 11px; }
  .hot-rail { grid-auto-columns: 158px; gap: 10px; }
  .hot-card .emoji-tile { height: 76px; font-size: 38px; }
  .hot-card h4 { font-size: 12px; }
  .store-grid { grid-template-columns: 1fr; gap: 12px; }
  .store-cover { height: 100px; }
  .store-cover .cover-emoji { font-size: 46px; }
  .store-name { font-size: 15px; }
  .filter-row { gap: 6px; }
  .sort-tabs button { padding: 0 9px; font-size: 11px; }
  .store-modal { height: 94vh; }
  .store-hero { padding: 18px 18px 16px; }
  .store-hero h2 { font-size: 20px; }
  .store-hero .shop-logo { width: 54px; height: 54px; font-size: 30px; border-radius: 14px; }
  .store-tabs { padding: 0 12px; }
  .store-tabs button { height: 42px; font-size: 12px; padding: 0 11px; }
  .store-main { padding: 12px 15px 20px; }
  .menu-item { gap: 10px; padding: 10px 0; }
  .menu-item .emoji-tile { width: 48px; height: 48px; font-size: 26px; border-radius: 11px; }
  .menu-item .menu-desc { -webkit-line-clamp: 1; }
  .how-card { padding: 24px 20px; border-radius: 22px; }
  .how-left h3 { font-size: 22px; }
  .shop-footer { padding: 28px 0 20px; margin-top: 36px; }
  .footer-links { gap: 28px; }
  .footer-inner { gap: 20px; }
  .mobile-nav {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
    background: rgba(255,253,249,.95);
    border-top: 1px solid var(--line);
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    backdrop-filter: blur(16px);
  }
  .mobile-nav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; color: var(--muted); padding: 3px 0; position: relative; }
  .mobile-nav button.active { color: var(--orange-deep); font-weight: 700; }
  .mobile-nav .nav-cart-count { position: absolute; top: -2px; right: 50%; margin-right: -20px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 99px; background: var(--orange); color: #fff; font-size: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
  .cart-bar { bottom: calc(72px + env(safe-area-inset-bottom)); width: calc(100% - 20px); padding: 8px 8px 8px 14px; border-radius: 15px; }
  .cart-bar .cart-total { font-size: 18px; }
  .cart-bar .btn { height: 40px; padding: 0 16px; font-size: 12.5px; }
  .cart-bar .cart-emoji { font-size: 21px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 0; }
  .checkout-aside { position: static; order: -1; margin-bottom: 16px; }
  .addr-grid { grid-template-columns: 1fr 1fr; }
  .addr-grid .field:last-child { grid-column: 1 / -1; }
  .drawer-card, .orders-drawer { height: 92vh; display: flex; flex-direction: column; }
  .orders-drawer .drawer-body { flex: 1; }
  .qr-box { width: 196px; height: 196px; }
  .pay-head .pay-amount { font-size: 32px; }
  .order-detail-head { padding: 20px 18px 14px; }
  .info-grid { grid-template-columns: 1fr; }
  .order-card-actions .btn { height: 27px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
}
