/* Flos-style cookie CMP — TRIO LICHT */
.trio-cmp-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(17, 24, 32, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.trio-cmp-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.trio-cmp {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10060;
    font-family: 'AvenirLTStd-Light', Arial, sans-serif;
    color: #212b36;
    transform: translateY(110%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.trio-cmp.is-open {
    transform: translateY(0);
    pointer-events: auto;
}

.trio-cmp__panel {
    background: #fff;
    border-top: 1px solid #e4e6e8;
    box-shadow: 0 -8px 32px rgba(17, 24, 32, 0.12);
    max-height: min(88vh, 720px);
    overflow: auto;
}

.trio-cmp__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 28px 24px 24px;
}

.trio-cmp__title {
    font-family: 'AvenirLTStd-Heavy', Arial, sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    margin: 0 0 10px;
    color: #111;
}

.trio-cmp__text {
    font-size: 15px;
    line-height: 1.65;
    color: #454f5b;
    margin: 0 0 18px;
    max-width: 820px;
}

.trio-cmp__text a {
    color: #1a56b8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trio-cmp__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.trio-cmp__btn {
    appearance: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'AvenirLTStd-Medium', Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    padding: 11px 18px;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.trio-cmp__btn--primary {
    background: #111;
    color: #fff;
    border-color: #111;
}

.trio-cmp__btn--primary:hover {
    background: #2a2f36;
    border-color: #2a2f36;
}

.trio-cmp__btn--secondary {
    background: #fff;
    color: #111;
    border-color: #c4c9ce;
}

.trio-cmp__btn--secondary:hover {
    border-color: #111;
}

.trio-cmp__btn--link {
    background: transparent;
    color: #1a56b8;
    border: none;
    padding-left: 6px;
    padding-right: 6px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trio-cmp__manage {
    display: none;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e4e6e8;
}

.trio-cmp__manage.is-open {
    display: block;
}

.trio-cmp__cat {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f0f1f3;
}

.trio-cmp__cat:last-of-type {
    border-bottom: none;
}

.trio-cmp__cat-copy {
    flex: 1;
    min-width: 0;
}

.trio-cmp__cat-title {
    font-family: 'AvenirLTStd-Medium', Arial, sans-serif;
    font-size: 15px;
    margin: 0 0 4px;
    color: #111;
}

.trio-cmp__cat-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #637381;
    margin: 0;
}

.trio-cmp__switch {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.trio-cmp__switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.trio-cmp__track {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #c4c9ce;
    position: relative;
    transition: background 0.15s ease;
}

.trio-cmp__track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}

.trio-cmp__switch input:checked + .trio-cmp__track {
    background: #111;
}

.trio-cmp__switch input:checked + .trio-cmp__track::after {
    transform: translateX(18px);
}

.trio-cmp__switch input:disabled + .trio-cmp__track {
    background: #8a9199;
    opacity: 0.85;
    cursor: not-allowed;
}

.trio-cmp__switch-label {
    font-size: 12px;
    color: #637381;
    min-width: 2.5em;
}

.trio-cmp__manage-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 640px) {
    .trio-cmp__inner {
        padding: 22px 16px 20px;
    }

    .trio-cmp__actions,
    .trio-cmp__manage-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .trio-cmp__btn {
        width: 100%;
        text-align: center;
    }

    .trio-cmp__btn--link {
        width: auto;
        align-self: flex-start;
    }

    .trio-cmp__cat {
        flex-direction: column;
        gap: 10px;
    }
}
