/* =========================================================
   Huei Ji 新版型（水彩 × 海軍藍 × 金）
   載入順序：site.css → 後台 themeCss → 本檔。
   只放頁首、頁尾、首頁與關於我們頁的區塊（hj-*）及其沿用的元件；其他頁面的版面仍由 site.css 負責。
   ========================================================= */
:root {
    --hj-navy: #1b2f5f;
    --hj-navy-ink: #1c2c55;
    --hj-gold: #c9a35b;
    --hj-gold-2: #dcbb79;
    --hj-gold-soft: #f0dcad;
    --hj-cream: #f9f2e4;
    --hj-paper: #fffcf6;
    --hj-text: #3b4358;
    --hj-muted: #6d7284;
    --hj-green: #6b8a4e;
    --hj-blue: #2f6db3;
    --hj-blue-soft: #5aa0d8;
    --hj-line: #e7dcc4;
    --hj-shadow: 0 6px 22px rgba(80, 60, 20, .10), 0 1px 3px rgba(80, 60, 20, .08);
    --hj-serif: "Libre Caslon Text", "Noto Serif TC", Georgia, serif;
    --hj-serif-zh: "Noto Serif TC", "Libre Caslon Text", serif;
    --hj-sans: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, -apple-system, "Segoe UI", sans-serif; /* 中文用裝置內建黑體，不下載 */
    --hj-radius: 12px;
}

body { background: var(--hj-cream) url("../images/hueiji/decor/paper.jpg") repeat; overflow-x: hidden; }
[hidden] { display: none !important; }

.hj-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.hj-arrow { display: inline-block; transition: transform .2s; }
a:hover .hj-arrow { transform: translateX(4px); }

/* ---------- Buttons / small parts ---------- */
.hj-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 34px; border-radius: 999px; text-decoration: none;
    font-family: var(--hj-serif); font-weight: 700; font-size: 17px;
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.hj-btn--gold,
.hj-hero .btn-sun {
    color: var(--hj-navy-ink);
    background: linear-gradient(180deg, #d8b56f 0%, #c49a50 100%);
    border: 0;
    box-shadow: 0 3px 10px rgba(150, 110, 40, .25), inset 0 1px 0 rgba(255,255,255,.35);
}
.hj-btn--gold:hover,
.hj-hero .btn-sun:hover { color: var(--hj-navy-ink); transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 8px 18px rgba(150,110,40,.3); }
.hj-btn--sm { padding: 10px 28px; font-size: 16px; font-family: var(--hj-serif-zh); }

.hj-card { background: var(--hj-paper); border-radius: var(--hj-radius); box-shadow: var(--hj-shadow); }

.hj-h2 { margin: 0; font-family: var(--hj-serif); font-weight: 700; font-size: 34px; line-height: 1.2; letter-spacing: -.01em; color: var(--hj-navy-ink); font-stretch: normal; }
.hj-h2--zh { font-family: var(--hj-serif-zh); font-weight: 900; letter-spacing: .04em; }
.hj-h2--line::after {
    content: ""; display: block; width: 74px; height: 3px; margin-top: 8px;
    background: linear-gradient(90deg, var(--hj-gold), var(--hj-gold-2)); border-radius: 2px;
}
.hj-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.hj-more { font-family: var(--hj-serif); font-weight: 700; font-size: 15px; color: var(--hj-navy-ink); white-space: nowrap; padding-bottom: 10px; text-decoration: none; }
.hj-more:hover { color: var(--hj-navy-ink); }
.hj-hint { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hj-muted); }
.hj-hint img { width: 30px; height: 30px; object-fit: contain; }
.hj-link { align-self: flex-start; font-family: var(--hj-serif); font-weight: 700; font-size: 15px; color: #23424a; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }

/* ---------- Header ---------- */
.hj-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--hj-navy) url("../images/hueiji/decor/header-bg.jpg") center / cover;
    box-shadow: 0 2px 10px rgba(10, 20, 50, .25);
}
.hj-header__inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.hj-brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.hj-brand:hover { color: #fff; }
/* 底色／濃度／圓角由 site.css 的 .brand-mark 套後台設定，這裡只管尺寸，陰影疊在底色外圈之外 */
.hj-brand__logo { width: 62px; height: 62px; box-shadow: 0 0 0 4px var(--logo-fill), 0 2px 8px rgba(0,0,0,.25); }
.hj-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.hj-brand__name { font-family: var(--hj-serif); font-size: 33px; font-weight: 400; letter-spacing: .01em; }
.hj-brand__sub { font-family: var(--hj-serif); font-size: 11.5px; letter-spacing: .14em; opacity: .9; margin-top: 4px; }

.hj-nav { display: flex; align-items: center; gap: 36px; }
.hj-nav__list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.hj-nav__link {
    display: flex; align-items: center; gap: 6px; padding: 8px 22px; border-radius: 999px; text-decoration: none;
    font-family: var(--hj-serif); font-size: 17px; color: #fff; white-space: nowrap; transition: background .2s, color .2s;
}
.hj-nav__link:hover { color: #fff; background: rgba(255,255,255,.1); }
.hj-nav__link.is-active, .hj-nav__link.is-active:hover { background: var(--hj-gold-soft); color: var(--hj-navy-ink); font-weight: 700; }
.hj-nav__link--rfq { box-shadow: inset 0 0 0 1.5px var(--hj-gold-2); }
.hj-nav__count {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
    background: var(--hj-gold); color: var(--hj-navy-ink); font-family: var(--hj-sans); font-size: 12px; font-weight: 700;
}

.hj-lang { display: flex; padding: 3px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.75); background: rgba(255,255,255,.12); }
.hj-lang__opt { padding: 5px 15px; border-radius: 999px; font-size: 13px; color: #fff; text-decoration: none; white-space: nowrap; }
.hj-lang__opt:hover { color: #fff; background: rgba(255,255,255,.12); }
.hj-lang__opt.is-active, .hj-lang__opt.is-active:hover { background: #dfe4ee; color: var(--hj-navy-ink); }

.hj-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.hj-burger span { display: block; width: 26px; height: 2px; margin: 6px 0; background: #fff; transition: transform .25s, opacity .25s; }

/* ---------- Hero（沿用輪播與後台設定的標題、說明文字） ---------- */
.hj-hero.hero { padding: 0; isolation: isolate; }
.hj-hero.hero {
    /* 插畫 cover 鋪滿整個大圖區、貼右下，上方不留米色空白（比插畫高時只裁掉一點左側樹葉） */
    /* 上緣只留一條很窄的漸層，蓋掉插畫最上面那條細線 */
    background:
        linear-gradient(var(--hj-cream), rgba(249, 242, 228, 0) 3%) center / 100% 100% no-repeat,
        url("../images/hueiji/decor/hero-harbor.webp") right bottom / cover no-repeat,
        var(--hj-cream);
}
.hj-hero .hero-inner {
    display: flex; align-items: center; min-height: clamp(460px, 42vw, 620px);
    width: 100%; max-width: none; margin: 0; padding: 0 0 3vw 7.7vw;
}
.hj-hero .hero-copy { max-width: min(560px, 42vw); }
/* 插畫不整張刷淡，只在文字區塊後方墊一團暈開的米色；跟著文字走，各種螢幕寬度都只淡化字的位置 */
.hj-hero.hero .hero-copy { position: relative; isolation: isolate; }
.hj-hero.hero .hero-copy::before {
    content: ""; position: absolute; inset: -12px -20px; z-index: -1; pointer-events: none;
    background: rgba(249, 242, 228, .72); border-radius: 40px; filter: blur(18px);
}
/* 新版型的大圖是整張插畫；主視覺輪播有上傳主圖時才放在右側（版心右緣往內縮） */
.hj-hero .hero-logo { margin: 0 7.7vw 0 auto; }
.hj-hero__eyebrow { margin: 0 0 12px; font-family: var(--hj-serif); font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: #a38c5d; }
.hj-hero .hero-title::after { width: 92px; height: 3px; margin-top: 18px; background: var(--hj-gold); border-radius: 2px; }
.hj-hero .hero-lead { max-width: min(470px, 36vw); line-height: 1.65; }
.hj-hero .hero-actions { margin-top: 30px; }
.hj-hero .hero-actions .btn { padding: 13px 34px; border-radius: 999px; font-family: var(--hj-serif); font-size: 17px; }
.hj-hero .btn-ghost-green { background: rgba(255,255,255,.75); border: 1.5px solid var(--hj-navy-ink); color: var(--hj-navy-ink); }
.hj-hero .btn-ghost-green:hover { background: var(--hj-navy); border-color: var(--hj-navy); color: #fff; }
.hj-hero .hero-slide-item.is-active .hero-copy > * { animation: hjUp .8s both; }
.hj-hero .hero-slide-item.is-active .hero-copy > :nth-child(2) { animation-delay: .08s; }
.hj-hero .hero-slide-item.is-active .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hj-hero .hero-slide-item.is-active .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes hjUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* 後台新增的輪播張：垂直置中在同樣高度的大圖區裡 */
.hj-hero .hs-wrap { display: flex; align-items: center; height: 100%; padding-block: 2rem 4rem; }

/* 翻頁：疊在大圖底部中間 */
.hj-hero .hero-nav { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 0; gap: 10px; z-index: 3; }
.hj-hero .hero-arrow {
    width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--hj-navy-ink);
    font-size: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: transform .2s;
}
.hj-hero .hero-arrow:hover { background: #fff; transform: scale(1.08); }
.hj-hero .hero-dots button { width: 24px; height: 36px; } /* 點擊範圍至少 24px（WCAG 2.5.8） */
.hj-hero .hero-dots button::before { width: 11px; height: 11px; border: 0; background: #d8d3c6; }
.hj-hero .hero-dots button[aria-current="true"]::before { background: var(--hj-navy); transform: scale(1.1); }

/* ---------- Edge leaves decoration ---------- */
.hj-edges { position: relative; }
.hj-edges::before, .hj-edges::after {
    content: ""; position: absolute; top: 0; width: 96px; pointer-events: none;
    background-repeat: no-repeat; background-size: 100% 100%; z-index: 0;
}
/* 樹葉已去背、內側淡出；外側稍微超出畫面，像插畫從邊緣伸進來（body 已 overflow-x: hidden）。
   高度跟著圖的比例，比區塊高時延伸到下一區，不會被區塊底部切掉 */
.hj-edges::before { left: -8px; }
.hj-edges::after { right: -8px; }
.hj-edges--1::before { background-image: url("../images/hueiji/decor/edge-l1.webp"); aspect-ratio: 88 / 888; }
.hj-edges--1::after { background-image: url("../images/hueiji/decor/edge-r1.webp"); aspect-ratio: 88 / 888; }
.hj-edges--2::before { background-image: url("../images/hueiji/decor/edge-l2.webp"); aspect-ratio: 92 / 700; }
.hj-edges--2::after { background-image: url("../images/hueiji/decor/edge-r2.webp"); aspect-ratio: 92 / 720; top: 60px; }
.hj-edges > .hj-container { position: relative; z-index: 1; }

/* ---------- Seasonal calendar ---------- */
.hj-season { padding: 34px 0 40px; }
.hj-season__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* 說明文字在上、月份列滿版，左緣和標題、日期列、月曆卡片對齊 */
/* 月份列＋日期列共用的圓角卡片 */
.hj-season__panel { margin: 14px 0 22px; padding: 14px 18px 16px; border-radius: 18px; border: 1px solid var(--hj-line); }
.hj-season__bar { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.hj-season__lead { margin: 0; font-size: 15px; color: #4b5266; line-height: 1.5; }

.hj-months {
    flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); list-style: none; margin: 0;
    background: #efe6d2; border-radius: 8px; padding: 4px; box-shadow: inset 0 1px 2px rgba(120,90,40,.12);
}
.hj-months li { display: flex; border-right: 1px solid rgba(160,130,80,.18); }
.hj-months li:last-child { border-right: 0; }
.hj-months li.is-window { background: rgba(255,255,255,.5); }
.hj-months__tab {
    flex: 1; border: 0; background: transparent; padding: 10px 0; font: inherit; font-size: 13.5px; color: #5c5a55;
    cursor: pointer; border-radius: 6px; transition: background .2s, color .2s;
}
.hj-months li.is-now .hj-months__tab { font-weight: 700; color: var(--hj-navy-ink); }
.hj-months__tab:hover { background: rgba(255,255,255,.7); }
.hj-months__tab[aria-pressed="true"], .hj-months li.is-now .hj-months__tab[aria-pressed="true"] { background: var(--hj-blue); color: #fff; box-shadow: 0 2px 6px rgba(47,109,179,.35); }

.hj-days { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 14px 0 0; padding: 0; list-style: none; justify-content: space-around;}
.hj-days__d {
    width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
    background: #fff; border: 1px solid var(--hj-line); font-size: 12.5px; color: #555;
}
.hj-days__d.is-today { background: var(--hj-blue); color: #fff; border-color: var(--hj-blue-soft); font-weight: 700; }

.hj-cal { padding: 22px 32px 30px; }
.hj-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.hj-cal__title { margin: 0; font-family: var(--hj-serif-zh); font-weight: 900; font-size: 25px; letter-spacing: .03em; color: var(--hj-navy-ink); font-stretch: normal; }
.hj-cal__feed { margin-left: 6px; font-family: var(--hj-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--hj-muted); }
/* 欄間虛線：每欄畫左線、往左推，最左欄的線被裁掉（月份順序由 JS 換，不能靠 DOM 相鄰） */
.hj-cal__cols { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.hj-cal__col { padding: 4px 18px 0; margin-left: -2px; border-left: 1.5px dashed #c9d6e8; animation: hjFade .4s both; }
@keyframes hjFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hj-cal__month {
    margin: 0 0 10px; text-align: center; font-family: var(--hj-serif-zh); font-weight: 900; font-size: 21px; color: var(--hj-navy-ink);
    display: flex; justify-content: center; align-items: center; gap: 10px; font-stretch: normal;
}
.hj-badge-now { font-family: var(--hj-sans); font-size: 12.5px; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: #f2c674; color: #5a3d08; }
.hj-cal__empty { margin: 0; text-align: center; color: var(--hj-muted); }
.hj-cal__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
.hj-cal__grid li { width: 33.333%; }
.hj-cal__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 14px; color: #34394a; text-decoration: none; text-align: center; cursor: grab; -webkit-touch-callout: none; }
.hj-cal__item.is-lifted img, .hj-cal__item.is-lifted svg { opacity: .35; }
.hj-cal__item:hover { color: var(--hj-navy-ink); }
.hj-cal__item img, .hj-cal__item svg { width: 60px; height: 60px; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s; }
.hj-cal__item:hover img, .hj-cal__item:hover svg { transform: translateY(-3px) scale(1.06); }
/* 盛產：圖右上角一顆小金點 */
.hj-cal__item.is-peak::after {
    content: ""; position: absolute; top: 2px; left: calc(50% + 22px); width: 9px; height: 9px; border-radius: 50%;
    background: var(--hj-gold); box-shadow: 0 0 0 2px var(--hj-paper);
}

/* 產品搜尋（月曆下方） */
.hj-search { margin-top: 20px; padding: 18px 24px; }
.hj-search .filters { margin: 0; background: none; border: 0; padding: 0; box-shadow: none; }
.hj-search .btn-sun { border-radius: 999px; background: var(--hj-navy); border-color: var(--hj-navy); color: #fff; padding-inline: 28px; }
.hj-search .btn-sun:hover { background: var(--hj-navy-ink); border-color: var(--hj-navy-ink); color: #fff; }

/* ---------- In season products（沿用產品卡片，換外觀） ---------- */
.hj-products { padding: 30px 0 46px; background: linear-gradient(180deg, rgba(255,250,238,0), rgba(244,234,213,.55) 30%, rgba(244,234,213,.55) 70%, rgba(255,250,238,0)); }
.hj-products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hj-products .card { background: var(--hj-paper); border: 0; border-radius: var(--hj-radius); transition: transform .25s, box-shadow .25s; }
.hj-products .card:not(.card-group) { box-shadow: var(--hj-shadow); }
.hj-products .card:not(.is-unavailable):hover { transform: translateY(-4px); }
.hj-products .card:not(.is-unavailable, .card-group):hover { box-shadow: 0 14px 30px rgba(80,60,20,.16); }
.hj-products .card-media { aspect-ratio: 189 / 145; border-bottom: 1px solid var(--hj-line); }
.hj-products .card-media img { transition: transform .5s; }
.hj-products .card:hover .card-media img { transform: scale(1.04); }
.hj-products .tag-season { top: 12px; left: 14px; border-radius: 4px; background: var(--hj-green); color: #fff; font-weight: 400; font-size: 13px; padding: 2px 10px; }
.hj-products .tag-unavailable { background: #6f7570; }
.hj-products .card-body { padding: 14px 22px 22px; }
.hj-products .card-title { font-family: var(--hj-serif); font-weight: 700; font-size: 22px; font-stretch: normal; }
.hj-products .card-title a { color: var(--hj-navy-ink); }
.hj-products .card-cat { color: #b0915a; }
.hj-products .card-more { font-family: var(--hj-serif); color: #23424a; text-decoration: none; border-bottom: 1.5px solid currentColor; justify-self: start; }
.hj-products .legend { margin: 18px 0 0; }

/* ---------- Categories ---------- */
.hj-cats { padding: 30px 0 40px; }
.hj-cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.hj-cat {
    position: relative; display: flex; align-items: stretch; min-height: 150px; height: 100%; overflow: hidden; text-decoration: none;
    border-radius: 10px; background: #f6eedb; box-shadow: var(--hj-shadow); transition: transform .25s, box-shadow .25s;
}
.hj-cat:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(80,60,20,.16); }
.hj-cat__img {
    width: 72%; height: auto; min-height: 150px; object-fit: cover; object-position: left center;
    -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
            mask-image: linear-gradient(90deg, #000 70%, transparent);
}
.hj-cat__text { position: absolute; top: 18px; right: 22px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.hj-cat__name { font-family: var(--hj-serif-zh); font-weight: 900; font-size: 24px; color: var(--hj-navy-ink); letter-spacing: .05em; }
.hj-cat__count { font-size: 13px; color: #555; }
.hj-cat__btn {
    position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; border: 1.5px solid #6b6253; font-size: 24px; padding-bottom: 3px; color: #333;
    background: rgba(255,255,255,.6); transition: background .2s, color .2s;
}
.hj-cat:hover .hj-cat__btn { background: var(--hj-navy); color: #fff; border-color: var(--hj-navy); }

/* ---------- About ---------- */
.hj-about { position: relative; padding: 30px 0 150px; background-size: cover; background-position: center bottom; background-repeat: no-repeat; }
.hj-about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.hj-about__text { margin: 18px 0 26px; font-size: 14.5px; line-height: 1.85; color: #3a3f50; text-align: justify; }
.hj-about__cards { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 6px; }
@media (min-width: 1181px) {
    .hj-about__intro { padding-left: 57px; }
}
.hj-vm { padding: 22px 26px 28px; }
.hj-vm__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; position: relative; }
.hj-vm__head::after { content: ""; position: absolute; left: 70px; bottom: 0; width: 110px; height: 2px; background: var(--hj-gold); }
.hj-vm__head img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.hj-vm h3, .hj-vm h2 { margin: 0; font-family: var(--hj-serif-zh); font-weight: 900; font-size: 24px; letter-spacing: .05em; color: var(--hj-navy-ink); font-stretch: normal; }
.hj-vm p { margin: 0; font-size: 14.5px; line-height: 1.9; color: #3d4252; }

/* ---------- About page（關於我們頁：沿用上面的 hj-about，另加市場區） ---------- */
.hj-about--page { padding-top: 46px; padding-bottom: 190px; }
.hj-about--page .hj-about__text--full { margin-bottom: 0; max-width: 46em; font-size: 15.5px; }

.hj-markets { padding: 40px 0 64px; }
.hj-markets__bar { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 16px 0 20px; }
.hj-markets__lead { margin: 0; max-width: 40em; font-size: 15px; line-height: 1.75; color: #4b5266; }
.hj-markets__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex: none; }
.hj-markets__list li {
    display: grid; gap: 2px; min-width: 140px; padding: 10px 22px 12px; border-radius: 10px;
    background: var(--hj-paper); box-shadow: var(--hj-shadow); border-top: 3px solid var(--hj-green);
}
.hj-markets__list .is-next { border-top-color: var(--hj-gold); }
.hj-markets__list span { font-size: 12.5px; letter-spacing: .08em; color: var(--hj-muted); }
.hj-markets__list strong { font-family: var(--hj-serif-zh); font-weight: 900; font-size: 22px; color: var(--hj-navy-ink); }
.hj-markets__cta { margin-top: 26px; }

/* 航線地圖（partials/market-routes）：換成米色紙卡、綠＝目前、金＝下一步 */
.hj-markets .market-map { margin: 0; border: 0; border-radius: var(--hj-radius); background: #eef3f0; box-shadow: var(--hj-shadow); }
.hj-markets .market-map .media-credit { border-top: 1px solid var(--hj-line); background: var(--hj-paper); }
.hj-markets .market-route.is-now .market-route-line { stroke: var(--hj-green); }
.hj-markets .market-route.is-next .market-route-line { stroke: var(--hj-gold); }
.hj-markets .market-route.is-now .market-dot { fill: var(--hj-green); }
.hj-markets .market-route.is-next .market-dot { fill: var(--hj-paper); stroke: var(--hj-gold); }
.hj-markets .market-plane { fill: var(--hj-navy); }
.hj-markets .market-label { font-family: var(--hj-serif-zh); fill: var(--hj-navy-ink); stroke: #eef3f0; }
.hj-markets .market-label--region { fill: #a9803a; }
.hj-markets .market-origin-dot { fill: var(--hj-gold-2); stroke: #a9803a; }
.hj-markets .market-origin-pulse { fill: var(--hj-gold); }

/* ---------- Why Taiwan fruits（爲什麽是台灣水果?） ---------- */
.hj-eyebrow { margin: 0 0 4px; font-family: var(--hj-serif); font-size: 13px; letter-spacing: .3em; color: #a38c5d; }
.hj-why { position: relative; padding: 34px 0 50px; overflow: hidden; }
.hj-why::before, .hj-why::after {
    content: ""; position: absolute; width: 520px; height: 520px; pointer-events: none;
    background: center / contain no-repeat; opacity: .35; z-index: 0;
}
.hj-why::before { left: -200px; top: 40px; background-image: url("../images/hueiji/decor/wash-green.webp"); transform: rotate(-20deg); }
.hj-why::after { right: -220px; bottom: -120px; background-image: url("../images/hueiji/decor/wash-gold.webp"); transform: rotate(35deg); }
.hj-why > .hj-container { position: relative; z-index: 1; }

.hj-why__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: stretch; }
.hj-why__main { overflow: hidden; display: flex; flex-direction: column; }
.hj-why__banner { position: relative; height: 220px; overflow: hidden; }
.hj-why__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hj-why__banner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(180deg, rgba(255,252,246,0), var(--hj-paper)); }
.hj-why__body { padding: 4px 32px 28px; }

.hj-why__head { display: flex; align-items: center; gap: 14px; margin: -34px 0 14px; position: relative; }
.hj-why__head h3, .hj-why__point h3 { font-family: var(--hj-serif-zh); font-weight: 900; font-size: 23px; letter-spacing: .04em; }
.hj-why__head h3 { padding-top: 26px; }

.hj-why__icon {
    position: relative; flex: none; width: 74px; height: 74px; display: grid; place-items: center;
}
.hj-why__icon::before {
    content: ""; position: absolute; inset: -8px; background: center / contain no-repeat; z-index: 0;
}
.hj-wash--gold::before { background-image: url("../images/hueiji/decor/wash-gold.webp"); }
.hj-wash--green::before { background-image: url("../images/hueiji/decor/wash-green.webp"); }
.hj-wash--blue::before { background-image: url("../images/hueiji/decor/wash-blue.webp"); }
.hj-why__icon svg {
    position: relative; z-index: 1; width: 44px; height: 44px;
    fill: none; stroke: #a9803a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.hj-why__icon--lg { width: 84px; height: 84px; }
.hj-why__icon--lg svg { width: 50px; height: 50px; }

.hj-why__block { padding: 12px 0 12px 18px; border-left: 3px solid var(--hj-gold-soft); margin-bottom: 10px; }
.hj-why__block h4 { font-family: var(--hj-serif-zh); font-weight: 700; font-size: 16.5px; color: #8a6a2e; margin: 0 0 6px; }
.hj-why__block p { margin: 0; font-size: 14.5px; line-height: 1.9; color: #3a3f50; text-align: justify; }

.hj-why__fruits { list-style: none; margin: 16px 0 0; padding: 14px 0 0; display: flex; justify-content: center; gap: 46px; border-top: 1.5px dashed #e3d4b4; }
.hj-why__fruits li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--hj-serif-zh); font-weight: 700; font-size: 14px; color: var(--hj-navy-ink); text-align: center; }
.hj-why__fruits img { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.hj-why__fruits li:hover img { transform: translateY(-4px) rotate(-4deg); }

.hj-why__side { display: grid; gap: 22px; grid-auto-rows: 1fr; }
.hj-why__point { position: relative; padding: 28px 30px 30px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.hj-why__point:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(80,60,20,.16); }
.hj-why__point h3 { margin: 12px 0 6px; }
.hj-why__point h3::after { content: ""; display: block; width: 60px; height: 2px; margin-top: 10px; background: var(--hj-gold); }
.hj-why__deco { position: absolute; right: 18px; bottom: 14px; width: 92px; height: 92px; object-fit: contain; opacity: .9; mix-blend-mode: multiply; transform: rotate(-8deg); pointer-events: none; }
.hj-why__point p { position: relative; z-index: 1; margin: 12px 0 0; font-size: 14.5px; line-height: 1.9; color: #3d4252; }

/* ---------- Process（詢價流程） ---------- */
.hj-process { padding: 10px 0 60px; }
.hj-process__list { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.hj-process__list li { counter-increment: step; padding: 22px 24px 24px; border-top: 3px solid var(--hj-gold); }
.hj-process__list li::before {
    content: counter(step, decimal-leading-zero); display: block; margin-bottom: 6px;
    font-family: var(--hj-serif); font-size: 28px; font-weight: 700; color: var(--hj-gold);
}
.hj-process__list h3 { margin: 0 0 6px; font-family: var(--hj-serif-zh); font-weight: 900; font-size: 19px; color: var(--hj-navy-ink); font-stretch: normal; }
.hj-process__list p { margin: 0; font-size: 14px; line-height: 1.75; color: #3d4252; }

/* ---------- Footer ---------- */
.hj-footer { background: #0d3357 url("../images/hueiji/decor/footer-bg.jpg") center right / cover no-repeat; color: #fff; }
.hj-footer a { color: #fff; text-decoration: none; }
.hj-footer a:hover { color: var(--hj-gold-2); }
.hj-footer p { margin: 0; }
.hj-footer__inner { display: flex; align-items: center; gap: 46px; min-height: 210px; padding-top: 30px; padding-bottom: 30px; padding-right: 380px; }
.hj-footer__brand { display: flex; align-items: center; gap: 18px; }
.hj-footer__logo { width: 76px; height: 76px; flex: none; }
.hj-footer__name { font-family: var(--hj-serif); font-size: 25px; }
.hj-footer__en { font-family: var(--hj-serif); font-size: 14px; opacity: .85; }
.hj-footer__tagline { font-family: var(--hj-serif); font-size: 15px; opacity: .92; margin-top: 4px !important; color: var(--hj-gold-2); }
.hj-footer__address { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px !important; font-size: 14px; }
.hj-footer__label { margin-right: .5em; opacity: .75; }
.hj-footer__divider { align-self: stretch; width: 1px; background: rgba(255,255,255,.35); }
.hj-footer__contact h2 { margin: 0 0 8px; color: #fff; font-family: var(--hj-serif); font-weight: 400; font-size: 20px; font-stretch: normal; }
.hj-footer__contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.hj-footer__contact li { display: flex; align-items: center; gap: 12px; }
.hj-footer svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.hj-footer__base { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 12px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12.5px; opacity: .8; }
.hj-footer__base a { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 聯絡我們頁 ---------- */
/* 同一張海灣水彩分兩個視窗：上方帶出兩角花葉，下方帶出海灣；寬度至少 1250px，窄螢幕只裁兩側、不拉長 */
.hj-contact {
    --hj-contact-w: max(100%, 1250px); padding-top: 0; overflow: hidden;
    /* 手機（720px 以下）換成 -sm 縮小版，見下方 media query；contact.blade.php 的 preload 要跟著改 */
    --hj-contact-bg: url("../images/contact/contact-bg.webp");
    --hj-contact-harbor: url("../images/contact/contact-harbor.webp");
}
.hj-contact.hj-edges::before, .hj-contact.hj-edges::after { top: 400px; }
.hj-contact__top, .hj-contact__scenery { pointer-events: none; }
.hj-contact__top {
    background: var(--hj-contact-bg) no-repeat;
    position: absolute; inset: 0 0 auto; height: 430px; z-index: 0; background-position: center top; background-size: var(--hj-contact-w) auto;
    -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent);
}
.hj-contact__scenery {
    position: relative; z-index: 0; height: clamp(300px, 27vw, 460px); margin-top: -10px; overflow: hidden;
    background: var(--hj-contact-harbor) center 62% / cover no-repeat;
    -webkit-mask-image: linear-gradient(transparent, #000 40px); mask-image: linear-gradient(transparent, #000 40px);
}
/* 花朵與芭樂：用海灣圖同樣的尺寸貼底，只留左下、右下兩角，邊緣淡出到漁港圖上 */
.hj-contact__scenery::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: var(--hj-contact-w); aspect-ratio: 1536 / 1024; transform: translateX(-50%);
    background: var(--hj-contact-bg) center / 100% 100% no-repeat;
    -webkit-mask-image: radial-gradient(ellipse 32% 48% at 0 100%, #000 72%, transparent), radial-gradient(ellipse 24% 50% at 100% 100%, #000 72%, transparent);
    mask-image: radial-gradient(ellipse 32% 48% at 0 100%, #000 72%, transparent), radial-gradient(ellipse 24% 50% at 100% 100%, #000 72%, transparent);
}

/* 上方多留空，標題不壓到左上角的花葉 */
.hj-contact__hero { max-width: 910px; min-height: 430px; margin: 0 auto; padding: 75px 50px 35px; display: grid; grid-template-columns: 1fr 390px; align-items: center; gap: 45px; }
.hj-contact__intro .hj-eyebrow { margin-bottom: 18px; font-size: 15px; letter-spacing: .34em; color: #aa7c2f; }
.hj-contact__title { margin: 0; font-family: var(--hj-serif); font-weight: 700; font-size: 66px; line-height: 1.08; color: var(--hj-navy-ink); font-stretch: normal; }
.hj-contact__title:not(:lang(en)) { font-family: var(--hj-serif-zh); font-weight: 900; letter-spacing: .08em; }
.hj-contact__rule { display: block; width: 46px; height: 3px; margin: 18px 0; background: var(--hj-gold); border-radius: 2px; }
.hj-contact__lead { margin: 0; font-family: var(--hj-serif); font-size: 25px; line-height: 1.45; color: var(--hj-navy-ink); }
.hj-contact__lead:not(:lang(en)) { font-family: var(--hj-serif-zh); font-weight: 900; font-size: 22px; letter-spacing: .06em; }
/* 水果籃圓形水彩底與紙色相近，用 multiply 融進底紋 */
.hj-contact__basket { width: 100%; height: auto; mix-blend-mode: multiply; }

.hj-contact__info { list-style: none; margin: 0 0 22px; padding: 26px 20px; display: flex; border: 1px solid var(--hj-line); }
.hj-contact__info > li { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-start; gap: 16px; padding: 0 20px; border-left: 1px solid var(--hj-line); }
.hj-contact__info > li:first-child { flex-grow: 1.2; border-left: 0; }
.hj-contact__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fae8bb; }
.hj-contact__icon svg { width: 28px; height: 28px; fill: none; stroke: #bc801c; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.hj-contact__info h2 { margin: 0 0 8px; font-family: var(--hj-serif); font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--hj-navy-ink); font-stretch: normal; }
.hj-contact__info h2:not(:lang(en)) { font-family: var(--hj-serif-zh); font-weight: 900; font-size: 19px; letter-spacing: .04em; }
.hj-contact__info p { margin: 0; font-family: var(--hj-serif); font-size: 15px; line-height: 1.65; color: var(--hj-navy-ink); overflow-wrap: anywhere; }
.hj-contact__info a { color: var(--hj-navy-ink); text-decoration: none; }
.hj-contact__info a:hover { text-decoration: underline; }
.hj-contact__label { margin-right: .5em; }

.hj-contact__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.hj-contact .hj-card { border: 1px solid var(--hj-line); border-radius: 14px; box-shadow: 0 4px 14px rgba(112, 87, 45, .08); background: rgba(255, 253, 247, .97); }
.hj-contact__h { margin: 0; font-family: var(--hj-serif); font-weight: 700; font-size: 32px; line-height: 1.15; color: var(--hj-navy-ink); font-stretch: normal; }
.hj-contact__h:not(:lang(en)) { font-family: var(--hj-serif-zh); font-weight: 900; font-size: 28px; letter-spacing: .06em; }
.hj-contact__h--sm { font-size: 28px; }
.hj-contact__h--sm:not(:lang(en)) { font-size: 24px; }

.hj-contact__form { padding: 32px 34px; }
.hj-contact__intro-text { margin: 0 0 20px; font-family: var(--hj-serif); font-size: 18px; line-height: 1.5; color: var(--hj-navy-ink); }

/* 表單上方提示（頁面過期等）：淡金底＋金色左條，進場閃一圈金光 */
.hj-contact__alert {
    display: flex; gap: 10px; align-items: flex-start;
    margin: 0 0 20px; padding: 14px 18px; border-radius: 10px;
    background: #fbf1d9; border-left: 4px solid var(--hj-gold);
    font-family: var(--hj-serif-zh); font-size: 17px; line-height: 1.7; color: var(--hj-navy-ink);
    animation: hj-alert-glow 1.6s ease-out;
}
.hj-contact__alert::before {
    content: "i"; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
    display: grid; place-items: center; background: var(--hj-gold); color: #fff;
    font-family: var(--hj-serif); font-weight: 700; font-size: 14px; line-height: 1;
}
@keyframes hj-alert-glow { 0% { box-shadow: 0 0 0 0 rgba(201, 163, 91, .55); } 70% { box-shadow: 0 0 0 12px rgba(201, 163, 91, 0); } 100% { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .hj-contact__alert { animation: none; } }

/* 送出成功彈窗：米白紙卡＋雙層金框，海軍藍霧面遮罩 */
.hj-sent { position: relative; margin: 0 0 20px; padding: 0; border: 0; background: transparent; max-width: none; color: inherit; }
.hj-sent:modal { position: fixed; margin: auto; overflow: visible; }
.hj-sent::backdrop { background: rgba(27, 47, 95, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hj-sent__card {
    width: min(480px, 92vw); box-sizing: border-box; padding: 44px 40px 38px; text-align: center;
    background: var(--hj-paper) url("../images/hueiji/decor/paper.jpg") repeat; border-radius: 16px;
    box-shadow:
        inset 0 0 0 1px var(--hj-gold),
        inset 0 0 0 7px var(--hj-paper),
        inset 0 0 0 8px var(--hj-gold-soft),
        0 24px 60px rgba(10, 20, 50, .35), 0 4px 12px rgba(10, 20, 50, .18);
}
.hj-sent:not(:modal) .hj-sent__card { width: auto; box-shadow: inset 0 0 0 1px var(--hj-gold), inset 0 0 0 7px var(--hj-paper), inset 0 0 0 8px var(--hj-gold-soft); }
.hj-sent__logo { display: block; width: 96px; height: 96px; margin: 0 auto 10px; filter: drop-shadow(0 4px 10px rgba(150, 110, 40, .25)); }
.hj-sent__brand { margin: 0; font-family: var(--hj-serif); font-size: 15px; letter-spacing: .32em; text-transform: uppercase; color: var(--hj-gold); padding-left: .32em; }
.hj-sent__rule { display: block; width: 74px; height: 2px; margin: 14px auto 18px; background: linear-gradient(90deg, transparent, var(--hj-gold), var(--hj-gold-2), transparent); }
.hj-sent__title { margin: 0 0 12px; font-family: var(--hj-serif); font-weight: 700; font-size: 30px; line-height: 1.25; color: var(--hj-navy-ink); }
.hj-sent__title:not(:lang(en)) { font-family: var(--hj-serif-zh); font-weight: 900; font-size: 28px; letter-spacing: .1em; padding-left: .1em; }
.hj-sent__text { margin: 0 0 26px; font-family: var(--hj-serif-zh); font-size: 18px; line-height: 1.8; color: var(--hj-text); }
.hj-sent__close { min-width: 160px; justify-content: center; }
.hj-sent[open]:modal { animation: hj-sent-in .45s cubic-bezier(.2, .8, .2, 1); }
.hj-sent[open]:modal::backdrop { animation: hj-sent-fade .35s ease-out; }
@keyframes hj-sent-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hj-sent-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hj-sent[open]:modal, .hj-sent[open]:modal::backdrop { animation: none; } }
@media (max-width: 520px) { .hj-sent__card { padding: 36px 24px 30px; } .hj-sent__title:not(:lang(en)) { font-size: 24px; } .hj-sent__text { font-size: 16px; } }

.hj-contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hj-field { margin-bottom: 18px; }
.hj-field label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; font-family: var(--hj-serif); font-weight: 700; font-size: 16px; color: var(--hj-navy-ink); }
.hj-field label:not(:lang(en)) { font-family: var(--hj-serif-zh); }
.hj-field label b { margin-left: -4px; color: #bd542d; font-weight: 400; }
.hj-field input, .hj-field textarea {
    display: block; width: 100%; min-height: 45px; padding: 10px 14px; border: 1px solid #ddd7cd; border-radius: 6px; background: #fff;
    font: 16px/1.5 var(--hj-serif); color: var(--hj-navy-ink); transition: border-color .2s, box-shadow .2s;
}
.hj-field textarea { min-height: 120px; resize: vertical; }
.hj-field input::placeholder, .hj-field textarea::placeholder { color: #8d96a2; }
.hj-field input:focus, .hj-field textarea:focus { outline: none; border-color: var(--hj-gold); box-shadow: 0 0 0 3px rgba(201,163,91,.22); }
.hj-field [aria-invalid="true"] { border-color: #c0392b; }
.hj-field__err { margin: 4px 0 0; font-size: 13px; color: #c0392b; }
.hj-contact__submit { margin-top: 4px; padding: 13px 34px; font-family: var(--hj-serif); font-weight: 700; font-size: 20px; letter-spacing: .04em; cursor: pointer; }
.hj-contact__submit:not(:lang(en)) { font-family: var(--hj-serif-zh); font-weight: 900; font-size: 18px; letter-spacing: .08em; }
.hj-contact__submit .hj-arrow { margin-left: 8px; }
.hj-contact__submit:hover .hj-arrow { transform: translateX(4px); }

.hj-contact__side { display: flex; flex-direction: column; gap: 20px; }
.hj-contact__card { padding: 26px; }
.hj-contact__card .hj-contact__rule { margin: 12px 0; }
.hj-contact__art { display: block; width: 100%; height: auto; border-radius: 6px; }
.hj-contact__card p { margin: 12px 0 0; font-family: var(--hj-serif); font-size: 16px; line-height: 1.55; color: var(--hj-navy-ink); }
.hj-contact__card p:not(:lang(en)) { font-family: var(--hj-serif-zh); font-size: 15px; line-height: 1.75; }
.hj-contact__card p.hj-contact__tagline { color: #b8852c; font-size: 21px; }
.hj-contact__tagline:lang(en) { font-style: italic; }
.hj-contact__card p.hj-contact__address { margin-top: 10px; font-size: 14.5px; line-height: 1.6; }
.hj-contact__maplink {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 9px 22px; border-radius: 999px;
    background: var(--hj-navy); color: #fff; font-family: var(--hj-serif); font-size: 15px; text-decoration: none; transition: background .2s;
}
.hj-contact__maplink:hover { background: var(--hj-navy-ink); color: #fff; }

/* ---------- 五色鳥「聯絡我們」浮動小工具（partials/contact-fab）；z-index 低於頁首（50） ---------- */
.bird-widget {
    position: fixed; right: 12px; bottom: 24px; z-index: 45; width: 90px;
    touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
}
.bird-widget[hidden] { display: none; }
.bird-widget.is-dragging { cursor: grabbing; }
.bird-widget.is-snapping { transition: left .35s cubic-bezier(.2, .8, .2, 1), top .35s cubic-bezier(.2, .8, .2, 1); }
.bird-widget__link { position: relative; display: block; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; }
/* 配色：原圖偏螢光，降飽和＋暖米色調貼近網站的水彩 × 海軍藍 × 金；米白光暈讓牠在任何背景都清楚 */
.bird-widget, .bird-feather {
    --bird-tone: saturate(.78) sepia(.16) brightness(.99) contrast(1.03);
    --bird-glow: drop-shadow(0 0 5px rgba(249, 242, 228, .9)) drop-shadow(0px 4px 10px rgba(0, 0, 0, .15));
}
.bird-widget__img {
    display: block; width: 100%; height: auto; pointer-events: none;
    filter: var(--bird-tone) var(--bird-glow); transform-origin: 50% 85%; transition: transform .25s, opacity .45s;
}
.bird-widget:hover .bird-widget__img { transform: scale(1.06); }
.bird-widget.is-dragging .bird-widget__img { transform: scale(1.1); }
.bird-widget.is-wiggle .bird-widget__img { animation: hjBirdTilt 1.2s ease-in-out; }
/*
   開場飛入（路徑、遠近、傾斜由 JS 逐格設定在 .bird-fly 的 transform 上）：
   .bird-fly        展翅鳥，頭部對齊停靠圖的頭，翅膀伸出去
   .bird-fly__rig   隨拍翅上下起伏
   wing--l / --r    同一張展翅圖用 clip-path 切出左右翅，繞肩膀拍動；body 疊最上層蓋接縫
   __branch         停靠圖只切出樹枝那一塊，先出現在停靠點等小鳥降落
*/
.bird-fly {
    position: absolute; left: 50%; top: -17%; width: 175%; translate: -50% 0;
    pointer-events: none; opacity: 0; transform-origin: 50% 42%; will-change: transform;
}
/* 不在飛（停在樹枝上）時 .bird-fly 是透明的，裡面每 0.2 秒一圈的拍翅動畫還是會一直重算樣式、重畫濾鏡：暫停 */
.bird-widget:not(.is-flying):not(.is-departing) .bird-fly,
.bird-widget:not(.is-flying):not(.is-departing) .bird-fly * { animation-play-state: paused; }
.bird-fly__rig { position: relative; animation: hjBodyBob var(--flap, .2s) ease-in-out infinite; filter: var(--bird-glow); }
.bird-fly img { display: block; width: 100%; max-width: none; height: auto; filter: var(--bird-tone); }
.bird-fly__wing { position: absolute; inset: 0; }
.bird-fly__wing--l { clip-path: polygon(0 0, 41% 0, 41% 64%, 30% 78%, 0 78%); transform-origin: 40% 42%; animation: hjWingL var(--flap, .2s) ease-in-out infinite; }
.bird-fly__wing--r { clip-path: polygon(59% 0, 100% 0, 100% 78%, 59% 78%); transform-origin: 60% 42%; animation: hjWingR var(--flap, .2s) ease-in-out infinite; }
.bird-fly__body { position: relative; z-index: 1; clip-path: polygon(37% 8%, 63% 8%, 63% 100%, 25% 100%, 25% 72%, 37% 62%); }
/*
   側飛（.is-side）：取代正面展翅層，up／down 兩張交替拍翅。
   朝右（.is-face-right）有右向圖（.has-right）就換成 .bird-fly__side-right，沒有才把左向圖翻轉（經過 scaleX 0 像轉身）。
   側飛圖 480×262，寬度 125% 是疊圖讓頭部大小接近正面展翅圖。
*/
.bird-fly__rig, .bird-fly__pose { transition: opacity .25s; }
.bird-fly__pose {
    position: absolute; left: 50%; top: 50%; width: 82%; translate: -50% -50%; opacity: 0;
    filter: var(--bird-glow); transition: opacity .25s, scale .18s ease-in-out;
}
.bird-fly__pose .bird-fly__frame { position: absolute; inset: 0; }
.bird-fly__pose .bird-fly__frame--up { position: relative; animation: hjFrameA var(--flap, .2s) step-end infinite; }
.bird-fly__pose .bird-fly__frame--down { animation: hjFrameB var(--flap, .2s) step-end infinite; }
.bird-fly__pose.is-single .bird-fly__frame--up { animation: hjBodyBob var(--flap, .2s) ease-in-out infinite; }
.bird-widget.is-side .bird-fly__rig, .bird-widget.is-back .bird-fly__rig { opacity: 0; }
.bird-widget.is-side .bird-fly__side, .bird-widget.is-back .bird-fly__back { opacity: 1; }
.bird-fly__side, .bird-fly__side-right { width: 125%; }
.bird-widget.is-face-right .bird-fly__side:not(.has-right) { scale: -1 1; }
.bird-widget.is-side.is-face-right .bird-fly__side.has-right { opacity: 0; }
.bird-widget.is-side.is-face-right .bird-fly__side-right { opacity: 1; }
/* 左右轉身（.is-turning，JS 控制 0.36s）：側飛層左右壓扁到最窄、在最窄時換向（JS 在一半時間切 .is-face-right）、再展開 */
.bird-widget.is-turning .bird-fly__side.has-right, .bird-widget.is-turning .bird-fly__side-right { animation: hjSideTurn .36s ease-in-out; transition: none; }
@keyframes hjSideTurn { 50% { scale: .06 1; } }
/* 滑翔（.is-gliding，JS 在飛行中拍一陣、滑一陣切換）：翅膀停在平展、身體不起伏 */
.bird-widget.is-gliding .bird-fly__wing, .bird-widget.is-gliding .bird-fly__rig, .bird-widget.is-gliding .bird-fly__back { animation: none; }
.bird-widget.is-gliding .bird-fly__pose .bird-fly__frame { animation: none; }
.bird-widget.is-gliding .bird-fly__pose .bird-fly__frame--up { opacity: 0; }
.bird-widget.is-gliding .bird-fly__pose .bird-fly__frame--down,
.bird-widget.is-gliding .bird-fly__pose.is-single .bird-fly__frame--up { opacity: 1; }
/*
   離場轉身（.is-back）：正面展翅繞垂直軸轉到側邊（變細）後隱藏，背影從另一側轉進來 → 看起來是整隻鳥轉過身。
   用獨立的 rotate 屬性，不和拍翅、起伏的 transform 動畫衝突。
   背影 widget-bird-back.webp（480×262）的寬度／位置是疊圖對齊正面展翅圖（360×205）的頭與身體：
   身體寬約占正面圖 20.6%、背影圖 16%（→ 寬 122%），頭頂對齊（→ 中心在 52.7% 高）。換背影圖時要重新比對。
   背影也切成左翅／右翅／身體三層拍翅（身體約在背影圖 x 41–59%，肩膀約在 40% 高）。
*/
.bird-fly { perspective: 500px; }
.bird-fly__back {
    width: 122%; top: 52.7%; rotate: y -90deg; transition: opacity 0s .18s, rotate .18s ease-in;
    animation: hjBodyBob var(--flap, .2s) ease-in-out infinite;
}
.bird-fly__back .bird-fly__wing--l { clip-path: polygon(0 0, 41% 0, 41% 70%, 0 85%); transform-origin: 41% 40%; }
.bird-fly__back .bird-fly__wing--r { clip-path: polygon(59% 0, 100% 0, 100% 85%, 59% 70%); transform-origin: 59% 40%; }
.bird-fly__back .bird-fly__body { clip-path: polygon(39% 15%, 61% 15%, 61% 72%, 67% 78%, 67% 100%, 39% 100%); }
/* 前半 0.3s 正面加速轉到側邊、後半 0.35s 背影從側邊減速轉正，兩段在 90° 交接，速度連續 */
.bird-widget.is-back .bird-fly__rig { rotate: y 90deg; transition: rotate .3s cubic-bezier(.45, 0, .9, .6), opacity 0s .3s; }
.bird-widget.is-back .bird-fly__back { rotate: y 0deg; transition: opacity 0s .3s, rotate .35s cubic-bezier(.1, .4, .55, 1) .3s; }
/*
   轉身過場（.is-turnpose，JS 依序設 --turn-row）：widget-bird-turn.webp 一欄五格
   （正面偏左、正面、正面偏右、背面偏左、背面偏右，見 tools/bird-sprite/turn.php）。
   過場時其他圖層瞬間隱藏、過場圖瞬間出現；播完過場圖淡出、真正的姿態淡入。
   大小／位置是疊圖目測對齊舊正面展翅圖與背影圖的頭和身體（格寬 82%、中心 48.5% / 53%）。
   有過場圖（.has-turn）時離場不再用 3D 旋轉，改由過場圖帶過。
*/
.bird-fly__turn {
    position: absolute; left: 48.5%; top: 53%; width: 82%; aspect-ratio: 174 / 142; translate: -50% -50%;
    background-repeat: no-repeat; background-size: 100% 500%; background-position: 0 calc(var(--turn-row, 1) * 25%);
    opacity: 0; pointer-events: none; filter: var(--bird-tone) var(--bird-glow); transition: opacity .2s;
    animation: hjBodyBob var(--flap, .2s) ease-in-out infinite;
}
.bird-widget.is-turnpose .bird-fly__turn { opacity: 1; transition: none; }
/* 選擇器多一層 .bird-fly，才蓋得過 .is-side.is-face-right .bird-fly__side-right 這類顯示規則 */
.bird-widget.is-turnpose .bird-fly > .bird-fly__rig, .bird-widget.is-turnpose .bird-fly > .bird-fly__pose { opacity: 0; transition: none; }
.bird-widget.is-gliding .bird-fly__turn { animation: none; }
.bird-widget.has-turn .bird-fly__back, .bird-widget.has-turn.is-back .bird-fly__back,
.bird-widget.has-turn.is-back .bird-fly__rig { rotate: none; }
.bird-widget.has-turn.is-back .bird-fly__back { transition: opacity .25s; }
/* 聯絡我們頁接著飛（.is-handoff）：一出現就是上一頁換頁時的樣子，不要淡入 */
.bird-widget.is-handoff .bird-fly, .bird-widget.is-handoff .bird-fly > .bird-fly__rig,
.bird-widget.is-handoff .bird-fly > .bird-fly__back { transition: none; }
@keyframes hjFrameA { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes hjFrameB { 0% { opacity: 0; } 50% { opacity: 1; } }
.bird-widget__branch {
    position: absolute; inset: 0; width: 100%; height: auto; pointer-events: none; opacity: 0;
    clip-path: polygon(0 45%, 23% 45%, 23% 84%, 100% 84%, 100% 100%, 0 100%); filter: var(--bird-tone);
}
/* 停在左邊：原圖臉朝左，停靠圖與樹枝一起左右鏡像成朝右（用獨立 scale 屬性，不和 transform 動畫衝突） */
.bird-widget.is-left .bird-widget__img, .bird-widget.is-left .bird-widget__branch { scale: -1 1; }
.bird-widget.is-flying { pointer-events: none; }
.bird-widget.is-flying .bird-fly { opacity: 1; }
.bird-widget.is-flying .bird-widget__img { opacity: 0; transition: none; }
.bird-widget.is-flying .bird-widget__branch { opacity: 1; transition: opacity .6s .3s; }
/* 仰身煞車：翅膀拍得更快 */
.bird-widget.is-flaring .bird-fly { --flap: .13s; }
/* 收翅落枝：翅膀往肩膀收攏、展翅鳥淡出，停靠圖淡入 */
.bird-widget.is-folding .bird-fly__wing { animation: none; transform: rotate(0) scaleX(.2); opacity: 0; transition: transform .25s ease-in, opacity .25s ease-in; }
.bird-widget.is-folding .bird-fly__rig { animation: none; }
.bird-widget.is-folding .bird-fly { opacity: 0; transition: opacity .3s .12s; }
.bird-widget.is-flying.is-folding .bird-widget__img { opacity: 1; transition: opacity .3s .12s; }
/* 收起離場：停靠圖淡出、樹枝留著，展翅鳥從收攏展開起飛；起飛後樹枝淡出 */
.bird-widget.is-departing { pointer-events: none; }
.bird-widget.is-departing .bird-fly { opacity: 1; transition: opacity .15s; }
.bird-widget.is-departing .bird-widget__img { opacity: 0; transition: opacity .25s; }
.bird-widget.is-departing .bird-widget__branch { opacity: 1; transition: none; }
.bird-widget.is-departing.is-branch-gone .bird-widget__branch { opacity: 0; transition: opacity .6s .1s; }
.bird-widget.is-takeoff .bird-fly__wing { animation: hjWingOpen .35s ease-out both; }
.bird-widget.is-departing .bird-widget__tip, .bird-widget.is-departing .bird-widget__close { opacity: 0; }
@keyframes hjWingOpen {
    from { transform: rotate(0) scaleX(.2); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
/* 踩上樹枝：輕輕壓縮回彈 */
.bird-widget.is-perched .bird-widget__img { animation: hjBirdPerch .4s ease-out; }
.bird-widget.is-flying .bird-widget__tip, .bird-widget.is-flying .bird-widget__close,
.bird-widget.is-perched .bird-widget__tip, .bird-widget.is-perched .bird-widget__close { opacity: 0; }
/* 拍翅：上撲抬高、下撲壓低並前縮（透視） */
@keyframes hjWingL {
    0%, 100% { transform: rotate(12deg); }
    50%      { transform: rotate(-40deg) scaleY(.72); }
}
@keyframes hjWingR {
    0%, 100% { transform: rotate(-12deg); }
    50%      { transform: rotate(40deg) scaleY(.72); }
}
/* 下撲時身體被撐起 */
@keyframes hjBodyBob {
    0%, 100% { transform: translateY(3px); }
    50%      { transform: translateY(-3px); }
}
@keyframes hjBirdPerch {
    0%   { transform: translateY(3px) scaleY(.9); }
    45%  { transform: translateY(-2px) scaleY(1.04); }
    75%  { transform: scaleY(.98); }
    100% { transform: none; }
}
@keyframes hjBirdTilt {
    0%, 100% { transform: none; }
    15% { transform: rotate(-9deg); }
    30% { transform: rotate(-9deg); }
    45% { transform: translateY(-10px) rotate(5deg); }
    60% { transform: translateY(0) rotate(0); }
    72% { transform: translateY(-5px); }
    84% { transform: none; }
}
/*
   啄樹枝（.is-pecking）：widget-bird-peck.webp 橫排 11 格＝啄樹枝 8 格＋轉頭張望 3 格
   （tools/bird-sprite/peck-widget.php 產生，格數變了要照它印出的值改 background-size／position），JS 逐格設 --peck-frame。
   第 1 格就是停靠圖，啄的時候停靠圖瞬間換成這層、啄完瞬間換回（用 visibility，不淡入淡出）。
   每格比停靠圖大一點（抬頭時頭會超出停靠圖的框），位置與大小照 peck-widget.php 印出的值；
   外層和停靠圖同框，停在左邊時一起鏡像。
*/
.bird-widget__peck { position: absolute; inset: 0; pointer-events: none; visibility: hidden; transform-origin: 50% 85%; transition: transform .25s; }
.bird-widget__peck-frames {
    position: absolute; left: -2.5%; top: -2.679%; width: 102.917%; aspect-ratio: 247 / 229;
    background-repeat: no-repeat; background-size: 1100% 100%; background-position: calc(var(--peck-frame, 0) * 100% / 10) 0;
    filter: var(--bird-tone) var(--bird-glow);
}
.bird-widget.is-pecking .bird-widget__peck { visibility: visible; }
.bird-widget.is-pecking .bird-widget__img { visibility: hidden; }
.bird-widget.is-left .bird-widget__peck { scale: -1 1; }
.bird-widget:hover .bird-widget__peck { transform: scale(1.06); }
/*
   樹枝上的水果（JS 放在鳥嘴前的空位）：寬度是小工具寬的百分比，手機自動跟著縮；
   跟停靠圖一樣停左邊時鏡像，拖鳥、換邊時一起移動
*/
.bird-widget__fruits { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bird-widget.is-left .bird-widget__fruits { scale: -1 1; }
.bird-widget.is-flying .bird-widget__fruits, .bird-widget.is-departing .bird-widget__fruits { opacity: 0; }
.bird-fruit {
    position: absolute; width: 21%; aspect-ratio: 1; translate: -50% -50%;
    transform: scale(var(--fruit-s, 1)); transform-origin: 50% 80%; transition: transform .18s ease-out;
    filter: drop-shadow(0 2px 2px rgba(60, 40, 20, .25));
}
.bird-fruit > img, .bird-fruit > svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.bird-fruit.is-bitten { animation: hjFruitBite .22s ease-out; }
@keyframes hjFruitBite { 40% { rotate: -10deg; translate: -50% -42%; } }
/* 拖曳中的水果、掉下去的水果與碎屑：fixed 在畫面上，位置由 JS 逐格設定 */
.fruit-ghost {
    position: fixed; left: 0; top: 0; z-index: 60; width: 48px; height: 48px; margin: -24px 0 0 -24px; pointer-events: none;
    filter: drop-shadow(0 6px 8px rgba(40, 30, 20, .3)); will-change: transform, opacity;
}
.fruit-ghost > img, .fruit-ghost > svg { display: block; width: 100%; height: 100%; object-fit: contain; }
/* 碎屑：6px 的小窗看放大的水果圖中間，看起來是同色的一小塊果肉 */
.fruit-crumb { position: fixed; left: 0; top: 0; z-index: 46; width: 6px; height: 6px; margin: -3px 0 0 -3px; overflow: hidden; border-radius: 45%; pointer-events: none; }
.fruit-crumb > img, .fruit-crumb > svg { position: absolute; left: -12px; top: -12px; width: 30px; height: 30px; max-width: none; object-fit: cover; }
/* 拖著水果經過鳥嘴前：小鳥稍微湊過來 */
.bird-widget.is-feed-target .bird-widget__img, .bird-widget.is-feed-target .bird-widget__peck { transform: scale(1.08); }
body.is-fruit-dragging, body.is-fruit-dragging * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
/* hover 對話框：深藍底白字，鳥在右邊時出現在左側，在左邊時出現在右側 */
.bird-widget__tip {
    position: absolute; top: 50%; right: calc(100% + 12px); transform: translate(6px, -50%);
    padding: 10px 16px; border-radius: 10px; background: var(--hj-navy); color: #fff; white-space: nowrap;
    font-family: var(--hj-serif-zh); font-size: 16px; font-weight: 700; letter-spacing: .03em;
    box-shadow: 0 8px 20px rgba(10, 20, 50, .3); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.bird-widget__tip::after {
    content: ""; position: absolute; top: 50%; left: 100%; margin-top: -7px;
    border: 7px solid transparent; border-left-color: var(--hj-navy);
}
.bird-widget.is-left .bird-widget__tip { right: auto; left: calc(100% + 12px); transform: translate(-6px, -50%); }
.bird-widget.is-left .bird-widget__tip::after { left: auto; right: 100%; border-left-color: transparent; border-right-color: var(--hj-navy); }
.bird-widget:hover .bird-widget__tip, .bird-widget:focus-within .bird-widget__tip { opacity: 1; transform: translate(0, -50%); }
.bird-widget.is-dragging .bird-widget__tip, .bird-widget.is-snapping .bird-widget__tip { opacity: 0; }
/* X 關閉：桌機 hover 才出現，手機一直顯示 */
.bird-widget__close {
    position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; padding: 0;
    display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%;
    background: var(--hj-navy); color: #fff; font: 700 16px/1 system-ui, sans-serif; cursor: pointer;
    box-shadow: 0 2px 6px rgba(10, 20, 50, .3); opacity: 0; transition: opacity .2s;
}
.bird-widget:hover .bird-widget__close, .bird-widget__close:focus-visible { opacity: 1; }
.bird-widget__close:hover { background: var(--hj-navy-ink); }
/* 收起後留在邊緣的小羽毛（約 30px），點一下讓小鳥再飛出來 */
.bird-feather {
    position: fixed; right: 10px; bottom: 28px; z-index: 45; width: 38px; height: 38px; padding: 4px;
    display: grid; place-items: center; border: 1px solid rgba(200, 164, 93, .55); border-radius: 50%;
    background: rgba(255, 252, 244, .92); box-shadow: 0 3px 10px rgba(10, 20, 50, .16); cursor: pointer;
    opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity .25s, transform .25s, box-shadow .2s;
}
.bird-feather[hidden] { display: none; }
.bird-feather.is-left { right: auto; left: 10px; }
.bird-feather.is-shown { opacity: .85; transform: none; }
.bird-feather.is-shown:hover, .bird-feather:focus-visible { opacity: 1; transform: rotate(-12deg) scale(1.08); box-shadow: 0 5px 14px rgba(10, 20, 50, .24); }
.bird-feather svg { display: block; width: 30px; height: 30px; }
/* 種類頁簡介下方的聯絡按鈕（同浮動按鈕的海軍藍圓角） */
.group-contact { margin-top: 1.4rem; }
.group-contact .btn { border-radius: 999px; background: var(--hj-navy); border-color: var(--hj-navy); color: #fff; padding-inline: 28px; }
.group-contact .btn:hover { background: var(--hj-navy-ink); border-color: var(--hj-navy-ink); color: #fff; }
/* 詢價列（sticky）右側讓出浮動按鈕的位置 */
.product-page .spec-submit { padding-right: 130px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .hj-nav { gap: 16px; }
    .hj-nav__link { padding: 8px 14px; font-size: 16px; }
    .hj-products__grid { grid-template-columns: repeat(2, 1fr); }
    .hj-cal__cols { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
    .hj-about__inner { grid-template-columns: 1fr; }
    .hj-footer__inner { padding-right: 40px; }
    .hj-contact__hero { grid-template-columns: 1fr 330px; gap: 20px; padding: 75px 40px 30px; }
    .hj-contact__title { font-size: 58px; }
    .hj-contact__info { padding: 22px 12px; }
    .hj-contact__info > li { gap: 10px; padding: 0 14px; }
    .hj-contact__icon { width: 44px; height: 44px; }
    .hj-contact__icon svg { width: 24px; height: 24px; }
    .hj-contact__info h2 { font-size: 20px; }
    .hj-contact__info p { font-size: 13.5px; }
}
@media (max-width: 960px) {
    .hj-burger { display: block; }
    .hj-nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px;
        padding: 16px 24px 22px; background: var(--hj-navy); box-shadow: 0 10px 20px rgba(0,0,0,.25);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
    }
    .hj-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .hj-nav__list { flex-direction: column; gap: 4px; }
    .hj-lang { align-self: flex-start; }
    .hj-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hj-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .hj-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hj-cats__grid { grid-template-columns: 1fr; }
    .hj-why__grid { grid-template-columns: 1fr; }
    .hj-why__side { grid-auto-rows: auto; }
    .hj-footer { background-size: auto 150px; background-position: right bottom; }
    .hj-footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 150px; }
    .hj-footer__divider { width: 100%; height: 1px; }
    .hj-about { background-size: 1400px auto; padding-bottom: 200px; }
    .hj-markets__bar { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hj-contact__hero { min-height: 340px; grid-template-columns: 1fr 250px; padding: 90px 20px 35px; }
    .hj-contact__title { font-size: 52px; }
    .hj-contact__lead { font-size: 22px; }
    .hj-contact__info { flex-direction: column; padding: 24px; }
    .hj-contact__info > li, .hj-contact__info > li:first-child { flex: none; border-left: 0; padding: 0; }
    .hj-contact__info > li + li { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hj-line); }
    .hj-contact__icon { width: 52px; height: 52px; }
    .hj-contact__info h2 { font-size: 22px; }
    .hj-contact__info p { font-size: 15px; }
    .hj-contact__grid { grid-template-columns: minmax(0, 1fr); }
    .hj-contact__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
    .hj-contact__card { padding: 22px; }
    .hj-contact__scenery { height: 280px; --hj-contact-w: 1100px; }
}
@media (max-width: 720px) {
    .hj-container { padding: 0 16px; }
    .hj-header__inner { height: 72px; }
    .hj-brand__logo { width: 48px; height: 48px; }
    .hj-brand__name { font-size: 25px; }
    .hj-brand__sub { font-size: 9px; }
    .hj-hero.hero { background-size: auto 46%; background-position: 78% bottom; }
    .hj-hero .hero-inner { align-items: flex-start; min-height: 600px; padding: 36px 16px 0; position: relative; }
    .hj-hero.hero .hero-inner::before { content: ""; position: absolute; inset: 0 0 36% 0; z-index: -1; background: linear-gradient(180deg, var(--hj-cream) 72%, rgba(249,242,228,0)); }
    .hj-hero .hero-copy, .hj-hero .hero-lead { max-width: 100%; }
    .hj-hero .hero-inner { flex-direction: column; }
    .hj-hero .hero-logo { margin: 0 auto; }
    .hj-h2 { font-size: 26px; }
    .hj-season__head, .hj-cal__head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .hj-season__panel { padding: 12px; border-radius: 14px; }
    .hj-months { grid-template-columns: repeat(6, 1fr); }
    .hj-months li:nth-child(6) { border-right: 0; }
    .hj-cal { padding: 18px 12px 22px; }
    .hj-cal__cols { grid-template-columns: 1fr; }
    .hj-cal__col { margin-left: 0; border-left: 0; border-bottom: 1.5px dashed #c9d6e8; padding-bottom: 18px; }
    .hj-search { padding: 16px; }
    .hj-products__grid { grid-template-columns: 1fr; }
    .hj-about--page { padding-top: 30px; }
    .hj-markets__list { width: 100%; }
    .hj-markets__list li { flex: 1; min-width: 0; padding-inline: 16px; }
    .hj-why__body { padding: 4px 18px 22px; }
    .hj-why__banner { height: 140px; }
    .hj-why__fruits { gap: 22px; }
    .hj-why__point { padding: 22px 20px 24px; }
    .hj-why__deco { width: 64px; height: 64px; top: 20px; bottom: auto; }
    .hj-why::before, .hj-why::after { width: 320px; height: 320px; }
    .hj-edges::before, .hj-edges::after { width: 44px; opacity: .7; }
    .hj-section-head { flex-wrap: wrap; }
    .hj-footer__name { font-size: 21px; }
    .hj-footer__inner { padding: 28px 16px 150px; }
    .hj-footer__base a { margin-left: 0; }
    .hj-contact, .hj-contact__scenery { --hj-contact-w: 800px; }
    .hj-contact {
        --hj-contact-bg: url("../images/contact/contact-bg-sm.webp");
        --hj-contact-harbor: url("../images/contact/contact-harbor-sm.webp");
    }
    .hj-contact.hj-edges::before, .hj-contact.hj-edges::after { top: 260px; }
    .hj-contact__top { height: 250px; }
    .hj-contact__hero { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 58px 0 24px; text-align: center; }
    .hj-contact__hero .hj-contact__rule { margin-inline: auto; }
    .hj-contact__intro .hj-eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: .3em; }
    .hj-contact__title { font-size: 44px; }
    .hj-contact__lead { font-size: 20px; }
    .hj-contact__lead:not(:lang(en)) { font-size: 19px; }
    .hj-contact__basket { width: 225px; max-width: 80%; }
    .hj-contact__info { margin-bottom: 18px; padding: 20px; }
    .hj-contact__icon { width: 46px; height: 46px; }
    .hj-contact__info p { font-size: 14px; }
    .hj-contact__form { padding: 24px 20px; }
    .hj-contact__h { font-size: 28px; }
    .hj-contact__intro-text { font-size: 16px; }
    .hj-contact__side { display: flex; }
    .hj-contact__submit { font-size: 18px; }
    .hj-contact__scenery { height: 225px; margin-top: 4px; }
}
/* 對應 site.css 768px：詢價列改全寬直排，浮動按鈕縮成圓形圖示，詢價列右側讓位 */
@media (max-width: 768px) {
    /* 手機：鳥縮小、對話框不顯示（沒有 hover），X 一直顯示 */
    .bird-widget { width: 65px; bottom: 16px; }
    .bird-widget__tip { display: none; }
    .bird-widget__close { opacity: 1; width: 22px; height: 22px; top: -8px; right: -8px; font-size: 14px; }
    .product-page .spec-submit { padding-right: 1.2rem; margin-right: 76px; }
}
@media (prefers-reduced-motion: reduce) {
    .hj-hero *, .hj-cal *, .hj-products *, .hj-cats *, .hj-why *, .hj-btn, .hj-arrow { animation: none !important; transition: none !important; }
    .bird-widget, .bird-widget *, .bird-feather { animation: none !important; transition: none !important; }
}
