/* =========================================================
   島嶼霧選 VAPE — 首頁樣式 (island-home.css)
   搭配 island-home-sections 外掛使用
   ========================================================= */

.isvd-home {
	--isvd-ink: #10201f;
	--isvd-ink2: #536462;
	--isvd-teal: #0e6b5e;
	--isvd-teal-d: #0a423b;
	--isvd-gold: #c9a961;
	--isvd-gold-d: #a98a45;
	--isvd-line: #e7e2d8;
	--isvd-bg: #f8f6f1;
	--isvd-white: #ffffff;
	color: var(--isvd-ink);
	font-family: "Noto Sans TC", "PingFang TC", "Hiragino Sans GB", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	letter-spacing: 0.01em;
}

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

.isvd-home p:empty {
	display: none !important;
}

.isvd-home a {
	text-decoration: none;
}

/* ---------- 公告條 ---------- */
.isvd-topbar {
	background: linear-gradient(90deg, #0b211f, #143f38 60%, #0b211f);
	border-radius: 12px;
	margin: 0 0 18px;
	overflow: hidden;
}

.isvd-topbar__in {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 22px;
	padding: 10px 16px;
}

.isvd-topbar__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--isvd-gold);
	box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.18);
	flex: 0 0 auto;
}

.isvd-topbar__i {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.82);
	position: relative;
	line-height: 1.6;
	white-space: nowrap;
}

.isvd-topbar__i + .isvd-topbar__i::before {
	content: "";
	position: absolute;
	left: -12px;
	top: 50%;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-50%);
}

.isvd-topbar__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 12.5px;
	font-weight: 700;
	color: #0b211f;
	background: var(--isvd-gold);
	padding: 5px 13px;
	border-radius: 999px;
	transition: 0.25s;
}

.isvd-topbar__qr {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 40;
	padding: 9px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 20px 44px -20px rgba(8, 30, 28, 0.55);
}

.isvd-topbar__cta:hover .isvd-topbar__qr {
	display: block;
}

.isvd-topbar__qr img {
	display: block;
	width: 128px;
	height: 128px;
	object-fit: contain;
}

.isvd-topbar__cta:hover {
	background: #e0c581;
	color: #0b211f;
}

/* ---------- HERO ---------- */
.isvd-hero {
	position: relative;
	border-radius: 26px;
	overflow: hidden;
	background:
		radial-gradient(720px 400px at 88% 12%, rgba(201, 169, 97, 0.22), transparent 68%),
		radial-gradient(560px 340px at 8% 96%, rgba(22, 128, 112, 0.38), transparent 70%),
		linear-gradient(135deg, #0b211f 0%, #081615 52%, #0c2b26 100%);
	color: #fff;
	isolation: isolate;
}

.isvd-hero__in {
	position: relative;
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	gap: 24px;
	align-items: center;
	padding: 58px 54px 54px;
	min-height: 440px;
}

.isvd-hero__kicker {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.28em;
	color: var(--isvd-gold);
	margin-bottom: 18px;
	position: relative;
	padding-left: 34px;
}

.isvd-hero__kicker::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 24px;
	height: 1px;
	background: var(--isvd-gold);
	opacity: 0.8;
}

.isvd-hero h1 {
	margin: 0 0 18px;
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.14;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: #fff;
}

.isvd-hero h1 em {
	font-style: normal;
	color: var(--isvd-gold);
	letter-spacing: 0.06em;
}

.isvd-hero__sub {
	margin: 0 0 26px;
	max-width: 30em;
	font-size: 14px;
	line-height: 2.05;
	color: rgba(255, 255, 255, 0.74);
}

.isvd-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}

.isvd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1;
	background: #fff;
	color: var(--isvd-ink);
	transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

.isvd-btn--primary {
	background: linear-gradient(135deg, #ddc287, #c9a961);
	color: #10201f;
	box-shadow: 0 14px 28px -16px rgba(201, 169, 97, 0.95);
}

.isvd-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -16px rgba(201, 169, 97, 1);
	color: #10201f;
}

.isvd-btn--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff;
}

.isvd-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.isvd-hero .isvd-btn:hover {
	text-decoration: none;
}

.isvd-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.isvd-chip {
	display: inline-block;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.05);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1;
}

/* 右側視覺 */
.isvd-hero__art {
	position: relative;
	height: 100%;
	min-height: 300px;
}

.isvd-hero__art::before {
	content: "";
	position: absolute;
	inset: 8% 4% 8% 10%;
	border-radius: 50%;
	border: 1px solid rgba(201, 169, 97, 0.22);
	box-shadow: inset 0 0 90px rgba(201, 169, 97, 0.08);
}

.isvd-hero__art::after {
	content: "";
	position: absolute;
	inset: 20% 16% 20% 22%;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, 0.1);
}

.isvd-hero__mist {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(closest-side at 55% 45%, rgba(255, 255, 255, 0.34), transparent 72%),
		radial-gradient(closest-side at 38% 68%, rgba(201, 169, 97, 0.4), transparent 74%),
		radial-gradient(closest-side at 66% 62%, rgba(20, 140, 122, 0.55), transparent 76%);
	filter: blur(26px);
	opacity: 0.72;
	animation: isvd-mist 14s ease-in-out infinite alternate;
}

@keyframes isvd-mist {
	0% {
		transform: translate3d(-2%, 1%, 0) scale(1);
	}
	100% {
		transform: translate3d(3%, -2%, 0) scale(1.06);
	}
}

@media (prefers-reduced-motion: reduce) {
	.isvd-hero__mist {
		animation: none;
	}
}

/* ---------- 區塊 ---------- */
.isvd-sec {
	padding: 44px 0 4px;
}

.isvd-sec__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--isvd-line);
	margin-bottom: 26px;
}

.isvd-sec__title {
	margin: 0;
	font-size: 21px;
	line-height: 1.4;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: var(--isvd-ink);
	display: flex;
	align-items: center;
	gap: 11px;
}

.isvd-sec__title::before {
	content: "";
	width: 4px;
	height: 19px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--isvd-gold), #e6d3a4);
	flex: 0 0 auto;
}

.isvd-sec__more {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--isvd-teal);
	white-space: nowrap;
	border-bottom: 1px solid rgba(14, 107, 94, 0.28);
	padding-bottom: 2px;
	transition: 0.2s;
}

.isvd-sec__more:hover {
	color: var(--isvd-gold-d);
	border-color: rgba(201, 169, 97, 0.5);
}

/* ---------- 網格 ---------- */
.isvd-grid {
	display: grid;
	gap: 16px;
}

.isvd-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.isvd-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.isvd-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.isvd-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.isvd-grid--6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* ---------- 分類卡 ---------- */
.isvd-cat {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 4 / 5;
	background: #ece7dd;
	transition: transform 0.35s, box-shadow 0.35s;
}

.isvd-cat__media {
	position: absolute;
	inset: 0;
	display: block;
}

.isvd-cat__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.isvd-cat__media--ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 30% 20%, rgba(201, 169, 97, 0.35), transparent 60%),
		linear-gradient(150deg, #10403a, #0a2422);
}

.isvd-cat__ph {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.86);
}

.isvd-cat__mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 22, 21, 0) 38%, rgba(8, 22, 21, 0.88) 100%);
}

.isvd-cat__body {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 13px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	z-index: 2;
}

.isvd-cat__name {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	line-height: 1.45;
	letter-spacing: 0.01em;
}

.isvd-cat__count {
	font-style: normal;
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.66);
	line-height: 1.4;
}

.isvd-cat:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 36px -24px rgba(8, 30, 28, 0.55);
}

.isvd-cat:hover .isvd-cat__media img {
	transform: scale(1.07);
}

/* ---------- 商品卡 ---------- */
.isvd-p {
	position: relative;
	background: var(--isvd-white);
	border: 1px solid var(--isvd-line);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}

.isvd-p:hover {
	transform: translateY(-4px);
	border-color: rgba(201, 169, 97, 0.55);
	box-shadow: 0 22px 40px -26px rgba(10, 32, 31, 0.5);
}

.isvd-p__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	color: inherit;
}

.isvd-p__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	padding: 10px;
	background: #fff;
	overflow: hidden;
}

.isvd-p__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.5s ease;
}

.isvd-p:hover .isvd-p__img {
	transform: scale(1.04);
}

.isvd-p__badge,
.isvd-p__sold {
	position: absolute;
	top: 10px;
	left: 10px;
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 9px;
	border-radius: 7px;
	letter-spacing: 0.04em;
}

.isvd-p__badge {
	background: var(--isvd-gold);
	color: #16211f;
}

.isvd-p__sold {
	background: rgba(16, 32, 31, 0.78);
	color: #fff;
	left: auto;
	right: 10px;
}

.isvd-p__body {
	display: block;
	padding: 4px 14px 0;
}

.isvd-p__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13.5px;
	line-height: 1.65;
	font-weight: 600;
	color: var(--isvd-ink);
	min-height: 45px;
}

.isvd-p__price {
	display: block;
	margin-top: 9px;
	font-size: 16px;
	font-weight: 800;
	color: var(--isvd-teal);
	line-height: 1.3;
}

.isvd-p__price .woocommerce-Price-amount,
.isvd-p__price bdi {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.isvd-p__price del {
	color: #a4aeab;
	font-weight: 500;
	font-size: 12px;
	margin-right: 5px;
}

.isvd-p__price ins {
	text-decoration: none;
	color: #c4463b;
	font-weight: 800;
}

.isvd-p__cta {
	display: block;
	margin: 12px 14px 14px;
	padding: 9px 0;
	text-align: center;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--isvd-teal);
	background: rgba(14, 107, 94, 0.07);
	border-radius: 10px;
	transition: 0.25s;
}

.isvd-p:hover .isvd-p__cta {
	background: var(--isvd-teal);
	color: #fff;
}

/* ---------- 四大承諾 ---------- */
.isvd-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.isvd-trust__i {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	padding: 26px 18px 24px;
	background: #fff;
	border: 1px solid var(--isvd-line);
	border-radius: 16px;
}

.isvd-trust__i i {
	font-style: normal;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 17px;
	color: #8a6d2f;
	background: linear-gradient(135deg, #f6ecd6, #e9d7ad);
	margin-bottom: 4px;
}

.isvd-trust__i b {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--isvd-ink);
	letter-spacing: 0.02em;
}

.isvd-trust__i span {
	font-size: 12.5px;
	line-height: 1.85;
	color: var(--isvd-ink2);
}

/* ---------- 新手選購 ---------- */
.isvd-guide {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.isvd-guide__c {
	position: relative;
	background: #fff;
	border: 1px solid var(--isvd-line);
	border-top: 3px solid var(--isvd-teal);
	border-radius: 0 0 16px 16px;
	padding: 24px 22px 22px;
	transition: 0.28s;
}

.isvd-guide__c:hover {
	box-shadow: 0 20px 36px -28px rgba(10, 32, 31, 0.45);
	transform: translateY(-3px);
}

.isvd-guide__tag {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--isvd-teal);
	background: rgba(14, 107, 94, 0.08);
	padding: 5px 11px;
	border-radius: 999px;
	margin-bottom: 13px;
	line-height: 1;
}

.isvd-guide__c b {
	display: block;
	font-size: 16.5px;
	font-weight: 800;
	color: var(--isvd-ink);
	margin-bottom: 10px;
	line-height: 1.5;
}

.isvd-guide__c p {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.95;
	color: var(--isvd-ink2);
}

.isvd-guide__c a {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--isvd-teal);
	border-bottom: 1px solid rgba(14, 107, 94, 0.25);
	padding-bottom: 2px;
}

.isvd-guide__c a:hover {
	color: var(--isvd-gold-d);
	border-color: rgba(201, 169, 97, 0.5);
}

/* ---------- 品牌 Banner ---------- */
.isvd-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 34px 38px;
	border-radius: 20px;
	color: #fff;
	background:
		radial-gradient(500px 260px at 90% 10%, rgba(201, 169, 97, 0.22), transparent 70%),
		linear-gradient(120deg, #0b211f, #12403a);
}

.isvd-banner b {
	display: block;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin-bottom: 10px;
	line-height: 1.6;
	color: #fff;
}

.isvd-banner span {
	display: block;
	max-width: 720px;
	font-size: 12.5px;
	line-height: 1.95;
	color: rgba(255, 255, 255, 0.72);
}

.isvd-banner .isvd-btn {
	flex: 0 0 auto;
	background: #fff;
	color: var(--isvd-ink);
	padding: 13px 24px;
	font-size: 13.5px;
}

.isvd-banner .isvd-btn:hover {
	background: var(--isvd-gold);
	color: #10201f;
}

/* ---------- FAQ ---------- */
.isvd-faq {
	display: grid;
	gap: 10px;
}

.isvd-faq details {
	background: #fff;
	border: 1px solid var(--isvd-line);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.25s;
}

.isvd-faq details[open] {
	border-color: rgba(14, 107, 94, 0.35);
}

.isvd-faq summary {
	position: relative;
	cursor: pointer;
	list-style: none;
	padding: 17px 54px 17px 20px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--isvd-ink);
	line-height: 1.7;
}

.isvd-faq summary::-webkit-details-marker {
	display: none;
}

.isvd-faq summary::marker {
	content: "";
}

.isvd-faq summary::after {
	content: "+";
	position: absolute;
	right: 21px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 19px;
	font-weight: 500;
	line-height: 1;
	color: var(--isvd-gold-d);
	transition: 0.25s;
}

.isvd-faq details[open] summary::after {
	content: "−";
	color: var(--isvd-teal);
}

.isvd-faq details[open] summary {
	color: var(--isvd-teal);
}

.isvd-faq details p {
	margin: 0;
	padding: 0 22px 20px;
	font-size: 13px;
	line-height: 2;
	color: var(--isvd-ink2);
}

/* ---------- 頁尾註記 ---------- */
.isvd-foot-note {
	margin-top: 36px;
	padding: 26px 0 10px;
	border-top: 1px solid var(--isvd-line);
	text-align: center;
	font-size: 12px;
	line-height: 1.9;
	color: #8a9490;
}

.isvd-foot-note a {
	color: var(--isvd-teal);
	margin: 0 2px;
}

.isvd-foot-note a:hover {
	color: var(--isvd-gold-d);
}

/* ---------- 響應式 ---------- */
@media (max-width: 1100px) {
	.isvd-grid--6,
	.isvd-grid--5,
	.isvd-grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.isvd-hero__in {
		padding: 44px 36px;
		min-height: 380px;
	}
	.isvd-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.isvd-guide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.isvd-guide__c:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 860px) {
	.isvd-hero__in {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 38px 26px 34px;
	}
	.isvd-hero__art {
		display: none;
	}
	.isvd-hero__sub {
		font-size: 13px;
	}
	.isvd-banner {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 26px 24px;
	}
	.isvd-sec {
		padding: 34px 0 2px;
	}
	.isvd-sec__title {
		font-size: 18px;
	}
	.isvd-topbar__in {
		gap: 6px 16px;
		padding: 9px 12px;
	}
	.isvd-topbar__i {
		font-size: 11.5px;
	}
}

@media (max-width: 640px) {
	.isvd-grid--6,
	.isvd-grid--5,
	.isvd-grid--4,
	.isvd-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.isvd-grid {
		gap: 11px;
	}
	.isvd-guide {
		grid-template-columns: 1fr;
	}
	.isvd-trust {
		grid-template-columns: 1fr;
	}
	.isvd-cat {
		aspect-ratio: 1 / 1;
	}
	.isvd-cat__name {
		font-size: 12.5px;
	}
	.isvd-p__name {
		font-size: 12.5px;
		min-height: 41px;
	}
	.isvd-p__price {
		font-size: 14.5px;
	}
	.isvd-p__cta {
		margin: 10px 10px 11px;
		font-size: 11.5px;
	}
	.isvd-hero h1 {
		font-size: 30px;
	}
	.isvd-hero__cta .isvd-btn {
		padding: 12px 20px;
		font-size: 13px;
	}
	.isvd-faq summary {
		font-size: 13.5px;
		padding: 15px 46px 15px 16px;
	}
	.isvd-faq details p {
		padding: 0 16px 16px;
		font-size: 12.5px;
	}
}
