
:root {
  --bg: #f7f1e6;
  --paper: #fffaf2;
  --ink: #271e18;
  --muted: #76675b;
  --line: rgba(80, 45, 34, 0.16);
  --brand: #7b2d23;
  --brand-2: #b57a39;
  --accent: #efe2cf;
  --shadow: 0 24px 60px rgba(70, 45, 27, .12);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgba(181,122,57,.16), transparent 26rem),
    linear-gradient(180deg, #fbf6ed 0%, var(--bg) 100%);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--ink); color: white; padding: 10px 14px; z-index: 20; }
.skip-link:focus { left: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); background: rgba(247,241,230,.86); border-bottom: 1px solid var(--line); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { min-width: 58px; height: 58px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--brand); font-weight: 900; font-size: 1rem; letter-spacing: .04em; line-height: 1; }
.brand strong { display: block; font-size: 1.1rem; }
@media (max-width: 480px) { .brand-mark { min-width: 52px; height: 52px; font-size: .92rem; padding: 0 8px; } }
.brand small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { background: rgba(123,45,35,.08); color: var(--brand); }
.hero { padding: 58px 0 34px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, 460px); align-items: center; gap: 34px; }
.eyebrow { color: var(--brand); font-weight: 800; letter-spacing: .08em; margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.18; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.35rem, 6vw, 5.6rem); max-width: 900px; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.2rem); }
h3 { font-size: 1.35rem; }
.hero-lead, .section-heading p, .about-section p, .featured-note p, .notice-card p { color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.18rem); }
.hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); font-weight: 800; }
.button.primary { color: white; background: var(--brand); border-color: var(--brand); }
.button:hover { transform: translateY(-1px); }
.local-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.local-points span { padding: 7px 12px; border-radius: 999px; background: rgba(181,122,57,.14); color: #694123; font-weight: 700; }
.hero-card {
  margin: 0;
  justify-self: end;
  width: min(100%, 460px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #efe4d5;
}
.hero-card figcaption { position: absolute; left: 16px; bottom: 16px; color: #fff; background: rgba(39,30,24,.72); padding: 8px 12px; border-radius: 999px; font-weight: 800; }
.quick-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-block: 22px 56px; }
.quick-info article { background: rgba(255,250,242,.8); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.quick-info span { display: block; color: var(--muted); font-size: .9rem; }
.quick-info strong { display: block; margin-top: 3px; }
.section-heading { margin-bottom: 22px; }
.products-section { padding: 32px 0 42px; }
.filter-bar { display: flex; gap: 12px; overflow-x: auto; padding: 18px 0 22px; margin-bottom: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.filter-chip { border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink); border-radius: 999px; padding: 11px 18px; font: inherit; font-weight: 800; white-space: nowrap; cursor: pointer; }
.filter-chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; align-items: stretch; }
.product-card { overflow: hidden; border-radius: 26px; background: rgba(255,250,242,.88); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(70,45,27,.08); }
.product-card[hidden] { display: none !important; }
.product-card { display: flex; flex-direction: column; min-height: 100%; }
.product-media {
  margin: 0;
  position: relative;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.72), transparent 22rem),
    linear-gradient(135deg, #efe4d5, #fbf5ec);
}
.product-main-image {
  width: 100%;
  height: clamp(230px, 22vw, 320px);
  object-fit: contain;
  padding: 12px;
  background: transparent;
}
.product-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  background: rgba(255,250,242,.92);
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
}
.thumb-button { flex: 0 0 auto; width: 56px; height: 56px; padding: 4px; border: 2px solid transparent; background: #fbf5ec; border-radius: 13px; overflow: hidden; cursor: pointer; }
.thumb-button.is-active { border-color: var(--brand); }
.thumb-button img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-topline { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.product-category, .product-featured { margin: 0; display: inline-flex; align-items: center; color: var(--brand); background: rgba(123,45,35,.08); border-radius: 999px; padding: 5px 10px; font-size: .88rem; font-weight: 800; }
.product-featured { color: #fff; background: var(--brand-2); }
.product-summary { color: var(--muted); margin: 12px 0 16px; }
.product-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-facts div { border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; background: rgba(255,255,255,.5); }
.product-facts dt { color: var(--muted); font-size: .82rem; }
.product-facts dd { margin: 0; font-weight: 900; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.product-tags span { color: #704329; background: rgba(181,122,57,.13); border-radius: 999px; padding: 4px 9px; font-size: .82rem; }

.guide-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 22px;
  align-items: stretch;
  padding: 34px 0 52px;
}
.guide-image {
  margin: 0;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #efe2cf;
}
.guide-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.guide-copy {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 8%, rgba(181,122,57,.14), transparent 18rem),
    rgba(255,250,242,.9);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 16px 40px rgba(70,45,27,.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-copy p { color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.16rem); }
.guide-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.guide-points span { padding: 8px 12px; border-radius: 999px; color: #704329; background: rgba(181,122,57,.14); font-weight: 800; }

.delivery-section, .about-section, .contact-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; padding: 52px 0; }
.notice-card, .about-panel, .contact-card, .map-embed, .featured-note { background: rgba(255,250,242,.86); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 16px 40px rgba(70,45,27,.08); }
.notice-card.strong { background: linear-gradient(135deg, #fffaf2, #efe0c8); }
.featured-section { padding: 46px 0; }
.featured-note { border-left: 5px solid var(--brand); }
.faq-section { padding: 46px 0; }
.faq-list { display: grid; gap: 12px; }
details { background: rgba(255,250,242,.86); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 900; }
details p { margin-bottom: 0; color: var(--muted); }
.contact-card address { font-style: normal; display: grid; gap: 10px; margin-top: 14px; }
.contact-card address span, .contact-card address a { padding: 11px 0; border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
@media (max-width: 980px) {
  .hero, .guide-section, .delivery-section, .about-section, .contact-section { grid-template-columns: 1fr; }
  .hero-card { justify-self: stretch; width: 100%; max-height: 560px; }
  .quick-info { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding: 12px 0; flex-direction: column; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1180px); }
  .hero { padding-top: 34px; }
  .hero-card { aspect-ratio: 4 / 5; max-height: none; }
  .guide-section { padding: 20px 0 38px; }
  .guide-image, .guide-image img { min-height: 230px; }
  .product-card { border-radius: 22px; }
  .hero-card figcaption { position: static; color: var(--ink); background: transparent; border-radius: 0; padding: 10px 0 0; }
}

@media (max-width: 640px) {
  .product-main-image { height: clamp(220px, 72vw, 300px); padding: 10px; }
  .thumb-button { width: 52px; height: 52px; }
  .product-body { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}

.map-embed { min-height: 310px; overflow: hidden; padding: 0; }
.map-embed iframe { width: 100%; height: 100%; min-height: 310px; border: 0; display: block; }
@media (max-width: 720px) { .map-embed, .map-embed iframe { min-height: 280px; } }
