/*
Theme Name:   Nội Thất (Flatsome Child)
Description:  Child theme của Flatsome cho site nội thất. Giữ lại custom post type (Đánh giá, Đối tác, Yêu cầu báo giá), meta box dự án và form báo giá [nt_bao_gia] từ theme noithat cũ.
Template:     flatsome
Version:      1.0.0
Text Domain:  noithat
*/

/* -------- Form báo giá [nt_bao_gia] -------- */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.quote-form { background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.quote-form__title { font-size: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; margin: 0; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid input, .form-grid select, .form-grid textarea { margin: 0; width: 100%; }

.quote-form .notice { padding: 12px 16px; border-radius: 8px; font-size: 15px; }
.quote-form .notice--ok { background: #e6f4ea; color: #1e6b37; }
.quote-form .notice--err { background: #fdecea; color: #a12a1f; }

.quote-form--compact { padding: 0; border-radius: 0; box-shadow: none; background: transparent; }
.form-grid--compact { grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
.quote-form--compact .button { width: 100%; }

@media (max-width: 549px) {
	.form-grid { grid-template-columns: 1fr; }
	.form-grid .span-2 { grid-column: auto; }
}
