/* Giao diện cửa sổ "cổng xem chi tiết" (src/cong.js dựng HTML, public/cong.js điều khiển). */
.cong-lop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 60; }
.cong-lop.mo { opacity: 1; pointer-events: auto; }
.cong-cua-so { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%); width: min(760px, 94vw); max-height: 90vh; overflow-y: auto; background: #fffdf6; border-radius: 14px; box-shadow: 0 12px 44px rgba(0, 0, 0, .3); padding: 24px 26px 26px; z-index: 61; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #2b2314; }
.cong-cua-so.mo { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.cong-nut-dong { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: #8a6d1e; }
.cong-thong-bao-chinh { margin: 4px 26px 14px 0; line-height: 1.45; }
.cong-thong-bao { padding: 10px 14px; border-radius: 8px; margin: 0 0 14px; font-weight: 600; line-height: 1.45; }
.cong-loi-hien { background: #fdecea; border: 1px solid #f3b8b3; color: #8a1f11; }
.cong-thanh-cong { background: #e6f4e6; border: 1px solid #b8e0b8; color: #1b5e20; }
.cong-vung { border: 1px solid #ecdfb8; background: #fbf6e7; border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.cong-vung h3 { margin: 0 0 6px; font-size: 17px; color: #8a6d1e; letter-spacing: .02em; }
.cong-mo-ta { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: #4a3d20; }
.cong-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.cong-the { background: #fff; border: 1px solid #e2cf94; border-radius: 10px; padding: 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.cong-the-icon { font-size: 26px; }
.cong-the-tieu-de { font-weight: 800; font-size: 15px; color: #3a2a12; }
.cong-the-mo-ta { font-size: 13.5px; color: #5b4c2a; line-height: 1.4; flex: 1; }
.cong-nut { padding: 9px 16px; background: #c9971c; color: #fff; border: 0; border-radius: 8px; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.cong-nut:hover { background: #a87d12; }
.cong-nut:disabled { opacity: .6; cursor: wait; }
.cong-nut-phu { display: inline-block; text-decoration: none; background: #8a5a2b; }
.cong-form { display: flex; flex-direction: column; gap: 8px; max-width: 460px; margin: 14px auto 0; }
.cong-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 700; color: #3a2f1a; }
.cong-form input[type=text], .cong-form input[type=tel], .cong-form input[type=email] { padding: 9px 10px; border: 1px solid #c9b98a; border-radius: 6px; font-size: 15px; font-family: inherit; font-weight: 400; }
.cong-form-ngang { flex-direction: row; max-width: none; margin-top: 4px; }
.cong-form-ngang input { flex: 1; }
.cong-form[hidden] { display: none; }
.cong-nho { margin: 0; font-size: 12.5px; color: #7a6b45; }
.cong-loi { margin-top: 6px; color: #b3261e; font-size: 13.5px; font-weight: 600; }
.cong-loi[hidden] { display: none; }
.cong-goi-ds { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; margin-bottom: 12px; }
.cong-goi { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 8px; align-items: center; background: #fff; border: 1px solid #e2cf94; border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 14px; }
.cong-goi input { grid-row: 1 / span 2; }
.cong-goi-ten { font-weight: 800; }
.cong-goi-gia { font-weight: 800; color: #b3261e; text-align: right; }
.cong-goi-chi-tiet { grid-column: 2 / span 2; font-size: 12.5px; color: #7a6b45; }
.cong-ngan-hang { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 12px; line-height: 1.6; font-size: 14.5px; }
.cong-ngan-hang img { max-width: 190px; width: 100%; border-radius: 8px; }
.cong-lien-he { text-align: center; margin: 4px 0 14px; }
.cong-lien-he p { margin: 0 0 8px; font-weight: 700; }
.cong-nut-lh { display: inline-block; margin: 3px; padding: 8px 14px; background: #4a3620; color: #fff8e8; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 14px; }
.cong-luot { margin: 16px 0 0; font-size: 13px; color: #7a6b45; text-align: right; }
@media (max-width: 560px) { .cong-cua-so { padding: 18px 14px 20px; } .cong-form-ngang { flex-direction: column; } }
