/* --- GLOBALS --- */
:root { --brand: #2ecc71; --brand-hover: #27ae60; --text: #333; }
body { font-family: 'Inter', sans-serif; background: #fff; margin: 0; color: var(--text); line-height: 1.6; }
.container { max-width: 1000px; margin: 0 auto; padding: 20px 20px 60px; }

/* --- BUTTONS --- */
.btn-back { display: inline-block; text-decoration: none; color: var(--brand); font-weight: 600; margin-bottom: 30px; }
.btn-comment, .btn-primary { 
    background: var(--brand); color: white; border: none; padding: 12px 25px; 
    border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; text-decoration: none;
}
.btn-comment:hover { background: var(--brand-hover); transform: translateY(-2px); }

/* --- PC LAYOUT --- */
.pc-core-container { display: flex; gap: 40px; margin-bottom: 40px; }
.pc-image-col { flex: 1; max-width: 450px; }
.pc-info-col  { flex: 1; }
#main-pc-image { width: 100%; height: 400px; object-fit: contain; background: #f9f9f9; border-radius: 12px; cursor: zoom-in; border: 1px solid #eee; transition: opacity 0.2s; }

.thumbs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; margin-top: 15px; }
.thumb-img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
.thumb-img:hover { border-color: var(--brand); }

.pc-title { font-size: 2.2rem; margin: 0; color: #1a1a1a; }
.pc-meta { color: #aaa; font-size: .9rem; margin-bottom: 25px; }
.pc-description { white-space: pre-line; color: #555; margin-bottom: 30px; font-size: .95rem; }

/* --- TABLES --- */
.tech-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-top: 2px solid var(--brand); }
.tech-table td { padding: 12px 10px; font-size: .9rem; border-bottom: 1px solid #f4f4f4; }
.tech-table td.label { font-weight: 700; color: #999; text-transform: uppercase; font-size: .7rem; width: 120px; }
.tech-table td.value { font-weight: 600; color: #333; }

/* --- COMMENTS --- */
.comment-section { border-top: 1px solid #eee; padding-top: 40px; margin-top: 40px; }
.comment-form { background: #f8f9fa; padding: 25px; border-radius: 10px; margin-bottom: 30px; }
.comment-item { background: #f9f9f9; padding: 20px; border-radius: 10px; margin-bottom: 20px; border: 1px solid #eee; }
.com-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }

/* --- LIGHTBOX --- */
#lightbox { display: none; position: fixed; z-index: 10000; inset: 0; background: rgba(0,0,0,.9); align-items: center; justify-content: center; cursor: pointer; }
#lightbox.active { display: flex; }
#lightbox img { max-width: 90%; max-height: 90%; border-radius: 5px; }

@media (max-width: 768px) { .pc-core-container { flex-direction: column; } }