
/* 
   极品QQ靓号网 - 古典风格 CSS 
   配色方案：
   - 主色: #8B0000 (深红/朱砂)
   - 辅色: #D4AF37 (金色)
   - 背景: #FDFBF7 (米白/宣纸色)
   - 文字: #333333 (墨黑)
*/

:root {
    --primary-color: #8B0000;
    --secondary-color: #D4AF37;
    --bg-color: #FDFBF7;
    --text-color: #333333;
    --light-gray: #f0f0f0;
    --border-color: #e0d6c8;
    --font-serif: "Noto Serif SC", "SimSun", "Songti SC", serif;
    --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('https://www.transparenttextures.com/patterns/rice-paper-2.png'); /* 模拟宣纸纹理 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    font-weight: bold;
    font-size: 24px;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    margin-right: 10px;
    border-radius: 4px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.main-nav a.active::after, .main-nav a:hover::after {
    width: 100%;
}

.search-box {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 8px 15px;
    outline: none;
    background: transparent;
}

.search-box button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://picsum.photos/1920/600?grayscale') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    font-family: var(--font-serif);
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-serif);
    position: relative;
}

.section-title span {
    display: inline-block;
    padding: 0 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 1;
    font-size: 28px;
    color: var(--primary-color);
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 1px;
    background-color: var(--secondary-color);
    z-index: 0;
}

/* Categories */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cat-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.cat-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-serif);
}

/* Number Grid */
.number-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.num-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 20px;
    text-align: center;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s;
}

.num-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.num-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
}

.num-tag.hot { background: #ff4757; }
.num-tag.new { background: #2ed573; }

.num-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
}

.num-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.num-price {
    font-size: 18px;
    color: #ff4757;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* News Preview */
.news-list {
    display: flex;
    gap: 30px;
}

.news-item {
    display: flex;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
}

.news-img img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.news-info {
    padding: 20px;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: var(--font-serif);
}

.news-info h3 a:hover {
    color: var(--primary-color);
}

.news-info .date {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-info .excerpt {
    color: #666;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    border-bottom: 1px solid #444;
    padding-bottom: 30px;
}

.footer-links dl dt {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.footer-links dl dd {
    margin-bottom: 10px;
}

.footer-links dl dd a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    font-size: 14px;
}

/* List Page Specifics */
.main-content-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.sidebar-filter {
    width: 250px;
    background: #fff;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
    color: var(--primary-color);
}

.filter-group ul li {
    margin-bottom: 10px;
}

.filter-group ul li a {
    color: #666;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
}

.filter-group ul li a:hover, .filter-group ul li a.active {
    background-color: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
}

.list-main {
    flex: 1;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #fff;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.list-header h2 {
    font-size: 18px;
    font-family: var(--font-serif);
}

.count {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

.sort-options select {
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
}

.pagination a.active, .pagination a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Detail Page Specifics */
.breadcrumb {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.detail-container {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.detail-gallery {
    width: 400px;
}

.main-img img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.thumb-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumb-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumb-list img:hover {
    opacity: 1;
}

.detail-info {
    flex: 1;
}

.detail-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.detail-meta {
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
    color: #666;
}

.status.in-stock {
    background: #e6fffa;
    color: #2c7a7b;
}

.price-box {
    background: #fff5f5;
    padding: 15px;
    border: 1px solid #feb2b2;
    border-radius: 4px;
    margin-bottom: 20px;
}

.price-box .label {
    color: #666;
}

.price-box .price {
    font-size: 28px;
    color: #ff4757;
    font-weight: bold;
}

.info-table dl {
    display: flex;
    border-bottom: 1px dashed #eee;
    padding: 10px 0;
}

.info-table dt {
    width: 100px;
    color: #999;
}

.info-table dd {
    flex: 1;
    color: #333;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
}

.service-promise {
    margin-top: 20px;
   