.kp-consent[hidden],
.kp-consent-manage[hidden],
.kp-consent__summary[hidden],
.kp-consent__settings[hidden] {
    display: none !important;
}

.kp-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2147483000;
    width: min(620px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 24px;
    color: #181816;
    background: #fffdf8;
    border: 1px solid rgba(24, 24, 22, 0.18);
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
    font-family: inherit;
}

.kp-consent__eyebrow {
    margin: 0 0 8px;
    color: #5d675a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kp-consent__title {
    margin: 0 0 12px;
    color: #181816;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.12;
}

.kp-consent__copy {
    margin: 0;
    color: #42423e;
    font-size: 15px;
    line-height: 1.55;
}

.kp-consent a,
.kp-consent__link-button {
    color: #284f3c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kp-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.kp-consent__button,
.kp-consent__link-button,
.kp-consent-manage {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.kp-consent__button {
    padding: 11px 16px;
    color: #181816;
    background: #ece9e0;
}

.kp-consent__button--primary {
    color: #fff;
    background: #181816;
}

.kp-consent__link-button {
    padding: 10px 4px;
    background: transparent;
}

.kp-consent__button:focus-visible,
.kp-consent__link-button:focus-visible,
.kp-consent-manage:focus-visible,
.kp-consent input:focus-visible {
    outline: 3px solid #b58437;
    outline-offset: 3px;
}

.kp-consent__category {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 14px;
    color: #242420;
    background: #f3f0e8;
    border-radius: 10px;
}

.kp-consent__category strong {
    display: block;
    margin-bottom: 4px;
}

.kp-consent__category p,
.kp-consent__category span span {
    display: block;
    margin: 0;
    color: #55554f;
    font-size: 13px;
    line-height: 1.45;
}

.kp-consent__category input {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    accent-color: #284f3c;
}

.kp-consent__required {
    flex: 0 0 auto;
    color: #284f3c;
    font-size: 12px;
    font-weight: 700;
}

.kp-consent-manage {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 2147482999;
    min-height: 38px;
    padding: 8px 12px;
    color: #fff;
    background: #181816;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
    font-size: 12px;
}

@media (max-width: 640px) {
    .kp-consent {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 18px;
    }

    .kp-consent__actions,
    .kp-consent__button {
        width: 100%;
    }

    .kp-consent__button,
    .kp-consent__link-button {
        text-align: center;
    }

    .kp-consent__category {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kp-consent *,
    .kp-consent-manage {
        scroll-behavior: auto !important;
    }
}

