/* KVKK / GDPR consent banner */
.consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.consent-banner--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.consent-banner--hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.consent-banner.cookie_popup {
    display: none !important;
}

.consent-banner__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

.consent-banner__panel {
    position: relative;
    width: min(960px, calc(100% - 32px));
    margin: 0 16px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 24px 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.consent-banner__content {
    flex: 1 1 420px;
    min-width: 0;
}

.consent-banner__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #222;
}

.consent-banner__body {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #555;
    margin-bottom: 8px;
}

.consent-banner__body p {
    margin-bottom: 0.5rem;
}

.consent-banner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.consent-banner__links a {
    font-size: 0.85rem;
    color: #978667;
    text-decoration: underline;
}

.consent-banner__links a:hover {
    color: #222;
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.consent-banner__accept,
.consent-banner__reject {
    white-space: nowrap;
    min-width: 120px;
}

@media (max-width: 767px) {
    .consent-banner__panel {
        padding: 18px 16px;
        margin: 0 12px 12px;
    }

    .consent-banner__actions {
        width: 100%;
    }

    .consent-banner__accept,
    .consent-banner__reject {
        flex: 1 1 auto;
        min-width: 0;
    }
}
