/* ── Cookie Banner ── */
.cc-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: #0f2340; border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -8px 32px rgba(0,0,0,.25);
    animation: ccSlideUp .4s ease;
}

@keyframes ccSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cc-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 24px 5%;
    display: flex; align-items: center; gap: 32px;
}

.cc-text h4 {
    font-family: 'Fraunces', serif;
    font-size: 16px; font-weight: 700; color: #fff;
    margin-bottom: 6px;
}

.cc-text p {
    font-size: 13px; color: rgba(255,255,255,.5);
    line-height: 1.65; margin: 0; max-width: 600px;
}

.cc-actions {
    display: flex; gap: 10px; flex-shrink: 0; margin-left: auto;
}

.cc-btn {
    padding: 11px 22px; border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px; font-weight: 600;
    cursor: pointer; border: none; transition: all .2s;
    white-space: nowrap;
}

.cc-btn-accept {
    background: #fff; color: #0f2340;
}
.cc-btn-accept:hover { background: #e8eef5; }

.cc-btn-reject {
    background: transparent; color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.15);
}
.cc-btn-reject:hover { border-color: rgba(255,255,255,.35); color: #fff; }

.cc-btn-settings {
    background: transparent; color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.15);
}
.cc-btn-settings:hover { border-color: rgba(255,255,255,.35); color: #fff; }

.cc-btn-save {
    background: #1b3764; color: #fff;
}
.cc-btn-save:hover { background: #2a4a7a; }

/* ── Cookie Modal ── */
.cc-modal-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(8,18,28,.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}

.cc-modal {
    background: #fff; border-radius: 16px;
    width: 100%; max-width: 560px; max-height: 85vh;
    display: flex; flex-direction: column;
    box-shadow: 0 24px 64px rgba(15,35,55,.3);
}

.cc-modal-header {
    padding: 24px 28px 16px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid #e8eef5;
}

.cc-modal-header h3 {
    font-family: 'Fraunces', serif;
    font-size: 20px; font-weight: 700; color: #0f2340; margin: 0;
}

.cc-modal-close {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid #d0dae5; background: transparent;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.cc-modal-close:hover { background: #f2f5fa; border-color: #1b3764; }
.cc-modal-close svg {
    width: 14px; height: 14px; stroke: #5a6d80; fill: none;
    stroke-width: 2; stroke-linecap: round;
}

.cc-modal-body {
    padding: 20px 28px; overflow-y: auto; flex: 1;
}

.cc-category {
    padding: 18px 0; border-bottom: 1px solid #e8eef5;
}
.cc-category:last-child { border: none; }

.cc-cat-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 6px;
}

.cc-cat-name {
    font-size: 14px; font-weight: 600; color: #0f2340;
}

.cc-cat-desc {
    font-size: 12px; color: #5a6d80; line-height: 1.6;
}

.cc-cat-badge {
    font-size: 10px; font-weight: 600; color: #1b3764;
    background: #e8eef5; padding: 3px 10px; border-radius: 100px;
    text-transform: uppercase; letter-spacing: .5px; white-space: nowrap;
}

/* Toggle switch */
.cc-toggle {
    position: relative; width: 44px; height: 24px; flex-shrink: 0;
}
.cc-toggle input { opacity: 0; width: 0; height: 0; }
.cc-toggle-slider {
    position: absolute; inset: 0; cursor: pointer;
    background: #d0dae5; border-radius: 24px;
    transition: background .2s;
}
.cc-toggle-slider::after {
    content: ''; position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: #fff; border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.cc-toggle input:checked + .cc-toggle-slider { background: #1b3764; }
.cc-toggle input:checked + .cc-toggle-slider::after { transform: translateX(20px); }
.cc-toggle input:disabled + .cc-toggle-slider { opacity: .6; cursor: not-allowed; }

.cc-modal-footer {
    padding: 16px 28px 24px;
    display: flex; gap: 10px; justify-content: flex-end;
    border-top: 1px solid #e8eef5;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cc-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 4%; }
    .cc-actions { margin-left: 0; flex-wrap: wrap; }
    .cc-actions .cc-btn { flex: 1; text-align: center; min-width: 0; }
    .cc-modal-footer { flex-wrap: wrap; }
    .cc-modal-footer .cc-btn { flex: 1; text-align: center; }
}
