.mimo-cookie-banner[hidden] {
    display: none;
}

.mimo-cookie-banner {
    position: fixed;
    z-index: 10050;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem clamp(1rem, 3.2vw, 3.75rem);
    background: #fff;
    border-top: 1px solid #e8e1df;
    box-shadow: 0 -4px 18px rgba(45, 12, 14, 0.12);
    color: #333;
    font-family: 'Inter', sans-serif;
}

.mimo-cookie-copy {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.mimo-cookie-copy a {
    color: #481010;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mimo-cookie-actions,
.mimo-cookie-dialog-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-shrink: 0;
}

.mimo-cookie-button {
    min-height: 44px;
    padding: 0.7rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font: 600 0.9rem 'Inter', sans-serif;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mimo-cookie-button-primary {
    background: #CF922E;
    color: #2d0c0e;
}

.mimo-cookie-button-primary:hover {
    background: #b97d20;
}

.mimo-cookie-button-secondary {
    background: #f7f0e5;
    border-color: #e8d5b6;
    color: #481010;
}

#mimo-cookie-configure {
    border: 0;
    background: transparent;
    border-color: transparent;
}

#mimo-cookie-configure:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: transparent;
}

.mimo-cookie-button-secondary:hover {
    background: #efe2ce;
}

.mimo-cookie-dialog {
    width: min(520px, calc(100% - 2rem));
    max-width: 520px;
    padding: 1.5rem;
    border: 1px solid #eadfdc;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(45, 12, 14, 0.25);
    color: #333;
    font-family: 'Inter', sans-serif;
}

.mimo-cookie-dialog::backdrop {
    background: rgba(31, 14, 14, 0.55);
}

.mimo-cookie-dialog-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.mimo-cookie-eyebrow {
    margin: 0 0 0.35rem;
    color: #CF922E;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mimo-cookie-dialog h2 {
    margin: 0;
    color: #481010;
    font-size: 1.35rem;
}

.mimo-cookie-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f7f0e5;
    color: #481010;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.mimo-cookie-dialog-copy {
    margin: 1rem 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.55;
}

.mimo-cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-top: 1px solid #eee7e4;
    cursor: pointer;
}

.mimo-cookie-option span {
    display: grid;
    gap: 0.25rem;
}

.mimo-cookie-option strong {
    color: #481010;
    font-size: 0.9rem;
}

.mimo-cookie-option small {
    color: #666;
    font-size: 0.78rem;
    line-height: 1.4;
}

.mimo-cookie-option input {
    width: 18px;
    height: 18px;
    accent-color: #481010;
    flex-shrink: 0;
}

.mimo-cookie-dialog-actions {
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .mimo-cookie-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    .mimo-cookie-copy {
        font-size: 0.88rem;
    }

    .mimo-cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .mimo-cookie-button {
        padding: 0.65rem 0.7rem;
        font-size: 0.82rem;
    }

    .mimo-cookie-dialog {
        padding: 1.2rem;
    }

    .mimo-cookie-dialog-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }
}
