:root {
  --paper: #FFF4E0;
  --white: #FFFFFF;
  --cream: #F8E2B0;
  --brown: #3A2208;
  --text: #4A2E12;
  --muted: #7A5530;
  --soft: #A07A4A;
  --yellow: #F5C518;
  --orange: #F08A24;
  --green: #3D8B4A;
  --dark: #1F1408;
  --border: rgba(240, 138, 36, 0.22);
  --shadow: 0 14px 34px rgba(58, 34, 8, 0.10);
  --top-offset: 134px;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
body.panel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button, input { font: inherit; }
button { border: 0; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-top { position: fixed; inset: 0 0 auto 0; z-index: 1000; }
.skin-strip { height: 22px; background: var(--dark); color: var(--yellow); font-size: 12px; }
.strip-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.text-button { background: transparent; color: var(--yellow); min-width: 44px; min-height: 22px; padding: 0 8px; }
.text-button:hover, .text-button:focus-visible { color: white; outline: 2px solid var(--yellow); outline-offset: -2px; }
.stall-bar { height: 70px; background: var(--yellow); box-shadow: 0 8px 22px rgba(58,34,8,.08); }
.stall-inner { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; max-width: 280px; }
.brand-logo { max-height: 38px; width: auto; object-fit: contain; }
.brand-text { color: var(--dark); font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.basket-button, .app-link, .button-primary, .button-secondary {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 0 18px; font-weight: 800;
}
.basket-button, .button-primary { color: var(--dark); background: linear-gradient(135deg, #F5C518 0%, #F08A24 70%); box-shadow: 0 8px 18px rgba(240,138,36,.2); }
.app-link { justify-self: end; color: var(--dark); background: rgba(255,255,255,.66); border: 1px solid rgba(58,34,8,.12); }
.button-secondary { background: white; color: var(--brown); border: 1px solid var(--border); }
.basket-button:hover, .basket-button:focus-visible, .app-link:hover, .app-link:focus-visible, .button-primary:hover, .button-primary:focus-visible, .button-secondary:hover, .button-secondary:focus-visible { transform: translateY(-1px); outline: 3px solid rgba(61,139,74,.35); outline-offset: 2px; }
.fruit-tabs { height: 42px; background: white; border-bottom: 1px solid var(--border); }
.fruit-tab-inner { height: 42px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; overflow: hidden; }
.tab-link { min-height: 32px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 8px; color: var(--brown); font-weight: 700; white-space: nowrap; }
.tab-link:hover, .tab-link:focus-visible, .tab-link.is-active { background: var(--orange); color: var(--dark); outline: none; }
.site-main { padding-top: calc(var(--top-offset) + 24px); min-height: 70vh; }
.page-heading { padding: 22px 0 18px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: .06em; }
h1, h2, h3 { color: var(--brown); line-height: 1.25; }
h1 { margin: 0; font-size: clamp(28px, 4vw, 32px); letter-spacing: -.02em; }
h2 { font-size: 22px; margin: 0 0 14px; }
h3 { font-size: 17px; margin: 0 0 8px; }
p { margin: 0 0 1em; }
.lede { max-width: 860px; color: var(--muted); font-size: 17px; margin-top: 14px; }
.section-block { margin-bottom: 24px; }
.content-card, .policy-card, .note-card, .shelf-card, .hero-copy, .home-section, .faq-item, .contact-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.content-card, .policy-card, .note-card, .contact-card { padding: clamp(20px, 4vw, 34px); }
.content-card p:last-child, .policy-card p:last-child, .note-card p:last-child { margin-bottom: 0; }
.content-card ul, .policy-card ul, .note-card ul { padding-left: 1.3em; margin-bottom: 0; }
.content-card li + li, .policy-card li + li { margin-top: 8px; }
.page-hero-media, .home-media { width: min(1180px, calc(100% - 32px)); margin: 0 auto 20px; }
.media-slot { min-height: 180px; max-height: 320px; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(135deg, var(--cream), #fff9ee); box-shadow: var(--shadow); }
.media-slot img { width: 100%; max-height: 320px; object-fit: cover; }
.home-hero { width: min(1180px, calc(100% - 32px)); margin: 0 auto 28px; }
.hero-copy { padding: clamp(22px, 5vw, 46px); }
.hero-copy .mini-title { color: var(--orange); font-weight: 900; margin-bottom: 6px; }
.hero-copy h1 { max-width: 760px; font-size: clamp(30px, 5vw, 48px); }
.hero-copy p { max-width: 780px; margin-top: 16px; color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.home-section { padding: clamp(20px, 4vw, 34px); margin-bottom: 24px; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-title-row p { margin: 0; color: var(--muted); max-width: 680px; }
.flavor-tags { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.flavor-tag { border: 1px solid var(--border); border-radius: 14px; padding: 16px; min-height: 138px; background: #fffaf2; }
.flavor-tag:nth-child(3n+1) .tiny-swatch { background: var(--yellow); }
.flavor-tag:nth-child(3n+2) .tiny-swatch { background: var(--orange); }
.flavor-tag:nth-child(3n) .tiny-swatch { background: var(--green); }
.tiny-swatch { width: 26px; height: 7px; border-radius: 3px; margin-bottom: 14px; }
.flavor-tag p { color: var(--muted); font-size: 14px; margin: 8px 0 12px; }
.flavor-tag a { color: var(--green); font-weight: 800; }
.numbered-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.numbered-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 14px; background: #fffaf2; border: 1px solid var(--border); border-radius: 12px; }
.numbered-list strong.num { color: var(--orange); font-size: 24px; line-height: 1; }
.numbered-list a { font-weight: 900; color: var(--brown); }
.shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.shelf-card { overflow: hidden; }
.shelf-card .media-slot { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; min-height: 150px; }
.shelf-body { padding: 20px; }
.shelf-body p { color: var(--muted); }
.directory-list { display: grid; gap: 10px; margin-top: 16px; }
.directory-list a, .directory-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: #fffaf2; border: 1px solid var(--border); border-radius: 12px; }
.directory-list .n { font-weight: 900; color: var(--orange); }
.directory-list .arrow { color: var(--green); font-weight: 900; }
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.tile { padding: 18px; background: #fffaf2; border: 1px solid var(--border); border-radius: 14px; }
.tile p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.shelf-list { display: grid; gap: 10px; }
.shelf-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.shelf-row:last-child { border-bottom: 0; }
.shelf-label { font-weight: 900; color: var(--green); }
.shelf-row a { font-weight: 800; color: var(--orange); }
.big-number-list { display: grid; gap: 12px; }
.big-number-item { display: grid; grid-template-columns: 80px 1fr; gap: 18px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.big-number-item:last-child { border-bottom: 0; }
.big-number { font-size: 42px; font-weight: 950; line-height: 1; color: var(--orange); }
.timeline { position: relative; margin: 8px 0 0 8px; padding-left: 30px; border-left: 2px solid rgba(240,138,36,.35); }
.timeline-item { position: relative; padding: 0 0 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--green); left: -37px; top: 7px; box-shadow: 0 0 0 5px var(--paper); }
.status { display: inline-block; background: var(--cream); color: var(--brown); border-radius: 8px; padding: 3px 8px; font-size: 12px; font-weight: 800; margin-bottom: 6px; }
.status.doing { background: #ffe1bd; }
.status.wait { background: #dfeedd; }
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.step::before { content: counter(step, decimal-leading-zero); color: var(--orange); font-size: 28px; font-weight: 950; }
.opinion-label { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; background: var(--green); color: white; border-radius: 8px; font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.app-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); gap: 20px; align-items: stretch; }
.app-card { padding: clamp(22px,4vw,36px); background: white; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.app-icon-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-icon { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; }
.notice { padding: 14px 16px; border-left: 4px solid var(--orange); background: #fff8ea; color: var(--muted); }
.policy-sections { display: grid; gap: 18px; }
.policy-card h2 { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 20px 22px; }
.faq-item h2 { font-size: 18px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin-bottom: 0; }
.site-footer { margin-top: 48px; background: var(--dark); color: var(--cream); padding: 38px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(248,226,176,.16); }
.footer-brand-row > p { max-width: 700px; margin: 0; color: #efd7a6; }
.footer-brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.footer-logo { max-width: 160px; max-height: 38px; object-fit: contain; }
.footer-brand strong { display: block; color: white; font-size: 18px; }
.footer-brand span { display: block; color: var(--yellow); font-size: 11px; letter-spacing: .08em; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: 28px 0; }
.footer-grid h2 { color: var(--yellow); font-size: 15px; }
.footer-grid a { display: block; color: var(--cream); padding: 4px 0; }
.footer-grid a:hover, .footer-grid a:focus-visible, .footer-bottom a:hover, .footer-bottom a:focus-visible { color: white; text-decoration: underline; outline: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(248,226,176,.16); color: #d8c091; font-size: 13px; }
.overlay { position: fixed; inset: 0; background: rgba(31,20,8,.5); z-index: 1100; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease; }
.overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.basket-panel { position: fixed; left: 50%; bottom: 0; width: min(760px, 100%); max-height: min(84vh, 820px); background: var(--paper); z-index: 1200; transform: translate(-50%, 104%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s; border-radius: 18px 18px 0 0; box-shadow: 0 -24px 50px rgba(31,20,8,.2); overflow-y: auto; }
.basket-panel.is-visible { transform: translate(-50%, 0); visibility: visible; pointer-events: auto; }
.panel-handle { width: 46px; height: 5px; border-radius: 3px; background: rgba(58,34,8,.22); margin: 10px auto 0; }
.panel-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px; background: rgba(255,244,224,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.panel-brand { display: flex; align-items: center; gap: 10px; }
.panel-brand img { max-width: 130px; max-height: 32px; object-fit: contain; }
.panel-close, .search-head button { min-width: 64px; min-height: 44px; border-radius: 10px; background: white; color: var(--brown); border: 1px solid var(--border); font-weight: 800; }
.basket-groups { padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.basket-groups h2 { font-size: 16px; margin-bottom: 8px; color: var(--green); }
.basket-groups a { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px dashed rgba(240,138,36,.25); }
.basket-groups a:last-child { border-bottom: 0; }
.basket-groups strong { color: var(--brown); }
.basket-groups span { color: var(--muted); font-size: 13px; }
.search-layer { position: fixed; z-index: 1200; left: 50%; top: 92px; width: min(760px, calc(100% - 32px)); transform: translate(-50%, -14px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.search-layer.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: white; border: 1px solid var(--border); box-shadow: var(--shadow); padding: 20px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.search-label { display: block; font-weight: 800; color: var(--brown); margin-bottom: 8px; }
.search-input { width: 100%; min-height: 48px; border: 1px solid rgba(58,34,8,.18); border-radius: 10px; padding: 0 14px; color: var(--text); background: #fffaf2; outline: none; }
.search-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,138,36,.14); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-presets a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; background: var(--cream); border-radius: 9px; color: var(--brown); font-weight: 700; }
.search-note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.mobile-bottom { display: none; }
@media (max-width: 860px) {
  .flavor-tags { grid-template-columns: repeat(2,1fr); }
  .shelf-grid, .tile-grid { grid-template-columns: 1fr; }
  .app-layout { grid-template-columns: 1fr; }
  .footer-brand-row { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  :root { --top-offset: 92px; }
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
  .fruit-tabs { display: none; }
  .site-main { padding-top: calc(var(--top-offset) + 18px); }
  .stall-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
  .brand-link { min-width: 0; overflow: hidden; }
  .brand-logo { max-width: 150px; }
  .brand-text { font-size: 18px; white-space: nowrap; }
  .basket-button, .app-link { min-width: 64px; padding: 0 10px; font-size: 14px; }
  .home-hero, .page-hero-media, .home-media, .shell { width: calc(100% - 32px); }
  .media-slot { min-height: 150px; }
  .flavor-tags { grid-template-columns: 1fr; }
  .directory-list a, .directory-item { grid-template-columns: 34px 1fr; }
  .directory-list .arrow { display: none; }
  .shelf-row { grid-template-columns: 1fr; gap: 5px; }
  .big-number-item { grid-template-columns: 58px 1fr; }
  .big-number { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .footer-bottom { flex-direction: column; }
  .basket-panel { max-height: 90vh; }
  .basket-groups { grid-template-columns: 1fr; }
  .search-layer { inset: 0; width: 100%; transform: none; background: var(--paper); }
  .search-layer.is-visible { transform: none; }
  .search-card { min-height: 100%; border: 0; box-shadow: none; padding: calc(20px + env(safe-area-inset-top)) 16px 90px; background: var(--paper); }
  .mobile-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: white; border-top: 1px solid var(--border); box-shadow: 0 -8px 20px rgba(58,34,8,.08); }
  .mobile-bottom a { min-height: 50px; display: flex; align-items: center; justify-content: center; color: var(--brown); font-size: 13px; font-weight: 800; }
  .mobile-bottom a.is-active { background: var(--orange); color: var(--dark); }
  .overlay { z-index: 1100; }
  .basket-panel, .search-layer { z-index: 1200; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
/* 扩展窄栏中的可点击命中区域，同时保持既定视觉高度。 */
.text-button, .tab-link { position: relative; }
.text-button::after { content: ""; position: absolute; left: -6px; right: -6px; top: 0; height: 44px; }
.tab-link::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 44px; }
.footer-grid a { min-height: 44px; display: flex; align-items: center; }
/* 扩展窄栏中的可点击命中区域，同时保持既定视觉高度。 */
.text-button, .tab-link { position: relative; }
.text-button::after { content: ""; position: absolute; left: -6px; right: -6px; top: 0; height: 44px; }
.tab-link::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 44px; }
.footer-grid a { min-height: 44px; display: flex; align-items: center; }
