:root {
  --orange: #e8593a;
  --orange-d: #c9452a;
  --yellow: #f7b733;
  --tan: #e3b078;
  --cream: #fff8f0;
  --card: #ffffff;
  --ink: #33261f;
  --muted: #7a6a60;
  --line: #f0e2d2;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "Noto Sans HK", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  padding-bottom: 96px;
}
a { color: var(--orange-d); }
img { max-width: 100%; height: auto; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255, 248, 240, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; }
.top nav { display: flex; gap: 14px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--orange-d); }

main, footer { max-width: 960px; margin: 0 auto; padding: 0 16px; }

.hero { display: grid; gap: 24px; align-items: center; padding: 32px 0 16px; }
.hero-logo { width: 100%; max-width: 300px; height: auto; justify-self: center; order: -1; mix-blend-mode: multiply; }
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; display: block; }
.card-img { display: block; width: 100%; height: auto; border-radius: 12px; margin: 0 0 12px; }
.credit { font-size: 11px; color: var(--muted); margin: -8px 0 12px; }
.eyebrow { color: var(--orange-d); font-weight: 600; margin: 0; letter-spacing: .05em; }
h1 { font-size: 30px; line-height: 1.3; margin: 4px 0 12px; }
h2 { font-size: 22px; margin: 0 0 12px; }
.lead { color: var(--muted); margin: 0 0 16px; }
.cutoff {
  display: inline-block; padding: 8px 14px; margin-bottom: 16px;
  background: #fff1cf; border: 1px solid var(--yellow); border-radius: 999px; font-weight: 600;
}
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; font-size: 16px; font-weight: 600;
  min-height: 44px;
}
.btn:hover { background: var(--orange-d); }
.btn.small { padding: 8px 16px; font-size: 15px; min-height: 40px; }
.btn.ghost { background: transparent; color: var(--orange-d); border: 1.5px solid var(--orange); }
.btn.ghost:hover { background: #fff1ec; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.block { padding: 28px 0; }
.note { color: var(--muted); font-size: 14px; margin: 0 0 12px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: s; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px 14px 56px; display: grid;
}
.steps li::before {
  content: counter(s); position: absolute; left: 14px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-weight: 700; text-align: center; line-height: 30px;
}
.steps span { color: var(--muted); font-size: 15px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tab {
  border: 1.5px solid var(--tan); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 6px 14px; font-size: 14px; cursor: pointer; min-height: 36px;
}
.tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }

.list { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.chip { display: inline-block; font-size: 12px; background: #fdebd6; color: var(--orange-d); border-radius: 999px; padding: 1px 10px; }
.card h3 { margin: 4px 0 2px; font-size: 18px; line-height: 1.4; }
.meta { color: var(--muted); font-size: 13px; margin: 0; }
.price { text-align: right; white-space: nowrap; }
.price b { font-size: 24px; color: var(--orange-d); }
.tiers { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tiers li { background: #fff1cf; border-radius: 8px; padding: 2px 10px; font-size: 13px; }

.flavors { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flavor { border-bottom: 1px solid var(--line); padding: 10px 0; }
.frow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fname { font-weight: 600; font-size: 15px; }
.stepper { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.stepper button {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--orange);
  background: #fff; color: var(--orange-d); font-size: 20px; line-height: 1; cursor: pointer;
}
.stepper button:hover { background: #fff1ec; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; }
.flavor details { margin-top: 4px; }
.flavor summary { cursor: pointer; font-size: 13px; color: var(--orange-d); }
.info { font-size: 14px; color: var(--ink); padding: 6px 0 0; }
.info p { margin: 4px 0; }
.info .warn { background: #fff4e5; border-left: 3px solid var(--yellow); padding: 6px 10px; border-radius: 6px; }
.info ul { margin: 4px 0; padding-left: 20px; }
.nut { border-collapse: collapse; width: 100%; max-width: 360px; font-size: 13px; margin: 4px 0; }
.nut th, .nut td { text-align: left; padding: 2px 8px 2px 0; border-bottom: 1px dashed var(--line); font-weight: 400; }
.nut td { text-align: right; }
.pending { color: var(--muted); font-style: italic; }
.status { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

.care ul { padding-left: 20px; margin: 0; }
.care li { margin-bottom: 6px; }

#faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
#faq summary { cursor: pointer; font-weight: 600; }
#faq p { margin: 8px 0 0; color: var(--muted); }

footer { color: var(--muted); font-size: 13px; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid var(--line); }

.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 2px solid var(--yellow); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
}
.cartbar[hidden], .cart-panel[hidden] { display: none; }
.cart-info { flex: 1; display: grid; line-height: 1.3; }
.cart-info span { color: var(--orange-d); font-weight: 700; font-size: 18px; }
.cart-panel { flex-basis: 100%; max-height: 45vh; overflow: auto; border-top: 1px solid var(--line); padding-top: 8px; }
.cart-panel ul { list-style: none; padding: 0; margin: 0 0 8px; font-size: 14px; }
.cart-panel li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.cart-panel label { display: grid; gap: 2px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.cart-panel input { font: inherit; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); }

@media (min-width: 720px) {
  .hero { grid-template-columns: 1.4fr 1fr; padding-top: 56px; }
  .hero-logo { max-width: 460px; order: 0; }
  h1 { font-size: 40px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 52px 14px 14px; }
  .steps li::before { left: 14px; top: 14px; }
  .list { grid-template-columns: repeat(2, 1fr); align-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.fprice { color: var(--orange-d); font-weight: 700; font-size: 14px; }
.cart-info small { color: var(--muted); font-size: 12px; }
.terms ul { padding-left: 20px; margin: 0; font-size: 14px; color: var(--muted); }
.terms li { margin-bottom: 6px; }
.card-img[style] { margin-left: auto; margin-right: auto; }
