/* Niewielki CMP w barwach landingu; style odizolowane prefiksem er-cmp. */
.er-cmp-banner, .er-cmp-dialog, .er-cmp-shortcut, .er-cookie-settings-link {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
.er-cmp-banner *, .er-cmp-dialog * { box-sizing: border-box; }
.er-cmp-banner {
    position: fixed;
    z-index: 2147483638;
    right: 18px;
    bottom: 18px;
    width: min(525px, calc(100% - 36px));
    padding: 23px 24px 20px;
    border: 1px solid #baa071;
    border-radius: 10px;
    color: #f3eddf;
    background: #11100e;
    box-shadow: 0 8px 36px rgba(0,0,0,.7);
    line-height: 1.5;
}
.er-cmp-banner h2, .er-cmp-dialog h2 {
    color: #e8c994;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 11px;
}
.er-cmp-banner p, .er-cmp-dialog p { font-size: 13px; margin: 0 0 13px; }
.er-cmp-banner a, .er-cmp-dialog a { color: #e8c994; text-decoration: underline; }
.er-cmp-policy { margin: 0 0 13px !important; }
.er-cmp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.er-cmp-actions button {
    appearance: none;
    background: #20201e;
    border: 1px solid #917d5b;
    border-radius: 4px;
    cursor: pointer;
    color: #f8f5ed;
    font-size: 12px;
    font-weight: 700;
    padding: 11px 10px;
    flex: 1 1 auto;
    line-height: 1.2;
    min-width: 123px;
}
.er-cmp-actions button.er-cmp-primary, .er-cmp-actions button[data-er-action="reject"] { background: #c5a66e; color: #18140e; border-color: #c5a66e; }
.er-cmp-actions button:hover, .er-cmp-actions button:focus-visible { outline: 2px solid #f3d69e; outline-offset: 2px; }
.er-cmp-overlay {
    display: none;
    position: fixed;
    z-index: 2147483639;
    inset: 0;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background: rgba(0,0,0,.8);
}
.er-cmp-dialog {
    background: #171613;
    border: 1px solid #baa071;
    border-radius: 10px;
    width: 100%;
    max-width: 555px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 25px;
    color: #f3eddf;
    box-shadow: 0 15px 45px rgba(0,0,0,.7);
}
.er-cmp-dialog-head { display: flex; justify-content: space-between; gap: 12px; }
.er-cmp-dialog-head h2 { flex: 1; }
.er-cmp-close { background: transparent; border: 0; color: #eee; font-size: 26px; cursor: pointer; line-height: 1; }
.er-cmp-option {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    margin: 14px 0;
    background: #24221e;
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
}
.er-cmp-option span { flex: 1; }
.er-cmp-option strong { display: block; color: #f5e5c5; font-weight: 700; }
.er-cmp-option small { display: block; margin-top: 4px; color: #dbd5c9; line-height: 1.4; font-size: 12px; }
.er-cmp-option input { width: 19px; height: 19px; accent-color: #d0b381; }
.er-cmp-gpc { color: #f5ce81; }
.er-cmp-shortcut {
    position: fixed;
    z-index: 2147483637;
    left: 12px;
    bottom: 12px;
    padding: 6px 11px;
    background: #1d1b18;
    border: 1px solid #8f7958;
    border-radius: 6px;
    color: #e8d5b5;
    font-size: 12px;
    cursor: pointer;
}
.er-cookie-settings-link {
    appearance: none;
    background: transparent;
    border: none;
    color: #c8ac7c;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
    padding: 0;
}
.er-cookie-settings-link:hover { color: #f3d69e; }
@media (max-width: 640px) {
    .er-cmp-banner { bottom: 8px; right: 8px; width: calc(100% - 16px); padding: 17px; }
    .er-cmp-banner h2, .er-cmp-dialog h2 { font-size: 18px; }
    .er-cmp-banner p, .er-cmp-dialog p { font-size: 12px; }
    .er-cmp-actions { gap: 6px; }
    .er-cmp-actions button { min-width: 0; flex: 1 0 45%; font-size: 11px; }
    .er-cmp-dialog { padding: 17px; }
}
