/* Bandeau + préférences cookies (cookie-consent.js) — neutre, thème via vars. */
.pd-cc-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147482000;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    background: var(--pd-cc-bg, #16212e); color: var(--pd-cc-fg, #eef2f6);
    padding: 14px 18px; border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    font: 400 13.5px/1.5 system-ui, -apple-system, sans-serif;
    max-width: 860px; margin: 0 auto;
}
.pd-cc-text { flex: 1 1 340px; }
.pd-cc-actions { display: flex; gap: 8px; }
.pd-cc-btn {
    border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: inherit;
    border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.pd-cc-accept { background: var(--pd-cc-accent, #1AD598); border-color: var(--pd-cc-accent, #1AD598); color: var(--pd-cc-accent-fg, #06281D); }
.pd-cc-btn:hover { filter: brightness(1.08); }

.pd-cc-overlay {
    position: fixed; inset: 0; z-index: 2147482100; background: rgba(8, 12, 18, .55);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.pd-cc-modal {
    width: 440px; max-width: 100%; background: var(--pd-cc-bg, #16212e); color: var(--pd-cc-fg, #eef2f6);
    border-radius: 14px; padding: 20px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    font: 400 13.5px/1.5 system-ui, -apple-system, sans-serif;
}
.pd-cc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pd-cc-head h3 { margin: 0; font-size: 16px; }
.pd-cc-x { border: 0; background: none; color: inherit; font-size: 16px; cursor: pointer; opacity: .7; }
.pd-cc-x:hover { opacity: 1; }
.pd-cc-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12);
}
.pd-cc-row p { margin: 2px 0 0; font-size: 12px; opacity: .75; }
.pd-cc-always { font-size: 11.5px; opacity: .7; white-space: nowrap; }
.pd-cc-save { margin-top: 12px; width: 100%; background: var(--pd-cc-accent, #1AD598); border-color: var(--pd-cc-accent, #1AD598); color: var(--pd-cc-accent-fg, #06281D); }

.pd-cc-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: 0 0 auto; }
.pd-cc-switch input { opacity: 0; width: 0; height: 0; }
.pd-cc-switch i {
    position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .25);
    transition: background .18s; cursor: pointer;
}
.pd-cc-switch i::before {
    content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
    border-radius: 50%; background: #fff; transition: transform .18s;
}
.pd-cc-switch input:checked + i { background: var(--pd-cc-accent, #1AD598); }
.pd-cc-switch input:checked + i::before { transform: translateX(18px); }

@media (max-width: 560px) {
    .pd-cc-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .pd-cc-actions { justify-content: center; }
}
