.templarios-cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2000;
    display: none;
    justify-content: center;
}

.templarios-cookie-banner.is-visible {
    display: flex;
}

.templarios-cookie-card {
    width: 100%;
    max-width: 980px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f1f3 100%);
    border: 1px solid rgba(128, 0, 32, 0.14);
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(39, 6, 14, 0.24);
    overflow: hidden;
}

.templarios-cookie-body {
    display: flex;
    gap: 1.4rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
}

.templarios-cookie-copy {
    min-width: 0;
}

.templarios-cookie-title {
    color: #800020;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.templarios-cookie-text {
    color: #2d3748;
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

.templarios-cookie-text a {
    color: #800020;
    font-weight: 700;
    text-decoration: none;
}

.templarios-cookie-text a:hover {
    text-decoration: underline;
}

.templarios-cookie-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

.templarios-cookie-btn {
    border: none;
    border-radius: 12px;
    padding: 0.78rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.05s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.templarios-cookie-btn:hover {
    opacity: 0.94;
}

.templarios-cookie-btn:active {
    transform: translateY(1px);
}

.templarios-cookie-btn-primary {
    background: #800020;
    color: #fff;
}

.templarios-cookie-btn-secondary {
    background: #fff;
    color: #800020;
    border: 1px solid rgba(128, 0, 32, 0.24);
}

.templarios-cookie-manage {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1990;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(128, 0, 32, 0.94);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(39, 6, 14, 0.28);
    cursor: pointer;
}

.templarios-cookie-manage.is-visible {
    display: inline-flex;
}

.templarios-cookie-manage:hover {
    opacity: 0.94;
}

.templarios-cookie-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(16px);
    z-index: 2010;
    min-width: 280px;
    max-width: calc(100vw - 32px);
    background: #800020;
    color: #fff;
    border-radius: 16px;
    padding: 0.95rem 1.15rem;
    box-shadow: 0 16px 34px rgba(39, 6, 14, 0.28);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    text-align: center;
}

.templarios-cookie-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 767.98px) {
    .templarios-cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .templarios-cookie-body {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .templarios-cookie-title {
        font-size: 1rem;
    }

    .templarios-cookie-text {
        font-size: 0.9rem;
    }

    .templarios-cookie-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .templarios-cookie-btn {
        width: 100%;
    }

    .templarios-cookie-manage {
        right: 12px;
        bottom: 12px;
        padding: 0.76rem 0.95rem;
    }

    .templarios-cookie-toast {
        bottom: 84px;
        font-size: 0.9rem;
    }
}
