/* Bottom consent bar, following the Rakhiva layout without Bootstrap overrides. */
.cookie-consent[hidden], .cookie-consent [hidden], .cookie-consent-open[hidden] { display: none !important; }
.cookie-consent, .cookie-consent * { box-sizing: border-box; }
.cookie-consent {
    position: fixed; inset: auto 0 0; z-index: 999999;
    max-height: 85vh; max-height: 85dvh; overflow-y: auto;
    background: rgba(18, 18, 18, .97); color: #fff;
    font: 14px/1.6 Arial, sans-serif; text-align: left;
    box-shadow: 0 -3px 20px rgba(0, 0, 0, .18);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cookie-consent-inner { max-width: 1120px; margin: 0 auto; padding: 28px 30px; display: flex; align-items: center; gap: 48px; }
.cookie-consent-copy { flex: 1; min-width: 0; }
.cookie-consent .cookie-consent-copy h2 { font: bold 19px/1.4 Arial, sans-serif; color: #fff; margin: 0 0 10px; text-transform: none; }
.cookie-consent .cookie-consent-copy p { margin: 0; font: inherit; color: #fff; }
.cookie-consent-actions { flex: 0 0 280px; display: flex; flex-direction: column; gap: 8px; }
.cookie-consent .cookie-consent-actions button {
    display: block; width: 100%; min-height: 42px; margin: 0; padding: 9px 16px;
    border: 1px solid #fff; border-radius: 0; background: #fff; color: #222;
    font: 14px/1.5 Arial, sans-serif; text-align: center; text-transform: none; cursor: pointer;
}
.cookie-consent .cookie-consent-actions button:hover { background: #e8e8e8; }
.cookie-consent .cookie-consent-actions .cookie-consent-secondary { background: transparent; color: #fff; border-color: #777; text-decoration: underline; }
.cookie-consent .cookie-consent-actions .cookie-consent-secondary:hover { background: #333; }
.cookie-consent button:focus-visible, .cookie-consent input:focus-visible, .cookie-consent-open:focus-visible { outline: 3px solid #62c9ff; outline-offset: 3px; }
#cookie-consent-preferences { margin-top: 16px; }
.cookie-consent .cookie-consent-option { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font: inherit; color: #fff; cursor: pointer; }
.cookie-consent .cookie-consent-option input { appearance: auto; position: static; opacity: 1; width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 18px; accent-color: #fff; }
.cookie-consent-open { position: fixed; bottom: 12px; left: 12px; z-index: 99998; padding: 8px 12px; border: 1px solid #777; border-radius: 3px; background: #181818; color: #fff; font: 12px/1.4 Arial, sans-serif; cursor: pointer; }
.cookie-consent-embed { display: block; margin: 8px 0; padding: 12px; border: 1px solid #777; background: #f5f5f5; color: #222; font: 13px/1.5 Arial, sans-serif; cursor: pointer; }
@media (max-width: 700px) {
    .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 18px; }
    .cookie-consent-actions { flex-basis: auto; }
    .cookie-consent .cookie-consent-copy h2 { font-size: 17px; }
}
@media print { .cookie-consent, .cookie-consent-open { display: none !important; } }
