﻿::-webkit-scrollbar {
 width:6px;
}
    ::-webkit-scrollbar-track {
 background:transparent;
}
    ::-webkit-scrollbar-thumb {
 background:#999999;
 border-radius:3px;
}
    ::-webkit-scrollbar-thumb:hover {
 background:#777777;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
html, body {
	width: 100%;
	min-height: 100%;
	overflow-x: hidden;
	background: #f5f5f5;
	color: #333;
}
body {
	padding-bottom: 80px;
}
a {
	text-decoration: none;
}
/* 占位元素，导航fixed时启用，防止页面塌陷闪屏 */
.header-placeholder {
	display: none;
	width: 100%;
	height: 70px;
}
.header-placeholder.show {
	display: block;
}
/* ========== 第一层：顶部导航 ========== */
.top-header {
	width: 1920px;
	max-width: 100%;
	height: 70px;
	margin: 0 auto;
	background: #ffffff;
	padding: 0 260px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 99;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.top-header.sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 100%;
	height: 70px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.top-header .logo {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: bold;
	font-size: 20px;
	color: #279949;
}
.top-header .logo img {
	width: auto;
	height: 40px;
	object-fit: cover;
}
.search-icon {
	cursor: pointer;
	font-size: 22px;
	color: #333;
}
/* ========== 搜索弹窗 ========== */
.search-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 110px;
	background: #ffffff;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.search-modal.show {
	display: flex;
}
.search-box-wrap {
	width: 100%;
	max-width: 1000px;
	position: relative;
}
.search-close {
	position: absolute;
	right: -34px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 26px;
	cursor: pointer;
	color: #333;
}
.search-input-row {
	display: flex;
	border: 1px solid #d2d6dc;
	border-radius: 6px;
	overflow: hidden;
}
.search-input-row input {
	flex: 1;
	height: 44px;
	padding: 0 16px;
	border: none;
	outline: none;
	font-size: 14px;
	color: #333;
	background: #fff;
}
 .search-input-row input::placeholder {
 color: #999;
}
.search-input-row button {
	width: 44px;
	height: 44px;
	border: none;
	background: #fff;
	cursor: pointer;
	font-size: 18px;
	color: #444;
}
/* ========== 第二层：Banner ========== */
.banner-wrap {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
}
.bannerSwiper {
	width: 100%;
}
.bannerSwiper .swiper-slide img {
	width: 100%;
	height: auto;
	display: block;
}
.bannerSwiper .swiper-button-prev, .bannerSwiper .swiper-button-next {
	color: #ffffff;
}
.bannerSwiper .swiper-pagination {
	bottom: 14px;
}
.bannerSwiper .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
	margin: 0 5px;
}
.bannerSwiper .swiper-pagination-bullet-active {
	background: #ffffff;
}
/* ========== 第三层：头像 ========== */
.avatar-wrap {
	width: 1920px;
	max-width: 100%;
	margin: 0 auto;
	background: #f5f5f5;
	padding: 20px 5px;
	overflow: hidden;
}
.avatarSwiper {
	width: 100%;
}
.avatar-item {
	display: flex!important;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.avatar-item img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #eee;
}
.avatar-item .name {
	font-size: 12px;
	color: #444;
}
/* ========== 第四层：筛选标签 ========== */
.filter-wrap {
	width: 1920px;
	max-width: 100%;
	margin: 0 auto;
	background: #fff;
	padding: 16px 260px;
	display: flex;
	justify-content: center;
}
.btn-group {
	display: flex;
	gap: 12px;
}
.btn-group button {
	padding: 6px 18px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	background: #91d9a9;
	color: #fff;
	font-size: 14px;
}
.btn-group button.active {
	background: #009955;
}
/* ========== 第五层：卡片列表 ========== */
.card-wrap {
	width: 1920px;
	max-width: 100%;
	margin: 0 auto;
	padding: 24px 260px 40px;
	overflow: hidden;
}
.card-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	column-gap: 20px;
	row-gap: 32px;
}
.card-item {
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	transition: transform 0.3s ease;
}
.card-item a {
	text-decoration: none;
}
.card-item:hover {
	transform: translateY(-8px);
}
.card-img-box {
	position: relative;
	width: 100%;
}
.card-img-box img {
	width: 100%;
	display: block;
	border-radius: 12px 12px 0 0;
}
.card-tag-recommend {
	position: absolute;
	top: 0;
	left: 12px;
	width: 36px;
	height: 36px;
	background: #ff2b59;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
	clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
	z-index: 2;
}
.card-img-text {
	position: absolute;
	left: 16px;
	bottom: 20px;
	color: #cfff00;
	font-weight: bold;
}
.card-img-text .no {
	font-size: 60px;
	line-height: 1;
}
.card-img-text .title {
	font-size: 30px;
	margin-top: 8px;
}
.card-info {
	padding: 14px;
}
.card-info .card-title {
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 8px;
	color: #222;
}
.card-date {
	font-size: 12px;
	color: #666;
	line-height: 1.4;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
}
.card-bottom-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #666;
	line-height: 1.4;
}
.card-price {
	background: #ff2b59;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding: 4px 8px;
	border-radius: 6px;
}
/* ========== VIP套餐版块 ========== */
.vip-wrap {
	width: 1920px;
	max-width: 100%;
	margin: 0 auto 40px;
	padding: 40px 260px 60px;
	background: transparent;
	overflow: hidden;
}
.vip-title {
	text-align: center;
	font-size: 28px;
	font-weight: bold;
	color: #333;
	margin-bottom: 8px;
}
.vip-subtitle {
	text-align: center;
	font-size: 14px;
	color: #888;
	margin-bottom: 30px;
}
.vip-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.vip-card {
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
}
.vip-card:hover {
	transform: translateY(-10px);
}
.vip-card-header {
	padding: 18px 24px;
	background: #0ec0e6;
	color: #fff;
	text-align: center;
}
.vip-card-title {
	font-size: 18px;
	font-weight: bold;
}
.vip-card-price {
	font-size: 22px;
	font-weight: bold;
	margin-top: 8px;
}
.vip-card-body {
	padding: 20px 24px;
	flex: 1;
}
.vip-card-body ul {
	list-style: none;
	margin-bottom: 20px;
}
.vip-card-body li {
	font-size: 14px;
	color: #555;
	padding: 6px 0;
	padding-left: 20px;
	position: relative;
}
.vip-card-body li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: #16b386;
	font-weight: bold;
}
.vip-card-footer {
	padding: 0 24px 24px;
}
.vip-btn {
	display: block;
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 24px;
	background: #16b386;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.2s;
	text-decoration: none;
	text-align: center;
}
.vip-btn:hover {
	background: #008364;
}
.main {
	margin: 30px auto;
	min-height: calc(100vh - 150px);
}
.content-wrap {
	width: 1920px;
	max-width: 100%;
	margin: 0 auto;
	padding: 24px 260px 40px;
	overflow: hidden;
}
.content-box {
	font-size: 14px;
	line-height: 30px;
}
.copyright {
	margin: 0 auto;
	padding: 30px 0;
	background: #fff;
	text-align: center;
	font-size: 14px;
}
/* ========== 底部固定菜单 ========== */
.footer-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: #fff;
	display: flex;
	justify-content: space-around;
	align-items: center;
	box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
	z-index: 999;
}
.footer-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #333;
	cursor: pointer;
}
.footer-item.active {
	color: #279949;
}
.footer-item .icon {
	font-size: 22px;
}
    /* ========== 响应式 ========== */
@media (max-width: 1440px) {
.top-header, .filter-wrap, .card-wrap, .vip-wrap, .content-wrap {
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
}
.avatar-wrap {
	width: 100%;
	padding-left: 5px;
	padding-right: 5px;
}
.card-grid {
	grid-template-columns: repeat(3, 1fr);
}
.search-box-wrap {
	width: calc(100% - 40px);
}
.search-close {
	right: -26px;
}
}
 @media (max-width: 900px) {
.main {
	margin: 15px auto;
	padding: 15px 10px;
}
.vip-grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.vip-card-header {
	padding: 14px 16px;
}
.vip-card-title {
	font-size: 15px;
}
.vip-card-price {
	font-size: 18px;
}
.vip-card-body {
	padding: 16px;
}
.vip-card-body li {
	font-size: 12px;
}
.vip-card-footer {
	padding: 0 16px 16px;
}
.vip-btn {
	font-size: 14px;
	padding: 10px;
}
}
 @media (max-width: 768px) {
/* 手机端Banner 宽度100%，最小高度170px */
.bannerSwiper .swiper-slide {
	width: 100%;
	min-height: 170px;
}
.bannerSwiper .swiper-slide img {
	width: 100%;
	min-height: 170px;
	object-fit: cover;
}
.card-grid {
	grid-template-columns: repeat(2, 1fr);
	column-gap: 12px;
	row-gap: 20px;
}
.card-info .card-title {
	font-size: 13px;
}
}
/* 左右两栏布局 */
.detail-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 30px;
	align-items: start;
}
/* 左侧详情 */
.left-content {
	width: 820px;
	background: #fff;
	border-radius: 12px;
	padding: 15px 10px;
}
.detail-title {
	font-size: 19px;
	margin: 25px auto 15px;
}
.meta-info {
	font-size: 14px;
	color: #666;
	margin-bottom: 20px;
}
.info-block {
	margin-bottom: 16px;
	padding: 12px;
	border-left: 2px solid #348ede;
	background: #fcfcfc;
}
.info-block p {
	line-height: 1.7;
	font-size: 15px;
}
.preview-img {
	width: 100%;
	border-radius: 8px;
	margin-top: 16px;
	display: block;
}
/* ========== 新增：左侧购买选项 虚线框 ========== */
.purchase-box {
	margin-top: 24px;
	border: 2px dashed #333;
	padding: 16px;
	border-radius: 4px;
}
.purchase-title {
	font-size: 18px;
	color: #348ede;
	margin-bottom: 12px;
}
.purchase-item {
	background: #f0f0f0;
	padding: 14px 10px;
	margin-bottom: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.purchase-item:last-child {
	margin-bottom: 0;
}
.item-tag {
	display: inline-block;
	background: #ddd;
	padding: 2px 8px;
	font-size: 13px;
	color: #444;
	margin-bottom: 8px;
}
.item-price {
	font-size: 16px;
	color: #ff5522;
	font-weight: bold;
}
/* ========== 新增：收藏按钮 ========== */
.collect-box {
	text-align: center;
	margin: 24px 0;
}
.star-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin: auto;
	margin-bottom: 10px;
	text-align: center;
	font-size: 36px;
	color: #666;
	border: 2px solid hsla(210, 8%, 51%, .09);
	border-radius: 50%;
}
.star-icon.current {
	color: #ff6633;
}
.collect-text {
	font-size: 14px;
	color: #333;
}
/* ========== 新增：评论区 ========== */
.comment-section {
	margin-top: 20px;
}
.comment-title {
	font-size: 22px;
	color: #348ede;
	border-bottom: 2px solid #348ede;
	padding-bottom: 6px;
	margin-bottom: 12px;
	display: inline-block;
}
.comment-input-wrap {
	position: relative;
	margin-bottom: 16px;
}
.comment-input {
	width: 100%;
	height: 100px;
	border: 1px solid #bbb;
	padding: 10px;
	font-size: 14px;
	resize: none;
	outline: none;
}
.publish-btn {
	position: absolute;
	right: 5px;
	bottom: 8px;
	background: #348ede;
	color: #fff;
	border: none;
	padding: 6px 20px;
	font-size: 15px;
	cursor: pointer;
}
.publish-btn:hover {
	background: #53a2cc;
}
.latest-comment {
	font-size: 15px;
	color: #333;
}
/* ========== 右侧购买栏 JS吸顶版 ========== */
.right-wrap {
	width: 320px;
	position: relative;
}
.right-side {
	width: 320px;
}
.right-side.is-fixed {
	position: fixed;
	top: 85px;
	z-index: 99;
}
.buy-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 14px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.buy-card .tag {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
}
.price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.price-text {
	font-size: 19px;
	color: #ff4422;
	font-weight: bold;
}
.buy-btn {
	display: block;
	background: #348ede;
	color: #fff;
	padding: 6px 10px;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.2s;
	font-size: 14px;
}
.buy-btn:hover {
	background: #53a2cc;
}

#loading{
	margin-top: 10px;
    clear:both;
    text-align:center;
    padding:15px;
	font-size: 14px;
}

/* 手机端：单列，隐藏右侧边栏 */
@media (max-width: 1100px) {
.detail-wrap {
	grid-template-columns: 1fr;
}
.left-content {
	width: calc(100vw - 20px);
}
.right-wrap,  .right-side {
	display: none;
}
.right-side.is-fixed {
	position: static;
}
}
