/*
 * 手機小字與小按鈕（2026-10-21 老闆核准，範本：桌面垃圾袋「i-go 手機小字與小按鈕」）
 *
 * 標準：字至少 12px；能點的東西至少 44×44（Apple 建議，約一根手指寬）。
 * 按鈕的做法是加一圈「看不見的可點範圍」（::after），外觀不變、版面不動。
 */
@media (max-width: 767px) {
	/* ---------- 字至少 12px ---------- */
	.ccw-card__brand,
	.ccw-badge,
	.ccw-price__save,
	.ccw-promobar__in span,
	.igft-mail__txt small,
	.cwp-badge,
	.cwp-member__label,
	.cwp-addon__price s,
	.cwp-rv__source,
	.gm-dists small,
	.gm-dists button,
	.hn-card__brand,
	.hn-tag {
		font-size: 12px !important;
	}

	/* ---------- 可點範圍放大（外觀不變） ---------- */

	/* 商品卡「快速看看」：高 21 → 可點高度 44 */
	.ccw-link {
		position: relative;
	}
	.ccw-link::after {
		content: "";
		position: absolute;
		top: 50%;
		left: -4px;
		right: -4px;
		height: 44px;
		transform: translateY(-50%);
	}

	/* 商品卡愛心：32 → 44 */
	.ccw-heart {
		position: relative;
	}
	.ccw-heart::after {
		content: "";
		position: absolute;
		inset: -6px;
		border-radius: 50%;
	}

	/* 商品名稱：上下多一點，不容易點到隔壁 */
	.ccw-card__title a {
		display: inline-block;
		padding: 4px 0;
		margin: -4px 0;
	}

	/* 首頁生活精選照片上的商品圓點：17 → 45 */
	.lr-dot::after {
		content: "";
		position: absolute;
		inset: -14px;
		border-radius: 50%;
	}

	/* 品牌頁輪播小圓點：9 → 約 37 */
	.bp-hero__dots button {
		position: relative;
	}
	.bp-hero__dots button::after {
		content: "";
		position: absolute;
		inset: -14px -6px;
	}

	/* 頁尾社群圖示：40 → 44 */
	.igft-soc a {
		width: 44px;
		height: 44px;
	}

	/* 商品頁數量 ＋／－：29×36 → 40×44 */
	.quantity .minus,
	.quantity .plus {
		min-width: 40px;
		min-height: 44px;
	}
}

/*
 * 手機輸入框至少 16px（2026-11-25）：iPhone Safari 遇到 16px 以下的輸入框，一點進去就把整頁放大，
 * 結帳、登入、保固表單都會跳一下，填完還要自己縮回來。
 */
@media (max-width: 767px) {
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="password"],
	input[type="search"],
	input[type="date"],
	select,
	textarea {
		font-size: 16px;
	}
}

/* 2026-12-02 老闆：手機版不要最上面那條紅字公告（滿額免運／總代理／7 天鑑賞期）；電腦版照舊 */
@media (max-width: 767px) {
	.ccw-promobar { display: none !important; }
}

/* 2026-12-02 老闆：手機品牌頁捲動時「全系列」置頂欄、meoof「走進 meoof 的家」照片會抖。
   原因：主題置頂列設成「往下捲藏起來、往上捲滑出來」，手指上下一點點它就一直進出，
   品牌頁釘住的東西跟著它上下跳 50px。品牌頁手機版改成置頂列釘住後就一直顯示，釘住的東西位置就固定了。 */
@media (max-width: 767px) {
	body.tax-product_brand .whb-scroll-slide.whb-hide-on-scroll.whb-sticked .whb-main-header {
		transform: none !important;
		transition: none !important;
	}
}
