/* Hoot智慧物聯 前台樣式（建立在 Bootstrap 5.3 之上，只覆寫必要部分） */
:root {
  --yy-ink: #0f1d24;
  --yy-muted: #5a6a70;
  --yy-line: #d9e1e3;
  --yy-bg: #f3f6f6;
  --yy-surface: #ffffff;
  --yy-accent: #0b7a75;
  --yy-accent-dark: #08625e;
  --yy-accent-soft: #dfefec;
  --yy-ok: #2e7d4f;
  --yy-warn: #a8661a;

  --bs-body-font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --bs-body-color: var(--yy-ink);
  --bs-body-bg: var(--yy-bg);
  --bs-border-color: var(--yy-line);
  --bs-secondary-color: var(--yy-muted);
  --bs-link-color: var(--yy-accent);
  --bs-link-color-rgb: 11, 122, 117;
  --bs-link-hover-color: var(--yy-accent-dark);
  --bs-primary: var(--yy-accent);
  --bs-primary-rgb: 11, 122, 117;
  --bs-border-radius: .625rem;
  --yy-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

body { font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.3; text-wrap: balance; }
.text-muted, .text-secondary { color: var(--yy-muted) !important; }
.num { font-variant-numeric: tabular-nums; }

.btn-primary {
  --bs-btn-bg: var(--yy-accent); --bs-btn-border-color: var(--yy-accent);
  --bs-btn-hover-bg: var(--yy-accent-dark); --bs-btn-hover-border-color: var(--yy-accent-dark);
  --bs-btn-active-bg: var(--yy-accent-dark); --bs-btn-active-border-color: var(--yy-accent-dark);
  --bs-btn-disabled-bg: var(--yy-accent); --bs-btn-disabled-border-color: var(--yy-accent);
}
.btn-outline-dark { --bs-btn-border-color: var(--yy-line); --bs-btn-color: var(--yy-ink); --bs-btn-hover-bg: var(--yy-ink); }
.btn { font-weight: 500; padding: .6rem 1.25rem; }
.btn-sm { padding: .3rem .75rem; }
.form-control, .form-select { background-color: var(--yy-bg); }
.form-control:focus, .form-select:focus { border-color: var(--yy-accent); box-shadow: 0 0 0 .2rem rgba(11,122,117,.15); }
.form-check-input:checked { background-color: var(--yy-accent); border-color: var(--yy-accent); }

/* 標籤 */
.eyebrow { font-family: var(--yy-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--yy-muted); }
.chip { display: inline-block; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.chip-accent { color: var(--yy-accent); background: var(--yy-accent-soft); }
.chip-ok { color: var(--yy-ok); background: rgba(46,125,79,.12); }
.chip-warn { color: var(--yy-warn); background: rgba(168,102,26,.14); }
.chip-muted { color: var(--yy-muted); background: var(--yy-bg); border: 1px solid var(--yy-line); }

/* 導覽列 */
.site-nav { background: rgba(243,246,246,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--yy-line); }
.site-nav .navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.site-nav .navbar-brand small { display: block; font-family: var(--yy-mono); font-size: 10px; font-weight: 400; letter-spacing: .12em; color: var(--yy-muted); line-height: 1; }
.site-nav .nav-link { color: var(--yy-muted); font-weight: 500; font-size: 14px; padding: .4rem .8rem !important; border-radius: 6px; }
.site-nav .nav-link:hover { color: var(--yy-ink); }
.site-nav .nav-link.active { color: var(--yy-ink); background: var(--yy-surface); box-shadow: inset 0 0 0 1px var(--yy-line); }
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: .75rem 0 1rem; }
  .site-nav .nav-link { font-size: 16px; padding: .7rem .75rem !important; }
}

/* 區塊 */
.section { padding-block: 72px; border-top: 1px solid var(--yy-line); }
.section:first-child { border-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: .4rem 0 0; }
.section-head p { color: var(--yy-muted); max-width: 52ch; margin: .5rem 0 0; }
.link-more { font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.page-hero { padding-block: 56px 40px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin: .5rem 0 0; }
.page-hero p { color: var(--yy-muted); max-width: 60ch; margin: .75rem 0 0; font-size: 16px; }

/* 首頁主視覺 */
.hero { padding-block: 72px 64px; }
@media (max-width: 575.98px) { .hero { padding-block: 36px 48px; } }
.hero h1 { font-size: clamp(30px, 8vw, 58px); font-weight: 900; letter-spacing: -.01em; line-height: 1.18; }
.hero .lead { font-size: 17px; color: var(--yy-muted); max-width: 46ch; }
.hero-facts b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: 13px; color: var(--yy-muted); }

/* 介面示意面板 */
.console { background: var(--yy-surface); border: 1px solid var(--yy-line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(10,40,45,.35); }
.console-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--yy-line); font-size: 13px; font-weight: 500; }
.console-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yy-ok); margin-right: 8px; vertical-align: middle; animation: yy-pulse 2.4s infinite; }
@keyframes yy-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .console-dot { animation: none; } }
.console-load { padding: 18px 16px 12px; }
.console-load b { font-size: 26px; font-variant-numeric: tabular-nums; }
.bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 72px; margin-top: 10px; }
.bars i { display: block; background: var(--yy-accent-soft); border-radius: 2px 2px 0 0; }
.bars i.cut { background: var(--yy-accent); }
.console-ev { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--yy-line); }
.console-ev > div { min-width: 0; }
.console-ev .tag { font-family: var(--yy-mono); font-size: 11px; padding: 3px 7px; border-radius: 5px; background: var(--yy-bg); border: 1px solid var(--yy-line); }
.console-ev .t { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-ev .s { font-size: 12px; color: var(--yy-muted); }

/* 卡片 */
.yy-card { background: var(--yy-surface); border: 1px solid var(--yy-line); border-radius: var(--bs-border-radius); padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.yy-card h3 { font-size: 19px; margin: 0; }
.yy-card p { color: var(--yy-muted); font-size: 14px; margin: 0; }
a.yy-card { color: inherit; text-decoration: none; transition: border-color .15s; }
a.yy-card:hover { border-color: var(--yy-accent); }
.yy-card.soon { border-style: dashed; background: transparent; }
.product-code { font-family: var(--yy-mono); font-size: 13px; font-weight: 500; color: var(--yy-accent); letter-spacing: .04em; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.checks li { padding-left: 22px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 6px; border-left: 2px solid var(--yy-accent); border-bottom: 2px solid var(--yy-accent); transform: rotate(-45deg); }

/* 產品頁 */
.product-row { padding-block: 48px; border-top: 1px solid var(--yy-line); }
.product-row h2 { font-size: 28px; }

/* 消息 */
.news-list { border-top: 1px solid var(--yy-line); }
.news-item { display: grid; grid-template-columns: 120px 120px 1fr auto; gap: 20px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--yy-line); color: inherit; text-decoration: none; }
.news-item > * { min-width: 0; }
.news-item h3 { font-size: 16px; font-weight: 500; margin: 0; }
.news-item p { color: var(--yy-muted); font-size: 14px; margin: 2px 0 0; }
.news-item:hover h3 { color: var(--yy-accent); }
@media (max-width: 700px) {
  .news-item { grid-template-columns: auto 1fr; gap: 6px 12px; }
  .news-item .body { grid-column: 1 / -1; }
  .news-item .arrow { display: none; }
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-pills a { border: 1px solid var(--yy-line); background: var(--yy-surface); border-radius: 999px; padding: 5px 14px; font-size: 13px; color: var(--yy-ink); text-decoration: none; }
.filter-pills a.active { background: var(--yy-ink); color: #fff; border-color: var(--yy-ink); }
.article { max-width: 720px; padding-block: 48px 80px; }
.article .body { white-space: pre-line; font-size: 16px; }

/* 價格 */
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--yy-surface); border: 1px solid var(--yy-line); border-radius: 10px; flex-wrap: wrap; }
.seg a { padding: 8px 16px; border-radius: 7px; font-weight: 500; font-size: 14px; color: var(--yy-muted); text-decoration: none; }
.seg a.active { background: var(--yy-ink); color: #fff; }
.plan { position: relative; }
.plan.highlight { border: 2px solid var(--yy-accent); padding: 23px; }
.plan .badge-top { position: absolute; top: -12px; left: 22px; background: var(--yy-accent); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 36px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price span { color: var(--yy-muted); font-size: 13px; }
.plan .spaces { font-size: 13px; color: var(--yy-muted); padding-bottom: 16px; border-bottom: 1px solid var(--yy-line); }

/* 案例 */
.metric { display: flex; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px solid var(--yy-line); margin-top: auto; }
.metric b { font-size: 28px; color: var(--yy-accent); font-variant-numeric: tabular-nums; }
.metric span { font-size: 13px; color: var(--yy-muted); }

/* 聯盟 */
.tier-table { background: var(--yy-surface); border: 1px solid var(--yy-line); border-radius: var(--bs-border-radius); overflow: hidden; }
.tier-table table { margin: 0; min-width: 560px; }
.tier-table th { font-weight: 500; color: var(--yy-muted); font-size: 13px; }
.tier-table td, .tier-table th { padding: 14px 18px; font-size: 14px; }
.tier-table .rate { font-size: 20px; color: var(--yy-accent); font-weight: 700; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 16px; border-top: 2px solid var(--yy-ink); height: 100%; }
.steps li::before { content: "步驟 " counter(s); display: block; font-family: var(--yy-mono); font-size: 12px; color: var(--yy-muted); margin-bottom: 6px; }
.band { background: var(--yy-ink); color: #fff; border-radius: 14px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.band p { opacity: .75; margin: .4rem 0 0; max-width: 50ch; }
@media (max-width: 575.98px) { .band { padding: 28px; } }

/* 聯繫 */
.contact-form { background: var(--yy-surface); border: 1px solid var(--yy-line); border-radius: var(--bs-border-radius); padding: 28px; }
@media (max-width: 575.98px) { .contact-form { padding: 20px; } }
.interest-opt { border: 1px solid var(--yy-line); border-radius: 8px; padding: 7px 12px 7px 36px; background: var(--yy-bg); }
.contact-info > div { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--yy-line); }
.contact-info b { display: block; font-size: 16px; font-weight: 500; margin-top: 4px; word-break: break-word; }

/* 頁尾 */
.site-footer { border-top: 1px solid var(--yy-line); padding-block: 48px 32px; font-size: 14px; color: var(--yy-muted); }
.site-footer a { color: var(--yy-muted); text-decoration: none; }
.site-footer a:hover { color: var(--yy-ink); }
.site-footer h6 { color: var(--yy-ink); font-size: 13px; font-weight: 700; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

.pagination { --bs-pagination-active-bg: var(--yy-accent); --bs-pagination-active-border-color: var(--yy-accent); --bs-pagination-color: var(--yy-ink); }
.checks-2 { gap: 10px 24px; } @media (min-width: 768px) { .checks-2 { grid-template-columns: 1fr 1fr; } }

/* 自動化場域模擬 */
.sim-block { padding-block: 8px 48px; }
.sim-steps { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--yy-muted); display: grid; gap: 4px; }
.sim-frame { border-radius: 14px; overflow: hidden; border: 1px solid #253740; background: #0c1317; box-shadow: 0 24px 48px -28px rgba(10,40,45,.45); }
.sim-frame iframe { display: block; width: 100%; height: 900px; border: 0; }
.sim-teaser { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px 40px; border-radius: 14px; color: #e5eef0; text-decoration: none;
  background: radial-gradient(120% 140% at 85% 20%, #17323a 0%, #0c1317 60%); border: 1px solid #253740; }
.sim-teaser:hover { color: #e5eef0; border-color: #5fe0a4; }
.sim-teaser h2 { font-size: clamp(22px, 3vw, 30px); margin: .4rem 0 0; }
.sim-teaser p { color: #8ea3aa; margin: .4rem 0 0; max-width: 46ch; }
@media (max-width: 575.98px) { .sim-teaser { padding: 28px; } }

/* Logo：高度固定 50px（寫在 HTML），寬度依原圖比例 */
.brand-logo { display: block; flex: none; }
img.brand-logo { width: auto; }
/* 手機上很寬的 Logo 不超出畫面：依比例縮小 */
/* 手機：Logo 與選單按鈕固定在同一行，Logo 太寬時依比例縮小、品牌文字過長時省略 */
@media (max-width: 991.98px) {
  .site-nav .navbar-brand { flex: 1 1 0%; min-width: 0; margin-right: 12px; }
  .site-nav .navbar-brand > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .site-nav .navbar-toggler { flex: none; }
}
@media (max-width: 575.98px) {
  .site-nav .navbar-brand { gap: 8px; font-size: 16px; }
  img.brand-logo { height: 40px !important; max-width: 50vw; flex-shrink: 1; min-width: 0; object-fit: contain; object-position: left center; }
  svg.brand-logo { width: 40px; height: 40px; }
}

/* 常見問題 */
.faq-list { border-top: 1px solid var(--yy-line); }
.faq-item { border-bottom: 1px solid var(--yy-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16px; font-weight: 500; margin: 0; }
.faq-item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--yy-accent); flex: none; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover h3 { color: var(--yy-accent); }
.faq-answer { padding: 0 4px 20px; color: var(--yy-muted); white-space: pre-line; max-width: 72ch; }

/* 文章分享 */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--yy-line); }

/* 數位遙控器 */
.remote-title { font-size: clamp(24px, 3vw, 32px); margin: .4rem 0 .75rem; }
.remote-lead { max-width: 58ch; font-size: 16px; }
.remote-compare { margin-top: 24px; border: 1px solid var(--yy-line); border-radius: var(--bs-border-radius); background: var(--yy-surface); overflow: hidden; }
.rc-row { display: grid; grid-template-columns: 72px 1fr 1.25fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--yy-line); font-size: 14px; align-items: baseline; }
.rc-row > * { min-width: 0; }
.rc-head { border-top: 0; background: var(--yy-bg); font-size: 12px; color: var(--yy-muted); font-weight: 500; }
.rc-head span:last-child { color: var(--yy-accent); }
.rc-item { font-weight: 700; }
.rc-old { color: var(--yy-muted); }
.rc-new { color: var(--yy-ink); font-weight: 500; }
@media (max-width: 575.98px) {
  .rc-row { grid-template-columns: 1fr 1fr; }
  .rc-item { grid-column: 1 / -1; }
  .rc-head span:first-child { display: none; }
}
.phone { width: 290px; max-width: 100%; margin: 0 auto; padding: 9px; border-radius: 40px; background: #1f2a33; box-shadow: 0 30px 60px -30px rgba(10,40,45,.55); position: relative; }
.phone-notch { position: absolute; left: 50%; top: 18px; width: 76px; height: 14px; margin-left: -38px; border-radius: 10px; background: #111a20; z-index: 2; }
.phone-screen { border-radius: 32px; overflow: hidden; background: #f2f3f5; padding: 0 10px 14px; display: grid; gap: 8px; color: #1c1c1e; font-size: 13px; }
.rm-app { margin: 0 -10px; padding: 36px 16px 8px; background: #fff; border-bottom: 1px solid #e5e5ea; font-weight: 700; font-size: 14px; }
.rm-card { background: #fff; border-radius: 16px; padding: 11px 12px; display: grid; gap: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.rm-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.rm-room { font-size: 16px; font-weight: 800; white-space: nowrap; }
.rm-period { color: #6e6e73; font-size: 11px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.rm-left { background: #1f2a33; color: #fff; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.rm-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rm-label { font-weight: 700; color: #3a3a3c; }
.rm-temp { display: flex; align-items: center; gap: 6px; }
.rm-temp b { font-size: 26px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; min-width: 1.3em; text-align: right; }
.rm-temp span { font-size: 13px; color: #8e8e93; margin-right: 2px; }
.rm-temp button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #e9e9ee; font-size: 16px; line-height: 1; cursor: pointer; }
.rm-send { border: 0; border-radius: 11px; background: #007aff; color: #fff; font-weight: 700; padding: 8px; cursor: pointer; transition: background .2s; }
.rm-send.sent { background: #34c759; }
.rm-swipe { position: relative; height: 42px; border-radius: 999px; background: #e9e9ee; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; overflow: hidden; touch-action: pan-y; user-select: none; }
.rm-swipe .rm-off, .rm-swipe .rm-on { position: relative; z-index: 1; font-weight: 700; color: #6e6e73; }
.rm-fill { position: absolute; inset: 0 0 0 50%; background: linear-gradient(90deg, rgba(52,199,89,.15), #34c759); opacity: 0; pointer-events: none; transition: opacity .25s; }
.rm-fill.left { inset: 0 50% 0 0; background: linear-gradient(270deg, rgba(142,142,147,.15), #8e8e93); }
.rm-knob { position: absolute; left: 50%; top: 4px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); font-size: 16px; color: #3a3a3c; cursor: grab; z-index: 2; transition: transform .25s cubic-bezier(.3,1.4,.5,1); touch-action: none; }
.rm-swipe.dragging .rm-knob { transition: none; cursor: grabbing; }
.rm-swipe.dragging .rm-fill { transition: none; }
.rm-swipe.done { animation: rm-pulse .6s; }
@keyframes rm-pulse { 30% { box-shadow: 0 0 0 4px rgba(52,199,89,.3); } }
.rm-pct { font-size: 15px; font-variant-numeric: tabular-nums; color: #ff9f0a; }
.rm-dim { display: flex; align-items: center; gap: 8px; color: #8e8e93; font-size: 15px; }
.rm-dim input { --v: 60%; flex: 1; min-width: 0; height: 30px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
.rm-dim input::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #ffcc4d var(--v), #e9e9ee var(--v)); }
.rm-dim input::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #ffcc4d var(--v), #e9e9ee var(--v)); }
.rm-dim input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.rm-dim input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.rm-hint { text-align: center; color: #8e8e93; font-size: 11px; }
.rm-hint.ok { color: #248a3d; font-weight: 700; }
.rm-hint.off { color: #6e6e73; font-weight: 700; }
.rm-knob:focus-visible, .rm-send:focus-visible, .rm-temp button:focus-visible, .rm-dim input:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rm-knob, .rm-fill, .rm-send { transition: none; } .rm-swipe.done { animation: none; } }

/* 手機打橫與平板：版面滿版（不留 Bootstrap 固定寬度的兩側空白），並避開瀏海與圓角 */
@media (max-width: 991.98px) {
  .container { max-width: 100%; }
}
.container {
  padding-left: max(calc(var(--bs-gutter-x) * .5), env(safe-area-inset-left));
  padding-right: max(calc(var(--bs-gutter-x) * .5), env(safe-area-inset-right));
}

/* 產品子選單 */
.site-nav .product-menu { min-width: 300px; padding: 8px; border-radius: 14px; border-color: var(--yy-line); box-shadow: 0 24px 48px -20px rgba(10,40,45,.35); margin-top: 10px !important; }
.product-menu .dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; white-space: normal; color: var(--yy-ink); }
.product-menu .dropdown-item:hover, .product-menu .dropdown-item:focus { background: var(--yy-bg); }
.product-menu .dropdown-item.active, .product-menu .dropdown-item:active { background: var(--yy-accent-soft); color: var(--yy-ink); }
.product-menu .pm-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--yy-accent-soft); color: var(--yy-accent); display: grid; place-items: center; }
.product-menu .pm-text { min-width: 0; line-height: 1.35; }
.product-menu .pm-text b { display: block; font-size: 14.5px; }
.product-menu .pm-text small { display: block; font-size: 12.5px; color: var(--yy-muted); }
.product-menu .pm-all { justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--yy-accent); padding: 8px 12px; }
.product-menu .dropdown-divider { margin: 4px 0; border-color: var(--yy-line); }
@media (max-width: 991.98px) {
  .site-nav .product-menu { min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0 0 6px 10px; margin-top: 0 !important; }
  .product-menu .dropdown-item { padding: 8px 10px; }
  .product-menu .pm-icon { width: 34px; height: 34px; }
}

/* 產品專頁 */
.crumb { font-size: 13px; color: var(--yy-muted); padding-top: 24px; }
.crumb a { color: var(--yy-muted); text-decoration: none; }
.crumb a:hover { color: var(--yy-accent); }
.p-hero { padding-block: 20px 56px; }
.p-hero h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 900; margin: .6rem 0 .9rem; }
.p-hero .lead { color: var(--yy-muted); font-size: 16.5px; max-width: 48ch; }
.p-shot { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--yy-line); box-shadow: 0 24px 48px -28px rgba(10,40,45,.35); background: #fff; }
.p-h2 { font-size: clamp(22px, 3vw, 28px); margin: .4rem 0 1.25rem; }
.p-body p { color: var(--yy-muted); font-size: 16px; max-width: 66ch; }
.p-feats { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .p-feats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .p-feats { grid-template-columns: repeat(3, 1fr); } }
.p-feat { background: var(--yy-surface); border: 1px solid var(--yy-line); border-radius: var(--bs-border-radius); padding: 16px 18px; display: flex; gap: 10px; font-size: 14.5px; }
.p-feat::before { content: "✓"; color: var(--yy-accent); font-weight: 700; }
.p-fits { display: flex; flex-wrap: wrap; gap: 8px; }
.p-fits span { padding: 6px 14px; border-radius: 999px; background: var(--yy-surface); border: 1px solid var(--yy-line); font-size: 14px; }
.p-plan { background: var(--yy-surface); border: 1px solid var(--yy-line); border-radius: var(--bs-border-radius); padding: 18px 20px; height: 100%; }
.p-plan.hi { border-color: var(--yy-accent); box-shadow: 0 0 0 3px var(--yy-accent-soft); }
.p-plan b { font-size: 15px; }
.p-plan .pr { font-size: 26px; font-weight: 900; margin: 4px 0; }
.p-plan .pr small { font-size: 12.5px; font-weight: 400; color: var(--yy-muted); }
.p-plan p { font-size: 13px; color: var(--yy-muted); margin: 0; }
.p-cta { background: var(--yy-ink); color: #fff; border-radius: 16px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.p-cta h3 { font-size: 21px; margin: 0 0 4px; }
.p-cta p { color: #b9c7cb; margin: 0; }
