.cookie-banner,
.cookie-modal,
.cookie-settings-floating {
    font-family: 'Public Sans', Arial, sans-serif;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    z-index: 12000;
    width: min(1120px, calc(100vw - 2rem));
    transform: translateX(-50%);
    background: rgba(18, 18, 18, 0.98);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.5);
}

.cookie-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem;
}

.cookie-banner-kicker {
    font-family: 'Neue Machina', 'Public Sans', Arial, sans-serif;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f1c978;
    margin: 0 0 0.45rem;
}

.cookie-banner h2,
.cookie-modal h2 {
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.cookie-banner p,
.cookie-modal p {
    margin: 0;
    color: #cfcfcf;
    font-size: 13px;
    line-height: 1.55;
}

.cookie-banner-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.65rem !important;
}

.cookie-banner-links a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cookie-banner-actions,
.cookie-modal-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-banner-actions {
    max-width: 410px;
}

.cookie-btn {
    min-height: 40px;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cookie-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-btn-primary {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

.cookie-btn-primary:hover {
    background: #f8d657;
    color: #111111;
    border-color: #f8d657;
}

.cookie-btn-ghost {
    color: #aaaaaa;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 13000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.cookie-modal.cookie-modal-visible {
    display: flex;
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.cookie-modal-card {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    background: #121212;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 80px rgba(0, 0, 0, 0.65);
}

.cookie-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #aaaaaa;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.cookie-modal-close:hover {
    color: #ffffff;
}

.cookie-modal-intro {
    margin-bottom: 1rem !important;
    padding-right: 2.2rem;
}

.cookie-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.cookie-option h3 {
    margin: 0 0 0.25rem;
    font-size: 15px;
    line-height: 1.3;
    color: #ffffff;
}

.cookie-option p {
    font-size: 12px;
    color: #bdbdbd;
}

.cookie-option span {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f1c978;
    white-space: nowrap;
}

.cookie-option input {
    width: 22px;
    height: 22px;
    accent-color: #f8d657;
}

.cookie-option-disabled {
    cursor: default;
}

.cookie-modal-actions {
    justify-content: flex-start;
    padding-top: 0.5rem;
}

.cookie-settings-floating {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 11900;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.86);
    color: #d6d6d6;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cookie-settings-floating:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.cookie-banner + .cookie-settings-floating {
    display: none;
}

@media (max-width: 860px) {
    .cookie-banner-inner {
        grid-template-columns: 1fr;
    }

    .cookie-banner-actions,
    .cookie-modal-actions {
        justify-content: stretch;
    }

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

@media (max-width: 560px) {
    .cookie-banner {
        bottom: 0.6rem;
        width: calc(100vw - 1rem);
    }

    .cookie-banner-inner,
    .cookie-modal-card {
        padding: 1rem;
    }

    .cookie-banner h2,
    .cookie-modal h2 {
        font-size: 18px;
    }

    .cookie-option {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .cookie-settings-floating {
        right: 0.65rem;
        bottom: 0.65rem;
    }
}
