.cc-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2147483000;
    max-width: 34rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    background: #fff;
    color: #191919;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
    font-family: Montserrat, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
}

.cc-banner[hidden] {
    display: none;
}

.cc-title {
    margin: 0 0 0.5rem;
    color: #395143;
    font-size: 1.125rem;
    font-weight: 700;
}

.cc-text {
    margin: 0 0 1rem;
}

.cc-text a {
    color: #395143;
    text-decoration: underline;
}

.cc-details {
    margin: 0 0 1rem;
    border-top: 1px solid #EAEAEA;
}

.cc-details[hidden] {
    display: none;
}

.cc-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #EAEAEA;
}

.cc-option strong {
    display: block;
    color: #191919;
}

.cc-option span {
    color: #666;
    font-size: 0.8125rem;
}

.cc-switch {
    position: relative;
    flex-shrink: 0;
    width: 2.75rem;
    height: 1.5rem;
    margin-top: 0.125rem;
}

.cc-switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.cc-switch input:disabled {
    cursor: not-allowed;
}

.cc-slider {
    position: absolute;
    inset: 0;
    background: #DFDFDF;
    border-radius: 999px;
    transition: background 0.15s ease-in-out;
}

.cc-slider::after {
    content: "";
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s ease-in-out;
}

.cc-switch input:checked + .cc-slider {
    background: #395143;
}

.cc-switch input:checked + .cc-slider::after {
    transform: translateX(1.25rem);
}

.cc-switch input:disabled + .cc-slider {
    opacity: 0.6;
}

.cc-switch input:focus-visible + .cc-slider {
    outline: 2px solid #FE8100;
    outline-offset: 2px;
}

.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cc-btn {
    flex: 1 1 auto;
    padding: 0.625rem 1rem;
    border: 2px solid #395143;
    border-radius: 0.375rem;
    background: #fff;
    color: #395143;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease-in-out, color 0.15s ease-in-out;
}

.cc-btn:hover {
    background: #395143;
    color: #fff;
}

.cc-btn:focus-visible {
    outline: 2px solid #FE8100;
    outline-offset: 2px;
}

.cc-btn[hidden] {
    display: none;
}

.cc-btn-primary {
    background: #395143;
    color: #fff;
}

.cc-btn-primary:hover {
    background: #2b3d32;
    border-color: #2b3d32;
}

.cc-link {
    display: block;
    margin-top: 0.75rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cc-link[hidden] {
    display: none;
}

@media (min-width: 640px) {
    .cc-banner {
        right: auto;
        left: 1.5rem;
        bottom: 1.5rem;
    }
}
