@import url('phone.css');
/* QingLan — 蓝色商城首页模板
   尺寸取自参考站 375px 设计稿（1rem≈16px 换算为 px） */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { background: #eef1f5; }
body {
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	font-size: 14px;
	color: #222;
	-webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
input { font-family: inherit; }

.ql-page {
	max-width: 480px;
	margin: 0 auto;
	min-height: 100vh;
	background: linear-gradient(112deg, #f0f6ea 0%, #e4ecf9 42%, #e6f0fa 100%) 0 0 / 100% 197px no-repeat, #f6f8fa;
	padding: 0 14px 70px;
	position: relative;
	overflow-x: hidden;
}

/* ---------- 搜索栏 ---------- */
.ql-search { display: flex; align-items: center; padding: 20px 0 0; }
.ql-search form { flex: 1; min-width: 0; }
.ql-search__box {
	display: flex; align-items: center; gap: 6px;
	height: 36px; padding: 0 12px;
	background: #fff; border-radius: 18px;
	box-shadow: 0 1px 3px rgba(23, 43, 77, .05);
}
.ql-search__box input {
	flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
	font-size: 13px; color: #222;
}
.ql-search__box input::placeholder { color: #9aa3af; }
.ql-kefu { margin-left: 8px; display: flex; align-items: center; justify-content: center; }

/* ---------- 横幅 ---------- */
.ql-swiper {
	position: relative; height: 120px; margin-top: 10px;
	border-radius: 12px; overflow: hidden; background: #e8eefc;
}
.ql-swiper__track { display: flex; height: 100%; transition: transform .45s ease; }
.ql-swiper__slide { flex: 0 0 100%; height: 100%; }
.ql-swiper--empty { background: transparent; box-shadow: none; height: 150px; }
.ql-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; }
.ql-dots i { width: 4px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .55); transition: width .3s; }
.ql-dots i.on { width: 12px; background: #fff; }

/* ---------- 公告 ---------- */
.ql-notice {
	display: flex; align-items: center; gap: 6px;
	margin-top: 10px; padding: 0 10px; height: 32px;
	background: #fff; border-radius: 8px;
}
.ql-notice__tag {
	flex: 0 0 auto; font-size: 10px; color: #3374fb;
	border: 1px solid rgba(51, 116, 251, .35); border-radius: 3px; padding: 0 4px; line-height: 15px;
}
.ql-notice__text {
	flex: 1; min-width: 0; font-size: 12px; color: #666;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ---------- 分类宫格 ---------- */
.ql-cats {
	display: flex; flex-wrap: wrap;
	margin-top: 10px; padding: 16px 0 0;
	background: #fff; border-radius: 14px;
}
.ql-cat {
	width: 20%; display: flex; flex-direction: column; align-items: center;
	margin-bottom: 14px;
}
.ql-cat__ico {
	width: 34px; height: 34px; border-radius: 10px; overflow: hidden;
	background: #eef4ff; color: #3374fb;
	display: flex; align-items: center; justify-content: center;
	font-size: 15px; font-weight: 600;
}
.ql-cat__ico--more { background: transparent; color: #4a8cff; }
.ql-cat__name {
	margin-top: 6px; width: 100%; height: 16px; line-height: 16px;
	font-size: 12px; color: #222; text-align: center;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
	padding: 0 2px;
}

/* ---------- 限时秒杀 ---------- */
.ql-seckill {
	margin-top: 10px; height: 128px; padding: 0 16px;
	background: url("seckill_bg.png") no-repeat center;
	background-size: 100% 100%;
}
.ql-seckill__title { display: flex; align-items: center; height: 30px; }
.ql-seckill__icon { width: 20px; height: 20px; }
.ql-seckill__icon i { display: block; width: 100%; height: 100%; background-repeat: no-repeat; background-size: 100% 100%; }
.ql-seckill__text {
	font-size: 16px; font-weight: 700; margin-left: 6px;
	background: linear-gradient(#f6f8fa, #cce2ff);
	-webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
}
.ql-seckill__more { margin-left: auto; font-size: 11px; font-weight: 400; color: #3374fb; display: flex; align-items: center; }
.ql-seckill__arrow { display: block; width: 5px; height: 8px; margin-left: 5px; background-repeat: no-repeat; background-size: 100% 100%; }
.ql-seckill__list { display: flex; margin-top: 15px; justify-content: space-between; }
.ql-seckill__item {
	position: relative; flex: 0 0 auto;
	width: 69px; height: 69px; padding: 5px 5px 15px;
	box-sizing: border-box;
	background: #fff; border-radius: 10px;
}
.ql-seckill__item + .ql-seckill__item { margin-left: 12px; }
.ql-seckill__pic { width: 100%; height: 49px; border-radius: 10px; overflow: hidden; background: #f4f6fa; }
.ql-seckill__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ql-seckill__price {
	position: absolute; left: 0; top: 50px; width: 69px; height: 16px;
	display: flex; align-items: center; justify-content: center;
}
.ql-seckill__price-t {
	position: relative;
	background: linear-gradient(270deg, #ef2842, #fc834c);
	font-size: 13px; line-height: 15px; font-weight: 600; color: #fef7f6;
	padding: 0 4px 0 8px; border-radius: 4px 4px 4px 0; white-space: nowrap;
}
.ql-seckill__price-t::before {
	content: ""; position: absolute; left: -4px; top: -1px;
	width: 12px; height: 16px;
	background: url("price_fold.png") no-repeat;
	background-size: 100% 100%;
}
.ql-seckill__last { margin-left: auto; }

/* ---------- 热门推荐 ---------- */
.ql-hot { padding-top: 17px; }
.ql-hot__title { font-size: 17px; font-weight: 600; color: #222; line-height: 24px; }
.ql-tabs {
	display: flex; margin-top: 10px;
	overflow-x: auto; overflow-y: hidden;
	-webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.ql-tabs::-webkit-scrollbar { display: none; }
.ql-tab {
	flex: 0 0 auto;
	height: 25px; line-height: 25px;
	background: #fff; color: #666;
	font-size: 14px; padding: 0 14px;
	border-radius: 12.5px;
}
.ql-tab + .ql-tab { margin-left: 10px; }
.ql-tab.on { background: rgba(51, 116, 251, .16); color: #3374fb; }

.ql-goods { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.ql-goods__item {
	display: flex; padding: 10px;
	background: #fff; border: 1px solid #f3f3f3; border-radius: 5px;
}
.ql-goods__pic {
	flex: 0 0 84px; width: 84px; height: 84px; border-radius: 10px;
	overflow: hidden; background: #fbfcfe;
}
.ql-goods__right {
	flex: 1; min-width: 0; margin-left: 10px;
	display: flex; flex-direction: column; justify-content: space-between;
}
.ql-goods__name {
	font-size: 14px; font-weight: 500; color: #222; line-height: 20px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ql-goods__desc {
	margin-top: 3px; font-size: 12px; color: #666; line-height: 16px;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.ql-goods__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.ql-price { color: #fa2b16; line-height: 1; display: flex; align-items: baseline; }
.ql-price i { font-style: normal; font-size: 11px; margin-right: 1px; }
.ql-price b { font-size: 17px; font-weight: 600; }
.ql-price em { font-style: normal; font-size: 11px; font-weight: 600; }
.ql-buy {
	width: 76px; height: 25px; line-height: 25px; text-align: center;
	border-radius: 13px; background: linear-gradient(151deg, #ff9235, #fa6316);
	color: #fff; font-size: 13px;
}
.ql-empty { padding: 30px 0; text-align: center; font-size: 13px; color: #9aa3af; }

/* ---------- 底部导航 ---------- */
.ql-tabbar {
	position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 100%; max-width: 480px; height: 50px;
	padding-bottom: env(safe-area-inset-bottom);
	display: flex; background: #fff;
	border-top: 1px solid #eef0f3;
	z-index: 90;
}
.ql-tabbar__item {
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 2px; color: #9aa3af; font-size: 10px; line-height: 12px;
}
.ql-tabbar__item.on { color: #3374fb; }

/* ---------- 悬浮客服 ---------- */
.ql-float {
	position: fixed; right: 14px; bottom: 70px;
	width: 44px; height: 44px; border-radius: 50%;
	background: linear-gradient(135deg, #63a4ff, #3374fb);
	box-shadow: 0 6px 16px rgba(51, 116, 251, .35);
	display: flex; align-items: center; justify-content: center;
	z-index: 95;
}
@media (min-width: 481px) { .ql-float { right: calc(50% - 240px + 14px); } }

/* ---------- 公告弹窗 ---------- */
.ql-modal {
	position: fixed; inset: 0; z-index: 999;
	background: rgba(15, 23, 42, .5);
	display: flex; align-items: center; justify-content: center; padding: 0 24px;
}
.ql-modal__box {
	width: 100%; max-width: 330px; max-height: 72vh; overflow: auto;
	background: #fff; border-radius: 16px; padding: 20px 18px 16px;
}
.ql-modal__title { font-size: 16px; font-weight: 600; text-align: center; margin-bottom: 10px; }
.ql-modal__body { font-size: 13px; line-height: 1.75; color: #5b6270; white-space: pre-wrap; }
.ql-modal__box button {
	margin-top: 16px; width: 100%; height: 42px; border: 0; border-radius: 21px;
	background: linear-gradient(135deg, #59a4ff, #3374fb); color: #fff; font-size: 15px;
}

/* ================= 专区页 (?mod=class) ================= */
/* 本页使用与参考站一致的 rem 缩放（根字号由 class.php 脚本设置：min(屏宽,430)/750*32） */
.ql-page--class { display: flex; flex-direction: column; box-sizing: border-box; padding: 0 0 calc(50px + env(safe-area-inset-bottom, 0px)); background: #f6f8fa; height: 100vh; height: 100dvh; overflow: hidden; }

/* 搜索区：白胶囊 + 渐变搜索按钮 */
.ql-search { padding: 20px 0 0; }
.ql-page--class .ql-search { padding: 1.0625rem .9375rem .9375rem; }
.ql-search__form { display: flex; align-items: center; gap: 10px; }
.ql-search__form .ql-search__box { flex: 1; min-width: 0; }
.ql-search__btn {
	flex: 0 0 auto; width: 64px; height: 28px; border: 0; padding: 0;
	background: linear-gradient(180deg, #5e88ff, #3367fb);
	box-shadow: 1px 1px 4px rgba(80, 125, 254, .54);
	border-radius: 17px; color: #fff; font-size: 15px; line-height: 28px;
}

/* 顶部分类条：圆形图标 + 文字，选中蓝滑条；右侧「全部」 */
.ql-ctabs {
	position: relative; display: flex; align-items: stretch;
	height: 4.375rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.ql-ctabs__scroll {
	position: relative; flex: 1; display: flex; align-items: stretch;
	overflow-x: auto; overflow-y: hidden;
	-webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.ql-ctabs__scroll::-webkit-scrollbar { display: none; }
.ql-ctab {
	flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	height: 4.375rem; padding: 0 .625rem;
}
.ql-ctab__ico { width: 2.375rem; height: 2.375rem; display: flex; align-items: center; justify-content: center; }
.ql-ctab__ico img { width: 2.03125rem; height: 2.03125rem; border-radius: 50%; display: block; }
.ql-ctab__txt {
	max-width: 3.75rem; margin-top: .125rem; font-size: .75rem; line-height: 1.125rem; color: #666;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ql-ctabs__line {
	position: absolute; bottom: 2px; left: 0; width: 1.5625rem; height: .1875rem;
	border-radius: 100px; background: #3374fb; transition: transform .3s;
}
.ql-ctabs__all {
	position: absolute; right: 0; top: .3125rem; width: 1.875rem; height: 3.75rem;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	background: #fff; border: 0; padding: 0;
	box-shadow: -.1875rem 0 .625rem rgba(89, 101, 126, .36);
	font-size: .75rem; color: #333; cursor: pointer; z-index: 2;
}
.ql-ctabs__all img, .ql-ctabs__all svg.ql-all-ico { width: .75rem; height: 1.375rem; display: block; }
.ql-ctabs.is-open { height: auto; }
.ql-ctabs.is-open .ql-ctabs__scroll { flex-wrap: wrap; height: auto; max-height: 9.375rem; overflow-y: auto; align-content: flex-start; row-gap: .5rem; }
.ql-ctabs.is-open .ql-ctabs__line { display: none; }

/* 双栏：左侧二级分类 + 右侧商品（区域撑满到底部） */
.ql-cate { flex: 1; display: flex; background: #fff; padding-top: .4375rem; min-height: 0; }
.ql-cate__side {
	overflow-y: auto; -webkit-overflow-scrolling: touch;
	flex: 0 0 6.0625rem; width: 6.0625rem; box-sizing: border-box;
	background: rgba(241, 243, 246, .64); border-radius: 0 .625rem 0 0;
	padding: .1875rem .1875rem 0 0;
}
.ql-cate__side a {
	display: block; font-size: .75rem; color: #666; line-height: 1.0625rem;
	padding: .375rem 0 .375rem .9375rem; margin-bottom: .375rem;
	border-radius: 0 .625rem .625rem 0;
	max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ql-cate__side a.on { background: #fff; }
.ql-cate__main { flex: 1; min-width: 0; padding: .3125rem .9375rem .3125rem .75rem; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ql-cate__main .ql-goods__item { margin-top: .625rem; box-shadow: none; padding: 0; background: transparent; }
.ql-cate__main .ql-goods__pic {
	width: 3.75rem; height: 3.75rem; flex: 0 0 3.75rem; border-radius: .625rem;
	overflow: hidden; background: #f6f8fa;
}
.ql-cate__main .ql-goods__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ql-cate__main .ql-goods__right { margin-left: .625rem; justify-content: space-between; }
.ql-cate__main .ql-goods__name { font-size: .875rem; font-weight: 500; color: #222; line-height: 1.25rem; }
.ql-cate__main .ql-goods__desc { display: none; }
.ql-cate__main .ql-price { color: #fa8016; line-height: 1rem; }
.ql-cate__main .ql-price i { font-size: .875rem; margin-right: 0; }
.ql-cate__main .ql-price b { font-size: .875rem; font-weight: 700; }
.ql-cate__main .ql-price em { font-size: .875rem; font-weight: 700; }
.ql-cate__main .ql-goods__bottom { width: 100%; margin-top: .3125rem; }
.ql-cate__main .ql-buy {
	margin-left: auto;
	width: 3.625rem; height: 1.375rem; line-height: 1.3125rem; box-sizing: border-box;
	background: #fff; border: 1px solid #3a6cfb; border-radius: .3125rem;
	color: #3374fb; font-size: .75rem; text-align: center;
}
.ql-goods__car { width: 1.375rem; height: 1.4375rem; margin-left: .5rem; display: block; flex-shrink: 0; }
.ql-cate--wide .ql-cate__main { padding-left: .9375rem; }

/* ================= 订单页 (?mod=query) —— 一比一复刻小川社区订单页 ================= */
.ql-page--order { padding: 0 0 70px; background: #f8f8fa; }
/* 搜索栏 + 右侧筛选 icon */
.ql-osearch { padding: 9px 16px 12px 12px; }
.ql-osearch__form { display: flex; align-items: center; }
.ql-osearch__form .ql-search__box { flex: 1; border-radius: 5px; box-shadow: none; }
.ql-ofilter {
	flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
	width: 23px; height: 23px; margin-left: 11px; padding: 0;
	border: 0; background: none; cursor: pointer;
}
/* 订单 | 待执行 胶囊 */
.ql-otabs {
	display: flex; margin: 0 15px 0 10px; padding: 3px;
	background: #fff; border: 1px solid #3374fb; border-radius: 19px;
}
.ql-otabs__item {
	flex: 1; height: 36px; line-height: 36px; text-align: center;
	font-size: 12px; font-weight: 500; color: #3374fb; border-radius: 19px;
}
.ql-otabs__item.on { background: linear-gradient(180deg, #5e88ff, #3367fb); color: #fff; }
/* 功能标签行 */
.ql-otags { display: flex; justify-content: center; gap: 8px; margin-top: 9px; }
.ql-otag {
	display: inline-flex; align-items: center; height: 25px; padding: 0 6px;
	border: 0; border-radius: 5px; cursor: pointer;
	background: linear-gradient(180deg, #5e88ff, #3367fb);
	font-size: 12px; font-weight: 500; color: #fff; text-decoration: none;
}
/* 当前页订单总金额 */
.ql-osum { margin-top: 8px; text-align: center; font-size: 12px; color: #131313; }
/* 状态文字标签栏（横向滚动，选中黑色加粗+蓝色短横线） */
.ql-ostatus { padding-top: 17px; padding-bottom: 3px; }
.ql-ostatus__bar {
	display: flex; align-items: center;
	margin: 0 12px; overflow-x: auto; scrollbar-width: none;
}
.ql-ostatus__bar::-webkit-scrollbar { display: none; }
.ql-ostatus__item {
	position: relative; flex: 0 0 auto; padding: 6px 11px 10px;
	font-size: 14px; color: #666; white-space: nowrap; text-decoration: none;
}
.ql-ostatus__item.on { color: #222; font-weight: 500; }
.ql-ostatus__item.on::after {
	content: ""; position: absolute; left: 50%; transform: translateX(-50%);
	bottom: 4px; width: 18px; height: 3px; border-radius: 3px; background: #3374fb;
}

.ql-olist { padding: 10px 12px 0; }
.ql-ocard {
	background: #fff; border-radius: 2px; padding: 0 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .03);
}
.ql-ocard + .ql-ocard { margin-top: 10px; }
.ql-ocard__head {
	display: flex; align-items: flex-start;
	min-height: 47px; padding: 10px 0; border-bottom: 1px solid #ededed;
}
.ql-ocard__hl { flex: 1; min-width: 0; }
.ql-ocard__row { font-size: 12px; color: #999; line-height: 17px; word-break: break-all; }
.ql-ocard__copy {
	display: inline-flex; width: 27px; height: 14px;
	align-items: center; justify-content: center; margin-left: 5px;
	border: 1px solid #979797; border-radius: 2px; opacity: .51;
	font-size: 10px; color: #999; cursor: pointer; vertical-align: middle;
}
.ql-ocard__status { margin-left: auto; font-size: 12px; color: #333; line-height: 17px; }
.ql-ocard__status.completed { color: #07c160; }
.ql-ocard__status.processing, .ql-ocard__status.waiting { color: #3374fb; }
.ql-ocard__status.error { color: #fa2b16; }
.ql-ocard__status.refund { color: #ff976a; }

.ql-ocard__body { display: flex; align-items: flex-start; padding: 10px 0 12px; }
.ql-ocard__pic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 5px; overflow: hidden; background: #f4f6fa; }
.ql-ocard__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ql-ocard__info { flex: 1; min-width: 0; padding: 0 12px; }
.ql-ocard__name { font-size: 14px; font-weight: 500; color: #131313; line-height: 20px; margin-top: 4px; }
.ql-ocard__param { font-size: 12px; color: #666; line-height: 17px; margin-top: 6px; word-break: break-all; }
.ql-ocard__param em { font-style: normal; }
.ql-ocard__param .ql-ocard__copy { margin-left: 4px; }
.ql-ocard__right { flex: 0 0 auto; text-align: right; }
.ql-ocard__money { font-size: 14px; font-weight: 500; color: #131313; line-height: 20px; margin-top: 5px; }
.ql-ocard__count { font-size: 12px; color: #999; line-height: 17px; margin-top: 5px; }
/* 灰色数据条（上游进度 或 下单时间+数量） */
.ql-ocard__strip {
	display: flex; align-items: center; justify-content: center;
	height: 24px; margin-top: 7px;
	background: #f8f8fa; border-radius: 5px;
	font-size: 9px; color: #333;
}
.ql-ocard__strip span { padding: 0 5px; white-space: nowrap; }

.ql-ocard__foot { padding: 8px 0 11px; border-top: 1px solid #ededed; }
.ql-ocard__payrow { display: flex; align-items: baseline; justify-content: flex-end; }
.ql-ocard__paylabel { font-size: 10px; color: #131313; }
.ql-ocard__payrow b { font-size: 14px; font-weight: 500; color: #131313; margin-left: 5px; }
.ql-ocard__btns { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.ql-ocard__btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 77px; height: 25px; padding: 0 5px; box-sizing: border-box;
	border: 0; border-radius: 5px;
	background: linear-gradient(180deg, #5e88ff, #3367fb);
	font-size: 12px; font-weight: 500; color: #fff; text-decoration: none;
}
.ql-opager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 0 8px; font-size: 12px; color: #999; }
.ql-opager a { color: #3374fb; }

/* ================= 商品详情页 (?mod=shop) ================= */
.ql-page--shop { padding: 0 0 130px; background: #f6f8fa; }
.ql-shop__nav {
	position: sticky; top: 0; z-index: 20;
	display: flex; align-items: center; justify-content: center;
	height: 44px; background: #fff; border-bottom: 1px solid #f0f2f5;
}
.ql-shop__back { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: #222; display: flex; padding: 6px; }
.ql-shop__nav-t { font-size: 16px; font-weight: 500; color: #222; }

.ql-shop__card { background: #fff; border-radius: 10px; margin: 10px 12px 0; padding: 14px; }
.ql-shop__head { display: flex; flex-wrap: wrap; align-items: flex-start; }
.ql-shop__thumb {
	flex: 0 0 76px; width: 76px; height: 76px; border-radius: 10px;
	overflow: hidden; background: #f1f4f8;
}
.ql-shop__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ql-shop__name { flex: 1; min-width: 0; margin: 0 0 0 12px; font-size: 15px; font-weight: 500; color: #222; line-height: 21px; }
.ql-shop__price { display: flex; align-items: baseline; color: #fa2b16; margin: 8px 0 0 88px; }
.ql-shop__price i { font-style: normal; font-size: 13px; }
.ql-shop__price b { font-size: 22px; font-weight: 600; }
.ql-shop__meta { display: flex; gap: 16px; margin: 10px 0 0 88px; font-size: 12px; color: #999; }

.ql-shop__h2 {
	font-size: 14px; font-weight: 600; color: #222; line-height: 20px;
	padding-left: 9px; border-left: 3px solid #3374fb; margin-bottom: 10px;
}
.ql-shop__desc { font-size: 13px; color: #444; line-height: 1.75; word-break: break-word; }
.ql-shop__desc img { max-width: 100%; height: auto; }

.ql-shop__qty { display: flex; align-items: center; justify-content: space-between; }
.ql-shop__label { font-size: 13px; color: #333; }
.ql-qty { display: flex; align-items: center; border-radius: 6px; overflow: hidden; }
.ql-qty__btn {
	width: 30px; height: 30px; border: 0; background: #f1f4f8; color: #333;
	display: flex; align-items: center; justify-content: center;
}
.ql-qty__btn--plus { background: rgba(51, 116, 251, .12); color: #3374fb; }
.ql-qty input {
	width: 56px; height: 30px; border: 0; background: #f7f9fc;
	text-align: center; font-size: 14px; color: #222; box-sizing: border-box;
	-moz-appearance: textfield;
}
.ql-qty input::-webkit-outer-spin-button, .ql-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ql-shop__tip { font-size: 12px; color: #999; margin-top: 8px; }
.ql-shop__alert { background: #e8f4ff; border: 1px solid #b3d7ff; border-radius: 8px; color: #2f80ed; font-size: 12px; line-height: 1.6; margin-top: 10px; padding: 10px 12px; }

.ql-shop__bar {
	position: fixed; left: 0; right: 0; bottom: 50px; z-index: 30;
	display: flex; align-items: center; gap: 10px;
	height: 56px; padding: 0 12px;
	background: #fff; box-shadow: 0 -2px 10px rgba(23, 43, 77, .08);
}
.ql-shop__total { font-size: 12px; color: #666; }
.ql-shop__total strong { font-size: 17px; font-weight: 600; color: #fa2b16; margin-left: 4px; }
.ql-shop__acts { margin-left: auto; display: flex; gap: 8px; }
.ql-shop__btn {
	height: 34px; line-height: 34px; padding: 0 18px; border: 0; border-radius: 17px;
	background: linear-gradient(180deg, #5e88ff, #3367fb); color: #fff; font-size: 14px;
	min-width: 112px;
}
.ql-shop__btn--ghost { background: #fff; border: 1px solid #3374fb; color: #3374fb; line-height: 32px; }

/* ================= 搜索结果 / 公告 / 购物车 ================= */
.ql-sresult { padding-top: 6px; }
.ql-sresult__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 10px 15px 0; font-size: 13px; color: #666;
}
.ql-sresult__head a { color: #3374fb; font-size: 12px; }

.ql-notice { padding: 10px 12px 0; }
.ql-notice__item {
	display: flex; align-items: center; gap: 10px;
	background: #fff; border-radius: 10px; padding: 14px 12px;
}
.ql-notice__item + .ql-notice__item { margin-top: 10px; }
.ql-notice__ico {
	flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px;
	background: rgba(51, 116, 251, .1);
	display: flex; align-items: center; justify-content: center;
}
.ql-notice__body { flex: 1; min-width: 0; }
.ql-notice__t {
	font-size: 14px; color: #222; line-height: 20px;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ql-notice__time { font-size: 12px; color: #9aa3af; margin-top: 4px; }

.ql-article { margin: 10px 12px 0; background: #fff; border-radius: 10px; padding: 16px 14px; }
.ql-article h1 { margin: 0; font-size: 17px; font-weight: 600; color: #222; line-height: 1.5; }
.ql-article__meta { font-size: 12px; color: #9aa3af; margin-top: 8px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f5; }
.ql-article__body { font-size: 14px; color: #444; line-height: 1.8; padding-top: 12px; word-break: break-word; }
.ql-article__pn {
	margin: 10px 12px 0; background: #fff; border-radius: 10px; padding: 12px 14px;
	font-size: 13px; color: #666;
}
.ql-article__pn p { margin: 0; }
.ql-article__pn p + p { margin-top: 6px; }
.ql-article__pn a { color: #3374fb; }
.ql-article__back { text-align: center; padding: 16px 0; font-size: 13px; }
.ql-article__back a { color: #3374fb; }

.ql-page--cart { padding: 0 0 130px; background: #f6f8fa; }
.ql-cart__clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #3374fb; }
.ql-cart { padding: 10px 12px 0; }
.ql-cart__item {
	display: flex; align-items: center; gap: 10px;
	background: #fff; border-radius: 10px; padding: 12px;
}
.ql-cart__item + .ql-cart__item { margin-top: 10px; }
.ql-cart__check input { width: 17px; height: 17px; accent-color: #3374fb; }
.ql-cart__pic { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 8px; overflow: hidden; background: #f1f4f8; }
.ql-cart__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ql-cart__info { flex: 1; min-width: 0; }
.ql-cart__name { font-size: 14px; color: #222; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ql-cart__param { font-size: 12px; color: #9aa3af; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ql-cart__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ql-cart__price { color: #fa2b16; font-size: 14px; font-weight: 600; }
.ql-cart__num { font-size: 12px; color: #999; }
.ql-cart__del { border: 0; background: transparent; color: #c0c6d0; padding: 4px; }

.ql-cart__bar {
	position: fixed; left: 0; right: 0; bottom: 50px; z-index: 30;
	display: flex; align-items: center; gap: 12px;
	height: 56px; padding: 0 12px;
	background: #fff; box-shadow: 0 -2px 10px rgba(23, 43, 77, .08);
}
.ql-cart__all { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #333; }
.ql-cart__all input { width: 17px; height: 17px; accent-color: #3374fb; }
.ql-cart__sum { margin-left: auto; font-size: 12px; color: #666; }
.ql-cart__sum strong { font-size: 17px; color: #fa2b16; margin-left: 3px; }

/* ---------- 全部分类右侧抽屉（参考站 u-popup slide-right） ---------- */
.ql-cdrawer__mask {
	position: fixed; inset: 0; z-index: 10075; background: rgba(0,0,0,.5);
	opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.ql-cdrawer__mask.show { opacity: 1; visibility: visible; }
.ql-cdrawer {
	position: fixed; right: 0; top: 0; bottom: 0; z-index: 10075; width: 16.4375rem;
	background: #fff; box-sizing: border-box;
	padding: calc(env(safe-area-inset-top, 0px) + .625rem) .75rem calc(.75rem + env(safe-area-inset-bottom, 0px));
	transform: translateX(100%); transition: transform .3s ease-out;
	overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.ql-cdrawer.show { transform: none; }
.ql-cdrawer__title { font-size: .9375rem; font-weight: 500; color: #222; line-height: 1.3125rem; }
.ql-cdrawer__list { display: flex; flex-wrap: wrap; }
.ql-cdrawer__item { width: 33.333333%; margin-top: .9375rem; display: flex; flex-direction: column; align-items: center; }
.ql-cdrawer__ico { width: 2.0625rem; height: 2.0625rem; border-radius: .3125rem; overflow: hidden; display: block; background: #f6f8fa; }
.ql-cdrawer__ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ql-cdrawer__name { max-width: 4.375rem; font-size: .6875rem; color: #222; line-height: 1rem; margin-top: .3125rem; text-align: center; }
.ql-cdrawer__item.on .ql-cdrawer__name { color: #3374fb; }
