/* 昕藝型錄頁｜品牌鼠尾草綠 + 花店雜誌感：深綠主視覺、置中襯線大標、綠色色帶輪播、大號數字 */
html .xhc{
  --ink:#2E3430; --muted:#6B716C; --line-green:#06C755;
  --bg:#ECEDE9;            /* 頁面淺灰綠底 */
  --paper:#F7F7F4;         /* 交錯區塊底 */
  --card:#FFFFFF; --soft:#E2E5DF;
  --accent:#5D725F;        /* 強調色：數字、圓點、標籤 */
  --price:#3F4F43;
  --hero-a:#627865; --hero-b:#3E4E42;   /* 主視覺漸層 */
  --band:#5D725F;          /* 輪播後方色帶 */
  --hero-ink:#FFFFFF; --hero-muted:rgba(255,255,255,.82);
  --radius:12px;
  background:var(--bg); color:var(--ink);
  font-family:"Noto Sans TC",sans-serif; font-size:16px; line-height:1.7;
  overflow-x:hidden;
}
html .xhc[data-tone="somber"]{ --hero-a:#5E7262; --hero-b:#3A4A3F; --band:#5A6D5E; --accent:#566A5A; }
html .xhc[data-tone="festive"]{ --hero-a:#627865; --hero-b:#3E4E42; --band:#5D725F; --accent:#A6772E; --price:#8A6224; }
html .xhc[data-tone="festive-red"]{ --bg:#F4ECE9; --paper:#FBF6F4; --soft:#F1DEDA; --hero-a:#B3313B; --hero-b:#7E1C24; --band:#A8262F; --accent:#B8232F; --price:#B8232F; }

body.xhc-body{margin:0;background:#ECEDE9;padding-bottom:84px}
html .xhc *,html .xhc *::before,html .xhc *::after{box-sizing:border-box}
html .xhc img{max-width:100%;height:auto;display:block}
html .xhc a{color:inherit}
html .xhc h1,html .xhc h2,html .xhc h3{font-family:"Noto Serif TC",serif;line-height:1.35;margin:0;color:var(--ink);letter-spacing:.02em;text-transform:none;font-weight:500}
html .xhc p{margin:0}
html .xhc .xhc-wrap{max-width:1120px;margin:0 auto;padding:0 16px}
html .xhc section{padding:48px 0}
html{scroll-behavior:smooth}
html .xhc .xhc-prod{scroll-margin-top:8px}

/* ---------- 主視覺 ---------- */
html .xhc .xhc-hero{background:linear-gradient(160deg,var(--hero-a) 0%,var(--hero-b) 100%);color:var(--hero-ink);position:relative;overflow:hidden}
html .xhc .xhc-hero h1,html .xhc .xhc-hero a{color:var(--hero-ink)}
html .xhc .xhc-topbar{display:flex;justify-content:space-between;align-items:center;padding:14px 0;position:relative;z-index:2}
html .xhc .xhc-logo img{height:38px;width:auto}
html .xhc .xhc-logo{text-decoration:none;font-family:"Noto Serif TC",serif;font-size:20px}
html .xhc .xhc-tel-mini{font-size:14px;text-decoration:none;opacity:.85;letter-spacing:.04em}
html .xhc .xhc-hero-grid{display:flex;flex-direction:column}
html .xhc .xhc-hero-img{margin:4px -16px 0;aspect-ratio:16/11;overflow:hidden;position:relative}
html .xhc .xhc-hero-img img{width:100%;height:100%;object-fit:cover}
html .xhc .xhc-hero-img::after{content:"";position:absolute;inset:auto 0 0 0;height:40%;background:linear-gradient(to bottom,transparent,var(--hero-b))}
html .xhc .xhc-hero-body{padding:22px 0 36px;position:relative;z-index:2}
html .xhc .xhc-hero.has-img .xhc-hero-body{margin-top:-48px}
html .xhc .xhc-eyebrow{font-size:13px;letter-spacing:.24em;color:var(--hero-muted);font-weight:500}
html .xhc .xhc-hero h1{font-size:clamp(30px,8vw,52px);margin:8px 0 12px;font-weight:600}
html .xhc .xhc-sub{margin:0 0 24px;color:var(--hero-muted);font-size:17px;max-width:32em}
@media (min-width:960px){
  html .xhc .xhc-hero-grid{flex-direction:row-reverse;align-items:center;gap:56px;min-height:520px}
  html .xhc .xhc-hero-img{flex:0 0 44%;margin:0 0 -1px;aspect-ratio:4/5;max-height:600px;border-radius:220px 220px 0 0;align-self:flex-end}
  html .xhc .xhc-hero-img::after{display:none}
  html .xhc .xhc-hero.has-img .xhc-hero-body{margin-top:0;flex:1;padding:24px 0 64px}
}

/* 使用主站頁首時（無精簡頁首） */
html .xhc .xhc-hero.no-topbar .xhc-hero-img{margin-top:0}
html .xhc .xhc-hero.no-topbar:not(.has-img) .xhc-hero-body{padding-top:40px}
@media (min-width:960px){html .xhc .xhc-hero.no-topbar .xhc-hero-grid{min-height:480px}html .xhc .xhc-hero.no-topbar .xhc-hero-img{margin-top:40px}}

/* ---------- 按鈕 ---------- */
html .xhc .xhc-cta{display:flex;flex-wrap:wrap;gap:10px}
html .xhc .xhc-cta .xhc-btn{flex:1 1 200px}
@media (min-width:960px){html .xhc .xhc-hero .xhc-cta .xhc-btn{flex:0 1 auto}}
html .xhc .xhc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border-radius:999px;font-weight:700;font-size:17px;line-height:1.2;text-decoration:none;border:0;cursor:pointer;font-family:inherit;letter-spacing:.04em;transition:transform .15s,box-shadow .15s}
html .xhc .xhc-btn:hover{transform:translateY(-1px)}
html .xhc .xhc-btn svg{width:22px;height:22px;flex:none}
html .xhc .xhc-btn-line,html .xhc .xhc-btn-line:hover,html .xhc .xhc-btn-line:visited{background:var(--line-green);color:#fff;box-shadow:0 6px 16px rgba(6,199,85,.28)}
html .xhc .xhc-btn-tel,html .xhc .xhc-btn-tel:hover,html .xhc .xhc-btn-tel:visited{background:transparent;color:var(--ink);border:1.5px solid currentColor}
html .xhc .xhc-hero .xhc-btn-tel{color:#fff}

/* 快速跳轉：主視覺下方的一排數據感按鈕 */
html .xhc .xhc-jump{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px}
@media (min-width:600px){html .xhc .xhc-jump{grid-template-columns:repeat(5,1fr)}}
html .xhc .xhc-jump a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:62px;padding:6px;border-radius:10px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);text-decoration:none;font-weight:700;font-size:16px;text-align:center;line-height:1.3;color:#fff}
html .xhc .xhc-jump a:hover{background:rgba(255,255,255,.2)}
html .xhc .xhc-jump small{font-weight:400;font-size:12px;color:var(--hero-muted)}

/* ---------- 區塊標題：置中大字 ---------- */
html .xhc .xhc-sec-head{text-align:center}
html .xhc .xhc-sec-title{font-size:clamp(26px,6.5vw,38px);margin-bottom:6px}
html .xhc .xhc-range{display:inline-block;font-weight:500;color:var(--accent);font-size:15px;letter-spacing:.06em}
html .xhc .xhc-sec-desc{color:var(--muted);margin:6px auto 26px;text-align:center;max-width:34em}
html .xhc .xhc-row-price{display:table;margin:0 auto 18px;background:var(--accent);color:#fff;padding:6px 16px;border-radius:999px;font-weight:700}

/* 分區交錯：奇數區有綠色色帶，偶數區淺底 */
html .xhc .xhc-prod:nth-of-type(even){background:var(--paper)}
html .xhc .xhc-prod + .xhc-prod{border-top:1px solid rgba(0,0,0,.06)}

/* ---------- 輪播 ---------- */
html .xhc .xhc-carousel{position:relative}
html .xhc .xhc-prod:nth-of-type(odd) .xhc-carousel::before{content:"";position:absolute;left:-100vw;right:-100vw;top:34%;height:42%;background:var(--band);z-index:0}
html .xhc .xhc-track{position:relative;z-index:1;display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;margin:0 -16px;padding:4px 16px 14px;scroll-padding:0 16px;scrollbar-width:none}
html .xhc .xhc-track::-webkit-scrollbar{display:none}
html .xhc .xhc-track > .xhc-card{flex:0 0 78%;scroll-snap-align:start}
@media (min-width:600px){html .xhc .xhc-track > .xhc-card{flex-basis:calc((100% - 14px)/2.2)}}
@media (min-width:960px){html .xhc .xhc-track{margin:0;padding:4px 0 14px;scroll-padding:0;gap:20px}html .xhc .xhc-track > .xhc-card{flex-basis:calc((100% - 40px)/3)}}
html .xhc .xhc-car-nav{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:16px;margin-top:10px}
html .xhc .xhc-fits .xhc-car-nav{display:none}
html .xhc .xhc-dots{display:flex;flex-wrap:nowrap;min-width:0;order:2}
html .xhc .xhc-dots button{width:20px;height:32px;border:0;background:transparent;padding:0;margin:0;cursor:pointer;display:grid;place-items:center;box-shadow:none;min-height:0}
html .xhc .xhc-dots button::before{content:"";width:7px;height:7px;border-radius:999px;background:#BFC4BD;transition:all .2s}
html .xhc .xhc-dots button[aria-current="true"]::before{width:18px;background:var(--accent)}
html .xhc .xhc-arrows{display:contents}
html .xhc .xhc-arrows button{width:44px;height:44px;padding:0;margin:0;border-radius:999px;border:0;background:rgba(46,52,48,.55);color:#fff;font-size:18px;line-height:1;cursor:pointer;box-shadow:none}
html .xhc .xhc-prev{order:1}html .xhc .xhc-next{order:3}
html .xhc .xhc-arrows button:hover{background:rgba(46,52,48,.75)}
html .xhc .xhc-arrows button:disabled{opacity:.25;cursor:default}
html .xhc .xhc-see-all{display:table;margin:14px auto 0;min-height:44px;line-height:44px;padding:0 24px;border-radius:999px;background:linear-gradient(180deg,#6F8672,#4F6353);color:#fff;text-decoration:none;font-size:14px;letter-spacing:.12em;box-shadow:0 4px 12px rgba(63,79,67,.25)}
html .xhc[data-tone="festive-red"] .xhc-see-all{background:linear-gradient(180deg,#C23B45,#8F1F28)}

/* ---------- 商品卡 ---------- */
html .xhc .xhc-card{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 24px rgba(30,40,32,.12);display:flex;flex-direction:column;text-align:center}
html .xhc .xhc-ph{aspect-ratio:1/1;background:var(--soft);overflow:hidden;position:relative}
html .xhc .xhc-ph img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
html .xhc .xhc-card:hover .xhc-ph img{transform:scale(1.03)}
html .xhc .xhc-tag{position:absolute;left:10px;top:10px;background:rgba(255,255,255,.94);color:var(--ink);font-size:13px;font-weight:500;padding:3px 12px;border-radius:999px}
html .xhc .xhc-bd{padding:16px 16px 18px;display:flex;flex-direction:column;align-items:center;gap:2px;flex:1}
html .xhc .xhc-card h3{font-size:19px}
html .xhc .xhc-note{color:var(--muted);font-size:14px}
html .xhc .xhc-price{font-size:23px;font-weight:700;color:var(--price);margin:8px 0 12px;letter-spacing:.02em}
html .xhc .xhc-actions{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;gap:2px;width:100%}
html .xhc .xhc-actions .xhc-btn{min-height:48px;font-size:16px;padding:0 12px}
html .xhc .xhc-detail{min-height:40px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}

/* ---------- 為什麼選昕藝：大號數字 ---------- */
html .xhc .xhc-trust{background:var(--paper);border-top:1px solid rgba(0,0,0,.06)}
html .xhc .xhc-trust .xhc-sec-title,html .xhc .xhc-trust .xhc-sec-desc{text-align:center}
html .xhc .xhc-trust ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:22px 16px}
@media (min-width:760px){html .xhc .xhc-trust ul{grid-template-columns:repeat(4,1fr)}}
html .xhc .xhc-trust li{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;margin:0}
html .xhc .xhc-num{grid-row:1 / 3;font-family:"Cormorant Garamond",serif;font-style:normal;font-size:64px;line-height:.9;color:var(--accent);font-weight:500;font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}
html .xhc .xhc-trust b{font-family:"Noto Serif TC",serif;font-size:18px;font-weight:600;color:var(--ink);align-self:end}
html .xhc .xhc-trust span{font-size:13px;color:var(--muted);align-self:start;line-height:1.5}

/* ---------- 場合小提醒 ---------- */
html .xhc .xhc-notes{max-width:760px;margin:0 auto;padding:28px 0;border-top:1px solid rgba(0,0,0,.14);border-bottom:1px solid rgba(0,0,0,.14)}
html .xhc .xhc-notes h2,html .xhc .xhc-notes h3{font-size:22px;margin:18px 0 8px;text-align:center}
html .xhc .xhc-notes > :first-child{margin-top:0}
html .xhc .xhc-notes p,html .xhc .xhc-notes ul,html .xhc .xhc-notes ol{margin:0 0 8px}
html .xhc .xhc-notes ul,html .xhc .xhc-notes ol{padding-left:1.2em}
html .xhc .xhc-notes blockquote{background:var(--band);color:#fff;border:0;border-radius:10px;padding:14px 18px;margin:8px 0;font-style:normal;font-size:inherit}
html .xhc .xhc-notes blockquote p{margin:0}
html .xhc .xhc-related{margin-top:16px;text-align:center}

/* ---------- 頁尾 ---------- */
html .xhc .xhc-footer{background:linear-gradient(180deg,var(--hero-a) 0%,var(--hero-b) 100%);color:#E8EAE7;padding:56px 0 28px;text-align:center}
html .xhc .xhc-footer h2{font-size:clamp(26px,6.5vw,38px);color:#fff;margin-bottom:8px}
html .xhc .xhc-footer p{margin:0 auto 22px;color:rgba(255,255,255,.8);max-width:30em}
html .xhc .xhc-footer .xhc-cta{justify-content:center;max-width:560px;margin:0 auto}
html .xhc .xhc-footer .xhc-btn-tel{color:#fff}
html .xhc .xhc-info{font-size:14px;color:rgba(255,255,255,.75);margin-top:28px;line-height:1.9}
html .xhc .xhc-links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 18px;margin-top:12px;font-size:14px}
html .xhc .xhc-links a{color:#fff;min-height:44px;display:inline-flex;align-items:center}
html .xhc .xhc-slogan{font-family:"Noto Serif TC",serif;color:#fff;margin-top:18px;letter-spacing:.2em;opacity:.9}

/* ---------- 手機底部常駐下單列 ---------- */
html .xhc .xhc-sticky{position:fixed;left:0;right:0;bottom:0;z-index:9990;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-top:1px solid #e5e5e5;padding:10px 16px calc(10px + env(safe-area-inset-bottom));display:flex;gap:10px}
html .xhc .xhc-sticky .xhc-btn-line{flex:1;box-shadow:none}
html .xhc .xhc-sticky .xhc-btn-tel{flex:0 0 auto;padding:0 18px;color:var(--ink)}
@media (min-width:960px){
  html .xhc .xhc-sticky{left:auto;right:24px;bottom:24px;border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0}
  html .xhc .xhc-sticky .xhc-btn-tel{display:none}
  html .xhc .xhc-sticky .xhc-btn-line{box-shadow:0 6px 18px rgba(0,0,0,.2);padding:0 28px}
  body.xhc-body{padding-bottom:0}
}
