:root {
	--primary: #2c3e50;
	--secondary: #3498db;
	--accent: #e74c3c;
	--light: #ecf0f1;
	--dark: #34495e;
}
@font-face {
  font-family:"JingDongLangZhengTiBold";
  src:url(//storage.360buyimg.com/portalfile/font/JDLangZhengTi.TTF);
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-B--GBK1-0.eot#iefix) format("embedded-opentype"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-B--GBK1-0.woff2) format("woff2"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-B--GBK1-0.woff) format("woff"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-B--GBK1-0.ttf) format("truetype");
  font-weight:700;
  font-style:normal;
  font-display:swap
}
@font-face {
  font-family:"JingDongLangZhengTiSemilight";
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SL--GBK1-0.eot);
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SL--GBK1-0.eot#iefix) format("embedded-opentype"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SL--GBK1-0.woff2) format("woff2"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SL--GBK1-0.woff) format("woff"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SL--GBK1-0.ttf) format("truetype");
  font-weight:300;
  font-style:normal;
  font-display:swap
}
@font-face {
  font-family:"JingDongLangZhengTiSemibold";
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SB--GBK1-0.eot);
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SB--GBK1-0.eot#iefix) format("embedded-opentype"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SB--GBK1-0.woff2) format("woff2"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SB--GBK1-0.woff) format("woff"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-SB--GBK1-0.ttf) format("truetype");
  font-weight:600;
  font-style:normal;
  font-display:swap
}
@font-face {
  font-family:"JingDongLangZhengTiLight";
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-L--GBK1-0.eot);
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-L--GBK1-0.eot#iefix) format("embedded-opentype"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-L--GBK1-0.woff2) format("woff2"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-L--GBK1-0.woff) format("woff"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-L--GBK1-0.ttf) format("truetype");
  font-weight:300;
  font-style:normal;
  font-display:swap
}
@font-face {
  font-family:"JingDongLangZhengTiRegular";
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-R--GBK1-0.eot);
  src:url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-R--GBK1-0.eot#iefix) format("embedded-opentype"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-R--GBK1-0.woff2) format("woff2"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-R--GBK1-0.woff) format("woff"),
  url(//storage.jd.com/portalfile/font/JDLANGZHENGTI-R--GBK1-0.ttf) format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap
}

body {
	background-color: #f8f9fa;
}
h1,h2,h3,h4,h5{
	font-family:JingDongLangZhengTiSemilight !important;
}
.fw-bold{
	font-family:JingDongLangZhengTiRegular;
}
.navbar {
	background: linear-gradient(135deg, var(--primary), var(--dark));
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.banner {
	background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.8)), url('/images/abc.jpg');
	background-size: cover;
	background-position: center;
	color: wheat;
	padding: 80px 0;
	margin-bottom: 40px;
	opacity: 0.9;
}

.card {
	border-radius: 12px;
	box-shadow: 0 6px 15px rgba(0,0,0,0.08);
	transition: transform 0.3s ease;
	margin-bottom: 25px;
	border: none;
}

.card:hover {
	/*transform: translateY(-5px);*/
}

.card-header {
	background: linear-gradient(180deg, var(--primary), var(--secondary));
	color: white;
	border-radius: 12px 12px 0 0 !important;
	padding: 15px 20px;
	font-weight: 600;
}

.preview-container {
	background-color: #fff;
	border-radius: 8px;
	padding: 20px;
	min-height: 300px;
	border: 1px solid #eee;
}

.barcode-item {
	background: white;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 15px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.05);
	transition: all 0.3s ease;			
	box-sizing: border-box;
	max-height:160px;
	
}

.barcode-item:hover {
	/*box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transform: translateY(-2px);*/
}

.barcode-image {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* 基础样式 */
.barcode-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* 项目间距 */
  margin-bottom: 20px;
  min-height: 406px;
}

.barcode-preview {
	max-height: 500px;
	overflow-y: auto;
	padding: 15px;
	background: white;
	border-radius: 8px;
	border: 1px solid #eee;
}


/* 响应式列数控制 */
.barcode-item.col-3 { flex: 0 0 calc(100% / 3 - 15px); }
.barcode-item.col-4 { flex: 0 0 calc(100% / 4 - 15px); }
.barcode-item.col-5 { flex: 0 0 calc(100% / 5 - 15px); }
.barcode-item.col-6 { flex: 0 0 calc(100% / 6 - 15px); }

/* 打印优化 */
@media print {
  body {
	padding: 10mm !important;
	font-size: 12pt;
  }
  
  .barcode-preview {
	gap: 5mm;
  }
  
  .barcode-item {
	page-break-inside: avoid; /* 防止分页截断 */
	break-inside: avoid;
	box-shadow: none;
	border: 1px solid #eee;
	padding: 5mm;
  }
  
  /* 隐藏不需要打印的元素 */
  .no-print {
	display: none !important;
  }
  
  /* 根据打印调整列数 */
  .barcode-item.col-3 { flex: 0 0 calc(100% / 3 - 5mm); }
  .barcode-item.col-4 { flex: 0 0 calc(100% / 4 - 5mm); }
  .barcode-item.col-5 { flex: 0 0 calc(100% / 5 - 5mm); }
  .barcode-item.col-6 { flex: 0 0 calc(100% / 6 - 5mm); }
}

.btn-primary {
	background: linear-gradient(135deg, var(--secondary), var(--primary));
	border: none;
	padding: 10px 20px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	/* transform: translateY(-2px); */
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-print {
	background: linear-gradient(135deg, var(--secondary), #2ecc71);
	border: none;
}
.btn-print:hover {
	background: linear-gradient(135deg, #2ecc71, var(--secondary));
	border: none;
}

.footer {
	background: linear-gradient(135deg, var(--primary), var(--dark));
	color: white;
	padding: 40px 0 20px;
	margin-top: 40px;
}

.footer a {
	color: #bdc3c7;
	text-decoration: none;
	transition: color 0.3s;
}

.footer a:hover {
	color: white;
	text-decoration: underline;
}

.form-label {
	font-weight: 600;
	color: var(--dark);
}

.section-title {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 25px;
	font-weight: 700;
	color: var(--primary);
}

.section-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--secondary), var(--primary));
	border-radius: 2px;
}

.stats-card {
	text-align: center;
	padding: 20px;
	border-radius: 12px;
	background: white;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stats-card i {
	font-size: 2.5rem;
	color: var(--secondary);
	margin-bottom: 15px;
}

.stats-card .number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary);
}

.stats-card .label {
	color: #7f8c8d;
	font-size: 1rem;
}

.feature-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--secondary), var(--primary));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.feature-icon i {
	color: white;
	font-size: 1.8rem;
}

.feature-item {
	text-align: center;
	padding: 20px;
}

.feature-item h5 {
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 15px;
}

.progress {
	height: 10px;
	margin: 15px 0;
}

.preview-controls {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.form-control, .form-select {
	border: 1px solid #ced4da;
	border-radius: 8px;
	padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
	box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
	border-color: var(--secondary);
}

/* 自定义滑动条样式 */
.custom-range {
    width: 200px;
    height: 8px;
    -webkit-appearance: none; /* 清除默认样式 */
    background: linear-gradient(to right, #e9ecef 0%, #e9ecef 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 10px;
    outline: none;
    transition: background 0.3s;
}

/* 滑块轨道（WebKit浏览器） */
.custom-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 10px;
    background: transparent;
}

/* 滑块拇指（所有浏览器） */
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #0d6efd;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.custom-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #0d6efd;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 动态背景色（根据值变化） */
.custom-range:active::-webkit-slider-thumb {
    transform: scale(1.2);
    background: #0b5ed7;
}

/* Firefox轨道填充色 */
.custom-range::-moz-range-progress {
    background: #0d6efd;
    height: 8px;
    border-radius: 10px;
}

/* 值显示样式 */
#zoomValue {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
    color: #0d6efd;
}

/* 价格页面样式 */
.price-tables {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.price-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 300px;
    position: relative;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-header {
    padding: 20px;
    color: white;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.vip1-bg { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); }
.vip2-bg { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.vip3-bg { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.price-body {
    padding: 25px;
    text-align: center;
}

.price-amount {
    font-size: 36px;
    font-weight: bold;
    margin: 15px 0;
}

.price-amount span {
    font-size: 16px;
    color: #777;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.price-features li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.price-tables.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: #333;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.vip1-btn { background: #6a11cb; }
.vip2-btn { background: #f5576c; }
.vip3-btn { background: #43e97b; }

.price-tables .btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.featured {
    transform: scale(1.05);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff4757;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* 联系我们页面样式 */
.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-icon {
    font-size: 40px;
    color: #6a11cb;
    margin-bottom: 15px;
}

.contact-form {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.submit-btn {
    width: 100%;
    background: #6a11cb;
}