/* ============================================================
   响应式相册图片网站模板 复刻版样式
   参考原型：https://yanshi2.7n5.cn/s504/
   断点：1310 / 1280 / 800 / 780 / 500 / 400
   ============================================================ */
@charset "UTF-8";

/* ---------- 全局 ---------- */
body {
	font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
	background: #eef1f8;
	margin: 0 auto;
	font-size: 14px;
	color: #333;
	position: relative;
	overflow-x: hidden;
}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
ul, li, h1, h3, h4, p, figure {
	margin: 0;
	padding: 0;
}
ul { list-style: none; }
a {
	color: #333;
	text-decoration: none;
	transition: color .2s;
}
a:hover { color: #ff6765; }
img {
	border: 0;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
.cl::after, .cl::before {
	content: "";
	display: table;
}
.cl::after { clear: both; }
button, input {
	font-family: inherit;
	outline: 0;
}

/* ---------- 头部导航（桌面） ---------- */
.index_header {
	height: 90px;
	background: #fff;
	margin-bottom: 20px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, .07);
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	transition: top .5s;
	z-index: 99;
	opacity: .98;
}
.index_header.hiddened { top: -90px; }
/* 顶部固定导航 90px，桌面端整体下移内容，避免盖住轮播图等首屏内容 */
body.body_top { padding-top: 90px; }
.header_inner {
	max-width: 1280px;
	width: 100%;
	height: auto;
	margin: 0 auto;
	display: flow-root; /* 替代 overflow:hidden：包裹浮动但不裁切二级下拉菜单 */
}
.logo {
	line-height: 90px;
	float: left;
	overflow: hidden;
	position: relative;
}
.logo img {
	transition: all .4s;
	height: 50px;
	width: auto;
}
.logo .logo-pc { display: inline-block; }
.logo .logo-moible { display: none; }

.header_menu {
	float: left;
	height: 90px;
	line-height: 100px;
	font-size: 16px;
	margin-left: 25px;
	color: #666;
}
.header_menu ul li {
	float: left;
	height: 90px;
	line-height: 90px;
	position: relative;
	text-align: center;
}
.header_menu ul li a {
	color: #333;
	text-decoration: none;
	display: block;
	padding: 0 15px;
}
.header_menu ul li a:hover,
.header_menu ul li.current > a {
	color: #ff6765;
}

/* 顶部搜索（桌面） */
.header_search_bar {
	float: right;
	width: auto;
	height: 40px;
	background: #e6e6e6;
	margin-top: 25px;
	border-radius: 4px;
	transition: all .4s;
}
.search_bar_input {
	width: 120px;
	float: right;
	height: 40px;
	padding-left: 8px;
	border: none;
	background: 0 0;
	outline: 0;
	transition: all .3s;
}
.search_bar_btn {
	height: 40px;
	float: right;
	background: 0 0;
	border: none;
	font-size: 20px;
	color: #a0a0a0;
	padding: 0 10px 0 8px;
	outline: none;
	cursor: pointer;
}
.header_search_bar:focus-within .search_bar_input { width: 160px; }

/* 顶部购物车（桌面端，位于登录图标左侧，左右与搜索栏/登录图标留隙） */
.header-cart {
	float: right;
	position: relative;
	height: 40px;
	line-height: 40px;
	margin: 25px 12px 0 12px;
	font-size: 20px;
	color: #666;
}
.header-cart:hover { color: #ff6765; }

/* 顶部登录入口（桌面端，位于最右侧；未登录灰色，已登录马卡龙绿） */
.header-login {
	float: right;
	position: relative;
	height: 40px;
	line-height: 40px;
	margin: 25px 15px 0 0;
	font-size: 20px;
	color: #999;
	text-decoration: none;
	transition: color .3s;
}
.header-login:hover { color: #666; }
.header-login.is-login { color: #7fd99c; }
.header-login.is-login:hover { color: #5fcb85; }

/* 购物车角标（桌面/移动共用） */
.cart-badge {
	position: absolute;
	top: -6px;
	right: -10px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 8px;
	background: #ff6765;
	color: #fff;
	font-size: 11px;
	font-style: normal;
	line-height: 16px;
	text-align: center;
}

/* 移动端触发按钮（默认隐藏） */
.login_text { display: none; }

/* ---------- 移动端抽屉（菜单 / 搜索） ---------- */
.header-molble-menu, .header-molble-sosuo {
	display: block;
	height: 0;
	position: fixed;
	top: 50px;
	left: 0;
	width: 100%;
	overflow: auto;
	background: #fff;
	box-shadow: 0 4px 3px rgba(0, 0, 0, .27);
	z-index: 999;
	transition: height .3s ease;
}
.molble-search-box {
	width: 100%;
	padding: 20px 10px 10px;
	border-top: solid 1px #d2cfcf;
}
.molble-search-box > form {
	width: 100%;
	position: relative;
}
.molble-search-box > form > .search_moible_input {
	width: 100%;
	background: #f0f0f0;
	border-radius: 5px;
	line-height: 32px;
	height: 32px;
	padding: 0 40px 0 10px;
	border: none;
	outline: 0;
}
.molble-search-box > form > .search_moible_btn {
	position: absolute;
	right: 0;
	top: 0;
	height: 32px;
	border: none;
	line-height: 32px;
	width: 32px;
	text-align: center;
	background: 0 0;
	color: #b1afaf;
	outline: none;
	font-size: 14px;
	cursor: pointer;
}
.menu-moible-slide { padding: 0 10px 10px; }
.menu-moible-slide > li {
	display: inline-block;
	width: 100%;
	line-height: 40px;
	border-bottom: solid 1px #f1f1f1;
}
.menu-moible-slide > li:last-child { border-bottom: none; }
.menu-moible-slide > li > a {
	color: #666;
	display: inline-block;
	padding: 0 5px;
	font-weight: 700;
}
.menu-moible-slide > li.current > a { color: #ff6765; }

/* ---------- 首页轮播 ---------- */
.site-wrap {
	position: relative;
	width: 100%;
	max-width: 1280px;
	overflow: hidden;
	height: auto;
	margin: 0 auto 20px;
}
/* 轮播图固定 21:9 比例，不随图片尺寸变化；图片按 cover 裁切填充 */
.site-wrap .swiper { overflow: hidden; aspect-ratio: 21 / 9; }
.site-wrap .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-wrap .swiper-pagination-bullet {
	background: #fff;
	opacity: .5;
}
.site-wrap .swiper-pagination-bullet-active {
	opacity: 1;
}

/* ---------- 首页分类推荐四宫格 ---------- */
.cxudy-indextj {
	width: 100%;
	max-width: 1296px;
	margin: 0 auto;
}
.indextj-box .item {
	float: left;
	width: 25%;
	padding: 8px;
}
.indextj-box .item a {
	display: block;
	overflow: hidden;
}
.indextj-box .item .indextk-img-box {
	border-radius: 6px;
	overflow: hidden;
	position: relative;
}
.indextj-box .item .indextk-img-box img {
	width: 100%;
	height: auto;
	transition: all .6s;
}
.indextj-box .item:hover .indextk-img-box img {
	transform: scale(1.08);
}
.indextj-box .indextk-opt-text {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .41);
	opacity: 0;
	padding: 10px;
	transition: all .6s;
	text-align: center;
}
.indextj-box .item:hover .indextk-opt-text { opacity: 1; }
.indextj-box .indextk-opt-text span {
	font-size: 22px;
	color: #fff;
	height: 40px;
	line-height: 40px;
	margin-top: -20px;
	position: relative;
	top: 50%;
	display: block;
}

/* ---------- 首页筛选 pill 栏 ---------- */
.home-filter {
	width: 100%;
	max-width: 1280px;
	margin: 20px auto 0;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.h-screen {
	height: 45px;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.h-screen li a {
	display: inline-block;
	padding: 0 15px;
	font-size: 13px;
	background: #fff;
	border-radius: 20px;
	color: #555;
	line-height: 36px;
	text-align: center;
	margin: 5px 10px;
}
.h-screen li a:hover { color: #f66; }
.h-screen .current a {
	background-color: #fe6e66;
	background: linear-gradient(90deg, #ff2f4d 10%, #fa7f81 90%);
	color: #fff;
}
.h-screen .current a:hover { color: #fff; }

/* ---------- 图片列表（瀑布流卡片） ---------- */
.update_area {
	width: 100%;
	overflow: hidden;
	position: relative;
}
.update_area_content {
	max-width: 1300px;
	width: 100%;
	margin: auto;
	position: relative;
	overflow: hidden;
}
.update_area_lists {
	max-width: 1300px;
	width: 100%;
	margin: 0 auto;
	margin-top: 10px;
	padding-top: 10px;
	margin-bottom: 10px;
	height: auto;
	overflow: hidden;
}
.i_list {
	float: left;
	border-radius: 6px;
	background: #ddd;
	overflow: hidden;
	position: relative;
	margin: 0 10px 20px;
	padding-bottom: 100px; /* 预留底部信息条高度(标题64 + 分类/购物车按钮36) */
	display: flex;
	flex-direction: column;
}
.list_n1 { width: calc(25% - 20px); }
.list_n2 { width: calc(20% - 20px); }
.thumb-srcbox {
	width: 100%;
	position: relative;
	display: inline-block;
	padding-top: 133.3333%; /* 固定 3:4 竖图比例 */
	overflow: hidden;
}
.thumb-srcbox figure {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.thumb-srcbox figure img {
	height: 100% !important;
	width: 100%;
	object-fit: cover;
	transition: all .3s;
}
.i_list:hover > a img,
.ztib-list li a:hover img {
	transform: scale(1.05);
}
.case_info {
	background: #fff;
	position: absolute;
	bottom: 0;
	width: 100%;
	overflow: hidden;
}
.case_info .meta-title {
	width: 100%;
	height: 64px;
	font-size: 14px;
	color: #666;
	font-family: microsoft yahei;
	padding: 8px 10px;
	line-height: 25px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
}
.case_info .meta-post {
	overflow: hidden;
	line-height: 20px;
	color: #b7b7b7;
	padding: 0 10px;
	margin-bottom: 10px;
	height: 20px;
	font-size: 12px;
}
.case_info .meta-post span i {
	margin-left: 6px;
	margin-right: 3px;
}
.cx_like { float: right; }

/* ---------- 卡片底部：分类（左）+ 加入购物车（右） ---------- */
.case_info-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 0 10px 10px;
}
.case_info-foot .meta-cat {
	font-size: 12px;
	line-height: 20px;
	color: #b7b7b7;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.case_info-foot .meta-cat i { margin-right: 3px; }
.btn-add-cart {
	flex-shrink: 0;
	height: 26px;
	padding: 0 12px;
	border: 1px solid #ff6765;
	border-radius: 13px;
	background: #fff;
	color: #ff6765;
	font-family: microsoft yahei;
	font-size: 12px;
	line-height: 24px;
	cursor: pointer;
	white-space: nowrap;
	transition: all .2s;
}
.btn-add-cart:hover,
.btn-add-cart.added {
	background: #ff6765;
	color: #fff;
}

/* ---------- 专题分类（六宫格） ---------- */
.imodule-box {
	width: 100%;
	background-color: #fff;
	max-width: 1280px;
	margin: 0 auto 25px;
	border-radius: 6px;
	padding: 10px 5px;
}
.ztib-list {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.ztib-list li {
	width: 16.666666%;
	height: auto;
	padding: 10px;
}
.ztib-list li a {
	display: block;
	position: relative;
	border-radius: 6px;
	overflow: hidden;
}
.ztib-list li a img {
	width: 100%;
	height: auto;
	transition: all .2s linear;
}
.ztib-list li a h4 {
	width: 100%;
	height: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: center;
	color: #e5e3e3;
	font-size: 1.1em;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .9) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- 友情链接 ---------- */
.link_tit {
	text-align: center;
	font-size: 18px;
	font-weight: 300;
	border-bottom: 1px solid #888;
	height: 12px;
	width: 100%;
	max-width: 200px;
	margin: 10px auto;
}
.link_tit span {
	background-color: #fff;
	padding: 0 10px;
}
.links-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 20px 0 5px;
}
.links-list li { padding: 5px 8px; }
.links-list li a { color: #7d7d7d; }

/* ---------- 列表页分类横幅 ---------- */
.cat_demo2_UI {
	height: 200px;
	padding: 78px 20px 0;
	position: relative;
	color: #fff;
	margin-top: -20px;
	margin-bottom: 10px;
	background-color: #333;
}
.cat_demo2_bgimg {
	background-position: center;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: .3;
}
.demo2-large {
	max-width: 1280px;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	position: relative;
	overflow: visible;
	text-shadow: 2px 1px 3px #000;
	line-height: 25px;
}
.demo2-large h1 {
	padding: 0 0 10px;
	margin: 0 0 10px;
	font-weight: 400;
	position: relative;
	font-size: 24px;
	line-height: 1;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	text-align: center;
}
.demo2-large p {
	text-align: center;
	color: #c5c5c5;
}

/* ---------- 分页 ---------- */
.pagebar {
	padding: 20px;
	overflow: hidden;
	clear: both;
}
.pagebar .pagination {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}
.pagination a {
	background: #fff;
	border: 1px solid #ccc;
	color: #333;
	font-size: 12px;
	padding: 8px 10px;
	margin: 0 2px;
	border-radius: 3px;
	line-height: 100%;
}
.pagination a:hover {
	color: #333;
	border: 1px solid #333;
}
.pagination a.page-num-current {
	color: #fff;
	background: #333;
	border: 1px solid #333;
}

/* ---------- 详情页 ---------- */
.main { overflow: hidden; }
.main_inner {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
}
.main_left {
	width: calc(100% - 320px);
	float: left;
	min-height: 400px;
	border-radius: 10px;
	overflow: hidden;
	height: auto;
}
.s-article { background: #fff; }
.s-ameta {
	background: #fff;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
}

/* 面包屑 */
.header-mbx-nav {
	padding: 20px;
	border-bottom: 1px solid #f3f3f3;
}
.header-mbx-nav a { color: #666; }
.header-mbx-nav a:hover { color: #ff6765; }

/* 标题与元信息 */
.item_title {
	height: auto;
	padding: 30px 20px;
}
.item_title h1 {
	color: #333;
	font-size: 30px;
	font-weight: 500;
}
.item_images_info {
	padding: 0 10px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #aaa;
	font-size: 13px;
	border-bottom: 1px solid #f3f3f3;
	padding-bottom: 15px;
}
.item_images_info a { color: #999; }
.item_images_info span { margin: 0 5px; }
.item_images_info span i { margin-right: 3px; }
.content { padding-bottom: 20px; }

/* 图片查看器 */
#play {
	width: 90%;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin: 5px auto;
	min-height: 200px;
}
#play .change_a {
	width: 50%;
	height: 100%;
	position: absolute;
	top: 0;
	z-index: 1;
	cursor: pointer;
	display: block;
	overflow: hidden;
	background: url(about:blank);
}
#play .prev_a { left: 0; }
#play .next_a { right: 0; }
#play .change_a span {
	width: 24px;
	height: 43px;
	display: none;
	position: absolute;
	top: 50%;
	margin-top: -21px;
}
#play .prev_a span {
	background: url(https://yanshi2.7n5.cn/s504/skin/images/s_gallery_2012110702.png) no-repeat 0 -50px;
	left: 0;
}
#play .next_a span {
	background: url(https://yanshi2.7n5.cn/s504/skin/images/s_gallery_2012110702.png) no-repeat -30px -50px;
	right: 0;
}
#play .change_a:hover span { display: block; }
#play .img_ul {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	list-style: none;
}
#play .img_ul li { display: none; }
#play .img_ul li.on { display: block; }
#play .img_ul li img { max-width: 100%; }

/* 缩略图条 */
.img_hd {
	width: 90%;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-color: #eee;
	overflow: hidden;
	height: 66px;
	padding: 2px 0;
	margin: 5px auto;
	position: relative;
}
.img_hd ul {
	position: absolute;
	z-index: 1;
	list-style: none;
	margin: 0;
	padding: 0;
}
.img_hd ul li {
	float: left;
	width: 80px;
	height: 60px;
	border: 3px solid #eee;
	cursor: pointer;
	margin: 0 3px 0 1px;
	overflow: hidden;
	display: inline;
	text-align: center;
}
.img_hd ul li img { height: 60px; }
.img_hd ul li.on { border-color: rgb(45, 150, 233); }
.img_hd .bottom_a {
	background: url(https://yanshi2.7n5.cn/s504/skin/images/s_gallery_2012110702.png) no-repeat;
	width: 22px;
	height: 22px;
	position: absolute;
	display: block;
	top: 50%;
	margin-top: -11px;
	cursor: pointer;
	z-index: 10;
	opacity: .7;
}
.img_hd .prev_a { background-position: 0 -24px; left: 5px; }
.img_hd .next_a { background-position: -30px -24px; right: 5px; }
.img_hd .bottom_a:hover { opacity: 1; }

/* 相关推荐 */
.content_right_title {
	line-height: 30px;
	font-size: 16px;
	color: #000;
	overflow: hidden;
	padding-left: 20px;
	position: relative;
	margin-top: 20px;
}
.content_right_title::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 8px;
	width: 3px;
	height: 16px;
	background: #fe6e66;
	border-radius: 2px;
}
.xg_content {
	overflow: hidden;
	padding: 10px 10px 0;
	border-bottom: 1px solid #eee;
}
.xg_content li {
	border: solid 1px #f0f0f0;
}
.xg_content li .case_info { background: #fafafa; }
.xg_content .list_n1 { margin: 0 10px 20px; }

/* ---------- 页脚 ---------- */
footer {
	text-align: center;
	padding-bottom: 20px;
	background: #fff;
	clear: both;
}
.w1080 {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
}
.fot {
	padding-top: 20px;
	text-align: center;
	color: #666;
	font-size: 14px;
}
.fot p { line-height: 35px; margin: 0; }
.footer_menus a {
	color: #f1aba7;
	position: relative;
	padding: 0 15px;
}
.footer_menus a::after {
	position: absolute;
	right: 0;
	top: -7px;
	content: "|";
	font-size: 1em;
	color: #b5b2b2;
}
.footer_menus a:last-child::after {
	position: initial;
	display: none;
}
.fot a { color: #666; }

/* ---------- 返回顶部 ---------- */
.position-right {
	position: fixed;
	right: 20px;
	bottom: 20%;
	z-index: 99;
}
.rbtnlist {
	display: flex;
	align-items: center;
	flex-direction: column;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 0 14px rgba(0, 0, 0, .2);
}
.rbtnlist > li.only-icon {
	line-height: 30px;
	display: none;
	background: #fff;
	width: 40px;
	height: 40px;
	text-align: center;
}
.rbtnlist > li.only-icon i { font-size: 1.4em; }
.rbtnlist > li a {
	color: #293042;
	line-height: 40px;
	display: block;
	width: 100%;
}
.rbtnlist > li:hover { background-color: #293042; }
.rbtnlist > li:hover a { color: #fff; }

/* ============================================================
   门户登录页
   ============================================================ */
.login-body { padding-top: 0 !important; background: #f5f6f8; }
.login-topbar { padding: 15px 20px; }
.login-back {
	font-size: 15px;
	color: #666;
	text-decoration: none;
}
.login-back:hover { color: #ff6765; }
.login-back > i { margin-right: 4px; }
.login-page {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 15px 60px;
}
.login-card {
	width: 100%;
	max-width: 380px;
	padding: 36px 32px 40px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
	box-sizing: border-box;
}
.login-logo {
	margin-bottom: 18px;
	text-align: center;
}
.login-logo img { max-width: 160px; max-height: 56px; }
.login-logo span { font-size: 22px; font-weight: 600; color: #333; }
.login-title {
	margin: 0 0 6px;
	font-size: 24px;
	color: #333;
}
.login-hint {
	margin: 0 0 22px;
	font-size: 13px;
	color: #999;
}
.login-error {
	margin: 0 0 16px;
	padding: 9px 12px;
	border-radius: 4px;
	font-size: 13px;
	color: #f56c6c;
	background: #fef0f0;
}
.login-error > i { margin-right: 6px; }
.login-form { width: 100%; }
.login-field { margin-bottom: 18px; }
.login-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: #666;
}
.login-field input {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #dcdfe6;
	border-radius: 4px;
	font-size: 14px;
	color: #333;
	outline: 0;
	box-sizing: border-box;
	transition: border-color .2s;
}
.login-field input:focus { border-color: #ff6765; }
.login-submit {
	width: 100%;
	height: 42px;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	color: #fff;
	background: #ff6765;
	cursor: pointer;
	transition: opacity .2s;
}
.login-submit:hover { opacity: .9; }

/* ============================================================
   响应式断点
   ============================================================ */

/* ≥800px：隐藏移动端元素 */
@media (min-width: 800px) {
	.login_text { display: none !important; }
}

/* ≤800px：头部折叠、列表两列 */
@media (max-width: 800px) {
	.header_menu, .pc { display: none; }
	.logo .logo-pc { display: none; }
	.logo .logo-moible { display: inline-block; }
	.main_left { width: 100%; }
	.ztib-list li { width: 33.3333%; }
	.index_header {
		max-height: 50px;
		margin-bottom: 10px;
	}
	.index_header.hiddened { top: 0; }
	body.body_top { padding-top: 60px; }
	.logo {
		line-height: 50px;
		padding-left: 5px;
	}
	.logo img {
		width: auto;
		height: 40px;
	}
	.header_search_bar { display: none; }
	.login_text {
		display: block;
		float: right;
		padding-top: 0;
	}
	.login_text > a {
		position: relative;
		line-height: 50px;
		height: 50px;
		display: inline-block;
		padding: 0 10px;
		max-width: 44px;
	}
	.login_text .cart-badge { top: 5px; right: 1px; }
	.login_text > a > i {
		font-size: 24px;
		color: #666;
		margin-right: 0;
	}
	/* 移动端登录入口：未登录灰色，已登录马卡龙绿 */
	.login_text > a.moible-login-link { color: #999; }
	.login_text > a.moible-login-link > i { color: #999; }
	.login_text > a.moible-login-link.is-login,
	.login_text > a.moible-login-link.is-login > i { color: #7fd99c; }
	.list_n1, .list_n2, .list_n3 {
		width: calc(50% - 10px);
		margin: 0 5px 10px;
	}
	/* 门户登录页（手机端） */
	.login-page { padding: 10px 12px 40px; }
	.login-card { padding: 26px 18px 30px; }
	.xg_content .list_n1, .xg_content .list_n2 {
		width: calc(50% - 10px);
		margin: 0 5px 10px;
	}
	.xg_content { padding: 5px 5px 0; }
	.cat_demo2_UI {
		margin-top: -10px;
		padding: 48px 20px 0;
	}
	.header-mbx-nav { padding: 15px; }
	.item_title { padding: 0 15px 15px; }
	.item_title h1 {
		font-size: 20px;
		line-height: 30px;
	}
	.single_mianimage .item_images_info span.cx-views { display: none; }
	.item_images_info { padding: 0 10px 5px; }
}

/* ≤780px：分类卡片遮罩常显 */
@media (max-width: 780px) {
	.indextj-box .indextk-opt-text { opacity: 1; }
	.indextj-box .indextk-opt-text span {
		font-size: 16px;
		height: 30px;
		line-height: 30px;
		margin-top: -15px;
	}
	.fot { font-size: 12px; }
	.link_tit { transform: scale(.8); }
}

/* ≤500px：移动端核心布局 */
@media (max-width: 500px) {
	body { background: #fff; }
	.update_area { background: #eef1f8; }
	.i_list { padding-bottom: 84px; } /* 预留底部信息条高度(标题52 + 分类/购物车按钮32) */
	.case_info .meta-title {
		height: 52px;
		font-size: 12px;
		line-height: 20px;
	}
	.case_info-foot { padding: 0 8px 8px; }
	.btn-add-cart { height: 24px; padding: 0 9px; line-height: 22px; font-size: 11px; }
	/* 购物车页（手机）样式见下方 cart 基础样式之后的同名媒体查询（级联顺序需在其后才能生效） */
	.main { padding: 0 5px 20px; }
	.site-wrap {
		margin-bottom: 10px;
		padding: 0 5px;
	}
	/* 筛选栏变为横向滚动 tab */
	.home-filter {
		margin-top: 10px;
		margin-bottom: 0;
	}
	.h-screen-wrap {
		position: relative;
		width: 100% !important;
		overflow: hidden;
		height: 40px;
		background: #fff;
	}
	.h-screen-wrap::before, .h-screen-wrap::after {
		content: ' ';
		position: absolute;
		top: 0;
		height: 100%;
		width: 10px;
		z-index: 999;
	}
	.h-screen-wrap::before {
		background: linear-gradient(269deg, transparent 10%, #fff 90%);
		left: 0;
	}
	.h-screen-wrap::after {
		background: linear-gradient(90deg, transparent 10%, #fff 90%);
		right: 0;
	}
	.h-screen {
		height: 55px;
		overflow: visible;
		overflow-y: auto;
		display: flex;
		flex-direction: row;
		white-space: nowrap;
		flex-wrap: nowrap;
	}
	.h-screen li {
		display: inline-block;
		float: none;
	}
	.h-screen li a {
		padding: 0 8px;
		font-size: 14px;
		background: #fff;
		border-radius: 20px;
		color: #555;
		line-height: 40px;
		text-align: center;
		margin: 0;
	}
	.h-screen li a:hover { color: #666; }
	.h-screen .current a {
		background: 0 0 !important;
		color: #222;
		box-shadow: none;
		font-weight: 700;
		transform: scale(1.15);
		position: relative;
	}
	.h-screen .current a::after {
		content: ' ';
		position: absolute;
		bottom: 7px;
		width: 10px;
		height: 2px;
		border-radius: 2px;
		left: 50%;
		background: #222;
		transform: translateX(-50%);
	}
	.h-screen .current a:hover { color: #222; }
	.update_area_lists { padding: 0 5px; }
	.imodule-box { margin: 0; }
	.ztib-list li { width: 50%; }
	/* 手机端图片左右两侧留出 gap */
	.list_n1, .list_n2 {
		width: 47%;
		margin: 0 1.5% 10px;
	}
	.xg_content .list_n1, .xg_content .list_n2 {
		width: 47%;
		margin: 0 1.5% 10px;
	}
}

/* ≤400px 微调 */
@media (max-width: 400px) {
        .indextj-box .item { padding: 4px; }
        .demo2-large h1 { font-size: 20px; }
}

/* ---------- 款号详情页 ---------- */
.style-detail {
        max-width: 1280px;
        margin: 24px auto;
        padding: 0 16px;
        display: flex;
        gap: 32px;
        align-items: flex-start;
}
.style-detail-gallery { flex: 1; min-width: 0; }
.style-detail-stage { position: relative; }
/* 主图左右切换按钮 */
.sd-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.35);
        color: #fff;
        font-size: 26px;
        line-height: 38px;
        text-align: center;
        cursor: pointer;
        z-index: 2;
        transition: background 0.2s;
        padding: 0;
}
.sd-nav:hover { background: rgba(0, 0, 0, 0.6); }
.sd-prev { left: 12px; }
.sd-next { right: 12px; }
.style-detail-main {
        display: block;
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: contain;
        background: #fff;
        border: 1px solid #e8ecf4;
}
.style-detail-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.style-detail-thumbs img {
        width: 84px;
        height: 112px;
        object-fit: cover;
        cursor: pointer;
        border: 2px solid transparent;
        background: #fff;
}
.style-detail-thumbs img.on { border-color: #333; }
.style-detail-empty { padding: 80px 0; text-align: center; color: #999; background: #fff; }
.style-detail-info { width: 320px; flex-shrink: 0; }
.style-detail-info h1 { font-size: 22px; margin: 0 0 6px; word-break: break-all; }
.sd-name { color: #777; margin: 0 0 18px; font-size: 14px; }
.sd-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e8ecf4; }
.sd-rows li {
        display: flex;
        padding: 9px 0;
        border-bottom: 1px solid #e8ecf4;
        font-size: 14px;
        line-height: 1.6;
}
.sd-rows li span { width: 92px; color: #999; flex-shrink: 0; }
.sd-rows li b { font-weight: normal; color: #333; word-break: break-all; }
.sd-back {
        display: inline-block;
        margin-top: 20px;
        padding: 8px 22px;
        border: 1px solid #ddd;
        color: #555;
        text-decoration: none;
        font-size: 14px;
}
.sd-back:hover { border-color: #333; color: #111; }

/* 详情页操作区：加入购物车 + 查看购物车 */
.sd-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
}
.sd-add-cart {
	height: 40px;
	padding: 0 26px;
	border: 1px solid #ff6765;
	border-radius: 20px;
	background: #ff6765;
	color: #fff;
	font-size: 14px;
	line-height: 38px;
	cursor: pointer;
	transition: all .2s;
}
.sd-add-cart:hover { background: #e5524f; border-color: #e5524f; }
.sd-add-cart.added { background: #fff; color: #ff6765; }
.sd-cart-link { color: #666; font-size: 14px; text-decoration: none; }
.sd-cart-link:hover { color: #ff6765; }
.sd-cart-link i { margin-left: 2px; }

/* ---------- 购物车页 ---------- */
.cart-page {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px 30px;
}
.cart-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 6px 2px 14px;
	border-bottom: 1px solid #e8ecf4;
}
.cart-head h1 { font-size: 20px; margin: 0; color: #333; }
.cart-total { color: #999; font-size: 13px; }
.cart-loading { padding: 60px 0; text-align: center; color: #999; }
.cart-list { background: #fff; border-radius: 6px; padding: 0 14px; }
.cart-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f2f8;
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
	flex-shrink: 0;
	width: 66px;
	height: 88px;
	background: #f5f6fa;
	border-radius: 4px;
	overflow: hidden;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name {
	display: block;
	color: #333;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.cart-item__name:hover { color: #ff6765; }
.cart-item__meta { margin-top: 6px; color: #b7b7b7; font-size: 12px; }
.cart-item__meta i { margin-right: 3px; }
.cart-item__remove {
	flex-shrink: 0;
	border: none;
	background: none;
	color: #999;
	font-size: 13px;
	cursor: pointer;
	padding: 4px 6px;
}
.cart-item__remove:hover { color: #ff6765; }

/* 询盘表单 */
.inquiry-form {
	margin-top: 18px;
	background: #fff;
	border-radius: 6px;
	padding: 18px 14px 20px;
}
.inquiry-form__title {
	margin: 0 0 14px;
	font-size: 15px;
	color: #333;
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.inquiry-form__title span { font-size: 12px; font-weight: normal; color: #aaa; }
/* 询盘类别开关（仅登录用户可见，默认整理单） */
.inquiry-type {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 13px;
	color: #555;
}
.inquiry-type__opts {
	display: inline-flex;
	border: 1px solid #e0e3ec;
	border-radius: 15px;
	overflow: hidden;
}
.inquiry-type__opt {
	border: none;
	background: #fff;
	color: #777;
	font-size: 12px;
	padding: 6px 14px;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
	outline: none;
}
.inquiry-type__opt + .inquiry-type__opt { border-left: 1px solid #e0e3ec; }
.inquiry-type__opt.is-active {
	background: #ff6765;
	border-color: #ff6765;
	color: #fff;
}
.inquiry-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.inquiry-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #555; }
.inquiry-field span i { color: #ff6765; font-style: normal; margin-left: 2px; }
.inquiry-field input,
.inquiry-field textarea {
	border: 1px solid #e0e3ec;
	border-radius: 4px;
	padding: 9px 10px;
	font-size: 13px;
	color: #333;
	outline: none;
	font-family: inherit;
	transition: border-color .2s;
}
.inquiry-field input:focus,
.inquiry-field textarea:focus { border-color: #ff6765; }
.inquiry-field--area { margin-top: 12px; }
.inquiry-field textarea { min-height: 80px; resize: vertical; }
.inquiry-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 16px;
}
.btn-cart-ghost,
.btn-cart-primary {
	height: 38px;
	padding: 0 24px;
	border-radius: 19px;
	font-size: 14px;
	cursor: pointer;
	transition: all .2s;
}
.btn-cart-ghost {
	border: 1px solid #ddd;
	background: #fff;
	color: #777;
}
.btn-cart-ghost:hover { border-color: #ff6765; color: #ff6765; }
.btn-cart-primary {
	border: 1px solid #ff6765;
	background: #ff6765;
	color: #fff;
}
.btn-cart-primary:hover { background: #e5524f; border-color: #e5524f; }
.btn-cart-primary:disabled { opacity: .6; cursor: default; }

/* 购物车空状态 */
.cart-empty { padding: 70px 0 90px; text-align: center; color: #b7b7b7; }
.cart-empty i { font-size: 54px; }
.cart-empty p { margin: 14px 0 20px; font-size: 14px; }
.btn-go-list {
	display: inline-block;
	padding: 9px 30px;
	border: 1px solid #ff6765;
	border-radius: 20px;
	background: #ff6765;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}
.btn-go-list:hover { background: #e5524f; border-color: #e5524f; color: #fff; }

/* ≤500px：购物车页（手机）—— 必须位于上方 cart 基础样式之后，否则会被同权重的桌面规则覆盖 */
@media (max-width: 500px) {
	.cart-page { padding: 0 8px 20px; }
	.cart-list { padding: 0 10px; }
	.inquiry-grid { grid-template-columns: 1fr; }
	.inquiry-actions { justify-content: stretch; }
	.inquiry-actions .btn-cart-ghost,
	.inquiry-actions .btn-cart-primary { flex: 1; padding: 0 10px; }
	.cart-item { gap: 10px; }
	.cart-item__remove { padding: 10px 12px; }
}

/* ---------- 图片列表翻页 ---------- */
/* 手机端隐藏常规分页条，改为滑动加载（style-list.js） */
@media (max-width: 800px) {
        .pagebar { display: none; }
        .style-detail { flex-direction: column; gap: 18px; }
        .style-detail-info { width: auto; }
}
.style-load-more {
        text-align: center;
        color: #999;
        padding: 18px 0 30px;
        font-size: 13px;
}

/* ---------- 未登录提示：登录后可浏览全部款式 ---------- */
.login-more-tip {
        text-align: center;
        padding: 6px 0 36px;
}
.login-more-tip a {
        display: inline-block;
        padding: 9px 26px;
        border: 1px solid #ddd;
        border-radius: 20px;
        color: #888;
        font-size: 13px;
        text-decoration: none;
        transition: all .2s;
}
.login-more-tip a i { margin-right: 6px; }
.login-more-tip a:hover {
        border-color: #7fd99c;
        color: #5fcb85;
}

/* ---------- 顶部导航二级菜单（款式性别/款式名称） ---------- */
.header_menu .menu-has-sub > a::after {
	content: "\25BE";
	margin-left: 4px;
	font-size: 12px;
}
.header_menu .menu-sub {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 160px;
	max-height: 380px;
	overflow-y: auto;
	padding: 6px 0;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transition: all .2s;
	z-index: 999;
}
.header_menu .menu-item:hover .menu-sub {
	opacity: 1;
	visibility: visible;
}
.header_menu .menu-sub li {
	float: none;
	height: auto;
	line-height: normal;
	display: block;
	text-align: left;
}
.header_menu .menu-sub a {
	display: block;
	padding: 9px 18px;
	font-size: 14px;
	color: #444;
	white-space: nowrap;
	line-height: 1.4;
}
.header_menu .menu-sub a:hover,
.header_menu .menu-sub a.current {
	color: #ff6765;
	background: #f9f9f9;
}

/* 移动端：二级菜单默认收起，点击展开 */
.menu-moible-slide .menu-sub {
	position: static;
	transform: none;
	box-shadow: none;
	background: transparent;
	opacity: 1;
	visibility: visible;
	max-height: none;
	overflow: visible;
	padding: 0 0 6px 14px;
	display: none;
}
.menu-moible-slide .menu-has-sub.open .menu-sub { display: block; }
.menu-moible-slide .menu-sub a {
	padding: 6px 5px;
	color: #777;
	font-weight: 400;
}
.menu-moible-slide .menu-sub a.current { color: #ff6765; }
