.tk-cookie {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 1100;
    width: min(640px, calc(100vw - 1.5rem));
    pointer-events: none;
}

.tk-cookie[hidden] {
    display: none !important;
}

.tk-cookie__panel {
    pointer-events: auto;
    display: grid;
    gap: 0.95rem;
    padding: 1.05rem 1.15rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(228, 230, 234, 0.95);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(20, 24, 31, 0.16);
    font-family: var(--tk-font, "Manrope", "Segoe UI", sans-serif);
    color: var(--tk-ink, #14181f);
    animation: tk-cookie-in 0.35s ease;
}

.tk-cookie__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a7340;
}

.tk-cookie__copy h2 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.tk-cookie__copy p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #4b5563;
}

.tk-cookie__copy a {
    color: #14181f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tk-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.tk-cookie__btn {
    min-height: 40px;
    padding: 0 1rem;
    border-radius: 0.55rem;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tk-cookie__btn--ghost {
    background: #fff;
    border-color: #d8d8d8;
    color: #14181f;
}

.tk-cookie__btn--ghost:hover {
    background: #f7f7f8;
    border-color: #c4c4c4;
}

.tk-cookie__btn--accent {
    background: #1a2030;
    border-color: #1a2030;
    color: #fff;
}

.tk-cookie__btn--accent:hover {
    background: #11151f;
    border-color: #11151f;
}

@keyframes tk-cookie-in {
    from {
        transform: translateY(10px);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    .tk-cookie {
        bottom: 0.85rem;
        width: calc(100vw - 1rem);
    }

    .tk-cookie__actions {
        flex-direction: column-reverse;
    }

    .tk-cookie__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tk-cookie__panel {
        animation: none;
    }
}
