/* Own cookie consent banner (inc/cookie-consent.php, js/cookie-consent.js). */
.lvc[hidden], .lvc [hidden] { display: none !important; }
.lvc { font-family: 'Inter', Arial, sans-serif; color: #1f2933; }
.lvc-title { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; color: #1f2933; }
.lvc a { color: #0f69af; text-decoration: underline; }
.lvc a:hover, .lvc a:focus { color: #0b5590; }

.lvc-bar {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100400;
	max-width: 1100px; margin: 0 auto; padding: 20px 24px;
	display: flex; gap: 20px; align-items: center;
	background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(15, 35, 60, .22);
	border: 1px solid #e3e8ef;
}
.lvc-bar__text { flex: 1 1 auto; min-width: 0; }
.lvc-bar__text p { margin: 0; font-size: 14px; line-height: 1.5; }
.lvc-bar__actions { flex: 0 0 auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.lvc-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
	border: 2px solid #0f69af; border-radius: 8px; background: #0f69af; color: #fff;
	font: 600 15px/1.2 'Inter', Arial, sans-serif; cursor: pointer; white-space: nowrap;
}
.lvc-btn:hover, .lvc-btn:active { background: #0b5590; border-color: #0b5590; color: #fff; }
.lvc-btn:focus { color: #fff; }
.lvc-btn:focus-visible { outline: 3px solid #0b5590; outline-offset: 2px; }
.lvc-btn--link { background: transparent; border-color: transparent; color: #0f69af; text-decoration: underline; padding: 0 8px; }
.lvc-btn--link:hover, .lvc-btn--link:active, .lvc-btn--link:focus { background: transparent; border-color: transparent; color: #0b5590; }

.lvc-modal {
	position: fixed; inset: 0; z-index: 100410; display: flex; align-items: center; justify-content: center;
	padding: 16px; background: rgba(15, 25, 40, .55);
}
.lvc-modal__box {
	position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto;
	padding: 28px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); outline: none;
}
.lvc-modal__close {
	position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
	background: transparent; color: #52606d; font-size: 28px; line-height: 1; cursor: pointer;
}
.lvc-modal__close:hover, .lvc-modal__close:focus { background: #f0f3f7; color: #1f2933; }
.lvc-modal__close:focus-visible { outline: 3px solid #0f69af; }
.lvc-modal__intro { margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
.lvc-cats { list-style: none; margin: 0 0 20px; padding: 0; }
.lvc-cat { padding: 14px 0; border-top: 1px solid #e3e8ef; }
.lvc-cat:last-child { border-bottom: 1px solid #e3e8ef; }
.lvc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; margin: 0; }
.lvc-cat__name { font-weight: 600; font-size: 15px; }
.lvc-cat__desc { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #52606d; }

.lvc-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; }
.lvc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.lvc-switch__track { position: absolute; inset: 0; border-radius: 13px; background: #c3ccd6; transition: background .15s; }
.lvc-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.lvc-switch input:checked + .lvc-switch__track { background: #0f69af; }
.lvc-switch input:checked + .lvc-switch__track::after { transform: translateX(20px); }
.lvc-switch input:disabled { cursor: not-allowed; }
.lvc-switch input:disabled + .lvc-switch__track { background: #7fa9cf; }
.lvc-switch input:focus-visible + .lvc-switch__track { outline: 3px solid #0b5590; outline-offset: 2px; }

.lvc-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 900px) {
	.lvc-bar { flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; left: 10px; right: 10px; bottom: 10px; }
	.lvc-bar__actions { justify-content: stretch; }
	.lvc-bar__actions .lvc-btn:not(.lvc-btn--link) { flex: 1 1 0; }
}
@media (max-width: 480px) {
	.lvc-bar__actions { display: grid; grid-template-columns: 1fr 1fr; }
	.lvc-bar__actions .lvc-btn--link { grid-column: 1 / -1; order: 3; min-height: 36px; }
	.lvc-modal__box { padding: 22px 18px; }
	.lvc-modal__actions .lvc-btn { flex: 1 1 100%; }
}
/* The contact button stays clear of the bar while it is open. */
body.lvc-open .lv-cw, body.lvc-open .lv-chat-btn { visibility: hidden; }
body.lvc-modal-open { overflow: hidden; }
@media print { .lvc { display: none !important; } }
/* The theme styles every <button>: keep the close button plain. */
.lvc .lvc-modal__close, .lvc .lvc-modal__close:focus { background: transparent !important; color: #52606d !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; }
.lvc .lvc-modal__close:hover { background: #f0f3f7 !important; color: #1f2933 !important; }
