.cc-hidden {
    display: none !important;
}

.cc-wrap {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    padding: 20px;
}

.cc-box {
    width: 100%;
    max-width: 760px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    padding: 24px;
}

.cc-header h3,
.cc-modal-header h3 {
    margin: 0;
    font-size: 22px;
}

.cc-body {
    margin-top: 12px;
}

.cc-body p {
    margin: 0 0 10px;
    line-height: 1.55;
    color: #444;
}

.cc-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cc-links a {
    color: #26292f;
    text-decoration: underline;
}

.cc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cc-btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

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

.cc-btn-secondary {
    background: #f1f1f1;
    color: #26292f;
}

.cc-btn:hover {
    transform: translateY(-1px);
}

.cookie-settings-trigger {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 99998;
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    background: #26292f;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.cc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    padding: 20px;
}

.cc-modal-box {
    width: 100%;
    max-width: 760px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
    padding: 24px;
}

.cc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.cc-modal-body {
    margin-top: 18px;
}

.cc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid #eee;
}

.cc-row:first-child {
    border-top: 0;
}

.cc-row-text strong {
    display: block;
    margin-bottom: 6px;
}

.cc-row-text p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.cc-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
    flex-shrink: 0;
}

.cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #ccc;
    transition: .2s;
}

.cc-slider::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 4px;
    top: 4px;
    border-radius: 50%;
    background: #fff;
    transition: .2s;
}

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

.cc-switch input:checked + .cc-slider::before {
    transform: translateX(24px);
}

@media (max-width: 640px) {
    .cookie-settings-trigger {
        bottom: 95px;
    }
    .cc-box,
    .cc-modal-box {
        padding: 18px;
    }

    .cc-actions {
        flex-direction: column;
    }

    .cc-btn {
        width: 100%;
    }
}