/* ===== Exfatter 产品网格：标题两行截断，高度统一 ===== */
.box-blog-post .post-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35 !important;
    min-height: 2.7em;
    word-break: break-word;
}

/* ===== 产品弹窗（Lightbox） ===== */
.nea-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}
.nea-modal-overlay.is-open {
    display: flex;
}
.nea-modal {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 920px;
    max-height: 92vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: nea-modal-in 0.2s ease;
}
@keyframes nea-modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.nea-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nea-modal-close:hover { background: rgba(0, 0, 0, 0.7); }
.nea-modal-body {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}
.nea-modal-media {
    flex: 0 0 52%;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
}
.nea-modal-media img {
    width: 100%;
    object-fit: contain;
    flex-shrink: 0;
}
.nea-modal-media img.nea-main-img {
    max-height: 62vh;
}
.nea-modal-media img.nea-back-img {
    max-height: 62vh;
    border-top: 1px solid #eee;
}
.nea-modal-info {
    flex: 1;
    padding: 32px 30px;
    overflow-y: auto;
}
.nea-modal-info h2 {
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 18px;
    color: #1a1a1a;
}
.nea-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 14px;
}
.nea-detail-table th,
.nea-detail-table td {
    border: 1px solid #e5e5e5;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.nea-detail-table th {
    width: 34%;
    background: #f7f7f7;
    color: #555;
    font-weight: 600;
    white-space: nowrap;
}
.nea-detail-table td {
    color: #1a1a1a;
}
.nea-detail-table .nea-empty {
    color: #bbb;
    font-style: italic;
}
.nea-inquiry-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.nea-inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 140px;
    color: #fff !important;
    text-decoration: none !important;
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.15s ease, opacity 0.15s ease;
}
.nea-inquiry-btn:hover { opacity: 0.92; color: #fff !important; }
.nea-email { background: #000; }
.nea-email:hover { background: #333; }
.nea-email::before { content: "✉ "; }
.nea-whatsapp { background: #25D366; }
.nea-whatsapp:hover { background: #1ebe5b; }

@media (max-width: 768px) {
    .nea-modal-body { flex-direction: column; }
    .nea-modal-media { flex: 0 0 42%; }
    .nea-modal-media img { max-height: 42vh; }
    .nea-modal-info { padding: 20px 18px; }
}
