/* domone — okienko czatu: monochrom + akcent (#B83A1E), jak w motywie. */
.domone-chat__btn {
	position: fixed; right: 16px; bottom: 16px; z-index: 9998;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 18px; border: 0; border-radius: 999px;
	background: #111; color: #fff; font: 600 14px/1 Inter, system-ui, sans-serif; letter-spacing: .02em;
	cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.domone-chat__btn:hover { background: #B83A1E; }
.domone-chat__btn:focus-visible { outline: 2px solid #B83A1E; outline-offset: 3px; }
.domone-chat__badge {
	min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
	background: #B83A1E; color: #fff; font-size: 12px; line-height: 20px; text-align: center;
}
.domone-chat__btn:hover .domone-chat__badge { background: #111; }

.domone-chat__panel {
	position: fixed; right: 16px; bottom: 76px; z-index: 9999;
	display: flex; flex-direction: column;
	width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 100px);
	background: #fff; color: #111; border: 1px solid #E6E4E0; border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18); font: 14px/1.45 Inter, system-ui, sans-serif; overflow: hidden;
}
.domone-chat__panel[hidden] { display: none; }
.domone-chat__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 16px; border-bottom: 1px solid #E6E4E0;
	font-family: Outfit, Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: 13px;
}
.domone-chat__close { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #5E5E5E; padding: 0 4px; }
.domone-chat__list { flex: 1; overflow-y: auto; padding: 12px 16px; background: #F3F2EF; }
.domone-chat__hello { margin: 0 0 12px; color: #5E5E5E; font-size: 13px; }
.domone-chat__msg { max-width: 85%; margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; }
.domone-chat__msg--me { margin-left: auto; background: #111; color: #fff; border-bottom-right-radius: 4px; }
.domone-chat__msg--shop { margin-right: auto; background: #fff; border: 1px solid #E6E4E0; border-bottom-left-radius: 4px; }
.domone-chat__text { white-space: pre-wrap; word-wrap: break-word; }
.domone-chat__time { display: block; margin-top: 2px; font-size: 11px; opacity: .6; text-align: right; }
.domone-chat__form { padding: 10px 12px 12px; border-top: 1px solid #E6E4E0; }
.domone-chat__who { display: flex; gap: 6px; margin-bottom: 6px; }
.domone-chat__who[hidden] { display: none; }
.domone-chat__form input, .domone-chat__form textarea {
	width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #E6E4E0; border-radius: 8px;
	font: inherit; color: inherit; background: #fff; resize: none;
}
.domone-chat__form input:focus, .domone-chat__form textarea:focus { outline: 2px solid #111; outline-offset: -1px; }
.domone-chat__row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.domone-chat__note { flex: 1; margin: 0; font-size: 11px; color: #5E5E5E; }
.domone-chat__note a { color: inherit; }
.domone-chat__send {
	padding: 8px 16px; border: 0; border-radius: 8px; background: #111; color: #fff; font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; cursor: pointer;
}
.domone-chat__send:hover { background: #B83A1E; }
.domone-chat__send:disabled { opacity: .5; cursor: default; }
.domone-chat__err { margin: 6px 0 0; color: #B83A1E; font-size: 12px; }

@media (max-width: 480px) {
	.domone-chat__label { display: none; }
	.domone-chat__btn { padding: 14px; }
	.domone-chat__panel { right: 8px; left: 8px; bottom: 72px; width: auto; max-width: none; height: calc(100vh - 96px); }
}
