.purr-cookie-consent {
    position: relative;
    z-index: 10050;
}

.purr-cookie-consent__manage {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10052;
    border: 0;
    border-radius: 999px;
    background: #5d3b1f;
    color: #fff7ec;
    font: 600 14px/1.2 "Outfit", sans-serif;
    padding: 12px 18px;
    box-shadow: 0 16px 40px rgba(43, 26, 14, 0.28);
}

.purr-cookie-consent__backdrop {
    position: fixed;
    inset: 0;
    z-index: 10051;
    background: rgba(27, 20, 16, 0.45);
}

.purr-cookie-consent__banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 10052;
    max-width: 1080px;
    margin: 0 auto;
    padding: 22px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff8ef 0%, #f2e2cb 100%);
    color: #3b2819;
    border: 1px solid rgba(93, 59, 31, 0.16);
    box-shadow: 0 24px 64px rgba(38, 23, 14, 0.22);
}

.purr-cookie-consent__modal {
    position: fixed;
    inset: 0;
    z-index: 10053;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: auto;
}

.purr-cookie-consent__modal-card {
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 28px;
    background: #fffdf9;
    color: #2f2115;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(24, 17, 11, 0.35);
    pointer-events: auto;
}

.purr-cookie-consent__modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.purr-cookie-consent__eyebrow {
    font: 700 12px/1.1 "Outfit", sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #996629;
    margin-bottom: 8px;
}

.purr-cookie-consent__title {
    margin: 0 0 12px;
    font: 700 28px/1.1 "Outfit", sans-serif;
    color: #2f2115;
}

.purr-cookie-consent__text {
    margin: 0 0 12px;
    font: 400 15px/1.6 "Quicksand", sans-serif;
    color: #4a3421;
}

.purr-cookie-consent__text a {
    color: #6d411c;
    text-decoration: underline;
}

.purr-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.purr-cookie-consent__actions .action {
    min-height: 44px;
    border-radius: 999px;
    padding: 0 20px;
    font: 600 14px/1 "Outfit", sans-serif;
}

.purr-cookie-consent__actions .action.secondary,
.purr-cookie-consent__actions .action.tertiary {
    background: transparent;
    border: 1px solid rgba(93, 59, 31, 0.22);
    color: #4b3118;
}

.purr-cookie-consent__actions .action.primary {
    background: #5d3b1f;
    border: 1px solid #5d3b1f;
    color: #fff8ef;
}

.purr-cookie-consent__categories {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.purr-cookie-consent__category {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f7efe3;
    border: 1px solid rgba(93, 59, 31, 0.1);
}

.purr-cookie-consent__category strong,
.purr-cookie-consent__category span {
    display: block;
}

.purr-cookie-consent__category strong {
    margin-bottom: 6px;
    font: 700 16px/1.2 "Outfit", sans-serif;
    color: #2f2115;
}

.purr-cookie-consent__category span span {
    font: 400 14px/1.5 "Quicksand", sans-serif;
    color: #59412c;
}

.purr-cookie-consent__category input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #6d411c;
}

.purr-cookie-consent__close {
    border: 0;
    background: transparent;
    color: #6d411c;
    font-size: 30px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.purr-cookie-consent__actions .action,
.purr-cookie-consent__category,
.purr-cookie-consent__category input[type="checkbox"] {
    pointer-events: auto;
}

body.purr-cookie-consent-open {
    overflow: hidden;
}

.purr-cookie-consent__manage[hidden],
.purr-cookie-consent__backdrop[hidden],
.purr-cookie-consent__banner[hidden],
.purr-cookie-consent__modal[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .purr-cookie-consent__banner,
    .purr-cookie-consent__modal {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .purr-cookie-consent__banner {
        padding: 18px;
    }

    .purr-cookie-consent__title {
        font-size: 24px;
    }

    .purr-cookie-consent__modal {
        padding: 12px;
    }

    .purr-cookie-consent__modal-card {
        padding: 20px;
        max-height: calc(100vh - 24px);
    }

    .purr-cookie-consent__category {
        grid-template-columns: 1fr;
    }

    .purr-cookie-consent__manage {
        right: 12px;
        bottom: 12px;
    }
}
