/* 1.0.65zv 前台 */

/* ===== 04 商品卡：名稱細一點小一級、價格大一級、兩者置中並縮小間距 ===== */
html body.fzzv-card.fzzv-card ul.products li.product .woocommerce-loop-product__title,
html body.fzzv-card.fzzv-card ul.products li.product .ast-loop-product__link h2,
html body.fzzv-card.fzzv-card ul.products li.product h2.woocommerce-loop-product__title {
	text-align: center !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.4 !important; margin: 8px 0 2px !important; padding: 0 !important;
}
html body.fzzv-card.fzzv-card ul.products li.product .ast-woo-shop-product-description,
html body.fzzv-card.fzzv-card ul.products li.product .astra-shop-summary-wrap { text-align: center !important; }
html body.fzzv-card.fzzv-card ul.products li.product .fuzzy-c-loop-price,
html body.fzzv-card.fzzv-card ul.products li.product .price {
	justify-content: center !important; text-align: center !important; font-size: 16px !important; line-height: 1.3 !important; margin: 0 0 4px !important; padding: 0 !important;
}
html body.fzzv-card.fzzv-card ul.products li.product .fuzzy-c-loop-price--sale {
	display: flex !important; flex-direction: column !important; align-items: center !important; gap: 1px 0 !important;
}
html body.fzzv-card.fzzv-card ul.products li.product .fuzzy-c-loop-price--sale .fuzzy-c-loop-price__sale { font-size: 16px !important; font-weight: 700; }
html body.fzzv-card.fzzv-card ul.products li.product .fuzzy-c-loop-price--sale .fuzzy-c-loop-price__regular {
	justify-content: center !important; font-size: 13px !important;
}
html body.fzzv-card.fzzv-card ul.products li.product .fuzzy-c-loop-price__was { font-size: 13px !important; }
html body.fzzv-card.fzzv-card ul.products li.product .fuzzy-c-loop-price__regular:only-child,
html body.fzzv-card.fzzv-card ul.products li.product .fuzzy-c-loop-price > .fuzzy-c-loop-price__regular:not(:has(.fuzzy-c-loop-price__was)) { font-size: 16px !important; }

/* ===== 10 圖示縮小 ===== */
html body.fzzv-card .fuzzy-c-loop-wish,
html body.fzzv-card .fuzzy-c-loop-cart,
html body.fzzv-card .fzc-wl-btn--loop {
	width: 30px !important; height: 30px !important; min-width: 30px !important; min-height: 30px !important; max-width: 30px !important; max-height: 30px !important;
}
html body.fzzv-card .fuzzy-c-loop-wish svg,
html body.fzzv-card .fuzzy-c-loop-cart svg,
html body.fzzv-card .fzc-wl-btn--loop svg { width: 15px !important; height: 15px !important; min-width: 15px; min-height: 15px; }
html body.fzzv-card ul.products li.product .fuzzy-c-loop-actions { gap: 6px !important; }
@media (max-width: 768px) {
	html body.fzzv-card .fuzzy-c-loop-wish,
	html body.fzzv-card .fuzzy-c-loop-cart,
	html body.fzzv-card .fzc-wl-btn--loop { width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important; max-width: 28px !important; max-height: 28px !important; }
	html body.fzzv-card .fuzzy-c-loop-wish svg,
	html body.fzzv-card .fuzzy-c-loop-cart svg,
	html body.fzzv-card .fzc-wl-btn--loop svg { width: 14px !important; height: 14px !important; min-width: 14px; min-height: 14px; }
}

/* ===== 06／07／08／10 圖片標籤：左上角、灰底 #d9d9d9、黑框、粗體；不再有自動的特價／預購 ===== */
html body.fzzv-badge .fuzzy-c-promo {
	position: absolute; top: 10px; left: 10px; z-index: 4; display: inline-block; padding: 5px 12px;
	background: #d9d9d9 !important; color: #000 !important; border: 1px solid #000 !important; border-radius: 0 !important;
	font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 0; pointer-events: none; max-width: calc(100% - 20px); white-space: normal;
}
html body.fzzv-badge .fuzzy-c-promo-stack {
	position: absolute; top: 10px; left: 10px; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; max-width: calc(100% - 20px);
}
html body.fzzv-badge .fuzzy-c-promo-stack .fuzzy-c-promo { position: static; max-width: none; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
html body.fzzv-badge ul.products li.product span.onsale,
html body.fzzv-badge ul.products li.product .ast-onsale-card,
html body.fzzv-badge.single-product span.onsale,
html body.fzzv-badge ul.products li.product .fuzzy-c-pre-loop { display: none !important; }

/* ===== 09 單品頁：分類行、標題下小標籤移除；預購方框（標頭「預購商品」＋預計出貨日） ===== */
html body.fzzv-single.single-product .summary .posted_in,
html body.fzzv-single.single-product .summary .ast-woo-product-category,
html body.fzzv-single.single-product .summary .product_meta .posted_in { display: none !important; }
html body.fzzv-single .summary .fuzzy-c-pre-box {
	display: block; margin: 12px 0 14px; padding: 0; border: 1px solid #d9d9d9 !important; border-radius: 2px; background: #fff !important; overflow: hidden; font-size: 13px; color: #111;
}
html body.fzzv-single .summary .fuzzy-c-pre-box .fuzzy-c-pre-badge {
	display: block; margin: 0; padding: 6px 12px; border-radius: 0; background: #e5e5e5 !important; color: #111 !important; font-size: 13px; font-weight: 700;
}
html body.fzzv-single .summary .fuzzy-c-pre-box .fuzzy-c-pre-line { display: block; margin: 0; padding: 8px 12px; border-top: 0; }
html body.fzzv-single .summary .fuzzy-c-pre-box .fuzzy-c-pre-line + .fuzzy-c-pre-line { padding-top: 0; }

/* ===== 14 購物車／結帳：每項商品下的優惠、活動標題、結帳表格 ===== */
.fzzv-line-promo { display: inline-block; font-size: 12px; color: #737373; }
html body.fzzv-promo .woocommerce-checkout-review-order-table { width: 100% !important; table-layout: auto !important; }
html body.fzzv-promo .woocommerce-checkout-review-order-table th.product-name,
html body.fzzv-promo .woocommerce-checkout-review-order-table td.product-name { width: auto !important; min-width: 0 !important; white-space: normal !important; word-break: normal !important; overflow-wrap: break-word; writing-mode: horizontal-tb !important; }
html body.fzzv-promo .woocommerce-checkout-review-order-table th.product-total,
html body.fzzv-promo .woocommerce-checkout-review-order-table td.product-total { width: 1% !important; white-space: nowrap !important; text-align: right; }
html body.fzzv-promo .woocommerce-checkout-review-order-table .fzzv-rv-line { display: inline; }
html body.fzzv-promo .woocommerce-checkout-review-order-table .fzzv-rv-thumb { float: left; width: 56px; margin: 0 12px 6px 0; }
html body.fzzv-promo .woocommerce-checkout-review-order-table .fzzv-rv-thumb img { display: block; width: 56px !important; height: auto !important; max-width: none; border-radius: 2px; }
html body.fzzv-promo .woocommerce-checkout-review-order-table td.product-name::after { content: ""; display: block; clear: both; }
html body.fzzv-promo .woocommerce-checkout-review-order-table .fzzv-rv-name { line-height: 1.5; }
html body.fzzv-promo .woocommerce-checkout-review-order-table .fzzv-rv-name dl.variation { margin: 4px 0 0; font-size: 12px; color: #737373; }
html body.fzzv-promo .woocommerce-checkout-review-order-table .fzzv-rv-name dl.variation dt,
html body.fzzv-promo .woocommerce-checkout-review-order-table .fzzv-rv-name dl.variation dd { display: inline; margin: 0; float: none; }
html body.fzzv-promo .woocommerce-checkout-review-order-table .fzzv-rv-name dl.variation dd p { display: inline; margin: 0; }
html body.fzzv-promo .woocommerce-checkout-review-order-table .product-quantity { font-weight: 400; }
.fzzv-activity td { text-align: left !important; padding: 10px 12px !important; background: #f6f6f6; font-size: 13px; color: #111; }
.fzzv-activity__t { display: inline-block; margin-right: 10px; padding: 1px 8px; background: #111; color: #fff; font-size: 12px; font-weight: 700; }
.fzzv-activity__v i { font-style: normal; color: #999; margin: 0 4px; }
.fzzv-activity__v b { font-weight: 700; margin-left: 4px; }
.fzzv-order-promos { margin: 16px 0; padding: 12px 14px; border: 1px solid #e5e5e5; border-radius: 2px; }
.fzzv-order-promos h3 { margin: 0 0 8px; font-size: 14px; }
.fzzv-order-promos ul { margin: 0; padding: 0; list-style: none; }
.fzzv-order-promos li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; color: #404040; }
.fzzv-order-promos li b { font-weight: 700; color: #111; }

/* ===== 16 步驟列：購物車 » 填寫資料 » 成立訂單 ===== */
html body.fzzv-promo .fuzzy-c-steps__item + .fuzzy-c-steps__item::before { content: "»"; }

/* ===== 15 購物車抽屜：不再內部捲動（整個抽屜捲動）、刪除鈕縮小移到旁邊 ===== */
html body.fzzv-drawer .fz65-drawer__panel { overflow-y: auto; overscroll-behavior: contain; }
html body.fzzv-drawer .fz65-drawer__head { position: sticky; top: 0; z-index: 3; background: #fff; }
html body.fzzv-drawer .fz65-drawer__body { display: block !important; flex: 0 0 auto !important; min-height: 0; overflow: visible !important; }
html body.fzzv-drawer .fz65-drawer__body .woocommerce-mini-cart,
html body.fzzv-drawer .astra-cart-drawer .woocommerce-mini-cart,
html body.fzzv-drawer .widget_shopping_cart_content ul.cart_list { flex: none !important; overflow: visible !important; max-height: none !important; height: auto !important; }
html body.fzzv-drawer .fz65-drawer__body .woocommerce-mini-cart-item { padding: 12px 40px 12px 76px !important; }
html body.fzzv-drawer .fz65-drawer__body .woocommerce-mini-cart-item a.remove,
html body.fzzv-drawer .astra-cart-drawer .woocommerce-mini-cart-item a.remove,
html body.fzzv-drawer .widget_shopping_cart_content a.remove {
	position: absolute !important; right: 4px !important; left: auto !important; top: 10px !important; width: 20px !important; height: 20px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
	font-size: 14px !important; line-height: 18px !important; text-align: center; border-radius: 50% !important; border: 1px solid #d9d9d9 !important; background: #fff !important; color: #737373 !important; opacity: 1;
}
html body.fzzv-drawer .fz65-drawer__body .woocommerce-mini-cart-item .fzzv-line-promo { display: block; margin-top: 2px; }
html body.fzzv-promo .woocommerce-checkout-review-order-table td.product-name .product-quantity { display: inline !important; float: none !important; padding: 0 !important; margin: 0 0 0 4px !important; font-size: 13px; color: #737373; }
html body.fzzv-promo .woocommerce-checkout-review-order-table td.product-name dl.variation { clear: none; }
