/* ANA KUTU */
.pol-navbox {
    position: fixed;
    right: 50px;
    top: 120px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: Arial, sans-serif;

    /* Hover alanı sadece içerideki elemanlarda çalışsın */
    pointer-events: none;
}

/* İçteki elemanlar hover alabilsin */
.pol-back-btn,
.pol-breadcrumb {
    pointer-events: auto;
}

/* GERİ BUTONU */
.pol-back-btn {
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: 0.25s ease;
    font-weight: 600;
    color: #333;
}

.pol-back-btn:hover {
    background: #f3f3f3;
    transform: translateY(-2px);
}

/* BREADCRUMB KUTUSU (GİZLİ) */
.pol-breadcrumb {
    display: none;
    margin-top: 8px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    white-space: nowrap;
    font-size: 13px;
    position: absolute;
    right: 0;
    top: 45px;
    transform: translateY(0);
}

/* SADECE BUTON HOVER OLDUĞUNDA AÇILSIN */
.pol-back-btn:hover + .pol-breadcrumb {
    display: block;
}

/* Breadcrumb'ın üzerine gelince kapanmasın */
.pol-breadcrumb:hover {
    display: block;
}

/* MOBİLDE BREADCRUMB TAMAMEN GİZLİ */
@media (max-width: 1024px) {

    .pol-breadcrumb {
        display: none !important;
    }

    .pol-navbox {
        right: 20px;
        top: 100px;
    }

    .pol-back-btn {
        padding: 10px 14px;
        font-size: 14px;
    }
}
