/* FUZZY 1.0.65w 決議清單落地（2026-11-15）。只在 body.fz65w（開關 fe65w）時生效。顏色沿用 65a 色票。 */

/* =====================================================================
 * #9 單品頁分頁籤：作用中＝墨黑粗體＋短墨黑底線；未作用＝中灰細字無底線；整排下方淺灰分隔線
 * ===================================================================== */
html body.fz65w-tabs .woocommerce-tabs ul.tabs,
html body.fz65w-tabs .woocommerce-tabs ul.wc-tabs {
	display: flex; justify-content: space-around; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none;
	border: 0 !important; border-bottom: 1px solid var(--fz-mist, #E5E5E5) !important; background: transparent !important; overflow: visible;
}
html body.fz65w-tabs .woocommerce-tabs ul.tabs::before,
html body.fz65w-tabs .woocommerce-tabs ul.tabs::after { display: none !important; }
html body.fz65w-tabs .woocommerce-tabs ul.tabs li {
	flex: 1 1 0; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; border-radius: 0 !important; text-align: center;
}
html body.fz65w-tabs .woocommerce-tabs ul.tabs li::before,
html body.fz65w-tabs .woocommerce-tabs ul.tabs li::after { display: none !important; }
html body.fz65w-tabs .woocommerce-tabs ul.tabs li a {
	position: relative; display: inline-block; padding: 12px 0 14px !important; border: 0 !important; background: transparent !important;
	color: var(--fz-mid, #737373) !important; font-size: 14px; font-weight: 400 !important; line-height: 1.4; text-decoration: none; box-shadow: none !important;
}
html body.fz65w-tabs .woocommerce-tabs ul.tabs li.active a {
	color: var(--fz-ink, #111) !important; font-weight: 700 !important;
}
html body.fz65w-tabs .woocommerce-tabs ul.tabs li.active a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--fz-ink, #111);
}

/* =====================================================================
 * #10 單品頁入口：智慧尺寸／尺寸表
 * ===================================================================== */
html body.fz65w .fz65w-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
html body.fz65w .fz65w-entry__btn {
	display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--fz-ink, #111) !important; border-radius: var(--fz-radius, 4px) !important;
	background: #fff !important; color: var(--fz-ink, #111) !important; font-size: 14px; font-weight: 700; cursor: pointer;
}
html body.fz65w .fz65w-entry__link { margin-left: auto; color: var(--fz-char, #404040) !important; font-size: 14px; text-decoration: underline; }

/* 簡化版「這件適合我嗎？」（沿用 65v 外框，補上結果卡與長度落點） */
html body.fz65w .fz65w-fit__saved { margin: 8px 0 0; font-size: 12px; color: var(--fz-mid, #737373); }
html body.fz65w .fz65w-fit__saved a { color: #111; text-decoration: underline; margin-left: 4px; }
html body.fz65w .fz65w-fit__result { margin-top: 14px; padding: 14px 16px; background: #eef4ee; border-radius: 6px; }
html body.fz65w .fz65w-fit__result[hidden],
html body.fz65w .fz65w-meter[hidden],
html body.fz65w .fz65w-fit__saved[hidden] { display: none; }
html body.fz65w .fz65w-fit__rec { display: flex; align-items: center; gap: 8px; }
html body.fz65w .fz65w-fit__ok { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #1f8a3a; position: relative; }
html body.fz65w .fz65w-fit__ok::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
html body.fz65w .fz65w-fit__size { font-size: 17px; color: #1f6b34; }
html body.fz65w .fz65w-fit__why { margin: 6px 0 0 30px; font-size: 13px; color: var(--fz-char, #404040); }
html body.fz65w .fz65w-meter { margin-top: 16px; }
html body.fz65w .fz65w-meter__h { margin: 0 0 8px; font-size: 13px; }
html body.fz65w .fz65w-meter__h small { color: var(--fz-mid, #737373); font-size: 12px; margin-left: 4px; }
html body.fz65w .fz65w-meter__bar { position: relative; display: flex; gap: 3px; height: 8px; }
html body.fz65w .fz65w-meter__bar i { flex: 1 1 0; border-radius: 4px; background: #bdbdbd; }
html body.fz65w .fz65w-meter[data-pos="left"] .fz65w-meter__bar i[data-pos="left"],
html body.fz65w .fz65w-meter[data-pos="mid"] .fz65w-meter__bar i[data-pos="mid"],
html body.fz65w .fz65w-meter[data-pos="right"] .fz65w-meter__bar i[data-pos="right"] { background: #111; }
html body.fz65w .fz65w-meter__you {
	position: absolute; top: -26px; transform: translateX(-50%); padding: 1px 8px; border-radius: 10px; background: #111; color: #fff; font-style: normal; font-size: 11px; line-height: 1.6;
}
html body.fz65w .fz65w-meter[data-pos="left"] .fz65w-meter__you { left: 16.6%; }
html body.fz65w .fz65w-meter[data-pos="mid"] .fz65w-meter__you { left: 50%; }
html body.fz65w .fz65w-meter[data-pos="right"] .fz65w-meter__you { left: 83.4%; }
html body.fz65w .fz65w-meter__lbl { display: flex; margin-top: 6px; font-size: 12px; }
html body.fz65w .fz65w-meter__lbl span { flex: 1 1 0; text-align: center; color: var(--fz-char, #404040); }
html body.fz65w .fz65w-meter__lbl small { display: block; color: var(--fz-mid, #737373); font-size: 10px; }
html body.fz65w .fz65w-fit__note { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--fz-mist, #E5E5E5); font-size: 12px; line-height: 1.6; color: var(--fz-mid, #737373); }

/* 尺寸資訊（制式格式：標題＋短底線、材質／版型／適穿、尺寸表、版型圖、穿著資訊、推薦人員） */
html body.fz65w .fz65w-size { margin: 28px 0 0; }
html body.fz65w .fz65w-size__h { margin: 0 0 18px; text-align: center; font-size: 20px; font-weight: 500; letter-spacing: .2em; }
html body.fz65w .fz65w-size__h::after { content: ""; display: block; width: 28px; height: 2px; margin: 8px auto 0; background: #111; }
html body.fz65w .fz65w-spec { display: flex; border-top: 1px solid #111; border-bottom: 1px solid var(--fz-mist, #E5E5E5); }
html body.fz65w .fz65w-spec div { flex: 1 1 0; padding: 12px 6px; text-align: center; font-size: 13px; border-left: 1px solid var(--fz-mist, #E5E5E5); }
html body.fz65w .fz65w-spec div:first-child { border-left: 0; }
html body.fz65w .fz65w-spec span { display: block; margin-bottom: 4px; font-size: 11px; color: var(--fz-mid, #737373); }
html body.fz65w .fz65w-spec b { font-weight: 400; }
html body.fz65w .fz65w-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; text-align: center; }
html body.fz65w .fz65w-table th,
html body.fz65w .fz65w-table td { padding: 12px 6px; border: 0; border-bottom: 1px solid var(--fz-mist, #E5E5E5); background: transparent; }
html body.fz65w .fz65w-table thead th { font-size: 11px; font-weight: 400; color: var(--fz-mid, #737373); border-bottom: 0; }
html body.fz65w .fz65w-table thead th:first-child,
html body.fz65w .fz65w-table tbody th { text-align: left; }
html body.fz65w .fz65w-table tbody th { font-weight: 700; padding-left: 4px; }
html body.fz65w .fz65w-table tbody tr.is-rec th,
html body.fz65w .fz65w-table tbody tr.is-rec td { background: #efece8; }
html body.fz65w .fz65w-fitimg { margin: 20px 0 0; text-align: center; }
html body.fz65w .fz65w-fitimg img { max-width: 100%; height: auto; }
html body.fz65w .fz65w-wear,
html body.fz65w .fz65w-staff { margin-top: 18px; }
html body.fz65w .fz65w-wear h3,
html body.fz65w .fz65w-staff h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
html body.fz65w .fz65w-wear p,
html body.fz65w .fz65w-staff p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--fz-char, #404040); }

/* 智慧尺寸（5 步）彈窗 */
body.fz65w-modal-open { overflow: hidden; }
.fz65w-modal { position: fixed; inset: 0; z-index: 2147482000; display: flex; align-items: center; justify-content: center; }
.fz65w-modal__mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.fz65w-modal__panel { position: relative; width: min(420px, 100%); max-height: 100%; overflow: auto; background: #fff; border-radius: 12px 12px 0 0; padding: 14px 20px 20px; }
@media (max-width: 600px) { .fz65w-modal { align-items: flex-end; } }
@media (min-width: 601px) { .fz65w-modal__panel { border-radius: 12px; } }
.fz65w-modal__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--fz-mist, #E5E5E5); }
.fz65w-modal__title { flex: 1 1 auto; text-align: center; line-height: 1.3; }
.fz65w-modal__title b { display: block; font-size: 15px; }
.fz65w-modal__title small { display: block; color: var(--fz-mid, #737373); font-size: 11px; }
.fz65w-modal__back,
.fz65w-modal__x { width: 32px; height: 32px; padding: 0; border: 0 !important; background: transparent !important; font-size: 24px; line-height: 1; cursor: pointer; color: #111; }
.fz65w-modal__body { padding-top: 16px; }
.fz65w-field { margin: 0 0 14px; }
.fz65w-field label { display: block; margin-bottom: 4px; font-size: 12px; color: var(--fz-mid, #737373); }
.fz65w-field select { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--fz-mist, #E5E5E5); border-radius: 4px; font-size: 16px; background: #fff; }
.fz65w-next { width: 100%; margin-top: 12px; min-height: 48px; background: #111 !important; color: #fff !important; border: 1.5px solid #111 !important; border-radius: 4px !important; }
.fz65w-next:disabled { background: var(--fz-mist, #E5E5E5) !important; border-color: var(--fz-mist, #E5E5E5) !important; color: var(--fz-mid, #737373) !important; cursor: not-allowed; }
.fz65w-choices { display: flex; gap: 8px; }
.fz65w-choices--2 { justify-content: center; }
.fz65w-choice { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1.5px solid var(--fz-mist, #E5E5E5) !important; border-radius: 6px !important; background: #fff !important; cursor: pointer; font-size: 12px; color: #111; }
.fz65w-choices--2 .fz65w-choice { flex: 0 0 40%; }
.fz65w-choice.is-on { border-color: #111 !important; box-shadow: 0 0 0 1px #111; }
.fz65w-pref { padding: 24px 6px 6px; }
.fz65w-pref input[type="range"] { width: 100%; accent-color: #111; }
.fz65w-pref__lbl { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--fz-mid, #737373); }
.fz65w-result { text-align: center; }
.fz65w-person { margin: 0 0 8px; }
.fz65w-rcards { display: flex; flex-direction: column; gap: 10px; }
.fz65w-rcard { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; border: 1px solid var(--fz-mist, #E5E5E5); border-radius: 6px; font-size: 12px; color: var(--fz-char, #404040); }
.fz65w-rcard.is-main { border: 1.5px solid #111; }
.fz65w-rcard__sz { font-size: 26px; color: #111; }
.fz65w-rcard em { font-style: normal; font-weight: 700; color: #111; }
.fz65w-rcard small { color: var(--fz-mid, #737373); }
.fz65w-pickbtn { margin-top: 8px; width: 100%; min-height: 40px !important; background: #111 !important; color: #fff !important; border-color: #111 !important; }
.fz65w-rcard:not(.is-main) .fz65w-pickbtn { background: #fff !important; color: #111 !important; }
.fz65w-redo { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--fz-char, #404040); text-decoration: underline; }
.fz65w-modal__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.fz65w-modal__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--fz-mist, #E5E5E5); }
.fz65w-modal__dots i.is-on { background: #111; }

/* =====================================================================
 * #11 購物車抽屜「推薦商品」
 * ===================================================================== */
html body.fz65w .fz65w-drecs { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--fz-mist, #E5E5E5); }
html body.fz65w .fz65w-drecs__h { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
html body.fz65w .fz65w-drecs__list { display: flex; gap: 10px; margin: 0 -4px; padding: 0 4px 4px; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
html body.fz65w .fz65w-drecs__list::-webkit-scrollbar { display: none; }
html body.fz65w .fz65w-drec { flex: 0 0 44%; max-width: 150px; scroll-snap-align: start; }
html body.fz65w .fz65w-drec .fz65v-rec__name { font-size: 12px; }
html body.fz65w .fz65w-drec .fz65v-rec__price { font-size: 12px; }
html body.fz65w .fz65w-drec .fz65v-rec__btn { min-height: 32px !important; font-size: 12px !important; }

/* =====================================================================
 * #12／#18 領券中心、我的優惠券、購物車選擇優惠券
 * ===================================================================== */
html body.fz65w-cc-page .entry-title,
html body.fz65w-cc-page .page-title { display: none; }
html body.fz65w .fz65w-cc { max-width: 720px; margin: 0 auto; padding: 8px 16px 40px; }
html body.fz65w .fz65w-cc__back { display: inline-block; margin: 8px 0 0; font-size: 13px; color: var(--fz-char, #404040) !important; text-decoration: none; }
html body.fz65w .fz65w-cc__title { margin: 8px 0 16px; text-align: center; font-size: 20px; font-weight: 700; }
html body.fz65w .fz65w-cc__code { margin: 0 0 6px; }
html body.fz65w .fz65w-cc__empty { margin: 48px 0 24px; text-align: center; color: var(--fz-mid, #737373); font-size: 14px; }
html body.fz65w .fz65w-cc__cart { display: flex !important; width: 220px; margin: 0 auto; background: #111 !important; color: #fff !important; border-color: #111 !important; }
html body.fz65w .fz65w-cc__list,
html body.fz65w .fz65w-coupons .fz65-coupon-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
html body.fz65w .fz65w-cp { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid var(--fz-mist, #E5E5E5); border-radius: 8px; background: #fff; }
html body.fz65w .fz65w-cp .fz65-coupon__main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html body.fz65w .fz65w-cp__t { font-size: 15px; color: #111; }
html body.fz65w .fz65w-cp__d { font-size: 13px; color: var(--fz-char, #404040); }
html body.fz65w .fz65w-cp__p,
html body.fz65w .fz65w-cp__left { font-size: 12px; color: var(--fz-mid, #737373); }
html body.fz65w .fz65w-cp__left { color: #111; font-weight: 700; }
html body.fz65w .fz65w-cp__act { flex: 0 0 auto; }
html body.fz65w .fz65w-cp__state,
html body.fz65w .fz65w-cp__tag { font-size: 12px; color: var(--fz-mid, #737373); white-space: nowrap; }
html body.fz65w .fz65w-cp__state.is-full { color: #a8a8a8; pointer-events: none; }
html body.fz65w .fz65w-cp--full { opacity: .75; }
html body.fz65w .fz65w-cp--full .fz65w-cp__t,
html body.fz65w .fz65w-cp--full .fz65w-cp__d,
html body.fz65w .fz65w-cp--full .fz65w-cp__p { color: #a8a8a8; }
html body.fz65w .fz65w-cp.is-off .fz65w-cp__t,
html body.fz65w .fz65w-cp.is-off .fz65w-cp__d { color: var(--fz-mid, #737373); }
html body.fz65w .fz65w-claim-btn { min-height: 36px !important; padding: 0 20px !important; background: #111 !important; color: #fff !important; border-color: #111 !important; font-size: 14px !important; }

html body.fz65w .fz65w-pick { margin: 0 0 16px; border: 1px solid var(--fz-mist, #E5E5E5); border-radius: 6px; background: #fff; }
html body.fz65w .fz65w-pick__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 16px; border: 0 !important; background: transparent !important; color: #111 !important; font-size: 15px; font-weight: 700; cursor: pointer; text-align: left; }
html body.fz65w .fz65w-pick__btn i { width: 8px; height: 8px; border-right: 1.5px solid #111; border-bottom: 1.5px solid #111; transform: rotate(45deg); transition: transform .15s; }
html body.fz65w .fz65w-pick__btn[aria-expanded="true"] i { transform: rotate(-135deg); }
html body.fz65w .fz65w-pick__panel { padding: 0 16px 14px; border-top: 1px solid var(--fz-mist, #E5E5E5); }
html body.fz65w .fz65w-pick__panel[hidden] { display: none; }
html body.fz65w .fz65w-pick__note { margin: 12px 0 0; font-size: 13px; color: var(--fz-char, #404040); }
html body.fz65w .fz65w-pick__list { list-style: none; margin: 0; padding: 0; }
html body.fz65w .fz65w-pick__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--fz-mist, #E5E5E5); }
html body.fz65w .fz65w-pick__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
html body.fz65w .fz65w-pick__main strong { font-size: 14px; }
html body.fz65w .fz65w-pick__item.is-off strong,
html body.fz65w .fz65w-pick__item.is-off span { color: #a8a8a8; }
html body.fz65w .fz65w-pick__why { color: #a8a8a8; font-size: 12px; }
html body.fz65w .fz65w-pick__go { flex: 0 0 auto; min-height: 34px !important; padding: 0 16px !important; font-size: 13px !important; background: #111 !important; color: #fff !important; border-color: #111 !important; }
html body.fz65w .fz65w-pick__more { display: inline-block; margin-top: 10px; font-size: 13px; color: #111 !important; text-decoration: underline; }

/* =====================================================================
 * #16 結帳「其他」卡
 * ===================================================================== */
html body.fz65w .fz65w-other { margin: 20px 0; padding: 18px 16px; border: 1px solid var(--fz-mist, #E5E5E5); border-radius: 8px; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .05); }
html body.fz65w .fz65w-other__t { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
html body.fz65w .fz65w-other__h { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #111; }
html body.fz65w .fz65w-other__sel { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--fz-mist, #E5E5E5); border-radius: 6px; background: #fff; color: #111; font-size: 15px; }
html body.fz65w .fz65w-other__body { margin-top: 10px; }
html body.fz65w .fz65w-other__body p { margin: 0 0 2px; font-size: 12px; line-height: 1.6; color: #b23b3b; }

/* #21 評價功能第一階段不做：單品頁評分／評價連結一併隱藏 */
html body.fz65w:not(.fz65zp-rv).single-product .woocommerce-product-rating,
html body.fz65w:not(.fz65zp-rv).single-product .woocommerce-review-link { display: none !important; } /* 65zp：第二階段開啟評價功能（body.fz65zp-rv）時顯示 */

/* =====================================================================
 * 1.0.65x 修正（線上實測 https://fuzzyselect.shop 後補）
 * ===================================================================== */

/* 第 3 章②：商品標題。Elementor 全站設定把 h1.entry-title 設成 display:var(--page-title-display)=none，單品頁標題因此整個消失。 */
html body.fz65a.single-product .summary h1.product_title,
html body.fz65a.single-product .summary .product_title.entry-title { display: block !important; }

/* #9：分頁籤文字寬度底線（Astra／65a 把 a 撐成整格，底線變成滿版） */
html body.fz65w-tabs .woocommerce-tabs ul.tabs li a { display: inline-block !important; width: auto !important; }

/* 第 1、2、3 章：特價商品卡價格只留一行；65a 的 .price:has(del):has(ins){display:flex !important} 蓋掉了「隱藏原生價格」的規則，造成價格重複顯示兩行 */
html body.fz65a ul.products li.product:has(.fuzzy-c-loop-price) .price,
html body.fz65a ul.products li.product:has(.fuzzy-c-loop-price) span.price:has(del):has(ins) { display: none !important; }

/* 第 4 章：售完商品不顯示加入購物車／立即購買／數量／Astra 黏底購買列，只留「售完」鍵＋貨到通知我 */
html body.fz65w-soldout.single-product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart,
html body.fz65w-soldout.single-product form.cart .quantity,
html body.fz65w-soldout.single-product form.cart .single_add_to_cart_button,
html body.fz65w-soldout.single-product form.cart .fz65-buy-now,
html body.fz65w-soldout.single-product .ast-sticky-add-to-cart { display: none !important; }

/* 第 14 章：購物車「使用優惠券」鈕在手機被擠成直排（一字一行） */
html body.fz65a.woocommerce-cart .coupon { flex-wrap: wrap; gap: 8px; align-items: stretch; }
html body.fz65a.woocommerce-cart .coupon input#coupon_code,
html body.fz65a.woocommerce-cart .coupon input[name="coupon_code"] { flex: 1 1 140px; min-width: 0; width: auto !important; }
html body.fz65a.woocommerce-cart .coupon button[name="apply_coupon"],
html body.fz65a.woocommerce-cart .coupon .button {
	flex: 0 0 auto; width: auto !important; min-width: 96px; white-space: nowrap !important; word-break: keep-all !important; overflow-wrap: normal !important;
	writing-mode: horizontal-tb !important; padding: 0 16px !important; min-height: 44px; font-size: 15px !important;
}

/* 第 6 章：註冊表單出生日期／性別在 390px 寬度超出畫面（頁面出現橫向捲動） */
html body.fz65b .fz65b-reg__two { display: flex; gap: 10px; flex-wrap: wrap; }
html body.fz65b .fz65b-reg__two > * { flex: 1 1 140px; min-width: 0; max-width: 100%; }
html body.fz65b .fz65b-reg input,
html body.fz65b .fz65b-reg select,
html body.fz65b .xoo-el-form-container input,
html body.fz65b .xoo-el-form-container select { max-width: 100%; box-sizing: border-box; }

/* 分類頁「每頁顯示」原生 select 右緣超出 7px，造成橫向捲動 */
html body.fz65a .fz65-perpage__select,
html body.fz65a select.fz65-dd-native { max-width: 100% !important; }
html, html body.fz65a { overflow-x: clip !important; } /* 線上實測 scrollX 可被拖動 22px；clip 可關掉橫向捲動且不影響 sticky */

/* 第 3 章①：手機版商品圖改圓點，取消縮圖列（桌面維持左側縮圖） */
.fz65w-gdots { display: none; }
@media (max-width: 768px) {
	html body.fz65a.single-product .woocommerce-product-gallery.fz65w-hasdots .flex-control-thumbs { display: none !important; }
	html body.fz65a.single-product .woocommerce-product-gallery.fz65w-hasdots { padding-left: 0 !important; }
	html body.fz65a.single-product .fz65w-gdots { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
	html body.fz65a.single-product .fz65w-gdots button { width: 8px; height: 8px; padding: 0; border: 0 !important; border-radius: 50%; background: #cfcfcf !important; min-height: 0; cursor: pointer; }
	html body.fz65a.single-product .fz65w-gdots button.is-on { background: #111 !important; }
}

/* =====================================================================
 * 65z：第 3 章 ②／⑤（選項 A）— 品牌／分類／貨號只留標題下方一行；按鈕下方的重複行與「貨號：…」全部拿掉
 * ===================================================================== */
html body.fz65w.single-product .summary > .fz65v-meta { order: 3 !important; margin: 0 0 8px !important; font-size: 12.5px !important; line-height: 1.5; color: #737373; }
html body.fz65w.single-product .summary > .fz65-sku,
html body.fz65w.single-product .summary > .single-product-category,
html body.fz65w.single-product .summary > .product_meta,
html body.fz65w.single-product .summary .product_meta,
html body.fz65w.single-product .summary > .posted_in,
html body.fz65w.single-product .summary > .sku_wrapper { display: none !important; }

/* =====================================================================
 * 65za：桌機購物車版面修正（≥922px；手機版面不動）
 * 原因：65w 在 .woocommerce 這個 2 欄 grid 裡插入全寬的「選擇優惠券」(.fz65w-pick)，65a 的 grid 靠自動排列，
 * 摘要欄 (.cart-collaterals，span 3 列) 被擠到 pick 後面的列 → 左欄只剩 ~620px、表格內文被壓成窄欄、右欄掉到下方。
 * 另外 Astra 文章區左右各留 120px，且商品表各欄寬度由內容撐開，品名欄只剩 ~110px。
 * 作法：grid 改明確指定位置（steps／notices／表格＋選擇優惠券 在左欄，摘要卡跨兩列在右欄，推薦區全寬在最下），
 *       縮小頁面左右留白，品名欄吃剩餘寬度，優惠券輸入＋按鈕同一列。
 * ===================================================================== */
@media (min-width: 922px) {
	html body.fz65a.woocommerce-cart article.page,
	html body.fz65a.woocommerce-cart .ast-article-single { padding-left: 32px !important; padding-right: 32px !important; }
	html body.fz65a.woocommerce-cart .entry-content > .woocommerce,
	html body.fz65a.woocommerce-cart .ast-woocommerce-container > .woocommerce,
	html body.fz65a.woocommerce-cart article .woocommerce:has(> .woocommerce-cart-form) {
		grid-template-columns: minmax(0, 1fr) 360px !important; grid-template-rows: auto auto auto 1fr auto; gap: 0 32px !important; align-items: start;
	}
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .fuzzy-c-steps { grid-column: 1 / -1; grid-row: 1; }
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-notices-wrapper { grid-column: 1 / -1; grid-row: 2; }
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-cart-form { grid-column: 1; grid-row: 3; min-width: 0; }
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .fz65w-pick { grid-column: 1; grid-row: 4; align-self: start; margin: 16px 0 0; }
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals { grid-column: 2; grid-row: 3 / span 2; align-self: start; }
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .fz65v-recs,
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .fz65w-recs { grid-column: 1 / -1; grid-row: 5; }

	/* 商品表：吃滿左欄；品名欄拿剩餘寬度，其他欄貼內容 */
	html body.fz65a.woocommerce-cart table.shop_table.cart { width: 100% !important; max-width: 100%; table-layout: auto; }
	html body.fz65a.woocommerce-cart table.shop_table.cart th,
	html body.fz65a.woocommerce-cart table.shop_table.cart td { padding: 14px 12px; }
	html body.fz65a.woocommerce-cart table.shop_table.cart .product-name { width: 100%; min-width: 180px; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.product-name a {
		display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.5;
	}
	html body.fz65a.woocommerce-cart table.shop_table.cart .product-remove,
	html body.fz65a.woocommerce-cart table.shop_table.cart .product-thumbnail,
	html body.fz65a.woocommerce-cart table.shop_table.cart .product-price,
	html body.fz65a.woocommerce-cart table.shop_table.cart .product-quantity,
	html body.fz65a.woocommerce-cart table.shop_table.cart .product-subtotal { width: 1%; white-space: nowrap; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.product-thumbnail img { width: 72px; max-width: none; height: auto; }

	/* 優惠碼輸入＋按鈕同一列，「更新購物車」靠右（td 維持 table-cell，用 float；td 改成 flex 會讓 colspan 儲存格縮成只佔第一欄） */
	html body.fz65a.woocommerce-cart table.shop_table.cart td.actions { display: table-cell; white-space: normal; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.actions::after { content: ""; display: table; clear: both; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.actions .coupon { display: flex; float: left; width: calc(100% - 190px); max-width: 520px; flex-wrap: nowrap; margin: 0 !important; padding: 0; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.actions .coupon input#coupon_code { flex: 1 1 auto; min-width: 120px; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.actions .coupon .button { flex: 0 0 auto; white-space: nowrap; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.actions > button[name="update_cart"] { float: right; white-space: nowrap; margin: 0; }
}

/* 922–1180px：摘要欄縮窄、表格更緊湊，避免表格撐出左欄 */
@media (min-width: 922px) and (max-width: 1180px) {
	html body.fz65a.woocommerce-cart .entry-content > .woocommerce,
	html body.fz65a.woocommerce-cart .ast-woocommerce-container > .woocommerce,
	html body.fz65a.woocommerce-cart article .woocommerce:has(> .woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr) 300px !important; gap: 0 24px !important; }
	html body.fz65a.woocommerce-cart table.shop_table.cart th,
	html body.fz65a.woocommerce-cart table.shop_table.cart td { padding: 12px 8px; }
	html body.fz65a.woocommerce-cart table.shop_table.cart .product-name { min-width: 120px; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.product-thumbnail img { width: 56px; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.actions .coupon { width: 100%; max-width: none; margin-bottom: 10px !important; }
	html body.fz65a.woocommerce-cart table.shop_table.cart td.actions > button[name="update_cart"] { float: none; display: block; width: 100%; }
}

/* 922–1000px：再窄就先收掉縮圖欄 */
@media (min-width: 922px) and (max-width: 1000px) {
	html body.fz65a.woocommerce-cart table.shop_table.cart th.product-thumbnail,
	html body.fz65a.woocommerce-cart table.shop_table.cart td.product-thumbnail { display: none; }
}

/* =====================================================================
 * 65zb：智慧尺寸示意圖（assets/fz65w-shape-*.svg）
 * ===================================================================== */
html body .fz65w-modal .fz65w-shape { display: block; width: 100%; max-width: 132px; height: auto; margin: 0 auto; pointer-events: none; }
html body .fz65w-modal .fz65w-choice { gap: 8px; padding: 10px 4px 12px; }
html body .fz65w-modal .fz65w-choices--2 .fz65w-choice { flex: 0 0 42%; }
html body .fz65w-modal .fz65w-choice.is-on { background: #fafafa !important; }
html body .fz65w-modal .fz65w-person { margin: 0 0 12px; }
html body .fz65w-modal .fz65w-person__fig { position: relative; width: 150px; margin: 0 auto; }
html body .fz65w-modal .fz65w-person__fig .fz65w-shape { max-width: 150px; }
html body .fz65w-modal .fz65w-person__dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: rgba(31, 209, 209, .35); border: 1.5px solid #1FD1D1; box-sizing: border-box; }
html body .fz65w-modal .fz65w-person__lead { position: absolute; width: 36px; height: 0; margin-right: 5px; border-top: 1px dotted #8a8a8a; }
html body .fz65w-modal .fz65w-person__lbl { position: absolute; transform: translateY(-50%); white-space: nowrap; text-align: right; line-height: 1.4; font-size: 11px; color: #404040; }
html body .fz65w-modal .fz65w-person__lbl b { color: #111; }

/* =====================================================================
 * 65zf：購物車右側摘要欄（問候卡／付款與送貨方式／購物車合計／前往結帳）一律不固定、不跟著捲動。
 * 原因：規格書第 14 章（PDF 第 29–31 頁）只列區塊內容，沒有要求「捲動時固定」；65a 的 sticky 讓摘要欄
 * 往下捲時蓋住下方「您可能喜歡…」推薦區。改為一般文件流，並讓推薦區全寬排在兩欄下方。
 * ===================================================================== */
html body.fz65a.woocommerce-cart .cart-collaterals,
html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals,
html body.fz65a.woocommerce-cart .cart-collaterals > *,
html body.fz65a.woocommerce-cart .cart_totals {
	position: static !important; top: auto !important; bottom: auto !important; transform: none !important;
}
@media (min-width: 922px) {
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .fz65v-recs,
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .fz65w-recs,
	html body.fz65a.woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .cross-sells {
		grid-column: 1 / -1; grid-row: 5; clear: both; position: static !important; margin-top: 32px;
	}
}
