.vf-cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    border: 1px solid var(--gray-200, #e7e5e4);
    border-radius: var(--radius-lg, 16px);
    background: rgba(250, 250, 249, 0.98);
    box-shadow: var(--shadow-lg, 0 4px 12px rgba(28,25,23,0.08), 0 2px 4px rgba(28,25,23,0.04));
    color: var(--gray-900, #1c1917);
    backdrop-filter: blur(10px);
}

.vf-cookie-banner__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-700, #44403c);
}

.vf-cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* VETFL-634 Faza B: panel „Dostosuj" (przełączniki kategorii). display:flex nadpisuje atrybut
   hidden, więc jawna reguła [hidden] jest konieczna. */
.vf-cookie-banner__customize {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.25rem;
}

.vf-cookie-banner__customize[hidden] {
    display: none;
}

.vf-cookie-banner__toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700, #44403c);
    cursor: pointer;
}

.vf-cookie-banner__toggle input {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.vf-cookie-banner__button {
    min-height: 42px;
    padding: 0.6875rem 1rem;
    border-radius: var(--radius, 12px);
    border: 1.5px solid transparent;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vf-cookie-banner__button--accept {
    background: var(--primary-dark, #0f766e);
    color: #fff;
    box-shadow: 0 1px 3px rgba(13, 148, 136, 0.3);
}

.vf-cookie-banner__button--accept:hover {
    filter: brightness(0.92);
}

.vf-cookie-banner__button--reject {
    background: transparent;
    border-color: var(--gray-300, #d6d3d1);
    color: var(--gray-700, #44403c);
}

.vf-cookie-banner__button--reject:hover {
    background: var(--gray-100, #f5f5f4);
    border-color: var(--gray-400, #a8a29e);
}

@media (max-width: 720px) {
    .vf-cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .vf-cookie-banner__actions {
        width: 100%;
    }

    .vf-cookie-banner__button {
        flex: 1 1 0;
    }
}
