/* 1.0.66a p66a_cart14：購物車頁依前台規格第 14 章（購物車上半＋優惠券卡片） */
html body.fz66a-cart14 {
	--c14-bg: #F7F8FC; --c14-ink: #232428; --c14-h: #45474E; --c14-mid: #787B86; --c14-old: #C3C4CC; --c14-var: #46494F;
	--c14-line: #F0F1F5; --c14-blue: #2F3E78; --c14-org: #D6973A; --c14-green: #5A9E80; --c14-green-bg: #EDFAF1;
	background: var(--c14-bg) !important;
}
html body.fz66a-cart14 #content, html body.fz66a-cart14 .site-content, html body.fz66a-cart14 .ast-container, html body.fz66a-cart14 #primary, html body.fz66a-cart14 .ast-article-single, html body.fz66a-cart14 article { background: transparent !important; }
html body.fz66a-cart14 .entry-content > .woocommerce { color: var(--c14-ink); }

/* 步驟列：購物車 » 填寫資料 » 成立訂單 */
html body.fz66a-cart14 .fuzzy-c-steps__item { font-size: 13px !important; color: #B1B5BF !important; font-weight: 500 !important; letter-spacing: .02em; }
html body.fz66a-cart14 .fuzzy-c-steps__item.is-current { color: var(--c14-ink) !important; font-weight: 700 !important; }
html body.fz66a-cart14 .fuzzy-c-steps__item + .fuzzy-c-steps__item::before { content: "»" !important; margin: 0 12px !important; font-size: 18px !important; font-weight: 700; color: var(--c14-ink) !important; position: relative; top: -1px; }
html body.fz66a-cart14 .fuzzy-c-steps__item:last-child::before { color: #B1B5BF !important; }

/* 卡片 */
html body.fz66a-cart14 .fzzw-card, html body.fz66a-cart14 .fzzw-greet { border-radius: 10px !important; box-shadow: 0 1px 4px rgba(20, 24, 40, .06) !important; background: #fff !important; }
html body.fz66a-cart14 .fzzw-card__head { padding: 16px !important; min-height: 54px; border-bottom: 1px solid var(--c14-line) !important; }
html body.fz66a-cart14 .fzzw-card__title { font-size: 18px !important; font-weight: 500 !important; color: var(--c14-h) !important; line-height: 1.3 !important; margin: 0 !important; }
html body.fz66a-cart14 .fzzw-card__body { padding: 14px 16px 0 !important; }

/* 會員問候列 */
html body.fz66a-cart14 .fzzw-greet { padding: 0 16px !important; min-height: 56px; font-size: 15px !important; color: var(--c14-ink) !important; gap: 10px !important; }
html body.fz66a-cart14 .fzzw-greet__ico { color: #212429 !important; }
html body.fz66a-cart14 .fzzw-greet__ico svg { width: 22px; height: 22px; }
html body.fz66a-cart14 .fzzw-greet__name { color: var(--c14-blue) !important; font-weight: 400 !important; }

/* 購物車標題列：購物車 ( 1 件) ＋ 分享／收合 */
html body.fz66a-cart14 .fzzw-cartcard .fzzw-count { font-size: 18px !important; font-weight: 400 !important; color: var(--c14-h) !important; }
html body.fz66a-cart14 .fzzw-cartcard .fzzw-count b { color: var(--c14-blue) !important; font-weight: 600 !important; }
html body.fz66a-cart14 .fzzw-cartcard .fzzw-card__right { display: inline-flex !important; align-items: center; gap: 14px; }
html body.fz66a-cart14 .fz66c-ic { all: unset; display: inline-flex !important; align-items: center; justify-content: center; width: 26px; height: 26px; color: #4C4E55; cursor: pointer; }
html body.fz66a-cart14 .fz66c-ic:focus-visible { outline: 2px solid var(--c14-blue); outline-offset: 2px; border-radius: 4px; }
html body.fz66a-cart14 .fz66c-fold i { position: relative; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px; }
html body.fz66a-cart14 .fzzw-cartcard.is-fold .fz66c-fold i::after { content: ""; position: absolute; left: 10px; top: -10px; width: 2px; height: 22px; background: currentColor; border-radius: 1px; }
html body.fz66a-cart14 .fzzw-cartcard.is-fold > .fzzw-card__body { display: none !important; }
html body.fz66a-cart14 .fzzw-cartcard.is-fold > .fzzw-card__head { border-bottom: 0 !important; }

/* 免運條 */
html body.fz66a-cart14 .fz66c-ship { margin: 0 0 4px !important; padding: 13px 12px 12px !important; border: 0 !important; border-radius: 4px !important; background: #FEFAF1 !important; }
html body.fz66a-cart14 .fz66c-ship__t { margin: 0 !important; font-size: 15px !important; line-height: 1.4; font-weight: 600 !important; color: var(--c14-ink) !important; }
html body.fz66a-cart14 .fz66c-ship__t em { font-style: normal; color: var(--c14-org) !important; font-weight: 600; }
html body.fz66a-cart14 .fz66c-ship__bar { position: relative; height: 5px; margin: 12px 22px 12px 0; border-radius: 3px; background: #ECEEF3; }
html body.fz66a-cart14 .fz66c-ship__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, #C98A2B, #ECC67C); }
html body.fz66a-cart14 .fz66c-ship__truck { position: absolute; top: 50%; transform: translate(-2px, -50%); color: #E09A2A; line-height: 0; }
html body.fz66a-cart14 .fz66c-ship__truck svg { width: 22px; height: 14px; display: block; }
html body.fz66a-cart14 .fz66c-ship__rule { margin: 0 !important; font-size: 13px !important; line-height: 1.4; color: #797A82 !important; font-weight: 500; }

/* 商品卡片 */
html body.fz66a-cart14 table.cart tr.cart_item { grid-template-columns: 76px minmax(0, 1fr) auto 20px !important; grid-template-areas: "img name name del" "qty qty sub sub" !important; column-gap: 9px !important; row-gap: 12px !important; padding: 6px 0 16px !important; border-bottom: 0 !important; }
html body.fz66a-cart14 table.cart tr.cart_item + tr.cart_item { border-top: 1px solid var(--c14-line) !important; }
html body.fz66a-cart14 .woocommerce table.shop_table.cart tr.cart_item td.product-price { display: none !important; grid-area: auto !important; }
html body.fz66a-cart14 .fz65v-recs__list { position: relative !important; }
html body.fz66a-cart14 .fzzw-cartcard .woocommerce-Price-currencySymbol, html body.fz66a-cart14 .fzzw-couponcard .woocommerce-Price-currencySymbol { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; vertical-align: baseline !important; }
html body.fz66a-cart14 table.cart td.product-thumbnail { align-self: start; padding: 0 !important; margin-left: -4px !important; }
html body.fz66a-cart14 table.cart td.product-thumbnail img { width: 76px !important; height: 76px !important; max-width: none !important; object-fit: cover; border-radius: 0 !important; margin: 8px 0 0 !important; }
html body.fz66a-cart14 table.cart td.product-name { padding: 0 !important; line-height: 1.25 !important; }
html body.fz66a-cart14 table.cart td.product-name .fz66c-title { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--c14-ink) !important; text-decoration: none !important; word-break: break-all; }
html body.fz66a-cart14 .fz66c-price { margin: 8px 0 0; line-height: 1.2; }
html body.fz66a-cart14 .fz66c-price__now, html body.fz66a-cart14 .fz66c-price__now .amount { display: block; font-size: 16px !important; color: var(--c14-mid) !important; font-weight: 400 !important; }
html body.fz66a-cart14 .fz66c-price__reg { display: block; margin-top: 4px; font-size: 14px !important; color: var(--c14-old) !important; text-decoration: line-through; }
html body.fz66a-cart14 .fz66c-price__reg .amount { color: var(--c14-old) !important; }
html body.fz66a-cart14 .fz66c-var { margin-top: 8px; font-size: 15px; line-height: 1.3; color: var(--c14-var); }
html body.fz66a-cart14 table.cart td.product-name dl.variation { display: none !important; }
html body.fz66a-cart14 table.cart td.product-remove { padding: 0 !important; align-self: start; }
html body.fz66a-cart14 table.cart td.product-remove a.remove.fz66c-trash { display: inline-flex !important; align-items: center; justify-content: center; width: 20px !important; height: 24px !important; line-height: 1 !important; color: #C7C7CD !important; border: 0 !important; outline: 0; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
html body.fz66a-cart14 table.cart td.product-remove a.remove.fz66c-trash:hover { color: #8A8C94 !important; }
html body.fz66a-cart14 table.cart td.product-remove a.remove.fz66c-trash svg { width: 21px !important; height: 21px !important; }
html body.fz66a-cart14 table.cart td.product-quantity { grid-area: qty; align-self: end; margin: 0 !important; padding: 0 !important; width: auto !important; min-width: 0; }
html body.fz66a-cart14 table.cart td.product-subtotal { grid-area: sub; align-self: end; padding: 0 !important; text-align: right !important; line-height: 1.2; }
html body.fz66a-cart14 table.cart td.product-subtotal::before { content: none !important; display: none !important; }
html body.fz66a-cart14 .fz66c-sublbl { display: block; font-size: 13px; font-weight: 400; color: #46484E; margin: 0 0 6px; }
html body.fz66a-cart14 .fz66c-subamt, html body.fz66a-cart14 .fz66c-subamt .amount { font-size: 21px !important; font-weight: 600 !important; color: var(--c14-ink) !important; }

/* 數量加減（購物車頁照規格：39｜53｜39，高 36） */
html body.fz66a-cart14 table.cart .fz66-qty { height: 36px !important; width: max-content !important; max-width: none !important; border-color: #D7D8DC !important; border-radius: 4px !important; }
html body.fz66a-cart14 table.cart .fz66-qty .fz66-qty__btn { flex-basis: 39px !important; width: 39px !important; min-width: 39px !important; max-width: 39px !important; font-size: 22px !important; font-weight: 300 !important; color: #2C2C2E !important; }
html body.fz66a-cart14 table.cart .fz66-qty input.qty { flex-basis: 53px !important; width: 53px !important; max-width: 53px !important; font-size: 17px !important; color: var(--c14-ink) !important; border-color: #D7D8DC !important; }

/* 優惠折扣／購物車小計 */
html body.fz66a-cart14 .fz66c-sum { margin: 0 -16px; padding: 18px 16px 16px; border-top: 1px solid var(--c14-line); border-bottom: 1px solid var(--c14-line); }
html body.fz66a-cart14 .fz66c-sum__row { display: flex; align-items: baseline; justify-content: space-between; margin: 0 !important; line-height: 1.3; }
html body.fz66a-cart14 .fz66c-sum__row + .fz66c-sum__row { margin-top: 14px !important; }
html body.fz66a-cart14 .fz66c-sum__disc span { font-size: 15px; font-weight: 500; color: var(--c14-ink); }
html body.fz66a-cart14 .fz66c-sum__disc b, html body.fz66a-cart14 .fz66c-sum__disc b .amount { font-size: 16px !important; font-weight: 500 !important; color: var(--c14-green) !important; }
html body.fz66a-cart14 .fz66c-sum__sub span { font-size: 16px; font-weight: 700; color: var(--c14-ink); }
html body.fz66a-cart14 .fz66c-sum__sub b, html body.fz66a-cart14 .fz66c-sum__sub b .amount { font-size: 21px !important; font-weight: 600 !important; color: var(--c14-ink) !important; }

/* 優惠：綠色「✓ 已達優惠」＋展開 */
html body.fz66a-cart14 .fz66c-promo { margin: 0 -16px; }
html body.fz66a-cart14 .fz66c-promo__h { margin: 0 !important; padding: 18px 16px 17px; font-size: 18px; font-weight: 500; color: var(--c14-h); border-bottom: 1px solid var(--c14-line); }
html body.fz66a-cart14 .fz66c-promo__b { padding: 12px 16px 14px; }
html body.fz66a-cart14 .fz66c-promo__tg { all: unset; display: inline-flex !important; align-items: center; gap: 12px; cursor: pointer; }
html body.fz66a-cart14 .fz66c-promo__tg:focus-visible { outline: 2px solid var(--c14-blue); outline-offset: 2px; border-radius: 14px; }
html body.fz66a-cart14 .fz66c-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 6px; border-radius: 13px; background: var(--c14-green-bg); font-size: 14px; font-weight: 600; color: #202525; }
html body.fz66a-cart14 .fz66c-pill i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #5DA88A; flex: 0 0 14px; }
html body.fz66a-cart14 .fz66c-pill i::after { content: ""; position: absolute; left: 4.5px; top: 2.5px; width: 3.5px; height: 6.5px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
html body.fz66a-cart14 .fz66c-chev { width: 7px; height: 7px; border: solid #2A2B2E; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
html body.fz66a-cart14 .fz66c-promo__tg[aria-expanded="true"] .fz66c-chev { transform: translateY(2px) rotate(-135deg); }
html body.fz66a-cart14 .fz66c-promo__list { list-style: none; margin: 12px 0 0 !important; padding: 0 !important; }
html body.fz66a-cart14 .fz66c-promo__list[hidden] { display: none !important; }
html body.fz66a-cart14 .fz66c-promo__list li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 14px; color: var(--c14-var); }
html body.fz66a-cart14 .fz66c-promo__list b, html body.fz66a-cart14 .fz66c-promo__list b .amount { color: var(--c14-green) !important; font-weight: 500; }
html body.fz66a-cart14 .fzzw-cartcard .fuzzy-c-savings { display: none !important; }

/* 優惠券及優惠碼：「選擇優惠券 ⌄」放在卡片內、有內距 */
html body.fz66a-cart14 .fzzw-couponcard { border-radius: 10px !important; padding-bottom: 0 !important; overflow: visible !important; }
html body.fz66a-cart14 .fzzw-couponcard .fzzw-card__body { padding: 14px 16px 16px !important; }
html body.fz66a-cart14 .fzzw-couponcard .fz66c-pick { display: block !important; order: initial !important; position: static !important; margin: 12px 0 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; width: auto !important; }
html body.fz66a-cart14 .fz66c-pick .fz65w-pick__btn { all: unset; display: inline-flex !important; align-items: center; gap: 8px; padding: 2px 0 !important; margin: 0 !important; width: auto !important; min-height: 0 !important; font-size: 15px !important; font-weight: 600 !important; color: var(--c14-blue) !important; cursor: pointer; }
html body.fz66a-cart14 .fz66c-pick .fz65w-pick__btn i { display: inline-block !important; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); background: none !important; }
html body.fz66a-cart14 .fz66c-pick .fz65w-pick__btn[aria-expanded="true"] i { transform: translateY(2px) rotate(-135deg); }
html body.fz66a-cart14 .fz66c-pick .fz65w-pick__panel { margin-top: 10px; }

.fz66c-toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 100000; background: rgba(17, 24, 39, .88); color: #fff; padding: 8px 14px; border-radius: 6px; font-size: 14px; }

/* 桌機：圖片略大 */
@media (min-width: 922px) {
	html body.fz66a-cart14 table.cart tr.cart_item { grid-template-columns: 96px minmax(0, 1fr) auto 24px !important; }
	html body.fz66a-cart14 table.cart td.product-thumbnail img { width: 96px !important; height: 96px !important; }
}

/* 版面外距：卡片左右 8px（規格），頁首與步驟列距離縮小 */
@media (max-width: 921px) {
	html body.fz66a-cart14 #content > .ast-container { padding-left: 8px !important; padding-right: 8px !important; }
}
html body.fz66a-cart14 .entry-content > .woocommerce.fzzx-root { padding-top: 0 !important; }
html body.fz66a-cart14 table.cart td.product-remove a.fz66c-trash::before, html body.fz66a-cart14 table.cart td.product-remove a.fz66c-trash::after { content: none !important; display: none !important; border: 0 !important; }
html body.fz66a-cart14 .fzzw-top { margin-top: -26px !important; margin-bottom: -4px !important; }
