.cookie-consent-bar {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1060;
    display: none;
    pointer-events: none;
}

.cookie-consent-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .98);
    color: #0f172a;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .20), 0 8px 22px rgba(15, 23, 42, .10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    pointer-events: auto;
}

.cookie-consent-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

    .cookie-consent-text strong,
    .cookie-consent-preferences-head strong {
        display: block;
        margin: 0;
        font-size: 15px;
        line-height: 21px;
        font-weight: 900;
        color: #0f172a;
        letter-spacing: -.01em;
    }

    .cookie-consent-text span {
        display: block;
        margin: 0;
        font-size: 13px;
        line-height: 21px;
        font-weight: 500;
        color: #475569;
    }

    .cookie-consent-text a {
        color: #0f172a;
        font-weight: 800;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.cookie-consent-actions,
.cookie-consent-preferences-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    line-height: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

    .cookie-consent-btn:hover {
        transform: translateY(-1px);
    }

.cookie-consent-btn-light {
    background: #fff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, .14);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}

    .cookie-consent-btn-light:hover {
        background: #f8fafc;
        border-color: rgba(15, 23, 42, .22);
    }

.cookie-consent-btn-dark {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
}

    .cookie-consent-btn-dark:hover {
        background: #111827;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .24);
    }

.cookie-consent-preferences[hidden],
.cookie-consent-summary[hidden] {
    display: none !important;
}

.cookie-consent-preferences {
    width: 100%;
}

.cookie-consent-preferences-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

    .cookie-consent-preferences-head p {
        margin: 4px 0 0;
        color: #64748b;
        font-size: 13px;
        line-height: 1.5;
    }

.cookie-consent-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 50%;
    background: #fff;
    color: #0f172a;
    font-size: 22px;
    line-height: 30px;
    cursor: pointer;
}

.cookie-category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cookie-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 92px;
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.cookie-category-item--necessary {
    background: #f1f5f9;
}

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

    .cookie-category-copy strong {
        display: block;
        margin-bottom: 4px;
        color: #0f172a;
        font-size: 14px;
        font-weight: 900;
    }

    .cookie-category-copy span {
        display: block;
        color: #64748b;
        font-size: 12px;
        line-height: 1.45;
    }

.cookie-consent-preferences-actions {
    margin-top: 14px;
}

.cookie-switch {
    position: relative;
    display: inline-flex;
    width: 48px;
    height: 27px;
    flex: 0 0 48px;
    cursor: pointer;
}

    .cookie-switch input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

.cookie-switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .18s ease;
}

    .cookie-switch-slider::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 21px;
        height: 21px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 2px 7px rgba(15, 23, 42, .22);
        transition: transform .18s ease;
    }

.cookie-switch input:checked + .cookie-switch-slider {
    background: #0f172a;
}

    .cookie-switch input:checked + .cookie-switch-slider::after {
        transform: translateX(21px);
    }

.cookie-switch input:focus-visible + .cookie-switch-slider {
    outline: 3px solid rgba(59, 130, 246, .28);
    outline-offset: 2px;
}

.cookie-switch--locked {
    cursor: not-allowed;
    opacity: .72;
}

/* Harita, YouTube ve Instagram için izin öncesi ortak alan */
.cookie-deferred-embed {
    position: relative;
    width: 100%;
    min-height: 260px;
    overflow: hidden;
    border-radius: inherit;
    background: #f8fafc;
    color: #0f172a;
}

.cookie-deferred-embed--map {
    min-height: 300px;
}

.cookie-deferred-embed--map-large {
    min-height: 646px;
}

.cookie-deferred-embed--instagram {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
}

.ratio > .cookie-deferred-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.cookie-deferred-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: inherit;
    padding: 24px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(148, 163, 184, .18), transparent 52%), linear-gradient(145deg, #f8fafc, #eef2f7);
    border: 1px solid rgba(15, 23, 42, .08);
}

.cookie-deferred-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 2px;
    border-radius: 50%;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
}

    .cookie-deferred-placeholder-icon svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }

.cookie-deferred-placeholder-title {
    display: block;
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
    color: #0f172a;
}

.cookie-deferred-placeholder-text {
    max-width: 560px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.cookie-deferred-placeholder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 5px;
}

.cookie-deferred-placeholder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .15);
    font: inherit;
    font-size: 12px;
    line-height: 18px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

    .cookie-deferred-placeholder-btn:hover,
    .cookie-deferred-placeholder-btn:focus-visible {
        transform: translateY(-1px);
    }

.cookie-deferred-placeholder-btn--primary {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .16);
}

    .cookie-deferred-placeholder-btn--primary:hover,
    .cookie-deferred-placeholder-btn--primary:focus-visible {
        background: #111827;
        color: #fff;
    }

.cookie-deferred-placeholder-btn--secondary {
    background: #fff;
    color: #0f172a;
}

.cookie-deferred-content {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

    .cookie-deferred-content iframe,
    .cookie-deferred-content img,
    .cookie-deferred-content video {
        display: block;
        width: 100% !important;
        height: 100% !important;
        margin: 0;
        border: 0;
        object-fit: cover;
    }

.cookie-deferred-embed--map .cookie-deferred-content iframe,
.cookie-deferred-embed--map-large .cookie-deferred-content iframe {
    object-fit: initial;
}

.cookie-deferred-embed--loaded {
    background: transparent;
}

@media (max-width: 991.98px) {
    .cookie-category-list {
        grid-template-columns: 1fr;
    }
}

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

    .cookie-consent-inner {
        padding: 16px;
        border-radius: 16px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }

    .cookie-consent-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

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

    .cookie-consent-btn {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .cookie-category-item {
        min-height: 86px;
        padding: 12px;
    }

    .cookie-deferred-embed--map-large {
        min-height: 420px;
    }

    .cookie-deferred-placeholder {
        padding: 18px 14px;
    }

    .cookie-deferred-placeholder-icon {
        width: 42px;
        height: 42px;
    }

    .cookie-deferred-placeholder-actions {
        width: 100%;
    }

    .cookie-deferred-placeholder-btn {
        flex: 1 1 150px;
    }
}


.map-gaming-accessories .banner-map {
    position: relative;
    min-height: 300px;
}

    .map-gaming-accessories .banner-map > .cookie-deferred-embed--map {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        border-radius: inherit;
    }

        .map-gaming-accessories .banner-map > .cookie-deferred-embed--map .cookie-deferred-placeholder,
        .map-gaming-accessories .banner-map > .cookie-deferred-embed--map .cookie-deferred-content,
        .map-gaming-accessories .banner-map > .cookie-deferred-embed--map iframe {
            width: 100% !important;
            height: 100% !important;
            min-height: 0;
        }
