/* Boxify cookie consent – banner and settings dialog */
.bxc-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000;
    background: #ffffff; color: #1f2933; box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
    font-size: 14px; line-height: 1.5;
}
.bxc-banner__inner {
    max-width: 1170px; margin: 0 auto; padding: 16px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
}
.bxc-banner__text { flex: 1 1 520px; }
.bxc-banner__text strong { display: block; font-size: 16px; margin-bottom: 4px; }
.bxc-banner__text p { margin: 0; }
.bxc-banner a, .bxc-modal a { color: #c8102e; text-decoration: underline; }
.bxc-banner__actions, .bxc-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Accept and Refuse have the same look on purpose (equal ease, cookie policy point 4) */
.bxc-btn {
    min-width: 140px; padding: 10px 18px; border: 2px solid #c8102e; border-radius: 4px;
    background: #c8102e; color: #ffffff; font-weight: 600; font-size: 14px; cursor: pointer;
}
.bxc-btn:hover, .bxc-btn:focus { background: #a50d26; border-color: #a50d26; outline: none; }
.bxc-btn--link, .bxc-btn--save { background: #ffffff; color: #c8102e; }
.bxc-btn--link:hover, .bxc-btn--save:hover, .bxc-btn--link:focus, .bxc-btn--save:focus { background: #fbe9ec; color: #a50d26; }

.bxc-modal {
    position: fixed; inset: 0; z-index: 2147483001; background: rgba(17, 24, 39, .55);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.bxc-modal[style*="display: none"] { display: none !important; }
.bxc-modal__box {
    background: #ffffff; color: #1f2933; border-radius: 6px; max-width: 640px; width: 100%;
    max-height: 90vh; overflow-y: auto; padding: 24px; font-size: 14px; line-height: 1.5;
}
.bxc-modal__title { font-size: 20px; margin: 0 0 8px; }
.bxc-cat { border-top: 1px solid #e5e7eb; padding: 12px 0; }
.bxc-cat p { margin: 4px 0 0; color: #4b5563; }
.bxc-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bxc-cat__head label { margin: 0; cursor: pointer; }
.bxc-always { font-size: 12px; color: #047857; font-weight: 600; }
.bxc-switch { width: 20px; height: 20px; cursor: pointer; }
.bxc-modal__actions { margin-top: 16px; }

/* chat button: shown while Intercom is not loaded; a click loads and opens Intercom */
.bxc-chat-launcher {
    position: fixed; right: 20px; bottom: 20px; z-index: 2147482000;
    display: inline-flex; align-items: center; gap: 8px;
    background: #c8102e; color: #ffffff; border: 0; border-radius: 28px; padding: 12px 18px;
    font-weight: 600; font-size: 14px; line-height: 1; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: bottom .2s;
}
.bxc-chat-launcher:hover, .bxc-chat-launcher:focus { background: #a50d26; outline: none; }
.bxc-chat-launcher--loading { opacity: .7; cursor: progress; }

@media (max-width: 600px) {
    .bxc-btn { flex: 1 1 100%; }
}
