/* Panneau de consentement GA4, commun aux pages FR et NL. */
.slytio-consent[hidden] {
    display: none !important;
}

.slytio-consent {
    position: fixed;
    z-index: 10000;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 960px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    border: 1px solid #d7d7d7;
    border-radius: 14px;
    background: #fff;
    color: #1f1f1f;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    line-height: 1.45;
}

.slytio-consent__content {
    flex: 1 1 auto;
    min-width: 0;
}

.slytio-consent__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.slytio-consent__description {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
}

.slytio-consent__policy {
    display: inline-block;
    font-size: 14px;
    color: #a33d12;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.slytio-consent__actions {
    flex: 0 0 230px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.slytio-consent__button {
    width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #595959;
    border-radius: 8px;
    background: #fff;
    color: #1f1f1f;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.slytio-consent__button:hover {
    border-color: #a33d12;
    background: #fff3ed;
}

.slytio-consent__button:focus-visible,
.slytio-consent__policy:focus-visible,
.slytio-consent__settings:focus-visible {
    outline: 3px solid #a33d12;
    outline-offset: 3px;
}

.slytio-consent__settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 700px) {
    .slytio-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-height: calc(100dvh - 20px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px;
    }

    .slytio-consent__actions {
        flex: 0 0 auto;
    }
}
