:root {
    --bce-cookie-red: #971b25;
    --bce-cookie-red-dark: #79131b;
    --bce-cookie-red-soft: #fff3f4;
    --bce-cookie-text: #4a3b3d;
}

.bce-cookie-consent[hidden] {
    display: none !important;
}

.bce-cookie-consent,
.bce-cookie-consent * {
    box-sizing: border-box;
}

.bce-cookie-consent {
    position: fixed !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483647 !important;
    width: 100%;
    color: var(--bce-cookie-text);
    font-family: inherit;
}

.bce-cookie-consent__panel {
    width: 100%;
    max-height: 82vh;
    max-height: 82dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 13px clamp(24px, 6vw, 96px) max(12px, env(safe-area-inset-bottom));
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--bce-cookie-red-soft);
    box-shadow: 0 -8px 28px rgba(87, 16, 22, .10);
}

.bce-cookie-consent__copy,
.bce-cookie-consent__footer {
    width: min(1320px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.bce-cookie-consent__title {
    margin: 0 0 4px;
    color: #301d20;
    font-size: 12.5px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .015em;
}

.bce-cookie-consent__description,
.bce-cookie-consent__description p {
    margin: 0;
    color: var(--bce-cookie-text);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.bce-cookie-consent__description p + p {
    margin-top: 2px;
}

.bce-cookie-consent__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 6px;
}

.bce-cookie-consent__policy {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--bce-cookie-text);
    font-size: 10.5px;
    line-height: 1.4;
}

.bce-cookie-consent__policy a {
    color: var(--bce-cookie-red);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.bce-cookie-consent__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.bce-cookie-consent__button {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 27px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    border: 0 !important;
    border-radius: 4px !important;
    outline: 0;
    background: var(--bce-cookie-red) !important;
    color: #fff !important;
    font: inherit;
    font-size: 9px !important;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: .015em;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none !important;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.bce-cookie-consent__button:hover {
    background: var(--bce-cookie-red-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.bce-cookie-consent__button:focus-visible {
    outline: 2px solid rgba(151, 27, 37, .3);
    outline-offset: 2px;
}

@media (max-width: 860px) {
    .bce-cookie-consent__panel {
        padding: 12px 18px max(12px, env(safe-area-inset-bottom));
    }

    .bce-cookie-consent__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .bce-cookie-consent__actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .bce-cookie-consent__panel {
        max-height: 88vh;
        max-height: 88dvh;
        padding: 11px 13px max(11px, env(safe-area-inset-bottom));
    }

    .bce-cookie-consent__title {
        margin-bottom: 3px;
        font-size: 11.5px;
    }

    .bce-cookie-consent__description,
    .bce-cookie-consent__description p {
        font-size: 10px;
        line-height: 1.4;
    }

    .bce-cookie-consent__policy {
        font-size: 9.5px;
    }

    .bce-cookie-consent__actions {
        display: flex;
        gap: 5px;
    }

    .bce-cookie-consent__button {
        width: auto !important;
        min-height: 25px !important;
        padding: 4px 8px !important;
        font-size: 8.5px !important;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bce-cookie-consent__button {
        transition: none;
    }
}
