/* 威酒穀倉 wewhiskybarn.com：輕盈現代、米白底、白色照片底、深松綠點綴 */
:root {
  --bg: #F7F6F3;
  --paper: #FFFFFF;
  --ink: #1C1C1A;
  --ink-2: #3D3B37;
  --muted: #5E5C57;
  --line: #E3E0D9;
  --line-2: #D6D2C9;
  --soft: #EFEDE7;
  --accent: #2E4A3B;
  --accent-ink: #1F3329;
  --accent-tint: #E4ECE7;
  --sold: #4A4844;
  --serif: 'Noto Serif TC', 'Songti TC', serif;
  --latin: 'Cormorant Garamond', 'Noto Serif TC', serif;
  --sans: Inter, 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --warn-h: max(10vh, 64px);
  --header-h: 117px;
  --gutter: 32px;
}
@media (max-width: 760px) {
  :root { --header-h: 73px; --gutter: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: var(--warn-h);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: 0.04em; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--paper); padding: 8px 16px; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 12px; letter-spacing: 0.32em; color: var(--accent); font-weight: 500; }
.lead { font-size: 17px; line-height: 1.9; color: var(--muted); max-width: 36em; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; font-size: 15px; letter-spacing: 0.08em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; background: none;
}
.btn-primary { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-ink); color: #FFFFFF; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-white:hover { color: var(--accent); }
.btn-soft { border-color: var(--line); color: var(--ink); }
.btn-soft:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; letter-spacing: 0.02em; gap: 8px; }
.btn-block { width: 100%; min-height: 56px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; font-size: 15px; }

/* ---------- 頁首 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.brand img { height: 86px; width: auto; }
.brand span { font-size: 11px; letter-spacing: 0.28em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.main-nav a { color: var(--muted); text-decoration: none; padding: 10px 0 4px; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.main-nav .nav-ig-button { display: none; }
.header-tools { display: flex; align-items: center; gap: 4px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; padding: 0; }
.menu-btn { display: none; }
.menu-btn .i-close { display: none; }

@media (max-width: 760px) {
  .header-row { padding: 8px 12px 8px 16px; height: 72px; }
  .brand { gap: 10px; }
  .brand img { height: 56px; }
  .brand span { font-size: 10px; letter-spacing: 0.18em; white-space: nowrap; }
  .header-tools .icon-btn { width: 38px; }
  .icon-btn { border: 0; }
  .menu-btn { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 24px;
    max-height: calc(100vh - var(--header-h) - var(--warn-h)); overflow-y: auto;
  }
  .main-nav a { display: flex; align-items: center; min-height: 56px; padding: 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 20px; color: var(--ink); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .main-nav .nav-ig-button { display: flex; justify-content: center; gap: 10px; margin-top: 20px; min-height: 52px; background: var(--accent); color: #FFFFFF; font-family: var(--sans); font-size: 15px; border: 0; }
  .menu-open .main-nav { display: flex; }
  .menu-open .menu-btn .i-open { display: none; }
  .menu-open .menu-btn .i-close { display: block; }
}

/* ---------- 首頁 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; max-width: 1600px; margin: 0 auto; }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 72px 56px 72px max(32px, calc((min(100vw, 1600px) - 1280px) / 2 + 32px)); }
/* 標題字級跟著左欄寬度縮放（最大 56px），「多樣的威士忌，」一定排在同一行，不會把「忌」擠到下一行 */
.hero h1 { font-size: clamp(28px, calc((min(100vw, 1600px) * 5 / 12 - 88px) / 7.5), 56px); line-height: 1.25; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero-stats { display: flex; gap: 40px; margin: 0; padding: 20px 0 4px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-stats dt { font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.hero-stats dd { margin: 0; font-family: var(--latin); font-size: 40px; line-height: 1; color: var(--ink); }
/* 九宮格高度跟左邊文字區（小標到按鈕）一樣：上下留白同 .hero-text，三列平分高度；圓角方塊彼此相連（gap 0） */
.hero-mosaic { display: grid; grid-template-rows: repeat(3, auto); grid-template-columns: repeat(3, auto); gap: 0; justify-content: center; align-content: center; align-self: stretch; padding: 72px 48px; perspective: 900px; contain: size; container-type: size; }
/* 每格邊長取「寬度/3、高度/3、176px」三者最小，任何視窗寬高下九格都緊貼、不重疊 */
.hero-mosaic .tile { --s: min(calc(100cqw / 3), calc(100cqh / 3), 176px); width: var(--s); height: var(--s); }
.tile { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper);
  box-shadow: 0 3px 10px rgba(0,0,0,.14); transition: transform .45s ease-in; transform-style: preserve-3d; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.15); transition: transform .8s ease; }
/* 相連的格子加一圈淡淡內陰影，看得出每格的邊界 */
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), inset 0 0 10px rgba(0,0,0,.14); pointer-events: none; }
.tile.flip-x { transform: rotateY(90deg); }
.tile.flip-y { transform: rotateX(90deg); }
.tile span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 18%; color: #FFFFFF;
  font-family: var(--latin); font-size: 14px; line-height: 1.3; background: rgba(28,28,26,.6); opacity: 0; transition: opacity .25s; }
.tile:hover img { transform: scale(1.25); }
.tile:hover span, .tile:focus-visible span { opacity: 1; }
.block { padding-top: 96px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 40px; }
.block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.block-head > div { display: flex; flex-direction: column; gap: 12px; }
.block h2 { font-size: 36px; }

.series-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.series-row { background: var(--bg); padding: 32px 28px; min-height: 180px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; text-decoration: none; color: var(--ink); }
.series-row:hover { background: var(--paper); color: var(--ink); }
.series-text { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: 14px; min-width: 0; }
.series-names { display: flex; flex-direction: column; gap: 8px; }
.series-zh { font-family: var(--serif); font-size: 26px; letter-spacing: 0.06em; }
.series-en { font-family: var(--latin); font-size: 22px; color: var(--muted); line-height: 1.1; }
.series-count { font-size: 14px; color: var(--muted); }
.series-row svg { flex: none; }

.about { background: var(--paper); border-top: 1px solid var(--line); margin-top: 48px; }
.about-row { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.about-row > div:first-child { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; }
.about h2 { font-size: 36px; }
.about-text { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 2; color: var(--ink-2); }

.ig-band { background: var(--accent); color: #FFFFFF; }
.ig-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; padding-top: 72px; padding-bottom: 72px; }
.ig-row > div { display: flex; flex-direction: column; gap: 12px; }
.ig-band h2 { font-size: 32px; }
.ig-band p { font-size: 16px; line-height: 1.8; color: var(--accent-tint); }

@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; }
  .hero-text { padding: 40px 24px 32px; gap: 20px; }
  .hero h1 { font-size: 34px; line-height: 1.35; }
  .lead { font-size: 15px; }
  .hero-stats { gap: 28px; padding-top: 16px; }
  .hero-stats dd { font-size: 32px; }
  .hero .actions { flex-direction: column; gap: 12px; padding-top: 4px; }
  .hero-mosaic { contain: none; container-type: normal; grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 110px)); gap: 0; padding: 8px 24px 36px; }
  .hero-mosaic .tile { height: auto; width: 100%; border-radius: 10px; }
  .tile span { display: none; }
  .hero .btn { min-height: 52px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.3em; }
  .block { padding-top: 48px; padding-bottom: 32px; gap: 24px; }
  .block-head { padding: 0 8px; flex-wrap: nowrap; }
  .block-head > div { gap: 8px; }
  .block h2, .about h2 { font-size: 26px; }
  .series-list { display: flex; flex-direction: column; gap: 0; background: none; border: 0; border-top: 1px solid var(--line); }
  .series-row { min-height: 88px; padding: 16px 8px; align-items: center; border-bottom: 1px solid var(--line); }
  .series-text { gap: 4px; }
  .series-names { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .series-zh { font-size: 20px; }
  .series-en { font-size: 18px; }
  .series-count { font-size: 13px; }
  .about { margin-top: 24px; }
  .about-row { padding: 56px 24px; gap: 20px; }
  .about-row > div:first-child { gap: 8px; flex-basis: 100%; }
  .about-text { font-size: 15px; line-height: 1.95; gap: 16px; flex-basis: 100%; }
  .ig-row { padding: 48px 24px; flex-direction: column; align-items: stretch; gap: 20px; }
  .ig-band h2 { font-size: 24px; }
  .ig-band p { font-size: 15px; }
  .ig-row .btn { min-height: 52px; }
}

/* ---------- 酒款卡片 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 24px; }
.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.card:hover { color: var(--ink); }
.card:hover .card-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card-img { position: relative; display: flex; align-items: center; justify-content: center; background: var(--paper); aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 8px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card.is-sold .card-img img { opacity: 0.45; filter: grayscale(0.6); }
.card-series { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.card-name { font-family: var(--latin); font-size: 21px; font-weight: 600; line-height: 1.25; }
.card-meta { font-size: 14px; color: var(--muted); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; font-size: 13px; letter-spacing: 0.08em; color: #FFFFFF; background: var(--accent); }
.badge-sold { background: var(--sold); }
.no-photo { font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }

@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .card { gap: 4px; }
  .card-img { margin-bottom: 6px; }
  .card-series { font-size: 11px; letter-spacing: 0.1em; }
  .card-name { font-size: 18px; line-height: 1.2; }
  .card-meta { font-size: 13px; }
  .badge { top: 8px; left: 8px; padding: 4px 8px; font-size: 12px; }
}

/* ---------- 列表頁、篩選列 ---------- */
.page-head { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-size: 44px; }
.list-head { flex-direction: row; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.list-head > div { display: flex; flex-direction: column; gap: 12px; }
.search { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); flex: 0 1 340px; }
.search-box { position: relative; display: block; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); padding: 0 14px 0 42px; font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }

.filter-bar { position: sticky; top: var(--header-h); z-index: 40; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; white-space: nowrap; }
.chip span { color: var(--muted); margin-left: 2px; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.chip[aria-pressed="true"] span { color: var(--accent-tint); }
.filter-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--ink); font-size: 14px; cursor: pointer; }
.switch .track { position: relative; width: 40px; height: 24px; border-radius: 999px; border: 1px solid #B9B4AA; background: var(--paper); flex: none; transition: background .15s; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 999px; background: #8A857B; transition: left .15s; }
.switch[aria-pressed="true"] .track { background: var(--accent); border-color: var(--accent); }
.switch[aria-pressed="true"] .knob { left: 19px; background: #FFFFFF; }
.count { font-size: 13px; color: var(--muted); }
.list-body { padding-top: 40px; padding-bottom: 96px; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }
.card[hidden], .store[hidden] { display: none; }

@media (max-width: 760px) {
  .page-head { padding: 32px 24px 16px; gap: 10px; }
  .page-head h1 { font-size: 30px; }
  .list-head { flex-direction: column; align-items: stretch; gap: 20px; padding-left: 24px; padding-right: 24px; }
  .list-head > div { gap: 8px; }
  .search { flex-basis: auto; gap: 6px; }
  .filter-row { padding: 0; gap: 0; flex-direction: column; align-items: stretch; min-width: 0; }
  .filter-bar { overflow: hidden; }
  .chips { flex-wrap: nowrap; overflow-x: auto; min-width: 0; max-width: 100%; padding: 12px 24px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 40px; padding: 0 16px; background: var(--paper); }
  .filter-tools { margin: 0; justify-content: space-between; padding: 0 24px 8px; }
  .filter-row > .count { padding: 0 24px 10px; }
  .list-body { padding-top: 24px; padding-bottom: 48px; }
}

/* ---------- 酒款介紹頁 ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; color: var(--muted); }
.crumbs a:first-child svg { display: none; }
.bottle { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-top: 16px; padding-bottom: 80px; }
.gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main { background: var(--paper); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.thumb { padding: 0; background: var(--paper); aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid transparent; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.bottle-info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.title-block { display: flex; flex-direction: column; gap: 12px; }
.title-block h1 { font-family: var(--latin); font-weight: 600; font-size: 44px; line-height: 1.12; letter-spacing: 0; }
.zh-name { font-family: var(--serif); font-size: 17px; line-height: 1.7; }
.buy-box { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 14px; letter-spacing: 0.08em; color: #FFFFFF; background: var(--accent); }
.status .dot { width: 6px; height: 6px; border-radius: 999px; background: #FFFFFF; }
.status-sold { background: var(--sold); }
.status-note { font-size: 15px; color: var(--ink-2); }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--line); }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.specs dt { font-size: 13px; color: var(--muted); }
.specs dd { margin: 0; font-size: 16px; }
.prose-block { display: flex; flex-direction: column; gap: 14px; }
.prose-block h2 { font-size: 22px; }
.prose-block > p { font-size: 16px; line-height: 2; color: var(--ink-2); }
.notes { display: flex; flex-direction: column; gap: 12px; }
.note { background: var(--paper); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.note-label { font-size: 12px; letter-spacing: 0.2em; color: var(--accent); font-weight: 500; }
.note p { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.prose-block .credit { font-size: 13px; color: var(--muted); }
.related { border-top: 1px solid var(--line); padding: 72px 0 96px; }
.related h2 { font-size: 30px; margin-bottom: 32px; }

@media (max-width: 760px) {
  .crumbs { padding: 4px 12px 0; }
  .crumbs a:first-child svg { display: block; }
  .crumbs span, .crumbs a + span + a { display: none; }
  .bottle { padding: 0 0 32px; gap: 28px; }
  .gallery { position: static; flex-basis: 100%; gap: 10px; }
  .thumbs { display: flex; gap: 8px; padding: 0 16px; }
  .thumb { width: 64px; height: 64px; flex: none; border-color: var(--line); }
  .thumb[aria-pressed="true"] { border: 1.5px solid var(--ink); }
  .bottle-info { padding: 0 24px; gap: 24px; flex-basis: 100%; }
  .title-block { gap: 10px; }
  .title-block h1 { font-size: 32px; line-height: 1.15; }
  .zh-name { font-size: 16px; }
  .buy-box { padding: 16px; gap: 14px; }
  .status { font-size: 13px; padding: 5px 12px; }
  .status-note { font-size: 14px; }
  .btn-block { min-height: 52px; }
  .specs { column-gap: 16px; }
  .specs dt { font-size: 12px; }
  .specs dd { font-size: 15px; }
  .prose-block { gap: 12px; }
  .prose-block h2 { font-size: 20px; }
  .prose-block > p { font-size: 15px; }
  .note { padding: 16px 18px; }
  .note p { font-size: 14px; }
  .related { padding: 40px 0 48px; }
  .related .wrap { padding: 0; }
  .related h2 { font-size: 22px; padding: 0 24px; margin-bottom: 20px; }
  .related-grid { display: flex; gap: 12px; overflow-x: auto; padding: 0 24px; scrollbar-width: none; }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-grid .card { flex: none; width: 150px; }
}

/* ---------- 合作店家 ---------- */
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding-top: 40px; padding-bottom: 96px; align-items: stretch; }
.store { background: #FFFFFF; border-radius: 18px; padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 200px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05); }
.store-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.store h2 { font-size: 22px; line-height: 1.35; }
.store-city { flex: none; font-size: 14px; color: var(--accent); background: #EEF2EF; border-radius: 999px; padding: 5px 13px; }
.store-addr { display: flex; gap: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.store-addr svg { flex: none; margin-top: 3px; color: var(--muted); }
.store-actions { margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 8px; }
.store-map { margin-right: auto; font-size: 14px; color: #FFFFFF; background: var(--accent); border-radius: 999px; padding: 9px 18px; text-decoration: none; }
.store-map:hover { background: var(--ink); color: #FFFFFF; }
.store-ic { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.store-ic:hover { border-color: var(--ink); }
.join { border-top: 1px solid var(--line); background: var(--paper); }
.join h2 { font-size: 26px; }
.join p { font-size: 15px; line-height: 1.8; color: var(--muted); }

@media (max-width: 760px) {
  .stores { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 16px 48px; }
  .store { padding: 20px; gap: 12px; min-height: 0; }
  .store h2 { font-size: 19px; }
  .store-ic { width: 40px; height: 40px; }
  .join h2 { font-size: 22px; }
}

/* ---------- 頁尾 ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 40px; padding-bottom: 48px; font-size: 13px; color: var(--muted); }
.footer-row .health { order: 2; }
@media (max-width: 760px) {
  .footer-row { flex-direction: column; padding: 28px 24px 32px; }
  .footer-row .health { order: 0; font-size: 14px; color: var(--ink); }
}

/* ---------- 警語列：固定在畫面最底部，約畫面 1/10 高，黑底白字、明體 ----------
   字高固定（至少列高 1/2）；窄螢幕時文字橫向壓扁，維持一行。 */
.warn {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  height: var(--warn-h);
  padding: 0 12px env(safe-area-inset-bottom);
  background: #000000; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; gap: 1.5vw;
  overflow: hidden;
}
.warn-text {
  height: calc(var(--warn-h) * 0.7);
  width: calc(var(--warn-h) * 0.7 * 0.74 * var(--n));
  flex: 0 1 auto; min-width: 0; display: block;
}
.warn-text text { fill: #FFFFFF; font-family: var(--serif); font-weight: 600; }
.warn-icon { height: calc(var(--warn-h) * 0.8); width: calc(var(--warn-h) * 0.8); flex: none; }
/* 空間不夠放「禁止酒駕＋圖示＋右邊文字」時，拿掉左邊「禁止酒駕」，留圖示＋「未成年請勿飲酒」（2026-11-13 STPB）。
   手機寬度一律精簡；其他寬度由 site.js 量過後加 .warn-compact。 */
.warn-compact .warn-left { display: none; }
@media (max-width: 760px) {
  .warn .warn-left { display: none; }  /* 手機：紅色禁止圖示＋「未成年請勿飲酒」（2026-11-13 STPB 要留圖示） */
}

@media (max-width: 380px) { .brand span { display: none; } }  /* 很窄的手機：頁首放不下英文字，只留 logo */

@media print {
  .site-header, .filter-bar, .warn { position: static; }
  body { padding-bottom: 0; }
}

/* 2026-11-12 第二輪：其他系列入口 */
.other-series { padding-top: 0; }
.other-series h2 { font-size: 30px; }
@media (max-width: 760px) {
  .other-series { padding: 8px 0 48px; gap: 16px; }
  .other-series h2 { font-size: 22px; padding: 0 24px; }
}

/* 首頁跑馬燈：系列 logo、酒款照片（2026-11-13） */
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee:active .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-brands { background: #43454A; }
.marquee-brands li a { display: flex; align-items: center; height: 112px; padding: 0 48px; color: #FFFFFF; text-decoration: none; opacity: .92; }
.marquee-brands li a:hover { opacity: 1; }
.marquee-brands img { display: block; width: auto; height: var(--h); }
.brand-word { font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.marquee-bottles { padding: 32px 0 8px; }
.marquee-bottles .marquee-track { animation-duration: 70s; animation-direction: reverse; }
.marquee-bottles li a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 200px; margin: 0 12px; color: var(--ink); text-decoration: none; }
.marquee-bottles img { width: 200px; height: 200px; object-fit: contain; background: #FFFFFF; display: block; }
.marquee-bottles span { font-family: "Cormorant Garamond", serif; font-size: 15px; line-height: 1.3; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) {
  .marquee-brands li a { height: 80px; padding: 0 28px; }
  .marquee-brands img { height: calc(var(--h) * .72); }
  .brand-word { font-size: 24px; }
  .marquee-bottles { padding: 20px 0 0; }
  .marquee-bottles li a { width: 140px; margin: 0 8px; }
  .marquee-bottles img { width: 140px; height: 140px; }
  .marquee-bottles span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee-track { animation: none; }
  .marquee-track > ul[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } }

/* 頁首搜尋：放大鏡旁邊展開的小搜尋框＋浮動結果（2026-11-13） */
.header-tools { position: relative; }
.site-search { position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%); width: 280px; z-index: 60; }
.site-search[hidden] { display: none; }
.search-form { position: relative; display: flex; align-items: center; }
.search-form svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.search-form input { width: 100%; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); padding: 0 14px 0 34px;
  font: inherit; font-size: 14px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search-form input::placeholder { color: var(--muted); }
.search-form input:focus { outline: none; border-color: var(--ink); }
.search-close { display: none; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); padding: 8px 2px 8px 10px; cursor: pointer; white-space: nowrap; }
.search-results { position: absolute; right: 0; top: calc(100% + 8px); width: 380px; max-height: min(60vh, 480px); overflow-y: auto;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0,0,0,.08); padding: 4px 16px 12px; }
.search-results:empty { display: none; }
.sr-list { list-style: none; margin: 0; padding: 0; }
.sr-list li { min-width: 0; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sr-item:hover .sr-en, .sr-item:focus-visible .sr-en { color: var(--accent); }
.sr-item img, .sr-item .sr-ph { flex: none; width: 44px; height: 44px; object-fit: contain; background: var(--paper); }
.sr-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.sr-en { font-family: var(--latin); font-size: 15px; line-height: 1.25; }
.sr-zh { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-sold { font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); padding: 0 5px; margin-left: 6px; }
.sr-more, .sr-none { display: block; padding: 12px 0 0; font-size: 13px; color: var(--muted); }
.sr-more { color: var(--accent); }
.search-btn[aria-expanded="true"] { background: var(--paper); border-color: var(--ink); }
@media (max-width: 760px) {
  .header-tools { position: static; }
  .site-search { position: absolute; left: 12px; right: 12px; top: 0; height: 64px; width: auto; transform: none; display: flex; flex-direction: column; justify-content: center; background: var(--bg); }
  .search-form input { height: 40px; }
  .search-close { display: block; }
  .search-results { left: -12px; right: -12px; width: auto; top: 72px; max-height: calc(100vh - var(--header-h) - var(--warn-h)); border-left: 0; border-right: 0; }
}
.search input { font-size: 15px; }
.search input:focus { outline: none; border-color: var(--ink); }
.search-box svg { width: 16px; height: 16px; }

/* 回到頂端 */
.to-top { position: fixed; right: 24px; bottom: calc(var(--warn-h) + 20px); z-index: 150; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2);
  box-shadow: 0 4px 14px rgba(0,0,0,.10); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.to-top[hidden] { display: none; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--ink); }
@media (max-width: 760px) { .to-top { right: 16px; bottom: calc(var(--warn-h) + 16px); width: 44px; height: 44px; } }
.hero .btn { border-radius: 999px; padding-left: 28px; padding-right: 28px; }
