.stk-cookie-consent-is-open {
    overflow: hidden;
}

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

.stk-cookie-consent {
    --stk-cookie-cta: var(--color-bg-brand-solid, #e6370d);
    --stk-cookie-cta-hover: var(--color-bg-brand-solid-hover, #c1260d);
    --stk-cookie-link: var(--color-text-brand-secondary, #c1260d);
    --stk-cookie-surface: var(--color-bg-primary, #ffffff);
    --stk-cookie-surface-muted: var(--color-bg-secondary, #f9fafb);
    --stk-cookie-border: var(--color-border-primary, #d0d5dd);
    --stk-cookie-control: var(--color-text-secondary, #344054);
    --stk-cookie-control-hover: var(--color-text-secondary-hover, #1d2939);
    --stk-cookie-focus: rgba(16, 24, 40, 0.16);
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: var(--color-text-primary, #101828);
    font-family: var(--wp--preset--font-family--sans, inherit);
}

.stk-cookie-consent__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.54);
}

.stk-cookie-consent__dialog {
    position: relative;
    width: min(100%, 720px);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    background: var(--stk-cookie-surface);
    border: 1px solid var(--stk-cookie-border);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(16, 24, 40, 0.24);
}

.stk-cookie-consent__dialog:focus {
    outline: 0;
}

.stk-cookie-consent__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 16px;
}

.stk-cookie-consent__eyebrow {
    margin: 0 0 6px;
    color: var(--color-text-tertiary, #667085);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.stk-cookie-consent__title {
    margin: 0;
    color: var(--color-text-primary, #101828);
    font-size: 24px;
    line-height: 1.25;
}

.stk-cookie-consent__icon-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--color-text-secondary, #344054);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 28px;
    line-height: 1;
}

.stk-cookie-consent__icon-button:hover,
.stk-cookie-consent__icon-button:focus-visible {
    background: var(--stk-cookie-surface-muted);
    border-color: var(--stk-cookie-border);
}

.stk-cookie-consent__body {
    padding: 0 24px 8px;
}

.stk-cookie-consent__message,
.stk-cookie-consent__privacy {
    margin: 0 0 14px;
    color: var(--color-text-secondary, #344054);
    font-size: 16px;
    line-height: 1.55;
}

.stk-cookie-consent__privacy a {
    color: var(--stk-cookie-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.stk-cookie-consent__inline-button {
    color: var(--stk-cookie-control);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.stk-cookie-consent__choices {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.stk-cookie-consent__choice {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--stk-cookie-border);
    border-radius: 8px;
    background: var(--stk-cookie-surface-muted);
}

.stk-cookie-consent__choice-title,
.stk-cookie-consent__choice-text {
    display: block;
}

.stk-cookie-consent__choice-title {
    margin-bottom: 4px;
    color: var(--color-text-primary, #101828);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.stk-cookie-consent__choice-text {
    color: var(--color-text-secondary, #344054);
    font-size: 14px;
    line-height: 1.45;
}

.stk-cookie-consent__switch {
    position: relative;
    display: inline-flex;
}

.stk-cookie-consent__switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.stk-cookie-consent__switch span {
    position: relative;
    display: block;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #d0d5dd;
    transition: background 160ms ease;
}

.stk-cookie-consent__switch span::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    content: "";
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.18);
    transition: transform 160ms ease;
}

.stk-cookie-consent__switch input:checked + span {
    background: var(--stk-cookie-control);
}

.stk-cookie-consent__switch input:checked + span::after {
    transform: translateX(20px);
}

.stk-cookie-consent__switch input:focus-visible + span {
    outline: 2px solid var(--stk-cookie-control-hover);
    outline-offset: 3px;
}

.stk-cookie-consent__switch input:disabled + span {
    cursor: not-allowed;
    opacity: 0.72;
}

.stk-cookie-consent__details {
    margin-top: 16px;
    border-top: 1px solid var(--stk-cookie-border);
    padding-top: 14px;
}

.stk-cookie-consent__details summary {
    color: var(--color-text-primary, #101828);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.stk-cookie-consent__table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 12px;
}

.stk-cookie-consent__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.4;
}

.stk-cookie-consent__table th,
.stk-cookie-consent__table td {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--color-border-primary, #d0d5dd);
}

.stk-cookie-consent__table th {
    color: var(--color-text-primary, #101828);
    font-weight: 700;
    background: var(--stk-cookie-surface-muted);
}

.stk-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 18px 24px 24px;
}

.stk-cookie-consent__button,
.stk-cookie-consent__inline-button {
    min-height: 42px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.stk-cookie-consent__button {
    padding: 10px 16px;
    border: 1px solid var(--color-border-primary, #d0d5dd);
}

.stk-cookie-consent__button--primary {
    color: #ffffff;
    background: var(--stk-cookie-cta);
    border-color: var(--stk-cookie-cta);
}

.stk-cookie-consent__button--secondary {
    color: var(--stk-cookie-control);
    background: #ffffff;
    border-color: var(--stk-cookie-border);
}

.stk-cookie-consent__button--ghost {
    color: var(--color-text-secondary, #344054);
    background: transparent;
}

.stk-cookie-consent__button:hover,
.stk-cookie-consent__button:focus-visible,
.stk-cookie-consent__inline-button:hover,
.stk-cookie-consent__inline-button:focus-visible {
    outline: 2px solid var(--stk-cookie-control-hover);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--stk-cookie-focus);
}

.stk-cookie-consent__button--primary:hover,
.stk-cookie-consent__button--primary:focus-visible {
    background: var(--stk-cookie-cta-hover);
    border-color: var(--stk-cookie-cta-hover);
}

.stk-cookie-consent__button--secondary:hover,
.stk-cookie-consent__button--secondary:focus-visible,
.stk-cookie-consent__button--ghost:hover,
.stk-cookie-consent__button--ghost:focus-visible {
    background: var(--stk-cookie-surface-muted);
    border-color: var(--stk-cookie-border);
}

.stk-cookie-consent__inline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: left;
}

.stk-cookie-consent__inline-button:hover {
    text-decoration: underline;
}

.site-footer__legal-list .stk-cookie-consent__inline-button {
    text-decoration: none;
}

.site-footer__legal-list .stk-cookie-consent__inline-button:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .stk-cookie-consent {
        padding: 10px;
    }

    .stk-cookie-consent__dialog {
        width: 100%;
        max-height: calc(100dvh - 20px);
    }

    .stk-cookie-consent__header,
    .stk-cookie-consent__body,
    .stk-cookie-consent__actions {
        padding-right: 18px;
        padding-left: 18px;
    }

    .stk-cookie-consent__title {
        font-size: 21px;
    }

    .stk-cookie-consent__choice {
        grid-template-columns: 1fr;
    }

    .stk-cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .stk-cookie-consent__button {
        width: 100%;
    }
}

