/* Horizon Bee Africa - cookie consent banner (components/consent.css) */

.hbc {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 2147483000;
    box-sizing: border-box;
    width: min(400px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 18px 18px 16px;
    background: #fafafa;
    color: #2b2207;
    border: 1px solid #e6dcc4;
    border-top: 4px solid #d89b00;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(65, 46, 3, 0.25);
    font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.hbc *, .hbc *::before, .hbc *::after { box-sizing: border-box; }

.hbc-top { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.hbc-bee { font-size: 26px; line-height: 1; }

.hbc-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #412e03;
}

.hbc-text { margin: 0 0 12px; font-size: 14px; color: #4b3d17; }

.hbc-link { color: #8a5a00; font-weight: 600; text-decoration: underline; }
.hbc-link:hover { color: #412e03; }

.hbc-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

.hbc-btn {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #412e03;
    border-radius: 999px;
    background: #fff;
    color: #412e03;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.hbc-btn:hover { background: #f4ecd9; }
.hbc-primary { background: #412e03; color: #fff; }
.hbc-primary:hover { background: #5a4106; }

.hbc-btn:focus-visible, .hbc-link:focus-visible {
    outline: 3px solid #d89b00;
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .hbc { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 16px 14px 14px; }
    .hbc-btn { flex: 1 1 40%; }
}

/* the "Cookie settings" link in the footers: looks like the other footer links */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.footer-cookie-btn {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: inherit;
    cursor: pointer;
}
.footer-cookie-btn:hover { text-decoration: underline; }
.footer-cookie-btn:focus-visible { outline: 2px solid #d89b00; outline-offset: 2px; }
