/* 期刊详情 */
.journal-detail {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 期刊封面区域 */
.journal-cover-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.journal-cover {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    border: 1px solid #e0e7ff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.journal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.journal-cover:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.journal-cover:hover img {
    transform: scale(1.05);
}

.journal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-btn {
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn.primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn.secondary {
    background: white;
    color: var(--text-color);
    border: 2px solid #e2e8f0;
}

.action-btn.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8fafc;
}

/* 期刊信息区域 */
.journal-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.journal-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 8px;
}

.journal-english-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 8px;
}

.journal-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--border-radius-md);
    border: 1px solid #bfdbfe;
}

.metric-item {
    text-align: center;
    padding: 12px;
    background: white;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.metric-label {
    font-size: 13px;
    color: var(--light-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.journal-description {
    padding: 20px;
    background: #fafbfc;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
}

.journal-description h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.journal-description p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 12px;
}

.journal-description p:last-child {
    margin-bottom: 0;
}

.journal-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--border-radius-md);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.meta-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 100px;
}

.meta-value {
    color: var(--light-text);
    font-weight: 500;
}

/* 规格参数表 */
.specs-section {
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.specs-table th,
.specs-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.specs-table th {
    background: #f8fafc;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.specs-table tr:hover {
    background-color: #f8fafc;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* 图文详情区域 */
.product-gallery {
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 编辑器内容样式 */
.editor-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
}

.editor-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.editor-content h3:first-child {
    margin-top: 0;
}

.editor-content p {
    margin: 0 0 16px;
    color: var(--light-text);
}

.editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    margin: 16px 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.editor-content img:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.editor-content ul,
.editor-content ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--light-text);
}

.editor-content li {
    margin: 8px 0;
    line-height: 1.7;
}

.editor-content ul li {
    list-style-type: disc;
}

.editor-content ol li {
    list-style-type: decimal;
}

/* 商家信息区域 */
.seller-info {
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.seller-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: #fefce8;
    border-radius: var(--border-radius-md);
    border: 1px solid #fde68a;
}

.seller-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border-radius: 50%;
    border: 3px solid #fcd34d;
    flex-shrink: 0;
}

.seller-details {
    flex: 1;
}

.seller-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.seller-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.contact-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 100px;
}

.contact-value {
    color: var(--light-text);
    font-weight: 500;
}

.seller-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.seller-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: 140px;
}

.seller-btn:hover {
    background: #0052cc;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.2);
}

.seller-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.seller-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* 搜索区域 */
.search-area {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    font-size: 16px;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.search-btn:hover {
    background: #0052cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

/* 面包屑导航 */
.breadcrumb {
    background: white;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: var(--light-text);
}

.breadcrumb a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb span {
    margin: 0 8px;
    color: #cbd5e1;
}

.breadcrumb a:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .journal-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .journal-cover-section {
        align-items: center;
    }
    
    .journal-cover {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .journal-actions {
        max-width: 400px;
        width: 100%;
    }
    
    .seller-content {
        flex-direction: column;
        text-align: center;
    }
    
    .seller-actions {
        flex-direction: row;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .journal-detail {
        padding: 20px;
    }
    
    .specs-section {
        padding: 24px;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .journal-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .journal-title {
        font-size: 28px;
    }
    
    .journal-english-title {
        font-size: 16px;
    }
    
    .metric-value {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .journal-title {
        font-size: 24px;
    }
    
    .journal-english-title {
        font-size: 14px;
    }
    
    .journal-metrics {
        grid-template-columns: 1fr;
    }
    
    .journal-cover {
        height: 400px;
    }
    
    .journal-actions {
        flex-direction: row;
    }
    
    .action-btn {
        flex: 1;
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .specs-table {
        overflow-x: auto;
        display: block;
    }
    
    .seller-content {
        padding: 16px;
    }
    
    .seller-logo {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .seller-actions {
        flex-direction: column;
    }
    
    .seller-btn {
        width: 100%;
    }
}

/* 平滑滚动效果 */
html {
    scroll-behavior: smooth;
}