/* ===== EatFuti base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --text: #343330;
  --muted: #9ca3af;
  --muted2: #6b7280;
  --border: #e4e4e7;
  --star: #f5bb2c;
  --orange: #f68633;
  --beige1: #fff0cc;
  --beige2: #ffd878;
}
html, body { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input:focus { outline: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.12);
}
.header-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
}
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; }
.menu-btn:hover { border: 1px solid #eee; }
.brand img { width: 118px; height: auto; }
.loc { display: none; align-items: center; gap: 5px; font-size: 14px; color: var(--text); white-space: nowrap; }
.loc-text { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.search {
  position: relative; width: 100%;
  display: flex; align-items: center;
}
.search svg { position: absolute; left: 11px; }
.search input {
  width: 100%; height: 36px; padding-left: 34px; border: 1px solid var(--border);
  border-radius: 999px; font-size: 14px; color: var(--text); background: #fff;
}
.search input::placeholder { color: var(--muted); }
.header-row .search { display: none; flex: 1; }
.login-btn {
  margin-left: auto; padding: 8px 22px; border-radius: 8px;
  background: #ffd400; color: #000; font-weight: 700; font-size: 13px;
}
.mobile-search { padding-bottom: 10px; }

/* ===== Sidebar ===== */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 256px; background: #fff;
  z-index: 50; box-shadow: 2px 0 20px rgba(0,0,0,.1);
  transform: translateX(-105%); transition: transform .28s ease;
  overflow-y: auto;
}
.sidebar.open { transform: translateX(0); }
.side-inner { padding: 24px 20px; display: flex; flex-direction: column; gap: 4px; }
.side-brand { margin-bottom: 14px; }
.side-brand img { width: 128px; }
.side-link {
  display: flex; align-items: center; gap: 8px; height: 40px;
  font-size: 13px; color: var(--text); border-radius: 8px; padding: 0 8px;
}
.side-link:hover { color: #ea580c; text-decoration: underline; }
.side-login { margin-top: 12px; background: #ffd400; color: #000; font-weight: 700; border-radius: 8px; padding: 10px 0; font-size: 13px; }

/* ===== Shortcuts ===== */
.body-wrap { margin-top: 18px; display: flex; flex-direction: column; gap: 26px; }
.shortcuts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shortcut {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px; border: 1px solid #e4e4e4; border-radius: 12px;
  transition: transform .2s;
}
.shortcut:hover { transform: scale(1.02); }
.shortcut-body { padding: 6px 10px; }
.shortcut-title { font-size: 14px; font-weight: 700; color: var(--text); }
.shortcut-sub { font-size: 12px; color: var(--muted2); }
.shortcut-icon { width: 48px; height: 48px; object-fit: cover; }
.sc-mint { background: #ebfaf6; }
.sc-rose { background: #fce8ea; }
.sc-yellow { background: #fff8e6; }
.sc-lav { background: #eef0fd; }

/* ===== Hero ===== */
.hero-wrap { position: relative; border-radius: 12px; overflow: hidden; }
.hero { display: flex; overflow: hidden; border-radius: 12px; transform: translateZ(0); }
.hero-track { display: flex; flex-wrap: nowrap; align-items: stretch; }
.hero-slide { flex: 0 0 auto; cursor: pointer; }
.hero-slide img { width: 100%; height: auto; display: block; }
.hero-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.hero-btn.prev { left: 12px; } .hero-btn.next { right: 12px; }
.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.75); }
.hero-dot.active { background: #1f2937; transform: scale(1.25); }

/* ===== Sections ===== */
.sections { display: flex; flex-direction: column; gap: 26px; }
.sec { }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sec-title { font-size: 20px; font-weight: 700; color: var(--text); }
.sec-all { display: flex; align-items: center; gap: 4px; color: var(--muted2); font-size: 14px; }
.sec-all:hover { color: #ea580c; }
/* offer / deal 彩色容器 */
.sec.seg-pink, .sec.seg-gold {
  padding: 16px; border-radius: 24px;
}
.sec.seg-pink { background: linear-gradient(180deg, #ffe6ec, #ffd0dc); }
.sec.seg-gold { background: linear-gradient(180deg, #fff0cc, #ffd878); }

/* ===== Card row / carousel ===== */
.row-wrap { position: relative; }
.row { display: flex; overflow: hidden; gap: 0; }
.row .track { display: flex; gap: 12px; will-change: transform; }
.row::-webkit-scrollbar { display: none; }
.card { flex: 0 0 168px; border-radius: 12px; border: 1px solid #eee; background: #fff; overflow: hidden; }
.card-img { position: relative; aspect-ratio: 3 / 2; background: #f3f4f6; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-fav {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center;
}
.card-offer {
  position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px);
  background: #ffd400; color: #000; font-size: 11px; font-weight: 600;
  border-radius: 999px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-body { padding: 10px 10px 12px; }
.stats { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 11px; flex-wrap: wrap; }
.stat { display: inline-flex; align-items: center; gap: 3px; color: var(--muted2); font-weight: 600; }
.stat svg { flex: none; }
.card-name { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-addr { font-size: 12px; color: var(--muted2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.card-status { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.status-open { color: #16a34a; font-size: 12px; font-weight: 600; }
.status-closed { color: #9ca3af; font-size: 12px; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.18);
  display: none; align-items: center; justify-content: center;
}
.row-wrap:hover .car-btn { display: flex; }
.car-btn.prev { left: -6px; } .car-btn.next { right: -6px; }
@media (max-width: 640px) { .car-btn { display: flex; left: 4px; } .car-btn.next { left: auto; right: 4px; } }

/* ===== Footer ===== */
.site-footer { margin-top: 30px; background: #000; color: rgba(255,255,255,.8); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.f-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.f-col a { display: block; font-size: 13px; margin-bottom: 10px; color: rgba(255,255,255,.8); }
.f-col a:hover { color: #fff; }
.f-brand .f-logo { width: 120px; margin-bottom: 12px; }
.f-avail { font-size: 13px; margin-bottom: 10px; }
.store-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 7px; background: #1f2937;
  color: #fff; font-size: 12px; border-radius: 8px; padding: 6px 12px;
}
.f-copy { color: #9ca3af; font-size: 12px; margin-top: 28px; }

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .shortcuts { grid-template-columns: repeat(4, 1fr); }
  .mobile-search { display: none; }
  .header-row .search { display: flex; }
  .header-row .loc { display: flex; }
  .shortcut-icon { width: 76px; height: 76px; }
  .shortcut-title { font-size: 18px; }
  .shortcut-sub { font-size: 14px; }
  .sec.seg-pink, .sec.seg-gold { padding: 24px; }
  .card { flex-basis: 250px; }
  .brand img { width: 150px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (max-width: 639px) {
  .header-row .brand img { width: 110px; }
  .login-btn { padding: 7px 16px; font-size: 12px; }
}
/* ===== Hero 红色波浪分隔线 ===== */
.hero-wave { display:block; width:100%; overflow:hidden; line-height:0; margin-top:16px; }
.hero-wave svg { display:block; }

/* 桌面端 hero 箭头悬停显示，移动端常显 */
@media (min-width: 700px) {
  .hero-wrap .hero-btn { opacity: 0; transition: opacity .2s; }
  .hero-wrap:hover .hero-btn { opacity: 1; }
}
