:root {
  --bg: #F5F2EA;
  --card: #FBF8F0;
  --price-bg: #EFE9D8;
  --fg: #000000;
  --secondary: #3C3C43;
  --muted: #8E8E93;
  --green: #34C759;
  --green-dark: #248A3D;
  --red: #FF3B30;
  --blue: #007AFF;
  --border: #E5E5EA;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 0 0 0.5px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --nav-h: 84px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  padding-bottom: calc(78px + var(--safe-bottom) + 8px);
}
.hidden { display: none !important; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ── Bottom Navigation ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  height: calc(78px + var(--safe-bottom));
  padding: 8px 14px var(--safe-bottom);
  background: rgba(255,255,255,0.94);
  border-top: 0.5px solid rgba(0,0,0,0.08);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  display: flex;
  gap: 6px;
  z-index: 100;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 600;
  color: #A3A39C;
  border-radius: 22px;
  transition: color 0.2s, background 0.2s;
}
.nav-item svg { width: 22px; height: 22px; }
.nav-item span { display: block; }
.nav-item.active { color: #1B4332; background: #EEF3EA; }

/* ── Pages ── */
.page { min-height: calc(100dvh - var(--nav-h)); }
/* ── Home (hero header) ── */
.home-hero {
  position: relative;
  background:
    radial-gradient(circle at 88% 28%, rgba(255,255,255,0.10) 0 72px, transparent 73px),
    radial-gradient(circle at 70% 78%, rgba(78,140,98,0.26) 0 118px, transparent 119px),
    linear-gradient(145deg, #1E563B 0%, #123622 100%);
  padding: max(40px, env(safe-area-inset-top, 0px)) 0 66px;
  margin-bottom: 0;
  color: #fff;
  overflow: hidden;
}
.home-hero-leaf {
  position: absolute; pointer-events: none; opacity: 0.08;
  width: 180px; height: 180px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M17 8C8 10 5.9 16.17 3.82 21.34L5.71 22l1-2.3c.53.1 1.07.15 1.62.15c2.52-.6 4.5-2.41 5.62-4.81c1.13-2.36 1.34-5.04.16-7.32C19 5 22 4 22 4s-3 3.96-5 8z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.home-hero-leaf-1 { top: 42px; right: -28px; width: 210px; height: 210px; transform: rotate(-15deg); opacity: 0.10; }
.home-hero-leaf-2 { bottom: 16px; right: 34px; width: 118px; height: 118px; transform: rotate(26deg); opacity: 0.08; }

/* ── Unified page hero (Stores / Saved / Settings) ── */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, #214A36 0%, #16331F 100%);
  padding: max(8px, env(safe-area-inset-top, 0px)) 24px 22px;
  color: #fff;
  overflow: hidden;
}
.page-hero h1 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 38px; font-weight: 700; letter-spacing: -0.5px;
  margin: 38px 0 4px; color: #fff;
}
.page-hero .subtitle {
  font-size: 14px; color: rgba(255,255,255,0.72);
  margin-bottom: 6px;
}
.page-hero-curve {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 16px; background: var(--bg);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
.page-hero-leaf {
  position: absolute; pointer-events: none; opacity: 0.22;
  width: 220px; height: 220px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M17 8C8 10 5.9 16.17 3.82 21.34L5.71 22l1-2.3c.53.1 1.07.15 1.62.15c2.52-.6 4.5-2.41 5.62-4.81c1.13-2.36 1.34-5.04.16-7.32C19 5 22 4 22 4s-3 3.96-5 8z'/></svg>");
  background-repeat: no-repeat; background-size: contain;
}
.page-hero-leaf.tl { top: -20px; left: -40px; transform: rotate(20deg); }
.page-hero-leaf.tr { top: -16px; right: -40px; transform: rotate(-25deg); }
.page-hero-leaf.br { bottom: -28px; right: -20px; width: 170px; height: 170px; transform: rotate(60deg); opacity: 0.18; }
.page-hero-leaf.bl { bottom: 20px; left: -28px; width: 130px; height: 130px; transform: rotate(-45deg); opacity: 0.16; }

/* Translucent search + pills inside the hero */
.hero-search {
  margin-top: 14px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 12px 18px;
}
.hero-search svg { width: 16px; height: 16px; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.hero-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: #fff;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.55); }

.hero-pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.13);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 7px 14px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
}
.hero-pill svg { width: 13px; height: 13px; color: #fff; }
.home-hero-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px;
  min-height: 56px;
  position: relative; z-index: 2;
}
.home-hero-brand { display: flex; align-items: center; gap: 12px; }
.home-hero-title {
  font-size: 25px; font-weight: 800; letter-spacing: -0.5px; line-height: 1;
  color: #fff;
}
.home-hero-title span { color: #fff; opacity: 0.95; }
.home-hero-actions { display: flex; align-items: center; gap: 10px; }
.hero-icon-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.16); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-icon-btn svg { width: 21px; height: 21px; }
.hero-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #fff; object-fit: cover;
  cursor: pointer;
}
.hero-avatar-fb {
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}

.home-hero-search {
  margin: 4px 16px 14px;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border-radius: 100px;
  padding: 14px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.home-hero-search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.home-hero-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--fg);
}
.home-hero-search input::placeholder { color: var(--muted); }

.home-hero-pill-wrap { padding: 0 24px 0; display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 2; }
.home-hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.14); color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px; padding: 9px 16px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.home-hero-pill svg { width: 16px; height: 16px; color: #fff; }

.home-hero-curve {
  display: none;
}

.home-section {
  position: relative;
  padding: 26px 0 16px;
  z-index: 1;
  margin-top: -30px;
  background: var(--bg);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
}
.home-section-head {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 0 22px 18px;
}
.home-section-head h2 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 32px; font-weight: 800; letter-spacing: -0.8px;
  line-height: 1.05;
  color: #164833;
}
.home-section-head p {
  margin-top: 12px;
  font-size: 16px;
  color: #7A7A7A;
  line-height: 1.25;
}
.see-all-btn {
  font-size: 14px; font-weight: 700; color: var(--green-dark);
  display: inline-flex; align-items: center; gap: 4px;
}

.home-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 32px;
}
.empty-btn {
  background: var(--green); color: #fff;
  border-radius: 100px; padding: 12px 28px;
  font-size: 15px; font-weight: 700;
}

/* Featured deal hero card */
.featured-deal {
  position: relative;
  margin: 0 22px 12px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1.36;
  background: #E5E5EA;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(27,67,50,0.10), var(--shadow);
}
.featured-deal:active { transform: scale(0.99); transition: transform 0.12s; }
.featured-deal > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(27,67,50,0.92);
  color: #fff;
  font-size: 15px; font-weight: 800;
  padding: 10px 16px 10px 12px;
  border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.featured-badge svg { width: 16px; height: 16px; color: #fff; }
.featured-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 90px 132px 20px 20px;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.08) 18%, rgba(0,0,0,0.72) 100%);
  color: #fff;
}
.featured-shop {
  font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.92);
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.featured-name {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 31px; font-weight: 800; letter-spacing: -0.7px;
  line-height: 1.05; margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-time {
  font-size: 14px; color: rgba(255,255,255,0.95); font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}
.featured-time svg { width: 15px; height: 15px; }
.featured-price {
  position: absolute; right: 18px; bottom: 18px;
  background: rgba(245,242,234,0.94);
  color: #1B4332;
  border-radius: 18px;
  padding: 18px 20px;
  min-width: 108px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.featured-price .amount { font-size: 31px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.featured-price .unit { font-size: 15px; font-weight: 700; margin-top: 6px; opacity: 0.9; }

/* Deal row cards on home */
.deal-row-list { display: flex; flex-direction: column; gap: 12px; padding: 0 22px; }
.deal-row-card {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border-radius: 20px;
  padding: 10px 12px 10px 10px;
  box-shadow: 0 8px 22px rgba(27,67,50,0.08), var(--shadow);
  cursor: pointer;
}
.deal-row-card:active { transform: scale(0.99); transition: transform 0.12s; }
.deal-row-card .img-wrap {
  width: 108px; height: 88px; flex-shrink: 0;
  border-radius: 14px; overflow: hidden;
  background: #E5E5EA;
}
.deal-row-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-row-card .info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.deal-row-card .info .shop {
  font-size: 13px; font-weight: 700; color: var(--green-dark);
  margin-bottom: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.deal-row-card .info .product {
  font-size: 20px; font-weight: 500; letter-spacing: -0.4px;
  line-height: 1.12; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-row-card .info .meta {
  font-size: 13px; color: var(--muted); font-weight: 600;
  display: inline-flex; align-items: center; gap: 3px;
}
.deal-row-card .info .meta svg { width: 14px; height: 14px; }
.deal-row-card .price-pill {
  background: #EFF2EA; color: #1B4332;
  border-radius: 16px; padding: 13px 15px; min-width: 76px;
  text-align: center; flex-shrink: 0;
}
.deal-row-card .price-pill .amount { font-size: 21px; font-weight: 800; line-height: 1; letter-spacing: -0.3px; }
.deal-row-card .price-pill .unit { font-size: 13px; font-weight: 700; margin-top: 5px; opacity: 0.9; }
.deal-row-card .chev-arrow {
  width: 18px; height: 18px; color: #1B4332; flex-shrink: 0;
  margin-right: 2px;
}

.home-chips {
  display: flex; gap: 6px; padding: 6px 20px 18px;
}
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 500; color: var(--secondary);
  background: var(--card); border-radius: 100px;
  padding: 6px 12px;
  box-shadow: var(--shadow);
}
.chip svg { width: 14px; height: 14px; color: var(--green-dark); }
.chip.active { background: var(--green); color: #fff; }
.chip.active svg { color: #fff; }

.section-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 20px 12px;
}
.section-label h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.2px; }
.section-label span { font-size: 14px; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 24px;
}
.product-grid.empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 32px;
  gap: 12px;
}
.product-grid .empty-icon { font-size: 48px; }
.product-grid .empty-title { font-size: 18px; font-weight: 700; }
.product-grid .empty-desc { font-size: 14px; color: var(--muted); text-align: center; line-height: 1.4; }
.product-grid .empty-btn {
  background: var(--blue); color: #fff;
  border-radius: 100px; padding: 12px 28px;
  font-size: 15px; font-weight: 600;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.product-card:active { transform: scale(0.975); transition: transform 0.12s; }
.product-card .thumb {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; display: block;
  background: #E5E5EA;
}
.product-card .thumb-placeholder {
  width: 100%; aspect-ratio: 1;
  background: #E5E5EA;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
.product-card .body { padding: 10px 12px 14px; }
.product-card .price {
  font-size: 18px; font-weight: 700; letter-spacing: -0.3px;
  color: var(--fg);
  margin-bottom: 3px;
  display: flex; align-items: baseline; gap: 3px;
}
.product-card .price .unit { font-size: 12px; font-weight: 500; color: var(--muted); }
.product-card .price .orig { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-left: auto; }
.product-card .name {
  font-size: 13px; font-weight: 500; line-height: 1.25;
  color: var(--secondary);
  margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--muted);
}

/* ── Stores ── */
.stores-header {
  padding: 16px 20px 10px;
}
.stores-header h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.4px; }

.store-section { padding: 14px 16px 8px; display: flex; flex-direction: column; gap: 12px; }
.store-card {
  background: var(--card); border-radius: 20px;
  padding: 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
}
.store-card:active { transform: scale(0.985); transition: transform 0.12s; }
.store-avatar {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; color: #fff;
  overflow: hidden; flex-shrink: 0;
}
.store-avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-info { flex: 1; min-width: 0; }
.store-info .name { font-size: 17px; font-weight: 700; line-height: 1.2; margin-bottom: 6px; letter-spacing: -0.2px; }
.store-info .sub {
  font-size: 13px; color: var(--muted);
  display: flex; gap: 5px; align-items: center; flex-wrap: wrap;
}
.store-info .sub .meta-item {
  display: inline-flex; align-items: center; gap: 3px;
}
.store-info .sub .meta-item svg { width: 12px; height: 12px; color: var(--green-dark); }
.store-info .sub .meta-sep { color: var(--muted); }
.store-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 700; color: var(--green-dark);
  background: rgba(52,199,89,0.14); border-radius: 100px;
  padding: 3px 10px;
}
.store-badge.closed { color: #C53030; background: #FCE5E0; }

.follow-btn {
  flex-shrink: 0;
  font-size: 14px; font-weight: 700;
  border-radius: 100px;
  padding: 9px 20px;
  background: #1B4332; color: #fff;
}
.follow-btn.following { background: #E8EFE9; color: #1B4332; }

/* ── Store Detail v2 (matches new mockup) ── */
.detail-page-hero {
  position: relative;
  background: #1B4332;
  padding: max(12px, env(safe-area-inset-top, 0px)) 16px 70px;
  overflow: hidden;
}
.detail-back {
  position: relative; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.detail-back svg { width: 18px; height: 18px; }
.detail-cover-wrap {
  position: relative; z-index: 2;
  width: 100%; aspect-ratio: 16/10;
  border-radius: 18px; overflow: hidden;
  background: #16331F;
}
.detail-cover-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-cover-fallback {
  width: 100%; height: 100%;
  background: #16331F
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M17 8C8 10 5.9 16.17 3.82 21.34L5.71 22l1-2.3c.53.1 1.07.15 1.62.15c2.52-.6 4.5-2.41 5.62-4.81c1.13-2.36 1.34-5.04.16-7.32C19 5 22 4 22 4s-3 3.96-5 8z'/></svg>")
    center / 90px no-repeat;
  opacity: 0.95;
  /* The leaf SVG is white; fade it to a soft mint inside the fallback */
  filter: invert(0.06);
}
.detail-avatar-wrap {
  position: absolute;
  left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 4;
}
.detail-avatar-round {
  width: 80px; height: 80px; border-radius: 50%;
  border: 4px solid var(--bg);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px; color: #1B4332;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.detail-avatar-round img { width: 100%; height: 100%; object-fit: cover; }

.detail-body-v2 {
  padding: 50px 20px 24px;
  text-align: center;
  background: var(--bg);
}
.detail-name-v2 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 30px; font-weight: 700; letter-spacing: -0.5px;
  color: #1B4332;
  margin-bottom: 8px;
}
.detail-addr-v2 {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--muted);
  margin-bottom: 12px;
}
.detail-addr-v2 svg { width: 14px; height: 14px; color: var(--green-dark); flex-shrink: 0; }
.detail-status-v2 { margin-bottom: 18px; }
.detail-status-v2 .badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  border-radius: 100px; padding: 6px 16px;
}

.follow-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); color: #1B4332;
  border: 1px solid rgba(27,67,50,0.15);
  border-radius: 100px;
  padding: 12px 40px;
  font-size: 15px; font-weight: 700;
  margin-bottom: 24px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.follow-pill svg { width: 14px; height: 14px; color: #2D6A4F; }
.follow-pill:not(.following) {
  background: #1B4332; color: #fff; border-color: transparent;
}

.hours-card-v2 {
  background: var(--card); border-radius: 20px;
  padding: 18px 18px 8px;
  margin: 0 -4px 16px;
  text-align: left;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hours-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.hours-card-head h3 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.3px;
  color: #1B4332;
}
.hours-card-leaf { width: 28px; height: 28px; color: #95D5B2; opacity: 0.7; }
.hours-table-v2 {
  background: var(--bg);
  border-radius: 14px;
  padding: 4px 14px;
}
.hours-row-v2 {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hours-row-v2:last-child { border-bottom: none; }
.hours-row-v2 .day { color: var(--fg); font-weight: 500; }
.hours-row-v2 .val { color: var(--muted); }
.hours-row-v2.today { background: rgba(45,106,79,0.08); border-radius: 10px; padding: 11px 12px; margin: 0 -12px; border-bottom: none; }
.hours-row-v2.today .day { color: #1B4332; font-weight: 700; }
.hours-row-v2.today .val { color: #1B4332; font-weight: 700; }

/* ── Legacy store detail (kept for any older calls) ── */
.detail-hero {
  position: relative;
  height: 220px;
  background: var(--green-dark);
}
.detail-hero img {
  width: 100%; height: 100%; object-fit: cover;
}
.detail-hero-nav {
  position: absolute; top: 0; left: 0; right: 0;
  padding: max(12px, env(safe-area-inset-top, 0px)) 16px 0;
  display: flex; justify-content: space-between;
}
.detail-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.detail-btn svg { width: 20px; height: 20px; }
.detail-avatar {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px; border-radius: 50%;
  border: 3px solid #fff;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 24px; color: #fff;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.detail-avatar img { width: 100%; height: 100%; object-fit: cover; }

.detail-body { padding: 48px 20px 0; }
.detail-name { font-size: 24px; font-weight: 800; text-align: center; letter-spacing: -0.3px; margin-bottom: 4px; }
.detail-addr { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 8px; }
.detail-status { text-align: center; margin-bottom: 14px; }
.detail-status .badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600;
  border-radius: 100px; padding: 5px 14px;
}
.badge-open { background: rgba(52,199,89,0.12); color: var(--green-dark); }
.badge-closed { background: rgba(255,59,48,0.1); color: var(--red); }

.detail-actions {
  display: flex; gap: 0;
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.action-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 8px; font-size: 12px; font-weight: 500; color: var(--blue);
  border-right: 0.5px solid var(--border);
}
.action-btn:last-child { border-right: none; }
.action-btn svg { width: 22px; height: 22px; }

.detail-section {
  background: var(--card); border-radius: var(--radius);
  padding: 0; margin-bottom: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.detail-section-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--border);
}
.detail-section-row:last-child { border-bottom: none; }
.detail-section-label { font-size: 15px; font-weight: 500; }
.detail-section-sub { font-size: 12px; color: var(--muted); }
.toggle {
  width: 51px; height: 31px;
  background: #E9E9EA; border-radius: 100px;
  position: relative; cursor: pointer; flex-shrink: 0;
  transition: background 0.25s;
}
.toggle.on { background: var(--green); }
.toggle::after {
  content: "";
  position: absolute; top: 2px; left: 2px;
  width: 27px; height: 27px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.06);
  transition: transform 0.25s;
}
.toggle.on::after { transform: translateX(20px); }

.specials-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.special-row {
  display: flex; gap: 12px; align-items: center;
  background: var(--card); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow); cursor: pointer;
}
.special-row:active { transform: scale(0.985); transition: transform 0.12s; }
.special-thumb {
  width: 56px; height: 56px; border-radius: 10px;
  object-fit: cover; background: #E5E5EA; flex-shrink: 0;
}
.special-body { flex: 1; min-width: 0; }
.special-name { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.special-sub { font-size: 12px; color: var(--muted); }

/* ── Alerts ── */
.alerts-header { padding: 16px 20px 6px; }
.alerts-header h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.4px; }
.alerts-desc { font-size: 14px; color: var(--muted); padding: 4px 20px 18px; line-height: 1.4; }
.alert-group { padding: 0 20px 4px; }
.alert-group h2 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.2px; }
.alert-card {
  display: flex; gap: 10px; align-items: center;
  background: var(--card); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow);
  margin-bottom: 10px; cursor: pointer;
}
.alert-card:active { transform: scale(0.985); transition: transform 0.12s; }
.alert-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}
.alert-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff;
  overflow: hidden; flex-shrink: 0;
}
.alert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.alert-body { flex: 1; min-width: 0; }
.alert-shop { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.alert-deal { font-size: 13px; color: var(--secondary); margin-bottom: 2px; }
.alert-time { font-size: 11px; color: var(--muted); }
.alert-thumb {
  width: 52px; height: 52px; border-radius: 10px;
  object-fit: cover; background: #E5E5EA; flex-shrink: 0;
}
.fav-delete {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,59,48,0.08); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: 8px;
}
.fav-delete svg { width: 16px; height: 16px; }
.fav-delete:active { background: rgba(255,59,48,0.18); }
.alert-card { gap: 0; }

/* Deal-detail favorite top button */
.deal-top-btn.fav-btn { color: var(--secondary); }
.deal-top-btn.fav-btn svg { width: 22px; height: 22px; }
.deal-top-btn.fav-btn.on { color: #F4B400; }

/* ── Deal Detail ── */
.deal-detail-top {
  height: 48px;
  display: grid; grid-template-columns: 44px 1fr 44px;
  align-items: center; padding: 0 8px;
}
.deal-top-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg);
}
.deal-top-btn svg { width: 22px; height: 22px; }
.deal-top-title { text-align: center; font-size: 16px; font-weight: 700; }
.deal-detail-wrap { padding: 0 12px 18px; }
.deal-detail-hero {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: var(--radius-lg);
  background: #E5E5EA; max-height: 60vh;
}
.deal-detail-title-row {
  margin-top: 16px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.deal-detail-title-row h1 {
  font-size: 20px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.2;
}
.deal-detail-price {
  text-align: right; flex-shrink: 0;
}
.deal-detail-price .amount {
  font-size: 22px; font-weight: 800; color: var(--green-dark);
}
.deal-detail-price .unit {
  font-size: 13px; font-weight: 600; color: var(--green-dark);
}

.deal-detail-shop-card {
  margin-top: 14px;
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow); cursor: pointer;
}
.deal-detail-shop-card .shop-avatar {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 16px; color: #fff;
  overflow: hidden; flex-shrink: 0;
}
.deal-detail-shop-card .shop-avatar img { width: 100%; height: 100%; object-fit: cover; }
.deal-detail-shop-meta { flex: 1; }
.deal-detail-shop-meta .name { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.deal-detail-shop-meta .sub { font-size: 13px; color: var(--muted); }

.deal-detail-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 12px;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 0;
}
.deal-detail-stats .stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 13px; color: var(--secondary);
}
.deal-detail-stats .stat:first-child { border-right: 0.5px solid var(--border); }
.deal-detail-stats .stat svg { width: 20px; height: 20px; color: var(--green-dark); }

.deal-direction-btn {
  margin-top: 14px;
  width: 100%;
  background: var(--green); color: #fff;
  border-radius: var(--radius);
  padding: 15px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 600;
}
.deal-direction-btn svg { width: 18px; height: 18px; }

/* ── Hours ── */
.hours-table {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px;
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; font-size: 14px;
  border-bottom: 0.5px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-row.today { font-weight: 600; background: rgba(0,122,255,0.04); }
.hours-row.today .hours-val { color: var(--blue); }

/* ── Login ── */
.login-wrap {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 100dvh;
  padding: 40px 32px; text-align: center; gap: 14px;
}
.btn-primary {
  display: inline-block; background: var(--blue); color: #fff;
  padding: 15px 32px; border-radius: 100px; font-size: 16px;
  font-weight: 600;
}

/* ── Deal Detail v2 (matches mockup) ── */
.deal-v2-hero {
  position: relative;
  background: #1B4332;
  padding: max(12px, env(safe-area-inset-top, 0px)) 16px 14px;
  display: flex; justify-content: space-between; align-items: center;
  overflow: hidden;
}
.deal-v2-btn {
  position: relative; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.deal-v2-btn svg { width: 18px; height: 18px; }
.deal-v2-btn.fav-btn.on { color: #F4C430; }

.deal-v2-wrap { padding: 0 16px 24px; background: var(--bg); }
.deal-v2-image-card {
  margin-top: -8px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.deal-v2-image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-v2-image-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #E5E5EA, #D1D1D6);
}

.deal-v2-title-row {
  margin-top: 18px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.deal-v2-title-row h1 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 28px; font-weight: 700; letter-spacing: -0.4px;
  line-height: 1.15; color: #1B4332;
  flex: 1;
}
.deal-v2-price { text-align: right; flex-shrink: 0; }
.deal-v2-price .amount {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 30px; font-weight: 800; color: #1B4332;
  line-height: 1; letter-spacing: -0.5px;
}
.deal-v2-price .unit {
  font-size: 14px; font-weight: 600; color: #1B4332;
  margin-top: 4px; opacity: 0.85;
}

.deal-v2-shop-card {
  margin-top: 20px;
  background: var(--card); border-radius: 18px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.deal-v2-shop-avatar {
  width: 48px; height: 48px; border-radius: 12px;
  overflow: hidden; flex-shrink: 0;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.deal-v2-shop-avatar img { width: 100%; height: 100%; object-fit: cover; }
.deal-v2-shop-meta { flex: 1; }
.deal-v2-shop-meta .name { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
.deal-v2-shop-meta .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

.deal-v2-stats {
  margin-top: 12px;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--card); border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.deal-v2-stat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.deal-v2-stat:first-child { border-right: 1px solid rgba(0,0,0,0.06); }
.deal-v2-stat .icon-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: #E8EFE9; color: #2D6A4F;
  display: flex; align-items: center; justify-content: center;
}
.deal-v2-stat .icon-circle svg { width: 18px; height: 18px; }
.deal-v2-stat .label { font-size: 14px; font-weight: 600; color: #1B4332; }

.deal-v2-direction {
  margin-top: 16px;
  width: 100%;
  background: #1B4332; color: #fff;
  border-radius: 16px;
  padding: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 700;
}
.deal-v2-direction svg { width: 18px; height: 18px; }

.deal-v2-footnote {
  margin-top: 14px;
  display: flex; align-items: center; gap: 10px;
}
.deal-v2-footnote .line { flex: 1; height: 1px; background: rgba(0,0,0,0.08); }
.deal-v2-footnote .msg {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.deal-v2-footnote .msg svg { width: 14px; height: 14px; color: #2D6A4F; }

/* ── Settings v2 ── */
.settings-v2-hero {
  position: relative;
  background: #1B4332;
  padding: max(8px, env(safe-area-inset-top, 0px)) 24px 50px;
  overflow: hidden;
}
.settings-v2-hero h1 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 38px; font-weight: 700; letter-spacing: -0.5px;
  color: #fff;
  margin: 38px 0 0;
  position: relative; z-index: 2;
}

.settings-v2-wrap {
  background: var(--bg);
  padding: 0 16px 24px;
  margin-top: -32px;
  position: relative; z-index: 2;
}
.settings-v2-profile {
  background: var(--card);
  border-radius: 22px;
  padding: 22px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.settings-v2-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: #fff;
}
.settings-v2-avatar img { width: 100%; height: 100%; object-fit: cover; }
.settings-v2-avatar span { font-size: 28px; font-weight: 700; color: #fff; }
.settings-v2-name {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 22px; font-weight: 700; color: #1B4332;
  margin-bottom: 4px;
}
.settings-v2-email { font-size: 14px; color: var(--muted); }

.settings-v2-menu {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.settings-v2-row {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: left;
}
.settings-v2-row:last-child { border-bottom: none; }
.settings-v2-row:active { background: rgba(0,0,0,0.02); }
.settings-v2-row .icon-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: #E8EFE9; color: #2D6A4F;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.settings-v2-row .icon-circle svg { width: 18px; height: 18px; }
.settings-v2-row-text { flex: 1; min-width: 0; }
.settings-v2-row-text .title {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 17px; font-weight: 700; color: #1B4332;
}
.settings-v2-row-text .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.settings-v2-row .chev { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }

.settings-v2-signout {
  display: block;
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  font-size: 16px; font-weight: 700;
  color: var(--red);
  box-shadow: var(--shadow);
}

/* ── Settings (legacy) ── */
.settings-header { padding: 16px 20px 10px; }
.settings-header h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.4px; }
.settings-profile {
  padding: 24px 20px; display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.settings-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center;
  justify-content: center; font-size: 28px; font-weight: 700; color: #fff;
  overflow: hidden;
}
.settings-avatar img { width: 100%; height: 100%; object-fit: cover; }
.settings-name { font-size: 20px; font-weight: 700; }
.settings-email { font-size: 14px; color: var(--muted); }
.settings-logout { padding: 0 20px; }
.settings-logout a {
  display: block; text-align: center; padding: 14px;
  background: var(--card); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--red);
  box-shadow: var(--shadow);
}

/* ── Source post ── */
.source-post {
  background: var(--card); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.source-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.source-title { font-size: 15px; font-weight: 700; }
.source-link { font-size: 14px; color: var(--blue); font-weight: 500; }
.source-preview { display: flex; gap: 12px; align-items: center; }
.source-preview img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.source-preview-body { flex: 1; }
.source-preview-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.source-preview-meta { font-size: 12px; color: var(--muted); }
.source-preview-excerpt { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── Misc ── */
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: #E5E5EA; border-radius: 10px;
  padding: 9px 14px; margin: 4px 16px 4px;
}
.search-box svg { width: 16px; height: 16px; color: var(--muted); }
.search-box input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--fg);
}
.search-box input::placeholder { color: var(--muted); }

.detail-follow {
  background: var(--card); border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 16px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between;
}
.detail-follow-label { font-size: 15px; font-weight: 500; }
.detail-follow-sub { font-size: 12px; color: var(--muted); display: block; margin-top: 1px; }

/* ── Deal detail footnote ── */
.deal-detail-footnote {
  margin-top: 14px;
  display: flex; align-items: center; gap: 10px;
}
.deal-detail-footnote span { flex: 1; height: 0.5px; background: var(--border); }
.deal-detail-footnote div {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.deal-detail-footnote svg { width: 14px; height: 14px; color: var(--green-dark); }

/* ── New unified UI pass ── */
.page-hero,
.settings-v2-hero,
.detail-page-hero,
.deal-v2-hero {
  background:
    radial-gradient(circle at 88% 28%, rgba(255,255,255,0.10) 0 78px, transparent 79px),
    radial-gradient(circle at 76% 70%, rgba(122,170,130,0.20) 0 140px, transparent 141px),
    linear-gradient(145deg, #1E563B 0%, #0F3321 100%);
}

.page-hero {
  padding: max(60px, env(safe-area-inset-top, 0px)) 24px 86px;
  min-height: 260px;
}
.page-hero h1,
.settings-v2-hero h1 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin: 34px 0 26px;
}
.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 19px;
  line-height: 1.25;
  position: relative;
  z-index: 2;
}
.page-hero-leaf { opacity: 0.13; }
.page-hero-curve { display: none; }
.hero-search {
  margin-top: 0;
  padding: 15px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-search svg { width: 22px; height: 22px; color: rgba(255,255,255,0.80); }
.hero-search input { font-size: 20px; color: #fff; }
.hero-search input::placeholder { color: rgba(255,255,255,0.68); }
.hero-pill-row { margin-top: 18px; }
.hero-pill {
  padding: 14px 18px;
  font-size: 18px;
  border-color: rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.14);
}
.hero-pill svg { width: 20px; height: 20px; }

#page-stores .store-section,
.saved-panel,
.settings-v2-wrap,
.detail-body-v2,
.deal-v2-wrap {
  background: #F8F5ED;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

#page-stores .store-section {
  padding: 22px 18px 100px;
  gap: 16px;
}
.store-card {
  min-height: 126px;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(27,67,50,0.08), var(--shadow);
}
.store-info .name {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.05;
  color: #0F3321;
  margin-bottom: 12px;
}
.store-info .sub {
  font-size: 16px;
  color: #858585;
  gap: 8px;
}
.store-info .sub .meta-item svg { width: 16px; height: 16px; color: #248A3D; }
.store-status-line { margin-top: 9px; min-height: 24px; }
.store-badge {
  font-size: 15px;
  padding: 4px 12px;
  background: #E8F3EA;
}
.store-badge.closed {
  color: #FF3B30;
  background: #FFE8E7;
}
.follow-btn {
  min-width: 96px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, #1E563B, #0F3321);
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 20px;
  font-weight: 700;
}
.follow-btn.following {
  background: #EEF3EA;
  color: #0F3321;
}

.saved-hero { padding-bottom: 86px; }
.saved-hero h1 { margin-bottom: 14px; }
.saved-clear-btn {
  position: absolute;
  right: 26px;
  top: 132px;
  z-index: 3;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.17);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.saved-clear-btn svg { width: 25px; height: 25px; }
.saved-panel {
  min-height: calc(100dvh - 220px);
  padding: 30px 18px 100px;
}
.saved-card {
  border-radius: 26px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(27,67,50,0.08), var(--shadow);
}
.saved-card-main {
  flex: 1;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 74px;
  align-items: center;
  gap: 16px;
  min-width: 0;
  cursor: pointer;
}
.saved-card .alert-thumb {
  width: 74px;
  height: 74px;
  border-radius: 14px;
}
.saved-card .alert-shop {
  font-size: 15px;
  color: #0F5132;
  font-weight: 600;
  margin-bottom: 14px;
}
.saved-card .alert-deal {
  font-size: 22px;
  color: #1C1C1E;
  margin-bottom: 12px;
}
.saved-price {
  color: #0F5132;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.saved-price span {
  color: #8E8E93;
  font-weight: 500;
}
.saved-card .alert-time {
  font-size: 16px;
  color: #8E8E93;
}
.saved-card .fav-delete {
  width: 56px;
  height: 56px;
  background: #FFF0EE;
}
.saved-card .fav-delete svg { width: 24px; height: 24px; }

.deal-v2-hero {
  min-height: 246px;
  padding: max(62px, env(safe-area-inset-top, 0px)) 26px 76px;
}
.deal-v2-btn,
.detail-back {
  width: 58px;
  height: 58px;
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.deal-v2-btn svg,
.detail-back svg { width: 27px; height: 27px; }
.deal-v2-wrap {
  padding: 0 22px 104px;
}
.deal-v2-image-card {
  margin-top: -96px;
  border-radius: 22px;
  aspect-ratio: 1.28;
  box-shadow: 0 14px 32px rgba(27,67,50,0.12);
}
.deal-v2-title-row {
  margin-top: 32px;
  align-items: flex-start;
}
.deal-v2-title-row h1 {
  font-size: 38px;
  line-height: 1.05;
}
.deal-v2-price .amount {
  font-size: 42px;
}
.deal-v2-price .unit {
  font-size: 19px;
}
.deal-v2-shop-card,
.deal-v2-stats {
  margin-top: 26px;
  border-radius: 22px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(27,67,50,0.08), var(--shadow);
}
.deal-v2-shop-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}
.deal-v2-shop-meta .name {
  font-size: 20px;
  font-weight: 800;
}
.deal-v2-shop-meta .sub {
  font-size: 17px;
  color: #8E8E93;
}
.deal-v2-shop-card::after {
  content: "›";
  color: #0F5132;
  font-size: 42px;
  line-height: 1;
}
.deal-v2-stats { padding: 28px 16px; }
.deal-v2-stat .icon-circle {
  width: 54px;
  height: 54px;
  background: #E8F0EA;
}
.deal-v2-stat .icon-circle svg { width: 25px; height: 25px; }
.deal-v2-stat .label {
  font-size: 18px;
  color: #0F5132;
}
.deal-v2-direction {
  margin-top: 26px;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(145deg, #1E7036, #0F5132);
  font-size: 22px;
}
.deal-v2-direction svg { width: 24px; height: 24px; }
.deal-v2-footnote {
  margin-top: 28px;
}
.deal-v2-footnote .msg {
  font-size: 17px;
}

.store-profile-hero {
  min-height: 500px;
  padding: max(58px, env(safe-area-inset-top, 0px)) 22px 92px;
  text-align: center;
}
.store-profile-hero .detail-back {
  margin: 0;
}
.store-profile-block {
  position: relative;
  z-index: 3;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.store-profile-block .detail-avatar-round {
  width: 132px;
  height: 132px;
  border: 6px solid #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.store-profile-block .detail-name-v2 {
  margin-top: 24px;
  color: #fff;
  font-size: 39px;
  line-height: 1.08;
}
.store-profile-block .detail-addr-v2 {
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  margin-top: 10px;
}
.store-profile-block .detail-addr-v2 svg { color: #fff; width: 19px; height: 19px; }
.store-profile-block .detail-status-v2 {
  margin: 12px 0 22px;
}
.store-profile-block .detail-status-v2 .badge {
  font-size: 18px;
  padding: 10px 22px;
  border-radius: 999px;
}
.store-profile-block .follow-pill {
  margin: 0;
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px 52px;
  font-size: 22px;
  color: #0F5132;
}
.detail-body-v2 {
  padding: 34px 22px 104px;
}
.hours-card-v2,
.specials-list,
.source-post {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(27,67,50,0.08), var(--shadow);
}
.hours-card-v2 {
  padding: 28px 26px 18px;
  margin: 0 0 26px;
}
.hours-card-head h3,
.featured-detail-head h3 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 28px;
  color: #0F5132;
}
.hours-table-v2 {
  background: transparent;
  border-radius: 0;
  padding: 8px 0 0;
}
.hours-row-v2 {
  font-size: 18px;
  padding: 14px 0;
}
.hours-row-v2.today {
  margin: 0;
  padding: 14px 0;
  background: transparent;
}
.featured-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
}
.featured-detail-head button {
  color: #248A3D;
  font-size: 17px;
  font-weight: 700;
}
.specials-list {
  padding: 12px;
  overflow: hidden;
}
.special-row {
  box-shadow: none;
  border-radius: 18px;
  background: #fff;
}
.special-thumb {
  width: 92px;
  height: 72px;
  border-radius: 14px;
}

.settings-v2-hero {
  min-height: 260px;
  padding: max(60px, env(safe-area-inset-top, 0px)) 24px 86px;
}
.settings-v2-wrap {
  min-height: calc(100dvh - 220px);
  padding: 34px 22px 104px;
}
.settings-v2-profile,
.settings-v2-menu,
.settings-v2-signout {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(27,67,50,0.08), var(--shadow);
}
.settings-v2-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: 30px 32px;
}
.settings-v2-avatar {
  width: 92px;
  height: 92px;
  margin: 0;
  flex-shrink: 0;
}
.settings-v2-name {
  font-size: 29px;
  line-height: 1.05;
}
.settings-v2-email {
  font-size: 18px;
  margin-top: 10px;
}
.settings-v2-menu {
  margin-top: 28px;
}
.settings-v2-row {
  padding: 24px;
  gap: 22px;
}
.settings-v2-row .icon-circle {
  width: 64px;
  height: 64px;
}
.settings-v2-row .icon-circle svg {
  width: 30px;
  height: 30px;
}
.settings-v2-row-text .title {
  font-size: 24px;
}
.settings-v2-row-text .sub {
  font-size: 18px;
}
.settings-v2-row .chev {
  width: 22px;
  height: 22px;
}
.settings-v2-signout {
  margin-top: 28px;
  padding: 24px;
  font-size: 24px;
}
