.cc {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2147483646 !important;
    display: flex;
    justify-content: center;
}

.cc__box {
    width: 100%;
    max-width: 720px;
    background: var(--cc-bg);
    color: var(--cc-text);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 24px;
    position: relative;
    z-index: 2147483647 !important;
}

.cc__header h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: var(--cc-text);
}

.cc__body p {
    margin: 0 0 20px;
    line-height: 1.6;
}

.cc__categories {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.cc__category {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
}

.cc__category-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cc__category-text small {
    opacity: .8;
    line-height: 1.4;
}

.cc__checkbox {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex: 0 0 auto;
}

.cc__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cc__links a {
    color: var(--cc-link);
    text-decoration: none;
}

.cc__footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.cc__btn {
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
}

.cc__btn--primary {
    background: var(--cc-primary);
    color: var(--cc-button-text);
}

.cc__btn--secondary {
    background: var(--cc-secondary);
    color: var(--cc-button-text);
}

.cc__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cc__btn-icon i {
    font-size: 16px;
    line-height: 1;
}

.cc__btn-text {
    display: inline;
}

@media (max-width: 640px) {
    .cc {
        left: 12px;
        right: 12px;
        bottom: 12px;
        align-items: flex-end;
    }

    .cc__box {
        max-height: calc(100vh - 24px);
        display: flex;
        flex-direction: column;
        padding: 18px;
    }

    .cc__header {
        flex: 0 0 auto;
    }

    .cc__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .cc__body > p {
        flex: 0 0 auto;
        margin-bottom: 14px;
    }

    .cc__categories {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-right: 4px;
        margin-bottom: 14px;
    }

    .cc__links {
        flex: 0 0 auto;
        margin-top: auto;
        margin-bottom: 0;
    }

    .cc__footer {
        flex: 0 0 auto;
        margin-top: 16px;
        padding-top: 14px;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .cc__btn {
        width: 52px;
        min-width: 52px;
        max-width: 52px;
        height: 52px;
        min-height: 52px;
        max-height: 52px;
        border-radius: 50%;
        padding: 0;
        flex: 0 0 52px;
    }

    .cc__btn-text {
        display: none;
    }

    .cc__btn-icon i {
        font-size: 18px;
    }
}
.cc-reopen {
    height: 55px;
    width: 55px;
    background-color: var(--cc-text);
    border: 0;
    border-radius: 50%;
    position: fixed;
    bottom: 25px;
    left: 30px;
    transform: scale(0);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2147483647 !important;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 60px;
    line-height: 1;
}

.cc-reopen.active {
    bottom: 30px;
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    animation: 500ms ease-in-out 0s 1 normal none running ccReopenIn;
}

.cc-reopen__inner {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: var(--cc-primary);
    color: var(--cc-button-text);
    display: grid;
    place-items: center;
    line-height: 1;
}

.cc-reopen__inner i {
    font-size: 20px;
    line-height: 1;
}

.cc-reopen:hover {
    opacity: 1;
}

.cc-reopen:focus-visible {
    outline: 2px solid var(--cc-link);
    outline-offset: 3px;
}

@-webkit-keyframes ccReopenIn {
  0% {
    -webkit-transform: translate3d(0, 80%, 0);
    transform: translate3d(0, 80%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

@keyframes ccReopenIn {
  0% {
    -webkit-transform: translate3d(0, 80%, 0);
    transform: translate3d(0, 80%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}