body.ast-desktop #masthead .main-header-menu .sub-menu {
	background: var(--ast-global-color-5, #ffffff) !important;
	border: 0 !important;
	box-shadow: 0 14px 35px rgba(20, 30, 47, 0.16) !important;
}
body.ast-desktop #masthead .main-header-menu > .kepuke-menu-products-dropdown > .sub-menu {
	min-width: max-content !important;
	width: max-content !important;
}
body.ast-desktop #masthead .main-header-menu > .kepuke-menu-products-dropdown > .sub-menu .menu-link {
	white-space: nowrap !important;
}
body.ast-desktop #masthead .main-header-menu > .kepuke-menu-blog-dropdown > .sub-menu {
	min-width: 260px !important;
	width: 260px !important;
}
body.ast-desktop #masthead .main-header-menu > .kepuke-menu-blog-dropdown > .sub-menu .menu-link {
	white-space: normal !important;
}
body.ast-desktop #masthead .main-header-menu .sub-menu .menu-item,
body.ast-desktop #masthead .main-header-menu .sub-menu .menu-link {
	background: var(--ast-global-color-5, #ffffff) !important;
	color: var(--ast-global-color-2, #212d45) !important;
}
body.ast-desktop #masthead .main-header-menu .sub-menu .menu-link:hover,
body.ast-desktop #masthead .main-header-menu .sub-menu .focus > .menu-link,
body.ast-desktop #masthead .main-header-menu .sub-menu .current-menu-item > .menu-link {
	background: #f7f8fa !important;
	color: var(--ast-global-color-0, #ffc03d) !important;
}
body:not(.home) .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
	background: transparent !important;
}
body:not(.home) #masthead,
body:not(.home) #ast-desktop-header,
body:not(.home) .ast-above-header-wrap,
body:not(.home) .ast-below-header-wrap,
body:not(.home) .ast-below-header,
body:not(.home) .ast-below-header-bar,
body:not(.home) .site-above-header-wrap,
body:not(.home) .site-primary-header-wrap,
body:not(.home) .site-below-header-wrap,
body:not(.home) .ast-builder-menu,
body:not(.home) .main-header-menu {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}
body:not(.home) #masthead .ast-above-header-bar,
body:not(.home) #masthead .main-header-bar,
body:not(.home) #masthead .ast-below-header-bar {
	border: 0 !important;
}
body:not(.home) #masthead .ast-primary-header-bar {
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}
body:not(.home) #masthead .main-header-menu > .menu-item > .menu-link {
	background: transparent !important;
	color: var(--ast-global-color-5, #ffffff) !important;
}
body:not(.home) #masthead .main-header-menu > .current-menu-item > .menu-link,
body:not(.home) #masthead .main-header-menu > .current-menu-ancestor > .menu-link,
body:not(.home) #masthead .main-header-menu > .menu-item > .menu-link:hover {
	color: var(--ast-global-color-0, #ffc03d) !important;
}
body:not(.home) #masthead .site-logo-img img {
	width: 195px !important;
	max-width: 195px !important;
	height: auto !important;
}
body:not(.home) #masthead .ast-custom-button {
	background: var(--ast-global-color-0, #ffc03d) !important;
	color: var(--ast-global-color-2, #212d45) !important;
}
body:not(.home) .entry-content > .spectra-is-root-container:first-child,
body:not(.home) .entry-content > .wp-block-uagb-container:first-child,
body:not(.home) .woocommerce-products-header [data-spectra-id="page-header-products"],
body:not(.home) .kepuke-product-header {
	box-sizing: border-box;
	min-height: 476px;
	padding: 200px 24px 70px !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
}
body:not(.home) .entry-content > .spectra-is-root-container:first-child > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body:not(.home) .entry-content > .wp-block-uagb-container:first-child > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body:not(.home) .woocommerce-products-header [data-spectra-id="page-header-products"] > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body:not(.home) .kepuke-product-header__inner {
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
body:not(.home) .entry-content > .spectra-is-root-container:first-child h1,
body:not(.home) .entry-content > .wp-block-uagb-container:first-child h1,
body:not(.home) .woocommerce-products-header [data-spectra-id="page-header-products"] h1,
body:not(.home) .kepuke-product-header h1 {
	margin: 0;
	color: var(--ast-global-color-5, #ffffff) !important;
	font-size: 76px;
	line-height: 1.1;
	text-align: center;
}
@media (max-width: 921px) {
	body:not(.home) .entry-content > .spectra-is-root-container:first-child,
	body:not(.home) .entry-content > .wp-block-uagb-container:first-child,
	body:not(.home) .woocommerce-products-header [data-spectra-id="page-header-products"],
	body:not(.home) .kepuke-product-header {
		min-height: 400px;
		padding-top: 150px !important;
		padding-bottom: 70px !important;
	}
}
@media (max-width: 544px) {
	body:not(.home) .entry-content > .spectra-is-root-container:first-child,
	body:not(.home) .entry-content > .wp-block-uagb-container:first-child,
	body:not(.home) .woocommerce-products-header [data-spectra-id="page-header-products"],
	body:not(.home) .kepuke-product-header {
		min-height: 300px;
		padding-top: 110px !important;
		padding-bottom: 50px !important;
	}
}
@media print {
	@page {
		size: A4;
		margin: 10mm;
	}
}

/* 移动菜单展开后使用白底深色文字，并保留子菜单与键盘焦点样式。 */
.ast-header-break-point :is(#ast-mobile-header .ast-mobile-header-content, .ast-mobile-popup-drawer .ast-mobile-popup-content) .main-header-menu,
.ast-header-break-point :is(#ast-mobile-header .ast-mobile-header-content, .ast-mobile-popup-drawer .ast-mobile-popup-content) .main-header-menu .sub-menu {
	background-color: #fff !important;
}
.ast-header-break-point :is(#ast-mobile-header .ast-mobile-header-content, .ast-mobile-popup-drawer .ast-mobile-popup-content) .main-header-menu .menu-item > :is(.menu-link, .ast-menu-toggle) {
	background-color: transparent !important;
	color: #212d45 !important;
}
.ast-header-break-point :is(#ast-mobile-header .ast-mobile-header-content, .ast-mobile-popup-drawer .ast-mobile-popup-content) .main-header-menu :is(.current-menu-item, .current-menu-ancestor, .ast-submenu-expanded) > .menu-link,
.ast-header-break-point :is(#ast-mobile-header .ast-mobile-header-content, .ast-mobile-popup-drawer .ast-mobile-popup-content) .main-header-menu .menu-item > :is(.menu-link, .ast-menu-toggle):is(:hover, :active, :focus-visible) {
	background-color: #fff4d8 !important;
	color: #212d45 !important;
}
.ast-header-break-point :is(#ast-mobile-header .ast-mobile-header-content, .ast-mobile-popup-drawer .ast-mobile-popup-content) .main-header-menu .menu-item > :is(.menu-link, .ast-menu-toggle):focus-visible {
	outline: 2px solid #212d45;
	outline-offset: -2px;
}

/* 购物车抽屉打开时和打印时隐藏 Astra 的回到顶部按钮。 */
body.kepuke-cart-drawer-open #ast-scroll-top {
	display: none !important;
}

#ast-scroll-top:focus-visible {
	outline: 2px solid #132238;
	outline-offset: 3px;
}

@media print {
	#ast-scroll-top {
		display: none !important;
	}
}

/* 保留 Astra 页眉联系方式的排列、字号继承和焦点样式。 */
.ast-header-html-1 .kepuke-header-contacts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; font-family: "Montserrat", sans-serif; font-weight: 700; }
.ast-header-html-1 .kepuke-header-contacts a { display: inline-flex; align-items: center; gap: 7px; color: inherit; font: inherit; white-space: nowrap; text-decoration: none; }
.ast-header-html-1 .kepuke-header-contacts svg { display: block; width: 18px; height: 18px; flex: none; fill: currentColor; }
.ast-header-html-1 .kepuke-header-contacts a:hover { color: #fff; }
.ast-header-html-1 .kepuke-header-contacts a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
