/*
Theme Name: HDT Astra Child
Theme URI: https://wpw.design/
Description: 好力齒網站 Astra 子佈景主題，採 Forest One 結構語言的專用前端。
Author: WPW
Template: astra
Version: 1.1.7
Text Domain: hdt-astra-child
*/

:root {
	/* 好力齒正式品牌色；舊變數名稱保留以維持既有樣式相容性。 */
	--hdt-brand-primary: #8acaf8;
	--hdt-brand-secondary: #989899;
	--hdt-brand-primary-ink: #397cac;
	--hdt-brand-secondary-ink: #5f5f60;
	--hdt-brand-primary-deep: #21445f;
	--hdt-brand-secondary-deep: #242426;
	--hdt-brand-primary-soft: #eaf6ff;
	--hdt-brand-secondary-soft: #f1f1f2;
	--hdt-brand-primary-border: #67afe4;
	--hdt-brand-secondary-border: #7d7d7f;
	--hdt-fo-green: var(--hdt-brand-primary);
	--hdt-fo-orange: var(--hdt-brand-secondary);
	--hdt-fo-gray: #f4f4f4;
	--hdt-fo-pale-green: #eef7fe;
	--hdt-fo-black: #303030;
	--hdt-fo-muted: #707070;
	--hdt-fo-line: #d8d8d8;
	--hdt-fo-shell: 1420px;
	--hdt-fo-header-height: clamp(96.25px, 9.625vw, 154px);
	--hdt-fo-ease: cubic-bezier(.22, 1, .36, 1);
}

html {
	scroll-behavior: smooth;
}

html.hdt-fo-menu-open {
	overflow: hidden;
}

body {
	color: var(--hdt-fo-black);
	font-family: "Noto Sans TC", "PingFang TC", "Hiragino Sans", "Helvetica Neue", sans-serif;
	font-weight: 400;
	letter-spacing: .05em;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

/* 覆寫 Astra .entry-content a 預設底線 */
#page a,
#page a:hover,
#page a:focus,
#page a:focus-visible,
#page a:visited,
.entry-content a,
.ast-single-post .entry-content a,
.ast-comment-content a,
.elementor a,
.woocommerce a {
	text-decoration: none;
}

.hdt-shell {
	width: min(calc(100% - 7.5vw), var(--hdt-fo-shell));
	margin-right: auto;
	margin-left: auto;
}

.site-header,
.site-footer,
.ast-above-header-wrap,
.ast-below-header-wrap {
	display: none !important;
}

#page {
	padding-top: var(--hdt-fo-header-height);
}

body.admin-bar .hdt-fo-header {
	top: 32px;
}

/* --------------------------------------------------------------------------
 * Forest-style global header
 * ----------------------------------------------------------------------- */
.hdt-fo-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: var(--hdt-fo-header-height);
	background: #fff;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	transition: box-shadow 180ms ease-out;
}

.hdt-fo-header.is-scrolled {
	box-shadow: none;
}

/* Forest One 桌機 Header：依原站 154px 高度拆成 50 / 31 / 8 / 65 四段節奏。 */
.hdt-fo-header__inner {
	display: grid;
	grid-template-columns: clamp(203.75px, 20.375vw, 326px) minmax(0, 1fr) clamp(105.625px, 10.5625vw, 169px);
	grid-template-rows:
		clamp(31.25px, 3.125vw, 50px)
		clamp(19.375px, 1.9375vw, 31px)
		clamp(5px, .5vw, 8px)
		clamp(40.625px, 4.0625vw, 65px);
	column-gap: clamp(20px, 2vw, 32px);
	row-gap: 0;
	align-content: stretch;
	align-items: start;
	width: 100%;
	max-width: 1420px;
	height: 100%;
	margin: 0 auto;
	padding: 0 min(3.75vw, 60px);
}

/* 桌機 Logo 鎖定於整個 Header 的垂直中心，不受右側兩列 Grid 對齊方式影響。 */
@media (min-width: 768px) {
	.hdt-fo-header__inner {
		position: relative;
	}

	.hdt-fo-header__brand {
		position: absolute;
		top: 50%;
		left: min(3.75vw, 60px);
		grid-column: auto;
		grid-row: auto;
		width: clamp(203.75px, 20.375vw, 326px);
		transform: translateY(-50%);
	}
}

.hdt-fo-brand-lockup {
	display: block;
	width: clamp(203.75px, 20.375vw, 326px);
	color: var(--hdt-fo-black);
	text-decoration: none;
}

.hdt-fo-brand-lockup__tagline {
	display: block;
	margin-bottom: clamp(5px, .5vw, 8px);
	font-size: clamp(7.5px, .75vw, 12px);
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

/* Forest One 上列：會員入口位於主選單正上方，與線上商店按鈕共用 31px 列。 */
.hdt-fo-header__account-links {
	z-index: 2;
	display: flex;
	grid-column: 2;
	grid-row: 2;
	align-self: center;
	align-items: center;
	justify-self: end;
	gap: clamp(16px, 1.5vw, 24px);
	font-size: clamp(10px, .875vw, 14px);
	font-weight: 600;
	line-height: 1.35;
	white-space: nowrap;
	transform: translateY(clamp(.5px, .05vw, .8px));
}

.hdt-fo-header__account-links a {
	position: relative;
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	gap: clamp(5px, .45vw, 7px);
	color: var(--hdt-fo-black);
	text-decoration: none;
	transition: color 180ms ease-out;
}

.hdt-fo-header__account-icon {
	display: inline-flex;
	width: clamp(20px, 1.5vw, 24px);
	height: clamp(20px, 1.5vw, 24px);
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(138, 202, 248, .2);
	color: var(--hdt-brand-primary-ink);
	transition: background-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

.hdt-fo-header__account-icon svg {
	width: clamp(13px, 1vw, 16px);
	height: clamp(13px, 1vw, 16px);
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.hdt-fo-header__account-links a + a::before {
	position: absolute;
	top: 50%;
	left: clamp(-12px, -.75vw, -8px);
	width: 1px;
	height: clamp(12px, .875vw, 14px);
	background: #bdbdbd;
	content: "";
	transform: translateY(-50%);
}

.hdt-fo-header__account-links a:hover,
.hdt-fo-header__account-links a:focus-visible {
	color: var(--hdt-brand-primary-ink);
}

.hdt-fo-header__account-links a:hover .hdt-fo-header__account-icon,
.hdt-fo-header__account-links a:focus-visible .hdt-fo-header__account-icon {
	background: var(--hdt-brand-primary);
	color: var(--hdt-brand-primary-deep);
	transform: translateY(-1px);
}

.hdt-fo-brand-lockup__main {
	display: flex;
	height: clamp(40.625px, 4.0625vw, 65px);
	align-items: center;
	gap: clamp(9.375px, .9375vw, 15px);
}

.hdt-fo-brand-lockup__mark {
	position: relative;
	display: block;
	width: clamp(40.625px, 4.0625vw, 65px);
	height: clamp(40.625px, 4.0625vw, 65px);
	flex: 0 0 clamp(40.625px, 4.0625vw, 65px);
	overflow: hidden;
}

.hdt-fo-brand-lockup__mark img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 122%;
	height: 122%;
	max-width: none;
	object-fit: contain;
	transform: translate(-10.2%, -14.8%);
}

.hdt-fo-brand-lockup__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

.hdt-fo-brand-lockup__copy strong {
	color: var(--hdt-brand-primary-ink);
	font-size: clamp(1.40625rem, 2.25vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: .92;
}

.hdt-fo-brand-lockup__copy small {
	margin-top: clamp(5px, .5vw, 8px);
	color: var(--hdt-fo-black);
	font-size: clamp(.38125rem, .61vw, .61rem);
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1;
	white-space: nowrap;
}

.hdt-fo-header__menu-area {
	display: contents;
}

.hdt-fo-header__utility {
	position: relative;
	top: clamp(-2.8px, -.175vw, -1.75px);
	display: flex;
	width: clamp(180px, 15.625vw, 250px);
	height: clamp(18.125px, 1.8125vw, 29px);
	grid-column: 2;
	grid-row: 1;
	flex: 0 0 auto;
	align-items: center;
	justify-self: end;
	justify-content: space-between;
	padding-left: clamp(6.25px, .625vw, 10px);
	margin-bottom: 0;
}

.hdt-fo-header__utility a {
	position: relative;
	color: var(--hdt-fo-black);
	font-size: clamp(.5859375rem, .9375vw, .9375rem);
	font-weight: 400;
	letter-spacing: .05em;
	line-height: 1.8;
	text-decoration: none;
}

/* 三個輔助入口維持等距，分隔線置於相鄰項目的視覺中點。 */
.hdt-fo-header__utility a + a::before {
	position: absolute;
	top: 50%;
	left: clamp(-15.25px, -.953vw, -9.15px);
	width: 1px;
	height: clamp(6.25px, .625vw, 10px);
	background: #bdbdbd;
	content: "";
	transform: translateY(-50%);
}

.hdt-fo-header__primary {
	grid-column: 2;
	grid-row: 4;
	justify-self: end;
	width: 100%;
	min-width: 0;
}

.hdt-fo-header__primary > ul {
	display: flex;
	width: 100%;
	height: clamp(40.625px, 4.0625vw, 65px);
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	column-gap: clamp(12.5px, 2.5vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hdt-fo-header__primary li {
	flex: 0 0 auto;
	width: auto;
	margin: 0;
}

.hdt-fo-header__primary > ul > li > a {
	position: relative;
	display: grid;
	width: auto;
	height: clamp(40.625px, 4.0625vw, 65px);
	min-height: clamp(40.625px, 4.0625vw, 65px);
	place-items: start center;
	color: var(--hdt-fo-black);
	font-size: clamp(.6640625rem, 1.0625vw, 1.0625rem);
	font-weight: 700;
	letter-spacing: .025em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.hdt-fo-header__nav-label {
	grid-area: 1 / 1;
	display: block;
	backface-visibility: hidden;
	transition: opacity 180ms ease-out, transform 220ms var(--hdt-fo-ease);
}

.hdt-fo-header__nav-label--zh {
	opacity: 1;
	transform: translateY(0);
}

.hdt-fo-header__nav-label--en {
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .085em;
	opacity: 0;
	transform: translateY(45%);
}

.hdt-fo-header__nav-swap:hover .hdt-fo-header__nav-label--zh,
.hdt-fo-header__nav-swap:focus-visible .hdt-fo-header__nav-label--zh,
.hdt-fo-header__products-menu:hover > .hdt-fo-header__nav-swap .hdt-fo-header__nav-label--zh,
.hdt-fo-header__products-menu:focus-within > .hdt-fo-header__nav-swap .hdt-fo-header__nav-label--zh {
	opacity: 0;
	transform: translateY(-45%);
}

.hdt-fo-header__nav-swap:hover .hdt-fo-header__nav-label--en,
.hdt-fo-header__nav-swap:focus-visible .hdt-fo-header__nav-label--en,
.hdt-fo-header__products-menu:hover > .hdt-fo-header__nav-swap .hdt-fo-header__nav-label--en,
.hdt-fo-header__products-menu:focus-within > .hdt-fo-header__nav-swap .hdt-fo-header__nav-label--en {
	opacity: 1;
	transform: translateY(0);
}

.hdt-fo-header__primary a,
.hdt-fo-header__utility a {
	transition: color 180ms ease-out, opacity 180ms ease-out;
}

.hdt-fo-header__primary a:hover,
.hdt-fo-header__primary a:focus-visible,
.hdt-fo-header__utility a:hover,
.hdt-fo-header__utility a:focus-visible {
	color: var(--hdt-brand-primary-ink);
}

.hdt-fo-header__actions {
	display: contents;
}

.hdt-fo-header__action {
	position: relative;
	display: flex;
	width: clamp(105.625px, 10.5625vw, 169px);
	height: clamp(19.375px, 1.9375vw, 31px);
	grid-column: 3;
	align-self: center;
	align-items: center;
	justify-content: center;
	justify-self: end;
	border: 1px solid #fff;
	border-radius: 999px;
	color: #fff;
	font-size: clamp(9.375px, .9375vw, 15px);
	font-weight: 700;
	letter-spacing: .035em;
	line-height: 1;
	text-decoration: none;
	text-shadow: none;
	box-shadow: none;
	transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

.hdt-fo-header__action:hover,
.hdt-fo-header__action:focus-visible {
	box-shadow: none;
	text-shadow: none;
	transform: none;
}

.hdt-fo-header__action--shop {
	grid-row: 2;
	border-color: #fff;
	background: var(--hdt-brand-primary-ink);
}

.hdt-fo-header__action--shop:hover,
.hdt-fo-header__action--shop:focus-visible {
	border-color: #fff;
	background: var(--hdt-brand-primary);
	color: var(--hdt-brand-primary-deep);
}

.hdt-fo-header__action--contact {
	/* 原站兩顆按鈕上下緊接；聯絡按鈕自 8px 過渡列起始並向主選單區延伸。 */
	grid-row: 3;
	align-self: start;
	border-color: #fff;
	background: var(--hdt-brand-secondary-ink);
}

.hdt-fo-header__action--contact:hover,
.hdt-fo-header__action--contact:focus-visible {
	border-color: #fff;
	background: var(--hdt-brand-secondary);
	color: var(--hdt-brand-secondary-deep);
}

.hdt-fo-header__products-menu {
	position: static;
}

.hdt-fo-mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	padding: 44px 0 48px;
	background: #fff;
	box-shadow: 0 20px 34px rgba(48, 48, 48, .1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 180ms;
}

.hdt-fo-header__products-menu:hover .hdt-fo-mega-menu,
.hdt-fo-header__products-menu:focus-within .hdt-fo-mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hdt-fo-mega-menu__inner {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	column-gap: 70px;
	width: min(calc(100% - 7.5vw), 1240px);
	margin: 0 auto;
}

.hdt-fo-mega-menu__title a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0 20px;
	border-bottom: 2px solid var(--hdt-fo-green);
	color: var(--hdt-fo-black);
	font-size: 1.35rem;
	font-weight: 700;
	text-decoration: none;
}

.hdt-fo-mega-menu__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 38px;
}

.hdt-fo-mega-menu__links a {
	padding: 15px 0;
	border-bottom: 1px solid var(--hdt-fo-line);
	color: var(--hdt-fo-black);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
}

.hdt-fo-header__mobile-contact,
.hdt-fo-header__toggle,
.hdt-fo-mobile-menu {
	display: none;
}

/* --------------------------------------------------------------------------
 * Homepage common title and button language
 * ----------------------------------------------------------------------- */
.home #primary,
.home .entry-content,
.home .elementor,
.home .elementor-element,
.home .elementor-widget-shortcode,
.home .elementor-shortcode {
	margin: 0 !important;
}

.home .hdt-fo-elementor-section.e-con,
.home .hdt-fo-elementor-section.e-con > .e-con-inner {
	width: 100%;
	max-width: none;
	padding: 0 !important;
}

.home .hdt-fo-elementor-section .elementor-widget-shortcode {
	width: 100%;
}

.hdt-fo-section-title p {
	margin: 0 0 15px;
	color: var(--hdt-brand-primary-ink);
	font-family: "Zen Kaku Gothic New", "Noto Sans TC", sans-serif;
	font-size: clamp(2.75rem, 3.75vw, 3.75rem);
	font-weight: 900;
	letter-spacing: normal;
	line-height: 1;
}

.hdt-fo-section-title h2 {
	margin: 0;
	color: var(--hdt-fo-black);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
}

.hdt-fo-section-title--center {
	text-align: center;
}

.hdt-fo-button {
	display: flex;
	width: 230px;
	height: 60px;
	min-height: 60px;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1;
	text-decoration: none;
	transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.hdt-fo-button:hover,
.hdt-fo-button:focus-visible {
	transform: translateY(-2px);
	opacity: .85;
}

.hdt-fo-button--green {
	border-color: #fff;
	background: var(--hdt-fo-green);
	color: var(--hdt-fo-black);
}

.hdt-fo-button--green:hover,
.hdt-fo-button--green:focus-visible {
	color: var(--hdt-fo-black);
}

.hdt-fo-button--white {
	margin: 40px auto 0;
	border-color: var(--hdt-fo-green);
	background: #fff;
	color: var(--hdt-brand-primary-ink);
	font-weight: 700;
}

.hdt-fo-cta > .hdt-shell > .hdt-fo-button {
	height: 50px;
	min-height: 50px;
}

/* --------------------------------------------------------------------------
 * Hero carousel
 * ----------------------------------------------------------------------- */
.home .hdt-elementor-hero.e-con {
	padding: 0 !important;
	background: #fff;
}

.hdt-home-hero {
	padding: 0;
	background: #fff;
}

.hdt-home-hero__viewport {
	position: relative;
	width: 100%;
	max-width: none;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	overflow: hidden;
}

.hdt-home-hero__slides {
	position: relative;
	width: 100%;
	aspect-ratio: 3200 / 1182;
	overflow: hidden;
}

.hdt-home-hero__slide {
	position: absolute;
	top: 0;
	left: 10%;
	display: block !important;
	width: 80%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 0, 0);
	transition: opacity 600ms var(--hdt-fo-ease), transform 2000ms var(--hdt-fo-ease);
}

.hdt-home-hero__slide.is-active {
	z-index: 2;
	opacity: 1;
	pointer-events: auto;
}

.hdt-home-hero__slide.is-prev {
	z-index: 1;
	opacity: 1;
	transform: translate3d(-100%, 0, 0);
}

.hdt-home-hero__slide.is-next {
	z-index: 1;
	opacity: 1;
	transform: translate3d(100%, 0, 0);
}

.hdt-home-hero__link,
.hdt-home-hero__media {
	display: block;
	width: 100%;
	height: 100%;
}

.hdt-home-hero__media {
	position: relative;
	min-height: 0;
	background: #eee;
}

/* Descendant selector raises specificity above Elementor's `.elementor img { height: auto }`. */
.hdt-home-hero__slide .hdt-home-hero__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	background: #fff;
	object-fit: contain;
}

.hdt-home-hero__controls {
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
}

.hdt-home-hero__controls .hdt-carousel-button {
	position: absolute;
	top: 50%;
	display: block;
	width: 60px;
	height: 60px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c6c6c6;
	color: transparent;
	font-size: 0;
	box-shadow: none;
	pointer-events: auto;
	transform: translateY(-50%);
	transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.hdt-home-hero__controls .hdt-carousel-button::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	content: "";
}

.hdt-home-hero__controls [data-carousel-prev]::before {
	transform: translate(-35%, -50%) rotate(-135deg);
}

.hdt-home-hero__controls [data-carousel-next]::before {
	transform: translate(-65%, -50%) rotate(45deg);
}

.hdt-home-hero__controls .hdt-carousel-button:hover,
.hdt-home-hero__controls .hdt-carousel-button:focus-visible {
	background: #9f9f9f;
	transform: translateY(-50%);
}

.hdt-home-hero__controls [data-carousel-prev] {
	left: calc(10% - 30px);
}

.hdt-home-hero__controls [data-carousel-next] {
	right: calc(10% - 30px);
}

.hdt-home-hero__controls .hdt-carousel-dots {
	display: none;
}

/* --------------------------------------------------------------------------
 * Pick up product
 * ----------------------------------------------------------------------- */
.hdt-fo-pickup {
	padding: 45px 0 63px;
	border-top: 4px solid #fff;
	border-bottom: 4px solid #fff;
	background: var(--hdt-fo-gray);
}

.hdt-fo-pickup h2 {
	margin: 0 0 30px;
	color: var(--hdt-fo-black);
	font-family: "Zen Kaku Gothic New", "Noto Sans TC", sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1;
	text-align: center;
}

.hdt-fo-pickup__grid {
	display: grid;
	width: min(100%, 1300px);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 33px;
	margin-right: auto;
	margin-left: auto;
}

.hdt-fo-pickup__item {
	position: relative;
	display: block;
	color: var(--hdt-fo-black);
	text-decoration: none;
	overflow: hidden;
}

.hdt-fo-pickup__item figure {
	position: relative;
	margin: 0;
	aspect-ratio: 300 / 196;
	background: #fff;
	overflow: hidden;
}

/* `figure` raises specificity above Elementor's `.elementor img { height: auto }`. */
.hdt-fo-pickup__item figure img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 10px;
	object-fit: contain;
	transition: transform 300ms var(--hdt-fo-ease);
}

.hdt-fo-pickup__item span {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	background: rgba(255, 255, 255, .9);
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.hdt-fo-pickup__item:hover img,
.hdt-fo-pickup__item:focus-visible img {
	transform: scale(1.035);
}

/* --------------------------------------------------------------------------
 * About and reasons
 * ----------------------------------------------------------------------- */
.hdt-fo-about {
	background: var(--hdt-fo-gray);
}

.hdt-fo-about__main {
	position: relative;
	display: block;
	width: min(calc(100% - 7.5vw), 1420px);
	min-height: 787px;
	margin-right: auto;
	margin-left: auto;
	padding: 100px 60px;
}

.hdt-fo-about__visual {
	position: absolute;
	top: 52px;
	left: 32px;
	width: 678px;
	height: 682px;
	margin: 0;
	background: #e7e7e7;
	overflow: hidden;
}

/* Scoped through `figure` to outrank Elementor's `.elementor img { height: auto }`. */
.hdt-fo-about__visual.hdt-fo-about__visual img {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	inset: 0;
	object-fit: cover;
}

.hdt-fo-about__copy {
	display: flex;
	width: 650px;
	max-width: 650px;
	min-height: 587px;
	flex-direction: column;
	justify-content: flex-start;
	margin-left: 650px;
	padding: 0 0 0 100px;
}

.hdt-fo-about__copy > .hdt-fo-section-title {
	min-height: 91px;
	margin-bottom: 70px;
}

.hdt-fo-about__statement {
	max-width: 550px;
	margin: 0 0 50px !important;
	color: var(--hdt-fo-black);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1.6;
}

.hdt-fo-about__description {
	max-width: 550px;
	min-height: 176px;
	margin: 0 0 50px !important;
	color: var(--hdt-fo-black);
	font-size: 1rem;
	letter-spacing: .05em;
	line-height: 2.2;
}

.hdt-fo-about__reasons {
	padding: 140px 0;
	background: #fff;
}

.hdt-fo-about__reasons > .hdt-shell > h3 {
	width: min(100%, 1300px);
	margin: 0 auto 90px;
	color: var(--hdt-fo-black);
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1;
	text-align: center;
}

.hdt-fo-reasons {
	display: grid;
	width: min(100%, 1300px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 40px;
	margin-right: auto;
	margin-left: auto;
}

.hdt-fo-reasons article {
	position: relative;
	min-width: 0;
	min-height: 445px;
	padding: 0;
	text-align: center;
}

/* Elementor 對 figure 套用較高權重的 margin: 0；此處需明確保留卡片圖文間距。 */
.hdt-fo-reasons .hdt-fo-reason__visual {
	display: flex;
	width: 100%;
	aspect-ratio: 406 / 240;
	align-items: center;
	justify-content: center;
	margin: 0 0 35px !important;
	border-radius: 5px;
	background: var(--hdt-fo-gray);
}

.hdt-fo-reason__visual img {
	display: block;
	width: 110px;
	height: 124px;
}

.hdt-fo-reasons span {
	position: absolute;
	top: -5px;
	left: 50%;
	display: block;
	margin: 0;
	color: transparent;
	font-family: "Zen Kaku Gothic New", "Noto Sans TC", sans-serif;
	font-size: 5rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1;
	-webkit-text-stroke: 2px var(--hdt-fo-green);
	transform: translate(-50%, -50%);
}

.hdt-fo-reasons h4 {
	margin: 0 0 35px;
	color: var(--hdt-fo-black);
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1.6;
}

.hdt-fo-reasons p {
	margin: 0;
	color: var(--hdt-fo-black);
	font-size: 1rem;
	line-height: 2;
	text-align: left;
}

/* --------------------------------------------------------------------------
 * Product grid and resource cards
 * ----------------------------------------------------------------------- */
.hdt-fo-products {
	padding: 145px 0;
	background: var(--hdt-fo-gray);
}

.hdt-fo-products > .hdt-shell > .hdt-fo-section-title {
	width: min(100%, 1300px);
	min-height: 91px;
	margin-right: auto;
	margin-bottom: 60px;
	margin-left: auto;
}

.hdt-fo-products__grid {
	display: grid;
	width: min(100%, 1300px);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 33px;
	margin-right: auto;
	margin-left: auto;
}

.hdt-fo-product-card a {
	display: block;
	color: var(--hdt-fo-black);
	text-decoration: none;
}

.hdt-fo-product-card figure {
	position: relative;
	margin: 0;
	aspect-ratio: 300 / 196;
	background: #fff;
	overflow: hidden;
}

/* `figure` raises specificity above Elementor's `.elementor img { height: auto }`. */
.hdt-fo-product-card figure img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 16px;
	object-fit: contain;
	transition: transform 300ms var(--hdt-fo-ease);
}

/* Two-line reserve keeps every tile 313px tall; Chinese product names wrap where
   Forest One's two-character category labels never did. */
.hdt-fo-product-card h3 {
	display: flex;
	min-height: 117px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 20px 0 30px;
	color: var(--hdt-fo-black);
	font-size: 1.17rem;
	font-weight: 700;
	line-height: 1.8;
	text-align: center;
}

.hdt-fo-product-card:hover img,
.hdt-fo-product-card:focus-within img {
	transform: scale(1.04);
}

.hdt-fo-products__more {
	height: 50px;
	min-height: 50px;
	margin: 25px auto 0;
}

.hdt-fo-products__resources {
	display: grid;
	width: min(100%, 1300px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 50px;
	margin: 60px auto 0;
}

.hdt-fo-products__resources > a {
	display: grid;
	grid-template-columns: 165px minmax(0, 1fr);
	height: 175px;
	min-height: 175px;
	padding: 35px 38px 35px 58px;
	column-gap: 50px;
	align-items: center;
	background: #fff;
	color: var(--hdt-fo-black);
	text-decoration: none;
}

.hdt-fo-products__resources figure {
	position: relative;
	width: 165px;
	height: 105px;
	margin: 0;
	overflow: hidden;
}

/* Scoped through `figure` to outrank Elementor's `.elementor img { height: auto }`. */
.hdt-fo-products__resources figure img {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	inset: 0;
	object-fit: cover;
	transition: transform 300ms var(--hdt-fo-ease);
}

.hdt-fo-products__resources > a > div {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: 0;
}

.hdt-fo-products__resources h3 {
	margin: 0 0 10px;
	font-size: 1.17rem;
	font-weight: 700;
	line-height: 1;
}

.hdt-fo-products__resources p {
	margin: 0;
	font-size: .9375rem;
	letter-spacing: .05em;
	line-height: 1.8;
}

.hdt-fo-products__resources > a:hover img,
.hdt-fo-products__resources > a:focus-visible img {
	transform: scale(1.04);
}

/* --------------------------------------------------------------------------
 * News
 * ----------------------------------------------------------------------- */
.hdt-fo-news {
	padding: 110px 0 140px;
	background: #fff;
}

.hdt-fo-news__head {
	display: grid;
	width: min(100%, 1300px);
	min-height: 91px;
	grid-template-columns: 165px minmax(0, 1fr) 95px;
	column-gap: 75px;
	align-items: start;
	margin: 0 auto 60px;
}

.hdt-fo-news__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 20px;
}

.hdt-fo-news__filters button {
	display: inline-flex;
	width: 170px;
	height: 37px;
	min-width: 170px;
	min-height: 37px;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	border: 1px solid #fff;
	border-radius: 999px;
	background: var(--hdt-fo-gray);
	color: var(--hdt-fo-black);
	box-shadow: none;
	cursor: pointer;
	font-size: .875rem;
	font-weight: 400;
	letter-spacing: .05em;
	line-height: 1;
}

.hdt-fo-news__filters .is-active,
.hdt-fo-news__filters button:hover,
.hdt-fo-news__filters button:focus-visible {
	background: #959595;
	color: #fff;
}

.hdt-fo-news__more {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 22px;
	color: var(--hdt-fo-black);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1;
	text-decoration: none;
}

.hdt-fo-news__list {
	width: min(100%, 1300px);
	margin: 0 auto !important;
	padding: 0 !important;
	border-top: 1px solid var(--hdt-fo-line);
	list-style: none;
}

.hdt-fo-news__list li {
	margin: 0;
	border-bottom: 1px solid var(--hdt-fo-line);
}

.hdt-fo-news__list li[hidden] {
	display: none;
}

.hdt-fo-news__list a {
	display: grid;
	grid-template-columns: 88px 155px minmax(0, 1fr);
	column-gap: 15px;
	align-items: center;
	min-height: 89px;
	padding: 28px 0;
	color: var(--hdt-fo-black);
	text-decoration: none;
	transition: color 180ms ease-out, transform 180ms ease-out;
}

.hdt-fo-news__list a:hover,
.hdt-fo-news__list a:focus-visible {
	color: var(--hdt-brand-primary-ink);
	transform: translateX(3px);
}

.hdt-fo-news__list time {
	display: block;
	height: 16px;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: .05em;
	line-height: 1;
}

.hdt-fo-news__list a > span {
	display: inline-flex;
	width: 155px;
	height: 33px;
	min-height: 33px;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border: 1px solid var(--hdt-fo-green);
	border-radius: 999px;
	background: transparent;
	color: var(--hdt-brand-primary-ink);
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1;
}

.hdt-fo-news__list strong {
	margin-left: 3px;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
 * Three large links
 * ----------------------------------------------------------------------- */
.hdt-fo-links {
	min-height: 617px;
	padding: 130px 0 140px;
	background: var(--hdt-fo-gray);
}

.hdt-fo-links__grid {
	display: grid;
	width: min(100%, 1300px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	margin-right: auto;
	margin-left: auto;
}

.hdt-fo-links__grid > a {
	display: block;
	color: var(--hdt-fo-black);
	text-decoration: none;
}

.hdt-fo-links__grid .hdt-fo-section-title {
	margin-bottom: 30px;
}

.hdt-fo-links__grid .hdt-fo-section-title p {
	font-size: clamp(2.109rem, 2.8125vw, 2.812rem);
}

.hdt-fo-links__grid figure {
	position: relative;
	margin: 0;
	aspect-ratio: 406 / 240;
	background: #ddd;
	overflow: hidden;
}

/* Scoped through `figure` to outrank Elementor's `.elementor img { height: auto }`. */
.hdt-fo-links__grid figure img {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	inset: 0;
	object-fit: cover;
	transition: transform 300ms var(--hdt-fo-ease);
}

.hdt-fo-links__grid > a:hover img,
.hdt-fo-links__grid > a:focus-visible img {
	transform: scale(1.035);
}

/* --------------------------------------------------------------------------
 * Contact CTA
 * ----------------------------------------------------------------------- */
.hdt-fo-cta {
	position: relative;
	display: flex;
	min-height: 711px;
	align-items: center;
	padding: 90px 0;
	background: var(--hdt-fo-green) url("/wp-content/uploads/2026/07/DSC00004.jpg") center / cover no-repeat;
	isolation: isolate;
}

.hdt-fo-cta::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(57, 124, 172, .88);
	content: "";
}

.hdt-fo-cta__copy {
	width: min(100%, 1300px);
	margin: 0 auto 50px !important;
	color: #fff;
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1.8;
	text-align: center;
}

.hdt-fo-cta__routes {
	display: grid;
	width: min(100%, 1300px);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 33px;
	margin-right: auto;
	margin-left: auto;
}

.hdt-fo-cta__routes a {
	display: flex;
	height: 216px;
	min-height: 216px;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	row-gap: 23px;
	padding: 33px 35px;
	border: 1px solid rgba(152, 152, 153, .24);
	border-radius: 5px;
	background: rgba(255, 255, 255, .96);
	color: var(--hdt-brand-secondary-ink);
	text-decoration: none;
	box-shadow: 0 14px 34px rgba(33, 68, 95, .08);
	transition: background-color 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.hdt-fo-cta__routes a:nth-child(odd) {
	color: var(--hdt-brand-primary-ink);
}

.hdt-fo-cta__routes a:nth-child(even) {
	color: var(--hdt-brand-secondary-ink);
}

.hdt-fo-cta__routes a:hover,
.hdt-fo-cta__routes a:focus-visible {
	border-color: rgba(138, 202, 248, .58);
	background: #fff;
	box-shadow: 0 18px 42px rgba(33, 68, 95, .13);
}

.hdt-fo-cta__icon {
	display: flex;
	width: 79px;
	height: 77px;
	flex: 0 0 77px;
	align-items: center;
	justify-content: center;
}

.hdt-fo-cta__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.hdt-fo-cta__routes a > span:last-child {
	display: flex;
	width: 100%;
	height: 50px;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
	transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out, box-shadow 180ms ease-out;
}

.hdt-fo-cta__routes a:nth-child(odd) > span:last-child {
	border-color: var(--hdt-brand-primary);
	background: var(--hdt-brand-primary-soft);
	color: var(--hdt-brand-primary-deep);
}

.hdt-fo-cta__routes a:nth-child(even) > span:last-child {
	border-color: var(--hdt-brand-secondary);
	background: var(--hdt-brand-secondary-soft);
	color: #454547;
}

.hdt-fo-cta__routes a:nth-child(odd):hover > span:last-child,
.hdt-fo-cta__routes a:nth-child(odd):focus-visible > span:last-child {
	border-color: var(--hdt-brand-primary-ink);
	background: var(--hdt-brand-primary-ink);
	color: #fff;
	box-shadow: 0 5px 14px rgba(33, 68, 95, .18);
	transform: translateY(-1px);
}

.hdt-fo-cta__routes a:nth-child(even):hover > span:last-child,
.hdt-fo-cta__routes a:nth-child(even):focus-visible > span:last-child {
	border-color: var(--hdt-brand-secondary-ink);
	background: var(--hdt-brand-secondary-ink);
	color: #fff;
	box-shadow: 0 5px 14px rgba(36, 36, 38, .16);
	transform: translateY(-1px);
}

.hdt-fo-cta__routes a:active > span:last-child {
	transform: translateY(1px);
}

/* --------------------------------------------------------------------------
 * Forest-style footer
 * ----------------------------------------------------------------------- */
.hdt-fo-footer {
	--hdt-fo-footer-ink: #454545;
	color: var(--hdt-fo-footer-ink);
}

.hdt-fo-footer__menu {
	padding: 105px 0;
	background: var(--hdt-fo-gray);
}

.hdt-fo-footer__columns {
	display: grid;
	min-height: 340px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 47px;
	padding: 0 60px;
}

.hdt-fo-footer__column {
	min-width: 0;
}

.hdt-fo-footer__primary-link {
	display: flex;
	min-height: 68px;
	align-items: center;
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid #ccc;
	color: var(--hdt-fo-footer-ink);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 27px;
	text-decoration: none;
	transition: color 180ms ease-out, transform 180ms var(--hdt-fo-ease);
}

.hdt-fo-footer__column ul {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.hdt-fo-footer__column li {
	margin: 0;
}

.hdt-fo-footer__column li::before {
	display: none;
}

.hdt-fo-footer__column li a {
	display: flex;
	min-height: 37px;
	align-items: center;
	padding: 5px 0;
	color: var(--hdt-fo-footer-ink);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: .03em;
	line-height: 27px;
	text-decoration: none;
	transition: color 180ms ease-out, transform 180ms var(--hdt-fo-ease);
}

.hdt-fo-footer__primary-link:hover,
.hdt-fo-footer__primary-link:focus-visible,
.hdt-fo-footer__column li a:hover,
.hdt-fo-footer__column li a:focus-visible {
	color: var(--hdt-brand-primary-ink);
	transform: translateX(4px);
}

.hdt-fo-footer__bottom {
	padding: 40px 0 50px;
	background: #fff;
}

.hdt-fo-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 0 60px;
}

.hdt-fo-footer__identity {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 40px;
}

.hdt-fo-footer__identity .custom-logo-link {
	display: block;
	width: 250px;
	flex: 0 0 250px;
}

.hdt-fo-footer__identity .custom-logo {
	display: block;
	width: 100%;
	height: auto;
	max-height: 50px;
	object-fit: contain;
	object-position: left center;
}

.hdt-fo-footer__identity > div {
	min-width: 0;
}

.hdt-fo-footer__identity p,
.hdt-fo-footer__identity address {
	margin: 0 0 2px;
	color: #656565;
	font-size: 11px;
	font-style: normal;
	letter-spacing: .025em;
	line-height: 1.45;
}

.hdt-fo-footer__identity p:last-child,
.hdt-fo-footer__identity address:last-child {
	margin-bottom: 0;
}

.hdt-fo-footer__meta {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
	white-space: nowrap;
}

.hdt-fo-footer__meta > a {
	color: #656565;
	font-size: 12px;
	line-height: 1.8;
	text-decoration: none;
	transition: color 180ms ease-out;
}

.hdt-fo-footer__meta > a:hover,
.hdt-fo-footer__meta > a:focus-visible {
	color: var(--hdt-brand-primary-ink);
}

.hdt-fo-footer__social {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hdt-fo-footer__social a,
.hdt-fo-footer__social span {
	display: inline-flex;
	min-width: 44px;
	min-height: 30px;
	align-items: center;
	justify-content: center;
	padding: 0 9px;
	border: 1px solid #c8c8c8;
	border-radius: 999px;
	color: #656565;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .03em;
	line-height: 1;
	text-decoration: none;
	transition: border-color 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

.hdt-fo-footer__social > :first-child {
	width: 30px;
	min-width: 30px;
	padding: 0;
	font-size: 0;
}

.hdt-fo-footer__social > :first-child::before {
	font-family: Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	content: "f";
}

.hdt-fo-footer__social a:hover,
.hdt-fo-footer__social a:focus-visible {
	border-color: var(--hdt-fo-green);
	background: var(--hdt-fo-green);
	color: var(--hdt-fo-black);
	transform: translateY(-1px);
}

.hdt-fo-footer__social span {
	opacity: .55;
}

/* Existing inner pages retain the proven functional layout while sharing CI. */
body:not(.home) .hdt-content-page,
body:not(.home) .site-main,
body:not(.home) .woocommerce {
	--hdt-teal: var(--hdt-fo-green);
	--hdt-teal-dark: var(--hdt-brand-primary-ink);
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid rgba(138, 202, 248, .55);
	outline-offset: 3px;
}

/* Astra 回到頁首：套用好力齒主色、圓形幾何與一致的互動回饋。 */
#ast-scroll-top {
	right: clamp(18px, 2vw, 32px);
	bottom: clamp(18px, 2vw, 32px);
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 50%;
	background: var(--hdt-brand-primary-ink);
	box-shadow: 0 12px 30px rgba(33, 68, 95, .22), 0 0 0 1px rgba(138, 202, 248, .3);
	color: #fff;
	font-size: 0;
	line-height: 1;
	transition: background-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms var(--hdt-fo-ease);
	z-index: 98;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus-visible {
	background: var(--hdt-brand-primary-deep);
	box-shadow: 0 15px 34px rgba(33, 68, 95, .28), 0 0 0 3px rgba(138, 202, 248, .22);
	color: #fff;
	transform: translateY(-3px);
}

#ast-scroll-top .ast-icon,
#ast-scroll-top .ast-icon.icon-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 100%;
	margin: 0 auto;
}

#ast-scroll-top .ast-icon.icon-arrow svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
 * Tablet and mobile
 * ----------------------------------------------------------------------- */
@media (max-width: 1500px) and (min-width: 1281px) {
	.hdt-fo-header__inner {
		width: calc(100% - 32px);
	}
}

@media (min-width: 768px) and (max-width: 1000px) {
	.hdt-fo-header__primary > ul {
		column-gap: 12.5px;
	}

	.hdt-fo-footer__columns {
		column-gap: 24px;
		padding: 0 28px;
	}

	.hdt-fo-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 24px;
		padding: 0 28px;
	}

	.hdt-fo-footer__identity {
		gap: 28px;
	}

	.hdt-fo-footer__meta {
		margin-left: 0;
	}
}

@media (max-width: 1120px) {
	.hdt-fo-about__copy {
		padding-right: 42px;
		padding-left: 62px;
	}

	.hdt-fo-products__grid,
	.hdt-fo-pickup__grid {
		column-gap: 22px;
	}
}

/*
 * 1600px 桌機稿使用固定幾何；中型視窗依相同比例縮放 About 內部構圖，
 * 避免平板與小型筆電因 1300px 固定內容寬度產生水平捲軸。
 */
@media (min-width: 768px) and (max-width: 1599px) {
	.hdt-fo-about__main {
		min-height: 49.1875vw;
		padding: 6.25vw 3.75vw;
	}

	.hdt-fo-about__visual {
		top: 3.25vw;
		left: 2vw;
		width: 42.375vw;
		height: 42.625vw;
	}

	.hdt-fo-about__copy {
		width: 40.625vw;
		max-width: 40.625vw;
		min-height: 36.6875vw;
		margin-left: 40.625vw;
		padding-right: 0;
		padding-left: 6.25vw;
	}

	.hdt-fo-about__copy > .hdt-fo-section-title {
		min-height: 5.6875vw;
		margin-bottom: 4.375vw;
	}

	.hdt-fo-about__statement {
		margin-bottom: 3.125vw !important;
		font-size: clamp(1.375rem, 1.75vw, 1.75rem);
	}

	.hdt-fo-about__description {
		min-height: 11vw;
		margin-bottom: 3.125vw !important;
		font-size: clamp(.875rem, 1vw, 1rem);
	}
}

@media (max-width: 767px) {
	:root {
		/* Forest One 手機版比例：320px=55.5px、390px=67.6px、430px=74.6px。 */
		--hdt-fo-header-height: clamp(55.5px, 17.333333vw, 74.6px);
		--hdt-fo-mobile-side: clamp(17.1px, 5.333333vw, 23px);
		--hdt-fo-mobile-brand-width: clamp(161.4px, 50.4375vw, 216.9px);
	}

	body.admin-bar .hdt-fo-header {
		top: 46px;
	}

	.hdt-fo-header {
		height: var(--hdt-fo-header-height);
	}

	.hdt-fo-header__inner {
		position: relative;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		overflow: visible;
	}

	.hdt-fo-header__brand,
	.hdt-fo-brand-lockup {
		width: var(--hdt-fo-mobile-brand-width);
		margin: 0;
	}

	.hdt-fo-header__brand {
		position: absolute;
		top: 50%;
		left: var(--hdt-fo-mobile-side);
		height: clamp(33.9px, 10.59375vw, 45.5px);
		transform: translateY(-50%);
	}

	.hdt-fo-brand-lockup {
		position: relative;
		height: 100%;
	}

	.hdt-fo-brand-lockup__tagline {
		position: absolute;
		top: 0;
		left: 0;
		max-width: 100%;
		margin: 0;
		overflow: hidden;
		font-size: clamp(5.1px, 1.6vw, 6.9px);
		line-height: 1;
		text-overflow: clip;
		white-space: nowrap;
	}

	.hdt-fo-brand-lockup__main {
		position: absolute;
		top: clamp(8.5px, 2.666667vw, 11.5px);
		left: 0;
		height: clamp(31.2px, 9.75vw, 41.9px);
		gap: clamp(6px, 1.9vw, 8.2px);
	}

	.hdt-fo-brand-lockup__mark {
		width: clamp(31.2px, 9.75vw, 41.9px);
		height: clamp(31.2px, 9.75vw, 41.9px);
		flex-basis: clamp(31.2px, 9.75vw, 41.9px);
	}

	.hdt-fo-brand-lockup__mark img {
		width: 122%;
		height: 122%;
		max-width: none;
	}

	.hdt-fo-brand-lockup__copy strong {
		font-size: clamp(1.16rem, 5.8vw, 1.56rem);
		line-height: .92;
		white-space: nowrap;
	}

	.hdt-fo-brand-lockup__copy small {
		margin-top: clamp(3.8px, 1.2vw, 5.2px);
		font-size: clamp(.35rem, 1.75vw, .47rem);
		letter-spacing: .075em;
		white-space: nowrap;
	}

	.hdt-fo-header__account-links,
	.hdt-fo-header__menu-area,
	.hdt-fo-header__actions {
		display: none;
	}

	.hdt-fo-header__mobile-contact,
	.hdt-fo-header__toggle {
		position: absolute;
		top: 0;
		display: flex;
		width: var(--hdt-fo-header-height);
		height: var(--hdt-fo-header-height);
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.hdt-fo-header__mobile-contact {
		right: var(--hdt-fo-header-height);
		background: var(--hdt-brand-secondary-ink);
		color: #fff;
		font-size: 0;
		text-decoration: none;
	}

	.hdt-fo-header__mobile-contact svg {
		display: block;
		width: 30%;
		height: 30%;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.8;
	}

	.hdt-fo-header__toggle {
		right: 0;
		flex-direction: column;
		gap: clamp(4.8px, 1.5vw, 6.5px);
		background: var(--hdt-brand-primary);
		color: var(--hdt-brand-primary-deep);
	}

	.hdt-fo-header__toggle span {
		display: block;
		width: 40%;
		height: 2px;
		background: currentColor;
		transition: opacity 180ms ease-out, transform 180ms ease-out;
	}

	.hdt-fo-header.is-menu-open .hdt-fo-header__toggle span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.hdt-fo-header.is-menu-open .hdt-fo-header__toggle span:nth-child(2) {
		opacity: 0;
	}

	.hdt-fo-header.is-menu-open .hdt-fo-header__toggle span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.hdt-fo-mobile-menu {
		position: fixed;
		top: var(--hdt-fo-header-height);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99;
		display: block;
		padding: 28px 24px 42px;
		background: #fff;
		overflow-y: auto;
	}

	body.admin-bar .hdt-fo-mobile-menu {
		top: calc(var(--hdt-fo-header-height) + 46px);
	}

	.hdt-fo-mobile-menu[hidden] {
		display: none;
	}

	.hdt-fo-mobile-menu nav a {
		display: flex;
		min-height: 58px;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid var(--hdt-fo-line);
		color: var(--hdt-fo-black);
		font-size: 1rem;
		font-weight: 700;
		text-decoration: none;
	}

	.hdt-fo-mobile-menu__contact {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		margin-top: 30px;
	}

	.hdt-fo-mobile-menu__contact a {
		display: flex;
		min-height: 56px;
		align-items: center;
		justify-content: center;
		background: var(--hdt-fo-orange);
		color: var(--hdt-fo-black);
		font-size: .86rem;
		font-weight: 700;
		text-decoration: none;
	}

	.hdt-fo-mobile-menu__contact a:last-child {
		background: var(--hdt-fo-green);
	}

	#ast-scroll-top {
		right: 14px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}

	#ast-scroll-top .ast-icon,
	#ast-scroll-top .ast-icon.icon-arrow {
		width: 16px;
		height: 100%;
		margin: 0 auto;
	}

	#ast-scroll-top .ast-icon.icon-arrow svg {
		width: 16px;
		height: 16px;
	}

	.hdt-fo-about__main {
		width: 100%;
		min-height: 0;
		grid-template-columns: 1fr;
		padding: 0;
	}

	.hdt-fo-about__visual {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		height: auto;
		min-height: 520px;
		margin: 0;
	}

	.hdt-fo-about__copy {
		width: 100%;
		max-width: none;
		min-height: 0;
		margin-left: 0;
		padding: 80px 7.5vw 90px;
	}

	.hdt-fo-about__copy > .hdt-fo-section-title {
		margin-bottom: 0;
	}

	.hdt-fo-about__statement {
		margin: 50px 0 42px !important;
	}

	.hdt-fo-about__description {
		min-height: 0;
		margin-bottom: 45px !important;
	}

	.hdt-fo-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hdt-fo-cta__routes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hdt-fo-footer__bottom-inner,
	.hdt-fo-footer__identity {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	body.admin-bar .hdt-fo-header {
		top: 46px;
	}

	body.admin-bar .hdt-fo-mobile-menu {
		top: 114px;
	}

	.hdt-shell {
		width: calc(100% - 40px);
	}

	.hdt-home-hero__slides {
		aspect-ratio: 2560 / 1182;
	}

	.hdt-home-hero__slide,
	.hdt-home-hero__slide.is-prev,
	.hdt-home-hero__slide.is-next {
		left: 0;
		width: 100%;
		opacity: 0;
		transform: none;
	}

	.hdt-home-hero__slide.is-active {
		opacity: 1;
	}

	.hdt-home-hero__controls .hdt-carousel-button {
		display: none;
	}

	.hdt-home-hero__controls .hdt-carousel-dots {
		position: absolute;
		right: 8px;
		bottom: 0;
		display: flex;
		gap: 0;
		pointer-events: auto;
	}

	.hdt-home-hero__controls .hdt-carousel-dot {
		position: relative;
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.hdt-home-hero__controls .hdt-carousel-dot::before {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: rgba(255, 255, 255, .75);
		content: "";
		transform: translate(-50%, -50%);
	}

	.hdt-home-hero__controls .hdt-carousel-dot.is-active::before {
		background: var(--hdt-fo-green);
	}

	.hdt-fo-pickup {
		padding: 36px 0 44px;
	}

	.hdt-fo-pickup h2 {
		margin-bottom: 24px;
		font-size: 1rem;
	}

	.hdt-fo-pickup__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 14px;
	}

	.hdt-fo-pickup__item span {
		min-height: 36px;
		padding: 6px 8px;
		font-size: .68rem;
	}

	.hdt-fo-section-title p {
		margin-bottom: 12px;
		font-size: 2.7rem;
	}

	.hdt-fo-section-title h2 {
		font-size: .9rem;
	}

	.hdt-fo-about__visual {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.hdt-fo-about__copy {
		padding: 64px 20px 74px;
	}

	.hdt-fo-about__statement {
		margin: 42px 0 28px !important;
		font-size: 1.4rem;
	}

	.hdt-fo-about__description {
		min-height: 0;
		margin-bottom: 32px !important;
		font-size: .92rem;
		line-height: 1.95;
	}

	.hdt-fo-button {
		width: 220px;
		height: 58px;
		min-height: 58px;
	}

	.hdt-fo-about__reasons {
		padding: 76px 0;
	}

	.hdt-fo-about__reasons > .hdt-shell > h3 {
		margin-bottom: 45px;
		font-size: 1.1rem;
	}

	.hdt-fo-reasons {
		grid-template-columns: 1fr;
	}

	.hdt-fo-reasons article {
		min-height: 0;
		padding: 38px 0;
	}

	.hdt-fo-reasons article + article {
		border-top: 1px solid var(--hdt-fo-line);
		border-left: 0;
	}

	.hdt-fo-reasons article:first-child {
		padding-top: 0;
	}

	.hdt-fo-reasons .hdt-fo-reason__visual {
		width: 120px;
		height: 120px;
		aspect-ratio: auto;
		margin-right: auto !important;
		margin-bottom: 22px !important;
		margin-left: auto !important;
	}

	.hdt-fo-reason__visual img {
		width: 68px;
		height: auto;
	}

	.hdt-fo-reasons span {
		position: static;
		margin-bottom: 15px;
		font-size: 4.25rem;
		transform: none;
	}

	.hdt-fo-reasons p {
		text-align: center;
	}

	.hdt-fo-products {
		padding: 78px 0;
	}

	.hdt-fo-products > .hdt-shell > .hdt-fo-section-title {
		min-height: 0;
		margin-bottom: 40px;
	}

	.hdt-fo-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px 14px;
	}

	.hdt-fo-product-card img {
		padding: 10px;
	}

	.hdt-fo-product-card h3 {
		display: block;
		min-height: 0;
		margin-top: 13px;
		padding: 0;
		font-size: .8rem;
		line-height: 1.45;
	}

	.hdt-fo-products__more {
		margin-top: 38px;
	}

	.hdt-fo-products__resources {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: 58px;
	}

	.hdt-fo-products__resources > a {
		grid-template-columns: 42% 58%;
		height: 170px;
		min-height: 170px;
		padding: 0;
		column-gap: 0;
	}

	.hdt-fo-products__resources figure {
		width: auto;
		height: auto;
		aspect-ratio: 165 / 105;
	}

	.hdt-fo-products__resources > a > div {
		padding: 20px;
	}

	.hdt-fo-products__resources h3 {
		margin-bottom: 10px;
		font-size: 1rem;
	}

	.hdt-fo-products__resources p {
		font-size: .76rem;
		line-height: 1.6;
	}

	.hdt-fo-news {
		padding: 74px 0 84px;
	}

	.hdt-fo-news__head {
		display: block;
		min-height: 0;
		margin-bottom: 38px;
	}

	.hdt-fo-news__filters {
		margin-top: 28px;
		padding-top: 0;
	}

	.hdt-fo-news__filters button {
		width: auto;
		height: 44px;
		min-width: 0;
		min-height: 44px;
		flex: 1 1 calc(50% - 5px);
		padding: 9px 13px;
		font-size: .75rem;
	}

	.hdt-fo-news__more {
		display: inline-block;
		margin-top: 22px;
	}

	.hdt-fo-news__list a {
		grid-template-columns: 95px minmax(0, 1fr);
		gap: 9px 14px;
		min-height: 0;
		padding: 20px 0;
	}

	.hdt-fo-news__list a:hover,
	.hdt-fo-news__list a:focus-visible {
		transform: none;
	}

	.hdt-fo-news__list a > span {
		width: auto;
		height: 30px;
		min-height: 30px;
		font-size: .72rem;
	}

	.hdt-fo-news__list strong {
		grid-column: 1 / -1;
		margin-left: 0;
		font-size: .9rem;
	}

	.hdt-fo-links {
		min-height: 0;
		padding: 78px 0 84px;
	}

	.hdt-fo-links__grid {
		grid-template-columns: 1fr;
		gap: 58px;
	}

	.hdt-fo-links__grid .hdt-fo-section-title {
		margin-bottom: 22px;
	}

	.hdt-fo-cta {
		min-height: 0;
		padding: 76px 0 82px;
	}

	.hdt-fo-cta__copy {
		margin-bottom: 38px !important;
		font-size: 1.05rem;
		line-height: 1.8;
	}

	.hdt-fo-cta__routes {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.hdt-fo-cta__routes a {
		height: auto;
		min-height: 154px;
		row-gap: 17px;
		padding: 18px 13px;
	}

	.hdt-fo-cta__icon {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
	}

	.hdt-fo-cta__routes a > span:last-child {
		height: 44px;
		min-height: 44px;
		font-size: .82rem;
	}

	.hdt-fo-footer__menu {
		display: none;
	}

	.hdt-fo-footer__bottom {
		padding: 40px 0 42px;
	}

	.hdt-fo-footer__bottom-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding: 0;
	}

	.hdt-fo-footer__identity {
		display: block;
	}

	.hdt-fo-footer__identity .custom-logo-link {
		width: 210px;
		margin-bottom: 16px;
	}

	.hdt-fo-footer__identity .custom-logo {
		max-height: 50px;
	}

	.hdt-fo-footer__identity p,
	.hdt-fo-footer__identity address {
		font-size: 10.5px;
		line-height: 1.45;
	}

	.hdt-fo-footer__meta {
		width: 100%;
		align-items: center;
		justify-content: space-between;
		flex-direction: row;
		gap: 16px;
		margin: 20px 0 0;
	}

	.hdt-fo-footer__meta > a {
		font-size: 11px;
	}
}

/* 我的帳號：移除 WooCommerce 導覽清單預設左側縮排。 */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation > ul {
	padding-left: 0 !important;
	padding-inline-start: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul {
	margin: 0 !important;
	list-style: none;
}

/* 我的帳號空狀態：桌機水平排列，手機改為圖示／文字／按鈕垂直置中。 */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info {
	position: relative;
	display: flex !important;
	min-height: 112px;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 28px 32px 28px 72px !important;
	text-align: left;
}

.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info::before {
	top: 50%;
	left: 28px;
	margin: 0;
	transform: translateY(-50%);
}

.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .button {
	display: inline-flex;
	min-width: 160px;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	float: none !important;
	margin: 0 0 0 auto !important;
	padding: 12px 24px !important;
	text-align: center;
}

@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info {
		min-height: 188px;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 18px;
		padding: 66px 20px 24px !important;
		text-align: center;
	}

	.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info::before {
		top: 24px;
		left: 50%;
		transform: translateX(-50%);
	}

	.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .button {
		width: min(180px, 100%);
		min-width: 0;
		margin: 0 !important;
	}
}

/* 結帳頁：物流與付款方式 radio 對齊第一行文字中心，避免與 label 黏合。 */
.woocommerce-checkout .woocommerce ul#shipping_method li {
	display: grid !important;
	grid-template-columns: 16px minmax(0, 1fr);
	align-items: start;
	column-gap: 10px;
	padding: 4px 0 !important;
}

.woocommerce-checkout .woocommerce ul#shipping_method li input.shipping_method {
	position: static !important;
	display: block;
	grid-column: 1;
	grid-row: 1;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px;
	margin: 3px 0 0 !important;
	accent-color: #397cac;
}

.woocommerce-checkout .woocommerce ul#shipping_method li label {
	display: block;
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 22px;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
	display: grid !important;
	grid-template-columns: 16px minmax(0, 1fr);
	align-items: start;
	column-gap: 10px;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input.input-radio {
	position: static !important;
	display: block;
	grid-column: 1;
	grid-row: 1;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px;
	margin: 3px 0 0 !important;
	accent-color: #397cac;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
	display: flex !important;
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 22px;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > .payment_box {
	grid-column: 1 / -1;
	grid-row: 2;
	width: 100%;
	margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
