/* Cookie Consent Plugin */
.cc-widget {
    position: fixed;
    bottom: 24px;
    z-index: 99999;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: calc(100vw - 48px);
    visibility: hidden;
}
.cc-widget.cc-ready {
    visibility: visible;
}
.cc-widget.cc-bottom-right { right: 24px; left: auto;  align-items: flex-end; }
.cc-widget.cc-bottom-left  { left: 24px;  right: auto; align-items: flex-start; }

@media (max-width: 520px) {
    .cc-widget.cc-bottom-right,
    .cc-widget.cc-bottom-left {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: 100%;
        align-items: stretch;
    }
    .cc-widget-btn {
        align-self: flex-end;
    }
}

/* ── Banner ─────────────────────────────────────────────────────────── */
.cc-banner {
    background: #fff;
    color: #000;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,.18);
    max-width: 520px;
    width: 520px;
    padding: 28px 28px 22px;
    display: none;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.cc-banner.cc-visible { display: block; }

@media (max-width: 520px) {
    .cc-banner {
        width: 100%;
        max-width: 100%;
        padding: 20px 18px 16px;
    }
}

.cc-banner__text {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.55;
    color: #222;
}

.cc-banner__buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.cc-btn {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: opacity .15s ease;
    text-decoration: none;
    display: inline-block;
}
.cc-btn:hover { opacity: .75; }

.cc-btn--accept {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 2px;
}

.cc-btn--settings {
    color: #000;
    margin-left: auto;
}

.cc-btn--confirm {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 2px;
}

/* ── Settings panel ──────────────────────────────────────────────────── */
.cc-settings-panel {
    background: #fff;
    color: #000;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,.18);
    width: 520px;
    max-width: 520px;
    display: none;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.cc-settings-panel.cc-visible { display: flex; }

@media (max-width: 520px) {
    .cc-settings-panel {
        width: 100%;
        max-width: 100%;
        max-height: 75vh;
    }
}

.cc-settings-panel__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 22px 14px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}
.cc-settings-panel__header svg {
    flex-shrink: 0;
}

.cc-settings-panel__body {
    padding: 20px 22px 0;
    overflow-y: auto;
    flex: 1;
}

.cc-settings-panel__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}

.cc-settings-panel__desc {
    font-size: 13px;
    color: #555;
    margin: 0 0 20px;
    line-height: 1.5;
}

.cc-settings-panel__footer {
    padding: 16px 22px;
    border-top: 1px solid #eee;
}

/* ── Categories ──────────────────────────────────────────────────────── */
.cc-categories { list-style: none; margin: 0; padding: 0; }

.cc-category {
    border-top: 1px solid #eee;
    padding: 14px 0;
}

.cc-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cc-category__left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.cc-category__expand {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
}
.cc-category__expand .cc-line {
    position: absolute;
    background: #000;
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
}
.cc-category__expand .cc-line--v {
    width: 2px; height: 10px;
    top: 3px; left: 7px;
}
.cc-category__expand .cc-line--h {
    width: 10px; height: 2px;
    top: 7px; left: 3px;
}
.cc-category.cc-open .cc-category__expand .cc-line--v {
    transform: rotate(90deg);
    opacity: 0;
}

.cc-category__title {
    font-size: 13px;
    font-weight: 700;
}

.cc-category__body {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-top: 10px;
    display: none;
    padding-left: 26px;
}
.cc-category.cc-open .cc-category__body { display: block; }

/* ── Toggle ──────────────────────────────────────────────────────────── */
.cc-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cc-toggle-label {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}
.cc-toggle-label input { opacity: 0; width: 0; height: 0; position: absolute; }

.cc-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: background .2s;
}
.cc-toggle-slider::before {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}
.cc-toggle-label input:checked + .cc-toggle-slider { background: #000; }
.cc-toggle-label input:checked + .cc-toggle-slider::before { transform: translateX(16px); }

.cc-toggle-status {
    font-size: 11px;
    color: #999;
    min-width: 62px;
    text-align: right;
}
.cc-toggle-always {
    font-size: 11px;
    color: #999;
}

/* ── Floating cookie button ──────────────────────────────────────────── */
.cc-widget-btn {
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity .15s;
    text-decoration: none;
    padding: 0;
}
.cc-widget-btn:hover { opacity: .8; }

.cc-icon-cookie,
.cc-icon-close {
    position: absolute;
    transition: opacity .2s, transform .2s;
}
.cc-icon-cookie { opacity: 1; transform: scale(1); }
.cc-icon-close  { opacity: 0; transform: scale(.6); }

.cc-widget-btn.cc-open .cc-icon-cookie { opacity: 0; transform: scale(.6); }
.cc-widget-btn.cc-open .cc-icon-close  { opacity: 1; transform: scale(1); }

.cc-widget-btn-inner {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
