/* Internal cookie consent (CookieYes-style, local only) */
.bls-cc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 18px 18px 16px;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    display: none;
}
.bls-cc-banner.is-open { display: block; }
.bls-cc-banner__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}
.bls-cc-banner__text {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}
.bls-cc-banner__text a {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
}
.bls-cc-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bls-cc-btn {
    appearance: none;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 12px 14px;
    border-radius: 6px;
    cursor: pointer;
}
.bls-cc-btn:hover { opacity: .92; }
.bls-cc-btn--ghost {
    background: #fff;
    color: #111;
}
.bls-cc-btn--muted {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111;
}

.bls-cc-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483001;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bls-cc-modal.is-open { display: flex; }
.bls-cc-modal__panel {
    width: min(560px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    padding: 20px;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    color: #1f2937;
}
.bls-cc-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.bls-cc-modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.bls-cc-modal__close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
    padding: 0 4px;
}
.bls-cc-modal__intro {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}
.bls-cc-cat {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 0 10px;
}
.bls-cc-cat__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.bls-cc-cat__name {
    font-size: 14px;
    font-weight: 700;
}
.bls-cc-cat__desc {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}
.bls-cc-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex: 0 0 auto;
}
.bls-cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.bls-cc-switch span {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s ease;
}
.bls-cc-switch span::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .15s ease;
}
.bls-cc-switch input:checked + span { background: #111; }
.bls-cc-switch input:checked + span::before { transform: translateX(20px); }
.bls-cc-switch input:disabled + span {
    opacity: .7;
    cursor: not-allowed;
}
.bls-cc-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.bls-cc-revisit {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 2147482990;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111;
    border-radius: 999px;
    padding: 8px 12px;
    font: 600 12px/1 Montserrat, Arial, Helvetica, sans-serif;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: none;
}
.bls-cc-revisit.is-visible { display: inline-flex; }

@media (max-width: 640px) {
    .bls-cc-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px 14px 14px;
    }
    .bls-cc-btn { width: 100%; text-align: center; }
    .bls-cc-banner__actions { flex-direction: column; }
}
