/**
 * Main Stylesheet for zhxmetals.com
 * Additional styles beyond critical inline CSS in header.php
 */

/* Product table styles */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.product-table th, .product-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}
.product-table th {
    background: #1a5276;
    color: #fff;
    font-weight: 600;
}
.product-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Content area */
.content-area {
    line-height: 1.8;
    font-size: 16px;
}
.content-area h2 {
    color: #1a5276;
    margin: 30px 0 15px;
    font-size: 24px;
}
.content-area h3 {
    color: #333;
    margin: 25px 0 12px;
    font-size: 20px;
}
.content-area p {
    margin-bottom: 15px;
}
.content-area ul, .content-area ol {
    margin-bottom: 15px;
    padding-left: 25px;
}
.content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

/* Contact page */
.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
}
.contact-info li {
    margin-bottom: 12px;
    font-size: 16px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}
.contact-form textarea {
    min-height: 150px;
}

/* FAQ styles */
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    background: #f8f9fa;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question:hover {
    background: #edf0f3;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #1a5276;
}
.pagination .current {
    background: #1a5276;
    color: #fff;
    border-color: #1a5276;
}
.pagination a:hover {
    background: #f0f0f0;
}

/* Print styles */
@media print {
    .main-nav, .footer, .header-top, .header-search, .language-select {
        display: none !important;
    }
}
