/* Venus Lite 排版優化層(可單獨關閉:wp option update vxl_refine 0) */
/* =====================================================================
 * 排版優化層(2026-11-03 B 階段)
 * 量測依據:layout_audit.py 7 種寬度 × 6 類頁面。選擇器加 html body 前綴,才蓋得過頁面內文裡的 <style>。
 * ===================================================================== */

/* 1. 文章/分類頁 body 有瀏覽器預設 8px 邊距(Hello 主題的 reset 沒載入),頁首與分類列沒貼齊螢幕 */
html body{margin:0}

/* 2. 手機左右邊距至少 16px(首頁原本 12px) */
@media (max-width:480px){
  html body .container:not(.vns-store .container){padding-left:16px;padding-right:16px}
  /* 試算器外框:原本內距 4px、內容離螢幕邊只剩 8px */
  html body .nlcc-embed-wrapper{padding-left:12px;padding-right:12px}
}

/* 3. 長段落行長:1280px 以上一行 68–81 字 → 限制在約 48 字寬(中文舒適閱讀 30–45 字) */
html body .section .container>p[class],
html body .deep-timeline__node p{max-width:48em}

/* 4. 小字至少 12px(原 11.25px 的標籤、麵包屑、查證日期) */
html body .card__tag{font-size:12px}
html body .vns-breadcrumb{font-size:12.5px}
html body .vx-qf__verified{font-size:12.5px}
html body .calc-result__note{font-size:12.5px}

/* 5. 觸控目標:擴大點擊範圍到 44px 以上,但不改變版面位置(偽元素向外延伸) */
html body .vns-breadcrumb a,
html body .card__link,
html body .elementor-post__read-more{position:relative}
html body .vns-breadcrumb a::after,
html body .card__link::after,
html body .elementor-post__read-more::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:44px;transform:translateY(-50%)}
html body .vns-mc{width:44px;height:44px}
html body .elementor-menu-toggle{width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0}

/* 6. 手機底部列:目錄|LINE 諮詢|↑ 頂部 三格,同一條中線、左右對稱 */
@media (max-width:991px){
  html body .vns-sticky-bar{padding:8px 104px}
  html body .vns-sticky-bar a{flex:1 1 auto;max-width:260px;justify-content:center;height:44px;padding:0 16px;box-sizing:border-box}
  html body .toc-mobile-btn{left:16px;bottom:8px;height:44px;min-width:76px;padding:0 14px;box-sizing:border-box}
  .vxl-totop{right:16px;bottom:8px;width:76px;height:44px;border-radius:25px;gap:6px}
  .vxl-totop::before{display:none}
  .vxl-totop svg{width:18px;height:18px}
  .vxl-totop__t{display:inline;font-size:14px;letter-spacing:1.5px;color:inherit}
}
@media (max-width:359px){
  html body .vns-sticky-bar{padding:8px 92px}
  html body .toc-mobile-btn,.vxl-totop{min-width:0;width:68px}
  .vxl-totop__t{display:none}
}

/* 7. 文章頁:H1 移進內文欄(接在麵包屑後面,見 functions.php vxl_post_title_into_column) */
html body .vns-art .vxl-post-title{margin:.35em 0 .9em;color:#EDEAE5;font-family:"Noto Serif TC",serif;font-weight:400;
  font-size:clamp(22px,1.25rem + 1.1vw,32px);line-height:1.45;letter-spacing:.06em;text-align:left;text-wrap:balance;border:0;padding:0}
html body .elementor-650 .elementor-element-3bcbdb4{padding-top:28px}

/* 9. 可讀性(impeccable 渲染掃描):頁面共用的 --text-muted #5F5E6A 在深底只有 2.7–2.8:1
 *    → 由各頁自己的 --text-secondary 調出(約 5:1),色相跟著各店主題 */
html body{--text-muted:color-mix(in srgb,var(--text-secondary,#9B9AA3) 86%,#16171C)}
html body .elementor-649 .elementor-post__excerpt,
html body .elementor-649 .elementor-post__excerpt p{color:#A9A7B0!important}
html body .elementor-649 .elementor-post-date{color:#8F8C99!important}
html body .qi-address__text span{font-size:12px!important}

/* 8. 分類頁:容器放寬到 1200px、桌機 3 欄(原本 4 欄擠在 1024px,摘要一行 11–14 字) */
@media (min-width:1025px){
  html body .elementor-649 .elementor-element-7dbdbb8{max-width:1200px;margin:0 auto;padding:40px 24px 0}
  html body .elementor-649 .elementor-element-5bd12f3 .elementor-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px;row-gap:32px}
}

/* =====================================================================
 * 第二輪(2026-11-03 使用者回饋):回到頂部改右側、文章欄置中、資訊密度、手機選單、CTA 對比
 * 原則:在好讀的前提下一屏放更多資訊(內文字級、行高、觸控 44px、對比 4.5:1 不降)
 * ===================================================================== */

/* 10. 文章頁(≥1200px):內文欄 720 + 間距 56 + 目錄 240 = 1016,整組置中;店家目錄對齊內文欄 */
@media (min-width:1200px){
  html body .vns-art,
  html body .vx-dir-wrap--post{max-width:768px!important;padding-left:24px!important;padding-right:24px!important;
    margin-left:max(0px,calc((100% - 1016px) / 2 - 24px))!important;margin-right:auto!important;box-sizing:border-box}
  html body.single-post nav#toc.toc{left:calc(max(24px,(100vw - 1016px) / 2) + 776px)!important;right:auto!important;width:240px!important;max-width:240px!important}
}
@media (min-width:992px) and (max-width:1199px){
  html body .vns-art,
  html body .vx-dir-wrap--post{max-width:768px!important;padding-left:24px!important;padding-right:24px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
}

/* 11. 文章/分類頁底部 CTA:白字配 LINE 綠只有 2.3:1 → 改全站一致的金色主按鈕(深字 8:1) */
html body .elementor-650 .elementor-button,
html body .elementor-649 .elementor-button{background:linear-gradient(180deg,#E9C392,#C99560)!important;color:#1A140E!important;border-radius:999px!important;
  padding:13px 30px!important;font-weight:700!important;letter-spacing:.06em;box-shadow:0 10px 24px -10px rgba(212,163,115,.6)}
html body .elementor-650 .elementor-button:hover,
html body .elementor-649 .elementor-button:hover{background:linear-gradient(180deg,#F1D2A6,#D4A373)!important}
html body .elementor-650 .elementor-button .elementor-button-text,
html body .elementor-649 .elementor-button .elementor-button-text{color:#1A140E!important}
html body .elementor-button .elementor-button-content-wrapper{display:inline-flex;align-items:center;gap:8px}
html body .elementor-button .vxl-line-ico{width:20px;height:20px;fill:#1A140E;display:block}

/* 12. 分類頁說明(H1 下方) */
html body .vxl-cat-intro{max-width:46em;margin:-8px auto 28px;padding:0 16px;color:#C9C3BA;font-size:15px;line-height:1.85;text-align:center}

/* 13. 資訊密度:收「沒有內容的空間」 */
@media (max-width:767px){
  /* hero:原本手機 min-height 650 + 上內距 100px,首屏只有標題和一段字 */
  html body .hero{min-height:0!important;padding-top:28px!important;padding-bottom:28px!important}
  html body .section{padding-top:30px!important;padding-bottom:30px!important}
  html body .section__header{margin-bottom:18px!important}
  html body .card{padding:16px!important}
  html body .store-grid,html body .related-articles__grid{gap:12px!important}
  /* 店家卡片:大圖直排(每張約 440px)→ 橫向清單卡(縮圖在左,約 130px),資訊不減 */
  html body .store-grid>.card,
  html body .related-articles__grid>.card{display:grid!important;grid-template-columns:104px minmax(0,1fr);grid-template-areas:"img tag" "img title" "img text" "meta meta";
    column-gap:14px;row-gap:3px;align-items:start;padding:12px!important;position:relative}
  html body .store-grid>.card .card__image,
  html body .related-articles__grid>.card .card__image{grid-area:img;grid-row:1 / 4;width:104px!important;height:104px!important;margin:0!important;border-radius:10px;object-fit:cover}
  html body .store-grid>.card .card__tag,
  html body .related-articles__grid>.card .card__tag{grid-area:tag;justify-self:start;margin:0!important}
  html body .store-grid>.card .card__title,
  html body .related-articles__grid>.card .card__title{grid-area:title;margin:2px 0 0!important;font-size:17px!important;line-height:1.35}
  html body .store-grid>.card .card__text,
  html body .related-articles__grid>.card .card__text{grid-area:text;margin:0!important;font-size:13.5px!important;line-height:1.6!important;
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  html body .store-grid>.card .card__meta{grid-area:meta;margin-top:8px!important;padding-top:8px!important}
  html body .store-grid>.card:has(> :nth-child(3):last-child){grid-column:auto}
}
@media (min-width:768px){
  html body .section{padding-top:52px!important;padding-bottom:52px!important}
  html body .section__header{margin-bottom:36px!important}
}
/* 整張店家卡片都可點(原本只有右下角「詳細介紹 →」能點) */
html body .store-grid>.card{position:relative}
html body .store-grid>.card .card__price::after{content:"";position:absolute;inset:0;z-index:2}

/* 14. (已移除「捲動收起頁首」:使用者要選單固定) */
@media (max-width:991px){
  html body .elementor-location-header{transition:transform .28s cubic-bezier(.2,.7,.2,1);will-change:transform}
}

/* 15. 手機底部列:LINE 改實心金色主按鈕(轉換動作一眼可見),目錄/頂部維持次要樣式 */
@media (max-width:991px){
  html body #vns-sticky.vns-sticky-bar a{background:linear-gradient(180deg,#E9C392,#C99560)!important;color:#1A140E!important;border-color:transparent!important;
    font-weight:700!important;box-shadow:0 8px 20px -10px rgba(212,163,115,.7)}
  html body #vns-sticky.vns-sticky-bar a svg{fill:#1A140E!important}
}

/* 16. 手機選單:放寬、靠左、類別顯示店數、店名兩欄卡片、目前頁高亮、LINE 固定在底部 */
@media (max-width:1179px){
  html body .vns-mobile-panel{width:min(92vw,400px)!important;max-width:none!important;display:flex!important;flex-direction:column}
  html body .vns-mp-hdr{padding:12px 12px 12px 20px!important;position:sticky;top:0;z-index:2;background:rgba(14,15,19,.98)}
  html body .vns-mn{padding:4px 0 8px!important;flex:1 0 auto}
  html body .vns-mi{border-bottom:1px solid rgba(212,163,115,.08)}
  html body .vns-mi>a{justify-content:flex-start!important;gap:10px!important;padding:14px 20px!important;min-height:52px;box-sizing:border-box;
    font-size:16px!important;font-weight:400!important;letter-spacing:1px!important;color:#ECE5DA!important}
  html body .vns-mi>a .vns-ma{margin-left:auto}
  html body .vns-mi>a .vxl-cnt{margin-left:auto;padding:1px 8px;border-radius:999px;background:rgba(212,163,115,.12);color:#E8CBA0;font-size:12px;letter-spacing:0;line-height:20px}
  html body .vns-mi>a .vxl-cnt+.vns-ma{margin-left:10px}
  html body .vns-mi.is-here>a{color:#E8CBA0!important}
  html body .vns-mi.open .vns-ms{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:2px 16px 16px!important;background:transparent!important}
  html body .vns-ms a{display:flex!important;align-items:center;min-height:46px;box-sizing:border-box;padding:10px 12px!important;border:1px solid rgba(212,163,115,.18);border-radius:10px;
    background:rgba(255,255,255,.025);color:#EFD9B6!important;font-size:14px!important;letter-spacing:.3px!important;line-height:1.35!important;text-align:left!important}
  html body .vns-ms a.is-current{border-color:#D4A373;background:rgba(212,163,115,.14);color:#F6E3C3!important}
  html body .vns-mf{position:sticky;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;background:rgba(14,15,19,.98);border-top:1px solid rgba(212,163,115,.12)!important}
  html body .vns-mf a{display:flex!important;justify-content:center;width:100%;height:48px;box-sizing:border-box;padding:0!important;border-radius:999px!important;
    background:linear-gradient(180deg,#E9C392,#C99560)!important;color:#1A140E!important;border:0!important;font-size:15px!important;font-weight:700!important}
  html body .vns-mf a svg{fill:#1A140E!important;width:20px!important;height:20px!important}
}

/* 17. 選單打開時,浮動元件(目錄、回到頂部、底部列、桌機 LINE)全部讓開,不蓋住選單 */
html.vxl-menu-open .toc-mobile-btn,
html.vxl-menu-open .vxl-totop,
html.vxl-menu-open #vns-sticky,
html.vxl-menu-open #vx-dline{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* 18. 992–1179px 是漢堡選單模式(片段 95:完整選單 ≥1180px):LOGO 用平板尺寸、頁首一樣可以捲動收起 */
@media (min-width:992px) and (max-width:1179px){
  html body .vns-header{padding:10px 32px!important}
  html body .vns-brand img{width:68px!important}
  html body .elementor-location-header{transition:transform .28s cubic-bezier(.2,.7,.2,1);will-change:transform}
}

/* 19. 全站對比(impeccable 渲染掃描 14 頁 × 桌機/手機):只調亮度,保留各頁原本的色相 */
html body .dispatch-price-card__badge{color:#F0A7A7!important}
html body.page-id-740 .btn--primary{background:linear-gradient(135deg,#5A4675,#76599A)!important;color:#fff!important}
html body .job-card__badge--female{background:#B23A68!important;color:#fff!important}
html body .job-card__badge--male{background:#2D5FAE!important;color:#fff!important}
html body .deep-alternating__label{color:#86A6D8!important}
html body.page-id-396 .btn--primary{background:linear-gradient(135deg,#5F57C2,#4A43A3)!important;color:#fff!important}
html body .vx-idcopy__tag .vx-cb-t{font-size:12px!important}
html body p.cta__info{font-size:12.5px!important}
html body .hero .trust-badge span,
html body .hero .byline,
html body .hero .hero__meta{color:#F2ECE3!important;text-shadow:0 1px 10px rgba(0,0,0,.9),0 0 2px rgba(0,0,0,.8)}

/* 20. 店家頁「快速資訊」:地址/營業時間原本是卡片裡的卡片,每層都吃內距 → 內層攤平(內容與圖示保留) */
html body .qi-address,
html body .qi-hours{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html body .qi-address{margin-bottom:16px!important;padding-bottom:16px!important;border-bottom:1px solid rgba(212,163,115,.12)!important}

/* 21. 手機:圖示方塊(56px)原本獨佔一行在標題上方 → 圖示 40px 放標題左邊同一行,內文在下(文字不變,每項省約 50px) */
@media (max-width:767px){
  html body .svc-card,
  html body .deep-stripe__row>div,
  html body :is(div,li,article):has(> .deep-bento__icon){display:grid!important;grid-template-columns:40px minmax(0,1fr);column-gap:12px;row-gap:0;align-items:center;text-align:left!important}
  html body .svc-card{padding:16px!important}
  html body .svc-card__icon-wrap,
  html body .deep-stripe__icon,
  html body .deep-bento__icon{grid-column:1;grid-row:1;width:40px!important;height:40px!important;min-width:0!important;margin:0!important;border-radius:10px}
  html body .svc-card__icon-wrap svg,
  html body .deep-stripe__icon svg,
  html body .deep-bento__icon svg{width:20px!important;height:20px!important}
  html body .svc-card__title,
  html body .deep-stripe__title,
  html body :has(> .deep-bento__icon)>:is(h3,h4){grid-column:2;grid-row:1;margin:0!important;text-align:left!important}
  html body .svc-card>:not(.svc-card__icon-wrap):not(.svc-card__title),
  html body .deep-stripe__row>div>:not(.deep-stripe__icon):not(.deep-stripe__title),
  html body :has(> .deep-bento__icon)>:not(.deep-bento__icon):not(h3):not(h4){grid-column:1 / -1;margin-top:8px!important}
}

/* 22. 頁面內文裡「沒有 class」的純文字區段(多為拉排名加入的問答):頁面 CSS 有 *{margin:0} 全域歸零,
 *     這些 h2/h3/p/ul 之間完全沒有間距、清單圓點跑出容器(2026-11-04 使用者回報,全站掃描 17 頁 22 區)。
 *     只套在沒有 class 的元素上,原本有設計的元件不受影響。 */
html body .section .container>:is(h2,h3,h4,p,ul,ol,table,blockquote):not([class]){max-width:48rem;margin-left:auto!important;margin-right:auto!important}
html body .section .container>h2:not([class]){text-wrap:balance;margin:34px 0 12px;padding-bottom:10px;border-bottom:1px solid color-mix(in srgb,var(--primary-color,#D4A373) 28%,transparent);
  font-family:var(--font-heading,"Noto Serif TC",serif);font-weight:600;font-size:clamp(19px,1.05rem + .6vw,24px);line-height:1.45;letter-spacing:.02em;color:var(--text-primary,#EDEAE5)}
html body .section .container>h2:not([class]):first-child{margin-top:4px}
html body .section .container>:is(h3,h4):not([class]){margin:24px 0 8px;font-weight:600;font-size:clamp(16.5px,1rem + .25vw,18.5px);line-height:1.5;color:color-mix(in srgb,var(--primary-color,#D4A373) 55%,#fff)}
html body .section .container>:is(h2,h3,h4):not([class])+:is(h3,h4):not([class]){margin-top:14px}
html body .section .container>p:not([class]){margin:0 0 14px;line-height:1.85}
html body .section .container>:is(ul,ol):not([class]){margin:4px 0 16px;padding-left:1.3em}
html body .section .container>:is(ul,ol):not([class])>li{margin:0 0 7px;padding-left:.2em;line-height:1.8}
html body .section .container>:is(ul,ol):not([class])>li::marker{color:var(--primary-color,#D4A373)}
html body .section .container>table:not([class]){width:100%;margin:12px 0 18px;border-collapse:collapse}
html body .section .container>:is(p,ul,ol):not([class]):last-child{margin-bottom:0}
html body .section .container>:is(p,li,ul,ol):not([class]) strong,
html body .section .container>:is(ul,ol):not([class])>li strong{color:var(--text-primary,#EDEAE5)}
/* 快速資訊的營業時段:多行時段之間留一點呼吸 */
html body .qi-hours__info>*+*{margin-top:3px}

/* 23. 圖片:頁面 CSS 把 16:9 的圖強制成 3:2 卻沒設 object-fit → 人物被拉伸(首頁 5 張)。
 *     用 :where() 權重 0,頁面自己有設 object-fit 的一律以頁面為準,只修「被拉伸」的圖 */
:where(.section,.vns-art,.vns-store,.hero) img{object-fit:cover}

/* 24. 表格(手機):table-wrap 在店家頁沒有橫向捲動,5 欄擠進 343px、每欄只剩 2–3 字 → 可左右滑動、每欄至少 5.5 字寬 */
@media (max-width:767px){
  html body .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  html body .table-wrap>table th,
  html body .table-wrap>table td{min-width:5.5em}
  html body .table-wrap>table{min-width:100%}
  html body .qi-panel .price-table{width:100%!important;max-width:100%;table-layout:auto}
  html body .qi-panel .price-table :is(td,th){white-space:normal!important;overflow-wrap:anywhere}
}

/* 25. 純文字段落用最亮的白,和其他區段的柔和內文不一致、看起來像粗體 → 改內文色(對比仍 >10:1),粗體與標題才突出 */
html body .section .container>:is(p,ul,ol):not([class]){color:color-mix(in srgb,var(--text-primary,#EDEAE5) 80%,#0E0F13)}

/* 26. 快速資訊「基礎消費一覽」3 欄表(手機):第一欄被擠成每行 2 字 → 每列一張小卡:項目｜價格,備註在下 */
@media (max-width:560px){
  html body .qi-panel .price-table thead{display:none}
  html body .qi-panel .price-table,
  html body .qi-panel .price-table tbody{display:block;width:100%!important}
  html body .qi-panel .price-table tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:3px;padding:11px 2px;border-bottom:1px solid rgba(212,163,115,.12)}
  html body .qi-panel .price-table tr:last-child{border-bottom:0}
  html body .qi-panel .price-table td{display:block;padding:0!important;border:0!important;background:none!important;text-align:left!important}
  html body .qi-panel .price-table td:nth-child(1){grid-column:1;font-weight:600;color:var(--text-primary,#EDEAE5)}
  html body .qi-panel .price-table td:nth-child(2){grid-column:2;text-align:right!important;white-space:nowrap!important}
  html body .qi-panel .price-table td:nth-child(n+3){grid-column:1 / -1;font-size:13px;line-height:1.65;color:var(--text-secondary,#A9A7B0)}
}

/* 27. 桌機:試算器是區段最後一個元素時,外框下邊距 + 區段內距疊成約 200px 空白 → 收掉外框下邊距 */
html body .nlcc-embed-wrapper:last-child{margin-bottom:0!important}

/* 28. 頁尾前的「事實速查」:標籤一行、內容一行 → 標籤｜內容 兩欄(高度約減半,好掃讀) */
html body .vns-factbox dl{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:16px;row-gap:10px;margin:0 0 14px}
html body .vns-factbox dt{margin:0;color:var(--primary-color,#D4A373);font-size:13.5px;line-height:1.7;white-space:nowrap}
html body .vns-factbox dd{margin:0;line-height:1.7}

/* 29. 分類頁(手機):大圖直排卡(一屏約 1.5 篇)→ 橫向清單卡(縮圖在左),一屏 3–4 篇;整張卡可點 */
@media (max-width:767px){
  html body .elementor-649 .elementor-posts-container{grid-template-columns:minmax(0,1fr)!important;row-gap:12px!important}
  html body .elementor-649 .elementor-post{display:grid!important;grid-template-columns:108px minmax(0,1fr);column-gap:14px;align-items:start;padding:12px!important;position:relative}
  html body .elementor-649 .elementor-post__thumbnail__link{grid-column:1;grid-row:1;width:108px!important;margin:0!important;display:block}
  html body .elementor-649 .elementor-post__thumbnail{padding-bottom:0!important;height:108px!important;border-radius:10px;overflow:hidden;position:relative}
  html body .elementor-649 .elementor-post__thumbnail img{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}
  html body .elementor-649 .elementor-post__text{grid-column:2;grid-row:1;padding:0!important;margin:0!important}
  html body .elementor-649 .elementor-post__title{margin:0 0 4px!important}
  html body .elementor-649 .elementor-post__title a{font-size:15.5px!important;line-height:1.45!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  html body .elementor-649 .elementor-post__title a::after{content:"";position:absolute;inset:0;z-index:1}
  html body .elementor-649 .elementor-post__meta-data{margin:0 0 4px!important;font-size:12px!important}
  html body .elementor-649 .elementor-post__excerpt{margin:0!important}
  html body .elementor-649 .elementor-post__excerpt p{font-size:13px!important;line-height:1.6!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  html body .elementor-649 .elementor-post__read-more-wrapper{display:none!important}
}

/* 30. 文章/分類頁的分類選單(手機):原本只剩一個「≡」、和頁首漢堡重複看不出是分類 → 可左右滑動的分類標籤列,目前分類高亮 */
@media (max-width:1024px){
  html body .elementor-nav-menu--dropdown-mobile .elementor-nav-menu--main{display:block!important;width:100%}
  html body .elementor-nav-menu--dropdown-mobile .elementor-menu-toggle,
  html body .elementor-nav-menu--dropdown-mobile .elementor-nav-menu--dropdown{display:none!important}
  html body .elementor-nav-menu--main>.elementor-nav-menu{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:8px;overflow-x:auto;
    padding:10px 16px!important;margin:0!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  html body .elementor-nav-menu--main>.elementor-nav-menu::-webkit-scrollbar{display:none}
  html body .elementor-nav-menu--main>.elementor-nav-menu>li{flex:0 0 auto;margin:0!important}
  html body .elementor-nav-menu--main .elementor-item{display:block!important;padding:8px 14px!important;margin:0!important;border:1px solid rgba(212,163,115,.24);border-radius:999px;
    font-size:14px!important;line-height:1.2!important;white-space:nowrap;color:#E8CBA0!important;background:rgba(255,255,255,.02)}
  html body .elementor-nav-menu--main .elementor-item::before,
  html body .elementor-nav-menu--main .elementor-item::after{display:none!important}
  html body .elementor-nav-menu--main .elementor-item.elementor-item-active{background:rgba(212,163,115,.16)!important;border-color:#D4A373!important;color:#F6E3C3!important}
}

/* 31. 手機細節:文章標題不用平衡斷行(會讓每行只排 8 字、右側空一截);分類頁標題區收緊 */
@media (max-width:767px){
  html body .vns-art .vxl-post-title{text-wrap:pretty;font-size:23px;margin:.25em 0 .7em}
  html body .elementor-649 .elementor-element-a649h1a .elementor-heading-title{margin:14px 0 10px!important;font-size:28px!important}
  html body .elementor-649 .elementor-element-a649h1a{margin:0!important}
  html body .vxl-cat-intro{margin:0 auto 18px;font-size:14.5px;line-height:1.8;text-align:left}
}

/* 32. 桌機(≥1180,完整選單模式):頁首捲動後縮小(125 → 約 73px,多 52px 可視內容)。
 *     改 position:fixed + body 預留同高上內距 → 縮小時內容不跳動(sticky 縮小在 Safari 會跳)。
 *     scroll-padding-top:點目錄跳段落時,標題不被頁首蓋住。 */
@media (min-width:1180px){
  html{scroll-padding-top:96px}
  html body{padding-top:125px}
  html body .elementor-location-header{position:fixed!important;top:0;left:0;right:0;z-index:9999}
  html body.admin-bar .elementor-location-header{top:32px}
  html body #vns-site-header{position:relative!important}
  html body .vns-header{transition:padding .3s cubic-bezier(.2,.7,.2,1)}
  html body .vns-brand img{transition:width .3s cubic-bezier(.2,.7,.2,1),transform .5s ease,box-shadow .5s ease,border-color .5s ease}
  html.vxl-hdr-compact body .vns-header{padding-top:6px!important;padding-bottom:6px!important}
  html.vxl-hdr-compact body .vns-brand img{width:58px!important}
}
@media (max-width:1179px){html{scroll-padding-top:16px}}

/* 33. 關於/隱私/免責頁:標題上方原本空約 120px → 收緊 */
html body main.vx-legal{padding-top:28px!important}
@media (min-width:768px){html body main.vx-legal{padding-top:48px!important}}

/* 34. 表格第一欄(店名/項目)在手機被其他欄擠成每行 2 字 → 至少 7 字寬(表格在可左右滑動的容器內) */
@media (max-width:767px){
  html body :is(.table-wrap,.vns-art) table :is(td,th):first-child{min-width:7em}
}
