.js-lcc-active {
    overflow: hidden;
}

[class^="lcc-"] {
    box-sizing: border-box !important;
    color: #3a3845;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[class^="lcc-"][inert] {
    cursor: default;
    pointer-events: none;
}

[class^="lcc-"][inert],
[class^="lcc-"][inert] * {
    user-select: none;
}

.lcc-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(36, 31, 43, 0.55);
    backdrop-filter: blur(2px);
    transition: opacity 0.2s ease-in-out;
}

.lcc-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10001;
    width: min(520px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    transform: translate(-50%, -50%);
    border: 1px solid #eadbd5;
    border-radius: 20px;
    background: #fffdfc;
    box-shadow: 0 24px 70px rgba(58, 56, 69, 0.22);
    padding: 28px;
}

.lcc-modal--alert {
    left: 20px;
    top: auto;
    bottom: 20px;
    width: min(460px, calc(100% - 40px));
    transform: none;
    padding: 22px;
    box-shadow: 0 14px 42px rgba(58, 56, 69, 0.18);
}

.lcc-modal--settings {
    z-index: 10002;
}

.lcc-modal__eyebrow {
    margin-bottom: 8px;
    color: #df7f62;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lcc-modal__title {
    margin: 0 0 12px;
    color: #3a3845;
    font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.lcc-modal--alert .lcc-modal__title {
    margin-bottom: 8px;
    font-size: 20px;
}

.lcc-text {
    margin: 0;
    color: #595667;
    font-size: 14px;
    line-height: 1.65;
}

.lcc-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.lcc-modal--alert .lcc-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.lcc-modal--alert .lcc-button {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 13px;
    white-space: nowrap;
}

.lcc-modal__actions--settings {
    justify-content: flex-end;
}

.lcc-button {
    min-height: 42px;
    cursor: pointer;
    border: 1px solid #df7f62;
    border-radius: 10px;
    background: #df7f62;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 10px 16px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lcc-button:hover {
    border-color: #c95c3a;
    background: #c95c3a;
}

.lcc-button:focus-visible,
.lcc-modal__close:focus-visible,
.lcc-label input:focus-visible {
    outline: 3px solid rgba(223, 127, 98, 0.32);
    outline-offset: 2px;
}

.lcc-button--ghost {
    background: transparent;
    color: #c95c3a;
}

.lcc-button--ghost:hover {
    color: #fff;
}

.lcc-button--secondary {
    background: transparent;
    color: #c95c3a;
}

.lcc-button--secondary:hover {
    background: #fff4ef;
    color: #a8472b;
}

.lcc-button--preferences {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto !important;
    min-height: auto !important;
    border-color: transparent;
    background: transparent;
    color: #c95c3a;
    padding: 3px 0 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lcc-button--preferences:hover {
    border-color: transparent;
    background: transparent;
    color: #a8472b;
    text-decoration: none;
}

.lcc-modal__close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    background: #fff4ef;
    color: #795f55;
    font-size: 24px;
    line-height: 1;
}

.lcc-modal__section {
    margin-top: 16px;
    border: 1px solid #eadbd5;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
}

.lcc-modal__section--essential {
    background: #fff8f5;
}

.lcc-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    color: #3a3845;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.lcc-label input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #df7f62;
}

.lcc-label input:disabled {
    cursor: default;
    opacity: 0.65;
}

.lcc-modal__section .lcc-text {
    padding-left: 28px;
    font-size: 13px;
}

.lcc-policy-link {
    color: #c95c3a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lcc-u-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 640px) {
    .lcc-modal {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 16px;
        padding: 22px;
    }

    .lcc-modal--alert {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        padding: 20px;
    }

    .lcc-modal__actions--settings {
        flex-direction: column;
    }

    .lcc-modal__actions--settings .lcc-button {
        width: 100%;
    }

    .lcc-modal--alert .lcc-modal__title {
        font-size: 19px;
    }

    .lcc-modal--alert .lcc-text {
        font-size: 13px;
        line-height: 1.55;
    }
}
