/* 1.0.65zw #16 購物車／結帳／訂單成立頁版面（前台詳細補充 第 14～15 章）。全部限定 body.fzzw-flow。 */
html body.fzzw-flow {
	--zw-bg: #F3F4F6;
	--zw-card: #FFFFFF;
	--zw-line: #ECEDF0;
	--zw-ink: #222222;
	--zw-text: #444444;
	--zw-mid: #8A8F98;
	--zw-light: #B4B8C0;
	--zw-blue: #4E6CF5;
	--zw-navy: #2F4AA0;
	--zw-link: #3552C8;
	--zw-green: #3DA77A;
	--zw-orange: #F0A322;
	--zw-orange-bg: #FFF8EC;
	--zw-radius: 10px;
	background: var(--zw-bg) !important;
}
html body.fzzw-flow #content,
html body.fzzw-flow .site-content,
html body.fzzw-flow .ast-container,
html body.fzzw-flow #primary,
html body.fzzw-flow .entry-content,
html body.fzzw-flow article,
html body.fzzw-flow .ast-article-single,
html body.fzzw-flow .ast-separate-container .ast-article-single { background: transparent !important; }
html body.fzzw-flow .ast-article-single,
html body.fzzw-flow article.page { padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
html body.fzzw-flow .entry-header,
html body.fzzw-flow .entry-title,
html body.fzzw-flow .woocommerce-products-header { display: none !important; }
html body.fzzw-flow .entry-content > .woocommerce { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 0 auto; padding: 8px 0 32px; color: var(--zw-text); font-size: 14px; }
html body.fzzw-flow .entry-content > .woocommerce > * { order: 20; margin: 0 !important; }
html body.fzzw-flow .woocommerce .fzzw-hide { display: none !important; }

/* ---------- 卡片 ---------- */
html body.fzzw-flow .fzzw-card,
html body.fzzw-flow .fz65-freeship + .fzzw-card { background: var(--zw-card); border: 0 !important; border-radius: var(--zw-radius) !important; box-shadow: 0 1px 3px rgba(17, 24, 39, .06), 0 1px 2px rgba(17, 24, 39, .04) !important; padding: 0 !important; overflow: hidden; }
html body.fzzw-flow .fzzw-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--zw-line); }
html body.fzzw-flow .fzzw-card__title,
html body.fzzw-flow .fzzw-card > h2,
html body.fzzw-flow .cart_totals > h2,
html body.fzzw-flow .fz65b-pscard__head h2 { margin: 0 !important; font-size: 17px !important; line-height: 1.4 !important; font-weight: 600 !important; color: #3A3F47 !important; letter-spacing: 0 !important; text-transform: none !important; }
html body.fzzw-flow .fzzw-card__right { font-size: 12px; color: var(--zw-light); }
html body.fzzw-flow .fzzw-card__body { padding: 14px 16px 16px; }
html body.fzzw-flow .fzzw-card.fzzw-empty { display: none !important; }
html body.fzzw-flow .fzzw-label { margin: 0 0 6px !important; font-size: 13px; color: var(--zw-ink); font-weight: 500; }

/* ---------- 步驟列 ---------- */
html body.fzzw-flow .fzzw-top { order: 1 !important; position: relative; display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 12px; }
html body.fzzw-flow .fzzw-top .fzzw-back { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); margin: 0 !important; color: var(--zw-link) !important; font-size: 13px; text-decoration: none !important; font-weight: 500; }
html body.fzzw-flow .fuzzy-c-steps { display: flex !important; align-items: center; justify-content: center; gap: 0 !important; margin: 0 !important; padding: 0 !important; list-style: none; }
html body.fzzw-flow .fuzzy-c-steps__num { display: none !important; }
html body.fzzw-flow .fuzzy-c-steps__item { display: flex; align-items: center; margin: 0 !important; font-size: 12px !important; color: var(--zw-light) !important; font-weight: 400 !important; }
html body.fzzw-flow .fuzzy-c-steps__item + .fuzzy-c-steps__item::before { content: "»" !important; margin: 0 10px !important; color: #555 !important; font-size: 16px; font-weight: 700; line-height: 1; }
html body.fzzw-flow .fuzzy-c-steps__item.is-current { color: var(--zw-ink) !important; font-weight: 700 !important; }

/* ---------- 會員問候列 ---------- */
html body.fzzw-flow .fzzw-greet { order: 3 !important; display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--zw-card); border-radius: var(--zw-radius); box-shadow: 0 1px 3px rgba(17, 24, 39, .06); font-size: 14px; color: var(--zw-ink); }
html body.fzzw-flow .fzzw-greet__ico { color: #333; display: inline-flex; }
html body.fzzw-flow .fzzw-greet__name { color: var(--zw-link); font-weight: 400; }
html body.fzzw-flow .fz65-greet { display: none !important; }
html body.fzzw-flow .woocommerce-notices-wrapper { order: 2 !important; }
html body.fzzw-flow .woocommerce-notices-wrapper:empty { display: none !important; }

/* ---------- 購物車 ---------- */
html body.fzzw-cart .woocommerce-cart-form,
html body.fzzw-cart .cart-collaterals { display: contents !important; }
html body.fzzw-cart .fzzw-cartcard { order: 4 !important; }
html body.fzzw-cart .fz65v-recs { order: 5 !important; }
html body.fzzw-cart .fzzw-couponcard { order: 6 !important; }
html body.fzzw-cart .fz65w-pick { order: 7 !important; }
html body.fzzw-cart .cart_totals { order: 8 !important; }
html body.fzzw-cart .fzzw-count { font-size: 15px; font-weight: 400; color: var(--zw-ink); }
html body.fzzw-cart .fzzw-count b { color: var(--zw-navy); font-weight: 700; }
html body.fzzw-cart .fzzw-cartcard .fzzw-card__body { padding: 12px 16px 0; }
/* 免運條 */
html body.fzzw-cart .fz65-freeship { margin: 0 0 12px !important; padding: 12px 14px !important; border: 0 !important; border-radius: 6px !important; background: var(--zw-orange-bg) !important; }
html body.fzzw-cart .fz65-freeship__text { font-size: 14px !important; color: var(--zw-ink) !important; font-weight: 600; }
html body.fzzw-cart .fz65-freeship__text strong,
html body.fzzw-cart .fz65-freeship__text .amount { color: var(--zw-orange) !important; }
html body.fzzw-cart .fz65-freeship__track { height: 4px !important; background: #EAE6DD !important; }
html body.fzzw-cart .fz65-freeship__fill { background: linear-gradient(90deg, #F3C77A, var(--zw-orange)) !important; }
html body.fzzw-cart .fz65-freeship__note,
html body.fzzw-cart .fz65-freeship small { font-size: 12px; color: var(--zw-mid); }
/* 商品列 → 商品卡 */
html body.fzzw-cart table.cart { border: 0 !important; margin: 0 !important; background: transparent !important; width: 100%; }
html body.fzzw-cart table.cart thead { display: none !important; }
html body.fzzw-cart table.cart tbody,
html body.fzzw-cart table.cart tr { display: block; border: 0 !important; background: transparent !important; }
html body.fzzw-cart table.cart tr.fuzzy-c-mix-container__head { padding: 8px 0 0; }
html body.fzzw-cart table.cart tr.fuzzy-c-mix-container__head th { display: block !important; padding: 0 !important; border: 0 !important; background: transparent !important; font-size: 12px; color: var(--zw-green); font-weight: 600; text-align: left; }
html body.fzzw-cart table.cart tr.cart_item { display: grid !important; grid-template-columns: 76px minmax(0, 1fr) auto 24px; grid-template-areas: "img name name del" "img price price price" "qty qty sub sub"; column-gap: 12px; row-gap: 4px; padding: 14px 0 !important; border-bottom: 1px solid var(--zw-line) !important; }
html body.fzzw-cart table.cart tr.cart_item td { display: block !important; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: left !important; min-width: 0; }
html body.fzzw-cart table.cart tr.cart_item td::before { display: none !important; }
html body.fzzw-cart table.cart td.product-thumbnail { grid-area: img; display: block !important; }
html body.fzzw-cart table.cart td.product-thumbnail img { width: 76px !important; height: 76px !important; max-width: none !important; object-fit: cover; border-radius: 6px; margin: 0 !important; }
html body.fzzw-cart table.cart td.product-name { grid-area: name; font-size: 15px; line-height: 1.35; color: var(--zw-ink); }
html body.fzzw-cart table.cart td.product-name > a { color: var(--zw-ink) !important; font-weight: 600; text-decoration: none !important; }
html body.fzzw-cart table.cart td.product-name dl.variation { margin: 4px 0 0 !important; font-size: 12px; color: var(--zw-mid); }
html body.fzzw-cart table.cart td.product-name dl.variation dt,
html body.fzzw-cart table.cart td.product-name dl.variation dd,
html body.fzzw-cart table.cart td.product-name dl.variation p { display: inline !important; margin: 0 !important; padding: 0 !important; font-weight: 400 !important; float: none !important; }
html body.fzzw-cart table.cart td.product-remove { grid-area: del; text-align: right !important; }
html body.fzzw-cart table.cart td.product-remove a.remove { display: inline-flex !important; width: 22px !important; height: 22px !important; align-items: center; justify-content: center; border: 0 !important; color: var(--zw-light) !important; background: transparent !important; font-size: 18px !important; }
html body.fzzw-cart table.cart td.product-remove a.remove svg { width: 16px !important; height: 16px !important; }
html body.fzzw-cart table.cart td.product-price { grid-area: price; font-size: 14px; color: var(--zw-mid); }
html body.fzzw-cart table.cart td.product-price del { display: block; color: var(--zw-light); font-size: 12px; }
html body.fzzw-cart table.cart td.product-price ins { text-decoration: none; }
html body.fzzw-cart table.cart td.product-quantity { grid-area: qty; align-self: end; margin-top: 8px !important; }
html body.fzzw-cart table.cart td.product-subtotal { grid-area: sub; align-self: end; text-align: right !important; font-size: 17px; font-weight: 700; color: var(--zw-ink); white-space: nowrap; }
html body.fzzw-cart table.cart td.product-subtotal::before { content: "商品小計" !important; display: block !important; float: none !important; font-size: 11px; font-weight: 400; color: var(--zw-text); margin: 0 0 2px; }
html body.fzzw-cart .fzzw-qty { display: inline-flex !important; align-items: stretch; border: 1px solid #D7DAE0; border-radius: 6px; overflow: hidden; height: 36px; }
html body.fzzw-cart .fzzw-qty input.qty { width: 52px !important; height: 34px !important; min-height: 0 !important; border: 0 !important; border-left: 1px solid #D7DAE0 !important; border-right: 1px solid #D7DAE0 !important; border-radius: 0 !important; text-align: center; padding: 0 !important; font-size: 15px; -moz-appearance: textfield; background: #fff !important; }
html body.fzzw-cart .fzzw-qty input.qty::-webkit-inner-spin-button,
html body.fzzw-cart .fzzw-qty input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html body.fzzw-cart .fzzw-qty__btn { width: 40px; border: 0 !important; background: #fff !important; color: #333 !important; font-size: 18px !important; line-height: 1; padding: 0 !important; cursor: pointer; min-height: 0 !important; border-radius: 0 !important; }
html body.fzzw-cart table.cart td.actions { display: none !important; }
html body.fzzw-cart table.cart tr:has(> td.actions) { display: none !important; }
/* 本單優惠 → 優惠折扣列 */
html body.fzzw-cart .fuzzy-c-savings { margin: 0 -16px !important; padding: 12px 16px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
html body.fzzw-cart .fuzzy-c-savings__title { font-size: 14px !important; color: var(--zw-ink) !important; margin: 0 0 6px !important; }
html body.fzzw-cart .fuzzy-c-savings__item { border: 0 !important; padding: 3px 0 !important; font-size: 13px; }
html body.fzzw-cart .fuzzy-c-savings__amount,
html body.fzzw-cart .fuzzy-c-savings__amount .amount { color: var(--zw-green) !important; }
html body.fzzw-cart .fuzzy-c-savings__total { color: var(--zw-ink); font-size: 15px; font-weight: 700; padding-top: 8px !important; border-top: 1px solid var(--zw-line); margin: 8px 0 0 !important; }
/* 您可能喜歡 */
html body.fzzw-cart .fz65v-recs { padding: 0 !important; margin: 0 !important; overflow: hidden; }
html body.fzzw-cart .fz65v-recs__h { margin: 0 !important; padding: 14px 16px !important; border-bottom: 1px solid var(--zw-line); font-size: 17px !important; font-weight: 600 !important; color: #3A3F47 !important; }
html body.fzzw-cart .fz65v-recs__list { display: flex !important; gap: 12px !important; overflow-x: auto !important; padding: 14px 16px !important; margin: 0 !important; scroll-snap-type: x mandatory; grid-template-columns: none !important; }
html body.fzzw-cart .fz65v-rec { flex: 0 0 calc((100% - 24px) / 3) !important; min-width: 0 !important; max-width: none !important; scroll-snap-align: start; display: flex; flex-direction: column; }
html body.fzzw-cart .fz65v-rec__img img { width: 100% !important; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
html body.fzzw-cart .fz65v-rec__name { font-size: 13px; font-weight: 600; color: var(--zw-ink) !important; line-height: 1.3; margin: 6px 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none !important; }
html body.fzzw-cart .fz65v-rec__price { margin-top: auto; color: var(--zw-green); font-size: 16px; font-weight: 600; }
html body.fzzw-cart .fz65v-rec__price del { display: block; color: var(--zw-light); font-size: 12px; font-weight: 400; }
html body.fzzw-cart .fz65v-rec__price ins { text-decoration: none; }
html body.fzzw-cart .fz65v-rec__btn { margin-top: 8px !important; width: 100%; background: #fff !important; color: var(--zw-ink) !important; border: 1px solid #333 !important; border-radius: 4px !important; font-size: 13px !important; padding: 6px 4px !important; min-height: 0 !important; text-align: center; }
html body.fzzw-cart .fz65v-recs__more,
html body.fzzw-cart .fz65v-recs > a { display: block; text-align: center; padding: 0 0 14px; color: var(--zw-ink) !important; font-size: 14px; }
/* 優惠券及優惠碼 */
html body.fzzw-cart .fzzw-couponcard .coupon { display: flex !important; gap: 8px; float: none !important; width: 100% !important; margin: 0 !important; }
html body.fzzw-cart .fzzw-couponcard #coupon_code { flex: 1; width: auto !important; height: 40px !important; min-height: 0 !important; border: 1px solid #D7DAE0 !important; border-radius: 6px !important; padding: 0 12px !important; font-size: 14px; margin: 0 !important; }
html body.fzzw-cart .fzzw-couponcard [name="apply_coupon"] { flex: 0 0 auto; height: 40px !important; min-height: 0 !important; padding: 0 14px !important; background: #fff !important; color: var(--zw-mid) !important; border: 1px solid #D7DAE0 !important; border-radius: 6px !important; font-size: 14px !important; margin: 0 !important; width: auto !important; }
html body.fzzw-cart .fz65w-pick { margin-top: -14px !important; z-index: 1; border: 0 !important; border-radius: 0 0 var(--zw-radius) var(--zw-radius) !important; box-shadow: 0 2px 3px rgba(17, 24, 39, .06); background: var(--zw-card) !important; position: relative; }
html body.fzzw-cart .fz65w-pick__btn { padding: 0 16px 14px !important; justify-content: flex-start !important; gap: 6px; color: var(--zw-link) !important; font-weight: 600 !important; font-size: 14px !important; border: 0 !important; background: transparent !important; }
html body.fzzw-cart .fz65w-pick__btn i { border-color: var(--zw-link) !important; }
html body.fzzw-cart .fzzw-couponcard { border-radius: var(--zw-radius) var(--zw-radius) 0 0 !important; padding-bottom: 10px !important; }
/* 付款與送貨方式 */
html body.fzzw-cart .cart_totals { display: flex; flex-direction: column; gap: 12px; width: 100% !important; float: none !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
html body.fzzw-cart .cart_totals > * { margin: 0 !important; }
html body.fzzw-cart .fz65b-pscard { order: 1; padding: 0 !important; }
html body.fzzw-cart .fz65b-pscard__head { padding: 14px 16px; margin: 0 !important; border-bottom: 1px solid var(--zw-line); }
html body.fzzw-cart .fz65b-pscard__head h2 { padding: 0 !important; }
html body.fzzw-cart .fz65b-pscard__change { color: var(--zw-link) !important; text-decoration: none !important; font-weight: 600; }
html body.fzzw-cart .fz65b-pscard__row { padding: 10px 16px !important; border-top: 0 !important; }
html body.fzzw-cart .fz65b-pscard__row label { color: var(--zw-ink) !important; font-size: 13px !important; font-weight: 500; }
html body.fzzw-cart .fz65b-pscard__val,
html body.fzzw-cart .fz65b-pscard__sel { display: block; width: 100%; border: 1px solid #D7DAE0 !important; border-radius: 6px !important; padding: 9px 12px !important; font-weight: 400 !important; font-size: 14px; background: #fff; min-height: 0 !important; height: auto !important; }
html body.fzzw-cart .fz65b-pscard__desc,
html body.fzzw-cart .fz65b-pscard__note { font-size: 12px !important; color: var(--zw-text) !important; padding: 0 16px 12px; margin: 4px 0 0 !important; }
html body.fzzw-cart .fz65b-pscard__row .fz65b-pscard__desc { padding: 0; }
/* 訂單資訊 */
html body.fzzw-cart .cart_totals > h2 { order: 2; background: var(--zw-card); border-radius: var(--zw-radius) var(--zw-radius) 0 0; padding: 14px 16px !important; border-bottom: 1px solid var(--zw-line) !important; margin: 0 0 -12px !important; box-shadow: 0 -1px 3px rgba(17, 24, 39, .04); }
html body.fzzw-cart .cart_totals > table { order: 3; background: var(--zw-card) !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 4px 0 8px !important; display: block; width: 100% !important; }
html body.fzzw-cart .cart_totals > table tbody { display: block; }
html body.fzzw-cart .cart_totals > table tr { display: flex !important; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 16px !important; border: 0 !important; }
html body.fzzw-cart .cart_totals > table th,
html body.fzzw-cart .cart_totals > table td { display: block !important; padding: 0 !important; border: 0 !important; background: transparent !important; width: auto !important; text-align: left; font-size: 14px; color: var(--zw-ink); }
html body.fzzw-cart .cart_totals > table th { display: block !important; font-weight: 500 !important; white-space: nowrap; }
html body.fzzw-cart .cart_totals > table td { text-align: right !important; }
html body.fzzw-cart .cart_totals > table td::before { display: none !important; }
html body.fzzw-cart .cart_totals tr.cart-subtotal th,
html body.fzzw-cart .cart_totals tr.cart-subtotal td { font-weight: 700 !important; font-size: 15px; }
html body.fzzw-cart .cart_totals tr.fee td,
html body.fzzw-cart .cart_totals tr.fee td .amount,
html body.fzzw-cart .cart_totals tr.cart-discount td,
html body.fzzw-cart .cart_totals tr.cart-discount td .amount { color: var(--zw-green) !important; }
html body.fzzw-cart .cart_totals tr.woocommerce-shipping-totals { box-shadow: inset 0 1px 0 var(--zw-line), inset 0 -1px 0 var(--zw-line); padding: 12px 16px !important; margin: 4px 0; }
html body.fzzw-cart .cart_totals tr.order-total { box-shadow: inset 0 1px 0 var(--zw-line); margin-top: 4px; padding-top: 12px !important; }
html body.fzzw-cart .cart_totals tr.woocommerce-shipping-totals td { font-size: 14px; }
html body.fzzw-cart .cart_totals .fzzw-shipcost.fzzw-note { font-size: 12px; color: var(--zw-light); }
html body.fzzw-cart .cart_totals .fzzw-shipcost.fzzw-free { color: var(--zw-green); }
html body.fzzw-cart .cart_totals tr.woocommerce-shipping-totals td ul,
html body.fzzw-cart .cart_totals .woocommerce-shipping-calculator { display: none !important; }
html body.fzzw-cart .cart_totals tr.woocommerce-shipping-totals .woocommerce-shipping-destination { margin: 0; font-size: 12px; color: var(--zw-light); }
html body.fzzw-cart .cart_totals tr.order-total th,
html body.fzzw-cart .cart_totals tr.order-total td,
html body.fzzw-cart .cart_totals tr.order-total .amount { color: var(--zw-navy) !important; font-weight: 700 !important; font-size: 16px !important; }
html body.fzzw-cart .cart_totals .wc-proceed-to-checkout { order: 4; background: var(--zw-card); border-radius: 0 0 var(--zw-radius) var(--zw-radius); padding: 4px 16px 16px !important; margin: -12px 0 0 !important; box-shadow: 0 2px 3px rgba(17, 24, 39, .06); }
html body.fzzw-flow .woocommerce .wc-proceed-to-checkout a.checkout-button.button,
html body.fzzw-flow .wc-proceed-to-checkout a.checkout-button,
html body.fzzw-checkout .woocommerce #place_order.button,
html body.fzzw-checkout #place_order { display: block !important; width: 100% !important; margin: 0 !important; background: var(--zw-blue) !important; border: 0 !important; border-radius: 6px !important; color: #fff !important; font-size: 16px !important; font-weight: 600 !important; padding: 12px !important; line-height: 1.4 !important; min-height: 0 !important; text-align: center; box-shadow: none !important; }
html body.fzzw-flow .fzzw-truck { display: inline-block; width: 18px; height: 12px; margin-right: 6px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M0 0h15v11H0zM16 4h4l4 4v3h-8zM5 16a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm14 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M0 0h15v11H0zM16 4h4l4 4v3h-8zM5 16a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm14 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ---------- 結帳 ---------- */
html body.fzzw-checkout .fzzw-greet { order: 3 !important; }
html body.fzzw-checkout form.checkout { order: 4 !important; display: block !important; }
html body.fzzw-checkout .fz65-back:not(.fzzw-back) { display: none !important; }
html body.fzzw-checkout .fzzw-cards { display: flex; flex-direction: column; gap: 12px; }
html body.fzzw-checkout .fzzw-card h3 { display: none !important; }
html body.fzzw-checkout .fzzw-card .col2-set,
html body.fzzw-checkout .fzzw-card .col-1,
html body.fzzw-checkout .fzzw-card .col-2 { width: 100% !important; float: none !important; padding: 0 !important; margin: 0 !important; }
html body.fzzw-checkout .fzzw-card .woocommerce-billing-fields,
html body.fzzw-checkout .fzzw-card .woocommerce-shipping-fields,
html body.fzzw-checkout .fzzw-card .woocommerce-additional-fields,
html body.fzzw-checkout .fzzw-card #order_review,
html body.fzzw-checkout .fzzw-card #fuzzy-tax-id-fields { border: 0 !important; padding: 0 !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; width: 100% !important; float: none !important; }
html body.fzzw-checkout .fzzw-card .form-row { margin: 0 0 12px !important; padding: 0 !important; }
html body.fzzw-checkout .fzzw-card .form-row label { display: block; margin: 0 0 5px !important; font-size: 13px !important; font-weight: 500 !important; color: var(--zw-ink) !important; line-height: 1.4; }
html body.fzzw-checkout .fzzw-card .form-row label .optional { color: var(--zw-mid); font-weight: 400; }
html body.fzzw-checkout .fzzw-card .form-row label.checkbox,
html body.fzzw-checkout .fzzw-card .form-row .woocommerce-form__label-for-checkbox { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
html body.fzzw-checkout .fzzw-card input.input-text,
html body.fzzw-checkout .fzzw-card select,
html body.fzzw-checkout .fzzw-card textarea,
html body.fzzw-checkout .fzzw-card .select2-container .select2-selection--single { width: 100% !important; min-height: 42px !important; border: 1px solid #D7DAE0 !important; border-radius: 6px !important; background: #fff !important; padding: 8px 12px !important; font-size: 15px !important; color: var(--zw-ink) !important; box-shadow: none !important; }
html body.fzzw-checkout .fzzw-card textarea { min-height: 90px !important; }
html body.fzzw-checkout .fzzw-card .select2-container .select2-selection--single { padding: 0 8px !important; display: flex; align-items: center; }
html body.fzzw-checkout .fzzw-card .description,
html body.fzzw-checkout .fzzw-card .fz65-field-hint { font-size: 12px !important; color: var(--zw-mid) !important; margin: 4px 0 0 !important; line-height: 1.4; }
/* 收件人資訊 */
html body.fzzw-checkout .fzzw-shipbox { margin: 0 0 14px; }
html body.fzzw-checkout .fzzw-shipbox ul#shipping_method,
html body.fzzw-checkout .fzzw-shipbox ul.woocommerce-shipping-methods { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
html body.fzzw-checkout .fzzw-shipbox li { text-indent: 0 !important; display: flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 10px 12px !important; border: 1px solid #D7DAE0; border-radius: 6px; text-align: left !important; font-size: 14px; color: var(--zw-ink); }
html body.fzzw-checkout .fzzw-shipbox li:has(input:checked) { border-color: var(--zw-blue); box-shadow: 0 0 0 1px var(--zw-blue) inset; }
html body.fzzw-checkout .fzzw-shipbox li input { position: static !important; display: inline-block !important; opacity: 1 !important; -webkit-appearance: radio !important; appearance: auto !important; width: 16px !important; height: 16px !important; flex: 0 0 16px; margin: 0 !important; clip: auto !important; accent-color: var(--zw-blue); }
html body.fzzw-checkout .fzzw-shipbox li label::before,
html body.fzzw-checkout .fzzw-shipbox li label::after { display: none !important; }
html body.fzzw-checkout .fzzw-shipbox li label { text-indent: 0 !important; padding: 0 !important; margin: 0 !important; flex: 1; display: flex; justify-content: space-between; gap: 8px; font-weight: 500; }
html body.fzzw-checkout .fzzw-shipbox li label .amount { color: var(--zw-mid); font-weight: 400; }
html body.fzzw-checkout #ship-to-different-address { display: flex !important; align-items: center; justify-content: space-between; margin: 0 0 12px !important; font-size: 13px !important; font-weight: 500 !important; }
html body.fzzw-checkout #ship-to-different-address label { display: none !important; }
html body.fzzw-checkout .fz65-same { display: flex !important; flex-direction: row-reverse; align-items: center; justify-content: space-between; width: 100%; gap: 10px; cursor: pointer; font-size: 13px; color: var(--zw-ink); font-weight: 500; }
html body.fzzw-checkout .fz65-same__sw { position: relative; flex: 0 0 auto; width: 44px !important; height: 26px !important; border-radius: 13px !important; background: #D7DAE0 !important; transition: background .2s; }
html body.fzzw-checkout .fz65-same__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .2s; }
html body.fzzw-checkout .fz65-same[aria-checked="true"] .fz65-same__sw { background: var(--zw-navy) !important; }
html body.fzzw-checkout .fz65-same[aria-checked="true"] .fz65-same__sw::after { left: 21px; }
html body.fzzw-checkout .woocommerce-shipping-fields h3#ship-to-different-address { display: flex !important; }
html body.fzzw-checkout .fzzw-addr { margin-top: 4px; }
html body.fzzw-thanks .woocommerce-order > .fzzw-top,
html body.fzzw-thanks .fzzw-top { order: -1 !important; background: transparent !important; box-shadow: none !important; padding: 0 12px !important; }
/* 付款資訊 */
html body.fzzw-checkout .fzzw-paytotal { font-size: 12px; color: var(--zw-mid); }
html body.fzzw-checkout .fzzw-paytotal b,
html body.fzzw-checkout .fzzw-paytotal .amount { color: var(--zw-navy); font-weight: 700; font-size: 13px; }
html body.fzzw-checkout .fzzw-c-pay #payment { background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
html body.fzzw-checkout .fzzw-c-pay #payment ul.payment_methods { border: 0 !important; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 8px; list-style: none; }
html body.fzzw-checkout .fzzw-c-pay #payment li.wc_payment_method { margin: 0 !important; padding: 10px 12px !important; border: 1px solid #D7DAE0; border-radius: 6px; list-style: none; }
html body.fzzw-checkout .fzzw-c-pay #payment li.wc_payment_method:has(> input:checked) { border-color: var(--zw-blue); box-shadow: 0 0 0 1px var(--zw-blue) inset; }
html body.fzzw-checkout .fzzw-c-pay #payment li.wc_payment_method > input { accent-color: var(--zw-blue); margin: 0 8px 0 0 !important; vertical-align: middle; }
html body.fzzw-checkout .fzzw-c-pay #payment li.wc_payment_method > label { display: inline !important; font-size: 14px !important; font-weight: 500 !important; color: var(--zw-ink) !important; }
html body.fzzw-checkout .fzzw-c-pay #payment li.wc_payment_method > label img { display: none; }
html body.fzzw-checkout .fzzw-c-pay #payment div.payment_box { margin: 8px 0 0 !important; padding: 0 !important; background: transparent !important; font-size: 12px !important; color: var(--zw-text) !important; }
html body.fzzw-checkout .fzzw-c-pay #payment div.payment_box::before { display: none !important; }
html body.fzzw-checkout .fzzw-c-pay #payment div.payment_box p { margin: 0 !important; }
/* 索取發票 */
html body.fzzw-checkout .fzzw-c-inv .fz65-pair { display: flex; flex-direction: column; gap: 0; }
html body.fzzw-checkout .fzzw-c-inv #fuzzy-tax-id-fields label { font-size: 13px; }
html body.fzzw-checkout .fzzw-c-inv input[type="radio"] { accent-color: var(--zw-blue); }
/* 訂單明細 */
html body.fzzw-checkout .fzzw-c-detail table.shop_table { border: 0 !important; margin: 0 !important; border-radius: 0 !important; width: 100%; }
html body.fzzw-checkout .fzzw-c-detail table.shop_table thead { display: none; }
html body.fzzw-checkout .fzzw-c-detail table.shop_table th,
html body.fzzw-checkout .fzzw-c-detail table.shop_table td { border: 0 !important; padding: 8px 0 !important; background: transparent !important; font-size: 14px; color: var(--zw-ink); vertical-align: middle; }
html body.fzzw-checkout .fzzw-c-detail table.shop_table tbody tr.cart_item td { border-bottom: 1px solid var(--zw-line) !important; padding: 10px 0 !important; }
html body.fzzw-checkout .fzzw-c-detail table.shop_table td:last-child { text-align: right; }
html body.fzzw-checkout .fzzw-c-detail table.shop_table tfoot th { font-weight: 700 !important; text-align: left; }
html body.fzzw-checkout .fzzw-c-detail tr.cart-subtotal th,
html body.fzzw-checkout .fzzw-c-detail tr.cart-subtotal td { font-weight: 700 !important; }
html body.fzzw-checkout .fzzw-c-detail tr.fee th,
html body.fzzw-checkout .fzzw-c-detail tr.cart-discount th { font-weight: 400 !important; font-size: 13px; }
html body.fzzw-checkout .fzzw-c-detail tr.fee td,
html body.fzzw-checkout .fzzw-c-detail tr.fee td .amount,
html body.fzzw-checkout .fzzw-c-detail tr.cart-discount td,
html body.fzzw-checkout .fzzw-c-detail tr.cart-discount td .amount { color: var(--zw-green) !important; }
html body.fzzw-checkout .fzzw-c-detail tr.woocommerce-shipping-totals th,
html body.fzzw-checkout .fzzw-c-detail tr.woocommerce-shipping-totals td { border-top: 1px solid var(--zw-line) !important; border-bottom: 1px solid var(--zw-line) !important; padding: 12px 0 !important; font-size: 13px; }
html body.fzzw-checkout .fzzw-c-detail .fzzw-free { color: var(--zw-green); }
html body.fzzw-checkout .fzzw-c-detail tr.order-total th,
html body.fzzw-checkout .fzzw-c-detail tr.order-total td,
html body.fzzw-checkout .fzzw-c-detail tr.order-total .amount { color: var(--zw-navy) !important; font-size: 16px !important; font-weight: 700 !important; }
html body.fzzw-checkout .fzzw-c-detail .place-order { padding: 4px 0 0 !important; margin: 8px 0 0 !important; border-top: 1px solid var(--zw-line); background: transparent !important; }
html body.fzzw-checkout .fzzw-c-detail .woocommerce-privacy-policy-text p { font-size: 12px; color: var(--zw-mid); margin: 8px 0 !important; }
html body.fzzw-checkout .fzzw-c-detail .woocommerce-terms-and-conditions-wrapper .form-row { margin: 10px 0 12px !important; }
html body.fzzw-checkout .fzzw-c-detail .woocommerce-terms-and-conditions-wrapper a { color: var(--zw-link) !important; font-weight: 600; }
html body.fzzw-checkout .fzzw-c-detail .fzzw-activity td,
html body.fzzw-checkout .fzzw-c-detail tr.fzzv-activity td { font-size: 12px !important; }

/* ---------- 訂單成立頁 ---------- */
html body.fzzw-thanks .woocommerce-order { display: flex; flex-direction: column; gap: 12px; order: 4 !important; }
html body.fzzw-thanks .woocommerce-order > * { background: var(--zw-card); border-radius: var(--zw-radius); box-shadow: 0 1px 3px rgba(17, 24, 39, .06); padding: 14px 16px !important; margin: 0 !important; border: 0 !important; }
html body.fzzw-thanks .woocommerce-order > p:empty { display: none; }
html body.fzzw-thanks .woocommerce-order h2 { font-size: 17px !important; font-weight: 600 !important; color: #3A3F47 !important; }
html body.fzzw-thanks .woocommerce-order ul.order_details { display: flex; flex-direction: column; gap: 6px; list-style: none; padding: 14px 16px !important; }
html body.fzzw-thanks .woocommerce-order ul.order_details li { border: 0 !important; float: none !important; margin: 0 !important; padding: 0 !important; font-size: 13px; }

@media (min-width: 922px) {
	html body.fzzw-flow .entry-content > .woocommerce { max-width: 720px; }
}
