.cookie-settings-link {
    border: 0;
    padding: 0;
    background: none;
    color: #5b348a;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-settings-link:focus-visible,
.cookie-consent button:focus-visible,
.cookie-consent input:focus-visible,
.cookie-consent summary:focus-visible {
    outline: 3px solid #5b348a;
    outline-offset: 3px;
}

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

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.cookie-consent__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 9, 48, .76);
}

.cookie-consent__dialog {
    max-width: 430px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 0;
    font: 16px/1.7 GothamPro, sans-serif;
}

.cookie-consent__intro {
    padding: 42px 46px 46px;
}

.cookie-consent h2,
.cookie-consent h3 {
    margin: 0 0 16px;
    font: 600 18px/1.4 GothamPro, sans-serif;
}

.cookie-consent p {
    margin: 0 0 14px;
}

.cookie-consent__details {
    border: 0;
    padding: 0;
    background: none;
    color: #68408a;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

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

.cookie-consent__actions .button {
    width: 100%;
    min-height: 50px;
    margin: 0;
}

.cookie-consent__preferences {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
    width: 100%;
    padding: 46px;
    box-sizing: border-box;
}

.cookie-consent__dialog--wide {
    max-width: 980px;
}

.cookie-consent__category {
    margin-bottom: 14px;
}

.cookie-consent__category label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent__category input {
    width: 25px;
    height: 25px;
    margin: 0;
    accent-color: #5b348a;
}

.cookie-consent__category p {
    margin: 4px 0 0 37px;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-consent__explanation {
    font-size: 14px;
    min-width: 0;
}

.cookie-consent__technical-details {
    margin: 6px 0 0 37px;
    font-size: 12px;
}

.cookie-consent__technical-details summary {
    color: #68408a;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-consent__technical-details table {
    width: 100%;
    margin-top: 12px;
    border-collapse: collapse;
}

.cookie-consent__technical-details table,
.cookie-consent__technical-details tbody,
.cookie-consent__technical-details tr,
.cookie-consent__technical-details td {
    display: block;
}

.cookie-consent__technical-details thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.cookie-consent__technical-details tr {
    padding: 6px 0;
    border-bottom: 1px solid #e5dfea;
}

.cookie-consent__technical-details td {
    padding: 4px 0;
    border: 0;
    overflow-wrap: anywhere;
}

.cookie-consent__technical-details td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
}

.cookie-consent__technical-details code {
    font-size: 12px;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    .cookie-consent__intro,
    .cookie-consent__preferences {
        padding: 28px;
    }

    .cookie-consent__preferences {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
