/* ============ 前台樣式：深藍夜空＋金色 ============ */
:root {
  /* ABURA 配色：米白底、灰綠主色、深灰文字、棕色點綴 */
  --bg: #f6f5f0;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --card: #efece5;
  --card-2: #e7e3da;
  --line: #e0ddd5;
  --line-2: #cdc8bd;
  --ink: #2c2c2c;
  --ink-2: #555350;
  --muted: #857f76;
  --dim: #b5afa4;
  --gold: #5d6d5d;        /* 主色（灰綠）：按鈕、選取狀態 */
  --gold-2: #8d7b70;      /* 點綴（棕）：小標、強調文字 */
  --gold-ink: #f6f5f0;    /* 主色上的文字 */
  --green: #4f6b52;
  --green-bg: rgba(93, 109, 93, .12);
  --step-done: #c9d1c3;
  --coral: #b35f52;
  --coral-bg: rgba(179, 95, 82, .1);
  --blue: #efe6d2;        /* 橫幅上的麵包屑目前頁 */
  --radius: 12px;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --latin: "Playfair Display", "Noto Serif TC", serif;
  --gutter: 40px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.75 var(--serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 500; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
[hidden] { display: none !important; }
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .03em; }
.pre { white-space: pre-line; }
.gold { color: var(--gold-2); }
.container { max-width: 1720px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow, .panel.narrow { max-width: 920px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* ---------- 按鈕 ---------- */
.btn-gold, .btn-line, .btn-outline-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1.05rem/1 var(--serif); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  padding: 16px 30px; border-radius: 8px; white-space: nowrap; transition: filter .15s, background .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--gold-ink); border: 1px solid var(--gold); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-gold.big, .btn-line.big { padding: 22px 44px; font-size: 1.2rem; }
.btn-gold.block, .btn-line.block { width: 100%; }
.btn-gold.disabled { opacity: .45; cursor: not-allowed; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-line.small { padding: 9px 18px; font-size: .98rem; font-weight: 600; }
.btn-outline-gold { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; padding: 18px 64px; font-size: 1.15rem; font-weight: 500; letter-spacing: .12em; }
.btn-outline-gold:hover { background: var(--gold); color: var(--gold-ink); }
.btn-outline-gold.big { padding: 20px 60px; }

/* ---------- 頁首 ---------- */
.masthead { position: relative; z-index: 50; background: var(--bg); }
.socials { display: flex; gap: 22px; }
.socials a { color: var(--ink-2); display: inline-flex; }
.socials a:hover { color: var(--gold-2); }
.socials .ic { width: 24px; height: 24px; }
.contact-line { display: flex; gap: 48px; font: 500 .8rem/1 var(--serif); letter-spacing: .2em; color: var(--ink-2); }
.contact-line a { text-decoration: none; }
.contact-line a:hover { color: var(--gold-2); }

.site-header { background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 18px var(--gutter); max-width: 1920px; margin: 0 auto; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 34px; }
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right .text-link { font-size: 1.18rem; font-weight: 600; text-decoration: none; letter-spacing: .04em; position: relative; padding: 6px 0; }
.nav-left a::after, .nav-right .text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav-left a:hover::after, .nav-left a.on::after, .nav-right .text-link:hover::after, .nav-right .text-link.on::after { transform: scaleX(1); }
.icon-link { position: relative; display: inline-flex; color: var(--ink); }
.icon-link .ic { width: 30px; height: 30px; }
.icon-link:hover { color: var(--gold-2); }
.badge-count { position: absolute; top: -10px; right: -12px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--gold); color: var(--gold-ink); font: 600 .78rem/22px var(--serif); text-align: center; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; cursor: pointer; }
.nav-toggle .ic { width: 30px; height: 30px; }

.brand { display: inline-flex; text-decoration: none; justify-self: center; }
.logo-mark { display: flex; flex-direction: column; align-items: center; line-height: 1; transition: transform .25s; }
.logo-emblem { width: 120px; height: 64px; margin-bottom: -4px; transition: width .25s, height .25s; }
.logo-name {
  font: 500 2.1rem/1.1 var(--serif); letter-spacing: .14em; padding: 0 .1em 2px .22em; color: #2b2c2c;
  transition: font-size .25s;
}
.logo-en { font: 400 .72rem/1 var(--latin); letter-spacing: .42em; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.logo-en::before, .logo-en::after { content: "✦"; font-size: .6rem; }
.logo-img { max-height: 110px; width: auto; transition: max-height .25s; }

.site-header.is-stuck { position: fixed; top: 0; left: 0; right: 0; background: rgba(246, 245, 240, .97); box-shadow: 0 2px 14px rgba(60, 64, 55, .08); backdrop-filter: blur(6px); }
.site-header.is-stuck .header-in { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-stuck .logo-emblem { width: 76px; height: 40px; }
.site-header.is-stuck .logo-name { font-size: 1.4rem; }
.site-header.is-stuck .logo-en { font-size: .55rem; margin-top: 3px; }
.site-header.is-stuck .logo-img { max-height: 70px; }
.site-header.is-stuck .btn-outline-gold { padding: 14px 58px; }

/* 手機選單 */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(40, 44, 38, .45); }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); background: var(--bg-2); padding: 70px 28px 28px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; box-shadow: 10px 0 40px rgba(60, 64, 55, .06); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; font-weight: 600; }
.drawer nav a.on { color: var(--gold-2); }
.drawer-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.drawer-close .ic { width: 28px; height: 28px; }

/* ---------- 橫幅 ---------- */
.banner, .hero {
  position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #f6f5f0;
  background: linear-gradient(180deg, rgba(76, 90, 76, .55) 0%, rgba(93, 109, 93, .42) 45%, rgba(70, 84, 70, .72) 100%), var(--banner, linear-gradient(160deg, #6f7d6c, #4f5d4f)) center / cover no-repeat;
}
.banner.short { min-height: 420px; }
.banner-in { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 calc(var(--gutter) + 24px) 170px; }
.banner.short .banner-in { padding-bottom: 130px; }
.banner-en { font: italic 400 1.5rem/1 var(--latin); letter-spacing: .04em; margin: 0 0 22px; color: #f6f5f0; }
.banner-title { margin: 0 0 30px; }
.banner-title span { position: relative; display: inline-block; padding: 18px 54px; border: 1px solid rgba(255, 255, 255, .85); font-size: 3rem; font-weight: 400; letter-spacing: .12em; }
.banner-title span::after { content: ""; position: absolute; inset: 7px -8px -8px 7px; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 600; padding-left: 30px; }
.crumbs a { text-decoration: none; }
.crumbs .star { color: var(--gold-2); }
.crumbs .here, .crumbs a:last-child:not(:first-of-type) { color: var(--blue); }

.hero { min-height: calc(100vh - 160px); align-items: center; justify-content: center; text-align: center; }
.hero-in { padding: 110px 24px 150px; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 300; letter-spacing: .22em; color: #f6f5f0; margin-bottom: 12px; }
.hero-tagline { font-size: 1.25rem; font-weight: 300; letter-spacing: .14em; margin-bottom: 36px; }
.hero .btn-outline-gold { color: #f6f5f0; border-color: #f6f5f0; }
.hero .btn-outline-gold:hover { background: #f6f5f0; color: var(--gold); }

/* ---------- 主內容 ---------- */
.page-main { position: relative; padding-bottom: 100px; }
.search-wrap { position: relative; z-index: 20; margin-top: -69px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 36px 40px 44px; margin-top: 36px; box-shadow: 0 20px 50px rgba(60, 64, 55, .08); }
.panel.lifted { margin-top: -90px; position: relative; z-index: 5; }
.section { padding-top: 80px; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title .en { font: 500 1.3rem/1 var(--latin); color: var(--gold-2); letter-spacing: .1em; margin-bottom: 10px; }
.section-title h2 { font-size: 2.2rem; letter-spacing: .12em; }
.section-h { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 34px 0 20px; font-size: 1.9rem; }
.section-h small { font-size: 1.05rem; color: var(--muted); font-weight: 400; }
.section-h.bar { padding-left: 20px; border-left: 4px solid var(--gold); line-height: 1.1; }
.panel > .section-h:first-child, .steps + .section-h, .steps + .alert + .section-h { margin-top: 24px; }

/* ---------- 查詢列 ---------- */
.searchbar {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: end;
  background: #ffffff; border: 1px solid var(--line); border-radius: 10px; padding: 21px 22px 24px; box-shadow: 0 24px 60px rgba(60, 64, 55, .15);
}
.sb-field { position: relative; min-width: 0; }
.sb-label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.sb-box {
  width: 100%; height: 59px; display: flex; align-items: center; gap: 11px; padding: 0 18px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink);
  font: 600 1.04rem/1 var(--serif); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.sb-box:hover { border-color: #a9a397; }
.sb-box.is-open, .sb-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.sb-box .ic { width: 22px; height: 22px; color: var(--ink-2); }
.sb-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-nights { font-size: .76rem; font-weight: 600; background: var(--card); border-radius: 6px; padding: 6px 11px; white-space: nowrap; }
.sb-dash { width: 24px; height: 5px; border-radius: 3px; background: var(--card-2); }
.sb-box.select { cursor: default; padding-right: 0; }
.sb-box select { flex: 1; height: 100%; min-width: 0; appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a3a9b5' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") no-repeat right 16px center; border: 0; color: var(--ink); font: inherit; cursor: pointer; padding-right: 38px; outline: none; }
.sb-box select option { background: var(--bg-2); color: var(--ink); }
.search-btn { height: 59px; padding: 0 35px; font-size: 1.04rem; gap: 8px; }
.search-btn .ic { width: 21px; height: 21px; }

/* 人數選擇 */
.guest-pop { position: absolute; top: calc(100% + 12px); left: 0; z-index: 40; width: 380px; max-width: calc(100vw - 32px); background: #ffffff; border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 22px 22px; box-shadow: 0 24px 60px rgba(60, 64, 55, .06); }
.counter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.counter-row:last-of-type { margin-bottom: 18px; }
.counter-row small { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; }
.counter { display: flex; align-items: center; gap: 4px; }
.counter button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.counter button:hover { border-color: var(--gold); color: var(--gold-2); }
.counter input { width: 48px; text-align: center; background: transparent; border: 0; color: var(--ink); font: 600 1.2rem var(--serif); -moz-appearance: textfield; }
.counter input::-webkit-inner-spin-button, .counter input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- 月曆 ---------- */
.cal-pop { position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; width: 380px; max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100vh - 100px); overflow-y: auto; background: #ffffff; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; box-shadow: 0 30px 80px rgba(60, 64, 55, .18); }
.cal-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cal-head strong { flex: 1; text-align: center; font-size: .98rem; }
.cal-nav { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cal-nav .ic { width: 16px; height: 16px; }
.cal-nav:hover:not([disabled]) { border-color: var(--gold); color: var(--gold-2); }
.cal-nav[disabled] { opacity: .25; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr; padding: 10px 0 4px; }
.cal-title { text-align: center; font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 0; }
.cal-dow { text-align: center; color: var(--muted); font-size: .74rem; padding: 2px 0 4px; }
.cal-day { height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: transparent; border: 0; border-radius: 8px; color: var(--ink); cursor: pointer; padding: 0; }
.cal-day .n { font-size: .98rem; font-weight: 600; line-height: 1.1; }
.cal-day .p { font-size: .62rem; line-height: 1.2; color: var(--green); font-variant-numeric: tabular-nums; min-height: 1.2em; white-space: nowrap; }
.cal-day:not([disabled]):not(.is-start):not(.is-end):hover { background: rgba(93, 109, 93, .1); }
.cal-day[disabled] { cursor: default; }
.cal-day.is-out .n { color: var(--dim); font-weight: 500; }
.cal-day.is-closed .n, .cal-day.is-full .n { color: var(--dim); font-weight: 500; }
.cal-day.is-closed .p { color: var(--dim); }
.cal-day.is-full .p { color: var(--coral); }
.cal-day.is-checkout .n { color: var(--ink); font-weight: 600; }
.cal-day.is-in { background: rgba(93, 109, 93, .14); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--gold); }
.cal-day.is-start { border-radius: 8px 0 0 8px; }
.cal-day.is-end { border-radius: 0 8px 8px 0; }
.cal-day.is-start.is-end { border-radius: 8px; }
.cal-day.is-start .n, .cal-day.is-start .p, .cal-day.is-end .n, .cal-day.is-end .p { color: var(--gold-ink); }
.cal-day.is-today .n { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cal-loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.legend { display: flex; gap: 10px; font-size: .76rem; color: var(--ink-2); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.legend .ok i { background: var(--green); }
.legend .full i { background: var(--coral); }
.legend .off i { background: #d8d3c8; }
.cal-hint { color: var(--muted); font-size: .78rem; order: -1; flex-basis: 100%; text-align: center; }
.cal-hint:empty { display: none; }
.cal-actions { display: flex; gap: 8px; }
.cal-actions .btn-line, .cal-actions .btn-gold { padding: 8px 18px; font-size: .88rem; }

/* ---------- 步驟 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0 0 12px; }
.steps li { height: 62px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 1.12rem; font-weight: 600; text-align: center; padding: 0 8px; line-height: 1.2; }
.steps li.done { background: var(--step-done); border-color: var(--step-done); color: #2f3a2f; }
.steps li.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

/* ---------- 提示 ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 10px; margin: 18px 0; font-size: 1rem; }
.alert .ic { margin-top: 3px; }
.alert.error { background: var(--coral-bg); color: #9b4a3f; border: 1px solid rgba(179, 95, 82, .3); }
.alert.success { background: var(--green-bg); color: #3f5d42; border: 1px solid rgba(93, 109, 93, .3); }
.notice { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 10px; padding: 18px 22px; color: var(--ink-2); font-size: 1.02rem; margin-bottom: 22px; }
.notice .ic { width: 24px; height: 24px; }
.notice a { color: var(--gold-2); }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); font-size: 1.2rem; }
.empty-state svg, .empty-state .ic { width: 64px; height: 64px; color: var(--gold); margin-bottom: 14px; opacity: .8; }
.empty-state p { margin-bottom: 22px; }

/* ---------- 房型卡片（查詢結果） ---------- */
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 26px 0 18px; }
.results-head .section-h { margin: 0; }
.results-head p { margin: 0; }
.room-list { display: grid; gap: 26px; }
.room-card { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); overflow: hidden; }
.room-card.is-closed, .room-card.is-too_many { opacity: .6; }
.room-top { display: grid; grid-template-columns: 320px minmax(0, 1fr) auto; gap: 28px; padding: 24px; align-items: start; }
.room-photo { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; border: 0; background: #dcd8cf center / cover no-repeat; cursor: zoom-in; padding: 0; }
.photo-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; background: rgba(0, 0, 0, .55); color: #fff; border-radius: 6px; padding: 3px 9px; font-size: .9rem; }
.photo-count .ic { width: 16px; height: 16px; }
.room-name { font-size: 2rem; margin: 6px 0 4px; }
.room-name a { text-decoration: none; display: inline-flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.room-name small { font-size: 1.2rem; color: var(--ink-2); font-weight: 500; }
.room-name .chev { width: 22px; height: 22px; align-self: center; }
.room-name a:hover { color: var(--gold-2); }
.room-name.big { font-size: 2.4rem; }
.room-tagline { font-size: 1.2rem; font-weight: 600; color: var(--ink-2); margin-bottom: 16px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 8px 18px; font-size: 1.02rem; color: var(--ink-2); }
.chips .ic { width: 20px; height: 20px; color: var(--muted); }
.chips .chip-ok { background: var(--green-bg); color: var(--green); font-weight: 600; }
.chips .chip-ok .ic { color: var(--green); }
.chips .chip-bad { background: var(--coral-bg); color: var(--coral); font-weight: 600; }
.chips .chip-dim { color: var(--muted); }
.room-price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 6px; padding-top: 18px; min-width: 300px; }
.price-big { font-size: 2.4rem; line-height: 1.1; }
.price-sub { color: var(--ink-2); font-size: 1.1rem; }
.price-sub.small { font-size: .9rem; color: var(--muted); }
.price-rule { border-top: 1px dashed var(--line-2); padding-top: 14px; margin-top: 10px; color: var(--ink-2); font-size: 1.08rem; width: 100%; }

.unit-section { border-top: 1px solid var(--line); padding: 22px 24px 26px; background: #faf9f5; }
.unit-section h4 { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 18px; }
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.unit-card { border: 1px solid var(--line); border-radius: 10px; padding: 24px 18px 18px; text-align: center; background: #ffffff; }
.unit-code { font-size: 1.8rem; font-weight: 600; line-height: 1.2; }
.unit-area { color: var(--ink-2); font-size: 1rem; margin: 6px 0 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.unit-area .ic { width: 18px; height: 18px; }
.unit-card form { margin: 0; }
.unit-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border: 1.5px solid var(--gold); border-radius: 8px; background: transparent; color: var(--gold); font: 600 1.15rem/1 var(--serif); cursor: pointer; transition: background .15s, color .15s; letter-spacing: .04em; }
.unit-btn:hover { background: var(--green-bg); }
.unit-card.is-added { border-color: var(--gold); }
.unit-card.is-added .unit-btn { background: var(--gold); color: #f6f5f0; font-size: 1rem; }
.unit-card.is-taken { opacity: .45; }
.unit-btn.disabled { border-color: var(--line-2); color: var(--muted); cursor: not-allowed; }
.unit-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* 底部購物車列 */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--gold); box-shadow: 0 -10px 30px rgba(60, 64, 55, .11); backdrop-filter: blur(6px); }
.cart-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; padding-right: 140px; font-size: 1.1rem; }
.cart-bar strong { color: var(--gold-2); }
.cart-bar .btn-gold { padding: 14px 28px; }
body.has-cart-bar .to-top { bottom: 100px; }

/* ---------- 購物車 ---------- */
.table-scroll { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 1.15rem; }
.cart-table th { background: var(--card); text-align: left; padding: 20px 16px; font-size: 1.12rem; font-weight: 600; white-space: nowrap; }
.cart-table td { padding: 22px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-table .center { text-align: center; }
.cart-table .unit-no { font-weight: 600; }
.cart-table form { margin: 0; }
.cart-table tr.detail-row td { padding: 0 16px 14px; border-bottom: 1px solid var(--line); }
.cart-table tr:has(+ .detail-row) td { border-bottom: 0; padding-bottom: 8px; }
.cart-table details summary { cursor: pointer; color: var(--muted); font-size: .92rem; }
.cart-table.compact { font-size: 1rem; }
.cart-table.compact td { padding: 14px 16px; }
.has-problem td { background: rgba(179, 95, 82, .05); }
.problem { color: var(--coral); font-size: .9rem; display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.price-lines { list-style: none; padding: 8px 0 0; margin: 0; max-width: 420px; font-size: .95rem; color: var(--ink-2); }
.price-lines li { display: flex; justify-content: space-between; padding: 3px 0; }
.price-lines li.sub { color: var(--muted); padding-left: 1em; }

.cart-bottom { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 38px; }
.pay-note { border: 1px solid var(--line-2); border-radius: 10px; padding: 24px 22px; }
.pay-note h3 { font-size: 1.12rem; margin-bottom: 12px; }
.pay-note p { font-size: 1.1rem; line-height: 1.75; margin: 0; }
.pay-note p + p { margin-top: 8px; }
.summary-box { background: #5d6d5d; color: #f6f5f0; border: 0; border-radius: 12px; padding: 26px 30px; }
.summary-box .muted { color: rgba(246, 245, 240, .75); }
.summary-title { font-size: 1.25rem; margin-bottom: 4px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 1.15rem; }
.sum-row > span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-row.accent { color: #f1e4c6; font-weight: 600; font-size: 1.22rem; }
.sum-row.total { border-top: 1px dashed rgba(246, 245, 240, .45); margin-top: 12px; padding-top: 22px; color: #ffffff; font-size: 1.7rem; font-weight: 600; }
.summary-items { list-style: none; padding: 0; margin: 14px 0 8px; border-bottom: 1px solid rgba(246, 245, 240, .28); }
.summary-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(246, 245, 240, .18); font-size: 1.05rem; }
.summary-items small { display: block; color: rgba(246, 245, 240, .72); font-size: .85rem; }
.paid-box { margin-top: 16px; background: var(--card); border-radius: 12px; padding: 12px 30px; }
.paid-box .sum-row { font-size: 1.05rem; }

.actions-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.actions-row .left { display: flex; gap: 16px; flex-wrap: wrap; }
.actions-row form { margin: 0; }
.actions-row .btn-line { padding: 22px 40px; font-size: 1.18rem; }

/* ---------- 表單 ---------- */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 10px; }
.checkout-aside { position: sticky; top: 110px; margin-top: 34px; }
.form-card.flat { background: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1.05rem; }
.field em { color: var(--coral); font-style: normal; }
.field small { color: var(--muted); font-size: .88rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; font: 400 1.08rem/1.4 var(--serif); color: var(--ink); background: #ffffff; border: 1px solid var(--line-2);
  border-radius: 8px; padding: 14px 16px; min-width: 0; color-scheme: light;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.check { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; margin: 18px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--gold); }
.check a { color: var(--gold-2); }
.pay-option { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--gold); background: rgba(93, 109, 93, .07); border-radius: 10px; padding: 18px 22px; }
.pay-option .ic { width: 32px; height: 32px; color: var(--gold-2); }
.pay-option p { margin: 4px 0 0; }
.terms-box { margin-top: 22px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 20px; }
.terms-box summary { cursor: pointer; font-weight: 600; }
.terms-box .prose { max-height: 320px; overflow-y: auto; margin-top: 10px; padding-right: 8px; }

/* ---------- 訂單頁 ---------- */
.success-hero { text-align: center; padding: 34px 0 10px; }
.success-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--green-bg); color: var(--green); margin-bottom: 14px; }
.success-icon .ic { width: 40px; height: 40px; stroke-width: 2.2; }
.success-hero h2 { font-size: 2rem; margin-bottom: 8px; }
.success-hero p { font-size: 1.12rem; color: var(--ink-2); }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 28px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.order-no { font-size: 2rem; font-weight: 600; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.copy-btn { background: none; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); cursor: pointer; padding: 5px 7px; display: inline-flex; }
.copy-btn:hover { color: var(--gold-2); border-color: var(--gold); }
.copy-btn .ic { width: 18px; height: 18px; }
.status-pill { display: inline-block; padding: 8px 20px; border-radius: 999px; font-weight: 600; background: var(--card-2); color: var(--ink-2); white-space: nowrap; }
.status-pill.small { padding: 3px 12px; font-size: .85rem; }
.status-pill.warn { background: rgba(93, 109, 93, .14); color: var(--gold-2); }
.status-pill.ok { background: var(--green-bg); color: var(--green); }
.status-pill.info { background: rgba(141, 123, 112, .14); color: #6f5f55; }
.status-pill.bad { background: var(--coral-bg); color: var(--coral); }
.pay-panel { border: 1px solid var(--line-2); border-radius: 14px; padding: 28px 30px; background: var(--bg-2); }
.pay-panel.warn { border-color: var(--gold); }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.pay-head h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pay-head p { margin: 0; font-size: 1.1rem; }
.amount-due { font-size: 2.6rem !important; font-weight: 600; color: var(--gold-2); line-height: 1.2; }
.deadline { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.deadline strong { font-size: 1.2rem; }
.countdown { color: var(--coral); font-weight: 600; font-variant-numeric: tabular-nums; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.bank-card, .report-form { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.bank-card h4, .report-form h4 { font-size: 1.15rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.bank-card h4 .ic { color: var(--gold-2); width: 26px; height: 26px; }
.bank-card dl, .info-dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; margin: 0; }
.bank-card dt, .info-dl dt { color: var(--muted); }
.bank-card dd, .info-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bank-card dd.big { font-size: 1.4rem; font-weight: 600; }
.bank-card dd.gold { font-size: 1.3rem; font-weight: 600; }
.info-dl { margin-bottom: 22px; font-size: 1.08rem; }
.info-dl dd { display: block; }
.pay-st { font-weight: 600; }
.pay-st.reported { color: #6f5f55; }
.pay-st.confirmed { color: var(--green); }
.pay-st.rejected { color: var(--coral); }
.order-list { list-style: none; padding: 0; margin: 0 0 20px; }
.order-list a { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; text-decoration: none; flex-wrap: wrap; }
.order-list a:hover { border-color: var(--gold); }
.order-list .ic { margin-left: auto; }
.lead { font-size: 1.2rem; margin: 30px 0; }

/* ---------- 首頁／內容頁 ---------- */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.room-tile { display: flex; flex-direction: column; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .2s, border-color .2s; }
.room-tile:hover { transform: translateY(-4px); border-color: var(--gold); }
.tile-img { aspect-ratio: 3 / 2; background: #dcd8cf center / cover no-repeat; }
.tile-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; }
.tile-body strong { font-size: 1.5rem; }
.tile-body strong small { font-size: 1rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.tile-area { color: var(--gold-2); font-size: .95rem; letter-spacing: .08em; margin: 0; }
.tile-price { margin-top: 8px; font-size: 1.3rem; font-weight: 600; color: var(--gold-2); }
.tile-price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gallery-item { border: 0; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: #dcd8cf; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 30px; }
.news-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2); transition: border-color .2s; }
.news-card:hover { border-color: var(--gold); }
.news-img { aspect-ratio: 16 / 9; background: #dcd8cf center / cover no-repeat; }
.news-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.news-body time { color: var(--gold-2); font-size: .9rem; }
.news-body strong { font-size: 1.25rem; }
.article-title { font-size: 2rem; margin: 6px 0 22px; }
.article-img { width: 100%; border-radius: 12px; margin-bottom: 24px; }
.room-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.room-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.room-gallery .main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.room-text .chips { margin: 20px 0 26px; }
.room-text .summary-box { margin-bottom: 26px; }

.prose { font-size: 1.1rem; line-height: 1.9; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; color: var(--ink); margin: 1.6em 0 .6em; padding-left: 16px; border-left: 4px solid var(--gold); line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; color: var(--gold-2); margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-2); }
.prose figure { margin: 1.5em 0; }
.prose figure img { width: 100%; border-radius: 12px; display: block; }
.prose figcaption { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 8px; }
.prose .callout { background: var(--card); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 1em 0; }
.prose.small { font-size: .98rem; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .ic { color: var(--gold-2); margin-top: 4px; }
.info-list a { text-decoration: none; }
.info-list.big { font-size: 1.15rem; margin-top: 30px; padding: 24px; background: var(--card); border-radius: 12px; }
.faq-list { display: grid; gap: 14px; margin-bottom: 30px; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 24px; font-size: 1.15rem; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq .q { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-family: var(--latin); }
.faq .chev { margin-left: auto; transition: transform .2s; }
.faq[open] .chev { transform: rotate(180deg); }
.faq .prose { padding: 0 24px 20px 72px; }

/* ---------- 頁尾 ---------- */
.site-footer { background: #efece5; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-in { max-width: 1720px; margin: 0 auto; padding: 60px var(--gutter) 40px; display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { justify-self: start; margin-bottom: 16px; }
.footer-col h3 { font-size: 1.15rem; margin-bottom: 18px; color: var(--gold-2); letter-spacing: .08em; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.link-list a { text-decoration: none; color: var(--ink-2); }
.link-list a:hover, .info-list a:hover { color: var(--gold-2); }
.socials.big { margin-bottom: 16px; }
.socials.big .ic { width: 30px; height: 30px; }
.copyright { text-align: center; border-top: 1px solid var(--line); padding: 20px; color: var(--dim); font-size: .9rem; }

.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 46; width: 86px; height: 86px; border-radius: 50%; background: var(--gold); color: #f6f5f0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; font: 600 1.1rem/1 var(--serif); box-shadow: 0 8px 26px rgba(60, 64, 55, .15); opacity: 0; pointer-events: none; transition: opacity .25s, bottom .25s; }
.to-top span { font-size: 1.3rem; margin-bottom: 2px; }
.to-top.show { opacity: 1; pointer-events: auto; }

.toast { position: fixed; left: 50%; top: 110px; transform: translateX(-50%); z-index: 90; background: #ffffff; border: 1px solid var(--gold); color: var(--ink); padding: 14px 24px; border-radius: 10px; box-shadow: 0 16px 40px rgba(60, 64, 55, .15); font-size: 1.02rem; max-width: calc(100vw - 32px); }
.toast.error { border-color: var(--coral); color: #9b4a3f; }

/* 照片放大 */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 9, 15, .94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%; width: 50px; height: 50px; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button .ic { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #c8ccd6; }
body.no-scroll { overflow: hidden; }

/* ---------- 響應式 ---------- */
@media (max-width: 1500px) {
  .nav-left, .nav-right { gap: 22px; }
  .nav-left a, .nav-right .text-link { font-size: 1.05rem; }
  .btn-outline-gold { padding: 16px 36px; }
  .site-header.is-stuck .btn-outline-gold { padding: 12px 32px; }
  .room-top { grid-template-columns: 260px minmax(0, 1fr); }
  .room-price { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 6px 18px; padding-top: 0; min-width: 0; }
  .room-price .price-rule { width: auto; border-top: 0; margin: 0; padding: 0; }
}
@media (max-width: 1240px) {
  :root { --gutter: 24px; }
  .nav-left, .nav-right .text-link { display: none; }
  .nav-toggle { display: inline-flex; justify-self: start; }
  .header-in { grid-template-columns: 1fr auto 1fr; }
  .nav-right { gap: 22px; }
  .searchbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sb-dates { grid-column: 1 / -1; }
  .sb-submit { grid-column: 1 / -1; }
  .search-btn { width: 100%; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .checkout-grid, .cart-bottom, .room-detail { grid-template-columns: 1fr; }
  .checkout-aside { position: static; margin-top: 0; }
}
@media (max-width: 1000px) {
  .cal-pop { right: auto; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .contact-line a:last-child { display: none; }
  .contact-line { letter-spacing: .1em; }
  .socials { gap: 16px; }
  .socials .ic { width: 20px; height: 20px; }
  .header-in { padding: 10px var(--gutter); gap: 8px; }
  .logo-emblem { width: 84px; height: 44px; }
  .logo-name { font-size: 1.45rem; }
  .logo-en { font-size: .55rem; letter-spacing: .3em; }
  .site-header.is-stuck .logo-emblem { width: 60px; height: 32px; }
  .site-header.is-stuck .logo-name { font-size: 1.15rem; }
  .book-btn { display: none; }
  .nav-right { gap: 18px; }
  .icon-link .ic { width: 26px; height: 26px; }
  .banner { min-height: 420px; }
  .banner.short { min-height: 340px; }
  .banner-in { padding: 0 var(--gutter) 130px; }
  .banner.short .banner-in { padding-bottom: 110px; }
  .banner-en { font-size: 1.2rem; margin-bottom: 14px; }
  .banner-title span { font-size: 2rem; padding: 12px 30px; }
  .crumbs { font-size: 1rem; padding-left: 10px; }
  .search-wrap { margin-top: -56px; }
  .searchbar { grid-template-columns: 1fr; padding: 14px 13px 16px; gap: 11px; }
  .sb-label { font-size: .76rem; margin-bottom: 5px; }
  .sb-box, .search-btn { height: 48px; font-size: .88rem; }
  .sb-box { padding: 0 13px; }
  .guest-pop { width: 100%; }
  .panel { padding: 22px 16px 30px; border-radius: 12px; }
  .panel.lifted { margin-top: -70px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .steps li { height: 50px; font-size: .95rem; }
  .section-h { font-size: 1.5rem; }
  .room-top { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .room-name { font-size: 1.6rem; }
  .chips li { font-size: .92rem; padding: 6px 14px; }
  .room-price { justify-content: space-between; }
  .price-big { font-size: 1.9rem; }
  .unit-section { padding: 18px 16px; }
  .unit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .unit-card { padding: 16px 10px 12px; }
  .unit-code { font-size: 1.5rem; }
  .unit-btn { height: 48px; font-size: 1rem; }
  .cart-bar-in { padding-right: var(--gutter); font-size: .98rem; }
  .cart-bar .btn-gold { padding: 12px 18px; font-size: 1rem; }
  body.has-cart-bar .to-top { bottom: 84px; }
  .to-top { width: 64px; height: 64px; right: 14px; bottom: 16px; font-size: .9rem; }

  /* 購物車表格改為卡片 */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr:not(.detail-row) { border: 1px solid var(--line); border-radius: 10px 10px 0 0; padding: 12px 16px; margin-top: 14px; border-bottom: 0; }
  .cart-table tr.detail-row { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; padding: 0 16px 12px; }
  .cart-table.compact tr { border-radius: 10px; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0 !important; padding: 6px 0 !important; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .cart-table td[data-label]::before { content: attr(data-label); color: var(--muted); text-align: left; }
  .cart-table td.center { justify-content: flex-end; }
  .cart-table tr.detail-row td { display: block; text-align: left; }
  .summary-box { padding: 20px; }
  .sum-row { font-size: 1.05rem; }
  .sum-row.total { font-size: 1.4rem; }
  .actions-row { flex-direction: column-reverse; align-items: stretch; }
  .actions-row .left { display: grid; grid-template-columns: 1fr 1fr; }
  .actions-row .btn-line, .actions-row .btn-gold { padding: 18px 16px; font-size: 1.05rem; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .pay-panel { padding: 20px 16px; }
  .pay-grid { grid-template-columns: 1fr; }
  .deadline { align-items: flex-start; text-align: left; }
  .amount-due { font-size: 2rem !important; }
  .order-no { font-size: 1.5rem; }
  .footer-in { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .hero-in { padding: 80px 16px 130px; }
  .room-grid, .news-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .faq .prose { padding: 0 18px 18px; }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 130px); border-radius: 0; }
  .lb-prev, .lb-next { top: auto !important; bottom: 14px; transform: none !important; }

  /* 手機版月曆：底部彈出、單欄 */
  .cal-pop { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 88vh; overflow-y: auto; border-radius: 18px 18px 0 0; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); z-index: 70; }
  .cal-head { position: sticky; top: -14px; background: #ffffff; z-index: 1; padding-top: 6px; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-day { height: 48px; }
  .cal-foot { position: sticky; bottom: calc(-14px - env(safe-area-inset-bottom)); background: #ffffff; padding-bottom: 6px; }
  .cal-hint { order: -1; flex-basis: 100%; }
  .cal-actions { width: 100%; }
  .cal-actions > * { flex: 1; padding: 14px !important; }
  body.cal-open::after { content: ""; position: fixed; inset: 0; background: rgba(40, 44, 38, .45); z-index: 60; }
  body.cal-open .search-wrap { z-index: 65; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- ABURA 橫式 Logo ---------- */
.brand-logo { height: 38px; width: auto; max-height: none; display: block; transition: height .25s; }
.site-header.is-stuck .brand-logo { height: 30px; }
.site-footer .brand-logo { height: 30px; }
.drawer .brand-logo { height: 26px; }
@media (max-width: 1500px) { .brand-logo { height: 32px; } }
@media (max-width: 760px) {
  .brand-logo, .site-header.is-stuck .brand-logo { height: 22px; }
  .site-footer .brand-logo { height: 26px; }
}

/* ---------- 人數加減：按鈕固定正圓，數字框不套用全站輸入框樣式 ---------- */
.guest-pop .counter { flex: none; gap: 6px; }
.guest-pop .counter button { flex: none; width: 36px; height: 36px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
.guest-pop .counter input[type=number] { flex: none; width: 40px; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font: 600 1.1rem/1 var(--serif); }

/* ---------- 查詢結果：一排三間的直式卡片 ---------- */
.room-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rc { display: flex; flex-direction: column; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.rc:hover { border-color: var(--line-2); box-shadow: 0 10px 28px rgba(60, 64, 55, .08); }
.rc.is-closed, .rc.is-too_many { opacity: .6; }
.rc-photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; background: #dcd8cf center / cover no-repeat; cursor: zoom-in; }
.rc-badge { position: absolute; left: 10px; top: 10px; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .92); }
.rc-badge.ok { color: var(--green); }
.rc-badge.bad { color: var(--coral); }
.rc-badge.dim { color: var(--muted); }
.rc-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.rc-name { font-size: 1.35rem; font-weight: 500; margin: 0 0 2px; }
.rc-name a { text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; }
.rc-name small { font-size: .88rem; color: var(--muted); font-weight: 400; }
.rc-name .chev { width: 16px; height: 16px; align-self: center; color: var(--muted); }
.rc-name a:hover { color: var(--gold); }
.rc-tagline { font-size: .92rem; color: var(--ink-2); margin: 0 0 10px; }
.rc-chips { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.rc-chips li { display: inline-flex; align-items: center; gap: 5px; background: var(--card); border-radius: 999px; padding: 3px 11px; font-size: .82rem; color: var(--ink-2); }
.rc-chips .ic { width: 15px; height: 15px; color: var(--muted); }
.rc-fees { font-size: .76rem; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }
.rc-price { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px dashed var(--line-2); padding-top: 12px; margin-bottom: 12px; }
.rc-price strong { font-size: 1.55rem; font-weight: 600; line-height: 1.2; }
.rc-price span { font-size: .84rem; color: var(--ink-2); }
.rc-price .small { color: var(--muted); font-size: .76rem; }
.rc-price .rc-rule { color: var(--muted); font-size: .8rem; }
.rc-units-label { font-size: .8rem; color: var(--muted); margin: 0 0 6px; }
.rc-units.single .unit-card { border: 0; padding: 0; background: none; }
.rc-units.single .unit-btn { height: 46px; font-size: 1rem; }
.rc-units.multi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rc-units.multi .unit-card { padding: 6px 6px 8px; border-radius: 8px; }
.rc-units.multi .unit-code { font-size: 1rem; margin-bottom: 4px; }
.rc-units.multi .unit-btn { height: 32px; font-size: .8rem; border-width: 1px; border-radius: 6px; letter-spacing: 0; }
.rc-units .unit-card.is-added .unit-btn { font-size: .9rem; }
.rc-units.multi .unit-card.is-added .unit-btn { font-size: .8rem; }
@media (max-width: 1100px) { .room-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .room-grid3 { grid-template-columns: 1fr; gap: 16px; }
  .rc-units.multi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 查詢結果依棟別分區 */
.rc-group + .rc-group { margin-top: 44px; }
.rc-group-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1.45rem; font-weight: 500; letter-spacing: .08em; }
.rc-group-title small { font-size: .88rem; color: var(--muted); font-weight: 400; letter-spacing: .04em; }
.room-grid + .rc-group-title { margin-top: 34px; }

/* ---------- 回官網首頁按鈕 ---------- */
.head-left { display: flex; align-items: center; gap: 26px; min-width: 0; }
.official-link { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 16px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .92rem; font-weight: 500; letter-spacing: .06em; text-decoration: none; color: var(--ink-2); white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.official-link .ic { width: 16px; height: 16px; }
.official-link:hover { border-color: var(--gold); color: var(--gold); background: var(--green-bg); }
@media (max-width: 1500px) { .head-left { gap: 18px; } .nav-left { gap: 18px; } }
@media (max-width: 1240px) { .head-left { gap: 10px; } }
@media (max-width: 760px) { .official-link { padding: 6px 10px; font-size: .78rem; } .official-link span { display: none; } }
@media (max-width: 760px) {
  .head-left { gap: 4px; }
  .brand-logo, .site-header.is-stuck .brand-logo { height: 19px; }
}

/* 頁首選單不換行；1400 以下把左側選單收進漢堡選單 */
.nav-left a, .nav-right .text-link { white-space: nowrap; }
.official-link .ol-home { display: none; }
@media (max-width: 1700px) {
  .nav-left, .nav-right .text-link { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .official-link .ol-arrow { display: none; }
  .official-link .ol-home { display: block; width: 18px; height: 18px; }
}
/* 大螢幕：左側選單稍微緊湊，讓「官網首頁」＋ 5 個選單放得下 */
@media (min-width: 1701px) {
  .head-left, .nav-left { gap: 20px; }
  .nav-left a { font-size: 1.05rem; }
}

/* ---------- 餐飲預約 ---------- */
.dining-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 1.02rem; margin-top: 4px; }
.dining-table thead th { background: #d9c9b7; color: var(--ink); font-weight: 500; padding: 18px 14px; letter-spacing: .08em; border-left: 2px solid #f6f5f0; }
.dining-table thead th:first-child { border-left: 0; }
.dining-table thead small { display: block; font: 400 .9rem/1.4 var(--latin); letter-spacing: .04em; margin-top: 2px; }
.dining-table tbody th { font-weight: 500; letter-spacing: .12em; padding: 16px 12px; width: 22%; color: var(--ink-2); }
.dining-table tbody td { padding: 16px 12px; letter-spacing: .06em; }
.dining-table tbody tr { border-bottom: 1px solid #e3d7c9; }
.dining-intro { margin: 18px 0 8px; letter-spacing: .08em; color: var(--ink-2); line-height: 1.9; }
.dining-form .actions-row { margin-top: 18px; }
@media (max-width: 760px) {
  .dining-table { font-size: .9rem; }
  .dining-table thead th, .dining-table tbody th, .dining-table tbody td { padding: 12px 8px; }
}

/* ---------- 加購體驗 ---------- */
.addon-section { margin-top: 36px; }
.addon-area { font-size: 1.05rem; font-weight: 500; color: var(--muted); margin: 6px 0 12px; }
.addon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.addon-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; transition: border-color .2s; }
.addon-card.is-picked { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.addon-head strong { font-size: 1.12rem; font-weight: 600; }
.addon-price { white-space: nowrap; color: var(--gold); font-weight: 600; }
.addon-price small { color: var(--muted); font-weight: 400; }
.addon-card p { font-size: .9rem; line-height: 1.7; color: var(--ink-2); margin: 0; flex: 1; }
.addon-qty { display: flex; align-items: center; gap: 10px; }
.addon-qty .counter { gap: 4px; }
.addon-qty .counter button { flex: none; width: 34px; height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.addon-qty .counter input[type=number] { flex: none; width: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font: 600 1.05rem/1 var(--serif); -moz-appearance: textfield; }
.addon-qty .counter input::-webkit-inner-spin-button { -webkit-appearance: none; }
.addon-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
@media (max-width: 1100px) { .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .addon-grid { grid-template-columns: 1fr; } }

/* ---------- 住宿介紹：目的地分頁 ---------- */
.dest-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.dest-tabs a { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; background: #fff; transition: border-color .2s, background .2s; }
.dest-tabs a strong { font-size: 1.15rem; font-weight: 500; letter-spacing: .06em; }
.dest-tabs a small { color: var(--muted); font-size: .85rem; }
.dest-tabs a:hover { border-color: var(--gold); }
.dest-tabs a.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.dest-tabs a.on small { color: rgba(246, 245, 240, .8); }
.room-cat + .room-cat { margin-top: 20px; }
@media (max-width: 640px) { .dest-tabs a { flex-basis: 100%; padding: 10px 16px; } }

/* 住宿介紹：所有目的地同頁、依目的地分區 */
html { scroll-behavior: smooth; }
.dest-block { scroll-margin-top: 110px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.dest-block:first-of-type { margin-top: 28px; }
.dest-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dest-head h2 { margin: 2px 0 0; font-size: 1.7rem; font-weight: 400; letter-spacing: .08em; }
.dest-head p { margin: 6px 0 0; }
.dest-kicker { font-size: .8rem; letter-spacing: .2em; color: var(--muted); }
.dest-block .room-cat h3.section-h { font-size: 1.15rem; }

/* 首頁住宿介紹：目的地分頁 */
.home-dest { margin-bottom: 20px; }
.home-dest button { flex: 1 1 200px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.home-dest button strong { font-size: 1.15rem; font-weight: 500; letter-spacing: .06em; }
.home-dest button small { color: var(--muted); font-size: .85rem; }
.home-dest button:hover { border-color: var(--gold); }
.home-dest button.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.home-dest button.on small { color: rgba(246, 245, 240, .8); }
@media (max-width: 640px) { .home-dest button { flex-basis: 100%; padding: 10px 16px; } }

/* 信用卡付款（綠界） */
.pay-options { display: grid; gap: 12px; }
.pay-option.pick { cursor: pointer; border-color: var(--line); background: #fff; }
.pay-option.pick input { margin-top: 6px; accent-color: var(--gold); }
.pay-option.pick:has(input:checked) { border-color: var(--gold); background: rgba(93, 109, 93, .07); }
.test-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f3e3b5; color: #7a5b00; font-size: .72rem; font-weight: 500; letter-spacing: .05em; vertical-align: 2px; }
.card-pay { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; padding: 18px 22px; border: 1px solid var(--gold); border-radius: 10px; background: #fff; }
.card-pay h4 { display: flex; align-items: center; gap: 8px; margin: 0; }
.card-pay h4 .ic { width: 22px; height: 22px; }
.card-pay p { margin: 4px 0 0; }
.card-pay-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.card-pay-btns form { margin: 0; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; color: var(--muted); font-size: .85rem; }
.or-line::before, .or-line::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* LINE Pay */
.linepay-mark { display: inline-flex; align-items: baseline; gap: 1px; padding: 3px 7px; border-radius: 5px; background: #06c755; color: #fff; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .02em; line-height: 1; flex: 0 0 auto; }
.linepay-mark b { font-weight: 400; }
.pay-option .linepay-mark { margin-top: 4px; }
.card-pay.line-pay { border-color: #06c755; }
.card-pay h4 .linepay-mark { font-size: .7rem; }
.btn-linepay { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 6px; background: #06c755; color: #fff; font: inherit; letter-spacing: .06em; cursor: pointer; }
.btn-linepay:hover { background: #05b34c; }

/* 目的地地址與 Google 地圖 */
.place-list { display: grid; gap: 18px; margin: 10px 0 30px; }
.place-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; margin: 0 0 16px; }
.place-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; flex-wrap: wrap; }
.place-head .ic { width: 22px; height: 22px; color: var(--gold-2); flex: 0 0 auto; }
.place-head > div { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; }
.place-head strong { font-weight: 500; letter-spacing: .05em; }
.place-head span { color: var(--muted); font-size: .92rem; }
.place-open { font-size: .88rem; color: var(--gold-2); white-space: nowrap; }
.place-map { position: relative; aspect-ratio: 16 / 9; background: #ecebe4; }
.place-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.place-map-toggle summary { padding: 0 18px 14px; cursor: pointer; color: var(--gold-2); font-size: .9rem; }
.dest-block .place-card { margin-bottom: 22px; }
.site-footer .place-li span { display: flex; flex-direction: column; gap: 1px; }
.site-footer .place-li b { font-weight: 500; }
.site-footer .place-li a { color: inherit; font-size: .9em; }
@media (max-width: 640px) { .place-map { aspect-ratio: 4 / 3; } }

/* 嵌入官網（iframe）時：隱藏自己的頁首、橫幅、頁尾，改用精簡工具列 */
.frame-bar { display: none; }
.in-frame .masthead, .in-frame .banner, .in-frame .site-footer, .in-frame .drawer { display: none !important; }
.in-frame .frame-bar { display: block; position: sticky; top: 0; z-index: 60; background: rgba(246, 245, 240, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.frame-bar-in { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; padding: 10px var(--gutter); }
.frame-bar a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; color: var(--ink); text-decoration: none; font-size: .95rem; letter-spacing: .06em; border-bottom: 1px solid transparent; }
.frame-bar a.on { color: var(--gold-2); border-bottom-color: var(--gold); }
.frame-bar .ic { width: 18px; height: 18px; }
.frame-bar .grow { flex: 1; }
.frame-bar .badge-count { position: static; margin-left: 2px; }
.in-frame .panel.lifted { margin-top: 24px; }
.in-frame .page-main { padding-bottom: 60px; }
@media (max-width: 640px) { .frame-bar-in { gap: 2px 12px; } .frame-bar a { font-size: .88rem; } .frame-bar .grow { display: none; } }
.in-frame .search-wrap { margin-top: 24px !important; }
.in-frame body.cal-open .search-wrap { z-index: 65; }
@media (max-width: 640px) {
  .in-frame .frame-bar-in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; gap: 16px; }
  .in-frame .frame-bar-in::-webkit-scrollbar { display: none; }
  .in-frame .frame-bar a { white-space: nowrap; flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .in-frame .frame-bar .t { display: none; }
  .in-frame .frame-bar .ic { width: 20px; height: 20px; }
  .in-frame .frame-bar-in { gap: 14px; }
}
@media (max-width: 640px) {
  .in-frame .frame-bar a:not([aria-label]) .ic { display: none; }
  .in-frame .frame-bar-in { gap: 16px; padding-left: 16px; padding-right: 16px; }
}

/* 放大手機上的點擊範圍（外觀不變）：頂端電話／Email、Logo */
.contact-line a, .site-header .brand { position: relative; }
.contact-line a::after, .site-header .brand::after { content: ""; position: absolute; inset: -10px -4px; }

/* 優惠碼 */
.promo-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 22px 0; padding: 16px 20px; border: 1px dashed var(--gold); border-radius: 10px; background: #fff; }
.promo-box label { font-weight: 500; letter-spacing: .06em; }
.promo-box input { flex: 1 1 200px; max-width: 280px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; text-transform: uppercase; }
.promo-code-on b { letter-spacing: .08em; color: var(--gold-2); }
.promo-code-on small { display: block; }
.promo-auto { flex: 1 1 100%; margin: 0; display: flex; align-items: center; gap: 6px; color: var(--gold-2); font-size: .92rem; }
.promo-auto .ic { width: 18px; height: 18px; }
.sum-row.discount span:last-child { color: #b3412f; }
/* 深綠色金額框裡的折扣：用淺暖色才看得清楚 */
.summary-box .sum-row.discount span:last-child { color: #ffd6c2; font-weight: 500; }
.summary-box .sum-row.discount span:first-child { color: #f6f5f0; }

/* 包棟方案選擇 */
.bundle-pick { display: block; width: 100%; text-align: left; }
.bundle-pick form { display: flex; flex-direction: column; gap: 8px; }
.bp-label { font-size: .85rem; font-weight: 600; }
.bundle-pick select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line, #d9d4c7); border-radius: 6px; background: #fff; font: inherit; font-size: .9rem; }
.bp-rooms { border: 1px solid var(--line, #e3e0d6); border-radius: 6px; padding: 8px 10px; margin: 0; }
.bp-rooms[data-collapsed] { display: none; }
.bp-rooms legend { padding: 0 4px; }
.bp-room { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #ece8de; font-size: .88rem; cursor: pointer; min-height: 40px; }
.bp-room:last-of-type { border-bottom: 0; }
.bp-room input { width: 18px; height: 18px; flex: 0 0 auto; }
.bp-room span { flex: 1; min-width: 0; }
.bp-room b { font-weight: 600; white-space: nowrap; }
.bp-fee { margin: 6px 0 0; }
.bp-sum { margin: 0; font-size: .9rem; font-weight: 600; }
.bp-sum.bad { color: #b3413a; }
.bundle-pick .unit-btn[disabled] { opacity: .5; cursor: not-allowed; }
.overdue-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 6px; background: #fbeee5; color: #8a3b1c; font-size: .92rem; }

/* 電子優惠券 */
.ecoupon { max-width: 760px; }
.ecoupon-title { text-align: center; margin: 4px 0 18px; font-size: 1.4rem; letter-spacing: .1em; }
.ecoupon-card { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.12); background: #eee; }
.ecoupon-card canvas { width: 100%; height: auto; display: block; }
.ecoupon-card.is-off canvas, .ecoupon-card.is-off .ecoupon-plain { filter: grayscale(1); opacity: .55; }
.ecoupon-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg); padding: 8px 22px; border: 4px solid #b3412f; color: #b3412f; font-size: 1.8rem; font-weight: 800; letter-spacing: .2em; background: rgba(255,255,255,.85); border-radius: 8px; }
.ecoupon-plain { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 16px; background: var(--brand, #5d6d5d); color: #fff; }
.ecoupon-plain strong { font-size: 2.2rem; }
.ecoupon-info { margin-top: 18px; }
.ecoupon-serial { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ecoupon-serial strong { font-size: 1.35rem; letter-spacing: .06em; }
.ecoupon-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.ecoupon-btns > * { flex: 1 1 200px; justify-content: center; text-align: center; }
.ecoupon-line { background: #06c755 !important; border-color: #06c755 !important; color: #fff !important; }

/* 館內一隅：館別分頁 */
.gallery-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
.gallery-tabs button { border: 1px solid var(--line, #d9d4c7); background: #fff; color: inherit; font: inherit; padding: 8px 18px; border-radius: 999px; cursor: pointer; letter-spacing: .05em; min-height: 40px; }
.gallery-tabs button[aria-selected="true"] { background: var(--brand, #5d6d5d); border-color: var(--brand, #5d6d5d); color: #fff; }
.gallery[hidden] { display: none; }
.area-notice { margin-top: 36px; }
.area-notice .gallery-tabs { justify-content: flex-start; margin: 0 0 8px; }
.area-notice [role=tabpanel][hidden] { display: none; }
.area-notice.first { margin-top: 0; }

.place-socials { display: inline-flex; gap: 14px; }
.place-head .place-socials .ic { width: 20px; height: 20px; color: var(--ink-2); }
.place-socials a:hover .ic { color: var(--gold-2); }

/* 各館聯絡資訊 */
.place-head .place-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.place-head .place-contact a, .place-head .place-contact span { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: .9rem; }
.place-head .place-contact .ic { width: 15px; height: 15px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 頁尾聯絡資訊：館別切換 */
.ft-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }
.ft-tabs button { border: 1px solid var(--line); background: transparent; color: var(--ink-2); font: inherit; font-size: .88rem; padding: 4px 14px; border-radius: 999px; cursor: pointer; letter-spacing: .04em; min-height: 32px; }
.ft-tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #f6f5f0; }
.ft-panel[hidden] { display: none; }
.ft-panel .info-list { gap: 10px; }
.ft-panel .socials { margin-top: 14px; gap: 18px; }
.ft-panel .socials .ic { width: 22px; height: 22px; color: var(--ink-2); margin: 0; }
.ft-panel .ft-name { font-weight: 500; color: var(--ink); }

/* 購物車：更改日期 */
.cart-dates-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cart-dates-head .section-h { margin-bottom: 0; }
.cart-dates { position: relative; }
.cart-dates .btn-line { display: inline-flex; align-items: center; gap: 8px; }
.cart-dates .btn-line .ic { width: 18px; height: 18px; }
.cart-dates .cal-pop { left: auto; right: 0; }
.cart-dates-head + .notice { margin-top: 16px; }
.cal-pop.cart-cal { position: absolute; right: auto; z-index: 70; }
@media (max-width: 760px) { .cal-pop.cart-cal { position: fixed; top: auto !important; left: 0 !important; right: 0; bottom: 0; } }

/* LINE 客服按鈕（右下角，在 TOP 按鈕上方） */
.line-fab { position: fixed; right: 26px; bottom: 128px; z-index: 46; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px 0 14px; height: 48px; border-radius: 999px; background: #06c755; color: #fff; text-decoration: none; font-size: .95rem; letter-spacing: .05em; box-shadow: 0 8px 22px rgba(6, 120, 60, .25); transition: transform .2s, bottom .25s; }
.line-fab:hover { transform: translateY(-2px); color: #fff; }
.line-fab .ic { width: 26px; height: 26px; }
body.has-cart-bar .line-fab { bottom: 202px; }
@media (max-width: 760px) {
  .line-fab { right: 14px; bottom: 92px; width: 52px; height: 52px; padding: 0; justify-content: center; }
  .line-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.has-cart-bar .line-fab { bottom: 160px; }
}
.in-frame .line-fab { display: none; }
