:root {
  --paper: #fffaf2;
  --paper-strong: #fffdf9;
  --ink: #221d19;
  --muted: #71685f;
  --line: #2d2824;
  --amber: #e5aa4f;
  --amber-soft: #f5d792;
  --brick: #c84e32;
  --brick-dark: #a83c25;
  --green: #31553f;
  --green-soft: #e7efe7;
  --shadow: 8px 9px 0 rgba(45, 40, 36, 0.16);
  font-family:
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--amber);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(91, 64, 27, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 64, 27, 0.08) 1px, transparent 1px),
    var(--amber);
  background-size: 46px 46px;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.22), transparent 34%);
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 4px solid #1769aa;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 900;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.section-shell,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: auto;
}

.brand span {
  display: grid;
}

.brand strong {
  font-size: 1.16rem;
  line-height: 1.2;
}

.brand small {
  color: rgba(34, 29, 25, 0.7);
  font-size: 0.78rem;
  font-weight: 850;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav a {
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.site-header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-header .header-featured-link {
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 4px 0 var(--line);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 52px;
  align-items: center;
  min-height: 590px;
  padding: 64px;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 48px;
  background: var(--paper);
  box-shadow: 10px 12px 0 rgba(45, 40, 36, 0.85);
}

.hero::before {
  content: "";
  position: absolute;
  top: 18px;
  right: -16px;
  width: 190px;
  border-top: 3px dashed var(--brick);
  transform: rotate(18deg);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(200, 78, 50, 0.12);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brick);
  font-weight: 950;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border: 2px solid var(--line);
  border-radius: 13px;
  background: var(--brick);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 4px 5px 0 var(--line);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.primary-button:hover {
  background: var(--brick-dark);
  transform: translate(2px, 2px);
  box-shadow: 2px 3px 0 var(--line);
}

.text-link {
  font-weight: 900;
  text-underline-offset: 4px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.hero-facts div {
  padding: 13px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--amber-soft);
}

.hero-facts dt {
  font-size: 1.05rem;
  font-weight: 950;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-photos {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: end;
}

.hero-photos figure {
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.hero-photos figure + figure {
  margin-left: -30px;
  transform: translateY(48px) rotate(4deg);
}

.hero-photos img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}

.hero-photos figcaption {
  padding: 12px 14px;
  font-weight: 950;
}

.intent-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 34px 0 0;
}

.intent-strip a {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  font-size: 1.05rem;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 4px 5px 0 rgba(45, 40, 36, 0.65);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.intent-strip a:hover {
  transform: translateY(-3px);
  box-shadow: 6px 8px 0 rgba(45, 40, 36, 0.65);
}

.intent-strip span {
  color: var(--brick);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.directory-shell {
  margin-top: 34px;
  padding: 54px 60px 64px;
  border: 3px solid var(--line);
  border-radius: 42px;
  background: var(--paper);
  box-shadow: 10px 12px 0 rgba(45, 40, 36, 0.85);
}

.directory-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
}

.directory-heading h2,
.section-heading h2,
.campaign-callout h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.freshness-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 340px;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.freshness-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(49, 85, 63, 0.14);
}

.finder {
  display: grid;
  gap: 22px;
  margin-top: 34px;
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 28px;
  background: var(--paper-strong);
}

.finder > label,
.finder legend {
  font-weight: 950;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 0 16px 0 20px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 5px 6px 0 var(--line);
}

.search-field > span {
  font-size: 2rem;
  line-height: 1;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.search-field input::placeholder {
  color: #8b827a;
}

.search-field button {
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: #eee7de;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.finder fieldset {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 0;
  border: 0;
}

.finder legend {
  float: left;
  padding-top: 11px;
  color: var(--muted);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row button,
.reset-button,
.empty-state button,
.directory-actions button {
  min-height: 46px;
  padding: 9px 15px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 3px 4px 0 rgba(45, 40, 36, 0.28);
  cursor: pointer;
}

.filter-row button:hover:not(:disabled),
.reset-button:hover,
.empty-state button:hover,
.directory-actions button:hover {
  background: #f8efe3;
}

.filter-row button.is-active {
  background: var(--brick);
  color: #fff;
  box-shadow: 3px 4px 0 var(--line);
}

.filter-row button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding-inline: 5px;
  border-radius: 999px;
  background: rgba(45, 40, 36, 0.1);
  font-size: 0.72rem;
}

.is-active .filter-count {
  background: rgba(255, 255, 255, 0.2);
}

.finder-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 4px;
}

.finder-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.reset-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 7px 12px;
  box-shadow: none;
}

.result-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin: 38px 0 18px;
}

.result-summary > div {
  display: grid;
  gap: 3px;
}

.result-summary strong {
  font-size: 1.42rem;
}

.result-summary span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

#live-refresh-status.is-live {
  color: var(--green);
}

#live-refresh-status.is-warning {
  color: #8b4e1f;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 5px 6px 0 rgba(45, 40, 36, 0.2);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 7px 9px 0 rgba(45, 40, 36, 0.25);
}

.store-card > img,
.store-photo-placeholder {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  background: #eadbc8;
}

.store-photo-placeholder {
  display: grid;
  place-items: center;
  color: rgba(49, 85, 63, 0.7);
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  background:
    radial-gradient(circle at 25% 30%, rgba(229, 170, 79, 0.6), transparent 30%),
    linear-gradient(145deg, #f5e7d3, #e4d4bd);
}

.store-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.store-card-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 24px;
  margin-bottom: 10px;
}

.store-card-labels span,
.store-card-labels em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.store-card-labels em {
  background: #f8ddd4;
  color: var(--brick-dark);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-card h3 {
  margin-bottom: 9px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.store-card p,
.store-card address {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.55;
}

.store-card p {
  margin-bottom: 7px;
}

.store-card address {
  margin-bottom: 16px;
}

.store-card-body > strong {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e2d8cd;
  color: var(--brick-dark);
  font-size: 0.84rem;
}

.empty-state {
  padding: 44px 24px;
  border: 2px dashed #8d8175;
  border-radius: 20px;
  text-align: center;
}

.empty-state strong {
  font-size: 1.3rem;
}

.empty-state p {
  margin: 8px auto 18px;
  color: var(--muted);
}

.directory-actions {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 28px;
}

.directory-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.directory-actions button {
  min-width: 210px;
  background: var(--amber-soft);
  box-shadow: 4px 5px 0 var(--line);
}

.noscript-note {
  margin: 24px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: #f4e9db;
  color: var(--muted);
  text-align: center;
  font-weight: 750;
}

.area-guide,
.faq-section {
  margin-top: 34px;
  padding: 64px 60px;
  border: 3px solid var(--line);
  border-radius: 42px;
  background: var(--paper);
  box-shadow: 10px 12px 0 rgba(45, 40, 36, 0.85);
}

.section-heading {
  max-width: 850px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.guide-grid article {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.guide-grid article > span {
  color: var(--brick);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.guide-grid h3 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
}

.guide-grid p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.guide-grid a {
  margin-top: auto;
  color: var(--brick-dark);
  font-weight: 950;
  text-underline-offset: 4px;
}

.campaign-callout {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  margin-top: 34px;
  padding: 44px 50px;
  border: 3px solid var(--line);
  border-radius: 32px;
  background: var(--green);
  color: #fff;
  box-shadow: 8px 10px 0 rgba(45, 40, 36, 0.85);
}

.campaign-callout > div {
  max-width: 770px;
}

.campaign-callout .eyebrow {
  color: var(--amber-soft);
}

.campaign-callout h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.campaign-callout p:last-child {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  line-height: 1.7;
}

.campaign-callout .primary-button {
  flex: 0 0 auto;
  background: var(--amber);
  color: var(--ink);
}

.compact-heading {
  max-width: 700px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.faq-list details {
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.faq-list summary {
  padding: 19px 22px;
  font-weight: 950;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.75;
}

.site-footer {
  padding: 42px 0 48px;
}

.site-footer > div {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer nav a {
  font-size: 0.86rem;
  font-weight: 900;
}

.site-footer > p {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(45, 40, 36, 0.32);
  color: rgba(34, 29, 25, 0.7);
  font-size: 0.78rem;
  font-weight: 750;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 52px;
  }

  .hero-photos {
    width: min(620px, 100%);
  }

  .intent-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-heading {
    display: block;
  }

  .freshness-note {
    margin-top: 16px;
  }

  .store-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid article:last-child {
    grid-column: span 2;
    min-height: 0;
  }

  .campaign-callout {
    align-items: end;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 74px;
    padding: 9px 0;
  }

  .brand small,
  .site-header nav a:not(.header-featured-link) {
    display: none;
  }

  .site-header .header-featured-link {
    padding: 8px 11px;
    font-size: 0.82rem;
  }

  .hero,
  .directory-shell,
  .area-guide,
  .faq-section {
    border-radius: 28px;
    box-shadow: 6px 7px 0 rgba(45, 40, 36, 0.85);
  }

  .hero {
    gap: 34px;
    padding: 36px 24px 44px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.75rem);
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding: 10px 12px;
  }

  .hero-photos figure + figure {
    margin-left: -18px;
    transform: translateY(28px) rotate(4deg);
  }

  .intent-strip {
    display: flex;
    gap: 10px;
    margin-inline: 0;
    padding: 24px 12px 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .intent-strip a {
    flex: 0 0 165px;
    min-height: 82px;
  }

  .directory-shell,
  .area-guide,
  .faq-section {
    padding: 38px 18px 44px;
  }

  .finder {
    padding: 18px;
  }

  .finder fieldset {
    display: block;
  }

  .finder legend {
    float: none;
    margin-bottom: 10px;
    padding-top: 0;
  }

  .filter-row {
    flex-wrap: nowrap;
    margin-inline: -18px;
    padding: 0 18px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-row button {
    flex: 0 0 auto;
  }

  .finder-footer,
  .result-summary {
    display: grid;
    align-items: start;
  }

  .finder-footer {
    justify-items: start;
  }

  .store-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid article,
  .guide-grid article:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .campaign-callout {
    display: grid;
    padding: 34px 24px;
    border-radius: 26px;
  }

  .campaign-callout .primary-button {
    width: 100%;
  }

  .site-footer > div {
    display: grid;
  }

  .site-footer nav {
    gap: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-button,
  .intent-strip a,
  .store-card {
    transition: none;
  }
}
