/**
 * 首頁互動積木的樣式
 *
 * 給 home-blocks.php 那幾個短代碼用：幫我挑一台、找濾芯、機型比一比、它怎麼運作。
 * 積木外面都包一層 .igo-hb，顏色變數掛在那上面，所以插進 Elementor 頁面裡
 * 不會影響頁面其他區塊。
 *
 * 照 igo-design 的活潑版：白底卡片 ＋ 1px 淺灰框 ＋ 彩色實心圖示徽章 ＋ 粗黑體。
 * 顏色從圖示來，不從大色塊背景來。紅色只給主要按鈕。
 */

.igo-hb {
	/* 中性 */
	--hn-canvas:  #F7F7F8;
	--hn-surface: #FFFFFF;
	--hn-line:    #E5E5E7;
	--hn-ink:     #1F1F22;
	--hn-ink-2:   #4B4B52;
	--hn-muted:   #85858E;

	/* 品牌（只給主要按鈕） */
	--hn-brand:      #B81820;
	--hn-brand-deep: #8E1319;

	/* 圖示徽章：主色 ＋ 徽章底色，成對使用 */
	--hn-amber: #E8A317;  --hn-amber-bg: #FDF3DE;
	--hn-rose:  #E0577A;  --hn-rose-bg:  #FDECF1;
	--hn-green: #3FA35C;  --hn-green-bg: #E8F5EC;
	--hn-blue:  #3F8BD6;  --hn-blue-bg:  #E9F1FB;
	--hn-grey-bg: #F0F0F2;

	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	color: var(--hn-ink);
	font-size: 15px;
	line-height: 1.75;
	text-align: left;
}

.igo-hb *,
.igo-hb *::before,
.igo-hb *::after {
	box-sizing: border-box;
}

/* Elementor 頁面上，短代碼外面那層容器有時會置中或撐不開 */
.elementor-widget-shortcode .igo-hb {
	width: 100%;
}

/* ------------------------------------------------------------------
 * 共用零件
 * ------------------------------------------------------------------ */

/* 圖示徽章 —— 外層一定要 display:block，
   不然 inline 的 span 吃不到寬高，裡面的 svg 會撐滿整欄。 */
.hn-ico {
	display: block;
	flex: none;
	width: 40px;
	height: 40px;
	padding: 8px;
	border-radius: 12px;
	background: var(--hn-grey-bg);
	color: var(--hn-ink-2);
}

.hn-ico svg {
	display: block;
	width: 100%;
	height: 100%;
}

.hn-ico.is-amber { background: var(--hn-amber-bg); color: var(--hn-amber); }
.hn-ico.is-rose  { background: var(--hn-rose-bg);  color: var(--hn-rose); }
.hn-ico.is-green { background: var(--hn-green-bg); color: var(--hn-green); }
.hn-ico.is-blue  { background: var(--hn-blue-bg);  color: var(--hn-blue); }

.hn-head {
	margin-bottom: 24px;
}

.hn-head__ico {
	margin-bottom: 12px;
}

.hn-h2 {
	margin: 0;
	font-size: clamp(21px, 2vw, 27px);
	font-weight: 900;
	line-height: 1.4;
	color: var(--hn-ink);
}

.hn-sub {
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--hn-muted);
	line-height: 1.75;
}

.hn-body {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.9;
	color: var(--hn-ink-2);
	max-width: 34em;
}

.hn-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

/* 主按鈕：下緣實心陰影，按下去會沉 */
.hn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--hn-brand);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 3px 0 var(--hn-brand-deep);
	transition: transform .08s ease, box-shadow .08s ease;
	cursor: pointer;
}

.hn-btn:hover { color: #fff !important; }

.hn-btn:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 var(--hn-brand-deep);
}

.hn-btn.is-ghost {
	background: var(--hn-surface);
	color: var(--hn-ink) !important;
	border: 1px solid var(--hn-line);
	box-shadow: 0 3px 0 var(--hn-line);
}

.hn-link {
	font-size: 14px;
	font-weight: 700;
	color: var(--hn-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--hn-line);
	padding-bottom: 2px;
}

.hn-link:hover {
	color: var(--hn-ink);
	border-color: var(--hn-ink);
}

/* ------------------------------------------------------------------
 * 商品卡與格子
 * ------------------------------------------------------------------ */

.hn-pills {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.hn-pills button {
	min-height: 0;
	padding: 9px 20px;
	border: 1px solid var(--hn-line);
	border-radius: 999px;
	background: var(--hn-surface);
	color: var(--hn-ink);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.hn-pills button.is-on {
	background: var(--hn-ink);
	border-color: var(--hn-ink);
	color: #fff;
}

.hn-grid {
	display: none;
	gap: 16px;
}

.hn-grid.is-on {
	display: grid;
}

.hn-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hn-card {
	display: flex;
	flex-direction: column;
	background: var(--hn-surface);
	border: 1px solid var(--hn-line);
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow .18s ease, transform .18s ease;
}

.hn-card:hover {
	box-shadow: 0 6px 18px rgba(31, 31, 34, .08);
	transform: translateY(-2px);
}

.hn-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	padding: 14px;
	background: var(--hn-surface);
}

.hn-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hn-card__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover; /* 塞滿首圖格子，不留黑邊 */
}

.hn-card.is-soldout .hn-card__media {
	opacity: .55;
}

.hn-tag {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	border-radius: 10px;
	padding: 3px 9px;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.6;
}

.hn-tag.is-rose { background: var(--hn-rose-bg); color: #A82748; }
.hn-tag.is-grey { background: var(--hn-grey-bg); color: var(--hn-muted); }

.hn-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 12px 14px 14px;
	border-top: 1px solid var(--hn-line);
}

.hn-card__brand {
	font-size: 11px;
	letter-spacing: .1em;
	color: var(--hn-muted);
	line-height: 1.6;
}

.hn-card__name {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.55;
	color: var(--hn-ink);
	text-decoration: none;
	margin-top: 2px;
}

.hn-card__name:hover {
	color: var(--hn-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hn-card__one {
	font-size: 12.5px;
	color: var(--hn-muted);
	line-height: 1.65;
	margin-top: 4px;
}

.hn-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
}

.hn-card__price {
	font-size: 15px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	color: var(--hn-ink);
}

.hn-card__price s {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--hn-muted);
}

.hn-quick {
	min-height: 0;
	padding: 7px 13px;
	border: 1px solid var(--hn-line);
	border-radius: 999px;
	background: var(--hn-surface);
	color: var(--hn-ink);
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}

.hn-quick:hover {
	background: var(--hn-ink);
	border-color: var(--hn-ink);
	color: #fff;
}

/* ------------------------------------------------------------------
 * 幫我挑一台
 * ------------------------------------------------------------------ */

.hn-quiz__box {
	display: grid;
	grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
	gap: 20px;
	background: var(--hn-surface);
	border: 1px solid var(--hn-line);
	border-radius: 14px;
	padding: 22px;
}

.hn-q + .hn-q {
	margin-top: 18px;
}

.hn-q__label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--hn-ink);
}

.hn-q__label b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-right: 6px;
	border-radius: 999px;
	background: var(--hn-amber-bg);
	color: var(--hn-amber);
	font-size: 12px;
}

.hn-q__opts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hn-q__opts button {
	min-height: 0;
	padding: 9px 16px;
	border: 1px solid var(--hn-line);
	border-radius: 999px;
	background: var(--hn-surface);
	color: var(--hn-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}

.hn-q__opts button:hover {
	border-color: var(--hn-ink-2);
}

.hn-q__opts button.is-on {
	background: var(--hn-ink);
	border-color: var(--hn-ink);
	color: #fff;
	font-weight: 700;
}

/* 主題把 [hidden] 的預設值蓋掉了，要自己壓回來，
   不然「重新挑一次」還沒選就先出現 */
.hn-quiz__reset[hidden] {
	display: none;
}

.hn-quiz__reset {
	margin-top: 18px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--hn-muted);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.hn-quiz__out {
	background: var(--hn-canvas);
	border-radius: 12px;
	padding: 18px;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hn-quiz__hint {
	margin: 0;
	color: var(--hn-muted);
	font-size: 14px;
	text-align: center;
}

.hn-quiz__lead {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
}

.hn-rec__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.hn-rec {
	position: relative;
	display: block;
	background: var(--hn-surface);
	border: 1px solid var(--hn-line);
	border-radius: 12px;
	padding: 12px;
	text-decoration: none;
	color: inherit;
}

.hn-rec.is-best {
	border-color: var(--hn-amber);
	background: #FFFDF7;
}

.hn-rec__flag {
	position: absolute;
	top: -9px;
	left: 12px;
	background: var(--hn-amber);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 10px;
	padding: 2px 8px;
}

.hn-rec__img {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--hn-surface);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 10px;
}

.hn-rec__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hn-rec__brand {
	display: block;
	font-size: 11px;
	color: var(--hn-muted);
	letter-spacing: .08em;
}

.hn-rec__name {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	margin-top: 2px;
	color: var(--hn-ink);
}

.hn-rec__why {
	display: block;
	font-size: 12.5px;
	color: var(--hn-ink-2);
	line-height: 1.6;
	margin-top: 4px;
}

.hn-rec__price {
	display: block;
	font-size: 15px;
	font-weight: 900;
	margin-top: 8px;
	font-variant-numeric: tabular-nums;
	color: var(--hn-ink);
}

/* ------------------------------------------------------------------
 * 它是怎麼幫你顧的
 * ------------------------------------------------------------------ */

.hn-how__tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.hn-how__tabs button {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 0;
	padding: 10px 18px 10px 10px;
	border: 1px solid var(--hn-line);
	border-radius: 999px;
	background: var(--hn-surface);
	color: var(--hn-ink);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.hn-how__tabs button.is-on {
	border-color: var(--hn-ink);
	box-shadow: 0 2px 0 var(--hn-line);
}

.hn-how__panel {
	display: none;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 48px);
	align-items: center;
}

.hn-how__panel.is-on {
	display: grid;
}

.hn-how__media {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: var(--hn-grey-bg);
	aspect-ratio: 4 / 3;
}

.hn-how__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ⚠️ 示範短片只有 232px 寬，整格鋪滿會糊，所以放中間、限制寬度 */
.hn-how__media video {
	position: absolute;
	inset: 0;
	width: auto;
	max-width: min(300px, 70%);
	height: auto;
	margin: auto;
	object-fit: contain;
	background: #000;
	border-radius: 10px;
	opacity: 0;
	transition: opacity .25s ease;
}

.hn-how__media.is-playing video {
	opacity: 1;
}

.hn-how__play {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	background: rgba(31, 31, 34, .82);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	border-radius: 999px;
	padding: 7px 16px;
	cursor: pointer;
}

.hn-how__media.is-playing .hn-how__play {
	display: none;
}

.hn-how__title {
	margin: 0;
	font-size: clamp(19px, 2vw, 25px);
	font-weight: 900;
	line-height: 1.45;
	color: var(--hn-ink);
}

.hn-how__lead {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.9;
	color: var(--hn-ink-2);
}

.hn-how__list {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.hn-how__list li {
	position: relative;
	padding-left: 26px;
	font-size: 14.5px;
	line-height: 1.8;
	margin-top: 6px;
	color: var(--hn-ink);
}

.hn-how__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: var(--hn-green-bg);
	box-shadow: inset 0 0 0 4px var(--hn-green);
}

/* ------------------------------------------------------------------
 * 找濾芯
 * ------------------------------------------------------------------ */

.hn-fits__pick {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.hn-fits__pick label {
	font-size: 15px;
	font-weight: 700;
	color: var(--hn-ink);
}

.hn-fits__pick select {
	height: 46px;
	min-width: 260px;
	max-width: 100%;
	padding: 0 40px 0 16px;
	border: 1px solid var(--hn-line);
	border-radius: 999px;
	background: var(--hn-surface);
	color: var(--hn-ink);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

/* ------------------------------------------------------------------
 * 機型比一比
 * ------------------------------------------------------------------ */

.hn-cmp__scroll {
	overflow-x: auto;
	border: 1px solid var(--hn-line);
	border-radius: 14px;
	background: var(--hn-surface);
}

.hn-cmp__table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 14px;
	margin: 0;
}

.hn-cmp__table th,
.hn-cmp__table td {
	padding: 12px 14px;
	text-align: center;
	border-bottom: 1px solid var(--hn-line);
	vertical-align: middle;
	color: var(--hn-ink);
}

.hn-cmp__table thead th {
	vertical-align: top;
	padding-top: 18px;
}

.hn-cmp__table tbody th {
	text-align: left;
	font-weight: 700;
	color: var(--hn-ink-2);
	background: var(--hn-canvas);
	white-space: nowrap;
}

.hn-cmp__table thead a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.hn-cmp__table thead img {
	display: block;
	width: 110px;
	height: 110px;
	object-fit: contain;
	margin: 0 auto 6px;
}

.hn-cmp__name {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.5;
}

.hn-cmp__price {
	display: block;
	font-size: 15px;
	font-weight: 900;
	margin: 6px 0 8px;
	font-variant-numeric: tabular-nums;
}

.hn-cmp__table td.is-yes {
	color: #2C7B45;
	font-weight: 700;
}

.hn-cmp__table td.is-no {
	color: var(--hn-muted);
}

/* ------------------------------------------------------------------
 * 平板
 * ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.hn-grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hn-quiz__box {
		grid-template-columns: 1fr;
	}

	.hn-how__panel.is-on {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------------
 * 手機
 * ------------------------------------------------------------------ */

@media (max-width: 767px) {
	.hn-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.hn-rec__list {
		grid-template-columns: 1fr;
	}

	.hn-quiz__box {
		padding: 16px;
	}

	.hn-quiz__out {
		padding: 14px;
		min-height: 0;
	}

	.hn-card__body {
		padding: 10px 12px 12px;
	}

	.hn-card__foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.hn-fits__pick select {
		width: 100%;
		min-width: 0;
	}

	.hn-head {
		margin-bottom: 18px;
	}
}

/* 新版分類頁（Caraway 式）—— 只吃 body.igo-ccw */

.igo-ccw {
	--igo-canvas: #F7F7F8;
	--igo-surface: #FFFFFF;
	--igo-line: #E5E5E7;
	--igo-ink: #1F1F22;
	--igo-ink-2: #4B4B52;
	--igo-muted: #85858E;
	--igo-brand: #B81820;
	--igo-brand-deep: #8E1319;
	--igo-amber: #E8A317; --igo-amber-bg: #FDF3DE;
	--igo-rose: #E0577A;  --igo-rose-bg: #FDECF1;
	--igo-green: #3FA35C; --igo-green-bg: #E8F5EC;
	--igo-blue: #3F8BD6;  --igo-blue-bg: #E9F1FB;
	--igo-grey-bg: #F0F0F2;
	--ccw-media: #F4F4F2;
	--ccw-star: #D9A13B;
	--ccw-mark: #FBECCB;
	--ccw-warm: #F4F3EC;
	background: #FCFCFA;
}

body.igo-ccw { --wd-main-bgcolor: #FCFCFA; }
body.igo-ccw, .igo-ccw .wd-page-wrapper, .igo-ccw .wd-page-content, .igo-ccw .main-page-wrapper { background-color: #FCFCFA; }
/* 佈景主題用更重的選擇器把內容區塗成暖灰，這裡要壓過去，商品圖的淺灰底才分得出來 */
body.igo-ccw .wd-page-content.main-page-wrapper { background-color: #FCFCFA !important; padding-top: 0; }
.igo-ccw .ccw-area { grid-column: 1 / -1; }

.ccw {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0 72px;
	font-family: Urbanist, "Work Sans", "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	color: var(--igo-ink-2);
	font-variant-numeric: tabular-nums;
}
/* 佈景主題給標題自己指定了字體，這裡讓它跟著上面那組走（英數 Urbanist、中文 Noto Sans TC） */
.ccw h1, .ccw h2, .ccw h3, .ccw h4, .ccw button, .ccw input, .ccw select { font-family: inherit; }
.ccw svg { display: block; width: 100%; height: 100%; }
.ccw button { min-height: 0; font-family: inherit; letter-spacing: 0; text-transform: none; }

/* ---------- 麵包屑＋標題 ---------- */
.ccw-crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 18px 0 0; font-size: 13px; color: var(--igo-muted); }
.ccw-crumbs a { color: var(--igo-muted); }
.ccw-crumbs a:hover { color: var(--igo-ink); }
.ccw-crumbs a::after { content: "/"; margin: 0 10px; color: #C9C9CE; }
.ccw-crumbs span { color: var(--igo-ink-2); }

.ccw-head { text-align: center; padding: 44px 0 26px; }
.ccw-head__title { margin: 0; font-size: 36px; line-height: 1.3; font-weight: 900; color: var(--igo-ink); letter-spacing: 0; }
.ccw-head__desc { max-width: 620px; margin: 12px auto 0; font-size: 15px; line-height: 1.75; color: var(--igo-muted); }

.ccw-demo { display: inline-block; margin: 14px 0 0; padding: 6px 12px; border-radius: 10px; background: var(--igo-amber-bg); color: #8A5A00; font-size: 13px; font-weight: 500; }

/* ---------- 子分類膠囊（點了捲到那一區；捲動時黏在頁首下方） ---------- */
.ccw-jump {
	position: sticky; top: var(--ccw-top, 0px); z-index: 25;
	/* 底色要滿版（黏在上面時才蓋得住底下的商品），用這個寫法不會超出畫面 */
	width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); margin-bottom: 22px;
	padding: 10px 24px;
	background: #FCFCFA; transition: box-shadow .2s;
}
.ccw-jump.is-stuck { box-shadow: 0 1px 0 var(--igo-line); }
.ccw-jump__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.ccw .ccw-sub[hidden] { display: none; }
.ccw .ccw-sub {
	text-decoration: none;
	display: inline-flex; align-items: center; gap: 8px;
	height: 40px; padding: 0 18px; border-radius: 999px;
	border: 1px solid var(--igo-line); background: var(--igo-surface);
	font-size: 14px; font-weight: 500; color: var(--igo-ink-2); cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.ccw .ccw-sub span { font-size: 12px; color: var(--igo-muted); font-weight: 400; }
.ccw .ccw-sub:hover { border-color: var(--igo-ink); color: var(--igo-ink); background: var(--igo-surface); }
.ccw .ccw-sub.is-on { background: var(--igo-ink); border-color: var(--igo-ink); color: #fff; }
.ccw .ccw-sub.is-on span { color: rgba(255,255,255,.65); }

/* ---------- 篩選列 ---------- */
.ccw-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 0 0 14px; border-bottom: 1px solid var(--igo-line);
}
.ccw-bar__left, .ccw-bar__right { display: flex; align-items: center; gap: 6px; }
.ccw .ccw-bar__all, .ccw .ccw-dd__btn {
	display: inline-flex; align-items: center; gap: 6px;
	height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent;
	font-size: 15px; font-weight: 500; color: var(--igo-ink); cursor: pointer; white-space: nowrap;
}
.ccw .ccw-bar__all { font-weight: 700; padding-left: 0; }
.ccw .ccw-bar__all svg { width: 18px; height: 18px; }
.ccw .ccw-dd__btn svg { width: 14px; height: 14px; color: var(--igo-muted); transition: transform .15s; }
.ccw .ccw-dd__btn:hover { background: var(--igo-grey-bg); }
.ccw .ccw-dd__btn[aria-expanded="true"] { background: var(--igo-grey-bg); }
.ccw .ccw-dd__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ccw-dd__btn.has-value { color: var(--igo-ink); }
.ccw-dd__btn .ccw-dd__n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--igo-ink); color: #fff; font-size: 11px; font-weight: 700; }
.ccw-dd__btn .ccw-dd__n[hidden] { display: none; }
.ccw-bar__count:not(:empty) { margin-left: 2px; }
.ccw-bar__total { font-size: 13px; color: var(--igo-muted); margin-right: 4px; white-space: nowrap; }

.ccw-dd { position: relative; }
.ccw-dd__panel {
	position: absolute; z-index: 30; top: calc(100% + 6px); left: 0;
	min-width: 230px; padding: 8px; border: 1px solid var(--igo-line); border-radius: 14px;
	background: var(--igo-surface); box-shadow: 0 12px 32px rgba(20,20,30,.12);
}
.ccw-dd.is-right .ccw-dd__panel { left: auto; right: 0; min-width: 190px; }

.ccw-check, .ccw-radio {
	display: flex; align-items: center; gap: 10px;
	min-height: 44px; margin: 0; padding: 0 10px; border-radius: 10px;
	font-size: 14px; color: var(--igo-ink-2); cursor: pointer;
}
.ccw-check:hover, .ccw-radio:hover { background: var(--igo-canvas); }
.ccw-check span, .ccw-radio span { flex: 1; }
.ccw-check em { font-style: normal; font-size: 12px; color: var(--igo-muted); }
.ccw-check input, .ccw-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--igo-ink); flex: none; }

.ccw-toggle { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0 0 0 6px; padding: 0 8px; font-size: 15px; font-weight: 500; color: var(--igo-ink); cursor: pointer; white-space: nowrap; }
.ccw-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.ccw-toggle__track { position: relative; width: 36px; height: 22px; border-radius: 999px; background: #D6D6DA; transition: background .15s; flex: none; }
.ccw-toggle__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.ccw-toggle input:checked + .ccw-toggle__track { background: var(--igo-green); }
.ccw-toggle input:checked + .ccw-toggle__track::after { transform: translateX(14px); }
.ccw-toggle input:focus-visible + .ccw-toggle__track { outline: 2px solid var(--igo-ink); outline-offset: 2px; }

/* 已選條件 */
.ccw-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0 0; }
.ccw-active[hidden] { display: none; }
.ccw .ccw-chip {
	display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px;
	border: 0; border-radius: 999px; background: var(--igo-grey-bg); font-size: 13px; color: var(--igo-ink); cursor: pointer;
}
.ccw .ccw-chip svg { width: 14px; height: 14px; color: var(--igo-muted); }
.ccw .ccw-chip:hover { background: #E4E4E8; }

/* ---------- 商品格子 ---------- */
.ccw-grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 44px 16px; padding-top: 24px;
}

.ccw-card { display: flex; flex-direction: column; min-width: 0; }
.ccw-card[hidden], .ccw-promo[hidden] { display: none; }

.ccw-card__media {
	position: relative; display: block; aspect-ratio: 1 / 1.12; overflow: hidden;
	border-radius: 14px; background: var(--ccw-media);
}
.ccw-card__media img {
	position: absolute; inset: 8%; width: 84%; height: 84%; max-width: none;
	object-fit: contain;
	mix-blend-mode: multiply; /* 白底商品照融進淺灰底 */
	transition: opacity .35s ease, transform .5s ease;
}
/* 換顏色時淡一下再亮起來：顏色很接近的照片也看得出換過 */
.ccw-card__img.is-swapping { opacity: .25; transition: opacity .12s ease; }
.ccw-card__img2 { opacity: 0; }
.ccw-card__video {
	/* 影片要塏滿整個首圖格子（照片是白底去背所以留邊，影片有背景，留邊就變成一小塊長條） */
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; opacity: 0; transition: opacity .3s ease;
}
.ccw-card.is-playing .ccw-card__video { opacity: 1; }
.ccw-card.is-playing .ccw-card__img, .ccw-card.is-playing .ccw-card__img2 { opacity: 0; }
@media (hover: hover) {
	.ccw-card:hover .ccw-card__img2 { opacity: 1; }
	.ccw-card:hover .ccw-card__media:has(.ccw-card__img2) .ccw-card__img { opacity: 0; }
	.ccw-card:hover .ccw-card__img { transform: scale(1.03); }
}
/* ⚠️ 滑過卡片本來會換成第二張照片（img2 疊在上面）。
   滑到顏色圓點、或已經選了顏色時，要把第二張收起來，不然看到的是第二張照片、不是那個顏色 */
.ccw-card.is-colorhover:hover .ccw-card__img2 { opacity: 0; }
.ccw-card.is-colorhover:hover .ccw-card__media:has(.ccw-card__img2) .ccw-card__img { opacity: 1; }
/* 手機：點了顏色就固定顯示那個顏色（沒有滑鼠可以一直停著） */
.ccw-card.is-colorlocked .ccw-card__img2 { opacity: 0; }
.ccw-card.is-colorlocked .ccw-card__media:has(.ccw-card__img2) .ccw-card__img { opacity: 1; }

.ccw-card.is-soldout .ccw-card__media { opacity: .55; }
.ccw-card.is-soldout .ccw-badges { opacity: 1; }

.ccw-badges { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ccw-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; line-height: 1; font-weight: 700; }
.ccw-badge.is-sale  { background: #FBEDEC; color: #A3262C; }
.ccw-badge.is-amber { background: var(--igo-amber-bg); color: #A86F00; }
.ccw-badge.is-green { background: var(--igo-green-bg); color: #2B7A43; }
.ccw-badge.is-rose  { background: var(--igo-rose-bg); color: #B63A5C; }
.ccw-badge.is-grey  { background: #fff; color: var(--igo-muted); border: 1px solid var(--igo-line); }

.ccw-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 2px 0; }

.ccw-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; font-size: 12px; line-height: 1; color: var(--igo-muted); }
.ccw-rating__stars { position: relative; display: block; flex: none; width: 70px; height: 13px; }
.ccw-rating__base, .ccw-rating__fill { position: absolute; top: 0; left: 0; display: flex; gap: 1px; height: 13px; overflow: hidden; }
.ccw-rating__base { color: #E7DFCE; }
.ccw-rating__fill { color: var(--ccw-star); white-space: nowrap; }
.ccw-rating__stars svg { flex: none; width: 13px; height: 13px; }
.ccw-rating__num { font-weight: 700; color: #7A5B2C; }

/* 品牌照它自己的寫法（meoof 是小寫 logo），不要強制大寫 */
.ccw-card__brand { font-size: 11.5px; line-height: 1.4; font-weight: 600; color: var(--igo-muted); letter-spacing: .05em; }
/* 2026-09-24 老闆選的品牌寫法：「── PETLIBRO ──────」左邊短短一截線、右邊細線延伸到底、字距拉開 */
.ccw-card__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; font-size: 11px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; }
.ccw-card__brand::before { content: ""; flex: 0 0 14px; height: 1px; background: #D8D2C8; }
.ccw-card__brand::after { content: ""; flex: 1; height: 1px; background: #D8D2C8; }
.ccw-card__title { margin: 5px 0 0; font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--igo-ink); letter-spacing: .01em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 滑過品名：暖色螢光筆從左往右刷過去（不是底線），字色同時加深 */
.ccw-card__title a {
	color: inherit;
	background-image: linear-gradient(var(--ccw-mark), var(--ccw-mark));
	background-repeat: no-repeat;
	background-position: 0 88%;
	background-size: 0 42%;
	padding: 0 2px; margin: 0 -2px;
	box-decoration-break: clone; -webkit-box-decoration-break: clone;
	transition: background-size .32s cubic-bezier(.4, 0, .2, 1), color .2s;
}
.ccw-card:hover .ccw-card__title a,
.ccw-card__title a:focus-visible { background-size: 100% 42%; color: #000; }

.ccw-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 6px; }
.ccw-price del { font-size: 13px; color: var(--igo-muted); }
.ccw-price__now { font-size: 17px; font-weight: 700; color: var(--igo-ink); }
.ccw-price__now small { font-size: 12px; font-weight: 400; color: var(--igo-muted); }

.ccw-price { justify-content: flex-end; }
/* 評價跟價格同一行：星星靠左、價格靠右；卡片太窄放不下時價格自己換到下一行 */
.ccw-price .ccw-rating { align-self: center; margin: 0 auto 0 0; }

.ccw-swatches { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ccw .ccw-swatch {
	position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; cursor: pointer; flex: none;
}
.ccw .ccw-swatch::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.ccw .ccw-swatch.is-on { box-shadow: inset 0 0 0 1.5px var(--igo-ink); }
.ccw .ccw-swatch:hover { box-shadow: inset 0 0 0 1.5px var(--igo-ink-2); }
.ccw .ccw-swatch:hover::before { transform: scale(1.12); }
.ccw .ccw-swatch::before { transition: transform .15s ease; }
.ccw-swatches__name { margin-left: 4px; font-size: 12px; color: var(--igo-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ccw-card__tag { margin: 8px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--igo-muted);
	display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.ccw-card__act { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; min-height: 34px; }
.ccw-card__act .ccw-link { margin-right: auto; }
.ccw-card__act .ccw-swatches { margin-left: auto; }
.ccw .ccw-link {
	display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0; border: 0; background: none;
	font-size: 14px; font-weight: 700; color: var(--igo-ink); cursor: pointer;
	border-bottom: 1.5px solid var(--igo-ink); border-radius: 0; height: auto; padding-bottom: 2px;
}
.ccw .ccw-link svg { width: 15px; height: 15px; transition: transform .15s; }
.ccw .ccw-link:hover svg { transform: translateX(3px); }

/* 快速看看：滑過去時整排字往上捲走，底下捲上來一模一樣的紅字，
   底線與箭頭同時轉紅、箭頭往右挪一小格。
   三個動作同一條曲線同時發生，看起來是「整顆一起亮起來」，不是三段拼湊。 */
.ccw .ccw-link.ccw-qv {
	--ccw-qv-ease: cubic-bezier(.65, 0, .35, 1);
	--ccw-qv-line: 1.35em;

	border-bottom-color: var(--igo-ink);
	transition: border-bottom-color .34s var(--ccw-qv-ease), color .34s var(--ccw-qv-ease);
}

/* 這個框把第二份字裁在外面，滑過去才捲進來 */
.ccw .ccw-qv__roll {
	display: block;
	overflow: hidden;
	height: var(--ccw-qv-line);
}

.ccw .ccw-qv__roll > span {
	display: block;
	height: var(--ccw-qv-line);
	line-height: var(--ccw-qv-line);
	transition: transform .34s var(--ccw-qv-ease);
}

/* 第二份就是捲上來的那一份，先染成品牌紅 */
.ccw .ccw-qv__roll > span + span {
	color: var(--igo-brand);
}

.ccw .ccw-link.ccw-qv:hover,
.ccw .ccw-link.ccw-qv:focus-visible {
	border-bottom-color: var(--igo-brand);
	color: var(--igo-brand);
}

.ccw .ccw-link.ccw-qv:hover .ccw-qv__roll > span,
.ccw .ccw-link.ccw-qv:focus-visible .ccw-qv__roll > span {
	transform: translateY(calc(var(--ccw-qv-line) * -1));
}

/* 系統設定「減少動態效果」的人不要捲，直接換色就好 */
@media (prefers-reduced-motion: reduce) {
	.ccw .ccw-qv__roll > span { transition: none; }
	.ccw .ccw-link.ccw-qv:hover .ccw-qv__roll > span { transform: none; }
	.ccw .ccw-link.ccw-qv:hover .ccw-qv__roll > span:first-child { color: var(--igo-brand); }
}

.ccw .ccw-link.is-muted { color: var(--igo-muted); border-color: var(--igo-line); font-weight: 500; }
.ccw .ccw-link.is-loading { opacity: .5; pointer-events: none; }
.ccw .ccw-link.is-done { color: var(--igo-green); border-color: var(--igo-green); }

/* 每一區的「載入更多」 */
.ccw-more { display: flex; justify-content: center; padding-top: 32px; }
.ccw-more[hidden] { display: none; }

/* ---------- 穿插的優惠卡 ---------- */
.ccw-promo {
	display: flex; flex-direction: column; overflow: hidden;
	border-radius: 14px; background: var(--ccw-warm);
	align-self: stretch; margin-bottom: 46px;   /* 底部比商品卡短一截，不跟「快速看看」對齊 */
}
.ccw-promo__text {
	display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
	flex: 1; padding: 24px 22px;
}
/* 有照片的卡：上面固定正方形照片、下面色塊放字，大小螢幕構圖一致 */
.ccw-promo__photo {
	display: block; aspect-ratio: 1 / 1; flex: none;
	background-size: cover; background-repeat: no-repeat; background-color: #fff;
}
.ccw-promo.is-photo .ccw-promo__text { padding: 18px 18px 20px; }
.ccw-promo.is-warm { background: var(--ccw-warm); }
.ccw-promo.is-blue { background: var(--igo-blue-bg); }
.ccw-promo.is-green { background: var(--igo-green-bg); }
.ccw-promo.is-grey { background: var(--igo-grey-bg); }
.ccw-icon.is-warm { background: #fff; color: var(--igo-amber); }
.ccw-icon.is-green { background: #fff; color: var(--igo-green); }
.ccw-icon.is-grey { background: #fff; color: var(--igo-ink-2); }
.ccw-icon { display: block; flex: none; width: 48px; height: 48px; padding: 10px; border-radius: 12px; }
.ccw-icon.is-amber { background: #fff; color: var(--igo-amber); }
.ccw-icon.is-blue { background: #fff; color: var(--igo-blue); }
.ccw-icon.is-round { border-radius: 50%; width: 64px; height: 64px; padding: 16px; background: var(--igo-amber-bg); }
.ccw-promo__title { margin: 18px 0 0; font-size: 22px; line-height: 1.4; font-weight: 900; color: var(--igo-ink); letter-spacing: 0; }
.ccw-promo__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.75; color: var(--igo-ink-2); }
.ccw-promo .ccw-btn-outline { margin-top: 18px; }

/* ---------- 按鈕 ---------- */
.ccw .ccw-btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--igo-ink);
	background: transparent; font-size: 14px; font-weight: 700; color: var(--igo-ink); cursor: pointer;
}
.ccw .ccw-btn-outline svg { width: 15px; height: 15px; }
.ccw .ccw-btn-outline:hover { background: var(--igo-ink); color: #fff; }
.ccw .ccw-btn-primary {
	display: inline-flex; align-items: center; justify-content: center;
	height: 46px; padding: 0 26px; border: 0; border-radius: 999px;
	background: var(--igo-brand); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
	box-shadow: 0 3px 0 var(--igo-brand-deep);
}
.ccw .ccw-btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--igo-brand-deep); }
.ccw .ccw-btn-text { height: 46px; padding: 0 12px; border: 0; background: none; font-size: 15px; font-weight: 500; color: var(--igo-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- 子分類區塊 ---------- */
.ccw-sec { padding-top: 48px; scroll-margin-top: 140px; }
.ccw-sec[hidden] { display: none; }
.ccw-active:not([hidden]) + .ccw-sec, .ccw-bar + .ccw-active[hidden] + .ccw-sec { padding-top: 28px; }
.ccw-sec__head { display: flex; align-items: center; gap: 10px; padding-bottom: 4px; }
.ccw-sec__title { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 900; color: var(--igo-ink); letter-spacing: 0; }
.ccw-sec__n { font-size: 13px; color: var(--igo-muted); }
.ccw-sec__head + .ccw-grid { padding-top: 16px; }

/* 優惠價第二版：售價 → 原價劃線 → 淡紅小膠囊「省 $」（不用實心紅塊） */
.ccw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ccw-price__save {
	display: inline-flex; align-items: center; align-self: center; height: 22px; padding: 0 8px; border-radius: 999px;
	background: #FBEDEC; color: #A3262C; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
}

/* 快速看看載入中 */
.ccw .ccw-link.ccw-qv.is-loading { opacity: .5; cursor: progress; }

/* 借用商品頁的彈窗：它的顏色與字體變數原本掛在商品頁 body 上 */
body.igo-ccw {
	--cw-canvas: #FCFCFA; --cw-band: #F4F3EC; --cw-sand: #FAF2DD; --cw-surface: #FFFFFF;
	--cw-ink: #1F3438; --cw-ink-2: #4B5558; --cw-muted: #737373;
	--cw-line: #E7E5E0; --cw-line-2: #D2CFC7;
	--cw-brand: #B81820; --cw-brand-deep: #8E1319;
	--cw-r-img: 12px; --cw-r-card: 14px;
}
body.igo-ccw .cwp-modal { font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif; color: var(--cw-ink); font-variant-numeric: tabular-nums; }

/* 空狀態 */
.ccw-empty[hidden] { display: none; }
.ccw-empty { display: flex; flex-direction: column; align-items: center; padding: 72px 16px; text-align: center; }
.ccw-empty h3 { margin: 18px 0 0; font-size: 19px; font-weight: 900; color: var(--igo-ink); }
.ccw-empty p { margin: 6px 0 20px; font-size: 14px; color: var(--igo-muted); }

/* ---------- 逛逛其他分類 ---------- */
.ccw-others { margin-top: 88px; }
.ccw-others__title { margin: 0 0 16px; font-size: 19px; font-weight: 900; color: var(--igo-ink); letter-spacing: 0; }
.ccw-others__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.ccw-other {
	display: grid; grid-template-columns: 40px 1fr 16px; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
	padding: 14px 16px; border-radius: 14px; background: var(--ccw-warm); color: var(--igo-ink);
	transition: background .15s;
}
.ccw-other:hover { background: #ECEAE0; color: var(--igo-ink); }
.ccw-other img { grid-row: 1 / 3; width: 40px; height: 40px; object-fit: contain; }
.ccw-other__name { font-size: 15px; font-weight: 700; line-height: 1.4; }
.ccw-other__n { grid-column: 2; font-size: 12px; color: var(--igo-muted); }
.ccw-other svg { grid-column: 3; grid-row: 1 / 3; width: 16px; height: 16px; color: var(--igo-muted); transition: transform .15s; }
.ccw-other:hover svg { transform: translateX(3px); color: var(--igo-ink); }
.ccw-other:not(:has(img)) { grid-template-columns: 1fr 16px; }
.ccw-other:not(:has(img)) .ccw-other__n { grid-column: 1; }
.ccw-other:not(:has(img)) svg { grid-column: 2; }
/* 沒有件數那一行時（2026-10-16 前台不顯示件數），名字要佔滿兩行才會上下置中 */
.ccw-other img { grid-column: 1; }
.ccw-other:not(:has(.ccw-other__n)) .ccw-other__name { grid-row: 1 / 3; grid-column: 2; }
.ccw-other:not(:has(img)):not(:has(.ccw-other__n)) .ccw-other__name { grid-column: 1; }

/* 逛逛其他分類：插畫卡＋「裡面有什麼」小字（2026-10-27 照範本 O1，四欄排兩行） */
.ccw .ccw-o1 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ccw .ccw-o1__c { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #F4F3EC; color: var(--igo-ink); text-decoration: none; transition: background .15s; }
.ccw .ccw-o1__c:hover { background: #ECEAE0; color: var(--igo-ink); }
.ccw .ccw-o1__il { display: block; flex: none; width: 64px; height: 48px; }
.ccw .ccw-o1__t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ccw .ccw-o1__t b { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--igo-ink); }
.ccw .ccw-o1__t small { font-size: 12.5px; line-height: 1.5; color: var(--igo-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ccw .ccw-o1__c > svg:last-child { flex: none; width: 16px; height: 16px; color: var(--igo-muted); transition: transform .15s; }
.ccw .ccw-o1__c:hover > svg:last-child { transform: translateX(3px); color: var(--igo-ink); }

/* ---------- 右側滑出的頁面（優惠卡的連結都走這裡） ---------- */
.ccw-side { position: fixed; inset: 0; z-index: 100001; }
.ccw-side[hidden] { display: none; }
.ccw-side__scrim { position: absolute; inset: 0; background: rgba(20,20,26,.4); }
.ccw-side__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%);
	display: flex; flex-direction: column; background: #FCFCFA;
	animation: ccw-side-in .24s ease;
}
@keyframes ccw-side-in { from { transform: translateX(100%); } to { transform: none; } }
.ccw-side__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 12px 14px 20px; border-bottom: 1px solid var(--igo-line); }
.ccw-side__head strong { font-size: 18px; font-weight: 900; color: var(--igo-ink); }
.ccw .ccw-side__x { width: 44px; height: 44px; padding: 13px; border: 0; border-radius: 50%; background: none; color: var(--igo-ink); cursor: pointer; flex: none; }
.ccw .ccw-side__x:hover { background: var(--igo-grey-bg); }
.ccw-side__body { flex: 1; overflow-y: auto; padding: 20px; font-size: 15px; line-height: 1.85; color: var(--igo-ink-2); }
.ccw-side__body h1, .ccw-side__body h2, .ccw-side__body h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 900; color: var(--igo-ink); line-height: 1.5; }
.ccw-side__body p { margin: 0 0 12px; }
.ccw-side__body ul, .ccw-side__body ol { margin: 0 0 12px; padding-left: 20px; }
.ccw-side__body li { margin: 0 0 6px; }
.ccw-side__body img { max-width: 100%; height: auto; border-radius: 10px; }
.ccw-side__body table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 14px; }
.ccw-side__body th, .ccw-side__body td { padding: 8px 10px; border: 1px solid var(--igo-line); text-align: left; }
.ccw-side__body th { background: var(--igo-grey-bg); font-weight: 700; color: var(--igo-ink); }
.ccw-side__loading { padding: 40px 0; text-align: center; color: var(--igo-muted); font-size: 14px; }
.ccw-side__foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--igo-line); }
.ccw-side__foot .ccw-btn-outline { width: 100%; }
/* 連到分類頁時，裡面的商品用兩欄排 */
.ccw-side__body .ccw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; padding-top: 8px; }
.ccw-side__body .ccw-sec { padding-top: 18px; }
.ccw-side__body .ccw-sec__title { font-size: 16px; }

/* ---------- 篩選抽屜 ---------- */
.ccw-drawer { position: fixed; inset: 0; z-index: 100000; }
.ccw-drawer[hidden] { display: none; }
.ccw-drawer__scrim { position: absolute; inset: 0; background: rgba(20,20,26,.4); }
.ccw-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(440px, 100%);
	display: flex; flex-direction: column; background: #FCFCFA;
	animation: ccw-in .24s ease;
}
@keyframes ccw-in { from { transform: translateX(-100%); } to { transform: none; } }
.ccw-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 12px 12px 20px; }
.ccw-drawer__head strong { font-size: 20px; font-weight: 900; color: var(--igo-ink); }
.ccw .ccw-drawer__x { width: 44px; height: 44px; padding: 13px; border: 0; border-radius: 50%; background: none; color: var(--igo-ink); cursor: pointer; }
.ccw .ccw-drawer__x:hover { background: var(--igo-grey-bg); }
.ccw-drawer__body { flex: 1; overflow-y: auto; padding: 0 20px 24px; }

/* 可收合的一塊：標題列 ＋ 右邊加減號 */
.ccw-fg { border-top: 1px solid var(--igo-line); }
.ccw-fg:last-child { border-bottom: 1px solid var(--igo-line); }
.ccw .ccw-fg__head {
	display: flex; align-items: center; gap: 10px; width: 100%; height: 56px; padding: 0; border: 0; background: none;
	font-size: 16px; font-weight: 500; color: var(--igo-ink); text-align: left; cursor: pointer;
}
.ccw-fg__head > span { flex: none; }
.ccw-fg__picked { flex: 1; min-width: 0; font-style: normal; font-size: 13px; color: var(--igo-muted); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccw-fg__sign { position: relative; flex: none; width: 14px; height: 14px; }
.ccw-fg__sign::before, .ccw-fg__sign::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--igo-ink); transition: transform .2s; }
.ccw-fg__sign::after { transform: rotate(90deg); }
.ccw-fg__head[aria-expanded="true"] .ccw-fg__sign::after { transform: rotate(0); }
.ccw-fg__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 0 18px; }
.ccw-fg__body[hidden] { display: none; }

/* 選項是方框按鈕（不是小勾勾） */
.ccw-opt {
	position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 8px 12px;
	border: 1px solid var(--igo-line); border-radius: 10px; background: var(--igo-surface);
	font-size: 14px; color: var(--igo-ink); cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.ccw-opt:hover { border-color: #BDBDC3; }
.ccw-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ccw-opt__label { flex: 1; min-width: 0; line-height: 1.4; }
.ccw-opt__n { font-size: 12px; color: var(--igo-muted); }
.ccw-opt:has(input:checked) { border-color: var(--igo-ink); box-shadow: inset 0 0 0 1px var(--igo-ink); font-weight: 700; }
.ccw-opt:has(input:focus-visible) { outline: 2px solid var(--igo-ink); outline-offset: 2px; }

.ccw-drawer__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--igo-line); }
.ccw .ccw-btn-text.is-small { height: 32px; font-size: 13px; }
.ccw-drawer__foot .ccw-btn-primary { flex: 1; }
html.ccw-lock, html.ccw-lock body { overflow: hidden; }

/* ---------- 平板 ---------- */
/* 篩選列放不下時，一格一格收起來，其餘從「篩選」打開
   ⚠️ 一定要寫 .ccw 開頭：基礎樣式是 .ccw .ccw-dd__btn，權重比單一 class 高，不然收不掉 */
@media (max-width: 1279px) {
	.ccw .ccw-bar__left > .ccw-bar__group:nth-child(n+5) { display: none; }
}

@media (max-width: 1024px) {
	.ccw .ccw-o1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ccw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ccw .ccw-bar__group { display: none; }
	.ccw-jump { padding: 10px 15px; }
}

/* ---------- 手機 ---------- */
@media (max-width: 767px) {
	.ccw { padding: 0 0 56px; }
	.ccw-crumbs { padding-top: 12px; font-size: 12px; }
	.ccw-head { padding: 26px 0 18px; }
	.ccw-head__title { font-size: 28px; }
	.ccw-head__desc { font-size: 14px; }

	.ccw-jump { margin-bottom: 12px; padding: 8px 0; overflow: hidden; }
	.ccw-jump__row {
		flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
		padding: 0 15px; scrollbar-width: none;
		scroll-snap-type: x proximity; scroll-padding-left: 15px;
		/* 右邊淡出，讓客人看得出還可以往右滑，而不是被螢幕切掉 */
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%);
		mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%);
	}
	.ccw-jump__row::-webkit-scrollbar { display: none; }
	.ccw .ccw-sub { flex: none; height: 34px; padding: 0 12px; font-size: 13px; scroll-snap-align: start; }
	.ccw .ccw-sub span { font-size: 11px; }

	.ccw .ccw-bar__all { height: 44px; }
	.ccw-sec { padding-top: 36px; }
	.ccw-sec__title { font-size: 19px; }
	.ccw-price__save { height: 20px; font-size: 11px; }
	.ccw-bar__total { display: none; }

	.ccw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; padding-top: 16px; }
	.ccw-card__media { border-radius: 12px; }
	.ccw-badges { top: 8px; left: 8px; gap: 4px; }
	.ccw-badge { height: 22px; padding: 0 6px; font-size: 11px; }
	.ccw-card__body { padding-top: 10px; }
	.ccw-card__title { font-size: 14px; }
	.ccw-price__now { font-size: 16px; }
	.ccw-swatches__name { display: none; }
	.ccw .ccw-swatch { width: 26px; height: 26px; }
	.ccw-card__act { gap: 6px; }
	.ccw-card__tag { display: none; }
	.ccw .ccw-link { font-size: 13px; }

	/* 優惠卡在手機也是「一格商品」的大小，不要橫躺整排 */
	.ccw-promo { margin-bottom: 38px; }
	.ccw-promo__text { padding: 14px 14px 16px; }
	.ccw-icon { width: 38px; height: 38px; padding: 8px; border-radius: 10px; }
	.ccw-promo__title { margin-top: 12px; font-size: 15px; line-height: 1.45; }
	.ccw-promo__desc { margin-top: 6px; font-size: 12px; line-height: 1.65; }
	.ccw-promo .ccw-btn-outline { margin-top: 12px; height: 36px; padding: 0 14px; font-size: 12.5px; }
	.ccw-promo.is-photo .ccw-promo__text { padding: 12px 12px 14px; }

	.ccw-others { margin-top: 56px; }
	.ccw-others__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.ccw-other { padding: 12px; column-gap: 10px; grid-template-columns: 32px 1fr 14px; }
	.ccw-other img { width: 32px; height: 32px; }
	.ccw .ccw-o1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.ccw .ccw-o1__c { padding: 12px; gap: 8px; }
	.ccw .ccw-o1__il { width: 44px; height: 33px; }
	.ccw .ccw-o1__c > svg:last-child { display: none; }
	.ccw .ccw-o1__t b { font-size: 15px; }
	.ccw .ccw-o1__t small { font-size: 11.5px; line-height: 1.4; -webkit-line-clamp: 3; }

	/* 手機跟 Caraway 一樣：整個畫面從左邊滑進來，選項一行一個 */
	.ccw-drawer__panel { width: 100%; }
	.ccw-fg__body { grid-template-columns: 1fr; }
}

/* ==================================================================
 * 置頂標題欄・重做（A 的版面 ＋ C 的紅底公告條）
 *
 * ⚠️ 範圍只吃 body.igo-ccw（品類頁與 PETLIBRO 品牌頁才有）。
 *    首頁沒有這個標記，完全不受影響，不要拿掉這層。
 *
 * 併成兩條的部分再多吃一個 igo-hd，那是前端搬動成功才掛上的。
 * 搬不動就只會套用顏色，版面退回三條，不會開天窗。
 * ================================================================== */

body.igo-ccw .whb-header,
body.igo-ccw .whb-header input,
body.igo-ccw .whb-header button,
body.igo-ccw .whb-header select {
	font-family: Urbanist, "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* ---------- 最上面：促銷帶 ---------- */

/* 主題原本那條是功能連結（門市／帳戶／聯盟），不是促銷，整條收起來，
   改用我們自己印的那一條（見 igo_ccw_promo_bar）。 */
body.igo-ccw .whb-top-bar {
	display: none;
}

.ccw-promobar {
	background: var(--igo-brand);
	color: #fff;
}

.ccw-promobar__in {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 34px;
	max-width: 1370px;
	margin: 0 auto;
	padding: 11px 24px;
	font-family: Urbanist, "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .03em;
	line-height: 1.5;
}

/* 每一句之間點一個小圓點分隔 */
.ccw-promobar__in span + span::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .55);
	vertical-align: middle;
	margin-right: 34px;
	margin-left: -18px;
}

@media (max-width: 767px) {
	.ccw-promobar__in {
		gap: 2px 16px;
		padding: 8px 16px;
		font-size: 11.5px;
	}

	/* 手機排得下就排，排不下換行，不要出現半個圓點 */
	.ccw-promobar__in span + span::before {
		display: none;
	}
}

body.igo-ccw .whb-top-bar,
body.igo-ccw .whb-top-bar a,
body.igo-ccw .whb-top-bar .wd-nav > li > a {
	color: #fff;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .02em;
}

body.igo-ccw .whb-top-bar a:hover,
body.igo-ccw .whb-top-bar .wd-nav > li > a:hover {
	color: rgba(255, 255, 255, .72);
}

body.igo-ccw .whb-top-bar .wd-header-divider {
	border-color: rgba(255, 255, 255, .32) !important;
}

body.igo-ccw .whb-top-bar svg,
body.igo-ccw .whb-top-bar .wd-tools-icon {
	color: #fff;
}

/* 付款方式的圖示在紅底上很雜，收起來 */
body.igo-ccw .whb-top-bar img {
	display: none;
}

/* ---------- 中間：主列（LOGO 左・選單中・搜尋與工具右） ---------- */

body.igo-ccw .whb-general-header {
	background-color: var(--igo-surface) !important;
	border-bottom: 1px solid var(--igo-line);
}

body.igo-ccw.igo-hd .whb-general-header-inner {
	min-height: 70px;
}

body.igo-ccw.igo-hd .whb-general-header .whb-col-left,
body.igo-ccw.igo-hd .whb-general-header .whb-col-right {
	flex: 0 0 auto;
}

body.igo-ccw.igo-hd .whb-general-header .whb-col-center {
	flex: 1 1 auto;
	justify-content: center;
	padding: 0 12px;
}

/* 選單搬進來之後，原本那一整條就不需要了 */
body.igo-ccw.igo-hd .whb-header-bottom {
	display: none;
}

/* ---------- 主選單 ---------- */

/* ⚠️ 13 個品類要排在同一行。每個品類前面原本有一個小圖示，
   一個就多吃掉 20 幾像素，13 個加起來就擠不下、會折成兩行。
   A 的版面本來就是純文字選單，所以圖示在這裡收起來（手機的漢堡選單裡還在）。 */
body.igo-ccw.igo-hd .whb-general-header .wd-header-nav .wd-nav > li > a img,
body.igo-ccw.igo-hd .whb-general-header .wd-header-nav .wd-nav > li > a .wd-nav-img,
body.igo-ccw.igo-hd .whb-general-header .wd-header-nav .wd-nav > li > a picture {
	display: none !important;
}

/* 一行排不下也不准折行。
   ⚠️ 這裡千萬不能用 overflow 來處理超出：設了 overflow-x，垂直方向也會跟著被裁，
      「品牌」那種下拉選單就會整個被剪掉看不見。排不下改用下面的階梯式縮字級。 */
body.igo-ccw.igo-hd .whb-general-header .wd-header-nav .wd-nav {
	flex-wrap: nowrap;
}

/* 中欄要能被壓縮，右邊的搜尋與圖示才不會被擠出畫面 */
body.igo-ccw.igo-hd .whb-general-header .whb-col-center {
	min-width: 0;
}

/* 右邊那幾個圖示不准被壓扁 */
body.igo-ccw.igo-hd .whb-general-header .whb-col-right > * {
	flex: 0 0 auto;
}

body.igo-ccw .whb-header .wd-header-nav .wd-nav > li > a {
	position: relative;
	color: var(--igo-ink);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .01em;
	padding-left: 8px;
	padding-right: 8px;
	white-space: nowrap;
}

body.igo-ccw .whb-header .wd-header-nav .wd-nav > li > a::after {
	content: "";
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 16px;
	height: 1.5px;
	background: var(--igo-brand);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .28s cubic-bezier(.65, 0, .35, 1);
}

body.igo-ccw .whb-header .wd-header-nav .wd-nav > li > a:hover,
body.igo-ccw .whb-header .wd-header-nav .wd-nav > li.current-menu-item > a,
body.igo-ccw .whb-header .wd-header-nav .wd-nav > li.current-menu-parent > a {
	color: var(--igo-brand);
}

body.igo-ccw .whb-header .wd-header-nav .wd-nav > li > a:hover::after,
body.igo-ccw .whb-header .wd-header-nav .wd-nav > li.current-menu-item > a::after,
body.igo-ccw .whb-header .wd-header-nav .wd-nav > li.current-menu-parent > a::after {
	transform: scaleX(1);
}

/* ---------- 搜尋框：平常收窄，點了才展開 ---------- */

/* 平常只剩一顆放大鏡，點了才展開成輸入框 */
body.igo-ccw.igo-hd .whb-general-header .wd-search-form {
	position: relative;
	width: 42px;
	margin-right: 10px;
	transition: width .3s cubic-bezier(.65, 0, .35, 1);
}

body.igo-ccw.igo-hd .whb-general-header .wd-search-form:focus-within {
	width: 300px;
}

/* 收起來的時候把輸入框藏到放大鏡底下，不要讓「搜尋商品」那幾個字露出來 */
body.igo-ccw.igo-hd .whb-general-header .wd-search-form .searchform input[type="text"] {
	padding-right: 42px;
	opacity: 0;
	transition: opacity .2s ease .06s;
}

body.igo-ccw.igo-hd .whb-general-header .wd-search-form:focus-within .searchform input[type="text"] {
	opacity: 1;
}

/* 放大鏡固定在右邊，收起來時它就是整顆按鈕 */
body.igo-ccw.igo-hd .whb-general-header .wd-search-form .searchsubmit {
	position: absolute;
	top: 0;
	right: 0;
	width: 42px;
	height: 40px;
	z-index: 2;
	cursor: pointer;
}

/* 收起來時不要顯示清除鈕（會浮在放大鏡旁邊） */
body.igo-ccw.igo-hd .whb-general-header .wd-search-form:not(:focus-within) .wd-clear-search {
	display: none;
}

body.igo-ccw .whb-general-header .wd-search-form input[type="text"],
body.igo-ccw .whb-general-header .searchform input[type="text"] {
	height: 40px;
	border: 1px solid var(--igo-line);
	border-radius: 999px;
	background: var(--igo-canvas);
	color: var(--igo-ink);
	font-size: 13.5px;
}

body.igo-ccw .whb-general-header .wd-search-form input[type="text"]:focus {
	background: var(--igo-surface);
	border-color: var(--igo-ink);
}

body.igo-ccw .whb-general-header .wd-search-form input[type="text"]::placeholder {
	color: var(--igo-muted);
}

/* ---------- 右邊的工具 ---------- */

body.igo-ccw .whb-general-header a,
body.igo-ccw .whb-general-header .wd-tools-icon {
	color: var(--igo-ink-2);
}

body.igo-ccw .whb-general-header a:hover {
	color: var(--igo-brand);
}

body.igo-ccw .whb-header .wd-tools-count,
body.igo-ccw .whb-header .wd-cart-number {
	background-color: var(--igo-brand) !important;
	color: #fff !important;
}

/* 「比較」在主列太佔空間，桌機收起來（功能還在，商品卡上有） */
body.igo-ccw.igo-hd .whb-general-header .wd-header-compare {
	display: none;
}

/* ---------- 捲動時收起來的樣子 ---------- */

body.igo-ccw.igo-hd .whb-sticked .whb-general-header-inner {
	min-height: 56px;
}

body.igo-ccw .whb-sticky-shadow.whb-sticked .whb-main-header {
	box-shadow: 0 2px 10px rgba(31, 31, 34, .07);
}

/* ------------------------------------------------------------------
 * 置頂欄的寬度階梯
 *
 * 13 個品類＋LOGO＋搜尋＋三個圖示，在窄一點的桌機會擠不下。
 * 用階梯式收字級與留白，不要用 overflow 裁切（會把下拉選單剪掉）。
 * ------------------------------------------------------------------ */

@media (max-width: 1439px) {
	body.igo-ccw.igo-hd .whb-general-header .wd-header-nav .wd-nav > li > a {
		font-size: 13px;
		padding-left: 6px;
		padding-right: 6px;
	}

	body.igo-ccw.igo-hd .whb-general-header .wd-header-nav .wd-nav > li > a::after {
		left: 6px;
		right: 6px;
	}

	/* 收起來本來就只有一顆圖示，不需要再縮 */
}

@media (max-width: 1279px) {
	/* 展開的寬度收一點，才不會把圖示擠出去 */
	body.igo-ccw.igo-hd .whb-general-header .wd-search-form:focus-within {
		width: 220px;
	}
}

/* 收藏愛心：快速看看那一行最右邊（2026-10-05 從圖片右上角搬下來） */
.ccw .ccw-heart {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 32px; height: 32px; min-height: 0; padding: 0; margin: 0 -6px 0 0; border: 0; border-radius: 999px;
	background: none; color: #9A948B; cursor: pointer; box-shadow: none; transition: color .15s, transform .15s;
}
.ccw .ccw-heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.ccw .ccw-heart:hover { background: none; color: var(--igo-brand); transform: scale(1.08); }
.ccw .ccw-heart.is-on { color: var(--igo-brand); }
.ccw .ccw-heart.is-on svg { fill: currentColor; }
.ccw .ccw-heart.is-busy { opacity: .5; cursor: progress; }
.ccw .ccw-heart:focus-visible { outline: 2px solid var(--igo-ink); outline-offset: 2px; }

/* 所有商品頁往下捲自動載入：這格是觸發點，不要讓瀏覽器的「捲動錨點」挑它當錨點
   （上面一塞新商品就會被拉著維持在原位、一直觸發載入）。預防用。 */
.ccw[data-flat] .ccw-more { overflow-anchor: none; }

/* 2026-11-03 顏色圓點定案：在愛心旁邊、縮小、選中的有外框；太多就換到下一行整行排 */
.ccw-card__act { flex-wrap: wrap; }
.ccw-card__act .ccw-swatches { gap: 2px; }
.ccw-card__act .ccw-swatch { width: 22px; height: 22px; }
/* 外框用深奶茶色（跟篩選視窗的選中色同一個，老闆不要黑色）；滑鼠移到哪顆，框就跟到哪顆，離開整排再回到選中那顆 */
.ccw .ccw-card__act .ccw-swatch.is-on,
.ccw .ccw-card__act .ccw-swatch:hover { box-shadow: inset 0 0 0 1.5px #93694A; }
.ccw .ccw-card__act .ccw-swatches:hover .ccw-swatch.is-on:not(:hover) { box-shadow: none; }
.ccw-card__act .ccw-swatches.is-many-d { order: 3; flex-basis: 100%; flex-wrap: wrap; margin-left: -3px; }
@media (max-width: 767px) {
	.ccw-card__act .ccw-swatch { width: 20px; height: 20px; }
	.ccw-card__act .ccw-swatches.is-many-m { order: 3; flex-basis: 100%; flex-wrap: wrap; margin-left: -3px; }
}

/* =============================================================
   Caraway 式商品頁樣式
   只在掛了 body.igo-pdp-cw 的商品頁生效，不影響站上其他頁。
   參考對象：carawayhome.com 商品頁
   ============================================================= */

/* ---------- 1. 色票與基本設定 ---------- */

body.igo-pdp-cw {
	--cw-canvas:   #FCFCFA;   /* 頁面底（偏暖的白） */
	--cw-band:     #F4F3EC;   /* 暖色區塊底 */
	--cw-sand:     #FAF2DD;   /* 標籤、強調底 */
	--cw-surface:  #FFFFFF;
	--cw-ink:      #1F3438;   /* 主要文字（深藍綠） */
	--cw-ink-2:    #4B5558;
	--cw-muted:    #737373;
	--cw-line:     #E7E5E0;
	--cw-line-2:   #D2CFC7;
	--cw-brand:      #B81820;
	--cw-brand-deep: #8E1319;

	--cw-r-img:  12px;
	--cw-r-card: 14px;

	--cw-gap:  clamp(56px, 6.5vw, 96px);   /* 區塊上下留白 */
	--cw-wrap: 1180px;                     /* 買區最大寬度（Caraway 量到 1160） */

	background: var(--cw-canvas);
	color: var(--cw-ink);
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	font-variant-numeric: tabular-nums;
}

body.igo-pdp-cw .wd-page-content,
body.igo-pdp-cw .wd-content-area,
body.igo-pdp-cw .site-content {
	background: var(--cw-canvas);
}

body.igo-pdp-cw .cwp-sec p,
body.igo-pdp-cw .cwp-buy p,
body.igo-pdp-cw .cwp-sec li {
	color: var(--cw-ink-2);
	line-height: 1.8;
}

/* 區塊節奏：一律用同一組上下留白，深淺交替 */
body.igo-pdp-cw .elementor-section.elementor-top-section {
	padding-top: var(--cw-gap);
	padding-bottom: var(--cw-gap);
}

/* 暖色帶要滿版。用 overflow:clip 而不是 hidden —— hidden 會讓買區的
   sticky 失效（它會變成捲動容器），clip 不會。 */
body.igo-pdp-cw {
	overflow-x: clip;
}

body.igo-pdp-cw .cwp-band {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-right: calc(50vw - 50%);
	padding-left: calc(50vw - 50%);
	background: var(--cw-band);
}

/* Elementor 的容器帶著 -10px 負邊距，不會自己置中，要補回來 */
body.igo-pdp-cw .cwp-sec > .elementor-container {
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
}

/* 區塊標題 */
body.igo-pdp-cw .cwp-sec .elementor-heading-title {
	color: var(--cw-ink);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	font-size: clamp(24px, 2.6vw, 36px);
}

/* 小標（英文式眉標）：全大寫加字距只用在英文，中文不加寬字距 */
body.igo-pdp-cw .cwp-eyebrow p {
	margin: 0 0 10px;
	color: var(--cw-muted);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-align: center;
}

body.igo-pdp-cw .cwp-lede p {
	max-width: 640px;
	margin: 14px auto 0;
	color: var(--cw-ink-2);
	font-size: 16px;
	line-height: 1.9;
	text-align: center;
}

body.igo-pdp-cw .cwp-sec-head .elementor-heading-title {
	text-align: center;
}

/* =============================================================
   2. 買區
   ============================================================= */

/* 買區貼著頁首，不要跟著下面的區塊留一樣多的白 */
body.igo-pdp-cw .elementor-section.elementor-top-section.cwp-buy-sec {
	padding-top: clamp(20px, 2.5vw, 36px);
	padding-bottom: clamp(40px, 5vw, 72px);
}

body.igo-pdp-cw .cwp-buy-sec > .elementor-container {
	max-width: var(--cw-wrap);
	align-items: flex-start;
	gap: 28px;
}

body.igo-pdp-cw .cwp-buy-sec .elementor-column {
	padding-left: 0;
	padding-right: 0;
}

/* 量 Caraway 得到的比例：圖片欄彈性、買區欄固定 422px、中間 28px */
@media (min-width: 1025px) {
	body.igo-pdp-cw .cwp-buy-sec > .elementor-container > .elementor-column:first-child {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	body.igo-pdp-cw .cwp-buy {
		flex: 0 0 422px;
		width: 422px;
	}

	/* 兩欄都設 sticky。圖片欄矮，會被釘住；買區高，自己往上捲 ——
	   Caraway 就是這樣做的，不用去判斷哪一欄比較長。 */
	body.igo-pdp-cw .cwp-buy-sec > .elementor-container > .elementor-column {
		position: sticky;
		top: 96px;
		align-self: flex-start;
	}
}

body.igo-pdp-cw .cwp-buy > .elementor-widget-wrap {
	padding: 0;
}

body.igo-pdp-cw .cwp-buy .elementor-widget:not(:last-child) {
	margin-bottom: 0;
}

/* ---------- 2.1 圖片區：全部主圖直接排出來 ----------
   試過 Caraway 的「一次一張＋縮圖列」，老闆覺得原本站上那種
   兩欄方格、全部圖一次攤開比較好（客人不用一張一張點）。
   桌機兩欄方格；手機維持橫向滑，不然要捲很久才到買區。 */

body.igo-pdp-cw .cwp-gallery .woocommerce-product-gallery {
	--wd-gallery-gap: 0px;
}

body.igo-pdp-cw .woocommerce-product-gallery__image {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	margin: 0;
	border-radius: var(--cw-r-img);
	background: #fff;
}

body.igo-pdp-cw .woocommerce-product-gallery__image > a {
	display: block;
	width: 100%;
	height: 100%;
}

body.igo-pdp-cw .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .25s ease;
}

/* 主圖第二格的短影片 */
body.igo-pdp-cw .cwp-gvid__box video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 選了顏色換圖時淡入一下，客人才注意得到圖換了 */
body.igo-pdp-cw .woocommerce-product-gallery__image img.is-swapping {
	opacity: .35;
}

@media (min-width: 1025px) {
	body.igo-pdp-cw .cwp-gallery .wd-gallery-images .wd-carousel-wrap {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		transform: none !important;
	}

	body.igo-pdp-cw .cwp-gallery .wd-carousel-item {
		width: auto;
		max-width: none;
		margin: 0;
	}
}

@media (max-width: 1024.98px) {
	body.igo-pdp-cw .cwp-gallery .wd-gallery-images .wd-carousel-wrap {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.igo-pdp-cw .cwp-gallery .wd-gallery-images .wd-carousel-wrap::-webkit-scrollbar {
		display: none;
	}

	body.igo-pdp-cw .cwp-gallery .wd-carousel-item {
		flex: 0 0 88%;
		width: 88%;
		max-width: 88%;
		scroll-snap-align: center;
	}
}

/* 主題自帶的縮圖列、左右鈕用不到；圖上的「-10%」也拿掉 ——
   只有某一組規格打折，貼在主圖上會讓人以為全部 9 折（折扣改標在規格膠囊上） */
body.igo-pdp-cw .cwp-gallery .product-labels,
body.igo-pdp-cw .cwp-gallery .wd-gallery-thumb,
body.igo-pdp-cw .cwp-gallery .wd-nav-arrows,
body.igo-pdp-cw .cwp-gallery .wd-nav-pagin-wrap {
	display: none !important;
}

/* ---------- 2.2 標題區：照 Caraway 量到的數值 ----------
   他們把評價、價格、分期、折扣排成一個兩欄的格子：
     左上 評價        右上 價格（靠右）
     左下 分期        右下 折扣＋現省標籤（靠右）
   整塊字重都很輕（400–500），只有標籤是 700。 */

body.igo-pdp-cw .cwp-crumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
	color: var(--cw-muted);
	font-size: 13px;
	line-height: 1.6;
}

body.igo-pdp-cw .cwp-crumbs a {
	color: var(--cw-muted);
	text-decoration: none;
}

body.igo-pdp-cw .cwp-crumbs a:hover {
	color: var(--cw-ink);
	text-decoration: underline;
}

body.igo-pdp-cw .cwp-crumbs .sep {
	color: var(--cw-line-2);
}

/* 標籤：圓角 4px 的小方塊，不是藥丸。中文不套大寫也不加寬字距，
   所以字級從他們的 10px 提到 11px、字重 700，才看得清楚。 */
body.igo-pdp-cw .cwp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

body.igo-pdp-cw .cwp-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 4px;
	background: var(--cw-sand);
	color: #8A5A11;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

body.igo-pdp-cw .cwp-badge.is-save {
	background: var(--cw-brand);
	color: #fff;
}

body.igo-pdp-cw .cwp-badge.is-save .amount,
body.igo-pdp-cw .cwp-badge.is-save bdi {
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

/* 品名：老闆不喜歡襯線體，改回站上的黑體（Noto Sans TC），22px 粗 700 一行放得下 */
body.igo-pdp-cw .cwp-h1 {
	margin: 0;
	color: var(--cw-ink);
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

/* 前面 `.cwp-buy p` 的通用設定權重比較高，這裡要帶上 p 才蓋得過去 */
body.igo-pdp-cw p.cwp-subtitle {
	margin: 4px 0 0;
	color: var(--cw-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;
}

/* 評價：品名底下一行 */
body.igo-pdp-cw .cwp-rate {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	min-height: 24px;
	margin-top: 10px;
	font-size: 13px;
	line-height: 16px;
}

body.igo-pdp-cw .cwp-stars {
	display: inline-flex;
	gap: 1px;
	color: #C8A24A;
}

body.igo-pdp-cw .cwp-star {
	display: block;
	width: 14px;
	height: 14px;
}

body.igo-pdp-cw .cwp-rate__num {
	color: var(--cw-ink);
	font-weight: 700;
}

body.igo-pdp-cw .cwp-rate__link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--cw-ink-2);
	font-family: inherit;
	font-size: 13px;
	line-height: 16px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

body.igo-pdp-cw .cwp-rate__none {
	color: var(--cw-muted);
}

/* 價格：售價 32px 品牌紅；有折扣時右邊疊兩行 ——
   上：兩段式小標（實心「9折」＋ 白底紅字「省 NT$129」，共用一條細紅框）
   下：小字「原價 NT$1,290」劃掉 */
body.igo-pdp-cw .cwp-cost {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 18px;
}

body.igo-pdp-cw .cwp-cost__now,
body.igo-pdp-cw .cwp-cost__now .amount,
body.igo-pdp-cw .cwp-cost__now bdi {
	color: var(--cw-brand);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

body.igo-pdp-cw .cwp-deal {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

body.igo-pdp-cw .cwp-deal__tag {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	height: 20px;
	border: 1px solid var(--cw-brand);
	border-radius: 3px;
	font-size: 11.5px;
	line-height: 18px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

body.igo-pdp-cw .cwp-deal__tag b {
	padding: 0 6px;
	background: var(--cw-brand);
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.02em;
}

body.igo-pdp-cw .cwp-deal__tag > span {
	padding: 0 7px;
	background: #fff;
	color: var(--cw-brand);
	font-weight: 600;
}

body.igo-pdp-cw .cwp-deal__was {
	color: var(--cw-muted);
	font-size: 12px;
	line-height: 1.2;
}

body.igo-pdp-cw .cwp-deal__was s {
	text-decoration-thickness: 1px;
}

/* 分期：底色卡太搶戲 → 售價下方靠右一行小字，只有每期金額加粗 */
body.igo-pdp-cw .cwp-instalment {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin-top: 6px;
	color: var(--cw-muted);
	font-size: 13px;
	line-height: 1.5;
}

body.igo-pdp-cw .cwp-instalment__icon {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--cw-muted);
}

body.igo-pdp-cw .cwp-instalment__per,
body.igo-pdp-cw .cwp-instalment__per .amount,
body.igo-pdp-cw .cwp-instalment__per bdi {
	color: var(--cw-ink);
	font-size: 14px;
	font-weight: 700;
}

body.igo-pdp-cw .cwp-cost [hidden] {
	display: none !important;
}

body.igo-pdp-cw .cwp-rule {
	height: 1px;
	margin: 28px 0 0;
	border: 0;
	background: rgba(199, 199, 199, .5);
}

/* ---------- 2.5 規格選擇：把下拉選單換成看得到的色塊 ---------- */

body.igo-pdp-cw .cwp-atc table.variations {
	width: 100%;
	margin: 0;
	border: 0;
}

body.igo-pdp-cw .cwp-atc table.variations,
body.igo-pdp-cw .cwp-atc table.variations tbody,
body.igo-pdp-cw .cwp-atc table.variations tr,
body.igo-pdp-cw .cwp-atc table.variations th,
body.igo-pdp-cw .cwp-atc table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: none;
}

body.igo-pdp-cw .cwp-atc table.variations tr + tr {
	margin-top: 18px;
}

body.igo-pdp-cw .cwp-atc table.variations th.label label {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 10px;
	color: var(--cw-ink);
	font-size: 14px;
	font-weight: 700;
}

/* 主題會在標籤後面自己補一個冒號，選了規格就變成「顏色：霧霾藍：」 */
body.igo-pdp-cw .cwp-atc table.variations th.label label::after {
	content: none !important;
}

/* 原本的下拉選單收起來，用 JS 生出來的色塊取代 */
body.igo-pdp-cw .cwp-atc .cwp-has-swatch select,
body.igo-pdp-cw .cwp-atc .cwp-has-swatch .wd-reset-var {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch {
	position: relative;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--cw-line-2);
	border-radius: 999px;
	background: var(--cw-surface);
	color: var(--cw-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

/* 色卡那一排才寫出選到的顏色名稱（圓點看不出名字） */
body.igo-pdp-cw .cwp-chosen,
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-optpick__chosen {
	color: var(--cw-muted);
	font-size: 13px;
	font-weight: 400;
}

/* 選項標籤：像 Caraway 的 BEST SELLER，壓在膠囊上緣正中間 */
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch__tag {
	position: absolute;
	top: 0;
	left: 50%;
	padding: 1px 6px;
	border-radius: 3px;
	background: var(--cw-ink);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.04em;
	white-space: nowrap;
	transform: translate(-50%, -55%);
	pointer-events: none;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch__tag.is-hot {
	background: var(--cw-brand);
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch__tag.is-gold {
	background: #B9852C;
}

/* 色卡圓點：外圈 42、色塊 32，選到的外圈深色 */
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatches.is-color {
	gap: 6px;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-color {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	min-height: 0;
	height: 42px;
	padding: 0;
	border: 1.5px solid transparent;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-color .cwp-swatch__dot {
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(31, 52, 56, .14);
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-color:hover {
	border-color: var(--cw-line-2);
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-color.is-active {
	border-color: var(--cw-ink);
	box-shadow: none;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-color.is-soldout .cwp-swatch__dot {
	opacity: .35;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-color .cwp-swatch__tag {
	top: -4px;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch:hover {
	border-color: var(--cw-ink-2);
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-active {
	border-color: var(--cw-ink);
	box-shadow: inset 0 0 0 1px var(--cw-ink);
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-soldout {
	border-style: dashed;
	color: var(--cw-muted);
	text-decoration: line-through;
	cursor: not-allowed;
}

/* 2026-11-26：跟目前選的另一個規格湊不起來（或那個組合沒貨）——淡一點、虛線，但點得下去，
   點了會換過去並把衝突的另一個規格清掉。跟「劃掉＝怎麼配都沒貨」區分開。 */
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-unavail {
	border-style: dashed;
	color: var(--cw-muted);
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-color.is-unavail .cwp-swatch__dot {
	opacity: .45;
}

/* ---------- 2.6 加購：勾選卡片（照 Caraway「Don't Forget These」） ----------
   一件一張卡、左邊勾選框、右邊價格；勾了卡片框變深，要選規格的在卡片下緣展開。
   沒有個別的加購鈕 —— 按主要的「加入購物車」一起送出。 */

/* 前面「.cwp-buy .elementor-widget:not(:last-child)」把間距歸零、權重又比較高，
   標題貼著清單框、字被框線壓到 —— 這裡要帶上 .cwp-buy 才蓋得過去 */
body.igo-pdp-cw .cwp-buy .elementor-widget.cwp-addons-head {
	margin-top: 26px;
	margin-bottom: 12px;
}

body.igo-pdp-cw .cwp-addons-head .elementor-heading-title {
	line-height: 1.5;
	color: var(--cw-ink);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
}

body.igo-pdp-cw .cwp-addon-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwp-addon {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--cw-line-2);
	border-radius: 10px;
	background: var(--cw-surface);
	transition: border-color .15s ease, box-shadow .15s ease;
}

body.igo-pdp-cw .cwp-addon[hidden] {
	display: none;
}

body.igo-pdp-cw .cwp-addon.is-checked {
	border-color: var(--cw-ink);
	box-shadow: inset 0 0 0 .5px var(--cw-ink);
}

/* 勾了要選規格卻沒選就按加入購物車 */
body.igo-pdp-cw .cwp-addon.is-missing {
	border-color: var(--cw-brand);
	box-shadow: 0 0 0 3px rgba(184, 24, 32, .12);
}

body.igo-pdp-cw .cwp-addon.is-soldout {
	opacity: .55;
}

body.igo-pdp-cw .cwp-addon__main {
	display: grid;
	grid-template-columns: 20px 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 16px 14px 14px;
	cursor: pointer;
}

body.igo-pdp-cw .cwp-addon.is-soldout .cwp-addon__main {
	cursor: default;
}

/* 原生勾選框藏起來（仍可用鍵盤操作），畫一個自己的 */
body.igo-pdp-cw .cwp-addon__check {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

body.igo-pdp-cw .cwp-addon__box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 1.5px solid #8C8A85;
	border-radius: 3px;
	background: #fff;
	color: #fff;
	transition: background .12s ease, border-color .12s ease;
}

body.igo-pdp-cw .cwp-addon__box svg {
	width: 14px;
	height: 14px;
	opacity: 0;
}

body.igo-pdp-cw .cwp-addon__check:checked + .cwp-addon__box {
	border-color: var(--cw-ink);
	background: var(--cw-ink);
}

body.igo-pdp-cw .cwp-addon__check:checked + .cwp-addon__box svg {
	opacity: 1;
}

body.igo-pdp-cw .cwp-addon__check:focus-visible + .cwp-addon__box {
	outline: 2px solid var(--cw-ink);
	outline-offset: 2px;
}

body.igo-pdp-cw .cwp-addon__img {
	overflow: hidden;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	background: #fff;
}

body.igo-pdp-cw .cwp-addon__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

body.igo-pdp-cw .cwp-addon__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

body.igo-pdp-cw .cwp-addon__line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
}

body.igo-pdp-cw .cwp-addon__name {
	color: var(--cw-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

/* 「介紹 ↗」小膠囊，開置中彈窗 */
/* 主題給 button 設了最小高度與行高，這裡要一起壓回來，不然小膠囊會被撐成 40px */
body.igo-pdp-cw .cwp-addon .cwp-addon__detail {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	height: 22px;
	min-height: 0;
	margin: 0;
	box-shadow: none;
	text-transform: none;
	padding: 0 8px 0 10px;
	border: 1px solid var(--cw-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--cw-ink);
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

body.igo-pdp-cw .cwp-addon__detail svg {
	width: 12px;
	height: 12px;
}

body.igo-pdp-cw .cwp-addon__detail:hover {
	border-color: var(--cw-ink);
}

body.igo-pdp-cw .cwp-addon__note {
	color: var(--cw-ink-2);
	font-size: 12.5px;
	line-height: 1.55;
}

/* 主題把價格染成品牌紅；紅色只留給加入購物車 */
body.igo-pdp-cw .cwp-addon__price,
body.igo-pdp-cw .cwp-addon__price .amount,
body.igo-pdp-cw .cwp-addon__price bdi {
	align-self: start;
	color: var(--cw-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	white-space: nowrap;
}

body.igo-pdp-cw .cwp-addon__price del,
body.igo-pdp-cw .cwp-addon__price del .amount,
body.igo-pdp-cw .cwp-addon__price del bdi {
	display: block;
	color: var(--cw-muted);
	font-size: 12px;
	font-weight: 400;
	text-align: right;
}

body.igo-pdp-cw .cwp-addon__price ins {
	text-decoration: none;
}

/* 勾了之後卡片下緣展開的規格 */
body.igo-pdp-cw .cwp-addon__opts {
	padding: 12px 16px 14px 46px;
	border-top: 1px solid var(--cw-line);
	background: var(--cw-canvas);
}

body.igo-pdp-cw .cwp-addon__opts[hidden] {
	display: none;
}

/* 選規格（加購卡片、彈窗共用） */
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-optpick {
	display: grid;
	gap: 12px;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-optpick__label {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--cw-ink);
	font-size: 13px;
	font-weight: 700;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-optpick__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-optpick.is-compact .cwp-optpick__label {
	margin-bottom: 6px;
	font-size: 12.5px;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-optpick.is-compact .cwp-swatch:not(.is-color) {
	min-height: 34px;
	padding: 6px 14px;
	font-size: 13px;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-optpick.is-compact .cwp-swatch.is-color {
	width: 34px;
	height: 34px;
}

:is(body.igo-pdp-cw, body.igo-ccw) .cwp-optpick.is-compact .cwp-swatch.is-color .cwp-swatch__dot {
	width: 26px;
	height: 26px;
}

/* 加購品超過 3 個：其餘收起來，最下面一顆「再看 N 件」 */
body.igo-pdp-cw .cwp-addon-toggle {
	margin: 0;
}

body.igo-pdp-cw .cwp-addon-toggle__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 42px;
	padding: 0;
	border: 1px dashed var(--cw-line-2);
	border-radius: 10px;
	background: transparent;
	color: var(--cw-ink);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
}

body.igo-pdp-cw .cwp-addon-toggle__btn::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease, margin .2s ease;
}

body.igo-pdp-cw .cwp-addon-toggle__btn[aria-expanded="true"]::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

body.igo-pdp-cw .cwp-addon-toggle__btn:hover {
	border-style: solid;
	background: var(--cw-canvas);
}

/* ---------- 2.7 數量、加入購物車 ---------- */

body.igo-pdp-cw .cwp-atc {
	margin-top: 22px;
}

body.igo-pdp-cw .cwp-atc .single_variation_wrap {
	margin-top: 20px;
}

body.igo-pdp-cw .cwp-atc .woocommerce-variation-add-to-cart,
body.igo-pdp-cw .cwp-atc form.cart:not(.variations_form) {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
}

/* 「別忘了這些」被搬進表單時要自己佔一整列。
   沒規格的商品（例如 PETBERRY 貓砂）表單本身就是「數量｜按鈕」兩欄格子，
   不寫這條加購區會被塞進 132px 的數量那一格。 */
body.igo-pdp-cw .cwp-atc form.cart .cwp-addons-slot {
	grid-column: 1 / -1;
}

body.igo-pdp-cw .cwp-atc .quantity {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 132px;
	height: 52px;
	padding: 0 6px;
	border: 1px solid var(--cw-line-2);
	border-radius: 999px;
	background: var(--cw-surface);
}

body.igo-pdp-cw .cwp-atc .quantity input.qty {
	width: 44px;
	height: 50px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cw-ink);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

body.igo-pdp-cw .cwp-atc .quantity input.minus,
body.igo-pdp-cw .cwp-atc .quantity input.plus {
	width: 36px;
	height: 36px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--cw-band);
	color: var(--cw-ink);
	font-size: 16px;
	line-height: 1;
}

body.igo-pdp-cw .cwp-atc .single_add_to_cart_button {
	width: 100%;
	height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--cw-brand);
	box-shadow: 0 3px 0 var(--cw-brand-deep);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

body.igo-pdp-cw .cwp-atc .single_add_to_cart_button:hover {
	background: var(--cw-brand-deep);
	color: #fff;
}

body.igo-pdp-cw .cwp-atc .single_add_to_cart_button:active {
	box-shadow: 0 1px 0 var(--cw-brand-deep);
	transform: translateY(2px);
}

/* 立即結帳這頁不用（加入購物車後主題會從右側滑出購物車，從那裡結帳） */
body.igo-pdp-cw .cwp-atc .wd-buy-now-btn {
	display: none !important;
}

/* 選規格後按鈕上方會再出現一次價格，標題區已經有了，收掉 */
body.igo-pdp-cw .cwp-atc .woocommerce-variation-price {
	display: none;
}

body.igo-pdp-cw .cwp-atc .woocommerce-variation-availability {
	font-size: 13px;
}

/* ---------- 2.8 安心購 ----------
   只列這件商品真的有的：免運（會員門檻）、鑑賞期、能登記的保固、NCC 證號。
   老闆要左右並排，不要一行一行往下疊。 */

body.igo-pdp-cw .cwp-risk {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--cw-line);
}

body.igo-pdp-cw .cwp-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwp-sec .cwp-trust li,
body.igo-pdp-cw .cwp-trust li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 0 16px;
	border-left: 1px solid var(--cw-line);
	color: var(--cw-ink-2);
	font-size: 13.5px;
	line-height: 1.5;
}

body.igo-pdp-cw .cwp-trust li:first-child {
	padding-left: 0;
	border-left: 0;
}

body.igo-pdp-cw .cwp-trust svg {
	flex: none;
	width: 20px;
	height: 20px;
	color: var(--cw-ink);
}

/* 用格子而不是換行的 flex：flex 換行會把整格撐到滿版，隔壁那項就被擠到下一行 */
body.igo-pdp-cw .cwp-trust li > span {
	display: grid;
	grid-template-columns: auto auto;
	justify-content: start;
	align-items: center;
	gap: 2px 8px;
}

body.igo-pdp-cw .cwp-trust b {
	color: var(--cw-ink);
	font-weight: 700;
}

/* 非會員門檻：第二行小字 */
body.igo-pdp-cw .cwp-trust__sub {
	grid-column: 1 / -1;
	color: var(--cw-muted);
	font-size: 12px;
}

body.igo-pdp-cw .cwp-trust__cta {
	padding: 1px 9px;
	border: 1px solid var(--cw-ink);
	border-radius: 999px;
	color: var(--cw-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	text-decoration: none;
}

body.igo-pdp-cw .cwp-trust__cta:hover {
	background: var(--cw-ink);
	color: #fff;
}

body.igo-pdp-cw .cwp-trust__link {
	color: var(--cw-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- 2.9 買區底下的收合選單 ---------- */

body.igo-pdp-cw .cwp-acc {
	margin-top: 26px;
}

body.igo-pdp-cw .cwp-acc .elementor-accordion,
body.igo-pdp-cw .cwp-faq .elementor-accordion {
	border-top: 1px solid var(--cw-line);
}

body.igo-pdp-cw .cwp-acc .elementor-accordion-item,
body.igo-pdp-cw .cwp-faq .elementor-accordion-item {
	border: 0;
	border-bottom: 1px solid var(--cw-line);
}

body.igo-pdp-cw .cwp-acc .elementor-tab-title,
body.igo-pdp-cw .cwp-faq .elementor-tab-title {
	position: relative;
	padding: 18px 40px 18px 0;
	border: 0;
	background: none;
}

body.igo-pdp-cw .cwp-acc .elementor-accordion-icon,
body.igo-pdp-cw .cwp-faq .elementor-accordion-icon {
	display: none !important;
}

body.igo-pdp-cw .cwp-acc .elementor-accordion-title,
body.igo-pdp-cw .cwp-faq .elementor-accordion-title {
	color: var(--cw-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

/* 自己畫的 ＋／－ */
body.igo-pdp-cw .cwp-acc .elementor-tab-title::before,
body.igo-pdp-cw .cwp-acc .elementor-tab-title::after,
body.igo-pdp-cw .cwp-faq .elementor-tab-title::before,
body.igo-pdp-cw .cwp-faq .elementor-tab-title::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 14px;
	height: 1.5px;
	background: var(--cw-ink);
	transition: transform .25s ease, opacity .25s ease;
}

body.igo-pdp-cw .cwp-acc .elementor-tab-title::after,
body.igo-pdp-cw .cwp-faq .elementor-tab-title::after {
	transform: rotate(90deg);
}

body.igo-pdp-cw .cwp-acc .elementor-tab-title.elementor-active::after,
body.igo-pdp-cw .cwp-faq .elementor-tab-title.elementor-active::after {
	transform: rotate(0deg);
	opacity: 0;
}

body.igo-pdp-cw .cwp-acc .elementor-tab-content,
body.igo-pdp-cw .cwp-faq .elementor-tab-content {
	padding: 0 0 20px;
	border: 0;
	background: none;
	color: var(--cw-ink-2);
	font-size: 14px;
	line-height: 1.9;
}

body.igo-pdp-cw .cwp-acc .elementor-tab-content ul,
body.igo-pdp-cw .cwp-faq .elementor-tab-content ul {
	margin: 0;
	padding-left: 18px;
}

/* 總覽裡的四個重點小圖示 */
body.igo-pdp-cw .cwp-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwp-facts li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--cw-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
}

body.igo-pdp-cw .cwp-facts li::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #C8A24A;
}

/* =============================================================
   3. 下半部各區塊
   ============================================================= */

/* ---------- 3.1 為什麼做這個 ---------- */

body.igo-pdp-cw .cwp-why > .elementor-container {
	margin-right: auto;
	margin-left: auto;
	max-width: 880px;
}

body.igo-pdp-cw .cwp-why .elementor-heading-title {
	font-size: clamp(26px, 3.2vw, 42px);
	line-height: 1.32;
}

/* ---------- 3.2 四個重點卡 ---------- */

body.igo-pdp-cw .cwp-points > .elementor-container {
	align-items: stretch;
}

body.igo-pdp-cw .cwp-points .elementor-widget-wrap,
body.igo-pdp-cw .cwp-points .elementor-widget-icon-box,
body.igo-pdp-cw .cwp-points .elementor-widget-icon-box > .elementor-widget-container {
	height: 100%;
}

body.igo-pdp-cw .cwp-points .elementor-icon-box-wrapper {
	height: 100%;
	padding: 26px 22px;
	border: 1px solid var(--cw-line);
	border-radius: var(--cw-r-card);
	background: var(--cw-surface);
	text-align: center;
}

body.igo-pdp-cw .cwp-points .elementor-icon-box-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0 auto 14px;
	border-radius: 12px;
	background: var(--cw-sand);
	color: #C8892B;
}

body.igo-pdp-cw .cwp-points .elementor-icon-box-icon svg,
body.igo-pdp-cw .cwp-points .elementor-icon {
	width: 24px;
	height: 24px;
	font-size: 22px;
	color: inherit;
	fill: currentColor;
}

body.igo-pdp-cw .cwp-points .elementor-icon-box-title {
	margin: 0 0 6px;
	color: var(--cw-ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

body.igo-pdp-cw .cwp-points .elementor-icon-box-description {
	color: var(--cw-ink-2);
	font-size: 14px;
	line-height: 1.85;
}

/* ---------- 3.3 影片 ---------- */

body.igo-pdp-cw .cwp-video .elementor-widget-video .elementor-wrapper {
	overflow: hidden;
	border-radius: var(--cw-r-img);
	background: var(--cw-band);
}

body.igo-pdp-cw .cwp-video > .elementor-container {
	margin-right: auto;
	margin-left: auto;
	max-width: 980px;
}

/* ---------- 3.4 規格表 ---------- */

body.igo-pdp-cw .cwp-spec > .elementor-container {
	margin-right: auto;
	margin-left: auto;
	max-width: 760px;
}

body.igo-pdp-cw .cwp-spec .shop_attributes {
	width: 100%;
	table-layout: fixed;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--cw-line);
}

/* 主題把每一列做成 flex，欄寬要用 flex 指定，設 width 沒有用 */
body.igo-pdp-cw .cwp-spec .shop_attributes tr {
	display: flex;
	align-items: baseline;
	gap: 16px;
	border: 0;
	border-bottom: 1px solid var(--cw-line);
}

body.igo-pdp-cw .cwp-spec .shop_attributes th {
	flex: 0 0 32%;
}

body.igo-pdp-cw .cwp-spec .shop_attributes td {
	flex: 1 1 auto;
}

body.igo-pdp-cw .cwp-spec .shop_attributes th,
body.igo-pdp-cw .cwp-spec .shop_attributes td {
	padding: 13px 4px;
	border: 0;
	background: none;
	font-size: 14px;
	line-height: 1.7;
	vertical-align: top;
}

body.igo-pdp-cw .cwp-spec .shop_attributes th {
	width: 34%;
	color: var(--cw-muted);
	font-weight: 500;
	text-align: left;
}

body.igo-pdp-cw .cwp-spec .shop_attributes td,
body.igo-pdp-cw .cwp-spec .shop_attributes td p {
	margin: 0;
	color: var(--cw-ink);
	font-weight: 500;
	text-align: left;
}

/* ---------- 3.5 現在買的優惠 ---------- */

body.igo-pdp-cw .cwp-promo > .elementor-container {
	margin-right: auto;
	margin-left: auto;
	max-width: 900px;
}

body.igo-pdp-cw .cwp-promo .elementor-widget-text-editor ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	max-width: none !important;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwp-promo .elementor-widget-text-editor li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 18px;
	border: 1px solid var(--cw-line);
	border-radius: var(--cw-r-card);
	background: var(--cw-surface);
	color: var(--cw-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}

body.igo-pdp-cw .cwp-promo .elementor-widget-text-editor li::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #C8A24A;
}

/* ---------- 3.6 常見問題 ---------- */

body.igo-pdp-cw .cwp-faq > .elementor-container {
	margin-right: auto;
	margin-left: auto;
	max-width: 820px;
}

/* ---------- 3.8 還可以看看 ---------- */

/* 短代碼自己會印一個「相關商品」標題，跟上面那個重覆，收掉 */
body.igo-pdp-cw .cwp-related .wd-el-title,
body.igo-pdp-cw .cwp-related .related.products > h2,
body.igo-pdp-cw .cwp-related .wd-products-element > h2 {
	display: none;
}

body.igo-pdp-cw .cwp-related .price,
body.igo-pdp-cw .cwp-related .price span,
body.igo-pdp-cw .cwp-related .price bdi {
	color: var(--cw-ink);
	font-size: 14px;
	font-weight: 700;
}

body.igo-pdp-cw .cwp-related .wd-entities-title {
	font-size: 14px;
	font-weight: 500;
}

body.igo-pdp-cw .cwp-related .wd-entities-title a {
	color: var(--cw-ink);
}

body.igo-pdp-cw .cwp-related .product-element-top {
	overflow: hidden;
	border-radius: var(--cw-r-img);
	background: var(--cw-band);
}

body.igo-pdp-cw .cwp-related .wd-product-cats {
	display: none;
}

/* =============================================================
   4. 底部固定購買條
   ============================================================= */

.cwp-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 380;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 20px;
	border-top: 1px solid var(--cw-line, #E7E5E0);
	background: rgba(252, 252, 250, .96);
	box-shadow: 0 -6px 24px rgba(31, 52, 56, .07);
	backdrop-filter: blur(8px);
	transform: translateY(105%);
	transition: transform .28s ease;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.cwp-bar.is-on {
	transform: translateY(0);
}

.cwp-bar__thumb {
	flex: none;
	overflow: hidden;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #F4F3EC;
}

.cwp-bar__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cwp-bar__info {
	min-width: 0;
	flex: 1;
}

.cwp-bar__name {
	overflow: hidden;
	color: #1F3438;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cwp-bar__meta {
	color: #737373;
	font-size: 12.5px;
	line-height: 1.5;
}

.cwp-bar__price {
	flex: none;
	color: #1F3438;
	font-size: 17px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.cwp-bar__btn {
	flex: none;
	height: 46px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: #B81820;
	box-shadow: 0 3px 0 #8E1319;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.cwp-bar__btn:active {
	box-shadow: 0 1px 0 #8E1319;
	transform: translateY(2px);
}

@media (max-width: 768.98px) {
	.cwp-bar {
		gap: 10px;
		padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
	}

	.cwp-bar__thumb,
	.cwp-bar__meta {
		display: none;
	}

	.cwp-bar__btn {
		padding: 0 20px;
	}
}

/* 站上本來就有的底部工具列會打架，這頁關掉 */
body.igo-pdp-cw .wd-toolbar {
	display: none !important;
}

/* =============================================================
   5. 手機收尾
   ============================================================= */

@media (max-width: 1024.98px) {
	body.igo-pdp-cw .cwp-buy-sec > .elementor-container {
		gap: 26px;
	}
}

@media (max-width: 768.98px) {
	body.igo-pdp-cw .cwp-h1 {
		font-size: 19px;
	}

	body.igo-pdp-cw .cwp-atc .woocommerce-variation-add-to-cart,
	body.igo-pdp-cw .cwp-atc form.cart:not(.variations_form) {
		grid-template-columns: 116px minmax(0, 1fr);
	}

	body.igo-pdp-cw .cwp-atc .quantity {
		width: 116px;
	}

	body.igo-pdp-cw .cwp-facts {
		grid-template-columns: 1fr;
	}

	body.igo-pdp-cw .cwp-points .elementor-icon-box-wrapper {
		padding: 20px 18px;
	}

	/* 固定購買條不要蓋住頁尾 */
	body.igo-pdp-cw .wd-page-wrapper {
		padding-bottom: 72px;
	}
}

/* =============================================================
   6. KOL 直式短影片（買區「尺寸與重量」底下）
   ============================================================= */

body.igo-pdp-cw .cwp-kol {
	margin-top: 26px;
}

body.igo-pdp-cw .cwp-kol__track::-webkit-scrollbar {
	display: none;
}

body.igo-pdp-cw .cwp-kol__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

body.igo-pdp-cw .cwp-kol__title {
	color: var(--cw-ink);
	font-size: 16px;
	font-weight: 700;
}

body.igo-pdp-cw .cwp-kol__nav {
	display: inline-flex;
	gap: 6px;
}

body.igo-pdp-cw .cwp-kol__nav[hidden] {
	display: none;
}

body.igo-pdp-cw .cwp-kol__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--cw-line-2);
	border-radius: 50%;
	background: #fff;
	color: var(--cw-ink);
	cursor: pointer;
}

body.igo-pdp-cw .cwp-kol__arrow svg {
	width: 16px;
	height: 16px;
}

body.igo-pdp-cw .cwp-kol__arrow:hover:not(:disabled) {
	border-color: var(--cw-ink);
}

body.igo-pdp-cw .cwp-kol__arrow:disabled {
	opacity: .35;
	cursor: default;
}

/* 正在播的那張：框要畫在卡片裡面。外框會被視窗的導角裁掉（見下面產品分享的裁切） */
body.igo-pdp-cw .cwp-kol__card.is-playing {
	outline: 0;
	box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px rgba(31, 52, 56, .45);
}

/* 一次看到兩張半，露出一點讓客人知道可以往右滑 */
body.igo-pdp-cw .cwp-kol__track {
	display: grid;
	grid-auto-columns: calc((100% - 20px) / 2.5);
	grid-auto-flow: column;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

body.igo-pdp-cw .cwp-kol__card {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 9 / 16;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--cw-ink);
	color: #fff;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	scroll-snap-align: start;
}

body.igo-pdp-cw .cwp-kol__card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

body.igo-pdp-cw .cwp-kol__card:hover img {
	transform: scale(1.04);
}

/* 底下漸層壓暗，白字才讀得到 */
body.igo-pdp-cw .cwp-kol__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .72) 100%);
}

body.igo-pdp-cw .cwp-kol__platform {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1;
	padding: 3px 7px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .92);
	color: var(--cw-ink);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

body.igo-pdp-cw .cwp-kol__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .9);
	color: var(--cw-ink);
	transform: translate(-50%, -50%);
	transition: transform .2s ease;
}

body.igo-pdp-cw .cwp-kol__card:hover .cwp-kol__play {
	transform: translate(-50%, -50%) scale(1.08);
}

body.igo-pdp-cw .cwp-kol__play svg {
	width: 18px;
	height: 18px;
	margin-left: 2px;
}

body.igo-pdp-cw .cwp-kol__cap {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

body.igo-pdp-cw .cwp-kol__handle {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

body.igo-pdp-cw .cwp-kol__text {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12px;
	line-height: 1.45;
	opacity: .9;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* =============================================================
   7. 顧客評價
   ============================================================= */

body.igo-pdp-cw .cwp-reviews > .elementor-container {
	margin-right: auto;
	margin-left: auto;
	max-width: 1080px;
}

body.igo-pdp-cw .cwp-reviews:not(:has(.cwp-rv)) {
	display: none;
}

body.igo-pdp-cw .cwp-rv__title {
	margin: 0 0 28px;
	color: var(--cw-ink);
	font-size: clamp(24px, 2.6vw, 36px);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

body.igo-pdp-cw .cwp-rv__layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	align-items: start;
	gap: 48px;
}

/* 左：摘要 */
body.igo-pdp-cw .cwp-rv__summary {
	position: sticky;
	top: 110px;
	padding: 24px;
	border: 1px solid var(--cw-line);
	border-radius: var(--cw-r-card);
	background: var(--cw-surface);
}

body.igo-pdp-cw .cwp-rv__score {
	display: flex;
	align-items: center;
	gap: 14px;
}

body.igo-pdp-cw .cwp-rv__avg {
	color: var(--cw-ink);
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

body.igo-pdp-cw .cwp-rv__score .cwp-star {
	width: 18px;
	height: 18px;
}

body.igo-pdp-cw .cwp-rv__count {
	margin-top: 4px;
	color: var(--cw-muted);
	font-size: 13px;
}

body.igo-pdp-cw .cwp-rv__bars {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwp-sec .cwp-rv__bars li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 30px;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--cw-ink-2);
	font-size: 12.5px;
	line-height: 26px;
}

body.igo-pdp-cw .cwp-rv__bar {
	overflow: hidden;
	height: 6px;
	border-radius: 999px;
	background: var(--cw-band);
}

body.igo-pdp-cw .cwp-rv__bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #C8A24A;
}

body.igo-pdp-cw .cwp-rv__bar-n {
	color: var(--cw-muted);
	text-align: right;
}

body.igo-pdp-cw .cwp-rv__mentions {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--cw-line);
}

body.igo-pdp-cw .cwp-rv__mentions-title {
	margin-bottom: 10px;
	color: var(--cw-ink);
	font-size: 13px;
	font-weight: 700;
}

body.igo-pdp-cw .cwp-rv__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

body.igo-pdp-cw .cwp-rv__chip {
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--cw-sand);
	color: #6B4A12;
	font-size: 12.5px;
	line-height: 1.4;
}

body.igo-pdp-cw .cwp-rv__chip em {
	margin-left: 2px;
	color: #9A7A3E;
	font-style: normal;
}

/* 右：清單 */
body.igo-pdp-cw .cwp-rv__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

body.igo-pdp-cw .cwp-rv__filter {
	height: 34px;
	padding: 0 14px;
	border: 1px solid var(--cw-line-2);
	border-radius: 999px;
	background: var(--cw-surface);
	color: var(--cw-ink-2);
	font-family: inherit;
	font-size: 13px;
	cursor: pointer;
}

body.igo-pdp-cw .cwp-rv__filter.is-active {
	border-color: var(--cw-ink);
	background: var(--cw-ink);
	color: #fff;
}

body.igo-pdp-cw .cwp-rv__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwp-rv__item {
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid var(--cw-line);
}

body.igo-pdp-cw .cwp-rv__item[hidden] {
	display: none;
}

body.igo-pdp-cw .cwp-rv__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body.igo-pdp-cw .cwp-rv__meta time {
	color: var(--cw-muted);
	font-size: 12.5px;
}

body.igo-pdp-cw .cwp-rv__who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin-top: 8px;
	font-size: 13px;
}

body.igo-pdp-cw .cwp-rv__name {
	color: var(--cw-ink);
	font-weight: 700;
}

body.igo-pdp-cw .cwp-rv__verified {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: #3D7A55;
	font-size: 12px;
	font-weight: 500;
}

body.igo-pdp-cw .cwp-rv__verified svg {
	width: 14px;
	height: 14px;
}

body.igo-pdp-cw .cwp-rv__variant {
	color: var(--cw-muted);
	font-size: 12px;
}

body.igo-pdp-cw .cwp-rv h3.cwp-rv__item-title {
	margin: 12px 0 4px;
	color: var(--cw-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

body.igo-pdp-cw p.cwp-rv__text {
	margin: 0;
	color: var(--cw-ink-2);
	font-size: 14.5px;
	line-height: 1.85;
}

body.igo-pdp-cw .cwp-rv__photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

body.igo-pdp-cw .cwp-rv__photo {
	overflow: hidden;
	width: 84px;
	height: 84px;
	padding: 0;
	border: 1px solid var(--cw-line);
	border-radius: 10px;
	background: #fff;
	cursor: zoom-in;
}

body.igo-pdp-cw .cwp-rv__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.igo-pdp-cw .cwp-rv__helpful {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 14px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cw-muted);
	font-family: inherit;
	font-size: 12.5px;
	cursor: pointer;
}

body.igo-pdp-cw .cwp-rv__helpful svg {
	width: 16px;
	height: 16px;
}

body.igo-pdp-cw .cwp-rv__helpful:hover,
body.igo-pdp-cw .cwp-rv__helpful[aria-pressed="true"] {
	color: var(--cw-ink);
}

body.igo-pdp-cw .cwp-rv__helpful[aria-pressed="true"] svg path {
	fill: var(--cw-sand);
}

body.igo-pdp-cw .cwp-rv__empty {
	padding: 32px 0;
	color: var(--cw-muted);
	text-align: center;
}

/* 再看 N 則評價：置中的小膠囊（2026-11-13 老闆：原本整排寬太長、字還偏左） */
body.igo-pdp-cw .cwp-rv__more,
body.igo-pdp-cw #g2lp .cwp-rv__more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	min-width: 180px;
	height: 44px;
	margin: 28px auto 0;
	padding: 0 26px;
	border: 1px solid var(--cw-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--cw-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .02em;
	text-align: center;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(31, 52, 56, .06);
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
body.igo-pdp-cw .cwp-rv__more svg {
	width: 16px;
	height: 16px;
	flex: none;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .15s;
}
@media (hover: hover) {
	body.igo-pdp-cw .cwp-rv__more:hover {
		border-color: var(--cw-ink);
		box-shadow: 0 4px 12px rgba(31, 52, 56, .1);
	}
	body.igo-pdp-cw .cwp-rv__more:hover svg { transform: translateY(2px); }
}

body.igo-pdp-cw .cwp-rv__more:disabled {
	border-color: var(--cw-line-2);
	color: var(--cw-muted);
	cursor: default;
}

@media (max-width: 900px) {
	body.igo-pdp-cw .cwp-rv__layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	body.igo-pdp-cw .cwp-rv__summary {
		position: static;
	}
}

/* =============================================================
   8. 置中彈窗（加購商品／短影片／評價照片）
   ============================================================= */

html.cwp-lock,
html.cwp-lock body {
	overflow: hidden;
}

.cwp-modal {
	--cw-ink: #1F3438;
	--cw-ink-2: #4B5558;
	--cw-muted: #737373;
	--cw-line: #E7E5E0;
	--cw-line-2: #D2CFC7;
	--cw-band: #F4F3EC;
	--cw-sand: #FAF2DD;
	--cw-brand: #B81820;
	--cw-brand-deep: #8E1319;

	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.cwp-modal[hidden] {
	display: none;
}

.cwp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 30, 32, .55);
	opacity: 0;
	transition: opacity .18s ease;
}

.cwp-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	width: min(940px, 100%);
	max-height: min(680px, calc(100vh - 48px));
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(20, 30, 32, .28);
	opacity: 0;
	outline: none;
	transform: translateY(10px) scale(.985);
	transition: opacity .18s ease, transform .18s ease;
}

.cwp-modal.is-open .cwp-modal__backdrop,
.cwp-modal.is-open .cwp-modal__dialog {
	opacity: 1;
}

.cwp-modal.is-open .cwp-modal__dialog {
	transform: none;
}

.cwp-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
	color: var(--cw-ink);
	cursor: pointer;
}

.cwp-modal__close svg {
	width: 20px;
	height: 20px;
}

.cwp-modal__close:hover {
	background: var(--cw-band);
}

.cwp-modal__body {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
}

/* ---------- 8.1 加購商品介紹 ---------- */

.cwp-qv {
	display: grid;
	grid-template-columns: 420px minmax(0, 1fr);
	width: 100%;
	min-height: 0;
	color: var(--cw-ink);
}

.cwp-qv__media {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	background: #FCFCFA;
}

.cwp-qv__stage {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	background: #fff;
}

.cwp-qv__main {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cwp-qv__thumbs {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
}

.cwp-qv__thumb {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 1px solid var(--cw-line);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	opacity: .7;
	transition: opacity .15s ease, box-shadow .15s ease;
}

.cwp-qv__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cwp-qv__thumb:hover,
.cwp-qv__thumb.is-active {
	opacity: 1;
}

.cwp-qv__thumb.is-active {
	box-shadow: 0 0 0 2px var(--cw-ink);
}

.cwp-qv__info {
	display: flex;
	flex-direction: column;
	min-height: 0;
	min-width: 0;
}

.cwp-qv__scroll {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 28px 28px 16px;
	overscroll-behavior: contain;
}

.cwp-qv__brand {
	margin-bottom: 4px;
	color: var(--cw-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .04em;
}

.cwp-qv__name {
	margin: 0 44px 8px 0;
	color: var(--cw-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
}

.cwp-qv__price,
.cwp-qv__price .amount,
.cwp-qv__price bdi {
	color: var(--cw-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.cwp-qv__price del,
.cwp-qv__price del .amount,
.cwp-qv__price del bdi {
	margin-right: 6px;
	color: var(--cw-muted);
	font-size: 14px;
	font-weight: 400;
}

.cwp-qv__price ins {
	text-decoration: none;
}

.cwp-qv__note {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--cw-sand);
}

.cwp-qv__note-label {
	display: block;
	margin-bottom: 2px;
	color: #8A5A11;
	font-size: 12px;
	font-weight: 700;
}

.cwp-qv__note p {
	margin: 0;
	color: var(--cw-ink);
	font-size: 14px;
	line-height: 1.7;
}

.cwp-qv__h {
	margin: 20px 0 8px;
	color: var(--cw-ink);
	font-size: 13px;
	font-weight: 700;
}

.cwp-qv__points {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwp-qv__points li {
	position: relative;
	margin: 0;
	padding: 3px 0 3px 18px;
	color: var(--cw-ink-2);
	font-size: 14px;
	line-height: 1.65;
}

.cwp-qv__points li::before {
	content: "";
	position: absolute;
	top: 12px;
	left: 3px;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #C8A24A;
}

.cwp-qv__gift {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 10px 12px;
	border: 1px dashed #D9B86A;
	border-radius: 10px;
	color: #6B4A12;
	font-size: 13.5px;
	font-weight: 500;
}

.cwp-qv__gift svg {
	flex: none;
	width: 18px;
	height: 18px;
}

.cwp-qv__specs {
	margin: 0;
	border-top: 1px solid var(--cw-line);
}

.cwp-qv__specs > div {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--cw-line);
	font-size: 13.5px;
	line-height: 1.6;
}

.cwp-qv__specs dt {
	color: var(--cw-muted);
	font-weight: 400;
}

.cwp-qv__specs dd {
	margin: 0;
	color: var(--cw-ink);
}

.cwp-qv__caution {
	margin-top: 14px;
	font-size: 13px;
}

.cwp-qv__caution summary {
	color: var(--cw-ink-2);
	font-weight: 500;
	cursor: pointer;
}

.cwp-qv__caution ul {
	margin: 8px 0 0;
	padding-left: 18px;
	color: var(--cw-ink-2);
	line-height: 1.7;
}

/* 購買區固定在彈窗底部 */
.cwp-qv__buy {
	flex: none;
	padding: 14px 28px 18px;
	border-top: 1px solid var(--cw-line);
	background: #fff;
}

.cwp-qv__opt {
	margin-bottom: 12px;
}

.cwp-qv__opt-label {
	margin-bottom: 8px;
	color: var(--cw-ink);
	font-size: 13px;
	font-weight: 700;
}

.cwp-qv__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cwp-qv .cwp-swatch {
	min-height: 38px;
	padding: 7px 16px;
	border: 1px solid var(--cw-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--cw-ink);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
}

.cwp-qv .cwp-swatch:hover {
	border-color: var(--cw-ink-2);
}

.cwp-qv .cwp-swatch.is-active {
	border-color: var(--cw-ink);
	box-shadow: inset 0 0 0 1px var(--cw-ink);
}

.cwp-qv__combo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 10px;
	margin-bottom: 10px;
	font-size: 13px;
}

.cwp-qv__combo-sum {
	color: var(--cw-ink-2);
}

.cwp-qv__combo-ship {
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--cw-band);
	color: var(--cw-ink);
	font-size: 12px;
	font-weight: 500;
}

.cwp-qv__combo-ship.is-free {
	background: #E6F1EA;
	color: #2F6B47;
}

.cwp-qv__row {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 10px;
}

.cwp-qv__qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 48px;
	padding: 0 5px;
	border: 1px solid var(--cw-line-2);
	border-radius: 999px;
}

.cwp-qv__qty button {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--cw-band);
	color: var(--cw-ink);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.cwp-qv__qty input {
	width: 36px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cw-ink);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

.cwp-qv__qty input::-webkit-outer-spin-button,
.cwp-qv__qty input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.cwp-qv__add {
	width: 100%;
	height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--cw-brand);
	box-shadow: 0 3px 0 var(--cw-brand-deep);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.cwp-qv__add:hover:not(:disabled) {
	background: var(--cw-brand-deep);
}

.cwp-qv__add:disabled {
	background: #E4E2DC;
	box-shadow: none;
	color: var(--cw-muted);
	cursor: not-allowed;
}

.cwp-qv__add.is-added,
.cwp-qv__add.is-added:disabled {
	background: #2F6B47;
	box-shadow: none;
	color: #fff;
	cursor: default;
}

.cwp-qv__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px 18px;
	margin-top: 12px;
	font-size: 13px;
}

.cwp-qv__links a,
.cwp-qv__back {
	padding: 0;
	border: 0;
	background: none;
	color: var(--cw-ink-2);
	font-family: inherit;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.cwp-qv__back {
	margin-right: auto;
	color: var(--cw-ink);
	font-weight: 700;
	text-decoration: none;
}

.cwp-qv__back::before {
	content: "← ";
}

.cwp-qv__cart {
	color: var(--cw-ink) !important;
	font-weight: 500;
}

/* ---------- 8.2 短影片 ---------- */

.cwp-modal[data-kind="video"] .cwp-modal__dialog {
	width: auto;
	max-height: calc(100vh - 48px);
	border-radius: 16px;
	background: #000;
}

.cwp-vid {
	width: min(420px, calc((100vh - 48px) * 9 / 16), calc(100vw - 48px));
	aspect-ratio: 9 / 16;
}

.cwp-vid iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- 8.3 評價照片 ---------- */

.cwp-modal[data-kind="photo"] .cwp-modal__dialog {
	width: auto;
	max-height: calc(100vh - 48px);
	background: #fff;
}

.cwp-photo {
	display: block;
	max-width: min(720px, calc(100vw - 48px));
	max-height: calc(100vh - 48px);
	object-fit: contain;
}

/* ---------- 8.4 手機 ---------- */

@media (max-width: 768.98px) {
	.cwp-modal {
		padding: 12px;
	}

	.cwp-modal__dialog {
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
	}

	/* 手機：圖片、介紹整個一起捲，購買區黏在底部 */
	.cwp-qv {
		display: block;
		overflow-y: auto;
		min-height: 0;
		overscroll-behavior: contain;
	}

	.cwp-qv__media {
		padding: 12px 12px 0;
		background: #fff;
	}

	.cwp-qv__thumbs {
		grid-template-columns: repeat(8, 48px);
		overflow-x: auto;
	}

	.cwp-qv__scroll {
		overflow: visible;
		padding: 16px 18px 12px;
	}

	.cwp-qv__buy {
		position: sticky;
		bottom: 0;
		z-index: 2;
	}

	.cwp-qv__buy {
		padding: 12px 18px 16px;
	}
}

/* =============================================================
   9. 產品分享：右下角浮動播放器
   照 Caraway：不壓暗頁面、不擋操作，按 X 才關；多支影片用左右箭頭換
   ============================================================= */

.cwp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
	width: 280px;
	overflow: hidden;
	border-radius: 14px;
	background: #000;
	box-shadow: 0 18px 50px rgba(20, 30, 32, .35);
	opacity: 0;
	pointer-events: none;
	transform: translateY(16px);
	transition: opacity .2s ease, transform .2s ease, bottom .28s ease;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.cwp-float.is-on {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

/* 底部購買條出現時往上讓 */
body:has(.cwp-bar.is-on) .cwp-float {
	bottom: 86px;
}

/* 回到頂端的圓鈕會跟播放器疊在一起 */
body:has(.cwp-float.is-on) .scrollToTop {
	display: none !important;
}

.cwp-float__frame {
	aspect-ratio: 9 / 16;
	background: #000;
}

.cwp-float__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.cwp-float__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 12px;
	background: #fff;
	color: #1F3438;
	font-size: 12.5px;
}

.cwp-float__who {
	overflow: hidden;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cwp-float__count {
	flex: none;
	color: #737373;
	font-variant-numeric: tabular-nums;
}

.cwp-float__close,
.cwp-float__nav {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	color: #1F3438;
	cursor: pointer;
}

.cwp-float__close {
	top: 8px;
	right: 8px;
	width: 30px;
	height: 30px;
}

.cwp-float__close svg {
	width: 16px;
	height: 16px;
}

.cwp-float__nav {
	top: calc(50% - 34px);
	width: 32px;
	height: 32px;
}

.cwp-float__nav[hidden] {
	display: none;
}

.cwp-float__nav svg {
	width: 18px;
	height: 18px;
}

.cwp-float__nav.is-prev {
	left: 8px;
}

.cwp-float__nav.is-next {
	right: 8px;
}

@media (max-width: 768.98px) {
	.cwp-float {
		right: 12px;
		width: 200px;
	}

	body:has(.cwp-bar.is-on) .cwp-float {
		bottom: 76px;
	}
}

.cwp-qv__buy .cwp-optpick {
	margin-bottom: 12px;
}

/* =============================================================
   10. 第五輪調整
   ============================================================= */

/* 加購：點品名開彈窗 */
body.igo-pdp-cw .cwp-addon__name[data-qv] {
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color .15s ease;
}

body.igo-pdp-cw .cwp-addon__name[data-qv]:hover,
body.igo-pdp-cw .cwp-addon__name[data-qv]:focus-visible {
	text-decoration-color: currentColor;
	outline: none;
}

/* 彈窗：加入成功的提示 */
.cwp-qv__done {
	margin-top: 8px;
	color: #2F6B47;
	font-size: 13px;
	font-weight: 700;
}

.cwp-qv__done.is-error {
	color: var(--cw-brand);
}

.cwp-qv__done[hidden] {
	display: none;
}

/* 安心購：主句不斷行 */
body.igo-pdp-cw .cwp-trust__main {
	white-space: nowrap;
}

/* 浮動播放器的箭頭也改長方形，跟列表一致 */
.cwp-float__nav {
	width: 28px;
	height: 56px;
	border-radius: 4px;
	top: calc(50% - 46px);
}

/* 麵包屑搬到圖片區左上方 */
body.igo-pdp-cw .cwp-crumbs.is-over-gallery {
	margin: 0 0 12px;
}

/* 尺寸與重量裡的尺寸圖 */
body.igo-pdp-cw .cwp-dimimgs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

body.igo-pdp-cw .cwp-dimimgs a {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--cw-line);
	border-radius: 8px;
	background: #fff;
	cursor: zoom-in;
}

body.igo-pdp-cw .cwp-dimimgs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* 手機／平板：買區左右留 16px（原本貼齊螢幕邊緣）；安心購放不下並排時改上下，拿掉分隔線 */
@media (max-width: 1024.98px) {
	body.igo-pdp-cw .cwp-buy > .elementor-widget-wrap {
		padding-right: 16px;
		padding-left: 16px;
	}

	body.igo-pdp-cw .cwp-crumbs.is-over-gallery {
		padding-left: 16px;
	}
}

@media (max-width: 480px) {
	body.igo-pdp-cw .cwp-trust {
		gap: 10px 20px;
	}

	body.igo-pdp-cw .cwp-sec .cwp-trust li,
	body.igo-pdp-cw .cwp-trust li {
		padding: 0;
		border-left: 0;
	}
}

@media (max-width: 480px) {
	/* 「加入購物車（含加購 1 件）」不要斷成兩行 */
	body.igo-pdp-cw .cwp-atc .single_add_to_cart_button {
		padding: 0 10px;
		font-size: 14px;
		white-space: nowrap;
	}
}

/* =============================================================
   11. 第六輪調整
   ============================================================= */

/* 價格：折扣小標與原價放左邊，售價靠右 */
body.igo-pdp-cw .cwp-cost {
	justify-content: flex-end;
}

body.igo-pdp-cw .cwp-deal {
	align-items: flex-end;
}

/* 活動小標＋倒數計時 */
body.igo-pdp-cw .cwp-badges {
	align-items: center;
}

body.igo-pdp-cw .cwp-badge.is-promo {
	background: var(--cw-brand);
	color: #fff;
}

body.igo-pdp-cw .cwp-countdown {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--cw-brand);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
}

body.igo-pdp-cw .cwp-countdown[hidden] {
	display: none;
}

body.igo-pdp-cw .cwp-countdown svg {
	width: 15px;
	height: 15px;
}

body.igo-pdp-cw .cwp-countdown__label {
	color: var(--cw-ink-2);
	font-weight: 500;
}

body.igo-pdp-cw .cwp-countdown__time {
	min-width: 9.5em;
}

/* 加購品名後面的小箭頭：讓客人知道可以點 */
body.igo-pdp-cw .cwp-addon__arrow {
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-left: 3px;
	vertical-align: -1px;
	color: var(--cw-muted);
	transition: transform .15s ease, color .15s ease;
}

body.igo-pdp-cw .cwp-addon__name[data-qv]:hover .cwp-addon__arrow {
	color: var(--cw-ink);
	transform: translateX(2px);
}

/* 浮動播放器放大：桌機寬 360（直式 640 高），畫面不夠高就跟著縮，不會超出螢幕 */
.cwp-float {
	width: min(360px, calc((100vh - 190px) * 9 / 16));
	transition: opacity .2s ease, transform .2s ease, bottom .28s ease, width .25s ease;
}

.cwp-float__bar {
	gap: 10px;
}

.cwp-float__count {
	margin-left: auto;
}

/* =============================================================
   12. 第七輪調整
   ============================================================= */

/* 產品分享：箭頭疊在影片上。白色半透明圓鈕＋細線箭頭、淡陰影，
   只在還能往那邊捲的時候出現；桌機滑到列上才顯示，手機一直顯示。 */
body.igo-pdp-cw .cwp-kol__viewport {
	position: relative;
	display: block;
}

body.igo-pdp-cw .cwp-kol__track {
	grid-auto-columns: calc((100% - 20px) / 2.4);
	padding-bottom: 0;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 2px 10px rgba(20, 30, 32, .18);
	color: var(--cw-ink);
	opacity: 0;
	transform: translateY(-50%) scale(.92);
	transition: opacity .2s ease, transform .2s ease, background .15s ease;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	cursor: pointer;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow.is-prev {
	left: 8px;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow.is-next {
	right: 8px;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow svg {
	width: 18px;
	height: 18px;
}

body.igo-pdp-cw .cwp-kol:hover .cwp-kol__arrow:not(:disabled),
body.igo-pdp-cw .cwp-kol .cwp-kol__arrow:focus-visible {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow:hover {
	background: #fff;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow:disabled {
	opacity: 0 !important;
	pointer-events: none;
}

@media (hover: none) {
	body.igo-pdp-cw .cwp-kol .cwp-kol__arrow:not(:disabled) {
		opacity: 1;
		transform: translateY(-50%) scale(1);
	}
}

/* 浮動播放器的左右鈕：同一套圓鈕 */
.cwp-float__nav {
	top: calc(50% - 38px);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

/* 右下角播放器：桌機寬 360（直式 640 高），螢幕不夠高才等比縮。
   手機不為了「不擋商品」而縮小 —— 前提是影片看得清楚，所以盡量用預設大小，
   只有螢幕本身比預設還小時，才縮到剛好塞得下（左右各留 12px、上下避開頁首與購買條）。 */
/* 可用高度＝螢幕高 − 底部購買條與間距（約 90）− 播放器下方名稱列（約 38）− 上方留白 12 */
.cwp-float {
	width: min(360px, calc((100vh - 140px) * 9 / 16));
}

@media (max-width: 768.98px) {
	.cwp-float {
		right: 12px;
		width: min(360px, calc(100vw - 24px), calc((100vh - 130px) * 9 / 16));
		width: min(360px, calc(100vw - 24px), calc((100dvh - 130px) * 9 / 16));
	}
}

/* =============================================================
   13. 第八輪：會員價、NEW 標籤、產品分享滿高箭頭
   ============================================================= */

/* 價格列左邊：會員價（照會員折扣規則真的算出來） */
body.igo-pdp-cw .cwp-member {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
	margin-right: auto;
	padding: 6px 12px 7px;
	border-left: 2px solid #B9852C;
	background: linear-gradient(90deg, rgba(250, 242, 221, .9), rgba(250, 242, 221, 0));
	line-height: 1.3;
}

body.igo-pdp-cw .cwp-member__label {
	color: #8A5A11;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .04em;
}

body.igo-pdp-cw .cwp-member__price {
	color: var(--cw-ink);
	font-size: 17px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

body.igo-pdp-cw .cwp-member__join {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	color: var(--cw-ink-2);
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.igo-pdp-cw .cwp-member__join svg {
	width: 12px;
	height: 12px;
}

body.igo-pdp-cw .cwp-member__join:hover {
	color: var(--cw-ink);
}

@media (max-width: 480px) {
	body.igo-pdp-cw .cwp-member {
		order: 3;
		flex: 1 1 100%;
		flex-direction: row;
		align-items: baseline;
		gap: 8px;
		margin: 4px 0 0;
		padding: 6px 10px;
	}
}

/* 英文標籤（NEW）加一點字距 */
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch__tag {
	letter-spacing: .06em;
}

/* 產品分享：左右挪動改成「上下滿版」的玻璃側欄，跟影片中間的圓形播放鈕一眼就分得出來 */
body.igo-pdp-cw .cwp-kol .cwp-kol__arrow {
	top: 0;
	bottom: 0;
	width: 40px;
	height: auto;
	border-radius: 0;
	background: rgba(252, 252, 250, .78);
	box-shadow: none;
	opacity: 1;
	transform: none;
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
}

/* 箭頭自己不畫圓角 —— 導角一律交給視窗的裁切路徑（見下面的 cwp-kol__viewport）。
   箭頭跟影片各自畫一條 12px 曲線時，兩條線中間會漏出一絲影片（老闆看到的「黑黑的」）。 */
body.igo-pdp-cw .cwp-kol .cwp-kol__arrow.is-prev {
	left: 0;
	border-right: 1px solid rgba(31, 52, 56, .08);
	border-radius: 0;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow.is-next {
	right: 0;
	border-left: 1px solid rgba(31, 52, 56, .08);
	border-radius: 0;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow svg {
	width: 22px;
	height: 22px;
	transition: transform .2s ease;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow:hover {
	background: rgba(255, 255, 255, .95);
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow.is-prev:hover svg {
	transform: translateX(-3px);
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow.is-next:hover svg {
	transform: translateX(3px);
}

body.igo-pdp-cw .cwp-kol:hover .cwp-kol__arrow:not(:disabled),
body.igo-pdp-cw .cwp-kol .cwp-kol__arrow:not(:disabled) {
	opacity: 1;
	transform: none;
}

/* 導角只有這一條曲線：整個視窗（影片列＋兩根箭頭）一起裁掉，
   導角外面只剩頁面底色，不會有半透明玻璃底下透出來的影片邊。
   16px 比卡片的 12px 深一點 —— 老闆說切乾淨一點。 */
body.igo-pdp-cw .cwp-kol__viewport {
	overflow: hidden;
	border-radius: 16px;
}

/* 收合選單裡的影片（清潔與保養） */
body.igo-pdp-cw .cwp-accvids {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

body.igo-pdp-cw .cwp-accvids figure {
	margin: 0;
}

body.igo-pdp-cw .cwp-accvids video {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	background: #111;
	object-fit: cover;
}

body.igo-pdp-cw .cwp-accvids figcaption {
	margin-top: 6px;
	color: var(--cw-muted);
	font-size: 12.5px;
}

/* =============================================================
   14. 加購商品彈窗（第八輪重做）
   客人打開時的順序：大圖 → 名字與價格 → 一句話「跟主商品怎麼搭」→ 重點
   → 兩件合計與免運進度 → 規格細節；底部固定「選規格＋加入購物車」。
   ============================================================= */

.cwp-modal[data-kind="qv"] .cwp-modal__dialog {
	width: min(1040px, 100%);
	max-height: min(720px, calc(100vh - 48px));
	border-radius: 20px;
}

.cwp-qv {
	grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
}

.cwp-qv__media {
	position: relative;
	gap: 14px;
	padding: 28px;
	background: #F4F3EC;
}

.cwp-qv__stage {
	position: relative;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(31, 52, 56, .06);
}

.cwp-qv__main {
	object-fit: contain;
	background: #fff;
}

.cwp-qv__nav {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 2px 10px rgba(20, 30, 32, .14);
	color: #1F3438;
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity .18s ease;
	cursor: pointer;
}

.cwp-qv__nav svg {
	width: 18px;
	height: 18px;
}

.cwp-qv__nav.is-prev {
	left: 12px;
}

.cwp-qv__nav.is-next {
	right: 12px;
}

.cwp-qv__stage:hover .cwp-qv__nav {
	opacity: 1;
}

.cwp-qv__counter {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 2px 9px;
	border-radius: 999px;
	background: rgba(31, 52, 56, .72);
	color: #fff;
	font-size: 11.5px;
	font-variant-numeric: tabular-nums;
}

.cwp-qv__thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
}

.cwp-qv__thumb {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border-radius: 10px;
	opacity: .6;
}

.cwp-qv__scroll {
	padding: 30px 34px 18px;
}

.cwp-qv__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 40px 8px 0;
}

.cwp-qv__brand {
	margin: 0;
	color: #737373;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.cwp-qv__full {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: #4B5558;
	font-size: 12.5px;
	text-decoration: none;
}

.cwp-qv__full svg {
	width: 16px;
	height: 16px;
}

.cwp-qv__full:hover {
	color: #1F3438;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cwp-qv__name {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: .01em;
}

.cwp-qv__price,
.cwp-qv__price .amount,
.cwp-qv__price bdi {
	color: #B81820;
	font-size: 26px;
	font-weight: 800;
}

.cwp-qv__why {
	margin: 18px 0 0;
	color: #1F3438;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.75;
}

.cwp-qv__why-label {
	display: table;
	margin-bottom: 6px;
	padding: 2px 9px;
	border-radius: 4px;
	background: #FAF2DD;
	color: #8A5A11;
	font-size: 12px;
	font-weight: 700;
}

.cwp-qv__points {
	display: grid;
	gap: 12px;
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid #E7E5E0;
	list-style: none;
}

.cwp-qv__points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.cwp-qv__points li::before {
	content: none;
}

.cwp-qv__points li svg {
	flex: none;
	width: 22px;
	height: 22px;
	color: #2F6B47;
}

.cwp-qv__points li b {
	display: block;
	color: #1F3438;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.5;
}

.cwp-qv__points li small {
	display: block;
	color: #737373;
	font-size: 13px;
	line-height: 1.6;
}

.cwp-qv__gift {
	margin-top: 16px;
	border: 0;
	background: #FAF2DD;
}

/* 兩件一起買 */
.cwp-qv__bundle {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
	padding: 14px 16px;
	border: 1px solid #E7E5E0;
	border-radius: 14px;
	background: #FCFCFA;
}

.cwp-qv__bundle.is-free {
	border-color: rgba(47, 107, 71, .35);
	background: #F3F8F4;
}

.cwp-qv__bundle-thumbs {
	display: flex;
	flex: none;
	align-items: center;
	gap: 4px;
}

.cwp-qv__bundle-thumbs img {
	width: 46px;
	height: 46px;
	border: 1px solid #E7E5E0;
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
}

.cwp-qv__plus {
	color: #737373;
	font-size: 14px;
	font-weight: 700;
}

.cwp-qv__bundle-text {
	flex: 1 1 auto;
	min-width: 0;
}

.cwp-qv__bundle-sum {
	color: #4B5558;
	font-size: 13px;
}

.cwp-qv__bundle-sum b {
	color: #1F3438;
	font-size: 15px;
	font-weight: 800;
}

.cwp-qv__bundle-ship {
	margin-top: 1px;
	color: #737373;
	font-size: 12.5px;
}

.cwp-qv__bundle-ship.is-free {
	color: #2F6B47;
	font-weight: 700;
}

.cwp-qv__bar {
	overflow: hidden;
	height: 4px;
	margin-top: 7px;
	border-radius: 999px;
	background: #E7E5E0;
}

.cwp-qv__bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #1F3438;
	transition: width .3s ease;
}

.cwp-qv__bundle.is-free .cwp-qv__bar i {
	background: #2F6B47;
}

/* 規格、須知：收合 */
.cwp-qv__more {
	margin-top: 16px;
	border-top: 1px solid #E7E5E0;
}

.cwp-qv__more summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0 4px;
	color: #1F3438;
	font-size: 14px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.cwp-qv__more summary::-webkit-details-marker {
	display: none;
}

.cwp-qv__more summary::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease;
}

.cwp-qv__more[open] summary::after {
	transform: rotate(-135deg) translateY(-2px);
}

.cwp-qv__more .cwp-qv__specs {
	margin-top: 8px;
}

.cwp-qv__caution {
	margin: 8px 0 0;
	padding-left: 18px;
	color: #4B5558;
	font-size: 13px;
	line-height: 1.7;
}

.cwp-qv__buy {
	padding: 16px 34px 20px;
	box-shadow: 0 -8px 20px rgba(31, 52, 56, .05);
}

.cwp-qv__buy .cwp-optpick {
	margin-bottom: 12px;
}

.cwp-qv__row {
	grid-template-columns: 120px minmax(0, 1fr);
}

.cwp-qv__add {
	height: 50px;
	font-size: 15.5px;
}

@media (max-width: 768.98px) {
	.cwp-modal[data-kind="qv"] .cwp-modal__dialog {
		border-radius: 16px;
	}

	.cwp-qv__media {
		padding: 12px 12px 0;
		background: #fff;
	}

	.cwp-qv__nav {
		opacity: 1;
	}

	.cwp-qv__scroll {
		padding: 16px 18px 12px;
	}

	.cwp-qv__name {
		font-size: 20px;
	}

	.cwp-qv__price,
	.cwp-qv__price .amount,
	.cwp-qv__price bdi {
		font-size: 22px;
	}

	.cwp-qv__why {
		font-size: 15px;
	}

	.cwp-qv__buy {
		padding: 12px 18px 16px;
	}
}

/* =============================================================
   15. 詳情頁（「為什麼我們做這個」往下）
   ============================================================= */

body.igo-pdp-cw .elementor-section.elementor-top-section.cwp-detail-sec {
	padding-top: 0;
	padding-bottom: 0;
}

body.igo-pdp-cw .cwpd {
	--cwpd-gap: clamp(64px, 8vw, 120px);
	color: var(--cw-ink);
}

body.igo-pdp-cw .cwpd h2,
body.igo-pdp-cw .cwpd h3 {
	color: var(--cw-ink);
}

body.igo-pdp-cw .cwpd p {
	margin: 0;
}

/* 目錄：捲到詳情頁就黏在頁首下方，一直到評價結束 */
body.igo-pdp-cw .cwpd-nav {
	position: relative;
	z-index: 60;
	margin: 0 calc(50% - 50vw);
	border-top: 1px solid var(--cw-line);
	border-bottom: 1px solid var(--cw-line);
	background: rgba(252, 252, 250, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

body.igo-pdp-cw .cwpd-nav.is-fixed {
	position: fixed;
	right: 0;
	left: 0;
	margin: 0;
	box-shadow: 0 6px 20px rgba(31, 52, 56, .06);
}

body.igo-pdp-cw .cwpd-nav__inner {
	display: flex;
	justify-content: center;
	gap: clamp(20px, 3vw, 44px);
	overflow-x: auto;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
	scrollbar-width: none;
}

body.igo-pdp-cw .cwpd-nav__inner::-webkit-scrollbar {
	display: none;
}

body.igo-pdp-cw .cwpd-nav__link {
	position: relative;
	flex: none;
	padding: 16px 0 15px;
	color: var(--cw-ink-2);
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

body.igo-pdp-cw .cwpd-nav__link::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	background: var(--cw-ink);
	transform: scaleX(0);
	transition: transform .25s ease;
}

body.igo-pdp-cw .cwpd-nav__link:hover {
	color: var(--cw-ink);
}

body.igo-pdp-cw .cwpd-nav__link.is-active {
	color: var(--cw-ink);
	font-weight: 700;
}

body.igo-pdp-cw .cwpd-nav__link.is-active::after {
	transform: scaleX(1);
}

body.igo-pdp-cw .cwpd-eyebrow {
	margin: 0 0 14px;
	color: var(--cw-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em; /* 小標改中文了，英文那種大字距在中文上會散掉 */
}

body.igo-pdp-cw .cwpd-head {
	margin-bottom: clamp(36px, 4vw, 56px);
	text-align: center;
}

body.igo-pdp-cw .cwpd-h2 {
	margin: 0;
	font-size: clamp(28px, 3.2vw, 44px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
}

/* 1. 開場：一句話＋三個數字＋大圖 */
body.igo-pdp-cw .cwpd-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 6vw, 88px);
	padding: var(--cwpd-gap) 0;
}

body.igo-pdp-cw .cwpd-story__title {
	margin: 0 0 22px;
	font-size: clamp(36px, 4.6vw, 64px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
}

body.igo-pdp-cw .cwpd .cwpd-story__lede {
	max-width: 30em;
	color: var(--cw-ink-2);
	font-size: 17px;
	line-height: 1.95;
}

body.igo-pdp-cw .cwpd-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 36px 0 0;
	padding: 0;
	border-top: 1px solid var(--cw-line-2);
	list-style: none;
}

body.igo-pdp-cw .cwpd-stats li {
	margin: 0;
	padding: 20px 12px 0 0;
}

body.igo-pdp-cw .cwpd-stats li + li {
	padding-left: 18px;
	border-left: 1px solid var(--cw-line);
}

body.igo-pdp-cw .cwpd-stats__num {
	display: block;
	color: var(--cw-ink);
	font-size: clamp(34px, 3.6vw, 48px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}

body.igo-pdp-cw .cwpd-stats__num small {
	margin-left: 3px;
	font-size: .38em;
	font-weight: 700;
	letter-spacing: 0;
}

body.igo-pdp-cw .cwpd-stats__label {
	display: block;
	margin-top: 8px;
	color: var(--cw-muted);
	font-size: 13.5px;
}

body.igo-pdp-cw .cwpd-story__img {
	overflow: hidden;
	margin: 0;
	aspect-ratio: 4 / 5;
	border-radius: 24px;
	background: var(--cw-band);
}

body.igo-pdp-cw .cwpd-story__img img,
body.igo-pdp-cw .cwpd-feature__img img,
body.igo-pdp-cw .cwpd-extra img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 2. 設計特色：一張大圖一句白話，左右交錯 */
body.igo-pdp-cw .cwpd-features {
	margin: 0 calc(50% - 50vw);
	padding: var(--cwpd-gap) calc(50vw - 50%);
	background: var(--cw-band);
}

body.igo-pdp-cw .cwpd-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(36px, 6vw, 88px);
	max-width: 1080px;
	margin: 0 auto;
}

body.igo-pdp-cw .cwpd-feature + .cwpd-feature {
	margin-top: clamp(48px, 6vw, 88px);
}

body.igo-pdp-cw .cwpd-feature.is-flip .cwpd-feature__img {
	order: 2;
}

body.igo-pdp-cw .cwpd-feature__img {
	overflow: hidden;
	margin: 0;
	aspect-ratio: 1 / 1;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(31, 52, 56, .08);
}

body.igo-pdp-cw .cwpd-feature__no {
	display: block;
	margin-bottom: 14px;
	color: #D8D2C2;
	font-size: 64px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
}

body.igo-pdp-cw .cwpd-feature__tag {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--cw-ink);
	font-size: 12.5px;
	font-weight: 700;
}

body.igo-pdp-cw .cwpd-feature__title {
	margin: 0 0 14px;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 800;
	line-height: 1.35;
}

body.igo-pdp-cw .cwpd .cwpd-feature__desc {
	color: var(--cw-ink-2);
	font-size: 16.5px;
	line-height: 1.95;
}

body.igo-pdp-cw .cwpd-extras {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 1080px;
	margin: clamp(56px, 7vw, 96px) auto 0;
}

body.igo-pdp-cw .cwpd-extra {
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
}

body.igo-pdp-cw .cwpd-extra figure {
	overflow: hidden;
	margin: 0;
	aspect-ratio: 16 / 10;
}

body.igo-pdp-cw .cwpd-extra__text {
	padding: 20px 24px 24px;
}

body.igo-pdp-cw .cwpd-extra h3 {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 800;
}

body.igo-pdp-cw .cwpd .cwpd-extra p {
	color: var(--cw-ink-2);
	font-size: 15px;
	line-height: 1.8;
}

/* 3. 影片：點了才載入 */
body.igo-pdp-cw .cwpd-video {
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-video__frame {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 24px;
	background: #1F3438;
	cursor: pointer;
}

body.igo-pdp-cw .cwpd-video__frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.72);
	transition: transform .6s ease, filter .3s ease;
}

body.igo-pdp-cw .cwpd-video__frame:hover img {
	filter: brightness(.62);
	transform: scale(1.02);
}

body.igo-pdp-cw .cwpd-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
	color: var(--cw-brand);
	transform: translate(-50%, -50%);
	transition: transform .25s ease;
}

body.igo-pdp-cw .cwpd-video__frame:hover .cwpd-video__play {
	transform: translate(-50%, -50%) scale(1.06);
}

body.igo-pdp-cw .cwpd-video__play svg {
	width: 34px;
	height: 34px;
	margin-left: 4px;
}

body.igo-pdp-cw .cwpd-video__hint {
	position: absolute;
	bottom: 22px;
	left: 50%;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	transform: translateX(-50%);
}

body.igo-pdp-cw .cwpd-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 4. 尺寸 */
body.igo-pdp-cw .cwpd-size {
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-size__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	max-width: 1080px;
	margin: 0 auto;
}

body.igo-pdp-cw .cwpd-size__img {
	overflow: hidden;
	margin: 0;
	aspect-ratio: 1 / 1;
	border-radius: 24px;
	background: #fff;
}

body.igo-pdp-cw .cwpd-size__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

body.igo-pdp-cw .cwpd-dims {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwpd-dims li {
	margin: 0;
	padding: 18px 16px;
	border-radius: 16px;
	background: var(--cw-band);
	text-align: center;
}

body.igo-pdp-cw .cwpd-dims__label {
	display: block;
	color: var(--cw-muted);
	font-size: 13px;
	font-weight: 700;
}

body.igo-pdp-cw .cwpd-dims__num {
	display: block;
	margin-top: 4px;
	color: var(--cw-ink);
	font-size: clamp(28px, 2.8vw, 38px);
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

body.igo-pdp-cw .cwpd-dims__num small {
	margin-left: 2px;
	font-size: 14px;
	font-weight: 700;
}

body.igo-pdp-cw .cwpd-specs {
	margin: 0;
	border-top: 1px solid var(--cw-line);
}

body.igo-pdp-cw .cwpd-specs > div {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px solid var(--cw-line);
	font-size: 15px;
}

body.igo-pdp-cw .cwpd-specs dt {
	color: var(--cw-muted);
	font-weight: 500;
}

body.igo-pdp-cw .cwpd-specs dd {
	margin: 0;
	color: var(--cw-ink);
	font-weight: 600;
}

body.igo-pdp-cw .cwpd-specs__colors {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

body.igo-pdp-cw .cwpd-specs__colors span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

body.igo-pdp-cw .cwpd-specs__colors i {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(31, 52, 56, .15);
}

body.igo-pdp-cw .cwpd .cwpd-size__tip {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 20px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--cw-sand);
	color: #6B4A12;
	font-size: 14px;
	line-height: 1.7;
}

body.igo-pdp-cw .cwpd-size__tip svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
}

/* 5. 比較表 */
body.igo-pdp-cw .cwpd-compare {
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-compare__table {
	max-width: 980px;
	margin: 0 auto;
}

body.igo-pdp-cw .cwpd-compare__row {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.15fr);
	align-items: stretch;
}

body.igo-pdp-cw .cwpd-compare__row > span {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 20px 22px;
	border-bottom: 1px solid var(--cw-line);
	font-size: 15px;
	line-height: 1.6;
}

body.igo-pdp-cw .cwpd-compare__row > span:first-child {
	color: var(--cw-ink);
	font-weight: 700;
}

body.igo-pdp-cw .cwpd-compare__row .is-them {
	color: var(--cw-muted);
}

body.igo-pdp-cw .cwpd-compare__row .is-us {
	background: #fff;
	color: var(--cw-ink);
	font-weight: 600;
	box-shadow: inset 1px 0 0 var(--cw-ink), inset -1px 0 0 var(--cw-ink);
}

body.igo-pdp-cw .cwpd-compare__row svg {
	flex: none;
	width: 20px;
	height: 20px;
}

body.igo-pdp-cw .cwpd-compare__row .is-them svg {
	color: #B9B5AC;
}

body.igo-pdp-cw .cwpd-compare__row .is-us svg {
	color: #2F6B47;
}

body.igo-pdp-cw .cwpd-compare__row.is-head > span {
	padding-top: 16px;
	padding-bottom: 16px;
	border-bottom-color: var(--cw-line-2);
	color: var(--cw-muted);
	font-size: 13.5px;
	font-weight: 700;
}

body.igo-pdp-cw .cwpd-compare__row.is-head .is-us {
	border-radius: 16px 16px 0 0;
	background: var(--cw-ink);
	color: #fff;
	font-size: 15px;
	box-shadow: none;
}

body.igo-pdp-cw .cwpd-compare__row:last-child .is-us {
	border-radius: 0 0 16px 16px;
	box-shadow: inset 1px 0 0 var(--cw-ink), inset -1px 0 0 var(--cw-ink), inset 0 -1px 0 var(--cw-ink);
}

/* 6. 盒子裡有什麼 */
body.igo-pdp-cw .cwpd-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 28px;
	max-width: 980px;
	margin: var(--cwpd-gap) auto;
	padding: 26px 30px;
	border: 1px dashed var(--cw-line-2);
	border-radius: 20px;
}

body.igo-pdp-cw .cwpd-box__title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
}

body.igo-pdp-cw .cwpd-box__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwpd-box__list li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--cw-ink-2);
	font-size: 15px;
}

body.igo-pdp-cw .cwpd-box__list svg {
	width: 18px;
	height: 18px;
	color: #2F6B47;
}

/* 7. 實際畫面：幾支短影片並排 */
body.igo-pdp-cw .cwpd-vids {
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-vids__strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	max-width: 1080px;
	margin: 0 auto;
}

body.igo-pdp-cw .cwpd-vid {
	margin: 0;
}

body.igo-pdp-cw .cwpd-vid video {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	/* 影片本身就有字，裁切會把字切掉 → 整支縮進框裡 */
	object-fit: contain;
	border-radius: 20px;
	background: #EDECE6;
}

body.igo-pdp-cw .cwpd-vid figcaption {
	margin-top: 10px;
	color: var(--cw-ink-2);
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
}

/* 8. 比一比的表（機型、方案） */
body.igo-pdp-cw .cwpd-tbl {
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-tbl__scroll {
	max-width: 1080px;
	margin: 0 auto;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.igo-pdp-cw .cwpd-tbl__t {
	width: 100%;
	min-width: 660px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 15px;
}

body.igo-pdp-cw .cwpd-tbl__t th,
body.igo-pdp-cw .cwpd-tbl__t td {
	padding: 15px 18px;
	border-bottom: 1px solid var(--cw-line);
	text-align: left;
	line-height: 1.6;
	vertical-align: top;
}

body.igo-pdp-cw .cwpd-tbl__t thead th {
	border-bottom: 1px solid var(--cw-line-2);
	color: var(--cw-ink);
	font-size: 15px;
	font-weight: 800;
	white-space: nowrap;
	/* 主題把表頭轉大寫，品牌名（Petlibro Care）要照原樣 */
	text-transform: none;
	letter-spacing: 0;
}

body.igo-pdp-cw .cwpd-tbl__t thead th.is-hi {
	border-radius: 12px 12px 0 0;
	background: var(--cw-ink);
	color: #fff;
}

body.igo-pdp-cw .cwpd-tbl__t tbody th {
	color: var(--cw-ink);
	font-weight: 700;
	white-space: nowrap;
}

body.igo-pdp-cw .cwpd-tbl__t tbody td {
	color: var(--cw-ink-2);
}

body.igo-pdp-cw .cwpd-tbl__t td.is-hi {
	background: rgba(31, 52, 56, .035);
}

body.igo-pdp-cw .cwpd-tbl__t tbody tr:last-child td.is-hi {
	border-radius: 0 0 12px 12px;
}

body.igo-pdp-cw .cwpd-tbl__yes {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

body.igo-pdp-cw .cwpd-tbl__yes svg {
	flex: none;
	width: 20px;
	height: 20px;
	color: #2F6B47;
}

body.igo-pdp-cw .cwpd-tbl__yes i {
	color: var(--cw-ink-2);
	font-size: 14px;
	font-style: normal;
}

body.igo-pdp-cw .cwpd-tbl__no {
	color: var(--cw-line-2);
}

body.igo-pdp-cw .cwpd-tbl__note {
	max-width: 1080px;
	margin: 16px auto 0;
	color: var(--cw-muted);
	font-size: 13px;
	line-height: 1.9;
}

/* 9. 完整規格 */
body.igo-pdp-cw .cwpd-specbox {
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-specgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 52px;
	max-width: 1080px;
	margin: 0 auto;
}

body.igo-pdp-cw .cwpd-specgrid > div {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--cw-line);
	font-size: 15px;
}

body.igo-pdp-cw .cwpd-specgrid dt {
	color: var(--cw-muted);
	font-weight: 500;
}

body.igo-pdp-cw .cwpd-specgrid dd {
	margin: 0;
	color: var(--cw-ink);
	font-weight: 600;
	line-height: 1.6;
}

/* 舊商品原本的商品說明（還沒填新版詳情頁的商品才出現） */
body.igo-pdp-cw .cwpd-legacy {
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-legacy__body {
	max-width: 860px;
	margin: 0 auto;
	color: var(--cw-ink-2);
	font-size: 15px;
	line-height: 1.85;
}

body.igo-pdp-cw .cwpd-legacy__body p {
	margin: 0 0 .6em;
}

body.igo-pdp-cw .cwpd-legacy__body ul,
body.igo-pdp-cw .cwpd-legacy__body ol {
	margin: 0 0 1.2em;
	padding-left: 1.3em;
}

body.igo-pdp-cw .cwpd-legacy__body li {
	margin-bottom: .5em;
}

body.igo-pdp-cw .cwpd-legacy__body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

body.igo-pdp-cw .cwpd-legacy__body iframe,
body.igo-pdp-cw .cwpd-legacy__body video {
	max-width: 100%;
}

/* 10. 買之前先知道 */
body.igo-pdp-cw .cwpd-notes {
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-notes__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: 1080px;
	margin: 0 auto;
}

body.igo-pdp-cw .cwpd-note {
	padding: 22px 24px;
	border-radius: 16px;
	background: var(--cw-band);
}

body.igo-pdp-cw .cwpd-note h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 800;
}

body.igo-pdp-cw .cwpd-note p {
	margin: 0;
	color: var(--cw-ink-2);
	font-size: 14.5px;
	line-height: 1.8;
}

/* 11. 在這裡買的保障 */
body.igo-pdp-cw .cwpd-assure {
	max-width: 1080px;
	margin: var(--cwpd-gap) auto 0;
	padding: 28px 32px;
	border-radius: 20px;
	background: var(--cw-band);
}

body.igo-pdp-cw .cwpd-assure__title {
	margin: 0 0 20px;
	font-size: 17px;
	font-weight: 800;
	text-align: center;
}

body.igo-pdp-cw .cwpd-assure__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 36px;
}

body.igo-pdp-cw .cwpd-assure__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

body.igo-pdp-cw .cwpd-assure__item svg {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: #2F6B47;
}

body.igo-pdp-cw .cwpd-assure__item h3 {
	margin: 0 0 2px;
	font-size: 15px;
	font-weight: 700;
}

body.igo-pdp-cw .cwpd-assure__item p {
	margin: 0;
	color: var(--cw-ink-2);
	font-size: 14px;
	line-height: 1.7;
}

/* 詳情頁：手機 */
@media (max-width: 900px) {
	body.igo-pdp-cw .cwpd-vids__strip {
		grid-auto-flow: column;
		grid-auto-columns: 70%;
		grid-template-columns: none;
		gap: 14px;
		padding: 0 16px 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	body.igo-pdp-cw .cwpd-vid {
		scroll-snap-align: center;
	}

	body.igo-pdp-cw .cwpd-tbl__scroll,
	body.igo-pdp-cw .cwpd-tbl__note,
	body.igo-pdp-cw .cwpd-specgrid,
	body.igo-pdp-cw .cwpd-notes__grid {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.igo-pdp-cw .cwpd-specgrid,
	body.igo-pdp-cw .cwpd-notes__grid,
	body.igo-pdp-cw .cwpd-assure__grid {
		grid-template-columns: 1fr;
	}

	body.igo-pdp-cw .cwpd-assure {
		margin-left: 16px;
		margin-right: 16px;
		padding: 24px 22px;
	}

	body.igo-pdp-cw .cwpd-tbl__t th,
	body.igo-pdp-cw .cwpd-tbl__t td {
		padding: 13px 14px;
		font-size: 14px;
	}

	body.igo-pdp-cw .cwpd-nav__inner {
		justify-content: flex-start;
		gap: 22px;
		padding: 0 16px;
	}

	body.igo-pdp-cw .cwpd-story,
	body.igo-pdp-cw .cwpd-feature,
	body.igo-pdp-cw .cwpd-size__grid {
		grid-template-columns: 1fr;
	}

	body.igo-pdp-cw .cwpd-story__img {
		order: -1;
		aspect-ratio: 1 / 1;
	}

	body.igo-pdp-cw .cwpd-feature.is-flip .cwpd-feature__img {
		order: 0;
	}

	body.igo-pdp-cw .cwpd-feature__no {
		font-size: 44px;
	}

	body.igo-pdp-cw .cwpd-extras {
		grid-template-columns: 1fr;
	}

	body.igo-pdp-cw .cwpd-story,
	body.igo-pdp-cw .cwpd-video,
	body.igo-pdp-cw .cwpd-size,
	body.igo-pdp-cw .cwpd-compare {
		padding-right: 16px;
		padding-left: 16px;
	}

	body.igo-pdp-cw .cwpd-features {
		padding-right: calc(50vw - 50% + 16px);
		padding-left: calc(50vw - 50% + 16px);
	}

	body.igo-pdp-cw .cwpd-box {
		margin-right: 16px;
		margin-left: 16px;
	}

	/* 比較表：手機改成一題一張卡，上下對照 */
	body.igo-pdp-cw .cwpd-compare__row.is-head {
		display: none;
	}

	body.igo-pdp-cw .cwpd-compare__row {
		grid-template-columns: 1fr;
		margin-bottom: 12px;
		overflow: hidden;
		border: 1px solid var(--cw-line);
		border-radius: 14px;
		background: #fff;
	}

	body.igo-pdp-cw .cwpd-compare__row > span {
		padding: 12px 16px;
	}

	body.igo-pdp-cw .cwpd-compare__row > span:first-child {
		background: var(--cw-band);
		font-size: 14px;
	}

	body.igo-pdp-cw .cwpd-compare__row .is-them::before,
	body.igo-pdp-cw .cwpd-compare__row .is-us::before {
		content: attr(data-col);
		flex: none;
		width: 4.8em;
		font-size: 12px;
		font-weight: 700;
	}

	body.igo-pdp-cw .cwpd-compare__row .is-them::before {
		color: var(--cw-muted);
	}

	body.igo-pdp-cw .cwpd-compare__row .is-us::before {
		color: var(--cw-ink);
	}

	body.igo-pdp-cw .cwpd-compare__row .is-us,
	body.igo-pdp-cw .cwpd-compare__row:last-child .is-us {
		border-bottom: 0;
		border-radius: 0;
		box-shadow: none;
		background: #F3F8F4;
	}

	body.igo-pdp-cw .cwpd-dims li {
		padding: 14px 8px;
	}

	body.igo-pdp-cw .cwpd-stats li + li {
		padding-left: 12px;
	}
}

/* 詳情頁開場大圖：商品圖上有字，用正方形不裁切 */
body.igo-pdp-cw .cwpd-story__img {
	aspect-ratio: 1 / 1;
}

/* 彈窗：「兩件一起買」在左欄圖片下方 */
.cwp-qv__media .cwp-qv__bundle {
	margin-top: auto;
	background: #fff;
}

@media (max-width: 768.98px) {
	.cwp-qv__media .cwp-qv__bundle {
		margin: 12px 0 0;
	}
}

@media (max-width: 900px) {
	body.igo-pdp-cw .cwpd-compare__row .is-them::before,
	body.igo-pdp-cw .cwpd-compare__row .is-us::before {
		width: 6.2em;
		white-space: nowrap;
	}
}

/* 會員價：訪客「NT$1,138 再省 $23」；會員「已再省 $23」 */
body.igo-pdp-cw .cwp-member__price small {
	margin-left: 2px;
	color: #8A5A11;
	font-size: 12px;
	font-weight: 500;
}

body.igo-pdp-cw .cwp-member.is-member .cwp-member__price {
	font-size: 15px;
}

body.igo-pdp-cw .cwp-member.is-member .cwp-member__save {
	color: var(--cw-brand);
}

/* 價格列放不下三塊時會把售價擠到下一行：會員價那塊縮窄、間距收一點 */
body.igo-pdp-cw .cwp-cost {
	flex-wrap: nowrap;
	gap: 6px 10px;
}

body.igo-pdp-cw .cwp-member {
	flex: none;
	padding: 5px 10px 6px;
}

body.igo-pdp-cw .cwp-member__price {
	font-size: 16px;
}

@media (max-width: 480px) {
	body.igo-pdp-cw .cwp-cost {
		flex-wrap: wrap;
	}
}

/* =============================================================
   16. 價格區（第十輪重做）：大字＝實付，下面一行拆帳加減得起來
   ============================================================= */

body.igo-pdp-cw .cwp-cost {
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 10px;
}

body.igo-pdp-cw .cwp-cost__pay {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-left: auto;
	line-height: 1;
}

body.igo-pdp-cw .cwp-cost__caption {
	margin-bottom: 4px;
	color: var(--cw-brand);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
}

body.igo-pdp-cw .cwp-cost__caption:empty {
	display: none;
}

body.igo-pdp-cw .cwp-cost__now {
	color: var(--cw-brand);
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
}

/* 拆帳：原價 NT$1,740 ｜ 10%off −$174 ｜ 會員 98折 −$31 ｜ 共省 $205 */
body.igo-pdp-cw .cwp-breakdown {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 4px 0;
	margin-top: 8px;
	color: var(--cw-muted);
	font-size: 12.5px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

body.igo-pdp-cw .cwp-breakdown[hidden],
body.igo-pdp-cw .cwp-breakdown [hidden] {
	display: none !important;
}

body.igo-pdp-cw .cwp-breakdown > span {
	padding: 0 9px;
	white-space: nowrap;
}

body.igo-pdp-cw .cwp-breakdown > span:not([hidden]) ~ span:not([hidden]) {
	border-left: 1px solid var(--cw-line-2);
}

body.igo-pdp-cw .cwp-breakdown > span:last-child {
	padding-right: 0;
}

body.igo-pdp-cw .cwp-breakdown s {
	text-decoration-thickness: 1px;
}

body.igo-pdp-cw .cwp-breakdown em {
	color: var(--cw-brand);
	font-style: normal;
	font-weight: 700;
}

body.igo-pdp-cw .cwp-breakdown b {
	color: var(--cw-ink);
	font-weight: 700;
}

body.igo-pdp-cw .cwp-breakdown__item.is-member {
	color: #8A5A11;
}

body.igo-pdp-cw .cwp-breakdown__total b {
	color: var(--cw-brand);
}

/* 會員：左邊只是「已套用」的確認，不放數字 */
body.igo-pdp-cw .cwp-member.is-member .cwp-member__price {
	color: #8A5A11;
	font-size: 14px;
	font-weight: 700;
}

body.igo-pdp-cw .cwp-member {
	align-self: center;
}

@media (max-width: 480px) {
	body.igo-pdp-cw .cwp-cost {
		flex-wrap: wrap;
	}

	body.igo-pdp-cw .cwp-breakdown {
		justify-content: flex-end;
	}

	body.igo-pdp-cw .cwp-breakdown > span {
		padding: 0 7px;
	}
}

/* 收合選單（商品自己的設定）：內容物清單、尺寸列 */
body.igo-pdp-cw .cwp-tabs .elementor-tab-content {
	display: none;
}

body.igo-pdp-cw .cwp-contents {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.igo-pdp-cw .cwp-sec .cwp-contents li,
body.igo-pdp-cw .cwp-contents li {
	margin: 0;
	padding-left: 14px;
	position: relative;
	color: var(--cw-ink);
	font-size: 14px;
}

body.igo-pdp-cw .cwp-contents li::before {
	content: "";
	position: absolute;
	top: .75em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #C8A24A;
}

body.igo-pdp-cw .cwp-sizelist {
	margin: 0 0 10px;
	padding: 0;
	border-top: 1px solid var(--cw-line);
	list-style: none;
}

body.igo-pdp-cw .cwp-sizelist li {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 10px;
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px solid var(--cw-line);
	color: var(--cw-ink);
	font-size: 14px;
}

body.igo-pdp-cw .cwp-sizelist li span {
	color: var(--cw-muted);
}

body.igo-pdp-cw .cwp-acc .elementor-tab-content ul.cwp-sizelist,
body.igo-pdp-cw .cwp-acc .elementor-tab-content ul.cwp-contents,
body.igo-pdp-cw .cwp-acc .elementor-tab-content ul.cwp-facts {
	padding-left: 0;
}

/* 第十一輪：10%off 用深色、折掉的金額用紅色；會員價「再省」放在金額下面 */
body.igo-pdp-cw .cwp-breakdown em {
	color: var(--cw-ink);
}

body.igo-pdp-cw .cwp-breakdown b.cwp-cost__sale {
	color: var(--cw-brand);
}

body.igo-pdp-cw .cwp-member:not(.is-member) {
	display: inline-grid;
	grid-template-columns: auto auto;
	align-items: baseline;
	column-gap: 8px;
}

body.igo-pdp-cw .cwp-member:not(.is-member) .cwp-member__label,
body.igo-pdp-cw .cwp-member:not(.is-member) .cwp-member__price {
	grid-column: 1 / -1;
}

body.igo-pdp-cw .cwp-member__more {
	color: #8A5A11;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 480px) {
	body.igo-pdp-cw .cwp-member:not(.is-member) {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 2px 8px;
	}
}

/* =============================================================
   17. 加購彈窗第十一輪優化
   ============================================================= */

/* 縮圖：排成格子全部看得到；選到的那張不用黑框，改成亮起來＋底下一條品牌紅線 */
.cwp-qv__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
	gap: 8px;
	overflow: visible;
}

.cwp-qv__thumb {
	position: relative;
	width: auto;
	height: auto;
	aspect-ratio: 1 / 1;
	border: 1px solid #E7E5E0;
	border-radius: 8px;
	box-shadow: none !important;
	opacity: .55;
	transition: opacity .15s ease;
}

.cwp-qv__thumb::after {
	content: "";
	position: absolute;
	right: 20%;
	bottom: -6px;
	left: 20%;
	height: 2px;
	border-radius: 2px;
	background: transparent;
}

.cwp-qv__thumb.is-active {
	opacity: 1;
}

.cwp-qv__thumb.is-active::after {
	background: #B81820;
}

.cwp-qv__thumb.is-video svg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 22px;
	padding: 3px;
	border-radius: 50%;
	background: rgba(31, 52, 56, .72);
	color: #fff;
	transform: translate(-50%, -50%);
}

/* 主畫面：圖與影片共用同一個正方形框 */
.cwp-qv__stage {
	box-shadow: none;
}

.cwp-qv__video {
	display: block;
	width: 100%;
	height: 100%;
	background: #000;
	object-fit: contain;
}

.cwp-qv__main[hidden],
.cwp-qv__video[hidden] {
	display: none;
}

/* 「這樣買」小收據 */
.cwp-qv__receipt {
	margin-top: auto;
	padding: 14px 16px 16px;
	border-radius: 14px;
	background: #fff;
	font-variant-numeric: tabular-nums;
}

.cwp-qv__receipt-title {
	margin-bottom: 8px;
	color: #737373;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
}

.cwp-qv__receipt-line,
.cwp-qv__receipt-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	line-height: 1.9;
}

.cwp-qv__receipt-line span {
	overflow: hidden;
	color: #4B5558;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cwp-qv__receipt-line b {
	color: #4B5558;
	font-weight: 500;
}

.cwp-qv__receipt-line.is-muted span,
.cwp-qv__receipt-line.is-muted b {
	color: #9a9a9a;
}

.cwp-qv__receipt-line.is-add span,
.cwp-qv__receipt-line.is-add b {
	color: #1F3438;
	font-weight: 700;
}

.cwp-qv__receipt-total {
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px dashed #D2CFC7;
	font-size: 14px;
}

.cwp-qv__receipt-total span {
	color: #1F3438;
	font-weight: 700;
}

.cwp-qv__receipt-total b {
	color: #1F3438;
	font-size: 18px;
	font-weight: 800;
}

.cwp-qv__ship {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	color: #4B5558;
	font-size: 12.5px;
}

.cwp-qv__ship b {
	color: #B81820;
}

.cwp-qv__ship svg {
	width: 18px;
	height: 18px;
}

.cwp-qv__receipt.is-free .cwp-qv__ship {
	color: #2F6B47;
	font-weight: 700;
}

.cwp-qv__receipt .cwp-qv__bar {
	margin-top: 6px;
}

.cwp-qv__receipt.is-free .cwp-qv__bar i {
	background: #2F6B47;
}

/* 加入按鈕：不放金額；送出中轉圈 */
.cwp-qv__add.is-loading {
	position: relative;
	color: transparent !important;
}

.cwp-qv__add.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: cwp-spin .7s linear infinite;
}

@keyframes cwp-spin {
	to {
		transform: rotate(360deg);
	}
}

/* 加入成功：訊息＋回到主商品／去結帳 */
.cwp-qv__done {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #EEF5F0;
	font-weight: 400;
}

.cwp-qv__done.is-error {
	background: #FBEDED;
}

.cwp-qv__done-text {
	margin-right: auto;
	color: #2F6B47;
	font-size: 13.5px;
	font-weight: 700;
}

.cwp-qv__done.is-error .cwp-qv__done-text {
	color: #B81820;
}

.cwp-qv__done.is-error .cwp-qv__back,
.cwp-qv__done.is-error .cwp-qv__checkout {
	display: none;
}

.cwp-qv__done .cwp-qv__back {
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #1F3438;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.cwp-qv__done .cwp-qv__back::before {
	content: "← ";
}

.cwp-qv__done .cwp-qv__checkout {
	padding: 4px 12px;
	border-radius: 999px;
	background: #1F3438;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

/* 加購卡片：已在購物車 */
body.igo-pdp-cw .cwp-addon__incart {
	padding: 1px 7px;
	border-radius: 4px;
	background: #EEF5F0;
	color: #2F6B47;
	font-size: 11.5px;
	font-weight: 700;
}

@media (max-width: 768.98px) {
	.cwp-qv__receipt {
		margin: 12px 0 0;
		background: #FCFCFA;
		border: 1px solid #E7E5E0;
	}
}

/* 彈窗高度：左欄（圖＋縮圖＋收據）不能把右欄的購買區擠出畫面 */
.cwp-modal__body {
	min-height: 0;
}

.cwp-qv {
	height: 100%;
	min-height: 0;
}

.cwp-qv__media {
	display: grid;
	grid-template-rows: minmax(140px, 1fr) auto auto;
	align-content: start;
	min-height: 0;
}

.cwp-qv__stage {
	aspect-ratio: auto;
	min-height: 0;
	height: 100%;
}

.cwp-qv__main,
.cwp-qv__video {
	height: 100%;
	object-fit: contain;
}

.cwp-qv__info {
	min-height: 0;
}

@media (max-width: 768.98px) {
	.cwp-qv__media {
		display: block;
	}

	.cwp-qv__stage {
		aspect-ratio: 1 / 1;
		height: auto;
	}
}

/* 彈窗外框改用格子排，內容才有「明確的高度」可以撐滿（用 flex 時百分比高度算不出來，
   左欄一長，右邊的購買區就被推出畫面外） */
.cwp-modal[data-kind="qv"] .cwp-modal__dialog {
	display: grid;
	grid-template-rows: minmax(0, 1fr);
}

.cwp-modal[data-kind="qv"] .cwp-modal__body {
	overflow: hidden;
	min-height: 0;
}

.cwp-qv {
	grid-template-rows: minmax(0, 1fr);
	overflow: hidden;
}

/* =============================================================
   18. 第十二輪：會員價對齊、彈窗主圖照 petlibro 的做法
   ============================================================= */

/* 會員價那塊的上緣跟售價的上緣對齊 */
body.igo-pdp-cw .cwp-cost {
	align-items: flex-start;
}

body.igo-pdp-cw .cwp-member {
	align-self: flex-start;
	padding-top: 0;
	padding-bottom: 0;
	border-left: 0;
	background: none;
}

body.igo-pdp-cw .cwp-member:not(.is-member) {
	padding-left: 10px;
	border-left: 2px solid #B9852C;
}

body.igo-pdp-cw .cwp-member__label {
	display: block;
	line-height: 1.25;
}

body.igo-pdp-cw .cwp-member__price {
	line-height: 1.2;
}

body.igo-pdp-cw .cwp-cost__pay {
	line-height: 1;
}

/* 彈窗主圖：小圓點在圖裡面、左右箭頭半透明，圖片下面切換「圖片／影片」 */
.cwp-qv__dots {
	position: absolute;
	right: 0;
	bottom: 14px;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 8px;
	transition: transform .2s ease, opacity .2s ease;
}

.cwp-qv__dots[hidden] {
	display: none;
}

.cwp-qv__dots.is-dragging {
	opacity: .5;
	transform: scale(.7);
}

.cwp-qv__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(31, 52, 56, .25);
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}

.cwp-qv__dot.is-on {
	background: #1F3438;
	transform: scale(1.15);
}

.cwp-qv__nav {
	width: 42px;
	height: 42px;
	background: rgba(31, 52, 56, .28);
	box-shadow: none;
	color: #fff;
	opacity: 1;
}

.cwp-qv__nav:hover {
	background: rgba(31, 52, 56, .5);
}

.cwp-qv__nav[hidden] {
	display: none;
}

.cwp-qv__tabs {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 4px;
}

.cwp-qv__tab {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 34px;
	min-height: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: #4B5558;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
}

.cwp-qv__tab svg {
	width: 17px;
	height: 17px;
}

.cwp-qv__tab.is-on {
	background: #1F3438;
	color: #fff;
	font-weight: 700;
}

/* 已經免運的時候不要再喊免運，句子改成灰的一行 */
.cwp-qv__receipt.is-free .cwp-qv__ship {
	color: #4B5558;
	font-weight: 500;
}

/* 小圓點：flex 預設會把高度拉滿，變成橢圓 */
.cwp-qv__dots {
	align-items: center;
}

.cwp-qv__dot {
	flex: none;
	min-height: 0;
	box-shadow: none;
}

/* =============================================================
   19. 加購價（順手價）
   ============================================================= */

body.igo-pdp-cw .cwp-addon__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1px;
}

body.igo-pdp-cw .cwp-addon__deal {
	color: var(--cw-brand);
	font-size: 13.5px;
	font-weight: 800;
}

body.igo-pdp-cw .cwp-addon__price s {
	color: var(--cw-muted);
	font-size: 12px;
	font-weight: 400;
}

/* 彈窗裡的價格：加購價大字、原價劃掉、省多少 */
.cwp-qv__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
}

.cwp-qv__deal-label {
	padding: 2px 8px;
	border-radius: 4px;
	background: #B81820;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.cwp-qv__deal-now {
	color: #B81820;
	font-size: 26px;
	font-weight: 800;
}

.cwp-qv__deal-base {
	color: #737373;
	font-size: 14px;
	font-weight: 400;
}

.cwp-qv__deal-save {
	padding: 2px 8px;
	border: 1px solid #B81820;
	border-radius: 4px;
	color: #B81820;
	font-size: 12px;
	font-weight: 700;
}

/* =============================================================
   20. 第十三輪：會員價金色底回來、加購價強調省多少、彈窗圖示分頁
   ============================================================= */

/* 會員價：金色漸層底（像小錦旗）回來，但上緣仍跟售價對齊 */
body.igo-pdp-cw .cwp-member:not(.is-member) {
	padding: 5px 12px 6px 10px;
	border-left: 2px solid #B9852C;
	background: linear-gradient(90deg, rgba(250, 242, 221, .95), rgba(250, 242, 221, .25));
}

body.igo-pdp-cw .cwp-member.is-member {
	padding: 5px 12px 6px 10px;
	border-left: 2px solid #B9852C;
	background: linear-gradient(90deg, rgba(250, 242, 221, .95), rgba(250, 242, 221, .25));
}

/* 加購清單：省多少最大，實際金額小、原價更小 */
body.igo-pdp-cw .cwp-addon__deal {
	color: var(--cw-brand);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
}

body.igo-pdp-cw .cwp-addon__now {
	color: var(--cw-ink);
	font-size: 12.5px;
	font-weight: 700;
}

body.igo-pdp-cw .cwp-addon__price s {
	font-size: 11.5px;
}

/* 彈窗價格：左邊「加購價・現省 $30」，右邊小字實付與原價 */
.cwp-qv__price.has-deal {
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 2px;
	padding: 10px 14px;
	border: 1px solid rgba(184, 24, 32, .25);
	border-radius: 12px;
	background: linear-gradient(90deg, rgba(184, 24, 32, .07), rgba(184, 24, 32, 0));
}

.cwp-qv__deal-main {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.cwp-qv__deal-kicker {
	color: #B81820;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .02em;
}

.cwp-qv__deal-save {
	color: #B81820;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.01em;
}

.cwp-qv__deal-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.35;
}

.cwp-qv__deal-now {
	color: #1F3438;
	font-size: 16px;
	font-weight: 700;
}

.cwp-qv__deal-base {
	color: #737373;
	font-size: 12.5px;
}

/* 購買區底下那一行（取代原本的「這樣買」收據） */
.cwp-qv__note-line {
	margin-top: 8px;
	color: #737373;
	font-size: 12.5px;
	line-height: 1.6;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.cwp-qv__note-line b {
	color: #1F3438;
	font-weight: 700;
}

.cwp-qv__note-line b.is-ship {
	color: #B81820;
}

.cwp-qv__note-line .is-free {
	color: #2F6B47;
	font-weight: 700;
}

/* 圖片／影片切換只留圖示 */
.cwp-qv__tab {
	width: 40px;
	padding: 0;
	justify-content: center;
}

.cwp-qv__tab svg {
	width: 19px;
	height: 19px;
}

/* =============================================================
   21. 第十四輪：價格區間距、彈窗小點展開成小圖
   ============================================================= */

/* 10%off 那行與分期貼近售價（原本隔太遠） */
body.igo-pdp-cw .cwp-cost {
	margin-top: 14px;
}

body.igo-pdp-cw .cwp-breakdown {
	margin-top: 2px;
}

body.igo-pdp-cw .cwp-instalment {
	margin-top: 2px;
}

/* 小圓點 → 小圖（滑鼠移到圖片區才展開） */
.cwp-qv__dot {
	position: relative;
	overflow: hidden;
	transition: width .18s ease, height .18s ease, border-radius .18s ease, background .15s ease, box-shadow .15s ease;
}

.cwp-qv__dot img {
	display: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cwp-qv__dots.is-expanded {
	bottom: 12px;
	gap: 6px;
}

.cwp-qv__dots.is-expanded .cwp-qv__dot {
	width: 46px;
	height: 46px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(20, 30, 32, .18);
	transform: none;
}

.cwp-qv__dots.is-expanded .cwp-qv__dot img {
	display: block;
}

.cwp-qv__dots.is-expanded .cwp-qv__dot.is-on {
	box-shadow: 0 0 0 2px #1F3438, 0 2px 8px rgba(20, 30, 32, .18);
}

@media (hover: none) {
	.cwp-qv__dots.is-expanded .cwp-qv__dot {
		width: 9px;
		height: 9px;
		border-radius: 50%;
		background: rgba(31, 52, 56, .25);
		box-shadow: none;
	}

	.cwp-qv__dots.is-expanded .cwp-qv__dot img {
		display: none;
	}

	.cwp-qv__dots.is-expanded .cwp-qv__dot.is-on {
		background: #1F3438;
		box-shadow: none;
	}
}

/* =============================================================
   22. 第十五輪：加購價去框、行距收緊、縮圖白框、手機彈窗可以捲
   ============================================================= */

/* 1. 加購價那塊不要外框與底色 */
.cwp-qv__price.has-deal {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

/* 5. 售價、原價、折扣、分期的行距收緊 */
body.igo-pdp-cw .cwp-cost__pay {
	line-height: 1;
}

body.igo-pdp-cw .cwp-breakdown {
	margin-top: 4px;
	line-height: 1.3;
}

body.igo-pdp-cw .cwp-instalment {
	margin-top: 1px;
	line-height: 1.3;
}

body.igo-pdp-cw .cwp-instalment__text {
	line-height: 1.3;
}

body.igo-pdp-cw .cwp-member {
	line-height: 1.2;
}

/* 3. 展開的縮圖：選到的那張改白框（原本是黑框） */
.cwp-qv__dots.is-expanded .cwp-qv__dot {
	box-shadow: 0 0 0 1px rgba(31, 52, 56, .08), 0 2px 8px rgba(20, 30, 32, .18);
}

.cwp-qv__dots.is-expanded .cwp-qv__dot.is-on {
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(31, 52, 56, .12), 0 3px 10px rgba(20, 30, 32, .22);
}

/* 2. 手機上彈窗要能捲（前面 .cwp-qv{overflow:hidden} 把手機的捲動關掉了） */
@media (max-width: 768.98px) {
	.cwp-qv {
		display: block;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}

	.cwp-modal[data-kind="qv"] .cwp-modal__body {
		overflow: visible;
	}

	.cwp-qv__info {
		display: block;
	}

	.cwp-qv__scroll {
		overflow: visible;
	}

	.cwp-qv__buy {
		position: sticky;
		bottom: 0;
		z-index: 2;
	}
}

/* 從加購彈窗按「和主商品一起加入」但主商品規格還沒選：把規格區點亮帶他回去選 */
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatches.is-missing {
	border-radius: 12px;
	box-shadow: 0 0 0 2px #B81820;
	animation: cwp-missing 1.8s ease;
}

@keyframes cwp-missing {
	0%, 100% { box-shadow: 0 0 0 2px rgba(184, 24, 32, 0); }
	15%, 70% { box-shadow: 0 0 0 2px rgba(184, 24, 32, 1); }
}

/* 「現省 $229」的紅框是舊版樣式留下來的，一起拿掉（老闆：把那個外框框刪除） */
.cwp-qv__price.has-deal .cwp-qv__deal-save {
	padding: 0;
	border: 0;
	border-radius: 0;
}

/* =============================================================
   23. 常見問題（內容改由後台設定，見 inc/pdp-faq.php）
   ============================================================= */

body.igo-pdp-cw .cwp-faq {
	max-width: 880px;
	margin: 0 auto;
}

body.igo-pdp-cw .cwp-faq__title {
	margin: 0 0 12px;
	color: var(--cw-ink);
	font-size: 26px;
	font-weight: 700;
	text-align: center;
}

/* =============================================================
   24. 第十七輪：價格三行貼緊、手機彈窗小圖列、加購價的細節
   ============================================================= */

/* 售價／拆帳／分期三行貼在一起，會員價牌在左邊整塊佔住 */
body.igo-pdp-cw .cwp-pricebox {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 10px;
	align-items: start;
	margin-top: 14px;
}

body.igo-pdp-cw .cwp-cost {
	display: contents;
}

body.igo-pdp-cw .cwp-member {
	grid-column: 1;
	grid-row: 1 / span 3;
	align-self: start;
}

body.igo-pdp-cw .cwp-cost__pay {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}

body.igo-pdp-cw .cwp-breakdown {
	grid-column: 2;
	grid-row: 2;
	justify-self: end;
	margin-top: 2px;
}

body.igo-pdp-cw .cwp-instalment {
	grid-column: 2;
	grid-row: 3;
	justify-self: end;
	margin-top: 2px;
}

body.igo-pdp-cw .cwp-breakdown[hidden],
body.igo-pdp-cw .cwp-instalment[hidden] {
	display: none;
}

/* 手機彈窗：小圖直接排在大圖下面（沒有滑鼠可以 hover），
   手指在大圖上滑的時候整排跟著縮小，放開滑順地彈回原來大小。 */
.cwp-qv__media.is-touch .cwp-qv__dots {
	position: static;
	display: flex;
	justify-content: flex-start;
	gap: 8px;
	margin-top: 10px;
	padding-bottom: 2px;
	overflow-x: auto;
	transform: none;
	opacity: 1;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.cwp-qv__media.is-touch .cwp-qv__dots::-webkit-scrollbar {
	display: none;
}

.cwp-qv__media.is-touch .cwp-qv__dot {
	flex: none;
	width: 58px;
	height: 58px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 0 1px #E7E5E0;
	transform: scale(var(--cwp-thumb-scale, 1));
	transform-origin: center top;
	transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .18s ease;
}

.cwp-qv__media.is-touch .cwp-qv__dot img {
	display: block;
}

.cwp-qv__media.is-touch .cwp-qv__dot.is-on {
	box-shadow: 0 0 0 2px #1F3438;
}

/* 手指還按著的時候不做過場，才跟得上手；放開才有那一下彈回 */
.cwp-qv__media.is-touch .cwp-qv__dots.is-dragging .cwp-qv__dot {
	transition: none;
}

/* 購買區底下那行：講「幫你省了多少」 */
.cwp-qv__note-line b.is-save {
	color: #B81820;
	font-weight: 800;
}

/* 手機：小圖那一排是橫向捲的，不能讓它把彈窗撐得比螢幕寬（撐寬之後大圖會被切掉） */
@media (max-width: 768.98px) {
	.cwp-modal[data-kind="qv"] .cwp-modal__body,
	.cwp-qv,
	.cwp-qv__media,
	.cwp-qv__info {
		min-width: 0;
		max-width: 100%;
	}

	.cwp-qv__media.is-touch .cwp-qv__dots {
		width: 100%;
	}
}

/* 手機：購買區固定在最下面，上緣加一層白色漸層，文字捲到底下不會被硬生生切一半 */
@media (max-width: 768.98px) {
	.cwp-qv__buy {
		position: sticky;
	}

	.cwp-qv__buy::before {
		content: "";
		position: absolute;
		top: -20px;
		right: 0;
		left: 0;
		height: 20px;
		background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
		pointer-events: none;
	}
}

/* =============================================================
   25. 第十八輪：行距、購物車省多少、手機小圖外框
   ============================================================= */

/* 售價／原價那行／分期：行距放大 1.5 倍（2px → 3px） */
body.igo-pdp-cw .cwp-breakdown,
body.igo-pdp-cw .cwp-instalment {
	margin-top: 3px;
}

/* 會員價牌裡的三行也放大 1.5 倍 */
body.igo-pdp-cw .cwp-member {
	row-gap: 3px;
}

/* 手機小圖：外框改白色，而且不要被橫向捲動的邊界切掉上緣 */
.cwp-qv__media.is-touch .cwp-qv__dots {
	padding: 4px 2px 6px;
}

.cwp-qv__media.is-touch .cwp-qv__dot {
	box-shadow: 0 0 0 1px #E7E5E0;
}

.cwp-qv__media.is-touch .cwp-qv__dot.is-on {
	box-shadow:
		0 0 0 3px #fff,
		0 0 0 4px rgba(31, 52, 56, .16),
		0 3px 10px rgba(20, 30, 32, .18);
}

/* 這一行字會比較長，放得下兩行 */
.cwp-qv__note-line {
	line-height: 1.7;
}

/* 行距再放大（老闆：3px 看不出來，調到 5px） */
body.igo-pdp-cw .cwp-breakdown,
body.igo-pdp-cw .cwp-instalment {
	margin-top: 5px;
}

body.igo-pdp-cw .cwp-member {
	row-gap: 5px;
}

/* =============================================================
   26. 第十九輪：右下角播放器的控制鈕、產品分享導角切乾淨
   ============================================================= */

/* 播放器的控制鈕原本是三顆半透明白圓圈疊在影片上，跟 YouTube 自己的
   標題列與播放鈕打在一起，看起來很雜。改成：
   影片上只留一顆深色玻璃的關閉鈕，換片的箭頭收進下面那條白色名稱列。 */

.cwp-float .cwp-float__close {
	position: static;
	top: auto;
	right: auto;
	flex: none;
	width: 26px;
	height: 26px;
	min-height: 0;
	margin-left: 4px;
	border-radius: 999px;
	background: #F4F3EC;
	box-shadow: none;
	color: #1F3438;
	transition: background .15s ease;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.cwp-float .cwp-float__close:hover {
	background: #E7E5E0;
}

.cwp-float .cwp-float__close svg {
	width: 14px;
	height: 14px;
}

/* 換片箭頭：收進名稱列，跟張數排成「‹ 1 / 4 ›」 */
.cwp-float__pager {
	display: flex;
	flex: none;
	align-items: center;
	gap: 2px;
	margin-left: auto;
}

.cwp-float__pager:empty {
	display: none;
}

.cwp-float .cwp-float__nav {
	position: static;
	top: auto;
	left: auto;
	right: auto;
	width: 26px;
	height: 26px;
	min-height: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #1F3438;
	transition: background .15s ease, color .15s ease;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.cwp-float .cwp-float__nav:hover {
	background: #F4F3EC;
}

.cwp-float .cwp-float__nav svg {
	width: 17px;
	height: 17px;
}

.cwp-float .cwp-float__count {
	margin: 0;
	padding: 0 2px;
	font-size: 12px;
}

/* 名稱列：左邊帳號（太長就用…收）、右邊換片與關閉 */
.cwp-float__bar {
	gap: 6px;
	padding: 6px 6px 6px 12px;
}

.cwp-float__who {
	flex: 1 1 auto;
	min-width: 0;
}

/* =============================================================
   27. 第二十輪：箭頭不再透影片、關閉鈕加字
   ============================================================= */

/* 產品分享的左右箭頭：本來是半透明玻璃，影片會模糊地透出來，
   深色的畫面就看起來黏黏的。改成跟頁面一樣的不透明底色，
   影片完全透不出來（也不再靠 backdrop-filter）。 */
body.igo-pdp-cw .cwp-kol .cwp-kol__arrow {
	background: var(--cw-canvas);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

body.igo-pdp-cw .cwp-kol .cwp-kol__arrow:hover {
	background: #fff;
}

/* 右下角播放器的關閉：只有一顆 ✕ 找不到（老闆自己也找了一下），
   加上「關閉」二字做成藥丸鈕，並且把底色加深一點。 */
.cwp-float .cwp-float__close {
	gap: 4px;
	width: auto;
	height: 28px;
	padding: 0 11px 0 9px;
	background: #E7E5E0;
	color: #1F3438;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
}

.cwp-float .cwp-float__close:hover {
	background: #D2CFC7;
}

.cwp-float .cwp-float__close svg {
	width: 13px;
	height: 13px;
}

/* =============================================================
   28. 第二十一輪：產品分享改直角、播放器關閉鈕重新設計
   ============================================================= */

/* 弧形導角拉掉。不管是半透明、跟著裁切、還是只留一條曲線，
   曲線上的抗鍼齒都會把後面深色的影片掺進來，看起來就是一條黏黏的弧。
   直角就沒有曲線、也就沒有那條線（卡片自己的 12px 圓角不動）。 */
body.igo-pdp-cw .cwp-kol__viewport {
	border-radius: 0;
}

/* 右下角播放器的關閉：不用文字、也不藏在名稱列裡。
   改成貼在右上角外緘的深色圓鈕（白圈⊕陰影），
   就是一般浮動視窗關閉鈕的位置，不用看字也知道，
   而且在影片外面，不跟 YouTube 自己的音量、設定鈕打在一起。 */
.cwp-float {
	overflow: visible;
}

.cwp-float__frame {
	overflow: hidden;
	border-radius: 14px 14px 0 0;
}

.cwp-float__bar {
	border-radius: 0 0 14px 14px;
}

.cwp-float .cwp-float__close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 4;
	gap: 0;
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 999px;
	background: #1F3438;
	box-shadow: 0 0 0 2px #fff, 0 4px 14px rgba(20, 30, 32, .3);
	color: #fff;
	transform: translate(38%, -38%);
	transition: background .15s ease, transform .15s ease;
}

.cwp-float .cwp-float__close:hover {
	background: #000;
	transform: translate(38%, -38%) scale(1.06);
}

.cwp-float .cwp-float__close svg {
	width: 15px;
	height: 15px;
}

/* =============================================================
   2026-09-30 老闆回饋：不顯示庫存、拿掉「現在買的優惠」、
   常見問題與「還可以看看」色塊疊在一起
   ============================================================= */

/* 有貨時不顯示「81 件庫存」；缺貨的提示照樣留著 */
body.igo-pdp-cw .stock.in-stock {
	display: none !important;
}

body.igo-pdp-cw section.cwp-promo {
	display: none !important;
}

/* 常見問題那一整段不要底色：原本 880px 的限寬（給短代碼用的）也套到了整個區塊，
   米色被切成一塊窄方塊，直接疊在下面滿版米色的「還可以看看」上 */
body.igo-pdp-cw section.cwp-faq {
	max-width: none;
	/* 同一條 .cwp-faq { margin: 0 auto } 也把 .cwp-band 滿版用的負邊距蓋掉，
	   整段往右偏 35px；這裡補回來 */
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	background: transparent !important;
}

/* 2026-09-30 評價來源：從 momo 搬過來的評價要標清楚，不能看起來像本站買家 */
body.igo-pdp-cw .cwp-rv__count-src {
	margin-top: 2px;
	color: var(--cw-muted);
	font-size: 12px;
}

body.igo-pdp-cw .cwp-rv__source {
	display: inline-flex;
	align-items: center;
	padding: 1px 8px;
	border: 1px solid var(--cw-line);
	border-radius: 999px;
	color: var(--cw-muted);
	font-size: 11.5px;
	font-weight: 500;
}

body.igo-pdp-cw .cwp-rv__item[hidden],
body.igo-pdp-cw .cwp-rv__more[hidden] {
	display: none !important;
}

/* =============================================================
   26. 2026-10-05 手機版重排（老闆：照電腦版風格、站在消費者角度）
   只吃 body.cwp-m2（pdp-caraway.js 的 initMobileLayout 加上去；網址加 ?mlayout=old 看舊排法）

   由上往下：麵包屑 → 標籤＋品名＋副標＋評價（先知道這是什麼）
   → 主圖一次一張、右下角「1 / 11」＋下方小圓點（知道還有幾張，跟快速看看一樣）
   → 售價大字＋原價折扣 → 分期一行 → 會員價橫條 → 規格…
   ============================================================= */

@media (max-width: 768.98px) {
	/* 頁首到麵包屑原本空了 70px（三層留白疊起來），收到 12px */
	body.igo-pdp-cw.cwp-m2 .wd-content-layout {
		padding-top: 0;
	}

	body.igo-pdp-cw.cwp-m2 .elementor-section.elementor-top-section.cwp-buy-sec {
		padding-top: 12px;
		padding-bottom: 32px;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-buy-sec .elementor-column:first-child > .elementor-widget-wrap {
		padding-top: 0;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-crumbs.is-over-gallery {
		margin: 0 0 10px;
		padding: 0 16px;
		font-size: 12px;
	}

	/* ---- 品名區（搬到主圖上面） ---- */
	body.igo-pdp-cw.cwp-m2 .cwp-mtop {
		padding: 0 16px 14px;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-mtop .cwp-badges {
		margin-bottom: 8px;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-mtop .cwp-h1 {
		font-size: 20px;
		line-height: 1.4;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-mtop p.cwp-subtitle {
		margin-top: 4px;
		font-size: 13.5px;
		line-height: 1.6;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-mtop .cwp-rate {
		margin-top: 8px;
	}

	/* ---- 主圖：一次一張、滿版寬，左右滑 ---- */
	body.igo-pdp-cw.cwp-m2 .cwp-gallery {
		position: relative;
		padding: 0 16px;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gallery .wd-gallery-images .wd-carousel-wrap {
		gap: 10px;
		scroll-snap-type: x mandatory;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gallery .wd-carousel-item {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	body.igo-pdp-cw.cwp-m2 .woocommerce-product-gallery__image {
		border-radius: 14px;
	}

	/* 右下角「目前第幾張／共幾張」 */
	body.igo-pdp-cw.cwp-m2 .cwp-gcount {
		position: absolute;
		right: 28px;
		bottom: 36px;
		z-index: 3;
		padding: 3px 10px;
		border-radius: 999px;
		background: rgba(31, 52, 56, .62);
		color: #fff;
		font-size: 12px;
		font-weight: 700;
		line-height: 1.5;
		letter-spacing: .04em;
		font-variant-numeric: tabular-nums;
		pointer-events: none;
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gcount[hidden],
	body.igo-pdp-cw.cwp-m2 .cwp-gdots[hidden] {
		display: none;
	}

	/* 圖片下面一排小圓點，目前那張拉長 */
	body.igo-pdp-cw.cwp-m2 .cwp-gdots {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 6px;
		height: 24px;
		margin-top: 4px;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gdots button {
		flex: none;
		width: 6px;
		height: 6px;
		min-height: 0;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: #D2CFC7;
		transition: width .25s ease, background-color .25s ease;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gdots button.is-on {
		width: 18px;
		background: var(--cw-ink);
	}

	/* ---- 價格：售價大字＋原價折扣，分期一行，會員價放下面整條 ---- */
	body.igo-pdp-cw.cwp-m2 .cwp-pricebox {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		margin-top: 4px;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-cost {
		display: contents;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-cost__pay {
		order: 1;
		align-self: flex-start;
		margin-left: 0;
	}

	/* 圖片欄與買區欄上下排時，中間原本還有 28px 的欄距 */
	body.igo-pdp-cw.cwp-m2 .cwp-buy-sec > .elementor-container {
		gap: 0;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-breakdown {
		order: 2;
		align-self: flex-start;
		text-align: left;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-instalment {
		order: 3;
		align-self: flex-start;
		justify-content: flex-start;
		margin-top: 4px;
		text-align: left;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-member {
		order: 4;
		align-self: stretch;
		width: auto;
		max-width: none;
		margin-top: 12px;
	}
}

/* =============================================================
   27. 2026-10-05 第二輪：主圖下改小圖列、價格區（會員價）重排
   ============================================================= */

@media (max-width: 768.98px) {
	/* ---- 主圖下面一排小圖（取代小圓點），選到的那張深色框 ---- */
	body.igo-pdp-cw.cwp-m2 .cwp-gthumbs {
		display: flex;
		gap: 8px;
		margin-top: 10px;
		padding: 3px 2px 4px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gthumbs::-webkit-scrollbar {
		display: none;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gthumbs[hidden] {
		display: none;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gthumb {
		position: relative;
		flex: none;
		width: 56px;
		height: 56px;
		min-height: 0;
		padding: 0;
		overflow: hidden;
		border: 0;
		border-radius: 10px;
		background: #fff;
		box-shadow: 0 0 0 1px var(--cw-line);
		opacity: .62;
		scroll-snap-align: center;
		transition: opacity .2s ease, box-shadow .2s ease;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gthumb img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-gthumb.is-on {
		opacity: 1;
		box-shadow: 0 0 0 2px var(--cw-ink);
	}

	/* 影片那一格：小圖中間畫一個播放三角形 */
	body.igo-pdp-cw.cwp-m2 .cwp-gthumb.is-video::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 0;
		height: 0;
		margin: -7px 0 0 -4px;
		border-style: solid;
		border-width: 7px 0 7px 11px;
		border-color: transparent transparent transparent #fff;
		filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
	}

	/* 舊的小圓點不再用 */
	body.igo-pdp-cw.cwp-m2 .cwp-gdots {
		display: none;
	}

	/* 「1 / 11」：小圖列在下面了，位置往下貼近圖片底 */
	body.igo-pdp-cw.cwp-m2 .cwp-gcount {
		bottom: 82px;
	}

	/* ---- 價格區 ----
	   你的會員價（小字）
	   $2,734  [共省 $756]
	   原價 $3,490 ・ 20%off −$700 ・ 小GoGo再折 −$56   ← 靠左、自然換行，不再擠到右邊
	   信用卡 3 期 0 利率，每期 $912
	   （會員：下面那條「已套用 98折」跟上一行重複，收起來；訪客的「免費加入」橫條保留） */
	body.igo-pdp-cw.cwp-m2 .cwp-cost__pay {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		align-self: stretch;
		column-gap: 10px;
		row-gap: 2px;
		text-align: left;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-cost__caption {
		flex: 0 0 100%;
		margin: 0;
		color: var(--cw-brand);
		font-size: 12.5px;
		font-weight: 700;
		line-height: 1.4;
		text-align: left;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-cost__caption:empty {
		display: none;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-cost__pay .cwp-breakdown__total {
		display: inline-flex;
		align-items: center;
		height: 26px;
		padding: 0 10px;
		border: 0;
		border-radius: 999px;
		background: #FBEDEC;
		color: #A3262C;
		font-size: 13px;
		font-weight: 700;
		white-space: nowrap;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-cost__pay .cwp-breakdown__total[hidden] {
		display: none;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-cost__pay .cwp-breakdown__total b {
		margin-left: 3px;
		color: inherit;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-breakdown {
		justify-content: flex-start;
		gap: 2px 0;
		margin-top: 6px;
		font-size: 13px;
	}

	/* 拆帳之間改用小圓點分隔（直線在換行時會孤零零掛在行首） */
	body.igo-pdp-cw.cwp-m2 .cwp-breakdown > span {
		padding: 0;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-breakdown > span:not([hidden]) ~ span:not([hidden]) {
		border-left: 0;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-breakdown > span:not([hidden]) ~ span:not([hidden])::before {
		content: "・";
		margin: 0 4px;
		color: var(--cw-line-2);
	}

	body.igo-pdp-cw.cwp-m2 .cwp-instalment {
		margin-top: 6px;
	}

	body.igo-pdp-cw.cwp-m2 .cwp-member.is-member {
		display: none;
	}
}

/* =============================================================
   28. 2026-10-05 選顏色不換頁（pdp-caraway.js initColorSwap）：抓新顏色的時候照片、價格淡一下
   ============================================================= */
body.igo-pdp-cw .cwp-gallery,
body.igo-pdp-cw .cwp-pricebox {
	transition: opacity .2s ease;
}

body.igo-pdp-cw.cwp-swapping .cwp-gallery,
body.igo-pdp-cw.cwp-swapping .cwp-pricebox {
	opacity: .45;
}

body.igo-pdp-cw.cwp-swapping .igo-colors {
	pointer-events: none;
}

/* 「1 / N」與小圖列是手機版主圖才用的（第 26、27 段），
   電腦版主圖本來就全部攤開，不能讓它們露出來 */
@media (min-width: 769px) {
	body.igo-pdp-cw .cwp-gcount,
	body.igo-pdp-cw .cwp-gthumbs {
		display: none !important;
	}
}

/* 長圖介紹：原廠給的長條詳情圖，一張接一張、中間不留縫（2026-10-15） */
body.igo-pdp-cw .cwpd-long {
	max-width: 860px;
	margin: 0 auto;
	padding: var(--cwpd-gap) 0 0;
}

body.igo-pdp-cw .cwpd-long__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
}

/* 買家實拍影片（2026-10-20「寫評價」頁可傳影片） */
body.igo-pdp-cw .cwp-rv__videos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
body.igo-pdp-cw .cwp-rv__video { width: 240px; max-width: 100%; aspect-ratio: 9 / 16; max-height: 320px; border-radius: 10px; background: #000; object-fit: contain; }

/* =============================================================
   2026-11-03 訪客「會員價」改成一顆按鈕，按了從右邊滑出這件的會員價
   （inc/pdp-caraway.php 的 is-joinbtn ＋ #cwp-tpl-join；彈窗借頁尾的 .igft-side）
   ============================================================= */
body.igo-pdp-cw .cwp-member.is-joinbtn {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	padding: 11px 14px;
	border: 1.5px solid #E2B45C;
	border-radius: 12px;
	background: #FDF6E6;
	color: #2B2522;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s;
}
body.igo-pdp-cw .cwp-member.is-joinbtn:hover { background: #FBEFD3; }
body.igo-pdp-cw .cwp-member.is-joinbtn .cwp-member__label {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 6px;
	background: #C98A12;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}
body.igo-pdp-cw .cwp-member.is-joinbtn .cwp-member__more {
	flex: 1 1 auto;
	color: #2B2522;
	font-size: 15px;
	line-height: 1.45;
}
body.igo-pdp-cw .cwp-member.is-joinbtn .cwp-member__more b { color: #B81820; font-weight: 700; }
body.igo-pdp-cw .cwp-member.is-joinbtn .cwp-member__go {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: #A86F0C;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
body.igo-pdp-cw .cwp-member.is-joinbtn .cwp-member__go svg { width: 14px; height: 14px; }

/* 滑出來的內容（沿用頁尾「會員有什麼好處」的 .igo-mp 樣式，只補這幾個） */
.igo-mp.cwp-join .igo-mp__hero { background: #FDF6E6; border-color: #F1E2C2; }
.igo-mp.cwp-join .cwp-join__lead { margin-top: 0; font-size: 14px; }
.igo-mp.cwp-join .igo-mp__num span { color: #B81820; }
.igo-mp.cwp-join .cwp-join__save {
	display: inline-block;
	margin-top: 8px;
	padding: 3px 14px;
	border: 1px solid #E5E5E7;
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 700;
}
.igo-mp.cwp-join .igo-mp__perks { grid-template-columns: 1fr; }
.igo-mp.cwp-join .igo-mp__perk { align-items: center; }
.igo-mp.cwp-join .igo-mp__perk span b { display: inline; margin: 0; font-size: inherit; color: #1F1F22; }
.igo-mp.cwp-join .cwp-join__note { margin: 14px 2px 0; font-size: 13px; line-height: 1.6; color: #85858E; }

/* ---------- 3.9 搭配這件一起用／大家都在看（inc/pdp-recs.php） ---------- */
.cwpd-recs { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.cwpd-recs .cwp-recs { margin-top: 64px; }
.cwpd-recs .cwp-recs .cwpd-head { margin-bottom: 20px; }
.cwpd-recs .products { margin-bottom: 0; }
@media (max-width: 768.98px) {
	.cwpd-recs { padding: 0 16px; }
	.cwpd-recs .cwp-recs { margin-top: 44px; }
}

/* 快速看看：購買區最下面一行，左邊金額、右邊「查看商品詳情 →」（老闆 11/03 選 E） */
.cwp-qv__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.cwp-qv__foot .cwp-qv__note-line { margin-top: 0; text-align: left; flex: 1 1 auto; min-width: 0; }
.cwp-qv__detail { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; color: #1F3438; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.cwp-qv__detail:hover { color: #B81820; }
.cwp-qv__detail svg { width: 14px; height: 14px; }

/* 2026-11-26 加購區：沒貨的規格反灰不給選；加購失敗講清楚是哪一件 */
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-swatch.is-off {
	opacity: .38;
	text-decoration: line-through;
	cursor: not-allowed;
}
:is(body.igo-pdp-cw, body.igo-ccw) .cwp-addon-error {
	margin: 8px 0 0;
	color: #b42318;
	font-size: 13px;
	line-height: 1.5;
}

/**
 * 品牌專頁・完整版（影片／動畫／特效）
 *
 * 只吃 body.igo-brandfull，不會影響站上其他頁。
 * 品牌色由 PHP 帶進來（--bf-main 等），換品牌不用動這一份。
 *
 * 動的東西都集中在最下面「動畫」那一段，
 * 系統設定「減少動態效果」的人會自動全部關掉。
 */

body.igo-brandfull {
	--bf-canvas: #FFFFFF;
	--bf-line:   #E6E4DE;
	--bf-text:   #1F1F1C;
	--bf-muted:  #7C7A72;

	background: var(--bf-canvas);
}

body.igo-brandfull .wd-page-content,
body.igo-brandfull .wd-page-content.main-page-wrapper {
	background-color: var(--bf-canvas) !important;
	padding-top: 0;
}

/* ⚠️ 主題把內容放在 container ＋ 格線容器裡，格線子元素 min-width:auto 縮不下去，
   手機會整頁被切掉右邊（分類頁、首頁、入口頁、品牌頁都踩過同一個坑）。 */
body.igo-brandfull #main-content {
	display: block;
	max-width: none;
	min-width: 0;
	padding-left: 0;
	padding-right: 0;
}

.bf {
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	color: var(--bf-text);
	font-size: 15px;
	line-height: 1.75;
	min-width: 0;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

.bf *,
.bf *::before,
.bf *::after {
	box-sizing: border-box;
}

/* ⚠️ 站上的圖片最佳化外掛會把每張 <img> 包進一層 <picture>（為了送 webp）。
   那一層沒有高度，凡是「圖片填滿格子」的版面都會塌掉，格子變成一片空白。
   display:contents 讓它在排版上不存在，圖片就直接對到外面的格子。 */
.bf picture {
	display: contents;
}

.bf-wrap {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 24px;
}

.bf-demo {
	background: #FDF3DE;
	border-bottom: 1px solid #F0DFB6;
	padding: 10px 24px;
	font-size: 13px;
	color: #6B5416;
	text-align: center;
}

.bf-demo a {
	color: #6B5416;
	text-decoration: underline;
	text-underline-offset: 3px;
	margin-left: 10px;
}

.bf-sec {
	padding: 78px 0 0;
}

.bf-h2 {
	margin: 0 0 28px;
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 900;
	line-height: 1.4;
	color: var(--bf-text);
}

/* ------------------------------------------------------------------
 * 按鈕
 * ------------------------------------------------------------------ */

.bf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	min-height: 0;
	padding: 0 32px;
	border: 1px solid #fff;
	border-radius: 999px;
	background: #fff;
	color: var(--bf-ink) !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.bf-btn:hover {
	color: var(--bf-ink) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.bf-btn.is-dark {
	border-color: var(--bf-main);
	background: var(--bf-main);
	color: #fff !important;
}

.bf-btn.is-dark:hover {
	color: #fff !important;
}

.bf-btn.is-ghost {
	border-color: var(--bf-main);
	background: transparent;
	color: var(--bf-ink) !important;
}

.bf-btn.is-ghost:hover {
	background: var(--bf-soft);
	color: var(--bf-ink) !important;
}

/* 橫向跑馬燈共用的動畫（印兩份，跑完一半接回起點）*/
@keyframes bf-run {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------
 * 影片主視覺
 * ------------------------------------------------------------------ */

.bf-hero {
	position: relative;
	height: min(78vh, 660px);
	min-height: 440px;
	background: #14170F;
	overflow: hidden;
}

.bf-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility .8s;
}

.bf-slide.is-on {
	opacity: 1;
	visibility: visible;
}

.bf-slide__video,
.bf-story__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 換片的時候慢慢推進來，不要硬切 */
	transform: scale(1.06);
	transition: transform 8s ease-out;
}

.bf-slide.is-on .bf-slide__video {
	transform: scale(1);
}

.bf-slide__scrim,
.bf-story__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(10, 14, 6, .72) 0%, rgba(10, 14, 6, .28) 46%, rgba(10, 14, 6, .1) 100%),
		linear-gradient(to right, rgba(10, 14, 6, .5) 0%, rgba(10, 14, 6, 0) 62%);
}

.bf-slide__text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 72px;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 24px;
	color: #fff;
}

.bf-slide__eyebrow,
.bf-slide__title,
.bf-slide__lead,
.bf-slide__text .bf-btn {
	opacity: 0;
	transform: translateY(18px);
}

/* 這一張輪到了，文字一段一段浮上來 */
.bf-slide.is-on .bf-slide__eyebrow    { animation: bf-up .7s .15s ease both; }
.bf-slide.is-on .bf-slide__title      { animation: bf-up .7s .28s ease both; }
.bf-slide.is-on .bf-slide__lead       { animation: bf-up .7s .42s ease both; }
.bf-slide.is-on .bf-slide__text .bf-btn { animation: bf-up .7s .54s ease both; }

@keyframes bf-up {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

.bf-slide__eyebrow {
	display: inline-block;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .34);
	backdrop-filter: blur(6px);
	border-radius: 999px;
	padding: 5px 16px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 16px;
}

.bf-slide__title {
	margin: 0;
	font-size: clamp(30px, 4.6vw, 62px);
	font-weight: 900;
	line-height: 1.16;
	color: #fff;
	text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}

.bf-slide__lead {
	margin: 14px 0 28px;
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.85;
	color: rgba(255, 255, 255, .92);
	max-width: 30em;
	text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}

/* 用滑鼠拖曳換片（沒有左右箭頭）*/
.bf-hero {
	cursor: grab;
	/* 拖的時候不要選到文字；手機直向照樣可以捲頁 */
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
}

.bf-hero.is-drag {
	cursor: grabbing;
}

.bf-slide.is-on {
	/* 拖的時候整張跟著手走一點點，放開再彈回去或換片 */
	transform: translateX(var(--dx, 0px));
	transition: transform .32s cubic-bezier(.22, .8, .3, 1);
}

.bf-hero.is-drag .bf-slide.is-on {
	transition: none;
}

/* 圓點：現在播到哪裡會有一條進度 */
.bf-hero__dots {
	position: absolute;
	right: 24px;
	bottom: 78px;
	display: flex;
	gap: 10px;
	z-index: 3;
}

.bf-hero__dots button {
	position: relative;
	width: 42px;
	height: 3px;
	/* ⚠️ 主題給所有按鈕設了 min-height:42px，不歸零的話這條會被撐成圓點 */
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .34);
	cursor: pointer;
	overflow: hidden;
}

.bf-hero__dots button i {
	position: absolute;
	inset: 0;
	display: block;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
}

.bf-hero__dots button.is-on i {
	animation: bf-bar var(--bf-dur, 7s) linear forwards;
}

@keyframes bf-bar {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

/* 往下看的箭頭，會一直輕輕跳 */
.bf-hero__down {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	width: 26px;
	height: 26px;
	z-index: 3;
}

.bf-hero__down i {
	display: block;
	width: 12px;
	height: 12px;
	margin: 6px auto;
	border-right: 2px solid rgba(255, 255, 255, .8);
	border-bottom: 2px solid rgba(255, 255, 255, .8);
	transform: rotate(45deg);
	animation: bf-bob 1.9s ease-in-out infinite;
}

@keyframes bf-bob {
	0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .55; }
	50%      { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* ------------------------------------------------------------------
 * 依系列逛
 * ------------------------------------------------------------------ */

.bf-groups {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.bf-group {
	display: block;
	background: var(--bf-soft);
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .25s ease, box-shadow .25s ease;
}

.bf-group:hover {
	color: inherit;
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(31, 31, 28, .12);
}

.bf-group__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.bf-group__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .5s ease;
}

.bf-group:hover .bf-group__media img {
	transform: scale(1.07);
}

.bf-group__body {
	display: block;
	padding: 18px 22px 22px;
}

.bf-group__name {
	display: block;
	font-size: 20px;
	font-weight: 900;
	color: var(--bf-ink);
}

.bf-group__note {
	display: block;
	font-size: 13px;
	color: var(--bf-muted);
	line-height: 1.65;
	margin-top: 2px;
}

.bf-group__n {
	display: inline-block;
	margin-top: 12px;
	background: #fff;
	border-radius: 999px;
	padding: 4px 14px;
	font-size: 12.5px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	transition: gap .2s ease;
}

/* ------------------------------------------------------------------
 * 主打新品：白底＋一條細框，留白拉大
 * ------------------------------------------------------------------ */

.bf-spot {
	margin-top: 86px;
	background: #fff;
}

/* 底下接著就是精選機型，兩區貼在一起不要留白縫 */
.bf-spot + .bf-stage {
	margin-top: 48px;
}

.bf-spot__box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
	padding: clamp(28px, 4vw, 64px) 0;
}

.bf-spot__media {
	display: block;
	overflow: hidden;
	border-radius: 18px;
}

.bf-spot__media img {
	display: block;
	width: 100%;
	height: auto;
	/* 商品照底色多半是米白，用 multiply 融進白底才不會出現一塊方框 */
	mix-blend-mode: multiply;
	transition: transform .5s ease;
}

.bf-spot__media:hover img {
	transform: scale(1.04);
}

/* 小標＋一條短線，不用色塊，才不會又變重 */
.bf-spot__tag {
	display: block;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .12em;
	color: var(--bf-main);
	margin-bottom: 12px;
}

.bf-spot__tag::after {
	content: "";
	display: block;
	width: 34px;
	height: 2px;
	background: var(--bf-main);
	margin-top: 10px;
}

.bf-spot__name {
	margin: 0;
	font-size: clamp(24px, 3vw, 40px);
	font-weight: 900;
	line-height: 1.28;
}

.bf-spot__name a {
	color: var(--bf-ink);
	text-decoration: none;
}

.bf-spot__one {
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.95;
	color: #4A4A44;
	max-width: 30em;
}

.bf-spot__price {
	margin: 20px 0 0;
	font-size: 26px;
	font-weight: 900;
	color: var(--bf-ink);
	font-variant-numeric: tabular-nums;
}

.bf-spot__act {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 26px;
}

/* ------------------------------------------------------------------
 * 精選機型：捲動釘住，商品斜著換
 *
 * 整段拉高到好幾個畫面（--n 台商品，一台約 38vh 的捲動距離），
 * 裡面的 __pin 用 sticky 釘在畫面中間，捲的時候內容不動、只換商品。
 * ------------------------------------------------------------------ */

.bf-stage {
	--pin: min(100vh, 880px);

	position: relative;
	margin-top: 86px;
	/* 釘住的那一屏 ＋ 每台商品各給一段捲動距離 */
	height: calc(var(--pin) + var(--n, 3) * 38vh);
	background: var(--bf-soft);
}

.bf-stage__pin {
	/* 跟上面同樣的理由：會位移的商品圖要自己畫一層，畫完不要溢出去 */
	contain: paint;
	backface-visibility: hidden;
	position: sticky;
	/* 直向置中在畫面裡 */
	top: calc((100vh - var(--pin)) / 2);
	height: var(--pin);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.bf-stage__inner {
	position: relative;
	width: 100%;
}

.bf-stage__deck {
	position: relative;
	/* 卡片都疊在一起，高度由這裡撐出來。
	   留一點就好，商品照要盡量大、要有沉浸感。 */
	height: calc(var(--pin) - 48px);
	min-height: 420px;
}

.bf-card {
	position: absolute;
	inset: 0;
	display: grid;
	/* 圖那一欄給到一倍半以上，商品照才夠大 */
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(20px, 4vw, 64px);
	/* 沒輪到的不要擋住滑鼠 */
	pointer-events: none;
	opacity: 0;
	/* 退場要快，不然兩張卡會同時看得到，字疊在字上面 */
	transition: opacity .3s ease;
}

.bf-card.is-on {
	pointer-events: auto;
	opacity: 1;
	/* 進場晚一點點，等上一張先淡掉 */
	transition: opacity .45s ease .14s;
}

/* 商品照：等在左下 → 進到中間 → 往右上滑走 */
.bf-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	transform: translate3d(-16%, 20%, 0) scale(.84) rotate(-4deg);
	transition: transform .9s cubic-bezier(.22, .72, .24, 1);
	will-change: transform;
}

.bf-card.is-on .bf-card__media {
	transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

.bf-card.is-past .bf-card__media {
	transform: translate3d(20%, -24%, 0) scale(.84) rotate(4deg);
}

.bf-card__media img {
	display: block;
	/* 撐滿可用的高度與寬度，比例自己保持 */
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* 文字跟著動，但幅度小一點，不然整頁看起來很亂 */
.bf-card__text {
	transform: translate3d(0, 34px, 0);
	transition: transform .75s cubic-bezier(.22, .72, .24, 1);
}

.bf-card.is-on .bf-card__text {
	transform: none;
}

.bf-card.is-past .bf-card__text {
	transform: translate3d(0, -34px, 0);
}

.bf-card__no {
	display: block;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .12em;
	color: var(--bf-main);
	margin-bottom: 10px;
	font-variant-numeric: tabular-nums;
}

.bf-card__no em {
	font-style: normal;
	opacity: .45;
}

.bf-card__name {
	margin: 0;
	font-size: clamp(22px, 2.6vw, 36px);
	font-weight: 900;
	line-height: 1.32;
}

.bf-card__name a {
	color: var(--bf-ink);
	text-decoration: none;
}

.bf-card__one {
	margin: 14px 0 0;
	font-size: 15.5px;
	line-height: 1.95;
	color: #4A4A44;
	max-width: 30em;
}

.bf-card__price {
	margin: 16px 0 0;
	font-size: 24px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	color: var(--bf-ink);
}

.bf-card__act {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 24px;
}

/* 右邊那排進度條：現在是第幾台 */
.bf-stage__bars {
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bf-stage__bars button {
	position: relative;
	width: 3px;
	height: 38px;
	/* ⚠️ 主題給所有按鈕設了 min-height，不歸零會被撐高 */
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(49, 88, 0, .2);
	cursor: pointer;
	overflow: hidden;
}

.bf-stage__bars button i {
	position: absolute;
	inset: 0;
	display: block;
	background: var(--bf-main);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .4s ease;
}

.bf-stage__bars button.is-on i,
.bf-stage__bars button.is-past i {
	transform: scaleY(1);
}

/* ------------------------------------------------------------------
 * 退回一般排版
 *
 * 手機、或系統設了「減少動態效果」的時候，
 * 不釘住也不疊在一起，就是由上往下一台一台看。
 * ------------------------------------------------------------------ */

.bf-stage.is-plain {
	height: auto;
	padding: 48px 0;
}

.bf-stage.is-plain .bf-stage__pin {
	position: static;
	height: auto;
	display: block;
	overflow: visible;
}

.bf-stage.is-plain .bf-stage__deck {
	height: auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.bf-stage.is-plain .bf-card {
	position: static;
	inset: auto;
	opacity: 1;
	pointer-events: auto;
}

.bf-stage.is-plain .bf-card__media,
.bf-stage.is-plain .bf-card__text {
	transform: none !important;
}

.bf-stage.is-plain .bf-stage__bars {
	display: none;
}

/* ------------------------------------------------------------------
 * 商品照橫向跑馬燈
 * ------------------------------------------------------------------ */

.bf-strip {
	overflow: hidden;
	background: var(--bf-soft);
	padding: 26px 0;
}

.bf-strip__run {
	display: flex;
	width: max-content;
	gap: 18px;
	animation: bf-run 48s linear infinite;
}

.bf-strip:hover .bf-strip__run {
	animation-play-state: paused;
}

.bf-strip__i {
	display: block;
	width: 168px;
	flex: 0 0 auto;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	transition: transform .25s ease;
}

.bf-strip__i:hover {
	transform: scale(1.06);
}

.bf-strip__i img {
	display: block;
	width: 100%;
	height: 168px;
	object-fit: contain;
}

/* ------------------------------------------------------------------
 * 生活精選：一排大分類磚
 *
 * 版面照首頁那個「生活精選」：大圖在上、名字件數在下，不加外框。
 * ------------------------------------------------------------------ */

.bf-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}

.bf-head .bf-h2 {
	margin: 0;
}

.bf-life {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.bf-head__more {
	font-size: 14px;
	font-weight: 700;
	color: var(--bf-main);
	text-decoration: none;
	white-space: nowrap;
}

.bf-head__more:hover {
	color: var(--bf-main);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bf-life__i {
	display: block;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.bf-life__i:hover {
	color: inherit;
}

.bf-life__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--bf-soft);
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 16px;
}

.bf-life__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .5s ease;
}

.bf-life__i:hover .bf-life__media img {
	transform: scale(1.07);
}

.bf-life__name {
	display: block;
	font-size: 17px;
	font-weight: 900;
	color: var(--bf-ink);
}

.bf-life__note {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--bf-muted);
}

.bf-life__n {
	display: inline-block;
	margin-top: 10px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--bf-muted);
	font-variant-numeric: tabular-nums;
}

.bf-life__i:hover .bf-life__n {
	color: var(--bf-main);
}

/* ------------------------------------------------------------------
 * 生活精選：橫向情境照，照片上可以點商品
 *
 * 每一欄固定高度、照片用裁切填滿，所以每欄上下都切齊，不會高高低低。
 * ------------------------------------------------------------------ */

.bf-life-head {
	text-align: center;
	margin-bottom: 30px;
}

.bf-life-head .bf-h2 {
	margin: 0;
}

.bf-life-head__sub {
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--bf-muted);
}

/* 照片牆與商品點 2026-10-05 搬到 life-rail.css（首頁共用） */

/* ------------------------------------------------------------------
 * 全系列：標題＋分類＋目前這一類，整塊一起釘在畫面上方
 *
 * 客人捲到哪一類，最後那一行就換成那一類的名字與說明，
 * 不是只把分類列釘住、標題讓它捲掉。
 * top 由 JS 量出主題置頂列的高度後填進 --bf-top。
 * ------------------------------------------------------------------ */

.bf-all__top {
	position: sticky;
	top: var(--bf-top, 0px);
	z-index: 6;
	background: #fff;
	padding: 16px 0 12px;

	/* ⚠️ 殘影的來源：這一塊會邊捲動邊改位置，瀏覽器把它跟底下的商品畫在同一層，
	   快速捲動時來不及重畫，商品圖就被拖出一條殘影留在上面。
	   下面兩行等於跟瀏覽器說「這塊自己畫一層」，它就不會跟底下的東西混在一起。 */
	will-change: transform;
	transform: translateZ(0);
	backface-visibility: hidden;

	/* 自成一個堆疊範圍，底下的商品不會跑到它上面 */
	isolation: isolate;
}

.bf-all__top.is-stuck {
	box-shadow: 0 8px 18px rgba(31, 31, 28, .07);
}

/* 釘住的時候底色要延伸到滿版，不然左右兩側會露出後面的商品。
   ⚠️ 這層不能用負的堆疊層級（z-index:-1）：那會讓它跑到自己的容器後面，
   是殘影的另一個來源。改成 0，內容自己排到 1。 */
.bf-all__top.is-stuck::before {
	content: "";
	position: absolute;
	inset: 0 -50vw;
	background: #fff;
	z-index: 0;
}

.bf-all__top > * {
	position: relative;
	z-index: 1;
}

.bf-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.bf-head .bf-h2 {
	margin: 0;
}

.bf-all__n {
	font-size: 14px;
	color: var(--bf-muted);
	font-variant-numeric: tabular-nums;
}

.bf-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bf-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--bf-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bf-text);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease;
}

.bf-tabs a em {
	font-style: normal;
	font-size: 12px;
	opacity: .45;
	font-variant-numeric: tabular-nums;
}

.bf-tabs a:hover {
	background: var(--bf-soft);
	border-color: var(--bf-main);
	color: var(--bf-text);
}

.bf-tabs a.is-on {
	background: var(--bf-main);
	border-color: var(--bf-main);
	color: #fff;
}

.bf-tabs a.is-on em {
	opacity: .7;
}

/* 現在看到的是哪一類 */
.bf-all__now {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--bf-line);
}

.bf-all__now-name {
	font-size: 19px;
	font-weight: 900;
	color: var(--bf-ink);
}

.bf-all__now-note {
	font-size: 13px;
	color: var(--bf-muted);
}

.bf-group-block {
	/* 跳過去要避開置頂列＋整塊釘住的標頭，商品才不會被蓋住。
	   兩個高度都會變，所以都由 JS 量出來填進變數。 */
	scroll-margin-top: calc(var(--bf-top, 0px) + var(--bf-stick-h, 170px) + 12px);
	padding-top: 24px;
}

/* ------------------------------------------------------------------
 * 滾動數字
 * ------------------------------------------------------------------ */

.bf-nums {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	border-top: 1px solid var(--bf-line);
	border-bottom: 1px solid var(--bf-line);
	padding: 44px 0;
}

.bf-num {
	text-align: center;
}

.bf-num__n {
	display: block;
	font-size: clamp(30px, 3.6vw, 48px);
	font-weight: 900;
	line-height: 1.1;
	color: var(--bf-ink);
	font-variant-numeric: tabular-nums;
}

.bf-num__n em {
	font-style: normal;
	font-size: .46em;
	margin-left: 3px;
}

.bf-num__l {
	display: block;
	margin-top: 6px;
	font-size: 13.5px;
	color: var(--bf-muted);
}

/* ------------------------------------------------------------------
 * 品牌故事（影片背景）
 * ------------------------------------------------------------------ */

.bf-story {
	position: relative;
	margin-top: 86px;
	min-height: 520px;
	display: flex;
	align-items: center;
	background: var(--bf-main);
	overflow: hidden;
}

.bf-story__scrim {
	background: linear-gradient(to right, rgba(12, 22, 2, .86) 0%, rgba(12, 22, 2, .62) 60%, rgba(12, 22, 2, .5) 100%);
}

.bf-story__inner {
	position: relative;
	z-index: 2;
	padding-top: 72px;
	padding-bottom: 72px;
	text-align: center;
	color: #fff;
}

.bf-story__title {
	margin: 0;
	font-size: clamp(24px, 2.8vw, 38px);
	font-weight: 900;
	line-height: 1.4;
	color: #fff;
}

.bf-story__body {
	margin: 18px auto 0;
	max-width: 46em;
	font-size: 16px;
	line-height: 2.05;
	color: rgba(255, 255, 255, .93);
}

.bf-story__links {
	margin: 26px 0 0;
	display: flex;
	justify-content: center;
	gap: 26px;
	flex-wrap: wrap;
}

.bf-story__links a {
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid rgba(255, 255, 255, .5);
	padding-bottom: 2px;
}

.bf-story__links a:hover {
	color: #fff;
	border-color: #fff;
}

/* 最後一區底下留白 */
.bf-wrap:last-child .bf-sec:last-child {
	padding-bottom: 86px;
}

/* ------------------------------------------------------------------
 * 動畫：捲到哪一區才浮現
 * ------------------------------------------------------------------ */

[data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.22, .8, .3, 1) var(--d, 0ms);
}

[data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* 系統設定「減少動態效果」就全部關掉，包含跑馬燈與影片推進 */
@media (prefers-reduced-motion: reduce) {
	.bf *,
	.bf *::before,
	.bf *::after {
		animation: none !important;
		transition: none !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}

	.bf-slide__video,
	.bf-story__video,
	.bf-card__media,
	.bf-card__text {
		transform: none !important;
	}
}

/* ------------------------------------------------------------------
 * 平板
 * ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.bf-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bf-spot__box {
		grid-template-columns: 1fr;
	}

	.bf-life {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* 平板：卡片改成上下排，照片在上 */
	.bf-card {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.bf-card__media {
		order: -1;
	}

	.bf-card__media img {
		max-width: 320px;
	}

	.bf-card__one {
		margin-left: auto;
		margin-right: auto;
	}

	.bf-card__act {
		justify-content: center;
	}

	.bf-stage__bars {
		right: 4px;
	}
}

/* ------------------------------------------------------------------
 * 手機
 * ------------------------------------------------------------------ */

@media (max-width: 767px) {
	.bf-wrap {
		padding: 0 16px;
	}

	.bf-sec {
		padding-top: 52px;
	}

	.bf-hero {
		height: min(86vh, 620px);
	}

	.bf-slide__text {
		bottom: 92px;
		padding: 0 16px;
	}

	.bf-slide__lead {
		margin-bottom: 22px;
	}

	.bf-hero__dots {
		left: 16px;
		right: 16px;
		bottom: 54px;
		justify-content: center;
	}

	.bf-hero__dots button {
		width: 34px;
	}

	.bf-hero__down {
		display: none;
	}

	.bf-stage {
		margin-top: 56px;
	}

	.bf-card__media img {
		max-width: 260px;
	}

	.bf-strip__i {
		width: 124px;
	}

	.bf-strip__i img {
		height: 124px;
	}

	/* 手機：大分類磚改成一排兩個 */
	.bf-life {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.bf-life-head__sub {
		font-size: 13.5px;
	}

	/* 手機畫面小，釘住的標頭要收薄一點，不然佔掉半個畫面 */
	.bf-all__top {
		padding: 10px 0 8px;
	}

	.bf-all__top .bf-h2 {
		font-size: 19px;
	}

	.bf-head {
		margin-bottom: 10px;
	}

	.bf-tabs {
		/* 分類多的時候改成橫向滑，不要擠成三四排 */
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 0 -16px;
		padding: 0 16px 2px;
		scrollbar-width: none;
	}

	.bf-tabs::-webkit-scrollbar {
		display: none;
	}

	.bf-tabs a {
		flex: 0 0 auto;
		height: 34px;
		padding: 0 13px;
		font-size: 13px;
	}

	.bf-all__now {
		margin-top: 10px;
		padding-top: 9px;
	}

	.bf-all__now-name {
		font-size: 16px;
	}



	.bf-life__name {
		font-size: 15px;
	}

	.bf-spot__box {
		padding: 24px 0;
	}

	.bf-spot__box {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.bf-spot__tag::after {
		margin-left: auto;
		margin-right: auto;
	}

	.bf-spot__media {
		order: -1;
	}

	.bf-spot__one {
		margin-left: auto;
		margin-right: auto;
	}

	.bf-spot__act {
		justify-content: center;
	}

	.bf-nums {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px 18px;
		padding: 32px 0;
	}

	.bf-story {
		margin-top: 56px;
		min-height: 420px;
	}

	.bf-story__inner {
		padding-top: 52px;
		padding-bottom: 52px;
	}

	.bf-wrap:last-child .bf-sec:last-child {
		padding-bottom: 56px;
	}
}

/* ------------------------------------------------------------------
 * 全系列借用品類頁的商品卡
 *
 * 卡片外層掛了 ccw，字體與連結樣式就跟品類頁完全一致，
 * 這裡只需要把 .ccw 本身的版面設定歸零（它原本是給整頁用的容器）。
 * ⚠️ 不要在這裡覆寫卡片內的字級或連結外觀，兩頁就是要長一樣。
 * ------------------------------------------------------------------ */

.bf-cards {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* 彈窗是接在 body 底下的，不在 .bf 裡面，
   所以圖片最佳化外掛包的那層要另外處理一次（見 picture 那條註解） */
.cwp-modal picture {
	display: contents;
}

/* ------------------------------------------------------------------
 * 2026-10-05 手機／平板補回特效（老闆：PETLIBRO 品牌頁的特效到了手機就沒了）
 * ------------------------------------------------------------------ */

/* 精選機型：手機也釘住、捲動換商品。版面改成上圖下文，整個畫面高，每台多給一點捲動距離 */
@media (max-width: 1024px) {
	.bf-stage:not(.is-plain) {
		--pin: 100svh;
		height: calc(var(--pin) + var(--n, 3) * 60svh);
	}

	.bf-stage:not(.is-plain) .bf-stage__pin {
		top: 0;
	}

	.bf-stage:not(.is-plain) .bf-stage__deck {
		height: calc(var(--pin) - 56px);
		min-height: 0;
	}

	.bf-stage:not(.is-plain) .bf-card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(0, 1fr) auto;
		align-items: stretch;
		gap: 12px;
		text-align: center;
	}

	.bf-stage:not(.is-plain) .bf-card__media {
		order: -1;
		height: auto;
		min-height: 0;
	}

	.bf-stage:not(.is-plain) .bf-card__media img {
		max-width: 100%;
		max-height: 100%;
	}

	.bf-stage:not(.is-plain) .bf-card__text {
		padding-bottom: 8px;
	}

	/* 進度條改到上面橫著放（放底下會壓到按鈕） */
	.bf-stage:not(.is-plain) .bf-stage__bars {
		top: 18px;
		bottom: auto;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		flex-direction: row;
	}

	.bf-stage:not(.is-plain) .bf-stage__bars button {
		width: 30px;
		height: 3px;
	}

	.bf-stage:not(.is-plain) .bf-stage__bars button i {
		transform: scaleX(0);
		transform-origin: left;
	}

	.bf-stage:not(.is-plain) .bf-stage__bars button.is-on i,
	.bf-stage:not(.is-plain) .bf-stage__bars button.is-past i {
		transform: scaleX(1);
	}
}

@media (max-width: 767px) {
	.bf-stage:not(.is-plain) .bf-card__name {
		font-size: 21px;
	}

	.bf-stage:not(.is-plain) .bf-card__one {
		margin-top: 8px;
		font-size: 14px;
		line-height: 1.7;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.bf-stage:not(.is-plain) .bf-card__price {
		margin-top: 8px;
		font-size: 20px;
	}

	.bf-stage:not(.is-plain) .bf-card__act {
		margin-top: 14px;
	}
}

/* 卡片浮起、照片放大：手機捲到畫面中間就自動套上（brand-full.js 的 touchLive） */
@media (hover: none) {
	.bf-group.is-live {
		transform: translateY(-6px);
		box-shadow: 0 18px 40px rgba(31, 31, 28, .12);
	}

	.bf-group.is-live .bf-group__media img,
	.bf-life__i.is-live .bf-life__media img {
		transform: scale(1.07);
	}

	.bf-spot__media.is-live img {
		transform: scale(1.04);
	}

	.bf-life__i.is-live .bf-life__n {
		color: var(--bf-main);
	}
}

/* 2026-10-05 老闆：手機精選機型那四條進度橫槓拿掉；系列一覽照片不要放大（會蓋到照片上的品牌字） */
@media (max-width: 1024px) {
	.bf-stage .bf-stage__bars {
		display: none;
	}
}

.bf-life__i:hover .bf-life__media img,
.bf-life__i.is-live .bf-life__media img {
	transform: none;
}

/* ------------------------------------------------------------------
 * 系列一覽特效（2026-10-29）
 *
 * 捲到時照片由下往上掀開；滑鼠移上去整張卡片跟著游標微微傾斜、
 * 浮起、光澤跟著游標走、名字底下長出一條品牌綠線。
 * 手機沒有滑鼠：捲到畫面中間就浮起＋一道光掃過去（.is-live）。
 * ⚠️ 照片本身不放大（2026-10-05 老闆：會蓋到照片上的品牌字）。
 * ------------------------------------------------------------------ */

.bf-life {
	perspective: 1100px;
}

.bf-life__media {
	position: relative;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
	transition: transform .5s cubic-bezier(.22, .8, .3, 1), box-shadow .5s ease;
}

.bf-life__i:hover .bf-life__media,
.bf-life__i.is-live .bf-life__media {
	--ty: -8px;
	box-shadow: 0 24px 46px -20px rgba(31, 31, 28, .3);
}

/* 跟著游標動的時候要跟得上手，不能慢慢飄 */
.bf-life__i.is-tilt .bf-life__media {
	transition: transform .12s linear, box-shadow .5s ease;
}

.bf-life__media img {
	clip-path: inset(0);
	transition: transform .5s ease, clip-path 1s cubic-bezier(.65, 0, .25, 1) calc(var(--d, 0ms) + 180ms);
}

.bf-life__i[data-reveal]:not(.is-in) .bf-life__media img {
	clip-path: inset(100% 0 0 0);
}

.bf-life__shine {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%);
	transition: opacity .4s ease;
}

.bf-life__i:hover .bf-life__shine {
	opacity: 1;
}

/* 手機：一道斜光掃過去 */
.bf-life__shine::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 65%);
	background-size: 250% 100%;
	background-position: 130% 0;
}

.bf-life__i.is-live .bf-life__shine {
	opacity: 1;
	background: none;
}

.bf-life__i.is-live .bf-life__shine::after {
	animation: bf-life-sweep 1.1s ease .1s 1 both;
}

@keyframes bf-life-sweep {
	to {
		background-position: -30% 0;
	}
}

.bf-life__name {
	display: table;
	margin: 0 auto;
	padding-bottom: 4px;
	background: linear-gradient(var(--bf-main), var(--bf-main)) no-repeat 50% 100% / 0 2px;
	transition: background-size .45s cubic-bezier(.22, .8, .3, 1), color .3s ease;
}

.bf-life__i:hover .bf-life__name,
.bf-life__i.is-live .bf-life__name {
	color: var(--bf-main);
	background-size: 100% 2px;
}

@media (prefers-reduced-motion: reduce) {
	.bf-life__media,
	.bf-life__i[data-reveal]:not(.is-in) .bf-life__media img {
		transform: none !important;
		clip-path: none;
	}
}

/**
 * 置頂欄重做
 *
 * 原本的問題：搜尋列寬到 1000px 把整條吃掉、logo 被壓得很小、
 * 右邊四顆圖示各自包在灰圓圈裡、只有「比較」有字，輕重不一。
 *
 * 做法是只調樣式、不動佈景主題的結構（版面是 Woodmart 的置頂欄產生器排的，
 * 動結構等於把後台那份設定作廢）。
 *
 * @package woodmart-child
 */

.whb-header {
	--igo-h-line: #E5E5E7;
	--igo-h-ink: #1F1F22;
	--igo-h-ink-2: #4B4B52;
	--igo-h-muted: #85858E;
	--igo-h-hover: #F0F0F2;
	--igo-h-brand: #B81820;
}

/* --- 最上面那條小字列 ------------------------------------------------- */

.whb-top-bar .wd-nav-secondary > li > a {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--igo-h-muted);
	transition: color .15s ease;
}

.whb-top-bar .wd-nav-secondary > li > a:hover {
	color: var(--igo-h-ink);
}

/* --- 主列：logo ｜ 搜尋 ｜ 圖示 ---------------------------------------- */

@media (min-width: 1025px) {
	/* logo 放大一點，不然被搜尋列壓得像附屬品 */
	.whb-header .whb-col-left .site-logo img {
		max-height: 46px;
		width: auto;
	}

	/* 搜尋列收到 460px 並置中，中間那一欄本來就是彈性寬，不用動欄位 */
	.whb-header .whb-col-center .wd-search-form {
		width: 100%;
		max-width: 460px;
		margin: 0 auto;
	}
}

/* 搜尋框本體：細框、白底、圓角，滑過去與游標進去時邊框加深。
   ⚠️ 只管「中間那一欄」的搜尋列。內頁那個壓縮版置頂欄把搜尋放在右邊、
   只留一顆圖示，套同一組樣式會把放大鏡擠到列外面去（踩過）。 */
.whb-header .whb-col-center .wd-search-form form.searchform {
	position: relative;
}

.whb-header .whb-col-center .wd-search-form form.searchform input[type="text"] {
	height: 44px;
	padding: 0 18px 0 46px;
	border: 1px solid var(--igo-h-line);
	border-radius: 999px;
	background-color: #fff;
	box-shadow: none;
	font-size: 15px;
	color: var(--igo-h-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.whb-header .whb-col-center .wd-search-form form.searchform input[type="text"]::placeholder {
	color: var(--igo-h-muted);
	opacity: 1;
}

.whb-header .whb-col-center .wd-search-form form.searchform:hover input[type="text"] {
	border-color: #D3D3D8;
}

.whb-header .whb-col-center .wd-search-form form.searchform input[type="text"]:focus {
	border-color: var(--igo-h-ink-2);
	box-shadow: 0 0 0 3px rgba(31, 31, 34, .06);
}

/* 放大鏡固定在左邊，按鈕本身不要有底色與框 */
.whb-header .whb-col-center .wd-search-form form.searchform button,
.whb-header .whb-col-center .wd-search-form form.searchform .searchsubmit {
	position: absolute;
	top: 50%;
	left: 4px;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--igo-h-muted);
	transition: color .15s ease;
}

.whb-header .whb-col-center .wd-search-form form.searchform button:hover {
	background: none;
	color: var(--igo-h-ink);
}

.whb-header .whb-col-center .wd-search-form form.searchform button:before,
.whb-header .whb-col-center .wd-search-form form.searchform .searchsubmit:before {
	font-size: 17px;
}

/* 內頁壓縮版：搜尋只是一顆圖示，跟右邊其他圖示一樣大、對齊同一條中線 */
.whb-header .whb-col-right .wd-search-form {
	display: flex;
	align-items: center;
	align-self: center;
}

/* --- 右邊那排圖示 ------------------------------------------------------ */

/* 灰圓圈拿掉，改成滑過去才出現的淺底；四顆大小一致。
   ⚠️ 底色與尺寸是佈景主題的置頂欄產生器逐一產生的（選擇器帶一串亂碼、
   權重比一般寫法高），所以這裡一定要 important 才蓋得掉。 */
.whb-header .wd-tools-element .wd-tools-icon,
.whb-header .wd-tools-element .wd-tools-inner {
	width: 40px !important;
	height: 40px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background-color: transparent !important;
	color: var(--igo-h-ink) !important;
	transition: background-color .15s ease, color .15s ease;
}

.whb-header .wd-tools-element:hover .wd-tools-icon,
.whb-header .wd-tools-element:hover .wd-tools-inner,
.whb-header .wd-tools-element > a:focus-visible .wd-tools-icon {
	background-color: var(--igo-h-hover) !important;
	color: var(--igo-h-ink) !important;
}

.whb-header .wd-tools-element .wd-tools-icon:before,
.whb-header .wd-tools-element .wd-tools-inner:before {
	font-size: 21px !important;
	line-height: 40px !important;
}

/* 只有「比較」有字，四顆看起來輕重不一 —— 字收起來 */
.whb-header .wd-header-compare .wd-tools-text {
	display: none;
}

.whb-header .whb-col-right .wd-tools-element {
	margin-left: 2px;
}

/* 購物車上的數字：小一點、貼右上角 */
.whb-header .wd-header-cart .wd-cart-number {
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 2px solid #fff;
	border-radius: 999px;
	background-color: var(--igo-h-brand);
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
}

/* --- 分類列 ------------------------------------------------------------ */

.whb-header .wd-header-main-nav .wd-nav > li > a {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--igo-h-ink-2);
	transition: color .15s ease;
}

.whb-header .wd-header-main-nav .wd-nav > li > a:hover,
.whb-header .wd-header-main-nav .wd-nav > li.current-menu-item > a {
	color: var(--igo-h-brand);
}

/* 分類前面那些小圖統一大小，不然一排高高低低 */
.whb-header .wd-header-main-nav .wd-nav > li > a img,
.whb-header .wd-header-main-nav .wd-nav > li > a svg {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

/* --- 手機 -------------------------------------------------------------- */

@media (max-width: 1024px) {
	.whb-header .wd-tools-element .wd-tools-icon,
	.whb-header .wd-tools-element .wd-tools-inner {
		width: 38px !important;
		height: 38px !important;
	}

	.whb-header .wd-tools-element .wd-tools-icon:before,
	.whb-header .wd-tools-element .wd-tools-inner:before {
		font-size: 20px !important;
		line-height: 38px !important;
	}

	.whb-header .site-logo img {
		max-height: 38px;
		width: auto;
	}
}

/* ======================================================================
 * 2026-09-24 照老闆的 Canva 首頁範本改，全站套用（老闆 9/24 確認）。
 *   選擇器前面的 html body:not(.igo-nohd) 是為了壓過 category-cw.css 裡 body.igo-ccw 開頭的置頂欄樣式；
 *   分類頁原本把三條併成一條的腳本已在 category-cw.js 關掉（IGO_COMPACT_HEADER）。
 *   米色底、logo 後面緊接搜尋框（深色細框）＋篩選圖示、右邊三顆紅色線條圖示、
 *   分類列置中粗體＋紅色下拉箭頭；首頁的分類列半透明疊在主視覺上。
 *   最上面那條小字列範本上沒有，收起來。
 * ====================================================================== */

html body:not(.igo-nohd) .whb-header {
	--igo-h-cream: #faefe0;
	--igo-h-red: #b02023;
	--igo-h-dark: #2a2b2a;
}

html body:not(.igo-nohd) .whb-header .whb-top-bar {
	display: none;
}

html body:not(.igo-nohd) .whb-header .whb-main-header,
html body:not(.igo-nohd) .whb-header .whb-general-header,
html body:not(.igo-nohd) .whb-header .whb-header-bottom {
	background-color: var(--igo-h-cream) !important;
	border-bottom: 0 !important;
}

@media (min-width: 1025px) {
	html body:not(.igo-nohd) .whb-header .whb-general-header-inner {
		height: 85px !important;
		max-height: 85px !important;
	}

	html body:not(.igo-nohd) .whb-header .whb-header-bottom-inner {
		height: 50px !important;
		max-height: 50px !important;
	}

	html body:not(.igo-nohd) .whb-header .whb-col-left .site-logo img {
		max-height: 52px;
	}

	/* 搜尋框緊接在 logo 後面，不再置中 */
	html body:not(.igo-nohd) .whb-header .whb-general-header .whb-col-center {
		justify-content: flex-start;
		padding-left: 22px;
	}

	html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form {
		max-width: 256px;
		margin: 0;
	}
}

html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform input[type="text"] {
	height: 38px;
	padding: 0 44px 0 18px;
	border: 1.5px solid var(--igo-h-dark);
	background-color: transparent;
	font-size: 15px;
	font-weight: 700;
}

html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform input[type="text"]::placeholder {
	color: #9a948b;
}

html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform:hover input[type="text"] {
	border-color: var(--igo-h-dark);
}

html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform input[type="text"]:focus {
	border-color: var(--igo-h-dark);
	background-color: #fff;
	box-shadow: none;
}

/* 放大鏡換到右邊、深色 */
html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform button,
html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform .searchsubmit {
	left: auto;
	right: 4px;
	color: var(--igo-h-dark);
}

html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform button:before,
html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform .searchsubmit:before {
	font-size: 18px;
	font-weight: 700;
}

/* 搜尋框旁邊的篩選圖示（連到所有商品頁的篩選） */
html body:not(.igo-nohd) .igo-h-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin-left: 10px;
	border-radius: 999px;
	color: #7a756e;
	transition: background-color .15s ease, color .15s ease;
}

html body:not(.igo-nohd) .igo-h-filter:hover {
	background-color: rgba(0, 0, 0, .05);
	color: var(--igo-h-dark);
}

html body:not(.igo-nohd) .igo-h-filter svg {
	width: 30px;
	height: 26px;
}

/* 右邊圖示：範本只有 收藏／帳號／購物車，紅色線條 */
html body:not(.igo-nohd) .whb-header .wd-header-compare {
	display: none !important;
}

html body:not(.igo-nohd) .whb-header .wd-tools-element .wd-tools-icon,
html body:not(.igo-nohd) .whb-header .wd-tools-element .wd-tools-inner,
html body:not(.igo-nohd) .whb-header .wd-tools-element:hover .wd-tools-icon,
html body:not(.igo-nohd) .whb-header .wd-tools-element:hover .wd-tools-inner {
	color: var(--igo-h-red) !important;
}

html body:not(.igo-nohd) .whb-header .wd-tools-element:hover .wd-tools-icon,
html body:not(.igo-nohd) .whb-header .wd-tools-element:hover .wd-tools-inner {
	background-color: rgba(176, 32, 35, .07) !important;
}

@media (min-width: 1025px) {
	html body:not(.igo-nohd) .whb-header .wd-tools-element .wd-tools-icon,
	html body:not(.igo-nohd) .whb-header .wd-tools-element .wd-tools-inner {
		width: 46px !important;
		height: 46px !important;
	}

	html body:not(.igo-nohd) .whb-header .wd-tools-element .wd-tools-icon:before,
	html body:not(.igo-nohd) .whb-header .wd-tools-element .wd-tools-inner:before {
		font-size: 27px !important;
		line-height: 46px !important;
	}

	html body:not(.igo-nohd) .whb-header .whb-col-right .wd-tools-element {
		margin-left: 26px;
	}
}

html body:not(.igo-nohd) .whb-header .wd-header-cart .wd-cart-number {
	border-color: var(--igo-h-cream);
}

/* 分類列：置中、粗體、不放小圖，有下拉的後面接紅色箭頭 */
html body:not(.igo-nohd) .whb-header .whb-header-bottom .whb-col-left {
	flex: 1 1 auto;
	justify-content: center;
}

html body:not(.igo-nohd) .whb-header .whb-header-bottom .whb-col-center.whb-empty-column,
html body:not(.igo-nohd) .whb-header .whb-header-bottom .whb-col-right.whb-empty-column {
	display: none;
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav {
	justify-content: center;
	column-gap: 6px;
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li > a {
	padding-left: 14px;
	padding-right: 14px;
	font-size: 17px;
	font-weight: 700;
	color: var(--igo-h-dark);
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li > a picture,
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li > a img.wd-nav-img {
	display: none;
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li.menu-item-has-children > a:after {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin: -5px 0 0 9px;
	border: solid var(--igo-h-red);
	border-width: 0 1.6px 1.6px 0;
	transform: rotate(45deg);
	font-family: inherit;
	vertical-align: middle;
}

/* 首頁：分類列半透明，疊在主視覺上（捲動後黏在上方時改回實心） */
html body.home .whb-header {
	position: relative;
	z-index: 30;
}

html body.home .whb-header:not(.whb-sticked) .whb-main-header {
	background-color: transparent !important;
}

html body.home .whb-header:not(.whb-sticked) .whb-header-bottom {
	background-color: rgba(236, 230, 219, .72) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

@media (max-width: 1024px) {
	html body:not(.igo-nohd) .whb-header .whb-general-header {
		background-color: var(--igo-h-cream) !important;
	}
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav {
	text-align: center;
}

@media (min-width: 1025px) {
	html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form {
		display: flex;
		align-items: center;
		max-width: 306px;
	}

	html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform {
		flex: 0 0 256px;
	}

	/* 搜尋框外層改成並排（右邊接篩選圖示）之後，下拉結果的外框也變成並排的一格、
	   寬度被擠成 0，結果有抓到卻看不到（踩過）。改成貼在搜尋框正下方、給固定寬度。 */
	html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form {
		position: relative;
	}

	html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form > .wd-search-results-wrapper {
		position: absolute;
		top: 100%;
		left: 0;
		width: 420px;
	}

	html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-results-wrapper .wd-dropdown-results {
		left: 0;
		right: 0;
		margin-top: 8px;
		border-radius: 14px;
	}
}

/* 「清除」叉叉：佈景主題把它算在送出鈕左邊，但放大鏡被我們移到框內右側，
   叉叉就整個疊在放大鏡上。改放在放大鏡左邊，打了字之後輸入框右側多留位置。 */
html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform .wd-clear-search,
html body:not(.igo-nohd) .mobile-nav .wd-search-form form.searchform .wd-clear-search {
	inset-inline-end: 42px;
	padding-inline-end: 0;
	border: 0;
	color: #9a948b;
}

html body:not(.igo-nohd) .whb-header .whb-col-center .wd-search-form form.searchform:has(.wd-clear-search:not(.wd-hide)) input[type="text"],
html body:not(.igo-nohd) .mobile-nav .wd-search-form form.searchform:has(.wd-clear-search:not(.wd-hide)) input[type="text"] {
	padding-right: 74px;
}

/* 分類頁那套樣式在選單字下面畫了一條滑過才出現的底線，這版不用 */
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li:not(.menu-item-has-children) > a::after {
	display: none;
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li.menu-item-has-children > a::after {
	position: static;
	left: auto;
	right: auto;
	bottom: auto;
	background: none;
	transition: none;
}

/* ======================================================================
 * 手機側邊選單（漢堡鈕打開的那一欄）— 跟桌機置頂欄同一套風格（2026-09-25）
 *   米色底、深色細框圓角搜尋框、分類粗體深色字不放小圖、
 *   有子選單的用紅色箭頭、分頁標籤是粗體＋紅色底線。
 * ====================================================================== */

html body:not(.igo-nohd) .mobile-nav {
	--igo-h-cream: #faefe0;
	--igo-h-red: #b02023;
	--igo-h-dark: #2a2b2a;
	--igo-h-line: rgba(42, 43, 42, .14);
	/* 半透明米色＋毛玻璃，後面的畫面隱約透出來 */
	background-color: rgba(250, 239, 224, .86);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	backdrop-filter: blur(16px) saturate(1.2);
	color: var(--igo-h-dark);
}

/* 選單打開時蓋在頁面上的暗幕調淡：毛玻璃會把它一起透進來，太暗選單會變成灰濁色 */
html body:not(.igo-nohd) .mobile-nav.wd-opened ~ .wd-close-side,
html body:not(.igo-nohd) .wd-close-side.wd-close-side-opened {
	background-color: rgba(42, 30, 20, .22);
}

/* 「商品分類」跟「選單」兩個分頁內容一模一樣，分頁列拿掉，只留商品分類 */
html body:not(.igo-nohd) .mobile-nav .wd-nav-mob-tab,
html body:not(.igo-nohd) .mobile-nav .mobile-pages-menu {
	display: none !important;
}

html body:not(.igo-nohd) .mobile-nav .mobile-categories-menu {
	display: block !important;
}

/* 搜尋：跟桌機一樣的深色細框圓角膠囊，放大鏡在右 */
html body:not(.igo-nohd) .mobile-nav .wd-search-form {
	padding: 18px 16px 14px;
	border-bottom: 0;
	background: transparent;
}

html body:not(.igo-nohd) .mobile-nav .wd-search-form form.searchform {
	background: transparent;
	box-shadow: none;
}

html body:not(.igo-nohd) .mobile-nav .wd-search-form form.searchform input[type="text"] {
	height: 42px;
	padding: 0 46px 0 18px;
	border: 1.5px solid var(--igo-h-dark);
	border-radius: 999px;
	background-color: transparent;
	color: var(--igo-h-dark);
	font-size: 15px;
	font-weight: 700;
}

html body:not(.igo-nohd) .mobile-nav .wd-search-form form.searchform input[type="text"]::placeholder {
	color: #9a948b;
}

html body:not(.igo-nohd) .mobile-nav .wd-search-form form.searchform input[type="text"]:focus {
	background-color: #fff;
	box-shadow: none;
}

html body:not(.igo-nohd) .mobile-nav .wd-search-form form.searchform .searchsubmit {
	right: 6px;
	left: auto;
	width: 40px;
	color: var(--igo-h-dark);
}

html body:not(.igo-nohd) .mobile-nav .wd-search-form form.searchform .searchsubmit:before {
	font-size: 18px;
	font-weight: 700;
}

/* 「商品分類／選單」分頁：不要灰底方塊，改粗體字＋紅色底線 */
html body:not(.igo-nohd) .mobile-nav .wd-nav-mob-tab {
	margin: 0 16px;
	border-bottom: 1px solid var(--igo-h-line);
	background: transparent;
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mob-tab > li {
	background: transparent !important;
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mob-tab > li > a {
	padding: 12px 0 10px;
	background: transparent !important;
	color: #8a847b;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mob-tab > li.wd-active > a {
	color: var(--igo-h-dark);
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mob-tab > li > a:after {
	height: 2px;
	background-color: var(--igo-h-red);
}

/* 選單項目：粗體深色、不放小圖、細分隔線（左右留白，不頂到邊） */
html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile {
	padding: 4px 16px 24px;
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile li {
	border-bottom-color: var(--igo-h-line);
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile li a {
	padding-left: 4px;
	padding-right: 50px;
	color: var(--igo-h-dark);
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile > li > a {
	min-height: 54px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .04em;
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile > li > a picture,
html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile > li > a img.wd-nav-img {
	display: none;
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile li.current-menu-item > a,
html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile li > a:hover {
	color: var(--igo-h-red);
}

/* 子選單：縮一格、一般字重 */
html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .wd-sub-menu,
html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .sub-menu {
	background: transparent;
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .wd-sub-menu li a,
html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .sub-menu li a {
	padding-left: 20px;
	font-size: 15px;
	font-weight: 500;
}

/* 有子選單的展開鈕：紅色箭頭（跟桌機分類列一樣的細折線） */
html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .wd-nav-opener {
	border-left: 0;
	background: transparent !important;
	color: var(--igo-h-red);
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .wd-nav-opener:after {
	content: "";
	width: 9px;
	height: 9px;
	margin-top: -4px;
	border: solid var(--igo-h-red);
	border-width: 0 1.6px 1.6px 0;
	transform: rotate(45deg);
	font-family: inherit;
	transition: transform .2s ease;
}

html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .wd-nav-opener.wd-active:after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

/* 帳號圖示：照 Canva 範本放大到跟愛心差不多高（原本字型圖示只有 16px 高）。
   改用 SVG 遮罩畫，放大時線條仍維持約 1.8px，不會跟著變粗 */
html body:not(.igo-nohd) .whb-header .wd-header-my-account .wd-tools-icon:before,
html body:not(.igo-nohd) .whb-header .wd-header-my-account .wd-tools-inner:before {
	content: "" !important;
	display: block;
	width: 20px;
	height: 23px;
	margin: auto;
	font-size: 0 !important;
	line-height: 0 !important;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 23' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10' cy='6.1' r='4.9'/%3E%3Cpath d='M1.4 22.1C1.4 16.6 5.2 13.4 10 13.4S18.6 16.6 18.6 22.1'/%3E%3C/svg%3E") center / 20px 23px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 23' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10' cy='6.1' r='4.9'/%3E%3Cpath d='M1.4 22.1C1.4 16.6 5.2 13.4 10 13.4S18.6 16.6 18.6 22.1'/%3E%3C/svg%3E") center / 20px 23px no-repeat;
}

html body:not(.igo-nohd) .whb-header .wd-header-my-account .wd-tools-icon,
html body:not(.igo-nohd) .whb-header .wd-header-my-account .wd-tools-inner {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

/* 置頂欄分類選單：滑過時字底下一條黃色螢光筆由左往右刷過去（跟商品卡品名同一款，2026-10-06） */
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li > a .nav-link-text {
	/* 商品卡用的淡黃在置頂欄米色底上看不見，這裡用深一點的黃 */
	background-image: linear-gradient(#F4CF6E, #F4CF6E);
	background-repeat: no-repeat;
	background-position: 0 88%;
	background-size: 0 42%;
	padding: 0 2px;
	margin: 0 -2px;
	transition: background-size .32s cubic-bezier(.4, 0, .2, 1);
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li:hover > a .nav-link-text,
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li > a:focus-visible .nav-link-text {
	background-size: 100% 42%;
}

/* 標題字滑過時稍微放大（底下黃線照舊刷過去） */
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li > a .nav-link-text {
	display: inline-block;
	transition: background-size .32s cubic-bezier(.4, 0, .2, 1), transform .32s cubic-bezier(.3, 1.4, .5, 1);
	will-change: transform;
}
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li:hover > a .nav-link-text,
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li > a:focus-visible .nav-link-text {
	transform: scale(1.08);
}

/* ---------- 「品牌」下拉：展開動畫（2026-10-06） ----------
   1. 箭頭轉成朝上
   2. 白卡從上往下「拉開」（遮罩由上往下打開＋微微下滑）
   3. 品牌名一個接一個由下浮上來
   4. 滑過品牌名：跟標題一樣的黃色螢光筆刷過去，右邊滑出小箭頭 */
/* 箭頭是斜 45 度的方框畫的，朝上要轉成 225 度（不能只寫 180，會蓋掉原本的 45 度）；
   前面那段寫了 transition:none，這裡要帶 html body 同權重再後寫才蓋得掉 */
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li.menu-item-has-children > a::after {
	transition: transform .3s ease, margin .3s ease;
}
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-nav > li.menu-item-has-children:hover > a::after {
	margin: 2px 0 0 13px; /* 字放大了，箭頭往右讓一點 */
	transform: rotate(225deg);
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown > .wd-dropdown-menu {
	clip-path: inset(0 0 100% 0 round 18px);
	transform: translateY(-6px);
	transition: clip-path .42s cubic-bezier(.2, .8, .2, 1), transform .42s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility .42s;
}
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover > .wd-dropdown-menu,
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown.wd-opened > .wd-dropdown-menu {
	clip-path: inset(0 0 0 0 round 18px);
	transform: none;
}

/* 滑鼠從「品牌」往下移到白卡的路上有一小段空隙；佈景主題原本墊在白卡上方的透明「橋」被上面的拉開動畫（clip-path）裁掉了，
   滑鼠經過空隙就算離開、選單收起來。這裡改在「品牌」底下自己墊一塊透明的橋（只在打開時有）。 */
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 100%;
	left: -10px;
	right: -10px;
	height: 24px;
}

html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown .wd-sub-menu > li {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover .wd-sub-menu > li,
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown.wd-opened .wd-sub-menu > li {
	opacity: 1;
	transform: none;
}
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover .wd-sub-menu > li:nth-child(1) { transition-delay: .12s; }
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover .wd-sub-menu > li:nth-child(2) { transition-delay: .19s; }
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover .wd-sub-menu > li:nth-child(3) { transition-delay: .26s; }
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover .wd-sub-menu > li:nth-child(4) { transition-delay: .33s; }
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover .wd-sub-menu > li:nth-child(5) { transition-delay: .40s; }
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown:hover .wd-sub-menu > li:nth-child(n+6) { transition-delay: .46s; }

/* 滑過品牌名（2026-10-06 改，不用黃線、不要右邊細線）：聚光燈——滑到的那個字變深、往右挪一點、字距拉開，
   其他幾個同時變淡，視線自然落在選中的那個 */
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-sub-menu > li > a {
	display: inline-flex;
	align-items: center;
	color: var(--igo-h-dark);
	letter-spacing: .04em;
	transition: color .3s ease, opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1), letter-spacing .4s ease;
}
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-sub-menu:hover > li > a {
	opacity: .38;
}
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-sub-menu > li > a:hover,
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .wd-sub-menu > li > a:focus-visible {
	opacity: 1;
	color: #000;
	letter-spacing: .08em;
	transform: translateX(6px);
}

/* 下拉白卡縮到內容寬，不要右邊空一大塊 */
html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown > .wd-dropdown-menu {
	width: auto;
	min-width: 220px;
}

/* ---------- 手機側邊選單動畫（2026-10-06） ----------
   1. 打開選單時，一列一列由下往上浮出來
   2. 手指按下去那一列微微縮一下、底色變深（按到的回饋）
   3. 「品牌」展開時，底下的品牌一個接一個滑進來 */
@media (max-width: 1024px) {
	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile > li {
		opacity: 0;
		transform: translateY(14px);
		transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
	}
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li {
		opacity: 1;
		transform: none;
	}
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(1) { transition-delay: .10s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(2) { transition-delay: .14s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(3) { transition-delay: .18s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(4) { transition-delay: .22s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(5) { transition-delay: .26s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(6) { transition-delay: .30s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(7) { transition-delay: .34s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(8) { transition-delay: .38s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(9) { transition-delay: .42s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(10) { transition-delay: .46s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(11) { transition-delay: .50s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(12) { transition-delay: .54s; }
	html body:not(.igo-nohd) .mobile-nav.wd-opened .wd-nav-mobile > li:nth-child(n+13) { transition-delay: .58s; }

	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile li > a {
		transition: background-color .2s ease, transform .2s ease, color .2s ease;
		-webkit-tap-highlight-color: transparent;
	}
	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile li > a:active {
		transform: scale(.97);
		background-color: rgba(42, 43, 42, .06);
	}

	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .wd-sub-menu > li {
		opacity: 0;
		transform: translateX(-12px);
		transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
	}
	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .opener-page > .wd-sub-menu > li {
		opacity: 1;
		transform: none;
	}
	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .opener-page > .wd-sub-menu > li:nth-child(1) { transition-delay: .08s; }
	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .opener-page > .wd-sub-menu > li:nth-child(2) { transition-delay: .15s; }
	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .opener-page > .wd-sub-menu > li:nth-child(3) { transition-delay: .22s; }
	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile .opener-page > .wd-sub-menu > li:nth-child(n+4) { transition-delay: .29s; }

	html body:not(.igo-nohd) .mobile-nav .wd-nav-opener {
		transition: transform .3s ease;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown > .wd-dropdown-menu,
	html body:not(.igo-nohd) .whb-header .wd-header-main-nav .menu-simple-dropdown .wd-sub-menu > li,
	html body:not(.igo-nohd) .mobile-nav .wd-nav-mobile li { transition: none; transition-delay: 0s; }
}

/* 2026-10-16 老闆要求：拿掉右上角的收藏愛心。
   不動置頂欄產生器的結構（見 igo-wp-header 記憶），只把那個元件藏起來；
   手機選單裡的「我的收藏」（li.igo-mnav-wish，沒有 wd-tools-element）不受影響。 */
.whb-header div.wd-header-wishlist.wd-tools-element { display: none !important; }

/* 側邊購物車空的時候不放「返回商店」按鈕（2026-10-22 老闆）。放在這支是因為每一頁都會載 */
.cart-widget-side .wd-empty-mini-cart .btn,
.cart-widget-side .wd-empty-mini-cart .button,
.cart-widget-side .wd-empty-mini-cart .wc-backward,
.wd-empty-mini-cart .return-to-shop,
.wd-empty-mini-cart a.btn { display: none !important; }

/**
 * 登入頁。
 *
 * 一張置中白卡，只有一個欄位：信箱 → 驗證碼 → 進去。
 * 顏色、圓角、字級照 igo-design 規範，全部鎖在 .igo-login 底下，不污染全站。
 *
 * 社群按鈕的樣子原本是外掛決定的（Google 直角白底、Facebook 圓角 4 藍底、
 * LINE 圓角 12 綠底，三顆長得都不一樣），這裡統一成同一種白底藥丸。
 * 外掛那些規則沒有 !important，選擇器比它精準就蓋得掉。
 */

.igo-login {
	--igo-surface: #fff;
	--igo-line: #e5e5e7;
	--igo-ink: #1f1f22;
	--igo-ink-2: #4b4b52;
	--igo-muted: #85858e;
	--igo-brand: #b81820;
	--igo-brand-deep: #8e1319;
	--igo-amber: #e8a317;
	--igo-amber-bg: #fdf3de;
	--igo-rose: #e0577a;
	--igo-rose-bg: #fdecf1;
	--igo-green: #3fa35c;
	--igo-green-bg: #e8f5ec;
	--igo-blue: #3f8bd6;
	--igo-blue-bg: #e9f1fb;

	max-width: 440px;
	margin: 0 auto;
	padding: 8px 0 40px;
	color: var(--igo-ink);
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	font-size: 15px;
	line-height: 1.75;
}

.igo-login-card {
	padding: 28px 24px 24px;
	border: 1px solid var(--igo-line);
	border-radius: 14px;
	background-color: var(--igo-surface);
}

/* ── 標題 ───────────────────────────────────────────── */

.igo-login-head {
	margin-bottom: 18px;
	text-align: center;
}

.igo-login .igo-login-title {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.4;
	color: var(--igo-ink);
}

/* 招呼語是英文的單字，當成招牌來排：大一點、字距收緊一點。
   中文標題（「輸入驗證碼」）不套這個 —— 中文加寬或收緊都會變醜。 */
.igo-login .igo-login-title.is-welcome {
	font-size: 34px;
	line-height: 1.25;
	letter-spacing: -.02em;
}

.igo-login .igo-login-lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--igo-muted);
}

.igo-login .igo-login-lead b {
	color: var(--igo-ink);
	font-weight: 700;
}

/* ── 加入會員有什麼好處 ─────────────────────────────── */

/* 兩欄兩列，不要讓登入頁被四行字撐長 */
.igo-login .igo-login-perks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 10px;
	margin: 0 0 20px;
	padding: 14px 14px;
	list-style: none;
	border-radius: 12px;
	background-color: #fafafb;
}

.igo-login .igo-login-perks li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--igo-ink-2);
}

.igo-login .igo-login-perk-icon {
	display: block;
	flex: none;
	width: 28px;
	height: 28px;
	padding: 5px;
	border-radius: 9px;
}

.igo-login .igo-login-perk-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.igo-login .igo-login-perk-icon.is-green {
	background-color: var(--igo-green-bg);
	color: var(--igo-green);
}

.igo-login .igo-login-perk-icon.is-blue {
	background-color: var(--igo-blue-bg);
	color: var(--igo-blue);
}

.igo-login .igo-login-perk-icon.is-amber {
	background-color: var(--igo-amber-bg);
	color: var(--igo-amber);
}

.igo-login .igo-login-perk-icon.is-rose {
	background-color: var(--igo-rose-bg);
	color: var(--igo-rose);
}

/* ── 欄位 ───────────────────────────────────────────── */

.igo-login .igo-login-field {
	position: relative;
	margin: 0 0 14px;
}

.igo-login .igo-login-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--igo-ink-2);
}

.igo-login input[type="text"],
.igo-login input[type="email"],
.igo-login input[type="password"] {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--igo-line);
	border-radius: 12px;
	background-color: #fff;
	color: var(--igo-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 46px;
}

.igo-login input:focus {
	outline: 0;
	border-color: var(--igo-brand);
	box-shadow: 0 0 0 3px rgba(184, 24, 32, .12);
}

/* 出錯的欄位：紅框 ＋ 下面一行紅字（不要只丟一句話在頁面最上面） */
.igo-login .igo-login-field.has-error input {
	border-color: var(--igo-brand);
	background-color: #fffafa;
}

.igo-login .igo-login-err {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-top: 7px;
	color: var(--igo-brand);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}

.igo-login .igo-login-err svg {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 3px;
}

/* 驗證碼：數字大一點、間距拉開，對著信裡那組號碼一個一個打 */
.igo-login .igo-login-field-code input {
	height: 58px;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 12px;
	text-align: center;
	text-indent: 12px;
	font-variant-numeric: tabular-nums;
}

/* ── 主按鈕 ─────────────────────────────────────────── */

.igo-login .igo-login-submit {
	display: block;
	width: 100%;
	height: 50px;
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: var(--igo-brand);
	box-shadow: 0 3px 0 var(--igo-brand-deep);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 50px;
	text-align: center;
	cursor: pointer;
}

.igo-login .igo-login-submit:hover {
	opacity: .94;
}

.igo-login .igo-login-submit:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 var(--igo-brand-deep);
}

/* ── 重寄 / 換信箱 ──────────────────────────────────── */

.igo-login .igo-login-again {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 14px;
}

.igo-login .igo-login-again form {
	margin: 0;
}

.igo-login .igo-login-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--igo-ink-2);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.igo-login .igo-login-link:hover {
	color: var(--igo-brand);
}

.igo-login .igo-login-link[disabled] {
	color: var(--igo-muted);
	text-decoration: none;
	cursor: default;
}

/* ── 分隔線 ─────────────────────────────────────────── */

.igo-login .igo-login-or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 14px;
	font-size: 12px;
	color: var(--igo-muted);
}

.igo-login .igo-login-or::before,
.igo-login .igo-login-or::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background-color: var(--igo-line);
}

/* ── 社群登入：三顆長得一模一樣 ─────────────────────── */

.igo-login-social {
	display: grid;
	gap: 10px;
}

.igo-login .igo-login-social a.wpg-guideline-button,
.igo-login .igo-login-social a.wpg-guideline-button:link,
.igo-login .igo-login-social a.wpg-guideline-button:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--igo-line);
	border-radius: 999px;
	background-color: #fff;
	background-image: none;
	box-shadow: none;
	color: var(--igo-ink);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	opacity: 1;
}

.igo-login .igo-login-social a.wpg-guideline-button:hover {
	border-color: #d5d5da;
	background-color: #fafafb;
	opacity: 1;
}

.igo-login .igo-login-social a.wpg-guideline-button:active {
	transform: translateY(1px);
	background-color: #f3f3f5;
}

/* 圖示本來是絕對定位釘在左邊、三個品牌還不一樣大，改成跟文字排在一起 */
.igo-login .igo-login-social a.wpg-guideline-button svg,
.igo-login .igo-login-social a.wpg-guideline-button .wpg-icon {
	position: static;
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	transform: none;
}

/* ── 頁尾 ───────────────────────────────────────────── */

.igo-login .igo-login-foot {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.6;
	text-align: center;
	color: var(--igo-muted);
}

/* ── 手機 ───────────────────────────────────────────── */

@media (max-width: 767px) {
	.igo-login {
		padding: 4px 0 28px;
	}

	.igo-login-card {
		padding: 22px 16px 20px;
	}

	.igo-login .igo-login-title {
		font-size: 22px;
	}

	.igo-login .igo-login-title.is-welcome {
		font-size: 28px;
	}

	.igo-login .igo-login-field-code input {
		font-size: 22px;
		letter-spacing: 8px;
		text-indent: 8px;
	}

	/* 窄螢幕還是兩欄，字縮一點就好 —— 排成四行會把按鈕推到摺線下面 */
	.igo-login .igo-login-perks {
		gap: 10px 8px;
		padding: 12px 12px;
	}

	.igo-login .igo-login-perks li {
		font-size: 12px;
		gap: 6px;
	}

	.igo-login .igo-login-perk-icon {
		width: 26px;
		height: 26px;
	}
}

/* ==================================================================
   側邊登入彈窗
   ==================================================================
   點站上任何「我的帳戶」都從左邊滑出來，客人留在原本那一頁，
   登入完成才重新整理當頁。卡片跟登入頁是同一份，樣式直接沿用。 */

.igo-login-drawer {
	position: fixed;
	inset: 0;
	z-index: 100200;
}

.igo-login-drawer-bg {
	position: absolute;
	inset: 0;
	background-color: rgba(31, 31, 34, .45);
	opacity: 0;
	transition: opacity .25s ease;
}

.igo-login-drawer.is-on .igo-login-drawer-bg {
	opacity: 1;
}

.igo-login-drawer-panel {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 400px;
	max-width: 92vw;
	max-height: 100%;
	margin: 0;
	padding: 20px 20px 28px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background-color: #fff;
	box-shadow: 4px 0 24px rgba(0, 0, 0, .18);
	transform: translateX(-100%);
	transition: transform .25s ease;
}

.igo-login-drawer.is-on .igo-login-drawer-panel {
	transform: translateX(0);
}

/* 彈窗裡的卡片不用再一層外框，旁邊那片白就是卡片 */
.igo-login-drawer-panel .igo-login-card {
	padding: 0;
	border: 0;
	border-radius: 0;
}

.igo-login-drawer-x {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0 0 6px auto;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: #f0f0f2;
	color: var(--igo-ink-2);
	cursor: pointer;
}

.igo-login-drawer-x:hover {
	background-color: #e5e5e7;
	color: var(--igo-ink);
}

.igo-login-drawer-x svg {
	width: 18px;
	height: 18px;
}

/* 送出中：整張卡片變淡並且不給再按 */
.igo-login-drawer-panel.is-busy .igo-login-drawer-body {
	opacity: .5;
	pointer-events: none;
}

/* 彈窗開著的時候底下那一頁不要跟著捲 */
body.igo-login-drawer-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	/* 手機不占満整個畫面：右邊留一條看到底下那一頁，
	   客人就知道往左滑或點旁邊那一條就關掉，
	   所以右上角那顆 X 在手機不出現。 */
	.igo-login-drawer-panel {
		width: calc(100% - 48px);
		max-width: none;
		padding: 16px 16px 24px;
	}

	.igo-login-drawer-x {
		display: none;
	}
}

/* ==================================================================
   會員面板（已登入時的側邊抽屜）
   ================================================================== */

.igo-member-loading {
	margin: 40px 0;
	text-align: center;
	color: var(--igo-muted);
	font-size: 13px;
}

/* ── 招呼區 ─────────────────────────────────────────── */

.igo-member-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--igo-line);
}

.igo-member-avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--igo-line);
	border-radius: 999px;
	background-color: #fff;
	color: var(--igo-ink-2);
}

.igo-member-avatar:hover {
	border-color: var(--igo-brand);
	color: var(--igo-brand);
}

.igo-member-avatar svg {
	width: 24px;
	height: 24px;
}

a.igo-member-who {
	color: var(--igo-ink);
	text-decoration: none;
}

a.igo-member-who:hover b {
	color: var(--igo-brand);
}

.igo-member-who {
	flex: 1 1 auto;
	min-width: 0;
}

.igo-member-who b {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.igo-member-who small {
	display: block;
	overflow: hidden;
	font-size: 12px;
	color: var(--igo-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.igo-member-gear {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--igo-line);
	border-radius: 999px;
	background-color: #fff;
	color: var(--igo-ink-2);
}

.igo-member-gear:hover {
	border-color: var(--igo-brand);
	color: var(--igo-brand);
}

.igo-member-gear svg {
	width: 20px;
	height: 20px;
}

/* ── 三個分頁 ───────────────────────────────────────── */

.igo-member-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin: 14px 0;
}

.igo-member-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 10px 4px 8px;
	border: 1px solid var(--igo-line);
	border-radius: 12px;
	background-color: #fff;
	color: var(--igo-ink-2);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
}

.igo-member-tab:hover {
	border-color: #d5d5da;
	background-color: #fafafb;
}

.igo-member-tab.is-on {
	border-color: var(--igo-brand);
	background-color: #fffafa;
	color: var(--igo-ink);
}

.igo-member-tab-icon {
	display: block;
	width: 32px;
	height: 32px;
	padding: 6px;
	border-radius: 10px;
}

.igo-member-tab-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.igo-member-tab-icon.is-blue { background-color: var(--igo-blue-bg); color: var(--igo-blue); }
.igo-member-tab-icon.is-green { background-color: var(--igo-green-bg); color: var(--igo-green); }
.igo-member-tab-icon.is-amber { background-color: var(--igo-amber-bg); color: var(--igo-amber); }

.igo-member-tab b {
	font-size: 11px;
	font-weight: 700;
	color: var(--igo-muted);
	font-variant-numeric: tabular-nums;
}

.igo-member-tab.is-on b {
	color: var(--igo-brand);
}

/* ── 清單 ───────────────────────────────────────────── */

.igo-member-body.is-busy {
	opacity: .45;
	pointer-events: none;
}

.igo-member-rows {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--igo-line);
	border-radius: 12px;
	overflow: hidden;
}

.igo-member-rows li + li {
	border-top: 1px solid var(--igo-line);
}

.igo-member-rows a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	color: var(--igo-ink);
	text-decoration: none;
}

.igo-member-rows a:hover {
	background-color: #fafafb;
}

.igo-member-thumb {
	flex: none;
	width: 42px;
	height: 42px;
	object-fit: cover;
	border: 1px solid var(--igo-line);
	border-radius: 8px;
	background-color: #fff;
}

.igo-member-row-main {
	flex: 1 1 auto;
	min-width: 0;
}

.igo-member-row-main b {
	display: block;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.igo-member-row-main small,
.igo-member-row-side small {
	display: block;
	font-size: 12px;
	color: var(--igo-muted);
}

.igo-member-row-side {
	flex: none;
	text-align: right;
}

.igo-member-badge {
	display: inline-block;
	margin-bottom: 3px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.7;
}

.igo-member-badge.is-green { background-color: var(--igo-green-bg); color: var(--igo-green); }
.igo-member-badge.is-blue { background-color: var(--igo-blue-bg); color: var(--igo-blue); }
.igo-member-badge.is-amber { background-color: var(--igo-amber-bg); color: var(--igo-amber); }
.igo-member-badge.is-grey { background-color: #f0f0f2; color: var(--igo-muted); }

.igo-member-all {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	color: var(--igo-ink-2);
	text-decoration: underline;
}

.igo-member-all:hover {
	color: var(--igo-brand);
}

/* ── 空狀態 ─────────────────────────────────────────── */

.igo-member-empty {
	padding: 26px 16px;
	border: 1px solid var(--igo-line);
	border-radius: 12px;
	text-align: center;
}

.igo-member-empty-icon {
	display: inline-block;
	width: 46px;
	height: 46px;
	padding: 10px;
	border-radius: 999px;
	background-color: var(--igo-amber-bg);
	color: var(--igo-amber);
}

.igo-member-empty-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.igo-member-empty b {
	display: block;
	margin-top: 10px;
	font-size: 15px;
	font-weight: 700;
}

.igo-member-empty p {
	margin: 4px 0 12px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--igo-muted);
}

.igo-member-empty a {
	display: inline-block;
	height: 40px;
	padding: 0 20px;
	border-radius: 999px;
	background-color: var(--igo-brand);
	box-shadow: 0 3px 0 var(--igo-brand-deep);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 40px;
	text-decoration: none;
}

/* ── 訂單列：單號＋日期當標題 ───────────────────────── */

.igo-member-row-main b i {
	margin-left: 6px;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	color: var(--igo-muted);
}

.igo-member-price {
	font-size: 14px;
	font-weight: 700;
}

.igo-member-off {
	color: var(--igo-green);
	font-weight: 700;
}

.igo-member-row-side del {
	color: var(--igo-muted);
	font-weight: 400;
}

/* ── 區塊（購物車、熱門商品） ───────────────────────── */

.igo-member-sec {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--igo-line);
}

/* 區塊標題跟「折扣碼」那個小標同一套：小字、灰色、字距拉開。
   ⚠️ 它是 <h3>，佈景主題會給標題套自己的英文字體（Urbanist），
   要 font-family: inherit 才會跟旁邊的字一樣。 */
.igo-member-sec-title {
	font-family: inherit;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--igo-muted);
}

.igo-member-sec-title span {
	font-size: 12px;
	font-weight: 400;
	color: var(--igo-muted);
}

.igo-member-cart-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 10px;
	font-size: 13px;
	color: var(--igo-ink-2);
}

.igo-member-cart-foot b {
	font-size: 15px;
	font-weight: 900;
	color: var(--igo-ink);
}

.igo-member-cart-foot a {
	height: 40px;
	padding: 0 20px;
	border-radius: 999px;
	background-color: var(--igo-brand);
	box-shadow: 0 3px 0 var(--igo-brand-deep);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 40px;
	text-decoration: none;
}

/* 熱門商品：橫向滑，不要把面板拉得很長 */
.igo-member-hot {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	scroll-snap-type: x mandatory;
}

.igo-member-hot-item {
	flex: none;
	width: 112px;
	scroll-snap-align: start;
	color: var(--igo-ink);
	text-decoration: none;
}

.igo-member-hot-item img {
	display: block;
	width: 112px;
	height: 112px;
	object-fit: cover;
	border: 1px solid var(--igo-line);
	border-radius: 12px;
	background-color: #fff;
}

.igo-member-hot-item b {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.igo-member-hot-item small {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--igo-brand);
	font-weight: 700;
}

.igo-member-hot-item small del {
	color: var(--igo-muted);
	font-weight: 400;
}

/* ── 底下那排連結 ───────────────────────────────────── */

.igo-member-links {
	display: grid;
	gap: 8px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--igo-line);
}

.igo-member-link {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--igo-line);
	border-radius: 12px;
	background-color: #fff;
	color: var(--igo-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.igo-member-link:hover {
	border-color: #d5d5da;
	background-color: #fafafb;
}

.igo-member-link-icon {
	display: block;
	flex: none;
	width: 30px;
	height: 30px;
	padding: 5px;
	border-radius: 10px;
}

.igo-member-link-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.igo-member-link-icon.is-green { background-color: var(--igo-green-bg); color: #06c755; }
.igo-member-link-icon.is-blue { background-color: var(--igo-blue-bg); color: var(--igo-blue); }
.igo-member-link-icon.is-grey { background-color: #f0f0f2; color: var(--igo-muted); }

/* 中文名稱交給 CSS 收尾（wp_trim_words 對中文是按字數切，8 個字會變成「PETKIT｜1…」） */
.igo-member-row-main small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.igo-member-hot-item b {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

/* ── 訂單列：單號在左、日期靠右對齊 ─────────────────── */

.igo-member-row-main b {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.igo-member-date {
	flex: none;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	color: var(--igo-muted);
	font-variant-numeric: tabular-nums;
}

/* ── 底下兩顆：文字對齊 ─────────────────────────────── */

.igo-member-links {
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.igo-member-link {
	justify-content: flex-start;
}

.igo-member-link-text {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* 登出就是一行字，不要做成按鈕 */
.igo-member-signout {
	display: block;
	margin-top: 16px;
	font-size: 13px;
	text-align: center;
	color: var(--igo-muted);
	text-decoration: underline;
}

.igo-member-signout:hover {
	color: var(--igo-brand);
}

@media (max-width: 767px) {
	.igo-member-links {
		grid-template-columns: 1fr;
	}
}

/* ── 熱門商品：手機用手滑，桌機用左右兩塊 ───────────── */

.igo-member-rail {
	position: relative;
}

.igo-member-hot {
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
}

.igo-member-hot::-webkit-scrollbar {
	display: none;
}

.igo-member-rail-btn {
	position: absolute;
	top: 0;
	bottom: 26px;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background-color: rgba(31, 31, 34, .35);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transition: opacity .15s ease, background-color .15s ease;
}

.igo-member-rail-btn.is-left {
	left: 0;
}

.igo-member-rail-btn.is-right {
	right: 0;
}

.igo-member-rail-btn svg {
	width: 20px;
	height: 20px;
}

.igo-member-rail-btn:hover {
	background-color: rgba(31, 31, 34, .55);
}

/* 有滑鼠才出現；觸控裝置直接用手指滑，不要擋住商品 */
@media (hover: hover) and (pointer: fine) {
	.igo-member-rail-btn:not([hidden]) {
		display: flex;
	}

	.igo-member-rail:hover .igo-member-rail-btn:not([hidden]) {
		opacity: 1;
	}
}

/* ── 可以用的優惠 ───────────────────────────────────── */

.igo-member-wallet {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--igo-line);
	border-radius: 12px;
	background-color: #fffdf7;
	color: var(--igo-ink);
	text-decoration: none;
}

.igo-member-wallet:hover {
	border-color: var(--igo-amber);
}

.igo-member-wallet-main {
	flex: 1 1 auto;
	min-width: 0;
}

.igo-member-wallet-main small {
	display: block;
	font-size: 12px;
	color: var(--igo-muted);
}

.igo-member-wallet-main b {
	display: block;
	font-size: 17px;
	font-weight: 900;
	line-height: 1.35;
}

.igo-member-wallet-go {
	flex: none;
	font-size: 12px;
	font-weight: 700;
	color: var(--igo-muted);
}

.igo-member-coupons {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.igo-member-coupons li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border: 1px dashed var(--igo-brand);
	border-radius: 12px;
	background-color: #fffafa;
}

.igo-member-coupon-main {
	flex: 1 1 auto;
	min-width: 0;
}

.igo-member-coupon-main b {
	display: block;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: .04em;
	color: var(--igo-brand);
}

.igo-member-coupon-main small {
	display: block;
	overflow: hidden;
	font-size: 12px;
	color: var(--igo-ink-2);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.igo-member-copy {
	flex: none;
	height: 32px;
	padding: 0 14px;
	border: 1px solid var(--igo-brand);
	border-radius: 999px;
	background-color: #fff;
	color: var(--igo-brand);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.igo-member-copy:hover {
	background-color: var(--igo-brand);
	color: #fff;
}

.igo-member-copy.is-done {
	border-color: var(--igo-green);
	background-color: var(--igo-green);
	color: #fff;
}

/* 最近入帳（購物金怎麼來的） */
.igo-member-credits {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.igo-member-credits li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 10px;
	background-color: #fafafb;
	font-size: 13px;
	color: var(--igo-ink-2);
}

.igo-member-credits li span {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.igo-member-credits li b {
	flex: none;
	font-weight: 700;
	color: var(--igo-green);
}

.igo-member-credits li small {
	flex: none;
	font-size: 11px;
	color: var(--igo-muted);
}

/* 四個分頁，字要縮一點才排得下 */
.igo-member-tabs {
	grid-template-columns: repeat(4, 1fr);
	gap: 5px;
}

.igo-member-tab {
	padding: 9px 2px 7px;
	font-size: 11px;
	letter-spacing: 0;
}

.igo-member-tab-icon {
	width: 28px;
	height: 28px;
	padding: 5px;
}

/* ── 購物車：就地改數量 ─────────────────────────────── */

.igo-member-cartrows li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
}

.igo-member-cart-name {
	display: block;
	color: var(--igo-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;
	/* 品名要看得完整，不要切掉 */
	white-space: normal;
	word-break: break-word;
}

.igo-member-cart-name:hover {
	color: var(--igo-brand);
}

/* 加減數量做成一顆膠囊：左減、中間數字置中、右加 */
.igo-member-qty {
	display: inline-flex;
	align-items: center;
	margin-top: 8px;
	border: 1px solid var(--igo-line);
	border-radius: 999px;
	background-color: #fff;
	overflow: hidden;
}

/* 數字格：外觀跟原本那個 <b> 一模一樣，只是可以點進去打字 */
.igo-member-qty-input {
	box-sizing: border-box;
	width: 34px;
	height: 30px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background-color: #fff;
	color: var(--igo-ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.igo-member-qty-input:focus {
	outline: 0;
	box-shadow: none;
	background-color: #fff;
}

.igo-member-qty-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background-color: #fff;
	color: var(--igo-ink-2);
	font-family: inherit;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

.igo-member-qty-btn:hover {
	background-color: var(--igo-brand);
	color: #fff;
}

/* 省多少那段從膠囊裡搬出來，接在後面 */
.igo-member-qty .igo-member-off {
	display: none;
}

.igo-member-row-main .igo-member-off {
	display: block;
	margin-top: 4px;
	font-size: 12px;
}

.igo-member-sec.is-busy,
.igo-member-sheet-in.is-busy {
	opacity: .45;
	pointer-events: none;
}

/* 專屬優惠標題旁邊那行小字 */
.igo-member-sec-title span {
	font-size: 12px;
	font-weight: 400;
	color: var(--igo-muted);
}


/* ==================================================================
   右側彈窗（購物金明細、保固政策）
   ==================================================================
   從右邊滑進來、上下一定是整頁。
   ⚠️ 曾經被改成「置中的對話窗」（max-height: 88vh ＋ columns: 2），
   結果就是窗沒有到底、內文被切成左右兩欄。要改版面前先看這段。 */

.igo-modal {
	position: fixed;
	inset: 0;
	z-index: 100300;

	/* 這個元素也掛了 .igo-login（為了共用字體顏色），把它的
	   max-width / margin / padding 蓋掉，不然整個容器會被縮小置中。 */
	max-width: none;
	margin: 0;
	padding: 0;
}

.igo-modal-bg {
	position: absolute;
	inset: 0;
	background-color: rgba(31, 31, 34, .45);
	opacity: 0;
	transition: opacity .25s ease;
}

.igo-modal.is-on .igo-modal-bg {
	opacity: 1;
}

.igo-modal-box {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: 460px;
	max-width: 94vw;
	height: auto;
	max-height: none;
	border-radius: 0;
	background-color: #fff;
	box-shadow: -4px 0 24px rgba(0, 0, 0, .18);
	transform: translateX(100%);
	transition: transform .25s ease;
}

.igo-modal.is-on .igo-modal-box {
	transform: translateX(0);
}

.igo-modal-x {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: #f0f0f2;
	color: var(--igo-ink-2);
	cursor: pointer;
}

.igo-modal-x:hover {
	background-color: #e5e5e7;
	color: var(--igo-ink);
}

.igo-modal-x svg {
	width: 18px;
	height: 18px;
}

.igo-modal-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 26px 20px 30px;
	overscroll-behavior: contain;
}

/* 內文一條從上到下，不分欄 */
.igo-modal .igo-member-sheet-in,
.igo-modal .igo-member-sheet-in * {
	columns: auto;
	column-count: 1;
	float: none;
}

.igo-modal .igo-member-sheet-in h3 {
	margin: 0 0 12px;
	padding-right: 44px;
	font-size: 19px;
	font-weight: 900;
}

.igo-modal .igo-member-sheet-in h3:not(:first-child),
.igo-modal .igo-member-sheet-in h4 {
	margin-top: 20px;
}

.igo-modal .igo-member-sheet-in p,
.igo-modal .igo-member-sheet-in li {
	font-size: 14px;
	line-height: 1.85;
	color: var(--igo-ink-2);
}

.igo-modal .igo-member-sheet-in ul:not(.igo-member-credits) {
	margin: 0 0 12px;
	padding-left: 20px;
}

.igo-modal .igo-member-sheet-in table {
	display: block;
	width: 100%;
	margin: 10px 0 14px;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 13px;
	white-space: nowrap;
}

.igo-modal .igo-member-sheet-in th,
.igo-modal .igo-member-sheet-in td {
	padding: 8px 10px;
	border: 1px solid var(--igo-line);
	text-align: left;
	line-height: 1.6;
}

.igo-modal .igo-member-sheet-in th {
	background-color: #fafafb;
	font-weight: 700;
}

@media (min-width: 1100px) {
	.igo-modal-box {
		width: 520px;
	}
}

@media (max-width: 767px) {
	.igo-modal-box {
		width: 100%;
		max-width: 100%;
	}

	.igo-modal-body {
		padding: 24px 16px 28px;
	}
}

/* ── 購物金那張卡是按鈕，外觀要跟原本一模一樣 ─────────
   （<button> 有自己的預設樣式，不指定就會變成灰底、置中、字體也不一樣） */
button.igo-member-wallet {
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
}

/* ── 「查看全部」也是按鈕 ───────────────────────────── */
button.igo-member-all {
	width: 100%;
	border: 0;
	background: none;
	font-family: inherit;
	cursor: pointer;
}





/* ==================================================================
   補回來的樣式
   ==================================================================
   這些在一次清理彈窗樣式時被連坐刪掉了（折扣碼小標、折扣標、
   後台提示、購物金明細）。刪大段之前要先確認裡面沒有別人的東西。 */

/* 購物金與折扣碼中間的分隔與小標 */
.igo-member-subtitle {
	margin: 16px 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--igo-muted);
}

.igo-member-subtitle::before {
	content: "";
	display: block;
	margin-bottom: 12px;
	border-top: 1px solid var(--igo-line);
}

/* 只有後台看得到的提示 */
.igo-member-hint {
	margin: 0;
	padding: 12px 14px;
	border: 1px dashed var(--igo-line);
	border-radius: 12px;
	background-color: #fafafb;
	font-size: 12px;
	line-height: 1.7;
	color: var(--igo-muted);
}

/* 專屬優惠／我的收藏：圖片右上角的折扣標 */
.igo-member-hot-img {
	position: relative;
	display: block;
}

.igo-member-off-tag {
	position: absolute;
	top: 6px;
	right: 6px;
	padding: 2px 7px;
	border-radius: 999px;
	background-color: var(--igo-brand);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.6;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

/* 購物金明細（右側彈窗裡） */
.igo-member-sheet-sum {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background-color: #fffdf7;
	font-size: 13px;
	color: var(--igo-ink-2);
}

.igo-member-sheet-sum b {
	font-size: 20px;
	font-weight: 900;
	color: var(--igo-ink);
}

.igo-member-credits.is-full li {
	padding: 9px 12px;
	border-bottom: 1px solid var(--igo-line);
	border-radius: 0;
	background: none;
}

.igo-member-credits li b.is-out {
	color: var(--igo-ink-2);
}

.igo-member-credits li b.is-in {
	color: var(--igo-green);
}



/* ==================================================================
   購物車側欄（右上角購物車打開的那個）
   ==================================================================
   目標是「乾淨、字小、資訊清楚」：
   品名 13px、價格才用粗體、留白收緊，整體跟會員面板同一套語彙。
   只鎖在 .cart-widget-side 裡，不影響購物車頁與結帳頁。 */

.cart-widget-side {
	--igo-line: #ececee;
	--igo-ink: #1f1f22;
	--igo-ink-2: #4b4b52;
	--igo-muted: #8c8c95;
	--igo-brand: #b81820;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	font-size: 13px;
	color: var(--igo-ink-2);
}

/* ── 標題列 ─────────────────────────────────────────── */

.cart-widget-side .wd-heading {
	padding: 18px 18px 14px;
	border-bottom: 1px solid var(--igo-line);
}

.cart-widget-side .wd-heading .title {
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .02em;
	color: var(--igo-ink);
	text-transform: none;
}

.cart-widget-side .close-side-widget a {
	font-size: 0;
}

.cart-widget-side .close-side-widget a::before {
	content: "×";
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background-color: #f3f3f5;
	color: var(--igo-ink-2);
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 30px;
	text-align: center;
}

.cart-widget-side .close-side-widget a::after {
	content: none;
}

/* ── 商品列 ─────────────────────────────────────────── */

.cart-widget-side .woocommerce-mini-cart-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 14px 18px;
	border-bottom: 1px solid var(--igo-line);
}

.cart-widget-side .cart-item-image {
	flex: none;
	width: 56px;
}

.cart-widget-side .woocommerce-mini-cart-item img {
	width: 56px !important;
	height: 56px !important;
	max-width: 56px;
	object-fit: cover;
	border: 1px solid var(--igo-line);
	border-radius: 10px;
	background-color: #fff;
}

.cart-widget-side .cart-info {
	flex: 1 1 auto;
	min-width: 0;
	padding-right: 24px;
}

.cart-widget-side .wd-entities-title {
	display: block;
	margin: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--igo-ink);
	white-space: normal;
	word-break: break-word;
}

/* 刪除鈕：一顆小灰圓 ×（主題的 ::after 也有一個，關掉） */
.cart-widget-side .woocommerce-mini-cart-item .remove {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background-color: transparent;
	color: #b9b9c0;
	font-size: 0;
}

.cart-widget-side .woocommerce-mini-cart-item .remove::before {
	content: "×";
	display: block;
	font-family: inherit;
	font-size: 16px;
	line-height: 22px;
	text-align: center;
}

.cart-widget-side .woocommerce-mini-cart-item .remove::after {
	content: none;
}

.cart-widget-side .woocommerce-mini-cart-item .remove:hover {
	background-color: #f3f3f5;
	color: var(--igo-brand);
}

/* ── 數量：一顆膠囊，數字在中間 ─────────────────────── */

.cart-widget-side .quantity {
	display: inline-flex !important;
	align-items: center;
	margin: 8px 0 0;
	padding: 0;
	border: 1px solid var(--igo-line);
	border-radius: 999px;
	background-color: #fff;
	overflow: hidden;
}

.cart-widget-side .quantity .screen-reader-text {
	display: none;
}

.cart-widget-side .quantity input.qty {
	box-sizing: border-box;
	width: 34px;
	height: 28px;
	padding: 0;
	border: 0;
	background-color: #fff;
	color: var(--igo-ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.cart-widget-side .quantity .wd-qty-btn,
.cart-widget-side .quantity > a,
.cart-widget-side .quantity button,
.cart-widget-side .quantity input.plus,
.cart-widget-side .quantity input.minus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 0;
	background-color: #fff;
	color: var(--igo-ink-2);
	font-size: 14px;
	line-height: 1;
}

.cart-widget-side .quantity .wd-qty-btn:hover,
.cart-widget-side .quantity > a:hover,
.cart-widget-side .quantity button:hover,
.cart-widget-side .quantity input.plus:hover,
.cart-widget-side .quantity input.minus:hover {
	background-color: var(--igo-brand);
	color: #fff;
}

/* 單列小計：金額才用粗體，字級壓小 */
.cart-widget-side .igo-mini-total {
	display: block;
	margin-top: 7px;
	font-size: 11px;
	color: var(--igo-muted);
}

.cart-widget-side .igo-mini-total .amount {
	margin-left: 4px;
	font-size: 13px;
	font-weight: 800;
	color: var(--igo-ink);
}

/* ── 底部 ───────────────────────────────────────────── */

.cart-widget-side .shopping-cart-widget-footer {
	padding: 14px 18px 18px;
	border-top: 1px solid var(--igo-line);
	background-color: #fff;
}

.cart-widget-side .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--igo-ink-2);
}

.cart-widget-side .woocommerce-mini-cart__total .amount {
	font-size: 18px;
	font-weight: 900;
	color: var(--igo-ink);
}

.cart-widget-side .woocommerce-mini-cart__buttons {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.cart-widget-side .woocommerce-mini-cart__buttons .button {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 42px;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout {
	border: 0;
	background-color: var(--igo-brand);
	box-shadow: 0 3px 0 #8e1319;
	color: #fff;
	line-height: 44px;
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 #8e1319;
}

.cart-widget-side .woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
	border: 1px solid var(--igo-line);
	background-color: #fff;
	color: var(--igo-ink-2);
}

/* 免運提示與進度條：小字、細條 */
.cart-widget-side .wd-free-progress-bar,
.cart-widget-side [class*="free-progress"] {
	margin-bottom: 12px;
	font-size: 11px;
	line-height: 1.7;
	color: var(--igo-muted);
}

.cart-widget-side [class*="free-progress"] .amount {
	font-weight: 700;
	color: var(--igo-brand);
}

/* 空車 */
.cart-widget-side .wd-empty-mini-cart {
	padding: 44px 24px;
	text-align: center;
	color: var(--igo-muted);
}

.cart-widget-side .wd-empty-mini-cart .title {
	font-size: 14px;
	color: var(--igo-ink-2);
}

/* 送出中：整顆膠囊淡一點，但數字已經先變了，不擋操作 */
.igo-member-qty.is-saving,
.cart-widget-side .quantity.is-saving {
	opacity: .65;
}

/* ==================================================================
   購物車側欄（右上角打開的那個）
   ==================================================================
   排法：縮圖｜品名＋數量膠囊｜右邊價格。價格靠右對齊成一直線，
   眼睛掃一次就知道每列多少錢、總共多少。
   字級壓小，只有金額與總計用粗體，其餘都是安靜的灰。 */

.cart-widget-side {
	--igo-line: #eeeef0;
	--igo-ink: #1f1f22;
	--igo-ink-2: #55555e;
	--igo-muted: #92929b;
	--igo-brand: #b81820;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	font-size: 13px;
	color: var(--igo-ink-2);
	background-color: #fff;
}

/* ── 標題 ───────────────────────────────────────────── */

.cart-widget-side .wd-heading {
	padding: 20px 20px 14px;
	border-bottom: 1px solid var(--igo-line);
}

.cart-widget-side .wd-heading .title {
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--igo-ink);
	text-transform: none;
}

.cart-widget-side .close-side-widget a {
	font-size: 0;
}

.cart-widget-side .close-side-widget a::before {
	content: "×";
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	color: var(--igo-muted);
	font-family: inherit;
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	text-align: center;
}

.cart-widget-side .close-side-widget a:hover::before {
	background-color: #f3f3f5;
	color: var(--igo-ink);
}

.cart-widget-side .close-side-widget a::after {
	content: none;
}

/* ── 商品列 ─────────────────────────────────────────── */

.cart-widget-side .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	margin: 0;
	padding: 16px 20px;
	border-bottom: 1px solid var(--igo-line);
}

.cart-widget-side .cart-item-image {
	width: 56px;
}

.cart-widget-side .woocommerce-mini-cart-item img {
	width: 56px !important;
	height: 56px !important;
	max-width: 56px;
	object-fit: cover;
	border-radius: 10px;
	background-color: #f7f7f8;
}

.cart-widget-side .cart-info {
	min-width: 0;
	padding: 0;
}

.cart-widget-side .wd-entities-title {
	display: block;
	margin: 0 0 8px;
	padding-right: 26px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.55;
	color: var(--igo-ink);
	white-space: normal;
	word-break: break-word;
}

/* 價格靠右，跟數量膠囊同一行 */
.cart-widget-side .igo-mini-total {
	position: absolute;
	right: 20px;
	bottom: 18px;
	font-size: 0;
	text-align: right;
}

.cart-widget-side .igo-mini-total .amount {
	font-size: 14px;
	font-weight: 800;
	color: var(--igo-ink);
}

/* 刪除鈕：右上角淡灰 ×（主題的 ::after 也放了一個，要關掉） */
.cart-widget-side .woocommerce-mini-cart-item .remove {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background-color: transparent;
	color: #c2c2c9;
	font-size: 0;
}

.cart-widget-side .woocommerce-mini-cart-item .remove::before {
	content: "×";
	display: block;
	font-family: inherit;
	font-size: 17px;
	font-weight: 300;
	line-height: 22px;
	text-align: center;
}

.cart-widget-side .woocommerce-mini-cart-item .remove::after {
	content: none;
}

.cart-widget-side .woocommerce-mini-cart-item .remove:hover {
	background-color: #f7f7f8;
	color: var(--igo-brand);
}

/* ── 數量膠囊 ───────────────────────────────────────── */

.cart-widget-side .quantity {
	display: inline-flex !important;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid #e2e2e6;
	border-radius: 999px;
	background-color: #fff;
	overflow: hidden;
}

.cart-widget-side .quantity .screen-reader-text {
	display: none;
}

.cart-widget-side .quantity input.qty {
	box-sizing: border-box;
	width: 34px;
	height: 28px;
	padding: 0;
	border: 0;
	background-color: #fff;
	color: var(--igo-ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 28px;
	text-align: center;
}

.cart-widget-side .quantity input.qty:focus {
	outline: 0;
	box-shadow: none;
	background-color: #fffafa;
}

.cart-widget-side .quantity .wd-qty-btn,
.cart-widget-side .quantity > a,
.cart-widget-side .quantity button,
.cart-widget-side .quantity input.plus,
.cart-widget-side .quantity input.minus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 0;
	background-color: #fff;
	color: var(--igo-muted);
	font-size: 14px;
	line-height: 1;
}

.cart-widget-side .quantity .wd-qty-btn:hover,
.cart-widget-side .quantity > a:hover,
.cart-widget-side .quantity button:hover,
.cart-widget-side .quantity input.plus:hover,
.cart-widget-side .quantity input.minus:hover {
	background-color: #f3f3f5;
	color: var(--igo-ink);
}

/* ── 底部 ───────────────────────────────────────────── */

.cart-widget-side .shopping-cart-widget-footer {
	padding: 16px 20px 20px;
	border-top: 1px solid var(--igo-line);
	background-color: #fff;
}

.cart-widget-side .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--igo-ink-2);
}

.cart-widget-side .woocommerce-mini-cart__total strong {
	font-weight: 600;
}

.cart-widget-side .woocommerce-mini-cart__total .amount {
	font-size: 19px;
	font-weight: 900;
	color: var(--igo-ink);
}

.cart-widget-side .woocommerce-mini-cart__buttons {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.cart-widget-side .woocommerce-mini-cart__buttons .button {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 42px;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout {
	border: 0;
	background-color: var(--igo-brand);
	box-shadow: 0 3px 0 #8e1319;
	color: #fff;
	line-height: 44px;
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 #8e1319;
}

.cart-widget-side .woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
	border: 1px solid #e2e2e6;
	background-color: #fff;
	color: var(--igo-ink-2);
}

/* 免運提示：一行小字＋細進度條 */
.cart-widget-side [class*="free-progress"],
.cart-widget-side .wd-free-progress-bar {
	margin-bottom: 14px;
	font-size: 11px;
	line-height: 1.7;
	color: var(--igo-muted);
}

.cart-widget-side [class*="free-progress"] .amount {
	font-weight: 700;
	color: var(--igo-brand);
}

.cart-widget-side [class*="progress-bar"] {
	height: 4px !important;
	border-radius: 999px;
	overflow: hidden;
}

/* 空車 */
.cart-widget-side .wd-empty-mini-cart {
	padding: 48px 24px;
	text-align: center;
}

.cart-widget-side .wd-empty-mini-cart .title {
	font-size: 14px;
	color: var(--igo-ink-2);
}

/* 空車時不放「返回商店」按鈕 —— 抽屜關掉就回到原本在逛的頁面了，
   多一顆按鈕只是把人推離現在這一頁。按鈕是佈景主題的樣板印的
   （woodmart/woocommerce/cart/mini-cart.php），不動樣板，在這裡收掉。 */
.cart-widget-side .wd-empty-mini-cart .btn {
	display: none;
}

/* ==================================================================
   購物車側欄的數量與價格：照蝦皮那套做法
   ==================================================================
   蝦皮的做法很克制，也很好認：
   - 數量是一個**方形**的三格小盒（− ｜數字｜＋），細灰框、幾乎沒有圓角，
     高度只有 26px，按鈕是灰字不是彩色，不搶戲。
   - 價格才是彩色：單列金額與最後的總計用品牌色，其餘全是灰字。
   - 數字用一般字重，價格才加粗。
   這一段刻意放在檔案最後面，蓋掉上面那版膠囊式的寫法。 */

.cart-widget-side .quantity {
	display: inline-flex !important;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid #e0e0e3;
	border-radius: 2px;
	background-color: #fff;
	overflow: hidden;
}

.cart-widget-side .quantity input.qty {
	box-sizing: border-box;
	width: 42px;
	height: 26px;
	padding: 0;
	border: 0;
	border-right: 1px solid #e0e0e3;
	border-left: 1px solid #e0e0e3;
	border-radius: 0;
	background-color: #fff;
	color: var(--igo-ink);
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 26px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.cart-widget-side .quantity input.qty:focus {
	outline: 0;
	box-shadow: none;
	background-color: #fff;
}

.cart-widget-side .quantity .wd-qty-btn,
.cart-widget-side .quantity > a,
.cart-widget-side .quantity button,
.cart-widget-side .quantity input.plus,
.cart-widget-side .quantity input.minus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: #fff;
	color: #6b6b73;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 26px;
}

.cart-widget-side .quantity .wd-qty-btn:hover,
.cart-widget-side .quantity > a:hover,
.cart-widget-side .quantity button:hover,
.cart-widget-side .quantity input.plus:hover,
.cart-widget-side .quantity input.minus:hover {
	background-color: #f5f5f6;
	color: var(--igo-ink);
}

/* 單列金額：灰標籤＋品牌色數字，靠右對齊 */
.cart-widget-side .igo-mini-total {
	position: absolute;
	right: 20px;
	bottom: 20px;
	font-size: 0;
	text-align: right;
}

.cart-widget-side .igo-mini-total .amount {
	font-size: 14px;
	font-weight: 500;
	color: var(--igo-brand);
}

/* 底部總計：蝦皮那種「左邊灰字、右邊大的品牌色數字」 */
.cart-widget-side .woocommerce-mini-cart__total {
	align-items: baseline;
	font-size: 13px;
	font-weight: 400;
	color: var(--igo-muted);
}

.cart-widget-side .woocommerce-mini-cart__total .amount {
	font-size: 20px;
	font-weight: 700;
	color: var(--igo-brand);
}

/* ==================================================================
   購物車：最後一版視覺（兩邊共用同一套語彙）
   ==================================================================
   參考蝦皮的克制：數量是安靜的方盒、金額才有顏色。
   在這裡統一收尾，前面幾版的零碎設定由這一段蓋掉。 */

/* ── 數量盒（左右兩邊長一樣） ───────────────────────── */

.igo-member-qty,
.cart-widget-side .quantity {
	display: inline-flex !important;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid #dededf;
	border-radius: 6px;
	background-color: #fff;
	overflow: hidden;
}

.igo-member-qty {
	margin-top: 8px;
}

.igo-member-qty-input,
.cart-widget-side .quantity input.qty {
	box-sizing: border-box;
	width: 40px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: 0;
	border-right: 1px solid #ededee;
	border-left: 1px solid #ededee;
	border-radius: 0;
	background-color: #fff;
	color: #1f1f22;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 28px;
	text-align: center;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
	appearance: textfield;
}

.igo-member-qty-input:focus,
.cart-widget-side .quantity input.qty:focus {
	outline: 0;
	box-shadow: none;
	background-color: #fffdfd;
}

/* 數字欄的上下小箭頭拿掉，那個東西在小方盒裡很醜 */
.cart-widget-side .quantity input.qty::-webkit-outer-spin-button,
.cart-widget-side .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.igo-member-qty-btn,
.cart-widget-side .quantity .wd-qty-btn,
.cart-widget-side .quantity > a,
.cart-widget-side .quantity button,
.cart-widget-side .quantity input.plus,
.cart-widget-side .quantity input.minus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: #fff;
	color: #6f6f78;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 28px;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.igo-member-qty-btn:hover,
.cart-widget-side .quantity .wd-qty-btn:hover,
.cart-widget-side .quantity > a:hover,
.cart-widget-side .quantity button:hover,
.cart-widget-side .quantity input.plus:hover,
.cart-widget-side .quantity input.minus:hover {
	background-color: #f6f6f7;
	color: #b81820;
}

.igo-member-qty-btn:focus-visible,
.cart-widget-side .quantity input:focus-visible {
	outline: 2px solid #b81820;
	outline-offset: -2px;
}

/* ── 側欄的一列：縮圖｜內容｜金額，金額對齊同一直線 ── */

.cart-widget-side .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	padding: 16px 20px 16px 20px;
}

/* LOGO 不要被裁掉：整張放得下，留一點白 */
.cart-widget-side .woocommerce-mini-cart-item img {
	width: 56px !important;
	height: 56px !important;
	max-width: 56px;
	padding: 4px;
	object-fit: contain;
	background-color: #fff;
	border: 1px solid #f0f0f1;
	border-radius: 8px;
}

.cart-widget-side .cart-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding-right: 96px;
}

.cart-widget-side .wd-entities-title {
	margin: 0 0 8px;
	padding-right: 0;
	cursor: pointer;
}

.cart-widget-side .wd-entities-title:hover {
	color: #b81820;
}

.cart-widget-side .cart-item-image {
	cursor: pointer;
}

/* 金額：每一列都固定在同一個位置，右邊切齊 */
.cart-widget-side .igo-mini-total {
	position: absolute;
	right: 20px;
	bottom: 18px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 0;
	line-height: 1;
	text-align: right;
}

.cart-widget-side .igo-mini-total .amount {
	font-size: 14px;
	font-weight: 700;
	color: #b81820;
	font-variant-numeric: tabular-nums;
}

/* ── 免運進度：一條真的進度條 ＋ 一行說明 ───────────── */

.cart-widget-side .wd-progress-bar,
.cart-widget-side .wd-free-progress-bar {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 10px;
	background-color: #fafafb;
}

.cart-widget-side .wd-free-progress-bar .progress-msg {
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 1.6;
	color: #55555e;
}

.cart-widget-side .wd-free-progress-bar .progress-msg .amount {
	font-weight: 700;
	color: #b81820;
}

.cart-widget-side .wd-free-progress-bar .progress-area {
	height: 6px;
	border-radius: 999px;
	background-color: #e8e8ea;
	overflow: hidden;
}

.cart-widget-side .wd-free-progress-bar .progress-bar {
	height: 6px;
	border-radius: 999px;
	background-color: #b81820;
	transition: width .3s ease;
}

/* 已經達標：整條變綠，一眼就知道過了 */
.cart-widget-side .wd-free-progress-bar .progress-bar[style*="100%"] {
	background-color: #3fa35c;
}

/* ── 商品快速預覽 ───────────────────────────────────── */

.igo-peek {
	text-align: center;
}

.igo-peek-img {
	display: block;
	width: 100%;
	max-width: 280px;
	margin: 0 auto 16px;
	border: 1px solid #f0f0f1;
	border-radius: 14px;
	background-color: #fff;
	object-fit: contain;
}

.igo-peek-title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.5;
	color: #1f1f22;
}

.igo-peek-price {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 900;
	color: #b81820;
}

.igo-peek-price del {
	margin-right: 6px;
	font-size: 14px;
	font-weight: 400;
	color: #92929b;
}

.igo-peek-price ins {
	text-decoration: none;
}

.igo-peek-sku {
	margin: 0 0 14px;
	font-size: 12px;
	color: #92929b;
}

.igo-peek-desc {
	margin: 0 0 18px;
	padding-top: 14px;
	border-top: 1px solid #f0f0f1;
	font-size: 14px;
	line-height: 1.85;
	color: #55555e;
	text-align: left;
}

.igo-peek-go {
	display: inline-block;
	width: 100%;
	height: 46px;
	border-radius: 999px;
	background-color: #b81820;
	box-shadow: 0 3px 0 #8e1319;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 46px;
	text-align: center;
	text-decoration: none;
}

.igo-peek-go:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 #8e1319;
}

/* 免運那塊被主題鎖了高度（只露一行、其他被裁掉），放開它 */
.cart-widget-side .wd-progress-bar,
.cart-widget-side .wd-free-progress-bar {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

/* 左側數量格被登入卡片的輸入框規則（.igo-login input[type="text"]：
   寬 100%、高 48px）蓋過去，整顆變得又寬又高。這裡把特異度拉高鎖回來。 */
.igo-login .igo-member-qty .igo-member-qty-input {
	width: 40px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: 0;
	border-right: 1px solid #ededee;
	border-left: 1px solid #ededee;
	border-radius: 0;
	box-shadow: none;
	font-size: 13px;
	font-weight: 500;
	line-height: 28px;
}

.igo-login .igo-member-qty .igo-member-qty-input:focus {
	border-color: #ededee;
	box-shadow: none;
}

/* 側欄小計金額：底邊跟數量盒的「＋」對齊，再低一點點。
   ⚠️ 原本是對整列（li）定位，但整列的高度被 56px 縮圖撐高，
   金額就掉到數量盒下面 27px。改成對「商品資訊那一欄」定位，
   那一欄的底就是數量盒的底。 */
/* 用定位對不準（佈景主題在數量盒下面還塞了一段外距，量出來差 14px），
   改成格線排：上排品名橫跨兩欄，下排左邊數量盒、右邊金額，底邊對齊。 */
.cart-widget-side .woocommerce-mini-cart-item .cart-info {
	position: relative;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: 10px;
	padding-right: 0 !important;
}

.cart-widget-side .woocommerce-mini-cart-item .cart-info .wd-entities-title {
	grid-column: 1 / -1;
	padding-right: 26px;
}

.cart-widget-side .woocommerce-mini-cart-item .cart-info .quantity {
	grid-column: 1;
	justify-self: start;
	margin: 0 !important;
}

.cart-widget-side .woocommerce-mini-cart-item .cart-info .igo-mini-total {
	position: static !important;
	grid-column: 2;
	align-self: end;
	margin: 0 !important;
	line-height: 1;
	/* 比加號的底再低一點點（實測 -4px 時剛好切齊，改 -2px 讓金額低 2px） */
	transform: translateY(-2px);
}

.cart-widget-side .igo-mini-total .amount {
	line-height: 1;
}

/* ==================================================================
   免運／滿額進度：放在側欄最上面，要一眼看得到
   ================================================================== */

.cart-widget-side .widget_shopping_cart_content > .wd-free-progress-bar {
	margin: 14px 20px 4px;
	padding: 14px 16px 16px;
	border: 1px solid #f3d6d7;
	border-radius: 12px;
	background-color: #fff6f6;
}

.cart-widget-side .wd-free-progress-bar .igo-progress-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #55555e;
}

.cart-widget-side .wd-free-progress-bar .igo-progress-head b {
	font-size: 20px;
	font-weight: 900;
	color: #b81820;
	font-variant-numeric: tabular-nums;
}

.cart-widget-side .wd-free-progress-bar .progress-msg {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 500;
	color: #1f1f22;
}

.cart-widget-side .wd-free-progress-bar .progress-area {
	height: 10px;
	background-color: #f0dcdd;
}

/* ⚠️ 前面有一條 [class*="progress-bar"] { height: 4px !important }，
   會把填色壓成 4px 細線，看起來像「整條粉紅、沒有進度」。要 !important 蓋回來。 */
.cart-widget-side .wd-free-progress-bar .progress-area {
	position: relative;
	height: 10px !important;
	padding: 0 !important;
	border-radius: 999px;
	overflow: hidden;
}

/* ⚠️ 量出來填色的上緣在軌道「下緣」（軌道 181–191、填色從 191 開始），
   被軌道的 overflow:hidden 整條切掉，所以畫面上只看到一條空的淡紅軌道。
   直接把填色釘在軌道裡面，不管前面佈景主題塞了什麼都對得上。 */
.cart-widget-side .wd-free-progress-bar .progress-area .progress-bar {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	bottom: 0 !important;
	margin: 0 !important;
}

.cart-widget-side .wd-free-progress-bar .progress-bar {
	height: 10px !important;
	border-radius: 999px;
	background-image: linear-gradient(90deg, #e0577a, #b81820);
	/* 側欄每次改數量都整塊重畫，寬度動畫會從 0 重跑，有時停在沒畫完的樣子，
	   看起來像「整條空的」。進度直接畫到位就好。 */
	transition: none !important;
}

/* 達標：整塊轉綠 */
.cart-widget-side .wd-free-progress-bar.is-done {
	border-color: #cfe8d6;
	background-color: #f2faf4;
}

.cart-widget-side .wd-free-progress-bar.is-done .igo-progress-head b {
	color: #3fa35c;
}

.cart-widget-side .wd-free-progress-bar.is-done .progress-bar {
	background-image: none;
	background-color: #3fa35c;
}

/* ==================================================================
   滿額優惠進度（跨全部階段的一條）
   ==================================================================
   用在：購物車側欄最上面、購物車頁上方。
   佈景主題那條「只算這一階」的進度條在這兩個地方收起來，免得兩條打架。 */

.cart-widget-side .wd-free-progress-bar,
.woocommerce-cart .wd-free-progress-bar {
	display: none !important;
}

.igo-tier-progress {
	--tp-brand: #b81820;
	--tp-green: #3fa35c;
	position: relative;
	margin: 14px 20px 6px;
	padding: 14px 16px 12px;
	border: 1px solid #f3d6d7;
	border-radius: 12px;
	background-color: #fff6f6;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
	color: #1f1f22;
	transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.igo-tier-progress-wrap .igo-tier-progress {
	margin: 0 0 20px;
}

.igo-tier-progress__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.igo-tier-progress__title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #55555e;
}

.igo-tier-progress__pct {
	font-size: 22px;
	font-weight: 900;
	line-height: 1.1;
	color: var(--tp-brand);
	font-variant-numeric: tabular-nums;
}

.igo-tier-progress__msg {
	margin: 4px 0 12px;
	font-size: 13px;
	line-height: 1.6;
	color: #1f1f22;
}

.igo-tier-progress__msg b {
	margin: 0 .2em;
	font-weight: 800;
	color: var(--tp-brand);
}

/* 整句都包在 b 裡的（達成、全拿）不要左右留白 */
.igo-tier-progress__msg > b:only-child {
	margin: 0;
}

/* 長條＋各階圓點 */
.igo-tier-progress__track {
	position: relative;
	height: 10px;
	margin: 0 7px;
	border-radius: 999px;
	background-color: #f0dcdd;
}

.igo-tier-progress__fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	border-radius: 999px;
	background-image: linear-gradient(90deg, #e0577a, var(--tp-brand));
	transition: width .5s cubic-bezier(.2, .8, .2, 1);
}

.igo-tier-progress__dot {
	position: absolute;
	top: 50%;
	width: 14px;
	height: 14px;
	border: 2px solid #f0dcdd;
	border-radius: 999px;
	background-color: #fff;
	transform: translate(-50%, -50%);
}

.igo-tier-progress__dot.is-earned {
	border-color: #fff;
	background-color: var(--tp-brand);
}

/* 各階說明：打勾＝已拿到，下一階加粗 */
.igo-tier-progress__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.igo-tier-progress__steps li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px 3px 5px;
	border: 1px solid #ecd0d1;
	border-radius: 999px;
	background-color: #fff;
	font-size: 12px;
	line-height: 1.4;
	color: #6f6f78;
}

.igo-tier-progress__steps li i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background-color: #f0dcdd;
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 900;
}

.igo-tier-progress__steps li small {
	font-size: 11px;
	color: #92929b;
}

.igo-tier-progress__steps li.is-earned {
	border-color: #cfe8d6;
	color: #2f7d47;
}

.igo-tier-progress__steps li.is-earned i {
	background-color: var(--tp-green);
}

.igo-tier-progress__steps li.is-next {
	border-color: var(--tp-brand);
	color: #1f1f22;
	font-weight: 700;
}

/* 全部拿到：整塊轉綠 */
.igo-tier-progress.is-done {
	border-color: #cfe8d6;
	background-color: #f2faf4;
}

.igo-tier-progress.is-done .igo-tier-progress__pct,
.igo-tier-progress.is-done .igo-tier-progress__msg b {
	color: var(--tp-green);
}

.igo-tier-progress.is-done .igo-tier-progress__fill {
	background-image: none;
	background-color: var(--tp-green);
}

/* 剛剛解鎖一階：整塊閃一下＋跳一行提示 */
.igo-tier-progress.is-levelup {
	border-color: var(--tp-green);
	box-shadow: 0 0 0 4px rgba(63, 163, 92, .18);
	animation: igo-tier-pop .6s ease;
}

.igo-tier-progress__toast {
	margin: 10px 0 0;
	padding: 8px 12px;
	border-radius: 10px;
	background-color: var(--tp-green);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	animation: igo-tier-toast .35s ease;
}

@keyframes igo-tier-pop {
	0% { transform: scale(1); }
	35% { transform: scale(1.025); }
	100% { transform: scale(1); }
}

@keyframes igo-tier-toast {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.igo-tier-progress,
	.igo-tier-progress__fill,
	.igo-tier-progress__toast {
		animation: none !important;
		transition: none !important;
	}
}

/* 購物車頁：階梯清單已經併進上方的滿額優惠進度，不重複顯示 */
.woocommerce-cart .igo-tier-ladder {
	display: none !important;
}

/* ── 商品快速預覽 v2：客人想看的都在這一頁 ─────────────── */

.igo-peek-modal .igo-modal-box {
	display: flex;
	flex-direction: column;
}

.igo-peek {
	padding-bottom: 8px;
	text-align: left;
}

.igo-peek-stage {
	position: relative;
	border: 1px solid #f0f0f1;
	border-radius: 14px;
	background-color: #fff;
	overflow: hidden;
}

.igo-peek .igo-peek-img {
	display: block;
	width: 100%;
	max-width: none;
	aspect-ratio: 1 / 1;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: contain;
}

.igo-peek-off {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 8px;
	border-radius: 6px;
	background-color: #b81820;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.igo-peek-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	overflow-x: auto;
	scrollbar-width: none;
}

.igo-peek-thumb {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 1px solid #e5e5e7;
	border-radius: 10px;
	background-color: #fff;
	overflow: hidden;
	cursor: pointer;
}

.igo-peek-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.igo-peek-thumb.is-on {
	border: 2px solid #1f1f22;
}

.igo-peek-brand {
	margin: 16px 0 2px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	color: #92929b;
}

.igo-peek .igo-peek-title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.5;
	text-align: left;
}

.igo-peek-brand + .igo-peek-title {
	margin-top: 0;
}

.igo-peek-gallery + .igo-peek-title {
	margin-top: 16px;
}

.igo-peek-priceline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.igo-peek .igo-peek-price {
	margin: 0;
	font-size: 20px;
}

.igo-peek-stock {
	flex: none;
	padding: 3px 9px;
	border-radius: 999px;
	background-color: #eef7f0;
	color: #2f7d47;
	font-size: 12px;
	font-weight: 700;
}

.igo-peek-stock.is-low {
	background-color: #fff3e6;
	color: #b25e00;
}

.igo-peek-stock.is-out {
	background-color: #f2f2f3;
	color: #6f6f78;
}

/* 購物車裡幾件：直接改 */
.igo-peek-cart {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding: 10px 12px;
	border: 1px solid #e5e5e7;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	color: #1f1f22;
}

.igo-peek-cart .igo-member-qty {
	margin-top: 0;
}

.igo-peek-cart .igo-member-qty-input {
	width: 40px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: 0;
	border-right: 1px solid #ededee;
	border-left: 1px solid #ededee;
	border-radius: 0;
	box-shadow: none;
	font-size: 13px;
	text-align: center;
	-moz-appearance: textfield;
}

.igo-peek-cart .igo-member-qty-input::-webkit-inner-spin-button,
.igo-peek-cart .igo-member-qty-input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* 保固／免運：讓人放心的兩件事 */
.igo-peek-promise {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.igo-peek-promise li {
	display: flex;
	flex-direction: column;
	padding: 10px 12px;
	border-radius: 12px;
	background-color: #f7f7f8;
}

.igo-peek-promise b {
	font-size: 13px;
	font-weight: 800;
	color: #1f1f22;
}

.igo-peek-promise b .amount {
	color: inherit;
}

.igo-peek-promise span {
	font-size: 11px;
	color: #6f6f78;
}

.igo-peek .igo-peek-desc {
	margin: 0 0 14px;
}

.igo-peek-specs {
	margin: 0 0 12px;
	border-top: 1px solid #f0f0f1;
}

.igo-peek-specs div {
	display: flex;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid #f0f0f1;
	font-size: 13px;
}

.igo-peek-specs dt {
	flex: 0 0 84px;
	font-weight: 400;
	color: #6f6f78;
}

.igo-peek-specs dd {
	flex: 1 1 auto;
	margin: 0;
	color: #1f1f22;
}

.igo-peek .igo-peek-sku {
	margin: 0;
}

/* 底部按鈕列：固定在視窗最下面 */
.igo-peek-foot {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
	padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid #e5e5e7;
	background-color: #fff;
}

.igo-peek-fav {
	display: flex;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid #dededf;
	border-radius: 999px;
	background-color: #fff;
	color: #55555e;
	cursor: pointer;
}

.igo-peek-fav svg {
	width: 22px;
	height: 22px;
	fill: none;
}

.igo-peek-fav.is-on {
	border-color: #f3d6d7;
	color: #b81820;
}

.igo-peek-fav.is-on svg {
	fill: currentColor;
}

.igo-peek-more {
	flex: 1 1 0;
	height: 46px;
	border: 1px solid #1f1f22;
	border-radius: 999px;
	color: #1f1f22;
	font-size: 15px;
	font-weight: 700;
	line-height: 44px;
	text-align: center;
	text-decoration: none;
}

.igo-peek-foot .igo-peek-go {
	flex: 1.3 1 0;
	width: auto;
}

/* ==================================================================
   側邊購物車：小計底下的「省下多少／可得購物金」
   ==================================================================
   老闆要的順序：小計 → 省下多少 → 購物金 → 免運進度 → 按鈕。 */

.igo-cart-sum {
	margin: 2px 20px 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f7f6f2;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.igo-cart-sum__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 2px 0;
	color: #4b5558;
	font-size: 13px;
	line-height: 1.7;
}

.igo-cart-sum__row b,
.igo-cart-sum__row b .amount {
	color: #1f3438;
	font-size: 14px;
	font-weight: 700;
}

.igo-cart-sum__row.is-save b,
.igo-cart-sum__row.is-save b .amount {
	color: #b81820;
}

.igo-cart-sum__row.is-rebate b,
.igo-cart-sum__row.is-rebate b .amount {
	color: #8a5a11;
}

.igo-cart-sum__note {
	margin: 4px 0 0;
	color: #8a8a8a;
	font-size: 11.5px;
	line-height: 1.6;
}

/* 進度條搬到小計底下之後，上下留白重抓 */
.cart-widget-side .igo-tier-progress,
.widget_shopping_cart_content .igo-tier-progress {
	margin: 10px 20px 4px;
}

/* 小計那一行跟底下的方塊對齊（同樣的左右邊界），中間留白拉開一點 */
.cart-widget-side .shopping-cart-widget-footer .woocommerce-mini-cart__total,
.widget_shopping_cart_content .shopping-cart-widget-footer .woocommerce-mini-cart__total {
	margin: 0 20px 14px;
	padding: 0 15px;
}

.igo-cart-sum {
	margin: 0 20px 10px;
}

/* 說明只有一行，不要折行（字級縮一點點，寬度剛好放得下） */
.igo-cart-sum__note {
	overflow: hidden;
	font-size: 10.5px;
	letter-spacing: -.01em;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* 解鎖提示整條可以點，點一下就關 */
.igo-tier-progress__toast {
	cursor: pointer;
}

/* ======================================================================
 * 置頂欄「找商品」視窗＋結果頁的「篩選中」條件列（見 inc/header-filter.php）
 *   上方米色帶跟置頂欄同色；選中的選項用深奶茶色（老闆指定不要黑色）；
 *   紅色只給「查看全部」那顆主按鈕。
 * ====================================================================== */

.igo-hf,
.igo-hf-active {
	--hf-ink: #1f1f22;
	--hf-ink-2: #4b4b52;
	--hf-muted: #85858e;
	--hf-line: #ece6df;
	--hf-cream: #faeee1;
	--hf-rail: #fffcf8;
	--hf-tea: #93694a;      /* 選中：深奶茶色 */
	--hf-tea-deep: #7d583c;
	--hf-tea-soft: #f3e6d8;
	--hf-dark: #2b2622;
	--hf-brand: #b81820;
	--hf-brand-deep: #8e1319;
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

html.igo-hf-lock {
	overflow: hidden;
}

/* 佈景主題對 button 有一整套樣式（大寫、內距、最小高度），視窗裡全部歸零 */
.igo-hf button {
	min-height: 0;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	font-family: inherit;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.igo-hf button:disabled {
	cursor: default;
}

.igo-hf {
	position: fixed;
	inset: 0;
	z-index: 100000;
	color: var(--hf-ink);
}

.igo-hf[hidden] {
	display: none;
}

.igo-hf__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(43, 38, 34, .5);
	opacity: 0;
	transition: opacity .18s ease;
}

.igo-hf__panel {
	position: absolute;
	top: 4vh;
	left: 50%;
	display: flex;
	flex-direction: column;
	width: min(1080px, calc(100vw - 40px));
	height: 90vh;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
	opacity: 0;
	transform: translate(-50%, 10px) scale(.985);
	transition: opacity .18s ease, transform .18s ease;
}

.igo-hf.is-open .igo-hf__backdrop {
	opacity: 1;
}

.igo-hf.is-open .igo-hf__panel {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------- 米色搜尋帶 ---------- */

.igo-hf__band {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px 16px;
	background: var(--hf-cream);
}

.igo-hf__logo {
	color: var(--hf-brand);
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -1px;
}

.igo-hf__logo.has-img {
	display: block;
	flex: none;
}

.igo-hf__logo img {
	display: block;
	width: auto;
	height: 46px;
}

.igo-hf__kw {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 10px;
	min-width: 0;
	height: 50px;
	margin: 0;
	padding: 0 8px 0 20px;
	border: 2px solid var(--hf-dark);
	border-radius: 999px;
	background: #fff;
	cursor: text;
}

.igo-hf__kw > svg {
	flex: none;
	width: 20px;
	height: 20px;
}

.igo-hf .igo-hf__kw input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--hf-ink);
	font-size: 17px;
	font-weight: 700;
	-webkit-appearance: none;
	appearance: none;
}

.igo-hf .igo-hf__kw input[type="search"]::placeholder {
	color: #a9a29a;
	font-weight: 500;
}

.igo-hf .igo-hf__kw input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

.igo-hf button.igo-hf__clr {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--hf-cream);
	color: var(--hf-ink-2);
}

.igo-hf button.igo-hf__clr[hidden] {
	display: none;
}

.igo-hf button.igo-hf__clr svg {
	width: 14px;
	height: 14px;
}

.igo-hf button.igo-hf__x {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--hf-ink);
}

.igo-hf button.igo-hf__x svg {
	width: 20px;
	height: 20px;
}

.igo-hf button.igo-hf__x span {
	display: none;
}

/* ---------- 左欄篩選／右欄結果 ---------- */

.igo-hf__main {
	position: relative;
	display: grid;
	flex: 1;
	grid-template-columns: 324px minmax(0, 1fr);
	min-height: 0;
}

.igo-hf__mbar,
.igo-hf__dim,
.igo-hf__sheet-h,
.igo-hf__sheet-go {
	display: none;
}

.igo-hf__rail {
	overflow: auto;
	padding: 18px 18px 24px;
	border-right: 1px solid var(--hf-line);
	background: var(--hf-rail);
	overscroll-behavior: contain;
}

.igo-hf__sec {
	margin-bottom: 22px;
}

.igo-hf__sec h4 {
	display: flex;
	justify-content: space-between;
	margin: 0 0 10px;
	color: var(--hf-muted);
	font-size: 13px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

.igo-hf .igo-hf__sec h4 button,
.igo-hf .igo-hf__sheet-h button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--hf-muted);
	font-size: 12px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 分類：兩欄小方格，只能選一個 */
.igo-hf__cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
}

.igo-hf button.igo-hf__cat {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
	padding: 7px 8px;
	border: 0;
	border-radius: 12px;
	background: none;
	color: var(--hf-ink);
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	white-space: nowrap;
	transition: background-color .12s ease;
}

.igo-hf button.igo-hf__cat:hover:not(:disabled) {
	background: var(--hf-cream);
}

.igo-hf__ic {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--hf-cream);
}

.igo-hf__ic svg {
	display: block;
	width: 18px;
	height: 18px;
	color: var(--hf-dark);
}

.igo-hf__cn {
	flex: none;
}

.igo-hf__cat em,
.igo-hf__br em,
.igo-hf__rel em {
	margin-left: auto;
	color: var(--hf-muted);
	font-size: 12px;
	font-style: normal;
	font-variant-numeric: tabular-nums;
}

.igo-hf button.igo-hf__cat.is-on,
.igo-hf button.igo-hf__cat.is-on:hover {
	background: var(--hf-tea);
	color: #fff;
}

.igo-hf__cat.is-on .igo-hf__ic {
	background: rgba(255, 255, 255, .18);
}

.igo-hf__cat.is-on .igo-hf__ic svg {
	color: #fff;
}

.igo-hf__cat.is-on em {
	color: #f1e4d6;
}

.igo-hf button.igo-hf__cat:disabled,
.igo-hf button.igo-hf__br:disabled,
.igo-hf button.igo-hf__band-o:disabled {
	opacity: .35;
}

/* 價格：2×2 四格 */
.igo-hf__bands {
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
	border: 1px solid var(--hf-line);
	border-radius: 12px;
	background: #fff;
}

.igo-hf button.igo-hf__band-o {
	padding: 9px 6px;
	border: 0;
	border-right: 1px solid var(--hf-line);
	border-bottom: 1px solid var(--hf-line);
	background: none;
	color: var(--hf-ink);
	font-size: 13px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.igo-hf button.igo-hf__band-o:nth-child(2n) {
	border-right: 0;
}

.igo-hf button.igo-hf__band-o:nth-child(n+3) {
	border-bottom: 0;
}

.igo-hf button.igo-hf__band-o:hover:not(:disabled) {
	background: var(--hf-cream);
}

.igo-hf button.igo-hf__band-o.is-on,
.igo-hf button.igo-hf__band-o.is-on:hover {
	background: var(--hf-tea);
	color: #fff;
}

/* 品牌：勾選清單，先列前 6 個 */
.igo-hf button.igo-hf__br {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: 100%;
	padding: 6px 2px;
	border: 0;
	background: none;
	color: var(--hf-ink);
	font-size: 14px;
	font-weight: 400;
	text-align: left;
}

.igo-hf__br i {
	position: relative;
	flex: none;
	width: 17px;
	height: 17px;
	border: 1.5px solid #c9c2ba;
	border-radius: 5px;
	background: #fff;
}

.igo-hf__br.is-on i {
	border-color: var(--hf-tea);
	background: var(--hf-tea);
}

.igo-hf__br.is-on i::after {
	content: "";
	position: absolute;
	top: 1.5px;
	left: 4.5px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.igo-hf button.igo-hf__more {
	padding: 6px 2px;
	border: 0;
	background: none;
	color: var(--hf-ink-2);
	font-size: 13px;
	font-weight: 700;
}

/* ---------- 右欄 ---------- */

.igo-hf__res {
	min-height: 0;
	overflow: auto;
	padding: 18px 24px 24px;
	overscroll-behavior: contain;
}

.igo-hf__loading {
	margin: 40px 0;
	color: var(--hf-muted);
	text-align: center;
}

.igo-hf__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.igo-hf .igo-hf__tags button {
	padding: 6px 14px;
	border: 1px solid var(--hf-line);
	border-radius: 999px;
	background: #fff;
	color: var(--hf-ink-2);
	font-size: 14px;
	font-weight: 400;
}

.igo-hf .igo-hf__tags button::before {
	content: "# ";
	color: #c9a98a;
}

.igo-hf .igo-hf__tags button:hover {
	border-color: var(--hf-tea);
	background: #fff;
	color: var(--hf-ink);
}

.igo-hf__res-h {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.igo-hf__res-h h3 {
	flex: 1;
	margin: 0;
	color: var(--hf-ink);
	font-size: 19px;
	font-weight: 900;
}

.igo-hf__res-h h3 small {
	margin-left: 6px;
	color: var(--hf-muted);
	font-size: 14px;
	font-weight: 500;
}

.igo-hf__sort {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--hf-ink-2);
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
}

.igo-hf .igo-hf__sort select {
	width: auto;
	height: 34px;
	padding: 0 28px 0 12px;
	border: 1px solid var(--hf-line);
	border-radius: 999px;
	background-color: #fff;
	color: var(--hf-ink);
	font-size: 14px;
	font-weight: 700;
	box-shadow: none;
}

.igo-hf__rel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: -4px 0 16px;
	color: var(--hf-muted);
	font-size: 13px;
}

.igo-hf .igo-hf__rel button {
	display: inline-flex;
	gap: 6px;
	padding: 6px 12px;
	border: 0;
	border-radius: 10px;
	background: var(--hf-cream);
	color: var(--hf-ink);
	font-size: 13px;
	font-weight: 500;
}

.igo-hf .igo-hf__rel button:hover {
	background: var(--hf-tea-soft);
}

/* 商品清單列 */
.igo-hf__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 22px;
}

.igo-hf a.igo-hf__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 8px;
	border-radius: 14px;
	color: inherit;
	text-decoration: none;
}

.igo-hf a.igo-hf__item:hover {
	background: #fbf6f0;
	color: inherit;
}

.igo-hf__im {
	position: relative;
	flex: none;
	width: 84px;
	height: 84px;
	overflow: hidden;
	border-radius: 12px;
	background: #f5f2ee;
}

.igo-hf__im img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.igo-hf__im em {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 2px 0;
	background: rgba(43, 38, 34, .72);
	color: #fff;
	font-size: 11px;
	font-style: normal;
	text-align: center;
}

.igo-hf__tx {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.igo-hf__b {
	margin-bottom: 2px;
	color: var(--hf-muted);
	font-size: 12px;
}

.igo-hf__t {
	display: -webkit-box;
	overflow: hidden;
	color: var(--hf-ink);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.igo-hf__t mark {
	padding: 0;
	background: linear-gradient(transparent 58%, #f6d9b8 58%);
	color: inherit;
	font-weight: 700;
}

.igo-hf__p {
	margin-top: 4px;
	color: var(--hf-ink);
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.igo-hf__p .is-sale {
	color: var(--hf-brand);
}

.igo-hf__p s {
	margin-left: 6px;
	color: var(--hf-muted);
	font-size: 12.5px;
	font-weight: 400;
}

.igo-hf__p small {
	color: var(--hf-muted);
	font-size: 12px;
	font-weight: 400;
}

/* 熱門排行的名次，前三名用奶茶色 */
.igo-hf__no {
	position: absolute;
	top: 6px;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid var(--hf-line);
	border-radius: 8px;
	background: #fff;
	color: var(--hf-ink-2);
	font-size: 13px;
	font-weight: 900;
}

.igo-hf__list.is-rank a:nth-child(-n+3) .igo-hf__no {
	border-color: var(--hf-tea);
	background: var(--hf-tea);
	color: #fff;
}

.igo-hf button.igo-hf__see {
	display: block;
	margin: 14px auto 0;
	padding: 8px 14px;
	border: 0;
	background: none;
	color: var(--hf-brand);
	font-size: 14px;
	font-weight: 700;
}

.igo-hf__empty {
	padding: 60px 10px;
	color: var(--hf-ink-2);
	text-align: center;
}

.igo-hf__empty b {
	display: block;
	margin-bottom: 6px;
	color: var(--hf-ink);
	font-size: 18px;
	font-weight: 900;
}

.igo-hf__empty p {
	margin: 0 0 16px;
}

.igo-hf__empty .igo-hf__tags {
	justify-content: center;
}

/* ---------- 底部 ---------- */

.igo-hf__foot {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 24px;
	border-top: 1px solid var(--hf-line);
	background: #fff;
}

.igo-hf__chips {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
}

.igo-hf button.igo-hf__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 8px 5px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--hf-tea-soft);
	color: var(--hf-ink);
	font-size: 13px;
	font-weight: 500;
}

.igo-hf button.igo-hf__chip i {
	color: var(--hf-muted);
	font-size: 14px;
	font-style: normal;
	line-height: 1;
}

.igo-hf button.igo-hf__go {
	height: 46px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--hf-brand);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 3px 0 var(--hf-brand-deep);
	transition: transform .08s ease, box-shadow .08s ease;
}

.igo-hf button.igo-hf__go:hover {
	background: var(--hf-brand);
	color: #fff;
}

.igo-hf button.igo-hf__go:active:not(:disabled) {
	transform: translateY(2px);
	box-shadow: 0 1px 0 var(--hf-brand-deep);
}

.igo-hf button.igo-hf__go:disabled {
	background: #d6d6da;
	box-shadow: none;
}

/* ---------- 手機：搜尋從左邊滑出（不蓋滿）、篩選從下面滑上來 ----------
 * 旁邊露出的暗處點一下、或往左滑，搜尋就收起來（老闆不要「取消」字樣、不要滿版）；
 * 篩選往下滑或點上面暗處收起。商品用兩欄方格（老闆不要清單列）。
 * ⚠️ 打開後面板的 transform 一定要是 none：有 transform 的話，裡面「固定定位」的
 *    篩選抽屜會被關在面板裡，沒辦法貼到畫面右邊。 */

@media (max-width: 767px) {
	.igo-hf__panel {
		top: 0;
		bottom: 0;
		left: 0;
		width: min(88vw, 420px);
		height: 100vh;
		height: 100dvh;
		border-radius: 0 20px 20px 0;
		opacity: 1;
		transform: translateX(-102%);
		transition: transform .24s ease;
	}

	.igo-hf.is-open .igo-hf__panel {
		transform: none;
	}

	.igo-hf__band {
		gap: 10px;
		padding: 14px 14px 12px;
	}

	.igo-hf .igo-hf__logo,
	.igo-hf button.igo-hf__x {
		display: none;
	}

	.igo-hf__kw {
		height: 44px;
		padding-left: 14px;
	}

	.igo-hf .igo-hf__kw input[type="search"] {
		font-size: 16px; /* 小於 16px iPhone 會自動放大畫面 */
	}

	.igo-hf__main {
		display: block;
		overflow: auto;
		overscroll-behavior: contain;
	}

	.igo-hf__mbar {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		gap: 8px;
		padding: 10px 14px;
		border-bottom: 1px solid var(--hf-line);
		background: #fff;
	}

	.igo-hf button.igo-hf__fbtn {
		display: flex;
		flex: none;
		align-items: center;
		gap: 6px;
		height: 36px;
		padding: 0 14px;
		border: 1px solid var(--hf-line);
		border-radius: 999px;
		background: #fff;
		color: var(--hf-ink);
		font-size: 14px;
		font-weight: 500;
	}

	.igo-hf button.igo-hf__fbtn svg {
		width: 16px;
		height: 16px;
	}

	.igo-hf button.igo-hf__fbtn.is-on {
		border-color: var(--hf-tea);
		background: var(--hf-tea);
		color: #fff;
	}

	.igo-hf .igo-hf__msort {
		flex: 1;
		width: auto;
		min-width: 0;
		height: 36px;
		padding: 0 28px 0 12px;
		border: 1px solid var(--hf-line);
		border-radius: 999px;
		background-color: #fff;
		color: var(--hf-ink);
		font-size: 14px;
	}

	.igo-hf__res {
		overflow: visible;
		padding: 12px 12px 16px;
	}

	.igo-hf__tags {
		gap: 6px;
		margin-bottom: 18px;
	}

	.igo-hf .igo-hf__tags button {
		padding: 5px 11px;
		font-size: 13px;
	}

	.igo-hf__res-h h3 {
		font-size: 17px;
	}

	.igo-hf__res-h .igo-hf__sort {
		display: none;
	}

	/* 兩欄方格：圖在上、字在下 */
	.igo-hf__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 10px;
	}

	.igo-hf a.igo-hf__item {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 0;
		border-radius: 12px;
	}

	.igo-hf a.igo-hf__item:hover {
		background: none;
	}

	.igo-hf__im {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
	}

	.igo-hf__t {
		font-size: 13.5px;
	}

	.igo-hf__p {
		font-size: 14px;
	}

	.igo-hf__no {
		top: 6px;
		left: 6px;
	}

	/* 篩選：從下面滑上來 */
	.igo-hf__rail {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 4;
		max-height: 80vh;
		max-height: 80dvh;
		padding: 0 16px;
		border: 0;
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -12px 30px rgba(0, 0, 0, .2);
		transform: translateY(105%);
		transition: transform .24s ease;
	}

	/* 頂端一條小把手，提示可以往下滑收起 */
	.igo-hf__sheet-h::before {
		content: "";
		position: absolute;
		top: 8px;
		left: 50%;
		width: 40px;
		height: 4px;
		margin-left: -20px;
		border-radius: 999px;
		background: #d9d3cc;
	}

	.igo-hf.is-sheet .igo-hf__rail {
		transform: none;
	}

	.igo-hf__dim {
		position: fixed;
		inset: 0;
		z-index: 3;
		display: block;
		background: rgba(0, 0, 0, .3);
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s ease;
	}

	.igo-hf.is-sheet .igo-hf__dim {
		opacity: 1;
		pointer-events: auto;
	}

	.igo-hf__sheet-h {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 22px 0 12px;
		background: var(--hf-rail);
		font-size: 18px;
	}

	.igo-hf__sheet-h b {
		font-weight: 900;
	}

	.igo-hf .igo-hf__sheet-h button {
		font-size: 14px;
	}

	.igo-hf__sheet-go {
		position: sticky;
		bottom: 0;
		display: block;
		margin: 0 -16px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--hf-line);
		background: var(--hf-rail);
	}

	.igo-hf .igo-hf__sheet-go .igo-hf__go {
		width: 100%;
	}

	.igo-hf button.igo-hf__cat {
		padding: 9px 6px;
		font-size: 14px;
	}

	.igo-hf button.igo-hf__br {
		padding: 9px 2px;
		font-size: 15px;
	}

	.igo-hf__foot {
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	}

	.igo-hf__chips {
		display: none;
	}

	.igo-hf__foot .igo-hf__go {
		flex: 1;
	}
}

/* 新視窗開著的人，漢堡選單裡那個舊搜尋框就不要了（搜尋統一走置頂欄的放大鏡） */
body.igo-hf-on .mobile-nav .wd-search-form {
	display: none !important;
}

/* 手機置頂欄補上的放大鏡（電腦版本來就有搜尋框） */
.igo-hf-mtrig > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #b81820 !important; /* 佈景主題的置頂欄圖示色權重很高，不加蓋不掉 */
}

.igo-hf-mtrig svg {
	width: 24px;
	height: 24px;
}

/* ---------- 結果頁：篩選中 ---------- */

.igo-hf-active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0 0 18px;
}

.igo-hf-active__label {
	margin-right: 2px;
	color: var(--hf-muted);
	font-size: 13px;
}

a.igo-hf-active__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 8px 0 14px;
	border-radius: 999px;
	background: var(--hf-tea);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

a.igo-hf-active__chip:hover {
	background: var(--hf-tea-deep);
	color: #fff;
}

a.igo-hf-active__chip i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	font-size: 13px;
	font-style: normal;
	line-height: 1;
}

a.igo-hf-active__clear,
.igo-hf-active button.igo-hf-active__edit {
	min-height: 32px;
	height: 32px;
	padding: 0 6px;
	border: 0;
	background: transparent;
	color: var(--hf-ink-2);
	font-size: 13px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: none;
	box-shadow: none;
}

a.igo-hf-active__clear:hover,
.igo-hf-active button.igo-hf-active__edit:hover {
	background: transparent;
	color: var(--hf-ink);
}

/* 手機側邊選單最上面的「我的願望清單」（取代原本最下面的置底欄） */
.mobile-nav .igo-mnav-wish > a {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.mobile-nav .igo-mnav-wish__ic {
	display: flex;
	color: #b81820;
}

.mobile-nav .igo-mnav-wish__ic svg {
	width: 20px;
	height: 20px;
}

.mobile-nav .igo-mnav-wish .wd-tools-count {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	margin-left: auto;
	padding: 0 6px;
	border-radius: 999px;
	border: 1px solid #e6d6c4;
	background: #fff; /* 白底細框：0 件時用紅底會像有通知 */
	color: #93694a;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	transform: none;
}

/**
 * 生活精選（首頁＋品牌頁共用，見 inc/life-rail.php）
 *
 * 每一欄固定高度、照片用裁切填滿，所以每欄上下都切齊。
 * 商品小窗（.lr-pop）是前端搬到 <body> 最上層的浮動框，不在照片牆裡。
 */

.lr {
	--lr-accent: #CFC9C2; /* 照片上的商品點：淺灰（老闆不要紅點），品牌頁另外用品牌色 */
	--lr-soft: #F4F4F2;
	position: relative;
}

/* 品牌頁跟著品牌色 */
.igo-brandfull .lr { --lr-accent: var(--bf-main, #B81820); --lr-soft: var(--bf-soft, #F4F4F2); }

.lr-rail {
	display: flex;
	gap: 20px;
	user-select: none;
	-webkit-user-select: none;
	overflow-x: auto;
	/* ⚠️ 不能開吸附：無限滾是靠偷偷跳位置做的，吸附會把它彈回去 */
	/* 左右滿版：照片一路貼到畫面兩邊 */
	margin: 0 calc(50% - 50vw);
	padding: 2px 0 14px;
	cursor: grab;
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
}

.lr-rail::-webkit-scrollbar { display: none; }
.lr-rail.is-drag { cursor: grabbing; }

.lr-col {
	flex: 0 0 clamp(200px, 20vw, 264px);
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 640px;
}

.lr-ph {
	position: relative;
	flex: var(--grow, 50) 1 0;
	min-height: 0;
}

.lr-ph img,
.lr-ph video {
	display: block;
	/* 拖曳交給外層，圖片本身不要攔（不然會變成瀏覽器的「拖走這張圖」） */
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 16px;
	background: var(--lr-soft);
}

/* 圖片最佳化外掛會把 img 包進 picture，要讓它不佔位置 */
.lr-ph picture { display: contents; }

/* ---------- 照片上的商品點 ---------- */

/* 點的大小：--lr-dot，後台「頁面 → 首頁設定 → 照片上的商品點」可改（首頁、品牌頁一起） */
.lr { --lr-dot: 20px; }

.lr .lr-dot {
	position: absolute;
	z-index: 2;
	width: var(--lr-dot);
	height: var(--lr-dot);
	min-height: 0;
	padding: 0;
	margin: calc(var(--lr-dot) / -2) 0 0 calc(var(--lr-dot) / -2);
	border: 0;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
	/* 平常半透明不蓋掉情境照，滑到照片上才清楚 */
	opacity: .55;
	transition: opacity .25s ease, transform .2s ease;
}

.lr-ph:hover .lr-dot { opacity: 1; }
.lr .lr-dot:hover,
.lr .lr-dot.is-open { opacity: 1; transform: scale(1.14); }

/* 手機也跟電腦一樣平常半透明（老闆：紅點太搶戲），按下去／打開商品小窗時才變清楚 */
.lr .lr-dot:active { opacity: 1; }

.lr .lr-dot::before {
	content: "";
	position: absolute;
	inset: calc(var(--lr-dot) * .35);
	border-radius: 999px;
	background: var(--lr-accent);
}

/* 一圈一圈擴散，讓人知道可以點 */
.lr .lr-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 999px;
	border: 2px solid #fff;
	animation: lr-pulse 2.2s ease-out infinite;
}

@keyframes lr-pulse {
	0%   { transform: scale(1); opacity: .75; }
	100% { transform: scale(2); opacity: 0; }
}

/* ---------- 商品小窗：分類頁同一張商品卡，外面一層白底卡框 ---------- */

.lr-pop {
	position: fixed;
	z-index: 100050;
	top: 0;
	left: 0;
	width: 260px;
	max-width: none;
	margin: 0;
	padding: 12px 12px 14px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(31, 31, 34, .22), 0 2px 6px rgba(31, 31, 34, .08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px) scale(.98);
	transform-origin: var(--lr-ox, 0) 50%;
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.lr-pop.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* 沒打開時移出畫面：藏在畫面頂端會被別的程式誤當成置頂列（品牌頁「全系列」因此停在 30px） */
.lr-pop:not(.is-on) {
	left: -9999px !important;
	transition: none;
}

/* .ccw 本來是整頁容器（有寬度、留白、底色），在小窗裡歸零 */
.lr-pop.ccw { padding-bottom: 14px; }
.lr-pop.igo-ccw { background: #fff; }

.lr-pop .ccw-card__media { aspect-ratio: 1 / 1; border-radius: 12px; }
.lr-pop .ccw-card__title { margin-bottom: 0; }
/* 顏色圓點在小窗裡沒有接行為，收起來不要留按了沒反應的東西 */
.lr-pop .ccw-swatches { display: none; }

/* 指向圓點的小三角 */
.lr-pop::before {
	content: "";
	position: absolute;
	top: var(--lr-ay, 50%);
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: #fff;
	transform: rotate(45deg);
	box-shadow: -2px 2px 4px rgba(31, 31, 34, .05);
}

.lr-pop.is-right::before { left: -6px; }
.lr-pop.is-left::before { right: -6px; box-shadow: 2px -2px 4px rgba(31, 31, 34, .05); }
.lr-pop.is-below::before,
.lr-pop.is-above::before { display: none; }

/* ---------- 平板／手機 ---------- */

@media (max-width: 1024px) {
	.lr-col { height: 540px; }
}

@media (max-width: 767px) {
	.lr-rail {
		gap: 12px;
		padding: 2px 0 12px;
	}

	.lr-col {
		flex-basis: 62vw;
		max-width: 240px;
		height: 460px;
		gap: 12px;
	}

	.lr-pop {
		width: 220px;
		padding: 10px 10px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lr .lr-dot::after { animation: none; }
	.lr-pop { transition: none; }
}

.lr .lr-dot[hidden] { display: none; }

