
.banner{
	width: 100%;
	aspect-ratio: 1 /  0.3063; /* 核心属性：宽高比1:1 */
	margin: 20px 0 30px 0;
}
.banner img{
	width: 100%;
	height: 100%;
}

.banner_left{
	width: 62.5%;
	height: 100%;
	float: left;
}
.swiper-container {
	width: 100%;
	height: 100%;
	border-radius: 5px;

}
.swiper-slide {
	background-position: center;
	background-size: cover;
	background-color: #f0f0f0;
}
.swiper-slide{
	width: 100%;
}
.swiper_a{
	display: block;
	height: 100%;
}

.banner_centre{
	width: 1.25%;
	height: 100%;
	float: left;
}

.banner_right{
	width: 36.25%;
	height: 100%;
	float: right;
	overflow: hidden;
}
.banner_right a{
	display: block;
	width: 100%;
	height: 100%;
}
.banner_right img{
	border-radius: 5px;
	background-color: #f0f0f0;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.banner_right img.loaded{
	opacity: 1;
}
.banner_right_top{
	height: 47.96%;
	overflow: hidden;
}
.banner_right_top_l{
	width: 48.275%;
	height: 100%;
	float: left;
}
.banner_right_top_c{
	width: 3.45%;
	height: 100%;
	float: left;
}
.banner_right_top_r{
	width: 48.275%;
	height: 100%;
	float: left;
}
.banner_right_centre{
	height: 4.08%;
}
.banner_right_bottom{
	height: 47.96%;
	display: flex;
	align-items: stretch;
	justify-content: center;

}

/**
 * 产品列表
 */
.product_title{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	border-bottom: 1px solid #e5e5e5;
}
.product_title_text{
	display: flex;
	align-items: center;
	gap: 15px;
	width: auto;
	height: 30px;
	line-height: 30px;
	border-bottom: 2px solid #fad505;
	font-size: 24px;
	padding-bottom: 15px;
	margin-bottom: -1px;
}
.product_title_more{
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 14px;
	color: #666;
	text-decoration: none;
	padding-bottom: 17px;
	white-space: nowrap;
	transition: color 0.2s;
}
.product_title_more:hover{
	color: #f69034;
}
.product_title_more i{
	font-size: 10px;
	color: inherit;
	line-height: 1;
	margin-bottom: -2px;
}

/* 限时抢购倒计时样式 */
.flash_deals_countdown{
	display: flex;
	align-items: center;
	gap: 5px;
	margin-left: 10px;
}

.countdown_item{
	display: flex;
	align-items: center;
	gap: 2px;
}

.countdown_number{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 25px;
	background-color: #4a4a4a;
	color: #ffffff;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 500;
	padding: 0 6px 1px 6px;
	box-sizing: border-box;
}

.countdown_separator{
	color: #4a4a4a;
	font-size: 16px;
	font-weight: 500;
	margin: 0 2px;
}

.product_container{
	display: flex;
	flex-wrap: wrap;
	padding: 10px 0;
}

.product_list{
	/* 100%宽度除以6个项目，减去边框占用的空间 */
	width: calc(100% / 6);
	box-sizing: border-box; /* 确保边框包含在宽度内 */
	border-right: 1px solid #F0F0F0; /* 右边线 */
	text-align: left;
	padding: 6px;
	margin: 10px 0;
}
/* 每列最后一个商品去掉右边框 */
.product_list:nth-child(6n) {
	border-right: none;
}
.product_list:hover {
	box-shadow: 0 0 0 2px rgb(229 229 229 / 18%), 0 2px 8px rgb(103 103 103 / 20%);
	/*box-shadow: 0 0 0 2px rgba(255,255,255,0.8), 0 4px 8px rgba(0,0,0,0.2);*/
	background: rgba(255,255,255,0.2);
}
.product_top{
	width: 100%;
	aspect-ratio: 1 / 1; /* 核心属性：宽高比1:1 */
	display: flex;
	align-items: center;
    justify-content: center;
	background-color: #f5f5f5;
	position: relative;
}
.discount_badge{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #ff0000;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	padding: 6px 10px;
	border-radius: 0 0 8px 0;
	letter-spacing: 0.2px;
	pointer-events: none;
	user-select: none;
}

.product_top img{
	width: 96%;
	height: 96%;
	/*object-fit: cover;*/
	background-color: #f5f5f5;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.product_top img.loaded{
	opacity: 1;
}

.product_bottom_title{
	padding: 0 3%;
	margin: 5px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-all;
	font-size: 14px;
	color: #303840;
	line-height: 1.5;
	min-height: 42px;
}
.product_bottom_title a{
	color: #303840;
	text-decoration: none;
	transition: color 0.2s;
}
.product_bottom_title a:hover{
	color: #f69034;
	text-decoration: none;
}
.product_bottom_price{
	padding: 0 3% 5px 3%;
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}
.product_price{
	font-size: 20px;
}
.product_price_member {
	font-size: 20px;
	font-weight: 750;
	color: #ff0000;
}
.product_price_normal {
	font-size: 20px;
	font-weight: 750;
	color: #ff4d00;
}
.product_price_original {
	font-size: 16px;
	font-weight: 400;
	color: #999;
}
.price_currency_symbol {
	font-size: 0.75em;
}
.product_bottom_metrics {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 0 3% 5px;
	color: #8a8f97;
	font-size: 12px;
	line-height: 18px;
}
.product_rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}
.product_rating_stars {
	position: relative;
	display: inline-block;
	color: #d9d9d9;
	font-size: 14px;
	letter-spacing: 1px;
	line-height: 1;
	white-space: nowrap;
}
.product_rating_stars_active {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #f5a623;
	white-space: nowrap;
}
.product_rating_score {
	color: #555;
	font-variant-numeric: tabular-nums;
}
.product_bottom_sales {
	white-space: nowrap;
}
.recommend-category-block-button {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 4px 6px;
	border: 1px solid #e34b4b;
	border-radius: 3px;
	background: #fff;
	color: #c93232;
	font-size: 12px;
	line-height: 1.25;
	cursor: pointer;
	text-align: left;
}
.recommend-category-block-button:hover:not(:disabled) {
	background: #fff1f1;
}
.recommend-category-block-button:disabled {
	cursor: default;
	opacity: .7;
}
.homepage-product-action-buttons {
	margin-top: 8px;
}
.homepage-product-action-buttons .recommend-category-block-button {
	margin-top: 0;
}
.homepage-product-unlist-button {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 4px 6px;
	border: 1px solid #555;
	border-radius: 3px;
	background: #fff;
	color: #333;
	font-size: 12px;
	line-height: 1.25;
	cursor: pointer;
}
.homepage-product-unlist-button:hover:not(:disabled) { background: #f2f2f2; }
.homepage-product-unlist-button:disabled { cursor: default; opacity: .7; }


/* 空状态样式 */
.product_empty {
	text-align: center;
	padding: 40px;
	color: #999;
}

/* 加载状态提示样式 */
#loadMoreStatus,
#loadMoreEnd {
	text-align: center;
	padding: 20px;
	display: none;
}

#loadMoreStatus span {
	color: #999;
}

/* 加载更多按钮样式 - 参考购物车按钮样式 */
.btn-load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 40px;
	background-color: #2d2d38;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.btn-load-more:hover {
	background-color: #1a1a22;
}

.btn-load-more:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.btn-load-more i {
	font-size: 16px;
}

/* PC 端仅移除商品图片外层的灰色底框，保留卡片分隔线和悬停效果。 */
@media (min-width: 768px) {
	.product_top {
		background-color: transparent;
	}
}
