/**
 * Lūmina Beauty — süti-hozzájárulási sáv.
 *
 * Bootstrap 5 gombosztályokat használ (btn, btn-dark, btn-outline-dark), hogy
 * illeszkedjen a téma többi részéhez; itt csak az elrendezés van definiálva.
 */

.lumina-consent {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1080; /* Bootstrap modal (1055) fölött, hogy ne szoruljon alá */
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .08);
    font-size: 14px;
    line-height: 1.6;
}

.lumina-consent[hidden] {
    display: none;
}

.lumina-consent__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 24px;
}

.lumina-consent__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.lumina-consent__copy {
    flex: 1 1 420px;
    min-width: 0;
}

.lumina-consent__title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
}

.lumina-consent__text {
    margin: 0;
    color: #444;
}

.lumina-consent__text a {
    text-decoration: underline;
}

.lumina-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 1 auto;
}

.lumina-consent__actions .btn {
    white-space: nowrap;
}

.lumina-consent__link {
    padding-inline: 4px;
    color: #444;
    text-decoration: underline;
}

/* --- Beállítások panel --- */

.lumina-consent__settings[hidden] {
    display: none;
}

.lumina-consent__settings .lumina-consent__actions {
    margin-top: 18px;
}

.lumina-consent__category {
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, .07);
}

.lumina-consent__category:first-of-type {
    border-top: 0;
}

.lumina-consent__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.lumina-consent__toggle input[disabled] {
    cursor: not-allowed;
}

.lumina-consent__category-name {
    font-weight: 600;
}

.lumina-consent__category-desc {
    margin: 4px 0 0 26px;
    color: #666;
}

/* A panel hosszabb, mint a sáv — kis kijelzőn görgethető legyen. */
@media (max-height: 640px) {
    .lumina-consent__inner {
        max-height: 85vh;
        overflow-y: auto;
    }
}

@media (max-width: 575.98px) {
    .lumina-consent__inner {
        padding: 16px;
    }

    .lumina-consent__actions {
        justify-content: stretch;
    }

    .lumina-consent__actions .btn:not(.lumina-consent__link) {
        flex: 1 1 auto;
    }
}
