/**
 * 条件
 */
.map-item > li {
	background: transparent;
	border: none;
	margin-bottom: 0;
}
.map-item.am-list > li:hover {
	background: transparent;
}
/* 筛选行统一 flex（品牌详情 brand-info 内再套一层 flex） */
.map-item > .map-brand-container,
.map-item > .map-category-container,
.map-item > .screening-price-container,
.map-item > .goods-place-origin-container,
.map-item > .map-params-spec-row {
	display: flex;
	align-items: flex-start;
	position: relative;
	background: #fff;
	box-sizing: border-box;
	overflow: visible;
}
.map-item .brand-info {
	display: flex;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}
.map-item .map-left {
	flex: 0 0 10rem;
	width: 10rem;
	font-weight: bold;
	line-height: 5rem;
}
.map-item > li > a,
.map-item .map-left {
	line-height: 4.5rem;
}
.map-brand-container,
.map-brand-container .map-left {
	line-height: 5.6rem !important;
}
.map-item .map-right {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	background: #fff;
}
.map-item .map-right .text-tips {
	color: #888;
	text-align: center;
}
.map-item .map-right a {
	text-decoration: none;
	height: 100%;
}
.map-remove-submit {
	color: #999999 !important;
	text-decoration: none !important;
	background-color: transparent !important;
	line-height: 5rem !important;
	margin-right: 5.2rem;
}
.map-text-items {
	height: 4.5rem;
}
.map-images-text-items {
	height: 5.5rem;
}
.map-images-text-items,
.map-text-items {
	padding: 1rem 10rem 0 1rem;
	overflow-y: hidden;
}
.map-dropdown-items {
	padding: 0.8rem 1rem 0.2rem 1rem;
	min-height: 4.5rem;
	box-sizing: border-box;
	background: #fff;
	overflow: visible;
}
/* 高级筛选：下拉展开时抬高层级，避免被裁切 */
.map-params-spec-row {
	position: relative;
	z-index: 5;
}
.map-params-spec-row:has(.am-selected.am-active) {
	z-index: 50;
}
.map-params-spec-row > .map-right {
	overflow: visible;
	position: relative;
	z-index: 2;
}
.map-dropdown-items .search-map-select,
.map-dropdown-items .am-selected {
	display: inline-block;
	margin: 0 1rem 0.8rem 0;
	vertical-align: middle;
	position: relative;
	z-index: 1;
	width: auto !important;
	max-width: none;
}
.map-dropdown-items .am-selected.am-active {
	z-index: 100;
}
.map-dropdown-items .am-selected .am-selected-btn {
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	height: 3rem;
	line-height: 1;
	padding: 0 1rem !important;
	box-sizing: border-box;
	border: 0.1rem solid #e5e5e5;
	background: #fff;
	color: #666;
	text-align: left;
}
.map-dropdown-items .am-selected.is-selected .am-selected-btn {
	color: var(--color-main) !important;
	border-color: var(--color-main) !important;
	font-weight: bold;
}
.map-dropdown-items .am-selected.is-selected .am-selected-status {
	color: var(--color-main);
}
.map-dropdown-items .am-selected .am-selected-status {
	width: auto;
	max-width: 12rem;
	display: block;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.map-dropdown-items .am-selected .am-selected-icon {
	margin-left: 0.6rem;
	line-height: 1;
	position: relative;
	top: 0.05em;
}
.map-dropdown-items .am-selected .am-selected-content {
	z-index: 110;
	min-width: 100%;
	width: auto;
}
.map-dropdown-items .input-clearout-submit {
	display: none !important;
}
.map-images-text-items ul > li {
	float: left;
	vertical-align: middle;
	text-align: center;
	line-height: 3.6rem;
	height: 3.6rem;
	width: 12.4rem;
	margin: 0 1rem 1rem 0;
}
.map-images-text-items ul > li > a,
.map-text-items ul > li > a {
	display: block;
	border-radius: 0.2rem;
	cursor: pointer;
}
.map-images-text-items ul > li > a img {
	margin: 0 auto;
	max-width: 100%;
	max-height: 2.4rem;
}
.map-text-items ul > li {
	float: left;
	margin: 0 1rem 1rem 0;
	line-height: 2rem;
}
.map-images-text-items ul > li > a,
.map-text-items ul > li > a {
	border: 0.1rem solid transparent;
}
.map-text-items ul > li > a {
	padding: 0.2rem 1rem !important;
}
.map-images-text-items ul > li.active > a,
.map-text-items ul > li.active a {
	border: 0.1rem solid var(--color-main);
}
.map-images-text-items ul > li.active > a,
.map-text-items ul li.active a {
	color: var(--color-main) !important;
	font-weight: bold;
}
.map-item > li:first-child {
	line-height: 1rem;
	border-bottom: 0.1rem solid #F5F5F5;
	margin-bottom: 1rem;
}
.map-item > li:first-child p {
	margin-left: 3.4rem;
	padding: 2rem 0;
}
.map-item .map-more-submit {
	position: absolute;
	top: 1.3rem;
	right: 4rem;
	height: 2rem;
	line-height: 2rem;
	color: #999999;
	cursor: pointer;
	z-index: 5;
}
#search-map .am-offcanvas-bar {
	background: #FFFFFF;
}
#search-map .am-offcanvas-bar:after {
	background: transparent;
}
#search-map .am-offcanvas-content,
#search-map .am-offcanvas-content a {
	padding: 0;
	color: #333333;
}
@media only screen and (min-width: 641px) {
	.map-images-text-items ul > li > a:hover,
	.map-text-items ul > li > a:hover,
	.map-remove-submit:hover {
		color: var(--color-main) !important;
		font-weight: bold;
	}
	.map-item .map-more-submit:hover {
		color: var(--color-main);
	}
	#search-map {
		display: block;
		position: relative;
		background: transparent;
		z-index: 20;
	}
	#search-map:has(.am-selected.am-active) {
		z-index: 80;
	}
	#search-map .am-offcanvas-bar {
		position: relative;
		overflow: visible;
		transition: none;
		transform: none;
		width: auto;
	}
	#search-map .am-offcanvas-content,
	#search-map .map-item {
		overflow: visible;
	}
}
@media only screen and (max-width: 1024px) {
	#search-map {
		margin: 0 0.6rem;
	}
}
@media only screen and (max-width: 640px) {
	#search-map .am-offcanvas-bar {
		width: 85%;
	}
	#search-map .am-offcanvas-content {
		padding: 0;
	}
	.map-item {
		margin-top: 0;
	}
	.map-item > li > a {
		border: 0;
		background: #f0f0f0;
	}
	.map-item > .map-brand-container,
	.map-item > .map-category-container,
	.map-item > .screening-price-container,
	.map-item > .goods-place-origin-container,
	.map-item > .map-params-spec-row,
	.map-item .brand-info {
		flex-direction: column;
	}
	.map-item .map-left,
	.map-item .map-right {
		flex: none;
		width: 100%;
	}
	.map-item .map-right {
		background: #FFFFFF;
	}
	/* 手机标题行统一高度；品牌不再用 PC 的 5.6rem */
	.map-item .map-left,
	.map-brand-container .map-left {
		line-height: 3.6rem !important;
		text-align: left !important;
		padding: 0 5rem 0 1rem;
		box-sizing: border-box;
	}
	.map-item > li > a:first-child {
		border-bottom: 0.2rem solid #e1e1e1;
	}
	/* 「更多」相对整行定位到标题行最右侧（已移出 map-right，不会被 overflow 裁切） */
	.map-item .map-more-submit {
		top: 0.8rem;
		right: 1rem;
	}
	.map-item > li:first-child p {
		padding: 1.5rem 0 1.5rem 0;
		margin-left: 1.8rem;
	}
	.map-remove-submit {
		line-height: 4rem !important;
		margin-right: 2rem;
	}
	.map-images-text-items,
	.map-text-items {
		padding-right: 1rem;
	}
	.map-item > li {
		margin-bottom: 1rem;
	}
}
/**
 * 条件指定品牌信息
 */
.brand-info .map-images-text-items {
	padding: 1.5rem 1.5rem 0 1.5rem;
	height: 8.4rem;
}
.brand-info .info-logo,
.brand-info .info-logo-empty {
	width: 15rem;
	height: 5.4rem;
	border: 0.1rem solid #eee;
}
.brand-info .info-logo-empty {
	line-height: 4.6rem;
}
.brand-info .info-right {
	width: calc(100% - 16.5rem);
}
.brand-info .info-name,
.brand-info .info-desc {
	line-height: 1.6rem;
}
.brand-info .info-desc {
	color: #999;
}
@media only screen and (min-width: 641px) {
	.brand-info .map-left {
		line-height: 8.4rem !important;
	}
}
/**
 * 条件基础信息
 */
.map-base-tips {
	background: #fafafa;
	border-bottom: 0.1rem solid #eee;
}
.map-base-tips .map-offcanvas-submit {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	bottom: 0;
	height: 3rem;
	color: #666 !important;
	background-color: transparent;
	border-color: #eee;
}
/**
 * 导航
 */
.search-nav {
	position: relative;
	margin-top: 1rem;
}
.search-nav .am-sticky-placeholder .am-sticky {
	border-width: 0 0.1rem 0.1rem 0.1rem;
	background: #FFFFFF;
	border-bottom: 0.1rem solid #F5F5F5;
}
@media only screen and (min-width: 641px) {
	.search-nav .am-sticky-placeholder {
		margin: 0 0.5rem !important;
	}
}
@media only screen and (min-width: 1025px) {
	.search-nav .am-sticky-placeholder {
		margin: 0 !important;
	}
}
@media only screen and (max-width: 640px) {
	.search-nav {
		margin-top: 0.5rem;
	}
	.search-nav .sort-nav {
		border-width: 0.1rem 0;
	}
	.search-nav .am-sticky-placeholder .am-sticky {
		border-width: 0 0.1rem 0.1rem 0;
	}
}
/**
 * 排序
 */
.sort-nav {
	padding: 0px;
	width: 100%;
	overflow: hidden;
	height: 4rem;
	background: var(--body-bg-color);
}
.sort-nav li {
	float: left;
	height: 4rem;
	line-height: 4rem;
	text-align: center;
	cursor: pointer;
	display: inline;
	width: auto;
}
.sort-nav li:first-of-type a {
	padding-left: 1rem;
}
.sort-nav li a {
	font-size: 1.4rem;
	text-decoration: none;
	padding: 0.6rem 2rem;
}
.sort-nav li.active a {
	color: var(--color-main);
}
.sort-nav li:last-of-type {
	float: right;
}
.layout-styles i {
	padding: 1.2rem 1rem;
	font-size: 1.6rem;
}
@media only screen and (min-width: 641px) {
	.sort-nav a:hover,
	.sort-nav a:focus {
		color: var(--color-main);
	}
}
@media only screen and (max-width: 640px) {
	.sort-nav li a {
		padding: 0.6rem 0.8rem;
	}
}

/**
 * 排序导航里面价格滑条
 */
.sort-nav-map-price-content {
	width: 22rem;
}
.sort-nav-map-price-range-slider-input,
.sort-nav-map-price-bottom-operate {
	display: none;
}
.sort-nav-map-price-content .sort-nav-map-price-input input {
	width: 8rem;
}
.sort-nav-map-price:hover .sort-nav-map-price-content {
	position: absolute;
	z-index: 3;
    background: #fff;
    border: 0.1rem solid #ededed;
    box-shadow: var(--box-shadow);
    top: -0.5rem;
    padding: 0.5rem 1rem 1rem 1rem;
}
.sort-nav-map-price:hover .sort-nav-map-price-range-slider-input,
.sort-nav-map-price:hover .sort-nav-map-price-bottom-operate {
	display: block;
}
@media only screen and (max-width: 1024px) {
	.sort-nav-map-price {
		display: none !important;
	}
}

/**
 * 分页
 */
@media only screen and (max-width: 1024px) {
	.search-pages-submit {
		margin: 0 auto;
		width: calc(100% - 1rem);
	}
}
.pagination-margin-top {
	margin-top: 6rem;
}
.pagination-margin-top li a {
	border: 0.1rem solid #d9d9d9;
	background: #FFFFFF;
}

/**
 * 列表加载遮罩（保留原内容，盖一层加载中）
 */
.search-goods-panel {
	position: relative;
	min-height: 12rem;
}
.search-goods-loading-mask {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	/* 中心略白，四周渐隐到透明，避免贴边硬边框感 */
	background: radial-gradient(
		ellipse 85% 75% at 50% 45%,
		rgba(255, 255, 255, 0.55) 0%,
		rgba(255, 255, 255, 0.32) 42%,
		rgba(255, 255, 255, 0.12) 68%,
		rgba(255, 255, 255, 0) 100%
	);
}
.search-goods-loading-mask.am-hide {
	display: none !important;
}
.search-goods-loading-inner {
	text-align: center;
	color: #666;
	padding: 1.2rem 1.6rem;
	background: rgba(255, 255, 255, 0.92);
	border: 0.1rem solid rgba(0, 0, 0, 0.06);
	border-radius: 0.4rem;
	box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
}
.search-goods-loading-inner > i {
	font-size: 2.4rem;
	color: #666;
}
.search-goods-loading-inner > p {
	margin: 0.8rem 0 0 0;
	font-size: 1.4rem;
	line-height: 1.4;
}
