/* =========================================================
   FMG funnel — bagersome 全链路还原样式
   依据 /tmp/funnel/spec-*.md（Journal3 实测真值）
   ========================================================= */

/* ---------- A. 全站 token / 字体 ---------- */

:root {
	--fmg-ink: #000000;
	--fmg-body: #29292B;
	--fmg-fg1: #1C2021;
	--fmg-fg2: #5A5E60;
	--fmg-fg3: #6E7275;
	--fmg-muted: #727684;
	--fmg-line: #DDDDDD;
	--fmg-table-line: #E1E1E1;
	--fmg-input-line: #D4D3D8;
	--fmg-paper: #F8F9FA;
	--fmg-link: #337AB7;
	--fmg-red: #D01E24;
	--fmg-hover-yellow: #FFD600;
}

@font-face {
	font-family: 'fmg-icomoon';
	src: url('../assets/fonts/icomoon.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

body,
.fmg-site-header,
.fmg-home-shell,
.fmg-top-marquee,
.fmg-j3-footer,
.fmg-quick-checkout,
.fmg-cart-page,
button,
input,
select,
textarea {
	font-family: 'Jost', sans-serif;
}

body {
	color: var(--fmg-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

/* 大标题体系（SHOPPING CART / QUICK CHECKOUT / NEW） */
.fmg-page-title {
	margin: 0 !important;
	padding: 42px 0 40px;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: -1px;
	word-spacing: 1px;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	background: transparent;
}

@media (max-width: 760px) {
	.fmg-page-title {
		padding: 20px 0 30px;
		font-size: 24px;
	}
}

/* 黑色标准按钮 */
.fmg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 15px;
	border: 1px solid #000;
	border-radius: 4px;
	background: #000;
	color: #fff !important;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none;
	transition: all .2s ease;
}

.fmg-btn:hover {
	background: #fff;
	color: #000 !important;
}

/* 黑色胶囊 CTA */
.fmg-btn-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 40px;
	border: 1px solid #000;
	border-radius: 30px;
	background: #000;
	color: #fff !important;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: all .2s ease;
}

.fmg-btn-pill:hover {
	background: #fff;
	color: #000 !important;
}

/* 表单控件 */
.fmg-quick-checkout input.input-text,
.fmg-quick-checkout select,
.fmg-quick-checkout textarea,
.fmg-login-form input,
.fmg-cvr-input-group input {
	min-height: 40px;
	padding: 5px 12px;
	border: 1px solid var(--fmg-input-line) !important;
	border-radius: 4px !important;
	background: #fff !important;
	color: #000;
	font-family: 'Jost', sans-serif !important;
	font-weight: 300 !important;
	font-size: 14px;
	box-shadow: none !important;
}

.fmg-quick-checkout input.input-text:hover,
.fmg-quick-checkout input.input-text:focus,
.fmg-quick-checkout select:hover,
.fmg-quick-checkout select:focus,
.fmg-quick-checkout textarea:hover,
.fmg-quick-checkout textarea:focus,
.fmg-login-form input:hover,
.fmg-login-form input:focus,
.fmg-cvr-input-group input:hover,
.fmg-cvr-input-group input:focus {
	border-color: #000 !important;
	outline: none;
}

.fmg-quick-checkout ::placeholder,
.fmg-cvr-input-group ::placeholder {
	color: #54595D;
	opacity: 1;
}

input[type="radio"],
input[type="checkbox"] {
	min-width: 16px;
	min-height: 16px;
}

/* ---------- B. 顶部 marquee / benefits 条 / header ---------- */

.fmg-top-marquee {
	background: #000;
	text-transform: none;
	font-size: 14px;
}

.fmg-top-marquee div {
	animation-duration: 300s;
}

.fmg-top-marquee span {
	gap: 20px;
	padding: 0 10px;
}

.fmg-top-marquee span::before {
	width: 5px;
	height: 5px;
}

.fmg-benefits-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	height: 40px;
	background: var(--fmg-paper);
}

.fmg-benefits-bar a {
	padding: 0 10px;
	color: #000;
	font-size: 12px;
	font-family: 'Jost', sans-serif;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.fmg-benefits-bar a:hover {
	color: #000;
	text-decoration: underline;
	text-decoration-color: var(--fmg-hover-yellow);
	text-decoration-thickness: 2px;
}

.fmg-benefits-sep {
	color: #999;
	font-size: 12px;
	padding: 0 18px;
}

@media (max-width: 1024px) {
	.fmg-benefits-bar {
		display: none;
	}
}

/* 导航：Jost 300、SALE 700、hover 底边框 */
.fmg-header-nav a {
	position: relative;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 300;
	letter-spacing: .5px;
	border-bottom: 4px solid transparent;
	line-height: 39px;
}

.fmg-header-nav a:hover {
	color: #000;
	border-bottom-color: #000;
}

.fmg-header-nav a.fmg-nav-sale {
	font-weight: 700;
}

/* header 图标显隐：桌面=账号/搜索/购物袋，移动=汉堡+账号 | 心愿+购物袋 */
@media (min-width: 1025px) {
	.fmg-wishlist-button {
		display: none;
	}
}

@media (max-width: 1024px) {
	.fmg-header-tools--right .fmg-account-button,
	.fmg-header-tools--right .fmg-search-toggle {
		display: none;
	}
}

/* 购物袋角标（桌面无底色黑字，移动浅米灰圆底） */
.fmg-cart-button {
	overflow: visible;
}

.fmg-cart-count {
	position: absolute;
	top: -7px;
	right: -9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 17px;
	height: 17px;
	padding: 0 3px;
	border-radius: 20px;
	color: #000;
	font-size: 10px;
	font-weight: 400;
	line-height: 1;
}

.fmg-cart-count.fmg-count-zero {
	display: none !important;
}

@media (max-width: 1024px) {
	.fmg-cart-count {
		background: #E3DFDA;
		color: #111113;
		font-weight: 700;
		min-width: 18px;
		height: 18px;
	}
}

/* 移动搜索条：All ▾ + 斜体 placeholder */
.fmg-header-search {
	position: relative;
	gap: 0;
}

.fmg-header-search .fmg-search-all {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 10px 0 14px;
	border: 1px solid #e4e4e4;
	border-right: 0;
	border-radius: 19px 0 0 19px;
	background: #fff;
	color: #000;
	font-size: 13px;
	white-space: nowrap;
}

.fmg-header-search .fmg-search-all::after {
	content: "▾";
	margin-left: 5px;
	font-size: 11px;
}

.fmg-header-search input[type="search"] {
	height: 38px;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	font-size: 14px;
	font-style: italic;
	font-family: 'Jost', sans-serif;
}

.fmg-header-search button {
	width: 48px;
	height: 38px;
	border-radius: 0 19px 19px 0;
}

/* FIRST TIME CUSTOMERS 细条 */
.fmg-first-time-strip {
	padding: 14px 10px;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #f3f3f3;
	color: #000;
	font-size: 13px;
	letter-spacing: 2px;
	text-align: center;
	text-transform: uppercase;
}

.fmg-first-time-strip b {
	font-weight: 700;
}

.fmg-first-time-strip u {
	text-underline-offset: 3px;
}

/* ---------- C. 页脚（浅色版） ---------- */

.fmg-j3-footer {
	margin-top: 56px;
	border-top: 1px solid #000;
	background: var(--fmg-paper);
	color: #000;
}

.fmg-j3-footer__main {
	display: grid;
	grid-template-columns: 1.3fr 2fr;
	gap: clamp(24px, 5vw, 90px);
	max-width: 1320px;
	margin: 0 auto;
	padding: 50px 24px 30px;
}

.fmg-j3-footer__title {
	margin: 0 0 16px;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: .3px;
	text-transform: uppercase;
}

.fmg-j3-newsletter {
	display: flex;
	max-width: 460px;
	margin-bottom: 34px;
}

.fmg-j3-newsletter input {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0 14px;
	border: 1px solid #000;
	border-right: 0;
	border-radius: 0;
	background: #fff;
	font-family: 'Jost', sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #000;
}

.fmg-j3-newsletter input::placeholder {
	color: #54595D;
}

.fmg-j3-newsletter button {
	flex: 0 0 auto;
	height: 40px;
	padding: 0 24px;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	font-family: 'Jost', sans-serif;
	font-size: 15px;
	font-weight: 400;
	text-transform: uppercase;
	cursor: pointer;
}

.fmg-j3-newsletter button:hover {
	background: #fff;
	color: #000;
}

.fmg-j3-footer__callus {
	margin-top: 8px;
}

.fmg-j3-footer__phone {
	margin: 0 0 22px;
	color: #000;
	font-size: 14px;
	font-weight: 300;
}

.fmg-j3-social {
	display: flex;
	gap: 26px;
}

.fmg-j3-social a {
	color: #000;
	line-height: 1;
}

.fmg-j3-social a:hover {
	opacity: .6;
}

.fmg-j3-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 3vw, 48px);
}

.fmg-j3-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmg-j3-footer__links a {
	display: block;
	padding: 6px 0;
	color: #000;
	font-size: 14px;
	font-weight: 300;
}

.fmg-j3-footer__links a:hover {
	color: #000;
	text-decoration: underline;
}

.fmg-j3-acc-icon {
	display: none;
}

.fmg-j3-country {
	display: flex;
	justify-content: center;
	padding: 16px 24px 8px;
}

.fmg-j3-country__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 330px;
	height: 42px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	cursor: default;
}

.fmg-j3-country__caret {
	font-size: 10px;
}

.fmg-j3-footer__bottom {
	padding: 26px 24px 30px;
	text-align: center;
}

.fmg-j3-footer__brandmark img {
	width: 60px;
	height: auto;
	opacity: .85;
	margin-bottom: 14px;
}

.fmg-j3-footer__copy,
.fmg-j3-footer__copy2 {
	margin: 0 0 8px;
	color: #333;
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 1px;
}

@media (max-width: 1024px) {
	.fmg-j3-footer__main {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		padding-top: 36px;
	}

	.fmg-j3-newsletter {
		width: 100%;
		max-width: none;
	}

	.fmg-j3-footer__cols {
		grid-template-columns: 1fr;
		width: 100%;
		gap: 0;
	}

	.fmg-j3-footer__col {
		border-top: 1px solid #e5e5e5;
		text-align: left;
	}

	.fmg-j3-footer__col .fmg-j3-footer__title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0;
		padding: 16px 4px;
		font-size: 15px;
		text-transform: none;
		cursor: pointer;
	}

	.fmg-j3-acc-icon {
		display: inline-block;
	}

	.fmg-j3-acc-icon::before {
		content: "+";
		font-size: 18px;
		font-weight: 300;
	}

	.fmg-j3-footer__col.open .fmg-j3-acc-icon::before {
		content: "−";
	}

	.fmg-j3-footer__col .fmg-j3-footer__links {
		display: none;
		padding-bottom: 12px;
	}

	.fmg-j3-footer__col.open .fmg-j3-footer__links {
		display: block;
	}
}

/* 干掉旧的黑色页脚块与 WoodMart 残留 */
.fmg-footer-wrap,
.footer-container .copyrights-wrapper,
.wd-prefooter {
	display: none !important;
}

/* ---------- D. 分类页 ---------- */

/* 隐藏 WoodMart 页头横幅 / 面包屑 / 工具栏 / 默认分页与计数 */
.woodmart-archive-shop .page-title,
.tax-product_cat .page-title.page-title-default,
.post-type-archive-product .page-title,
.woocommerce-breadcrumb,
.wd-breadcrumbs,
.shop-loop-head,
.woocommerce-products-header,
.wd-shop-tools,
.woocommerce-result-count,
.woocommerce-ordering,
.products-footer .woocommerce-pagination,
.woocommerce-pagination,
.wd-cat-desc {
	display: none !important;
}

.fmg-category-desc {
	max-width: 620px;
	margin: 0 auto;
	padding: 20px 16px 5px;
	color: #000;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 1px;
	line-height: 1.5;
}

.fmg-products-filter {
	display: flex;
	align-items: center;
	max-width: 1500px;
	margin: 10px auto;
	padding: 0 24px;
}

.fmg-sort-group {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto;
	margin-right: 26px;
}

.fmg-sort-group label {
	margin: 0;
	color: #000;
	font-size: 15px;
	font-weight: 400;
}

.fmg-sort-select {
	height: 30px;
	padding: 2px 24px 2px 8px;
	border: 1px solid var(--fmg-input-line);
	border-radius: 4px;
	background: transparent;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 300;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%);
	background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
	background-size: 5px 6px;
	background-repeat: no-repeat;
	cursor: pointer;
}

.fmg-sort-select:hover,
.fmg-sort-select:focus {
	border-color: #000;
	outline: none;
}

@media (max-width: 1024px) {
	.fmg-products-filter {
		display: none;
	}
}

/* 产品卡：只留 图 / 品类标签 / 名称 / 价格 */
.wd-product .product-labels,
.wd-product .wd-product-brands-links,
.wd-product .wd-add-btn,
.wd-product .wd-buttons,
.wd-product .hover-img,
.wd-product .wd-product-card-hover,
.wd-product .quick-shop-wrapper,
.wd-product .star-rating,
.wd-product .add_to_cart_button,
.products .product .onsale {
	display: none !important;
}

.wd-product .wd-product-cats,
.wd-product .wd-product-cats a {
	color: #000;
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 2px;
	text-align: center;
	text-transform: none;
}

.wd-product .wd-entities-title,
.wd-product .wd-entities-title a {
	color: var(--fmg-body);
	font-family: 'Jost', sans-serif;
	font-size: 15px;
	font-weight: 400;
	text-align: center;
}

.wd-product .price {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	color: #333;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 400;
}

.wd-product .price del {
	color: #333;
	font-size: 13px;
	font-weight: 400;
	opacity: 1;
}

.wd-product .price ins {
	color: #333;
	font-weight: 400;
	text-decoration: none;
}

.wd-product .product-element-bottom {
	text-align: center;
}

@media (max-width: 1024px) {
	.wd-product .wd-product-cats {
		display: none;
	}

	.wd-product .price {
		font-size: 13px;
	}
}

/* 自定义分页行 */
.fmg-pagination-results {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 1500px;
	margin: 20px auto 0;
	padding: 10px 24px 30px;
	border-bottom: 1px solid var(--fmg-line);
	letter-spacing: 1px;
}

.fmg-pagination ul {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmg-pagination li {
	margin: 0;
}

.fmg-pagination a,
.fmg-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	padding: 3px;
	border: 0;
	background: transparent;
	color: var(--fmg-line);
	font-size: 16px;
	font-weight: 400;
}

.fmg-pagination span.current,
.fmg-pagination a:hover {
	color: #000;
	background: transparent;
}

.fmg-pagination a.next,
.fmg-pagination a.prev {
	color: #000;
}

.fmg-showing-results {
	color: #333;
	font-size: 16px;
}

@media (max-width: 760px) {
	.fmg-pagination-results {
		flex-direction: column;
		justify-content: center;
		gap: 10px;
	}
}

/* 分类页底部 4 链接 */
.fmg-cat-bottom-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 60px;
	padding: 13px 16px;
	background: #fff;
}

.fmg-cat-bottom-links a {
	color: #000;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.fmg-cat-bottom-links a:hover {
	color: var(--fmg-hover-yellow);
	text-decoration: underline;
}

@media (max-width: 760px) {
	.fmg-cat-bottom-links {
		gap: 18px;
	}
}

/* ---------- E. 产品页 ---------- */

/* 隐藏：评分/库存/分享/meta/上下篇导航/侧栏杂项 */
.single-product .product .star-rating,
.single-product .product .woocommerce-review-link,
.single-product .product .stock,
.single-product .product .product_meta,
.single-product .product .wd-social-icons,
.single-product .product .wd-wishlist-btn,
.single-product .product .wd-compare-btn,
.single-product .wd-nav-product,
.single-product .breadcrumbs,
.single-product .woocommerce-breadcrumb,
.single-product .wd-single-short-desc,
.single-product .product .woocommerce-product-details__short-description,
.single-product .wd-product-brands {
	display: none !important;
}

/* 标题 */
.single-product .product_title {
	padding: clamp(20px, 12vw, 200px) 20px 30px;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
}

@media (max-width: 760px) {
	.single-product .product_title {
		padding: 20px;
		font-size: 22px;
	}
}

/* 手风琴 */
.fmg-prod-accordions {
	margin: 0 0 18px;
}

.fmg-acc-panel {
	border-top: 1px solid var(--fmg-line);
}

.fmg-acc-head {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 20px 8px 5px;
	border: 0;
	background: transparent;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.1;
	text-align: left;
	cursor: pointer;
}

.fmg-acc-head:hover,
.fmg-acc-panel.open .fmg-acc-head {
	font-weight: 500;
}

.fmg-acc-sign {
	margin-left: auto;
	font-family: 'fmg-icomoon';
	font-size: 14px;
	line-height: 1;
}

.fmg-acc-sign::before {
	content: "\eba0";
}

.fmg-acc-panel.open .fmg-acc-sign::before {
	content: "\eb85";
}

.fmg-acc-body {
	padding: 10px 8px 20px;
}

.fmg-acc-content {
	color: #000;
	font-size: 15px;
	font-weight: 300;
	text-align: left;
}

.fmg-acc-content p,
.fmg-acc-content li {
	color: #000;
	font-size: 15px;
	font-weight: 300;
}

/* 价格 */
.single-product .product .summary .price,
.single-product .product .entry-summary .price {
	display: flex;
	align-items: center;
	margin-left: 40px;
	color: #000 !important;
	font-family: 'Jost', sans-serif;
	font-size: 24px !important;
	font-weight: 400 !important;
}

.single-product .product .summary .price del,
.single-product .product .entry-summary .price del {
	order: 2;
	margin-left: 10px;
	color: var(--fmg-muted) !important;
	font-size: 18px !important;
	font-weight: 400;
	opacity: 1;
}

.single-product .product .summary .price ins,
.single-product .product .entry-summary .price ins {
	order: 1;
	color: #000 !important;
	font-size: 28px !important;
	text-decoration: none;
}

@media (max-width: 900px) {
	.single-product .product .summary .price,
	.single-product .product .entry-summary .price {
		margin-left: 25px;
	}
}

/* Available Options */
.fmg-product-options {
	margin: 10px 0 0 40px;
	padding-bottom: 28px;
	max-width: 220px;
}

.fmg-options-title {
	margin: 10px 0;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 300;
	text-align: center;
}

.fmg-option-group {
	margin-bottom: 12px;
}

.fmg-option-label {
	display: block;
	margin-bottom: 4px;
	color: #000;
	font-size: 16px;
	font-weight: 400;
}

.fmg-required .fmg-option-label::after {
	content: "*";
	margin-left: 1px;
	color: #FF1300;
	font-weight: 300;
}

.fmg-option-select {
	width: 100%;
	height: 40px;
	padding: 5px 20px 5px 8px;
	border: 1px solid #000;
	border-radius: 4px;
	background: #fff;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 16px;
	font-weight: 300;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%);
	background-position: calc(100% - 12px) 55%, calc(100% - 5px) 55%;
	background-size: 7px 6px;
	background-repeat: no-repeat;
}

.fmg-option-select.fmg-has-error {
	border-color: var(--fmg-red);
}

@media (max-width: 900px) {
	.fmg-product-options {
		margin-left: 25px;
		padding-bottom: 0;
	}
}

/* 加购按钮区 */
.single-product .product form.cart {
	display: block;
}

.single-product .product form.cart .quantity,
.single-product .product form.cart .wd-quantity-overlap {
	display: none !important;
}

.single-product .product form.cart .single_add_to_cart_button {
	width: 100%;
	margin: 4px 0;
	padding: 15px 60px;
	border: 1px solid #000;
	border-radius: 30px;
	background: #000;
	color: #fff;
	font-family: 'Jost', sans-serif;
	font-size: 18px !important;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: uppercase;
	transition: all .2s ease;
	height: auto;
	min-height: 50px;
}

.single-product .product form.cart .single_add_to_cart_button:hover {
	background: #fff;
	color: #000;
}

/* Model 行 */
.fmg-product-stats {
	margin: 15px 0 0 40px;
	padding: 0;
	list-style: none;
}

.fmg-product-model {
	color: #000;
	font-size: 13px;
}

.fmg-product-model::before {
	content: "\e93f";
	margin-right: 6px;
	font-family: 'fmg-icomoon';
	font-size: 10px;
}

.fmg-product-model b {
	font-weight: 700;
}

.fmg-product-model span {
	font-weight: 300;
}

@media (max-width: 900px) {
	.fmg-product-stats {
		margin-left: 25px;
	}
}

/* 信任徽章：移动端专属 */
.fmg-trust-badge {
	display: none;
}

@media (max-width: 1024px) {
	.fmg-trust-badge {
		display: block;
		margin: 10px 0;
	}

	.fmg-trust-badge img {
		width: 100%;
		height: auto;
	}

	/* 移动端只把加购按钮钉在底部（选项留在正常文档流，对齐 bagersome） */
	.single-product .product form.cart .single_add_to_cart_button {
		position: fixed;
		left: 8px;
		right: 8px;
		bottom: 8px;
		z-index: 99;
		width: auto;
		margin: 0;
		box-shadow: 0 0 0 8px #fff, 0 -4px 16px 8px rgba(0, 0, 0, .06);
	}

	body.single-product {
		padding-bottom: 78px !important;
	}
}

/* 产品页底部双 Tab */
.fmg-bottom-tabs {
	max-width: 1500px;
	margin: 40px auto 30px;
	padding: 0 24px;
}

.fmg-tabs-nav {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 1px solid var(--fmg-line);
	list-style: none;
}

.fmg-tabs-nav li {
	margin: 0 0 -1px;
	border-bottom: 3px solid transparent;
}

.fmg-tabs-nav li.active {
	border-bottom-color: #000;
}

.fmg-tabs-nav a {
	display: inline-block;
	padding: 10px 5px 12px;
	color: var(--fmg-body);
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
}

.fmg-tabs-nav li.active a,
.fmg-tabs-nav a:hover {
	color: var(--fmg-body);
	font-weight: 500;
}

.fmg-tab-pane {
	display: none;
}

.fmg-tab-pane.active {
	display: block;
}

.fmg-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}

@media (max-width: 1024px) {
	.fmg-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.fmg-mini-card {
	display: block;
	color: #000;
	text-align: center;
}

.fmg-mini-card__image {
	position: relative;
	display: block;
	overflow: hidden;
}

.fmg-mini-card__image img {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity .2s ease;
}

.fmg-mini-card__image .fmg-card-img-second {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
}

.fmg-mini-card.has-second:hover .fmg-card-img-first {
	visibility: hidden;
}

.fmg-mini-card.has-second:hover .fmg-card-img-second {
	opacity: 1;
	visibility: visible;
}

.fmg-mini-card__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 10px;
	color: #000;
	font-size: 13px;
	font-weight: 300;
	letter-spacing: .4px;
	line-height: 1.3;
}

.fmg-mini-card__price {
	display: block;
	margin-top: 2px;
	color: #000;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: .4px;
}

.fmg-mini-card__price del {
	color: #000;
	font-size: 13px;
	font-weight: 300;
	margin-right: 5px;
	opacity: 1;
}

.fmg-mini-card__price ins {
	text-decoration: none;
}

.fmg-tab-empty {
	text-align: center;
	color: var(--fmg-fg2);
}

/* ---------- F. 加购通知（Journal3 右上 toast） ---------- */

.fmg-notification-wrapper {
	position: fixed;
	inset: 0;
	z-index: 15000;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	pointer-events: none;
}

.fmg-notification {
	max-width: 400px;
	width: calc(100vw - 40px);
	margin: 20px 20px 0;
	padding: 20px;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, .25);
	pointer-events: auto;
	animation: fmg-fade-in .25s ease-out;
	transition: all .3s ease-out;
}

@keyframes fmg-fade-in {
	from {
		opacity: 0;
		transform: translate3d(0, -5px, 0) scale(.95);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.fmg-notification.fade-out {
	opacity: 0;
	margin: 0;
	visibility: hidden;
	pointer-events: none;
}

.fmg-notification-content {
	display: flex;
	align-items: flex-start;
}

.fmg-notification-content img {
	width: 80px;
	height: 80px;
	margin: 0 10px 10px 0;
	object-fit: cover;
}

.fmg-notification-title {
	margin-bottom: 5px;
	color: #333;
	font-size: 16px;
	font-weight: 600;
}

.fmg-notification-text {
	color: #333;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.fmg-notification-text a {
	color: var(--fmg-link);
	text-decoration: none;
}

.fmg-notification-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
}

.fmg-notification-buttons .fmg-btn-pill {
	flex-grow: 1;
}

.fmg-notification-buttons .fmg-btn-pill::before {
	content: "\eaa0";
	margin-right: 5px;
	font-family: 'fmg-icomoon';
	font-size: 11px;
}

/* ---------- G. 购物车页 ---------- */

/* WoodMart 页头横幅（cart/checkout/account 等内页）整体隐藏 */
body.woocommerce-cart .page-title,
body.woocommerce-checkout .page-title,
body.woocommerce-cart .wd-page-title,
body.woocommerce-checkout .wd-page-title,
.wd-checkout-steps {
	display: none !important;
}

.fmg-cart-page {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 24px 40px;
}

.fmg-cart-table {
	flex: 1 1 calc(100% - 33% - 32px);
	min-width: 0;
}

.fmg-cart-bottom {
	flex: 0 0 calc(33% - 16px);
	position: sticky;
	top: 100px;
}

@media (max-width: 1024px) {
	.fmg-cart-table,
	.fmg-cart-bottom {
		flex-basis: 100%;
		position: static;
	}
}

/* 表格 */
.fmg-table-responsive {
	border: 1px solid rgba(28, 32, 33, .12);
	margin-bottom: 16px;
	overflow-x: auto;
}

.fmg-table-responsive.table-scroll::before {
	content: "Scroll →";
	display: block;
	padding: 2px 6px;
	border-bottom: 1px solid rgba(28, 32, 33, .12);
	background: #EBEBF0;
	color: var(--fmg-fg1);
	font-size: 16px;
	text-align: center;
}

table.fmg-table {
	width: 100%;
	margin: 0;
	border: 1px solid var(--fmg-table-line);
	border-collapse: collapse;
	background: #fff;
}

table.fmg-table td {
	padding: 8px 14px;
	border: 1px solid var(--fmg-table-line);
	vertical-align: middle;
	min-width: 90px;
	font-size: 14px;
}

table.fmg-table thead td {
	color: var(--fmg-fg2);
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
}

table.fmg-table thead td.fmg-td-name {
	text-align: left;
}

table.fmg-table .fmg-td-name {
	min-width: 175px;
	text-align: left;
}

table.fmg-table .fmg-td-image,
table.fmg-table .fmg-td-model,
table.fmg-table .fmg-td-qty,
table.fmg-table .fmg-td-price,
table.fmg-table .fmg-td-total {
	text-align: center;
}

table.fmg-table .fmg-td-image img {
	display: inline-block;
	max-width: 200px;
	width: 100%;
	height: auto;
}

table.fmg-table .fmg-td-name a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 4px;
	color: var(--fmg-fg1);
	font-size: 14px;
}

table.fmg-table .fmg-td-name a:hover {
	color: var(--fmg-link);
}

table.fmg-table .fmg-td-name .variation,
table.fmg-table .fmg-td-name dl {
	display: block;
	margin: 3px 0 0;
	color: var(--fmg-fg2);
	font-size: 11.9px;
}

table.fmg-table .fmg-td-name dl dt,
table.fmg-table .fmg-td-name dl dd {
	display: inline;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

table.fmg-table .fmg-td-name dl dd p {
	display: inline;
	margin: 0;
	font-size: 11.9px;
}

table.fmg-table .fmg-td-model {
	color: var(--fmg-fg3);
}

table.fmg-table .fmg-td-price {
	color: var(--fmg-fg2);
	line-height: 1;
}

table.fmg-table .fmg-td-total {
	color: var(--fmg-fg1);
	line-height: 1;
}

/* 数量 stepper */
.fmg-qty-group {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.fmg-stepper {
	position: relative;
	display: inline-flex;
	width: 56px;
	height: 35px;
	border: 1px solid #000;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.fmg-stepper input {
	width: calc(100% - 20px);
	height: 100%;
	padding: 0;
	border: 0 !important;
	background: #fff !important;
	color: var(--fmg-fg2);
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 300;
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
}

.fmg-stepper input::-webkit-outer-spin-button,
.fmg-stepper input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.fmg-stepper .fmg-step-up,
.fmg-stepper .fmg-step-down {
	position: absolute;
	right: 0;
	width: 20px;
	height: 50%;
	border: 0;
	background: #F5F5F5;
	cursor: pointer;
	font-size: 0;
	padding: 0;
}

.fmg-stepper .fmg-step-up {
	top: 0;
}

.fmg-stepper .fmg-step-down {
	bottom: 0;
}

.fmg-stepper .fmg-step-up::before,
.fmg-stepper .fmg-step-down::before {
	font-family: 'fmg-icomoon';
	font-size: 13px;
	color: #000;
}

.fmg-stepper .fmg-step-up::before {
	content: "\f106";
}

.fmg-stepper .fmg-step-down::before {
	content: "\f107";
}

.fmg-stepper .fmg-step-up:hover,
.fmg-stepper .fmg-step-down:hover {
	background: #E8E8E8;
}

/* 黑圆更新/删除 */
.fmg-qty-actions {
	display: flex;
	gap: 8px;
}

.fmg-btn-round {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #000;
	border-radius: 99px;
	background: #000;
	color: #fff;
	cursor: pointer;
	font-size: 0;
	transition: all .2s ease;
}

.fmg-btn-round::before {
	font-family: 'fmg-icomoon';
	color: #F7F7F7;
}

.fmg-btn-update::before {
	content: "\e976";
	font-size: 14px;
}

.fmg-btn-remove::before {
	content: "\e981";
	font-size: 16px;
}

.fmg-btn-round:hover {
	background: #fff;
}

.fmg-btn-round:hover::before {
	color: #000;
}

/* 汇总框 */
.fmg-cart-totals {
	border: 1px solid #EEEEEE;
	padding: 20px;
	background: #fff;
}

.fmg-totals-table-wrap {
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}

.fmg-totals-table {
	width: 100%;
	border: 1px solid var(--fmg-table-line);
	border-collapse: collapse;
	background: #fff;
}

.fmg-totals-table td {
	padding: 14px;
	border: 1px solid var(--fmg-table-line);
	color: var(--fmg-fg2);
	font-size: 14px;
	line-height: 1.4;
	text-align: right;
}

.fmg-totals-table td strong {
	font-weight: 700;
}

.fmg-totals-table td.fmg-totals-amount {
	width: 35%;
	min-width: 130px;
	white-space: nowrap;
	color: var(--fmg-fg1);
}

.fmg-cart-buttons {
	display: flex;
	margin: 30px 0 10px;
}

.fmg-btn-checkout {
	width: 100%;
}

/* 空购物车 */
.fmg-empty-cart {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 24px 60px;
}

.fmg-empty-text {
	margin: 0 0 30px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #333 !important;
	font-size: 16px;
	text-align: left;
}

.fmg-empty-text::before {
	display: none !important;
}

.fmg-btn-continue {
	width: 100%;
}

/* ---------- H. 结算页 QUICK CHECKOUT ---------- */

.fmg-quick-checkout {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 24px 40px;
}

.fmg-qc-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0;
}

.fmg-qc-left {
	width: 33%;
}

.fmg-qc-right {
	width: 67%;
	padding-inline-start: 20px;
	display: flex;
	flex-direction: column;
}

@media (max-width: 1024px) {
	.fmg-qc-left,
	.fmg-qc-right {
		width: 100%;
		padding-inline-start: 0;
	}
}

.fmg-co-section {
	margin-bottom: 20px;
	padding: 15px;
	background: #fff;
}

.fmg-section-title {
	margin: 0 0 10px;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 18px;
	font-weight: 400;
	text-align: start;
	text-transform: none;
	border: 0;
}

.fmg-section-title::after {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	margin-top: 8px;
	background: #000;
}

.fmg-section-cvr .fmg-section-title {
	text-transform: uppercase;
}

/* row1：Shipping 40% + Payment 60% */
.fmg-qc-row1 {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fmg-qc-row1 .fmg-section-shipping {
	flex: 1 1 calc(40% - 6px);
	min-width: 240px;
}

.fmg-qc-row1 #payment {
	flex: 1 1 calc(60% - 6px);
	min-width: 280px;
	padding-left: 20px;
}

@media (max-width: 1024px) {
	.fmg-qc-row1 #payment {
		padding-left: 15px;
	}
}

/* 表单组：label 左 25% + input 右 */
.fmg-quick-checkout .fmg-form-group,
.fmg-quick-checkout p.form-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
}

.fmg-quick-checkout .fmg-form-group > label,
.fmg-quick-checkout p.form-row > label {
	flex: 0 0 25%;
	max-width: 25%;
	margin: 0;
	color: var(--fmg-fg2);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

.fmg-quick-checkout .fmg-form-group .woocommerce-input-wrapper,
.fmg-quick-checkout p.form-row .woocommerce-input-wrapper {
	flex: 1 1 0;
	min-width: 0;
}

.fmg-quick-checkout .woocommerce-input-wrapper input,
.fmg-quick-checkout .woocommerce-input-wrapper select,
.fmg-quick-checkout .woocommerce-input-wrapper textarea {
	width: 100%;
}

.fmg-quick-checkout abbr.required {
	color: #B42127;
	font-size: 18px;
	text-decoration: none;
	border: 0;
}

.fmg-quick-checkout .optional {
	display: none;
}

@media (max-width: 1024px) {
	.fmg-quick-checkout .fmg-form-group > label,
	.fmg-quick-checkout p.form-row > label {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* select2 对齐原生样式 */
.fmg-quick-checkout .select2-container .select2-selection--single {
	height: 40px;
	border: 1px solid var(--fmg-input-line);
	border-radius: 4px;
}

.fmg-quick-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 38px;
	font-family: 'Jost', sans-serif;
	font-weight: 300;
	color: #000;
}

.fmg-quick-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	height: 38px;
}

/* Login or Register */
.fmg-login-options {
	display: flex;
	gap: 24px;
	margin-bottom: 10px;
}

.fmg-radio-inline {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	color: #000;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
}

.fmg-login-form {
	margin-top: 10px;
}

.fmg-login-form .fmg-form-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
}

.fmg-login-form label {
	flex: 0 0 25%;
	color: var(--fmg-fg2);
	font-size: 14px;
	margin: 0;
}

.fmg-login-form input {
	flex: 1 1 0;
	min-width: 0;
}

.fmg-login-pass-wrap {
	flex: 1 1 0;
	min-width: 0;
}

.fmg-login-pass-wrap input {
	width: 100%;
}

.fmg-forgot {
	display: inline-block;
	margin-top: 6px;
	color: var(--fmg-link);
	font-size: 13px;
}

.fmg-login-buttons {
	display: flex;
	justify-content: flex-end;
}

.fmg-login-msg:not(:empty),
.fmg-cvr-msg:not(:empty) {
	margin-top: 10px;
	color: var(--fmg-red);
	font-size: 14px;
}

.fmg-cvr-msg.fmg-success:not(:empty) {
	color: #2EAF23;
}

/* Login 态：其余区块降透明 */
.fmg-quick-checkout.fmg-login-active .fmg-co-section:not(.fmg-section-login),
.fmg-quick-checkout.fmg-login-active .fmg-qc-right,
.fmg-quick-checkout.fmg-login-active .fmg-confirm-buttons {
	opacity: .4;
	pointer-events: none;
}

/* same-address / newsletter checkbox 行 */
.fmg-same-address-row,
.fmg-newsletter-row {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 10px 0 0;
	color: var(--fmg-body);
	font-size: 14px;
	cursor: pointer;
}

.fmg-same-address-row input,
.fmg-newsletter-row input {
	margin-top: 3px;
}

/* Shipping Method */
.fmg-shipping-body {
	display: flex;
	align-items: center;
}

.fmg-shipping-body::before {
	content: "\eab9";
	min-width: 34px;
	font-family: 'fmg-icomoon';
	font-size: 24px;
	line-height: 1;
	color: #2EAF23;
}

.fmg-shippings {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fmg-radio-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--fmg-body);
	font-size: 15px;
	cursor: pointer;
}

/* Payment Method（#payment 重置 Woo 默认皮肤） */
#payment.fmg-section-payment {
	background: #fff;
	border-radius: 0;
}

.fmg-payment-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmg-payment-methods li {
	display: block;
	margin-bottom: 10px;
	border: 0;
	background: none;
}

.fmg-payment-methods li label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: #000;
	font-size: 16px;
	cursor: pointer;
}

.fmg-payment-methods li label::before {
	content: "\e95d";
	font-family: 'fmg-icomoon';
	font-size: 30px;
	line-height: 1;
	min-width: 34px;
	color: #003087;
}

.fmg-payment-methods li img {
	height: 33px;
	vertical-align: middle;
}

.fmg-payment-methods .payment_box {
	margin: 10px 0 0;
	padding: 12px 14px;
	border-radius: 4px;
	background: #F5F5F5;
	color: var(--fmg-fg2);
	font-size: 14px;
}

.fmg-payment-methods .payment_box::before {
	display: none;
}

.fmg-no-payment .woocommerce-info {
	background: #F5F5F5;
	color: var(--fmg-fg2);
}

.fmg-place-order-meta {
	padding: 0;
	margin: 0;
}

/* COUPON / VOUCHER */
.fmg-cvr-group {
	margin-bottom: 14px;
}

.fmg-cvr-group label {
	display: block;
	padding: 7px 0 5px;
	margin: 0;
	color: var(--fmg-body);
	font-size: 14px;
}

.fmg-cvr-input-group {
	display: flex;
	gap: 8px;
	max-width: 500px;
}

.fmg-cvr-input-group input {
	flex: 1 1 0;
	min-width: 0;
	min-height: 36px;
}

.fmg-cvr-input-group .fmg-btn {
	border-radius: 5px;
	min-width: 35px;
	min-height: 35px;
}

/* 结算页购物车表 */
.fmg-co-cart-wrap {
	margin-bottom: 0;
}

.fmg-co-cart-table .fmg-td-image img {
	max-width: 120px;
}

.fmg-co-totals td {
	color: var(--fmg-fg2);
}

.fmg-co-totals .fmg-totals-label {
	text-align: right;
}

.fmg-co-totals .fmg-totals-amount {
	width: 20%;
	min-width: 110px;
	color: var(--fmg-fg1);
	text-align: right;
	white-space: nowrap;
}

/* Confirm Your Order */
.fmg-section-confirm textarea {
	width: 100%;
	min-height: 100px;
	margin-bottom: 10px;
	line-height: 1.4;
}

.fmg-section-confirm .fmg-form-group > label,
.fmg-section-confirm p.form-row > label {
	display: none;
}

.fmg-section-confirm .fmg-form-group .woocommerce-input-wrapper,
.fmg-section-confirm p.form-row .woocommerce-input-wrapper {
	flex: 1 1 100%;
}

/* CONFIRM ORDER */
.fmg-confirm-buttons {
	margin-top: 30px;
	padding: 0 15px 15px;
}

button#place_order.fmg-btn-confirm {
	display: flex;
	width: 100%;
	justify-content: center;
	padding: 1.2em 2em;
	border: 1px solid #000;
	border-radius: 30px !important;
	background: #000 !important;
	color: #fff !important;
	font-family: 'Jost', sans-serif;
	font-size: 12px !important;
	font-weight: 400;
	text-transform: uppercase !important;
	transition: all .2s ease;
}

button#place_order.fmg-btn-confirm:hover {
	background: #fff !important;
	color: #000 !important;
}

/* Woo notice 区域字体统一 */
.woocommerce-NoticeGroup,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	font-family: 'Jost', sans-serif;
}

/* ---------- I. Recent-purchase 弹窗 ---------- */

#fmg-rpp-box {
	position: fixed;
	left: 16px;
	bottom: 90px;
	z-index: 50000;
	min-width: 260px;
	max-width: 420px;
	width: calc(100vw - 136px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
	font-family: 'Jost', sans-serif;
	opacity: 1;
	transform: none;
	transition: opacity .25s ease, transform .25s ease;
}

#fmg-rpp-box.fmg-rpp-hidden {
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
}

#fmg-rpp-box .fmg-rpp-close {
	position: absolute;
	top: 8px;
	right: 10px;
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1;
	opacity: .6;
	cursor: pointer;
	z-index: 2;
}

#fmg-rpp-box .fmg-rpp-link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	color: #222;
	text-decoration: none;
}

#fmg-rpp-box .fmg-rpp-img {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	background: #f3f4f6;
}

#fmg-rpp-box .fmg-rpp-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#fmg-rpp-box .fmg-rpp-title {
	margin: 0 0 4px;
	letter-spacing: .1px;
	line-height: 1.4;
}

#fmg-rpp-box .fmg-rpp-title .name {
	font-size: 13.5px;
	font-weight: 500;
	color: #000;
}

#fmg-rpp-box .fmg-rpp-title .text {
	font-size: 13.5px;
	font-weight: 400;
	color: #000;
}

#fmg-rpp-box .fmg-rpp-title .location {
	font-size: 13.5px;
	font-weight: 300;
	color: #000;
}

#fmg-rpp-box .fmg-rpp-product {
	font-size: 14px;
	font-weight: 600;
	color: #1470FF;
}

#fmg-rpp-box .fmg-rpp-time {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 400;
	color: #000;
}

@media (max-width: 480px) {
	#fmg-rpp-box {
		max-width: 92vw;
		width: calc(100vw - 24px);
		left: 12px;
		bottom: 84px;
	}
}

/* ---------- J. 杂项清理 ---------- */

/* WoodMart 演示残留（品牌轮播等） */
.wd-brands,
.woodmart-brands,
.wd-toolbar.wd-toolbar-label-show {
	display: none !important;
}

body {
	padding-bottom: 0 !important;
}

/* 主内容区跟 bagersome 一样最大 1500px */
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content {
	max-width: none;
}

/* ---------- K. 头部新元素（icomoon 图标 / mega 菜单 / 迷你购物车 / 搜索 overlay / 回顶 ---------- */

.fmg-ico {
	font-family: 'fmg-icomoon' !important;
	font-style: normal;
	color: #29292B;
	line-height: 1;
}

.fmg-ico-account::before {
	content: "\e9a6";
	font-size: 20px;
	color: #000;
}

.fmg-ico-search::before {
	content: "\ebaf";
	font-size: 23px;
}

.fmg-ico-cart::before {
	content: "\e9bf";
	font-size: 25px;
}

.fmg-ico-wishlist::before {
	content: "\ea93";
	font-size: 17px;
}

@media (max-width: 1024px) {
	.fmg-desktop-only {
		display: none !important;
	}

	.fmg-ico-account::before {
		font-size: 16px;
	}

	.fmg-ico-cart::before {
		content: "\eaa0";
		font-size: 22px;
	}
}

@media (min-width: 1025px) {
	.fmg-mobile-only {
		display: none !important;
	}
}

/* 覆盖 style.css 旧的 CSS 手绘图标占位 */
.fmg-ico span {
	display: none;
}

.fmg-cart-wrap {
	position: relative;
	display: inline-flex;
}

/* 迷你购物车下拉（桌面 hover） */
.fmg-mini-cart-dropdown {
	position: absolute;
	top: calc(100% + 14px);
	right: -10px;
	z-index: 1200;
	display: none;
	width: 320px;
	padding: 16px;
	border: 1px solid #eee;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	font-family: 'Jost', sans-serif;
}

@media (min-width: 1025px) {
	.fmg-cart-wrap:hover .fmg-mini-cart-dropdown,
	.fmg-mini-cart-dropdown:hover {
		display: block;
	}
}

.fmg-mini-cart-dropdown::before {
	content: "";
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	height: 14px;
}

.fmg-mini-cart-dropdown ul.cart_list {
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 320px;
	overflow-y: auto;
}

.fmg-mini-cart-dropdown ul.cart_list li {
	display: flex;
	flex-wrap: wrap;
	gap: 0 10px;
	padding: 10px 0;
	border-bottom: 1px solid #f1f1f1;
	position: relative;
}

.fmg-mini-cart-dropdown ul.cart_list li a {
	color: var(--fmg-fg1);
	font-size: 14px;
}

.fmg-mini-cart-dropdown ul.cart_list li img {
	width: 60px;
	height: auto;
	float: right;
	margin-left: 8px;
}

.fmg-mini-cart-dropdown ul.cart_list li .quantity {
	display: block;
	width: 100%;
	color: var(--fmg-fg2);
	font-size: 13px;
}

.fmg-mini-cart-dropdown ul.cart_list li .variation {
	width: 100%;
	margin: 2px 0 0;
	color: var(--fmg-fg2);
	font-size: 11.9px;
}

.fmg-mini-cart-dropdown ul.cart_list li .variation dt,
.fmg-mini-cart-dropdown ul.cart_list li .variation dd {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.fmg-mini-cart-dropdown ul.cart_list li a.remove {
	position: absolute;
	right: 0;
	top: 10px;
	color: #000 !important;
	font-size: 16px;
}

.fmg-mini-cart-dropdown .woocommerce-mini-cart__total {
	margin: 10px 0;
	color: var(--fmg-fg1);
	font-size: 14px;
	text-align: right;
}

.fmg-mini-cart-dropdown .woocommerce-mini-cart__buttons {
	display: flex;
	gap: 8px;
	margin: 0;
}

.fmg-mini-cart-dropdown .woocommerce-mini-cart__buttons a {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 10px;
	border: 1px solid #000;
	border-radius: 30px;
	background: #000;
	color: #fff;
	font-size: 11px;
	font-weight: 400;
	text-transform: uppercase;
}

.fmg-mini-cart-dropdown .woocommerce-mini-cart__buttons a:hover {
	background: #fff;
	color: #000;
}

.fmg-mini-cart-dropdown .woocommerce-mini-cart__empty-message {
	margin: 0;
	color: var(--fmg-fg2);
	font-size: 14px;
	text-align: center;
}

/* mega 菜单 */
.fmg-header-nav {
	position: relative;
}

.fmg-nav-item {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.fmg-mega-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1100;
	display: none;
	min-width: 240px;
	padding: 22px 28px;
	border: 1px solid #eee;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
	text-align: left;
}

.fmg-nav-item.fmg-has-mega:hover .fmg-mega-menu {
	display: block;
}

.fmg-mega-title {
	margin: 0 0 10px;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1px;
}

.fmg-mega-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmg-mega-menu ul a {
	display: block;
	padding: 5px 0;
	border-bottom: 0 !important;
	color: #000;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.5 !important;
	text-transform: none;
	white-space: nowrap;
}

.fmg-mega-menu ul a:hover {
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.fmg-mega-menu {
		display: none !important;
	}
}

/* 桌面搜索 overlay（从视口顶端展开全宽一条） */
.fmg-search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20000;
	display: flex;
	height: 48px;
	background: #fff;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .12);
}

.fmg-search-overlay[hidden] {
	display: none;
}

.fmg-search-overlay input[type="search"] {
	flex: 1 1 auto;
	height: 48px;
	padding: 0 22px;
	border: 0;
	font-family: 'Jost', sans-serif;
	font-size: 15px;
	color: #000;
}

.fmg-search-overlay input[type="search"]:focus {
	outline: none;
}

.fmg-search-overlay button {
	height: 48px;
	padding: 0 26px;
	border: 0;
	background: #000;
	color: #fff;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	letter-spacing: 1px;
	cursor: pointer;
}

/* 回到顶部 */
.fmg-scroll-top {
	position: fixed;
	right: 6px;
	bottom: 24px;
	z-index: 9000;
	display: none;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 99px;
	background: transparent;
	cursor: pointer;
}

.fmg-scroll-top.visible {
	display: block;
}

.fmg-scroll-top::before {
	content: "\f106";
	font-family: 'fmg-icomoon';
	font-size: 22px;
	color: #000;
}

.fmg-scroll-top:hover::before {
	color: #fff;
}

.fmg-scroll-top:hover {
	background: #000;
}

/* 页脚字号修正（global-chrome 实测：栏标题 14px Jost300、链接 13px、CALL US 15px/400、电话 12px、版权 11px） */
.fmg-j3-footer__title {
	font-size: 14px;
	font-weight: 300;
}

.fmg-j3-footer__links a {
	font-size: 13px;
}

.fmg-j3-footer__callus {
	font-size: 15px;
	font-weight: 400;
}

.fmg-j3-footer__phone {
	font-size: 12px;
}

.fmg-j3-footer__copy,
.fmg-j3-footer__copy2 {
	font-size: 11px;
}

.fmg-j3-social img {
	width: 20px;
	height: 20px;
	display: block;
}

/* 移动页脚顺序：newsletter → 社交 → CALL US → 手风琴 */
@media (max-width: 1024px) {
	.fmg-j3-footer__left {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.fmg-j3-footer__left .fmg-j3-footer__title:first-child {
		order: 1;
	}

	.fmg-j3-footer__left .fmg-j3-newsletter {
		order: 2;
	}

	.fmg-j3-footer__left .fmg-j3-social {
		order: 3;
		margin-bottom: 18px;
	}

	.fmg-j3-footer__left .fmg-j3-footer__callus {
		order: 4;
	}

	.fmg-j3-footer__left .fmg-j3-footer__phone {
		order: 5;
	}
}

/* ---------- L. 移动抽屉菜单 ---------- */

#fmg-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 30000;
	display: none;
}

#fmg-mobile-drawer.open {
	display: block;
}

#fmg-mobile-drawer .fmg-drawer-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
}

#fmg-mobile-drawer .fmg-drawer-panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(320px, 86vw);
	padding: 48px 0 20px;
	background: #fff;
	overflow-y: auto;
	box-shadow: 4px 0 24px rgba(0, 0, 0, .18);
}

#fmg-mobile-drawer .fmg-drawer-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.fmg-drawer-item {
	position: relative;
	border-bottom: 1px solid #f0f0f0;
}

.fmg-drawer-item > a {
	display: block;
	padding: 14px 48px 14px 20px;
	color: #000;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
}

.fmg-drawer-sub-toggle {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #000;
	font-size: 18px;
	font-weight: 300;
	cursor: pointer;
}

.fmg-drawer-sub ul {
	margin: 0;
	padding: 0 20px 12px 32px;
	list-style: none;
}

.fmg-drawer-sub ul a {
	display: block;
	padding: 7px 0;
	color: #000;
	font-size: 13px;
	font-weight: 300;
}

/* ---------- M. 复核修正 ---------- */

/* CHECKOUT/CONTINUE 胶囊圆角防覆盖 */
a.fmg-btn-pill,
.fmg-btn-pill {
	border-radius: 30px !important;
}

/* Woo 把改量按钮 disabled 到数量变化为止——视觉保持黑色 */
.fmg-btn-round:disabled,
.fmg-btn-round[disabled] {
	background: #000;
	opacity: 1;
	cursor: pointer;
}

.fmg-btn-round:disabled::before,
.fmg-btn-round[disabled]::before {
	color: #F7F7F7;
}

/* 结算页 Shopping Cart 标题左对齐（防主题居中） */
.fmg-section-title,
#order_review_heading {
	text-align: left !important;
}

/* 结算页隐私文案兜底隐藏 */
.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
	display: none !important;
}

/* WoodMart 产品页杂项兜底 */
.single-product .related-products,
.single-product .related.products,
.single-product .upsells.products {
	display: none !important;
}

/* ---------- N. 复核修正 2 ---------- */

/* 结算购物车表产品图收敛（盖过 table.fmg-table 的 200px 规则） */
table.fmg-table.fmg-co-cart-table .fmg-td-image img {
	max-width: 120px;
	width: auto;
}

/* 购物车页产品图：竖图限高 */
table.fmg-table .fmg-td-image img {
	max-height: 220px;
	width: auto;
	max-width: 200px;
}

/* 支付方式行：隐藏文字标题只留 logo（bagersome 形态：图标+radio+logo） */
.fmg-payment-methods li label {
	font-size: 0;
	flex-wrap: nowrap;
	max-width: 100%;
}

.fmg-payment-methods li label img {
	height: auto;
	max-height: 33px;
	max-width: min(260px, 60vw);
}

/* 移动端防横向溢出 */
@media (max-width: 1024px) {
	body {
		overflow-x: hidden;
	}
}

/* WoodMart 离屏侧板与自带回顶按钮（与 fmg 版重复）隐藏 */
.login-form-side,
.cart-widget-side,
.wd-side-hidden,
a.scrollToTop {
	display: none !important;
}

/* 迷你购物车空态去掉 Return To Shop 按钮 */
.fmg-mini-cart-dropdown .wd-empty-mini-cart,
.fmg-mini-cart-dropdown .buttons .wc-forward.wd-btn {
	display: none !important;
}

/* 桌面购物车表防溢出：图列收窄，6 列在 872px 内排得下 */
.fmg-cart-page table.fmg-table .fmg-td-image img {
	max-width: 150px;
	max-height: 190px;
}

.fmg-cart-page table.fmg-table td {
	min-width: 80px;
}

.fmg-cart-page table.fmg-table .fmg-td-name {
	min-width: 150px;
}
