/* ==========================================================
   艾社官网视觉改版样式（橙色 · 服务 · 专业大气）
   在 aoyun.css 之后加载，仅做视觉覆盖，不改内容与模块
   ========================================================== */

:root {
	--site-primary: #F97316;
	--site-primary-dark: #EA580C;
	--site-primary-deep: #D95F0D;
	--site-grad: linear-gradient(135deg, #FF9A3D 0%, #F97316 100%);
	--site-dark: #101826;
	--site-dark-2: #16202E;
	--site-dark-3: #0B1119;
	--site-heading: #1F2937;
	--site-body: #5B6472;
	--site-muted: #8A94A3;
	--site-bg-light: #F5F6F8;
	--site-line: #E7EAF0;
	--site-radius: 10px;
	--site-radius-lg: 14px;
	--site-shadow: 0 6px 24px rgba(16, 24, 38, .06);
	--site-shadow-hover: 0 14px 34px rgba(249, 115, 22, .16);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	color: var(--site-body);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--site-heading);
}

a {
	color: var(--site-heading);
	transition: color .2s ease;
}

a:hover {
	color: var(--site-primary);
}

/* 按钮：统一橙色渐变主按钮 */
.btn-site {
	display: inline-block;
	padding: .62rem 1.7rem;
	border: none;
	border-radius: 50px;
	background: var(--site-grad);
	color: #fff !important;
	font-size: .95rem;
	line-height: 1.4;
	box-shadow: 0 8px 20px rgba(249, 115, 22, .3);
	transition: all .25s ease;
}

.btn-site:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(249, 115, 22, .4);
	color: #fff !important;
}

.btn-site-o {
	display: inline-block;
	padding: .55rem 1.5rem;
	border: 1.5px solid var(--site-primary);
	border-radius: 50px;
	color: var(--site-primary) !important;
	background: transparent;
	font-size: .92rem;
	line-height: 1.4;
	transition: all .25s ease;
}

.btn-site-o:hover {
	background: var(--site-primary);
	color: #fff !important;
}

/* 分类/筛选按钮（全局，供列表页类型/颜色筛选等使用） */
.btn-site-nav {
	background: var(--site-grad);
	color: #fff !important;
	border: none;
	border-radius: 50px;
	padding: .42rem 1.15rem;
	font-size: .88rem;
	box-shadow: 0 6px 16px rgba(249, 115, 22, .25);
	transition: all .25s ease;
}

.btn-site-nav:hover {
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(249, 115, 22, .35);
}

.btn-site-nav-o {
	background: #fff;
	color: var(--site-body) !important;
	border: 1px solid var(--site-line);
	border-radius: 50px;
	padding: .42rem 1.15rem;
	font-size: .88rem;
	transition: all .25s ease;
}

.btn-site-nav-o:hover {
	color: var(--site-primary) !important;
	border-color: var(--site-primary);
	background: rgba(249, 115, 22, .05);
}

/* ============ 导航 ============ */
.site-nav {
	background: #fff !important;
	border-bottom: 1px solid var(--site-line);
	box-shadow: 0 2px 14px rgba(16, 24, 38, .06);
	padding-top: .55rem;
	padding-bottom: .55rem;
}

.site-nav .navbar-brand {
	padding: 0;
	margin: 0;
}

.site-nav .navbar-brand img {
	max-height: 46px;
	height: auto;
}

.site-nav .navbar-nav .nav-link {
	font-size: 15px;
	color: var(--site-heading) !important;
	font-weight: 500;
	padding: .55rem 1.05rem !important;
	position: relative;
}

.site-nav .navbar-nav .nav-item.active .nav-link,
.site-nav .navbar-nav .nav-link:hover {
	color: var(--site-primary) !important;
}

.site-nav .navbar-nav .nav-item.active .nav-link::after {
	content: "";
	position: absolute;
	left: 1.05rem;
	right: 1.05rem;
	bottom: .15rem;
	height: 3px;
	border-radius: 2px;
	background: var(--site-grad);
}

/* 导航右侧注册/登录 */
.site-nav .navbar-text a {
	color: var(--site-body) !important;
	font-size: .9rem;
	margin-left: .6rem;
}

.site-nav .navbar-text a:hover {
	color: var(--site-primary) !important;
}

@media (max-width: 991.98px) {
	.site-nav .navbar-nav .nav-link {
		padding: .5rem .25rem !important;
	}
	.site-nav .navbar-nav .nav-item.active .nav-link::after {
		display: none;
	}
	.site-nav .navbar-text {
		padding-top: .4rem;
	}
}

/* ============ 首页轮播 Hero（仅首页） ============ */
.hero-swiper .swiper-slide {
	position: relative;
}

.hero-swiper .swiper-slide::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(10, 17, 26, .62) 0%, rgba(10, 17, 26, .28) 55%, rgba(10, 17, 26, .12) 100%);
	pointer-events: none;
}

.hero-swiper .swiper-slide .container {
	z-index: 2;
}

.hero-swiper .swiper-slide h1 {
	color: #fff;
	font-weight: 700;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
	position: relative;
	padding-bottom: .55rem;
	margin-bottom: .6rem;
}

.hero-swiper .swiper-slide h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 4px;
	border-radius: 2px;
	background: var(--site-grad);
}

.hero-swiper .swiper-slide h4 {
	color: rgba(255, 255, 255, .92);
	font-weight: 400;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
	max-width: 560px;
	line-height: 1.7;
}

.hero-swiper .swiper-pagination-bullet {
	width: 22px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .55);
	opacity: 1;
	transition: all .3s;
}

.hero-swiper .swiper-pagination-bullet-active {
	background: var(--site-primary);
	width: 34px;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
	color: #fff;
	width: 46px;
	height: 46px;
	background: rgba(16, 24, 38, .35);
	border-radius: 50%;
	transition: background .25s;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
	background: var(--site-primary);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
	font-size: 18px;
}

/* ============ 首页板块标题 ============ */
.sec-title {
	font-size: 1.85rem;
	font-weight: 700;
	color: var(--site-heading);
	position: relative;
	display: inline-block;
	padding-bottom: .85rem;
}

.sec-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 54px;
	height: 4px;
	border-radius: 2px;
	background: var(--site-grad);
}

.sec-sub {
	font-size: 1rem;
	color: var(--site-muted);
	letter-spacing: 1px;
}

.sec-wrap {
	padding: 4.5rem 0;
}

/* ============ 产品推荐卡片 ============ */
.product-card {
	border: none !important;
	border-radius: var(--site-radius-lg);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--site-shadow);
	transition: all .3s ease;
	margin: 10px 0 26px;
}

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--site-shadow-hover);
}

.product-card .card-img-150 {
	height: 170px;
	overflow: hidden;
	position: relative;
}

.product-card .card-img-150 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.product-card:hover .card-img-150 img {
	transform: scale(1.08);
}

.product-card .card-body {
	padding: 1.1rem 1.15rem 1.25rem;
}

.product-card .card-title {
	margin-bottom: .55rem;
	font-size: 1.02rem;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-card .card-title a {
	color: var(--site-heading);
}

.product-card .card-title a:hover {
	color: var(--site-primary);
}

.product-card .card-text {
	font-size: .86rem;
	color: var(--site-body);
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3.1rem;
}

/* 置顶/推荐/头条徽章 */
.badge-site {
	display: inline-block;
	padding: .18rem .5rem;
	border-radius: 4px;
	font-size: .72rem;
	font-weight: 400;
	color: #fff;
	background: var(--site-grad);
	margin-right: .3rem;
	vertical-align: 2px;
}

/* ============ 关于我们 ============ */
.about-text {
	color: var(--site-body);
	font-size: .98rem;
	line-height: 2.1;
}

/* ============ 新闻动态 ============ */
.news-item {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid var(--site-line);
	border-radius: var(--site-radius);
	padding: .85rem 1.05rem;
	margin-bottom: .8rem;
	transition: all .25s ease;
}

.news-item:hover {
	border-color: rgba(249, 115, 22, .5);
	box-shadow: var(--site-shadow);
	transform: translateX(4px);
}

.news-item .news-date {
	flex-shrink: 0;
	width: 58px;
	height: 58px;
	border-radius: var(--site-radius);
	background: var(--site-bg-light);
	color: var(--site-primary);
	font-weight: 700;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
	line-height: 1.15;
}

.news-item .news-date .d {
	font-size: 1.25rem;
}

.news-item .news-date .m {
	font-size: .72rem;
	color: var(--site-muted);
	font-weight: 400;
}

.news-item .news-body {
	flex: 1;
	min-width: 0;
}

.news-item .news-body h5 {
	margin: 0 0 .25rem;
	font-size: .98rem;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.news-item .news-body h5 a {
	color: var(--site-heading);
}

.news-item .news-body h5 a:hover {
	color: var(--site-primary);
}

.news-item .news-body p {
	margin: 0;
	font-size: .84rem;
	color: var(--site-body);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* 查看更多 */
.more-link {
	display: inline-block;
	margin-top: 1.2rem;
	padding: .5rem 1.6rem;
	border-radius: 50px;
	border: 1.5px solid var(--site-primary);
	color: var(--site-primary) !important;
	font-size: .9rem;
	transition: all .25s ease;
}

.more-link:hover {
	background: var(--site-primary);
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(249, 115, 22, .3);
}

/* ============ 内页横幅 top.html ============ */
.site-banner {
	position: relative;
	margin-bottom: 1.2rem;
	background-color: var(--site-dark);
	background-size: cover;
	background-position: center;
	border-radius: 0;
	padding: 4.2rem 0 3.6rem;
}

.site-banner::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(100deg, rgba(11, 17, 25, .82) 0%, rgba(16, 24, 38, .55) 60%, rgba(16, 24, 38, .35) 100%);
}

.site-banner .container {
	position: relative;
	z-index: 2;
}

.site-banner h1 {
	color: #fff;
	font-size: 1.6rem;
	font-weight: 700;
	position: relative;
	padding-bottom: .6rem;
	margin-bottom: .4rem;
	display: inline-block;
}

.site-banner h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 52px;
	height: 4px;
	border-radius: 2px;
	background: var(--site-grad);
}

.site-banner p {
	color: rgba(255, 255, 255, .85);
	font-size: 1rem;
	margin: 0;
}

/* ============ 面包屑 ============ */
.position {
	color: var(--site-muted) !important;
	font-size: .85rem;
}

.position a {
	color: var(--site-muted) !important;
}

.position a:hover {
	color: var(--site-primary) !important;
}

/* ============ 分类导航 sortnav.html ============ */
.sonsort .btn {
	border-radius: 50px;
	padding: .42rem 1.15rem;
	font-size: .88rem;
	margin-right: .35rem;
	border: none;
}

.sonsort .btn-site-nav {
	background: var(--site-grad);
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(249, 115, 22, .25);
}

.sonsort .btn-site-nav-o {
	background: #fff;
	color: var(--site-body) !important;
	border: 1px solid var(--site-line);
}

.sonsort .btn-site-nav-o:hover {
	color: var(--site-primary) !important;
	border-color: var(--site-primary);
}

/* ============ 分页 ============ */
.page-num, .page-link {
	border-radius: 6px !important;
	margin: 0 .15rem !important;
	color: var(--site-body) !important;
	border-color: var(--site-line) !important;
}

.page-num-current {
	color: #fff !important;
	background: var(--site-grad) !important;
	border-color: var(--site-primary) !important;
	box-shadow: 0 6px 14px rgba(249, 115, 22, .3);
}

.page-num:hover, .page-link:hover {
	color: var(--site-primary) !important;
	border-color: var(--site-primary) !important;
	background: rgba(249, 115, 22, .06) !important;
}

/* ============ 页脚 ============ */
.site-footer {
	background: var(--site-dark) !important;
	border-top: none !important;
	color: rgba(255, 255, 255, .72);
	margin-top: 3rem !important;
	padding-top: 3.5rem !important;
}

.site-footer h5 {
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
	position: relative;
	padding-bottom: .7rem;
	margin-bottom: .9rem;
}

.site-footer h5::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 3px;
	border-radius: 2px;
	background: var(--site-grad);
}

.site-footer ul li {
	color: rgba(255, 255, 255, .68);
	font-size: .9rem;
	line-height: 2.2;
}

.site-footer a {
	color: rgba(255, 255, 255, .72);
}

.site-footer a:hover {
	color: var(--site-primary);
}

.site-footer .code {
	height: 108px;
}

.site-footer .code img {
	height: 108px;
	border-radius: 8px;
	padding: 5px;
	background: #fff;
}

.site-footer .small {
	color: rgba(255, 255, 255, .6);
}

.site-footer .copyright {
	border-top: 1px solid rgba(255, 255, 255, .12) !important;
	color: rgba(255, 255, 255, .5);
	font-size: .82rem;
	padding: .9rem 0;
}

.site-footer .copyright a {
	color: rgba(255, 255, 255, .55);
}

.site-footer .copyright a:hover {
	color: var(--site-primary);
}

/* 移动端底部导航 */
.mobile-nav {
	background: var(--site-dark) !important;
	box-shadow: 0 -4px 16px rgba(16, 24, 38, .18);
}

.mobile-nav a {
	color: #fff !important;
	font-size: .82rem;
}

.mobile-nav a i {
	color: var(--site-primary);
	margin-right: 3px;
}

/* ============ 内容区通用 ============ */
.pages .content {
	color: var(--site-body);
	font-size: .96rem;
}

/* 列表页卡片（公共） */
.list-card {
	display: block;
	background: #fff;
	border: 1px solid var(--site-line);
	border-radius: var(--site-radius);
	overflow: hidden;
	margin-bottom: 1.2rem;
	transition: all .25s ease;
}

.list-card:hover {
	box-shadow: var(--site-shadow);
	transform: translateY(-3px);
	border-color: rgba(249, 115, 22, .4);
}

/* ============ 响应式微调 ============ */
@media (max-width: 767.98px) {
	.sec-wrap {
		padding: 3rem 0;
	}
	.site-banner {
		padding: 2.8rem 0 2.4rem;
	}
	.sec-title {
		font-size: 1.45rem;
	}
}
