.hc-consent-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 9999;
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(24, 27, 24, 0.97);
    color: #f5f5f5;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    line-height: 1.4;
    backdrop-filter: blur(10px);
}

.hc-consent-banner__text {
    min-width: 0;
    margin: 0;
    word-break: keep-all;
}

.hc-consent-banner__text a {
    margin-left: 3px;
    color: #ccebbd;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hc-consent-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(76px, 1fr));
    gap: 6px;
}

.hc-consent-banner__btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #fff;
    color: #111;
    min-width: 76px;
    min-height: 42px;
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.hc-consent-banner__btn--ghost {
    background: transparent;
    color: #f5f5f5;
}

body.hc-consent-banner-visible::after {
    display: block;
    height: var(--hc-consent-banner-offset, 0px);
    content: "";
}

body.hc-consent-banner-visible .estimate-actions,
body.hc-consent-banner-visible .estimate-result-sticky {
    bottom: var(--hc-consent-banner-offset, 0px) !important;
}

@media (max-width: 480px) {
    .hc-consent-banner {
        left: 8px;
        right: 8px;
        gap: 7px;
        padding: 8px 8px 8px 11px;
        font-size: 11px;
        line-height: 1.35;
    }

    .hc-consent-banner__btn {
        min-width: 64px;
        min-height: 44px;
        padding: 6px 7px;
        font-size: 11px;
    }

    .hc-consent-banner__actions {
        grid-template-columns: repeat(2, minmax(64px, 1fr));
    }
}
