/* 模具信息详情页样式 - 工业简约风格 */

/* 浏览器样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #f5f7fa;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.zh_detail_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
}

.zh_breadcrumb {
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 14px;
    color: #666;
    border: 1px solid #e5e5e5;
}

.zh_breadcrumb a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s;
}

.zh_breadcrumb a:hover {
    color: #004cbe;
}

.zh_breadcrumb i {
    margin: 0 8px;
    color: #999;
}

.zh_detail_main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.zh_detail_content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid #e5e5e5;
}

.zh_detail_header {
    padding: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.zh_detail_title {
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.zh_detail_meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.zh_detail_meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.zh_detail_meta i {
    color: #0093ff;
}

.zh_detail_image {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f7fa;
}

.zh_detail_image img {
    width: 400px;
    height: 400px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.zh_detail_body {
    padding: 30px;
    line-height: 1.8;
    color: #333333;
    font-size: 16px;
}

.zh_detail_body h1, .zh_detail_body h2, .zh_detail_body h3 {
    color: #333333;
    margin: 25px 0 15px 0;
}

.zh_detail_body p {
    margin-bottom: 15px;
}

.zh_detail_body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.zh_provider_card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 30px;
    animation: fadeInRight 0.6s ease-out;
    border: 1px solid #e5e5e5;
}

.zh_provider_header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 25px;
}

.zh_provider_title {
    font-size: 18px;
    color: #333333;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zh_provider_name {
    font-size: 20px;
    color: #004cbe;
    font-weight: bold;
    margin-bottom: 10px;
}

.zh_provider_info {
    margin-bottom: 25px;
}

.zh_provider_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
}

.zh_provider_item i {
    width: 20px;
    color: #333333;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.zh_provider_item span {
    color: #666;
    line-height: 1.6;
}

.zh_provider_desc {
    background: #f5f7fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #004cbe;
    border: 1px solid #e5e5e5;
}

.zh_provider_desc p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.zh_contact_actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zh_contact_btn {
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zh_contact_primary {
    background: #004cbe;
    color: white;
}

.zh_contact_primary:hover {
    background: #0093ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 76, 190, 0.3);
}

.zh_contact_secondary {
    background: #333333;
    color: white;
}

.zh_contact_secondary:hover {
    background: #4a4a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.zh_related_section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
}

.zh_section_header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #004cbe;
}

.zh_section_title {
    font-size: 20px;
    color: #333333;
    font-weight: 600;
    margin: 0;
}

.zh_related_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.zh_related_item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
}

.zh_related_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #004cbe;
}

.zh_related_image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    background: #f5f7fa;
}

.zh_related_content {
    padding: 15px;
}

.zh_related_title {
    font-size: 16px;
    color: #333333;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_related_title:hover {
    color: #004cbe;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .zh_detail_container {
        padding: 20px 15px;
    }
    
    .zh_detail_main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zh_detail_title {
        font-size: 24px;
    }
    
    .zh_detail_header {
        padding: 20px;
    }
    
    .zh_detail_body {
        padding: 20px;
    }
    
    .zh_detail_image {
        padding: 15px;
    }
    
    .zh_detail_image img {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
    
    .zh_provider_card {
        position: static;
        margin-bottom: 30px;
    }
    
    .zh_related_grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .zh_contact_actions {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .zh_detail_meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .zh_contact_actions {
        flex-direction: column;
    }
    
    .zh_related_grid {
        grid-template-columns: 1fr;
    }
}
