.bc-cookie { --bc-cookie-accent: #ed3338; color: #344054; font-family: inherit; font-size: 13px; line-height: 1.5; }
.bc-cookie *, .bc-cookie *::before, .bc-cookie *::after { box-sizing: border-box; }
.bc-cookie [hidden], .bc-cookie[hidden] { display: none !important; }
.bc-cookie button, .bc-cookie input { font: inherit; }
.bc-cookie button { cursor: pointer; margin: 0; }
.bc-cookie h2, .bc-cookie h3, .bc-cookie p { padding: 0; margin: 0; text-transform: none; letter-spacing: normal; }
.bc-cookie button:focus-visible, .bc-cookie input:focus-visible, .bc-cookie a:focus-visible { outline: 3px solid #285ca6; outline-offset: 4px; }
.bc-cookie__banner { position: fixed; left: 16px; bottom: 16px; z-index: 1000001; width: 400px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 16px; background: #fff; border: 1px solid #e4e7ec; border-radius: 10px; box-shadow: 0 4px 16px #0000001f; }
.bc-cookie__banner h2 { display: flex; gap: 8px; align-items: center; font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: #344054; }
.bc-cookie__banner svg { color: var(--bc-cookie-accent); flex: 0 0 24px; width: 24px; height: 24px; }
.bc-cookie__banner p { color: #667085; font-size: 13px; line-height: 1.6; }
.bc-cookie__banner a, .bc-cookie__policy { color: var(--bc-cookie-accent); }
.bc-cookie__banner a { text-decoration: underline; }
.bc-cookie__actions { display: flex; gap: 8px; margin-top: 14px; }
.bc-cookie__button { background: #fff; color: #344054; border: 1px solid #d0d5dd; border-radius: 6px; min-height: 36px; padding: 6px 12px; line-height: 1.4; text-align: center; font-weight: 500; }
.bc-cookie__actions .bc-cookie__button:first-child { flex: 1.45; }
.bc-cookie__actions .bc-cookie__button:last-child { flex: 1; }
.bc-cookie .bc-cookie__button--primary { color: #fff; background: var(--bc-cookie-accent); border-color: var(--bc-cookie-accent); }
.bc-cookie__button:hover { filter: brightness(.96); }
.bc-cookie__reopen { position: fixed; left: 16px; bottom: 16px; z-index: 1000001; border: 1px solid #e4e7ec; border-radius: 18px; padding: 7px 12px; min-height: 36px; color: var(--bc-cookie-accent); background: #fff; box-shadow: 0 3px 12px #00000020; }
.bc-cookie__overlay { position: fixed; inset: 0; z-index: 1000002; background: #0008; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bc-cookie__dialog { display: flex; flex-direction: column; width: 480px; max-width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 12px; background: #fff; box-shadow: 0 12px 40px #0003; overflow: hidden; }
.bc-cookie__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eceef0; padding: 12px 18px; flex-shrink: 0; }
.bc-cookie__header h2 { color: #344054; font-size: 18px; font-weight: 700; line-height: 1.4; }
.bc-cookie__close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; min-height: 32px; border: 1px solid #e4e7ec; border-radius: 6px; color: #667085; background: #fff; font-size: 25px !important; line-height: 1; }
.bc-cookie__categories { overflow-y: auto; overscroll-behavior: contain; padding: 0 18px; min-height: 0; }
.bc-cookie__category { padding: 16px 0; }
.bc-cookie__category + .bc-cookie__category { border-top: 1px solid #e8ebee; }
.bc-cookie__category-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.bc-cookie__category h3 { color: #344054; font-size: 15px; font-weight: 700; line-height: 1.4; }
.bc-cookie__category p { color: #667085; line-height: 1.6; font-size: 13px; }
.bc-cookie input.bc-cookie__switch { appearance: none; -webkit-appearance: none; position: relative; display: block; flex: 0 0 44px; width: 44px; height: 26px; padding: 0; margin: 0; border: 0; border-radius: 16px; background: #98a2b3; cursor: pointer; box-shadow: none; }
.bc-cookie__switch::after { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .15s; }
.bc-cookie input.bc-cookie__switch:checked { background: var(--bc-cookie-accent); }
.bc-cookie__switch:checked::after { transform: translateX(18px); }
.bc-cookie input.bc-cookie__switch:disabled { opacity: .6; cursor: not-allowed; }
.bc-cookie__footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 8px 18px 16px; flex-shrink: 0; }
@media (max-width: 600px) {
    .bc-cookie__banner {
        left: 0px;
        bottom: 0px;
        width: 400px;
        max-width: 100%;
        padding: 10px;
        border-radius: 0px;
        max-height: calc(100dvh - 24px);
    }
    .bc-cookie__banner h2 { font-size: 16px; }
    .bc-cookie__banner p { font-size: 13px; }
    .bc-cookie__actions { margin-top: 12px; }
    .bc-cookie__button { font-size: 13px !important; min-height: 44px; padding: 8px 10px; }
    .bc-cookie__overlay { padding: 12px; }
    .bc-cookie__dialog { border-radius: 12px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .bc-cookie__header { padding: 10px 14px; gap: 10px; }
    .bc-cookie__header h2 { font-size: 17px; }
    .bc-cookie__close { width: 44px; min-height: 44px; }
    .bc-cookie__categories { padding: 0 14px; }
    .bc-cookie__category { padding: 14px 0; }
    .bc-cookie__category h3 { font-size: 15px; }
    .bc-cookie__category p { font-size: 13px; }
    .bc-cookie input.bc-cookie__switch { flex-basis: 52px; width: 52px; height: 32px; }
    .bc-cookie__switch::after { width: 26px; height: 26px; }
    .bc-cookie__switch:checked::after { transform: translateX(20px); }
    .bc-cookie__reopen { left: 12px; bottom: 12px; min-height: 44px; }
    .bc-cookie__footer { padding: 8px 14px 14px; }
}
@media (prefers-reduced-motion: reduce) { .bc-cookie__switch::after { transition: none; } }
