/* =========================================================
   Plugins Suite — base styles (default theme fallback)
   提供 7 个自研插件前台模板的布局/间距/结构基础样式。
   颜色通过 --pl-* 变量钩子暴露：主题在 custom.css 中重定义
   变量或直接覆盖规则即可定制，本文件不写死品牌色。
   由各插件 catalog 控制器 document->addStyle 按需引入。
   ========================================================= */
:root {
	--pl-text: #222;            /* 常规文字 */
	--pl-strong: #000;          /* 标题/强调文字 */
	--pl-muted: #999;           /* 次要文字 */
	--pl-surface: #fff;         /* 卡片底色 */
	--pl-surface-alt: #f7f7f7;  /* 图片占位底色 */
	--pl-border: #ececec;       /* 卡片边框 */
	--pl-accent: #4a5c4b;       /* 品牌强调（hover/按钮激活） */
	--pl-on-accent: #fff;       /* 强调色上的文字 */
	--pl-sale: #e04545;         /* 促销红（角标/促销价） */
	--pl-rating: #d5a253;       /* 评分星星 */
	--pl-badge-bg: #000;        /* 角标底 */
	--pl-badge-ink: #fff;       /* 角标文字 */
	--pl-shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
	--pl-shadow-lg: 0 14px 32px rgba(0, 0, 0, .1);
}

/* ===== 公共模块头部（标题 + 右侧延伸细线 + 可选查看全部） ===== */
.featured-head {
	display: flex;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto 40px;
	gap: 22px;
}
.featured-title {
	margin: 0;
	color: var(--pl-strong);
	font-size: 28px;
	font-weight: 600;
	letter-spacing: .5px;
	white-space: nowrap;
}
.featured-line {
	flex: 1;
	height: 1px;
	background: var(--pl-border);
}
.featured-viewall {
	white-space: nowrap;
	color: var(--pl-text);
	font-size: 14px;
	text-decoration: none;
}
.featured-viewall:hover { color: var(--pl-accent); text-decoration: none; }

/* ===== Services 服务承诺卡片 ===== */
.services-module { max-width: 1600px; margin: 50px auto; padding: 0 30px; }
.service-card {
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 14px;
	padding: 34px 24px;
	text-align: center;
	transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--pl-shadow-lg);
}
.service-img {
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.service-img img { max-height: 64px; max-width: 96px; width: auto; }
.service-title {
	color: var(--pl-strong);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 10px;
}
.service-text {
	color: var(--pl-muted);
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
}
.service-link { display: block; color: inherit; }
.service-link:hover { color: inherit; text-decoration: none; }
.service-link:hover .service-title { color: var(--pl-accent); }

/* ===== Images 图文模块（单条目左右布局 / 多条目等宽网格） ===== */
.images-module { max-width: 1600px; margin: 50px auto; padding: 0 30px; }
.images-grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), 1fr);
	gap: 24px;
}
.image-card {
	display: flex;
	flex-direction: column;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 14px;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
a.image-card:hover {
	text-decoration: none;
	transform: translateY(-4px);
	box-shadow: var(--pl-shadow-lg);
}
.image-card .img-cell {
	position: relative;
	overflow: hidden;
	background: var(--pl-surface-alt);
}
.image-card .img-cell img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.badge-num {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--pl-sale);
	color: var(--pl-badge-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 16px;
}
.images-single .badge-num {
	position: static;
	margin-bottom: 14px;
}
.image-card .card-txt {
	padding: 22px 22px 26px;
	text-align: center;
}
.images-title { font-size: 17px; font-weight: 600; margin: 0 0 8px; color: var(--pl-strong); }
.images-single {
	display: flex;
	align-items: stretch;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	border-radius: 14px;
	overflow: hidden;
}
.images-single .img-cell { width: 50%; min-height: 320px; background: var(--pl-surface-alt); }
.images-single .img-cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.images-single .txt-cell {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 52px;
}
.images-single .images-title { font-size: 24px; }

/* ===== Image Compare 图片对比 ===== */
.cmp-module { max-width: 1600px; margin: 50px auto; padding: 0 30px; }
.cmp-slider {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: #111;
	cursor: ew-resize;
	user-select: none;
	touch-action: pan-y;
}
.cmp-layer {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.cmp-base { width: 100%; }
.cmp-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--cmp-pos, 50%);
	width: 2px;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, .4);
	transform: translateX(-1px);
	z-index: 3;
}
.cmp-handle-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, .95);
	color: #111;
	font-size: 17px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
	cursor: ew-resize;
}
.cmp-label {
	position: absolute;
	bottom: 18px;
	z-index: 2;
	color: #fff;
	font-weight: 600;
	font-size: 20px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
	pointer-events: none;
}
.cmp-label-left { left: 26px; }
.cmp-label-right { right: 26px; }

/* ===== Topics 专题卡片 / 列表页 / 专题商品页 ===== */
.topic-module { padding: 0 30px; margin: 60px auto 80px; }
.topic-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1600px;
	margin: 0 auto 40px;
}
.topic-module .topic-grid { margin-bottom: 0; }
.topic-card {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: var(--pl-surface);
	border: 1px solid var(--pl-border);
	transition: transform .3s ease, box-shadow .3s ease;
}
.topic-card:hover {
	text-decoration: none;
	transform: translateY(-4px);
	box-shadow: var(--pl-shadow-lg);
}
.topic-card .topic-cover {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--pl-surface-alt);
}
.topic-card .topic-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.topic-card:hover .topic-cover img { transform: scale(1.05); }
.topic-card .topic-cover-empty {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	text-align: center;
	color: var(--pl-muted);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: linear-gradient(135deg, #fafafa, #ededed);
}
.topic-card .topic-name {
	display: block;
	padding: 14px 16px 4px;
	color: var(--pl-strong);
	font-weight: 600;
	font-size: 15px;
}
.topic-card .topic-desc {
	display: block;
	padding: 0 16px 16px;
	color: var(--pl-muted);
	font-size: 13px;
	line-height: 1.6;
}
.topic-hero { position: relative; overflow: hidden; border-radius: 14px; }
.topic-hero img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .5;
}
.topic-hero .topic-hero-inner { position: relative; padding: 46px 40px; }
.topic-hero .topic-hero-name { color: #fff; font-size: 30px; font-weight: 600; margin: 0 0 10px; }
.topic-hero .topic-hero-desc { color: rgba(255, 255, 255, .85); line-height: 1.7; margin: 0; }
/* 专题商品页卡片（f-* 系列沿用 mytheme 命名） */
.featured-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	max-width: 1600px;
	margin: 0 auto;
}
.cat-grid { margin-bottom: 40px; }
.listing-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}
.empty-state { color: var(--pl-muted); margin: 20px 0; }
.f-card {
	position: relative;
	background: var(--pl-surface);
	border: none;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--pl-shadow-sm);
	transition: transform .3s ease, box-shadow .3s ease;
}
.f-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--pl-shadow-lg);
}
.f-image { position: relative; overflow: hidden; background: var(--pl-surface-alt); }
.f-image img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.f-card:hover .f-image img { transform: scale(1.05); }
.f-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--pl-badge-bg);
	color: var(--pl-badge-ink);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	padding: 4px 10px;
	text-transform: uppercase;
	z-index: 2;
}
.f-actions {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%) translateY(16px);
	display: flex;
	gap: 8px;
	opacity: 0;
	transition: opacity .3s ease, transform .3s ease;
	z-index: 2;
}
.f-card:hover .f-actions { opacity: 1; transform: translateX(-50%) translateY(0); }
.f-actions button {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pl-surface);
	border: none;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
	color: var(--pl-strong);
	font-size: 17px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.f-actions button:hover { background: var(--pl-accent); color: var(--pl-on-accent); }
.f-actions .f-remove {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pl-surface);
	border: none;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
	color: var(--pl-strong);
	font-size: 16px;
	transition: background .2s ease, color .2s ease;
}
.f-actions .f-remove:hover { background: var(--pl-accent); color: var(--pl-on-accent); text-decoration: none; }
.f-info { padding: 20px 22px 24px; }
.f-info h4 { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.f-info h4 a { color: var(--pl-text); }
.f-info h4 a:hover { color: var(--pl-accent); text-decoration: none; }
.f-rating { margin-bottom: 10px; }
.f-rating .fa-stack { height: 14px; }
.f-rating .fa { font-size: 14px; color: var(--pl-rating); }
.f-desc {
	color: var(--pl-muted);
	font-size: 13px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 14px;
	height: 42px;
}
.f-price { font-size: 18px; font-weight: 600; }
.f-price .price-new { color: var(--pl-strong); }
.f-price .price-old {
	color: var(--pl-muted);
	text-decoration: line-through;
	font-weight: 400;
	font-size: 14px;
	margin-left: 8px;
}
.f-price .price-tax { display: block; color: var(--pl-muted); font-weight: 400; font-size: 12px; margin-top: 4px; }

/* ===== Ansumu Category Grid 分类网格 ===== */
.ansumu-category-grid { margin: 30px 0; }
.ansumu-category-grid__row {
	display: grid;
	grid-template-columns: repeat(var(--ansumu-columns, 3), 1fr);
	gap: var(--ansumu-gap, 20px);
}
.ansumu-category-grid__card {
	border: 1px solid var(--pl-border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--pl-surface);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.ansumu-category-grid__card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}
.ansumu-category-grid__card-inner {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--pl-text);
	height: 100%;
}
.ansumu-category-grid__card-inner:hover { text-decoration: none; }
.ansumu-category-grid__info {
	flex: 1 1 0;
	min-width: 0;
	padding: 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ansumu-category-grid__name {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--pl-text);
}
.ansumu-category-grid__desc {
	margin: 0;
	font-size: 13px;
	color: var(--pl-muted);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.ansumu-category-grid__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--pl-text);
	margin-top: 4px;
	transition: gap 0.2s ease;
}
.ansumu-category-grid__card:hover .ansumu-category-grid__btn { gap: 10px; }
.ansumu-category-grid__btn .fa-arrow-right {
	font-size: 11px;
	transition: transform 0.2s ease;
}
.ansumu-category-grid__card:hover .ansumu-category-grid__btn .fa-arrow-right {
	transform: translateX(3px);
}
.ansumu-category-grid__image {
	flex: 0 0 40%;
	max-width: 40%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--pl-surface-alt);
	min-height: 160px;
}
.ansumu-category-grid__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ===== Ansumu Category Products 分类产品 ===== */
.ansumu-category-products { margin: 50px 0; }
.ansumu-category-products__layout {
	display: flex;
	gap: 24px;
	align-items: stretch;
}
/* 左侧：分类信息（1/4） */
.ansumu-category-products__side {
	flex: 0 0 25%;
	max-width: 25%;
}
.ansumu-category-products__side-link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	padding: 20px 8px 20px 0;
	text-decoration: none;
	color: var(--pl-text);
}
.ansumu-category-products__side-link:hover { text-decoration: none; }
.ansumu-category-products__side-image {
	overflow: hidden;
	margin-bottom: 16px;
	background: var(--pl-surface-alt);
}
.ansumu-category-products__side-image img {
	width: 100%;
	display: block;
	transition: transform 0.3s ease;
}
.ansumu-category-products__side-link:hover .ansumu-category-products__side-image img {
	transform: scale(1.03);
}
.ansumu-category-products__side-name {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	color: var(--pl-text);
}
.ansumu-category-products__side-desc {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--pl-muted);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}
.ansumu-category-products__side-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--pl-text);
	transition: gap 0.2s ease;
}
.ansumu-category-products__side-link:hover .ansumu-category-products__side-btn { gap: 10px; }
.ansumu-category-products__side-btn .fa-arrow-right {
	font-size: 11px;
	transition: transform 0.2s ease;
}
.ansumu-category-products__side-link:hover .ansumu-category-products__side-btn .fa-arrow-right {
	transform: translateX(3px);
}
/* 右侧：swiper 产品（3/4） */
.ansumu-category-products__main {
	flex: 1 1 0;
	min-width: 0;
}
.ansumu-category-products__swiper {
	position: relative;
	height: 100%;
}
.ansumu-category-products__swiper .swiper-container {
	width: 100%;
	overflow: hidden;
	padding-bottom: 6px;
}
.ansumu-category-products__swiper .swiper-wrapper { align-items: stretch; }
.ansumu-category-products__swiper .swiper-slide { height: auto; }
.ansumu-category-products__product {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: transparent;
	border: 0 !important;
	overflow: hidden;
	margin-bottom: 0;
}
.ansumu-category-products__product .image {
	position: relative;
	overflow: hidden;
	background: var(--pl-surface-alt);
}
.ansumu-category-products__product .image img {
	width: 100%;
	transition: transform 0.3s ease;
}
.ansumu-category-products__product:hover .image img { transform: scale(1.04); }
.ansumu-category-products__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--pl-sale);
	color: var(--pl-badge-ink);
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	z-index: 1;
}
.ansumu-category-products__product .caption {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 14px 2px 0;
}
.ansumu-category-products__product .caption h4 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 500;
}
.ansumu-category-products__product .caption h4 a {
	color: var(--pl-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	line-height: 1.4;
	min-height: 2.8em;
}
.ansumu-category-products__product .caption h4 a:hover { color: var(--pl-strong); }
.ansumu-category-products__product .rating {
	margin-bottom: 10px;
	font-size: 12px;
	color: var(--pl-rating);
}
/* 价格 + 购物车同行 */
.ansumu-category-products__buy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
}
.ansumu-category-products__product .price {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--pl-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ansumu-category-products__product .price .price-new { color: var(--pl-sale); }
.ansumu-category-products__product .price .price-old {
	color: var(--pl-muted);
	font-size: 13px;
	font-weight: 400;
	text-decoration: line-through;
}
.ansumu-category-products__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--pl-text);
	font-size: 15px;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease;
}
.ansumu-category-products__cart:hover {
	background: var(--pl-accent);
	color: var(--pl-on-accent);
}
/* Swiper 箭头 — 覆盖 opencart.css 默认隐藏/错位 */
.ansumu-category-products__swiper .swiper-pager {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -20px;
	pointer-events: none;
	z-index: 2;
}
.ansumu-category-products__swiper .swiper-button-prev,
.ansumu-category-products__swiper .swiper-button-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--pl-surface) !important;
	background-image: none !important;
	color: var(--pl-text);
	display: flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	opacity: 1 !important;
	pointer-events: auto;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	text-shadow: none;
	line-height: 1;
}
.ansumu-category-products__swiper .swiper-button-prev { left: 0; }
.ansumu-category-products__swiper .swiper-button-next { right: 0; }
.ansumu-category-products__swiper .swiper-button-prev:before,
.ansumu-category-products__swiper .swiper-button-next:before {
	font-family: FontAwesome;
	width: 40px;
	height: 40px;
	line-height: 40px;
	font-size: 18px;
	color: var(--pl-text);
}
.ansumu-category-products__swiper .swiper-button-prev:before { content: "\f053"; }
.ansumu-category-products__swiper .swiper-button-next:before { content: "\f054"; }
.ansumu-category-products__swiper .swiper-button-prev:hover,
.ansumu-category-products__swiper .swiper-button-next:hover {
	background: var(--pl-accent) !important;
}
.ansumu-category-products__swiper .swiper-button-prev:hover:before,
.ansumu-category-products__swiper .swiper-button-next:hover:before {
	color: var(--pl-on-accent);
}
.ansumu-category-products__swiper .swiper-button-prev.swiper-button-disabled,
.ansumu-category-products__swiper .swiper-button-next.swiper-button-disabled {
	opacity: 0.3 !important;
	pointer-events: none;
}

/* ===== Soluna Category Carousel 分类轮播 ===== */
.soluna-category-carousel {
	margin: 30px 0;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	box-shadow: none !important;
}
.soluna-category-carousel .swiper-container { width: 100%; }
.soluna-category-carousel .swiper-wrapper { align-items: stretch; }
.soluna-category-carousel .swiper-slide { height: auto; }
.soluna-category-carousel__item {
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--pl-text);
}
.soluna-category-carousel__item:hover { text-decoration: none; }
.soluna-category-carousel__image-wrap {
	display: block;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: var(--pl-surface-alt);
	margin-bottom: 12px;
}
.soluna-category-carousel__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}
.soluna-category-carousel__item:hover .soluna-category-carousel__image {
	transform: scale(1.04);
}
.soluna-category-carousel__name {
	display: block;
	width: 100%;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	color: var(--pl-text);
}
.soluna-category-carousel__item:hover .soluna-category-carousel__name {
	color: var(--pl-strong);
	font-weight: 600;
}
.soluna-category-carousel .swiper-pager {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -20px;
	pointer-events: none;
}
.soluna-category-carousel .swiper-button-prev,
.soluna-category-carousel .swiper-button-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--pl-text);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	pointer-events: auto;
	background: none;
	border: 0;
	text-shadow: none;
}
.soluna-category-carousel .swiper-button-prev { left: 0; }
.soluna-category-carousel .swiper-button-next { right: 0; }
.soluna-category-carousel .swiper-button-prev:before,
.soluna-category-carousel .swiper-button-next:before {
	font-family: FontAwesome;
	font-size: 18px;
	line-height: 1;
}
.soluna-category-carousel .swiper-button-prev:before { content: "\f053"; }
.soluna-category-carousel .swiper-button-next:before { content: "\f054"; }

/* ===== 响应式 ===== */
@media (max-width: 991px) {
	.featured-grid { grid-template-columns: repeat(2, 1fr); }
	.topic-grid { grid-template-columns: repeat(2, 1fr); }
	.ansumu-category-products__layout { flex-direction: column; }
	.ansumu-category-products__side { flex: none; max-width: none; }
	.images-single { flex-direction: column; }
	.images-single .img-cell { width: 100%; min-height: 240px; }
	.images-single .txt-cell { padding: 32px 28px; }
}
@media (max-width: 575px) {
	.featured-grid { grid-template-columns: 1fr; }
	.topic-grid { grid-template-columns: 1fr; }
	.featured-title { font-size: 22px; }
	.images-module, .cmp-module, .services-module { padding: 0 16px; margin: 32px auto; }
	.topic-module { padding: 0 16px; margin: 40px auto 56px; }
}

/* ===== Spotlight 商品聚焦（左商品卡 + 右附加图轮播） ===== */
.pl-spotlight {
	max-width: 1600px;
	margin: 50px auto;
	padding: 0 30px;
}
.pl-spotlight__layout {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 24px;
	align-items: stretch;
}
.pl-spotlight__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--pl-surface, #fff);
	border: 1px solid var(--pl-border, #eee);
	border-radius: 12px;
	overflow: hidden;
}
.pl-spotlight__card-img {
	display: block;
	width: 100%;
	padding: 28px;
}
.pl-spotlight__card-img img {
	width: 100%;
	display: block;
}
.pl-spotlight__card-info {
	width: 100%;
	padding: 18px 20px 20px;
	border-top: 1px solid var(--pl-border, #eee);
}
.pl-spotlight__name {
	display: block;
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--pl-strong, #222);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pl-spotlight__name:hover {
	color: var(--pl-text, #000);
	text-decoration: none;
}
.pl-spotlight__price-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}
.pl-spotlight__price {
	font-size: 18px;
	font-weight: 600;
	color: var(--pl-strong, #222);
}
.pl-spotlight__price-old {
	font-size: 14px;
	font-weight: 400;
	color: var(--pl-muted, #999);
	text-decoration: line-through;
}
.pl-spotlight__save {
	display: inline-block;
	background: var(--pl-sale, #e04545);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.pl-spotlight__gallery {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: var(--pl-surface-alt, #f7f7f7);
}
.pl-spotlight__gallery .swiper-container {
	height: 100%;
	min-height: 460px;
}
.pl-spotlight__gallery .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pl-spotlight__gallery .swiper-pager {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -20px;
	pointer-events: none;
	z-index: 2;
}
.pl-spotlight__gallery .swiper-button-prev,
.pl-spotlight__gallery .swiper-button-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,.92) !important;
	background-image: none !important;
	color: var(--pl-strong, #222);
	display: flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	opacity: 1 !important;
	pointer-events: auto;
	box-shadow: var(--pl-shadow-sm, 0 2px 8px rgba(0,0,0,.15));
	text-shadow: none;
	line-height: 1;
}
.pl-spotlight__gallery .swiper-button-prev { left: 16px; }
.pl-spotlight__gallery .swiper-button-next { right: 16px; }
.pl-spotlight__gallery .swiper-button-prev:before,
.pl-spotlight__gallery .swiper-button-next:before {
	font-family: FontAwesome;
	width: 40px;
	height: 40px;
	line-height: 40px;
	font-size: 18px;
	color: var(--pl-strong, #222);
}
.pl-spotlight__gallery .swiper-button-prev:before { content: "\f053"; }
.pl-spotlight__gallery .swiper-button-next:before { content: "\f054"; }
.pl-spotlight__gallery .swiper-button-prev:hover,
.pl-spotlight__gallery .swiper-button-next:hover {
	background: var(--pl-accent, #222) !important;
}
.pl-spotlight__gallery .swiper-button-prev:hover:before,
.pl-spotlight__gallery .swiper-button-next:hover:before {
	color: var(--pl-on-accent, #fff);
}
.pl-spotlight__cart {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	padding: 0;
	border: 1px solid var(--pl-border, #eee);
	border-radius: 50%;
	background: transparent;
	color: var(--pl-strong, #222);
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pl-spotlight__cart:hover {
	background: var(--pl-accent, #222);
	border-color: var(--pl-accent, #222);
	color: var(--pl-on-accent, #fff);
}
@media (max-width: 991px) {
	.pl-spotlight { margin: 36px auto; }
	.pl-spotlight__layout { grid-template-columns: 1fr; }
	.pl-spotlight__card { max-width: 420px; }
	.pl-spotlight__gallery .swiper-container { min-height: 320px; }
}
