/* Advertising preferences are fixed overlays and never reflow the shop. */
.cc-privacy-panel[hidden] { display: none !important; }
.cc-privacy-panel {
    position: fixed;
    inset: auto 20px 60px auto;
    z-index: 100000;
    box-sizing: border-box;
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 22px;
    border: 1px solid #d7dce0;
    border-radius: 12px;
    background: #fff;
    color: #17242e;
    box-shadow: 0 8px 36px rgb(0 0 0 / 16%);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.cc-privacy-panel h2 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; color: inherit; }
.cc-privacy-panel p { margin: 0 0 10px; color: inherit; }
.cc-privacy-policy { color: #255b78; text-decoration: underline; }
.cc-privacy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cc-privacy-actions button, .cc-privacy-preferences {
    appearance: none;
    border: 1px solid #77858e;
    border-radius: 6px;
    background: #fff;
    color: #17242e;
    padding: 8px 12px;
    font: inherit;
    line-height: 1.5;
    cursor: pointer;
}
.cc-privacy-actions button:hover, .cc-privacy-preferences:hover { background: #edf2f5; }
.cc-privacy-actions button:disabled { opacity: 0.55; cursor: default; }
.cc-privacy-actions button:focus-visible, .cc-privacy-panel a:focus-visible,
.cc-privacy-preferences:focus-visible { outline: 3px solid #2579aa; outline-offset: 3px; }
.cc-privacy-preferences {
    position: fixed;
    inset: auto auto 10px 12px;
    z-index: 99999;
    padding: 5px 9px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
}
@media (max-width: 480px) {
    .cc-privacy-panel { right: 16px; bottom: 56px; padding: 18px; }
}
