/* Neema chat */
.nchat { position: fixed; right: 20px; bottom: 20px; z-index: 70; font-family: inherit; }
.nchat__launcher { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px 0 8px; border: 0; border-radius: 99px; background: #00803f; color: #fff; font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 60, 30, .35); transition: transform .15s, box-shadow .15s; }
.nchat__launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 60, 30, .4); }
.nchat__launcher-logo { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.nchat__launcher-logo img { width: 30px; height: 30px; }
.nchat.is-open .nchat__launcher { display: none; }
.nchat__panel { position: absolute; right: 0; bottom: 0; width: 370px; max-height: min(640px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(20, 20, 20, .25); animation: nchat-in .2s ease; }
.nchat__panel[hidden] { display: none; }
@keyframes nchat-in { from { opacity: 0; transform: translateY(10px); } }
.nchat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #fff; border-top: 5px solid #00803f; border-bottom: 1px solid #ece8e3; }
.nchat__logo { height: 40px; width: auto; flex: none; }
.nchat__head-text { flex: 1; min-width: 0; }
.nchat__head h2 { margin: 0; font-size: .98rem; line-height: 1.25; color: #1d1817; }
.nchat__head p { margin: 2px 0 0; font-size: .78rem; color: #6b6562; display: flex; align-items: center; gap: 6px; }
.nchat__head p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #00a858; }
.nchat__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1efeb; color: #1d1817; font-size: 22px; line-height: 1; cursor: pointer; flex: none; }
.nchat__body { flex: 1; overflow-y: auto; padding: 16px; background: #f6f4f1; display: flex; flex-direction: column; gap: 12px; }
.nchat__msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.nchat__msg img { width: 28px; height: 28px; border-radius: 50%; background: #fff; padding: 3px; flex: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.nchat__msg p { margin: 0; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: .9rem; line-height: 1.5; color: #1d1817; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.nchat__msg--you { align-self: flex-end; }
.nchat__msg--you p { background: #00803f; color: #fff; border-radius: 14px 14px 4px 14px; }
.nchat__actions { display: grid; gap: 8px; }
.nchat__action { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; color: #1d1817; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); border: 1px solid #ece8e3; transition: border-color .15s, transform .1s; }
.nchat__action:hover { border-color: #00803f; color: #1d1817; }
.nchat__action:active { transform: translateY(1px); }
.nchat__action .neema-icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #e6f5ec; color: #00803f; flex: none; }
.nchat__action::after { content: "›"; margin-left: auto; font-size: 1.4rem; color: #9b948f; line-height: 1; }
.nchat__action--wa { background: #1e8e4e; border-color: #1e8e4e; color: #fff; }
.nchat__action--wa:hover { color: #fff; border-color: #17733f; background: #17733f; }
.nchat__action--wa .neema-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.nchat__action--wa::after { color: rgba(255, 255, 255, .8); }
.nchat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 36px; }
.nchat__chips[hidden], .nchat__actions[hidden] { display: none; }
.nchat__chip { padding: 8px 13px; border: 1.5px solid #00803f; border-radius: 99px; background: #fff; color: #00803f; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; }
.nchat__chip:hover, .nchat__chip.is-picked { background: #00803f; color: #fff; }
.nchat__form { display: flex; flex-direction: column; gap: 10px; }
.nchat__form[hidden], .nchat__done[hidden], .nchat__error[hidden] { display: none; }
.nchat__field { display: flex; flex-direction: column; gap: 3px; font-size: .8rem; font-weight: 600; color: #4a4543; }
.nchat__field input, .nchat__field textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid #e2ddd7; border-radius: 10px; background: #fff; font: inherit; font-size: .95rem; font-weight: 400; color: #1d1817; }
.nchat__field input:focus, .nchat__field textarea:focus { outline: none; border-color: #00803f; box-shadow: 0 0 0 3px rgba(0, 128, 63, .15); }
.nchat__field [aria-invalid="true"] { border-color: #d42a2a; }
.nchat__consent { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: #4a4543; line-height: 1.45; }
.nchat__consent input { margin-top: 2px; accent-color: #00803f; width: 16px; height: 16px; flex: none; }
.nchat__consent [aria-invalid="true"] { outline: 2px solid #d42a2a; }
.nchat__error { margin: 0; padding: 8px 10px; border-radius: 8px; background: #fdeceb; color: #7a1414; font-size: .84rem; }
.nchat__send { min-height: 46px; border: 0; border-radius: 10px; background: #00803f; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.nchat__send:hover { background: #006632; }
.nchat__send:disabled { opacity: .7; cursor: progress; }
.nchat__wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 10px; background: #1e8e4e; color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; }
.nchat__wa:hover { background: #17733f; color: #fff; }
.nchat__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid #ece8e3; background: #fff; font-size: .76rem; color: #6b6562; }
.nchat__foot a { color: #00803f; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.nchat__foot .neema-icon { width: 15px; height: 15px; }
.nchat__credit a { color: #4a4543; }
@media (max-width: 720px) {
	.nchat { right: 12px; bottom: 76px; } /* above the mobile contact bar */
	.nchat__launcher { width: 58px; height: 58px; padding: 0; justify-content: center; }
	.nchat__launcher-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.nchat.is-open { inset: 0; right: 0; bottom: 0; }
	.nchat__panel { position: fixed; inset: 0; width: auto; max-height: none; border-radius: 0; }
	.admin-bar .nchat__panel { top: 46px; }
}
@media (prefers-reduced-motion: reduce) { .nchat__panel { animation: none; } .nchat__launcher { transition: none; } }
@media print { .nchat { display: none; } }
