.kc-backdrop[hidden],
.kc-banner[hidden],
.kc-reopen[hidden],
.kc-current[hidden] {
    display: none !important;
}

.kc-backdrop {
    position: fixed;
    z-index: 2147482998;
    inset: 0;
    background: rgba(31, 27, 34, .34);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    pointer-events: none;
}

.kc-banner,
.kc-reopen {
    box-sizing: border-box;
    font-family: inherit;
}

.kc-banner {
    position: fixed;
    z-index: 2147483000;
    inset: auto 20px 24px;
    display: grid;
    grid-template-columns: minmax(190px, 225px) minmax(0, 1fr) 230px;
    width: calc(100% - 40px);
    max-width: 1240px;
    max-height: 84dvh;
    min-height: 194px;
    margin-inline: auto;
    overflow-y: auto;
    border: 1px solid rgba(227, 222, 232, .95);
    border-radius: 20px;
    background: #fff;
    color: #282339;
    box-shadow: 0 20px 55px rgba(22, 15, 32, .25), 0 3px 10px rgba(22, 15, 32, .1);
    direction: ltr;
    line-height: 1.4;
}

.kc-banner * {
    box-sizing: border-box;
}

html[dir="rtl"] .kc-main,
html[dir="rtl"] .kc-aside {
    direction: rtl;
}

.kc-brand {
    position: relative;
    display: grid;
    min-height: 194px;
    place-items: center;
    overflow: hidden;
    border-right: 1px solid #eee9f0;
    background: #faf5fd;
    background: radial-gradient(circle at 20% 95%, color-mix(in srgb, var(--kc-accent) 17%, white), transparent 65%), #faf8fb;
}

.kc-brand::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .7));
    content: '';
}

.kc-brand-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .62;
}

.kc-brand-logo {
    position: relative;
    z-index: 1;
    width: min(77%, 170px);
    max-height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 2px 9px rgba(255, 255, 255, .8));
}

.kc-main {
    min-width: 0;
    padding: 23px 18px 18px 24px;
    text-align: start;
}

.kc-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.kc-cookie {
    flex: none;
    font-size: 27px;
    line-height: 1.1;
}

.kc-intro {
    min-width: 0;
}

.kc-intro h2 {
    margin: 0 0 5px;
    color: #292039;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
}

.kc-intro p {
    margin: 0;
    color: #61596b;
    font-size: 12px;
    line-height: 1.5;
}

.kc-current {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    color: #61596b;
    font-size: 11px;
}

.kc-current strong {
    color: #292039;
    font-weight: 700;
}

.kc-current-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--kc-accent);
}

.kc-preferences {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.kc-category {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 155px;
    min-width: 0;
    max-width: 165px;
    min-height: 48px;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid #e6e1e9;
    border-radius: 14px;
    background: #faf9fb;
    cursor: pointer;
}

.kc-category:has(input:checked) {
    border-color: color-mix(in srgb, var(--kc-accent) 30%, #e6e1e9);
    background: color-mix(in srgb, var(--kc-accent) 4%, white);
}

.kc-category-icon {
    display: grid;
    width: 24px;
    height: 24px;
    flex: none;
    place-items: center;
    border-radius: 8px;
    background: #f0edf3;
    color: #554965;
}

.kc-category-icon svg {
    width: 16px;
    height: 16px;
}

.kc-category-copy {
    min-width: 0;
    flex: 1;
}

.kc-category strong {
    display: block;
    color: #322b3d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.kc-category small {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.kc-category input {
    position: relative;
    width: 34px;
    height: 20px;
    flex: none;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px;
    background: #bbb7c0;
    cursor: pointer;
    transition: background-color .15s ease;
}

.kc-category input::after {
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
    content: '';
    transition: transform .15s ease;
}

.kc-category input:checked {
    background: var(--kc-accent);
}

.kc-category input:checked::after {
    transform: translateX(14px);
}

html[dir="rtl"] .kc-category input:checked::after {
    transform: translateX(-14px);
}

.kc-category input:disabled {
    cursor: not-allowed;
    opacity: .8;
}

.kc-details {
    margin-top: 10px;
    color: #625a6b;
    font-size: 11px;
}

.kc-details summary {
    width: fit-content;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kc-details-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    padding: 8px 0 0;
}

.kc-details-body p {
    margin: 0;
    line-height: 1.45;
}

.kc-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 24px 39px 15px 16px;
    border-left: 1px solid #ece7ef;
}

.kc-close {
    position: absolute;
    top: 12px;
    right: 11px;
    display: grid;
    width: 25px;
    height: 25px;
    padding: 2px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #40354d;
    cursor: pointer;
}

.kc-close svg {
    width: 19px;
    height: 19px;
}

.kc-actions {
    display: grid;
    gap: 7px;
}

.kc-banner .kc-actions button {
    width: 100%;
    min-height: 39px;
    padding: 7px 10px;
    border: 1px solid #b9adca;
    border-radius: 999px;
    background: #fff;
    color: #322844;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    transition: background-color .15s ease, border-color .15s ease, filter .15s ease;
}

.kc-banner .kc-actions [data-kc-action="accept"] {
    border-color: var(--kc-accent);
    background: var(--kc-accent);
    color: #fff;
}

.kc-banner .kc-actions [data-kc-action="customize"] {
    border-color: transparent;
    background: #f4ecfa;
    background: color-mix(in srgb, var(--kc-accent) 10%, white);
}

.kc-banner .kc-actions button:hover {
    border-color: var(--kc-accent);
}

.kc-banner .kc-actions [data-kc-action="accept"]:hover {
    filter: brightness(.9);
}

.kc-footnote {
    margin: 7px 0 0;
    color: #81798a;
    font-size: 9px;
    line-height: 1.35;
    text-align: center;
}

.kc-banner button:focus-visible,
.kc-reopen:focus-visible,
.kc-category input:focus-visible,
.kc-details summary:focus-visible {
    outline: 2px solid var(--kc-accent);
    outline-offset: 3px;
}

.kc-reopen {
    position: fixed;
    z-index: 2147482999;
    bottom: 16px;
    inset-inline-end: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 7px 11px;
    border: 1px solid #e7e5e9;
    border-radius: 10px;
    background: #fff;
    color: #29272d;
    box-shadow: 0 8px 24px rgba(22, 20, 27, .14);
    cursor: pointer;
    font: inherit;
    text-align: start;
}

.kc-reopen-icon {
    width: 23px;
    height: 23px;
    flex: none;
    color: var(--kc-accent);
}

.kc-reopen-copy {
    display: grid;
    gap: 1px;
}

.kc-reopen-copy strong {
    font-size: 12px;
    line-height: 1.2;
}

.kc-reopen-copy small {
    color: #716d75;
    font-size: 10px;
    line-height: 1.2;
}

.kc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 1160px) {
    .kc-banner {
        grid-template-columns: 170px minmax(0, 1fr) 205px;
    }

    .kc-preferences {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kc-category {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .kc-banner {
        grid-template-columns: minmax(0, 1fr) 190px;
    }

    .kc-brand {
        display: none;
    }

    .kc-main {
        padding: 20px 16px;
    }

    .kc-intro h2 {
        font-size: 17px;
    }
}

@media (max-width: 620px) {
    .kc-banner {
        inset: auto 8px 8px;
        display: block;
        width: calc(100% - 16px);
        max-height: min(78dvh, 370px);
        min-height: 0;
        border-radius: 16px;
    }

    .kc-main {
        padding: 14px 14px 10px;
    }

    .kc-header {
        gap: 8px;
        padding-right: 23px;
    }

    .kc-cookie {
        font-size: 21px;
    }

    .kc-intro h2 {
        margin-bottom: 3px;
        font-size: 15px;
    }

    .kc-intro p {
        font-size: 11px;
        line-height: 1.4;
    }

    .kc-current {
        margin-top: 4px;
        font-size: 10px;
    }

    .kc-preferences {
        gap: 6px;
        margin-top: 12px;
    }

    .kc-category {
        min-height: 40px;
        padding: 5px 7px;
        border-radius: 10px;
    }

    .kc-category-icon {
        width: 19px;
        height: 19px;
    }

    .kc-category-icon svg {
        width: 14px;
        height: 14px;
    }

    .kc-category strong {
        font-size: 10px;
    }

    .kc-category input {
        width: 30px;
        height: 18px;
    }

    .kc-category input::after {
        top: 2px;
        inset-inline-start: 2px;
    }

    .kc-category input:checked::after {
        transform: translateX(12px);
    }

    html[dir="rtl"] .kc-category input:checked::after {
        transform: translateX(-12px);
    }

    .kc-details {
        margin-top: 7px;
        font-size: 10px;
    }

    .kc-details-body {
        grid-template-columns: 1fr;
    }

    .kc-aside {
        position: static;
        padding: 0 14px 13px;
        border: 0;
    }

    .kc-close {
        top: 9px;
        right: 8px;
    }

    .kc-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .kc-banner .kc-actions button {
        min-height: 37px;
        padding: 6px 7px;
        font-size: 11px;
    }

    .kc-banner .kc-actions [data-kc-action="customize"] {
        grid-column: 1 / -1;
    }

    .kc-footnote {
        display: none;
    }

    .kc-reopen {
        bottom: 8px;
        inset-inline-end: 8px;
    }
}

@media (max-width: 991.98px) {
    body:has(.store-mobile-bottom-nav) .kc-reopen,
    body:has(.classic-light-mobile-bottom-nav) .kc-reopen {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .kc-category input,
    .kc-category input::after,
    .kc-banner .kc-actions button {
        transition: none;
    }
}
