/* Lebegő oldalsáv – csak KonyhaMax (_floatingsidebar.php) */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
}
.floating-sidebar .fs-item {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2b2b2b;
    color: #fff !important;
    font-size: 19px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s, color 0.25s;
}
.floating-sidebar .fs-item:first-child {
    border-top-left-radius: 8px;
}
.floating-sidebar .fs-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom: none;
}
.floating-sidebar .fs-item:hover,
.floating-sidebar .fs-item.fs-open {
    background: #FF6501;
    color: #fff !important;
}
/* Kicsúszó címke / magyarázat */
.floating-sidebar .fs-label {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
    background: #2b2b2b;
    color: #fff;
    padding: 7px 12px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
}
.floating-sidebar .fs-label::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #2b2b2b;
}
.floating-sidebar .fs-item:hover .fs-label,
.floating-sidebar .fs-item.fs-open .fs-label {
    opacity: 1;
    visibility: visible;
}
/* Az info-tooltip hoverre és nyitva is kattintható (hogy a benne lévő gomb működjön),
   és hoverrel ne tűnjön el, mikor az egeret rávinnénk */
.floating-sidebar .fs-item-info:hover .fs-label,
.floating-sidebar .fs-item.fs-open .fs-label {
    pointer-events: auto;
}
/* Híd a sáv és a tooltip közti résen, hogy az egér átvitele ne szakítsa meg a hovert */
.floating-sidebar .fs-item-info .fs-label::before {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    width: 12px;
}
/* Bejelentkezés gomb a tooltip szövegének végén (mobil) */
.floating-sidebar .fs-login-btn {
    display: inline-block;
    margin-top: 9px;
    padding: 6px 14px;
    background: #FF6501;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.floating-sidebar .fs-login-btn:hover {
    background: #e65a00;
}
/* Billentyűzetes fókusz (kattintásnál nem ragad be, csak Tab-bal) */
.floating-sidebar .fs-item:focus-visible .fs-label {
    opacity: 1;
    visibility: visible;
}
/* Bő, többsoros magyarázó tooltip (csomagkövetés vendégnek) */
.floating-sidebar .fs-label-wide {
    white-space: normal;
    width: 240px;
}
.floating-sidebar .fs-label-wide strong {
    display: block;
    margin-bottom: 3px;
    color: #FF6501;
}
@media (max-width: 768px) {
    .floating-sidebar .fs-item {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ===== Kedvencek (szív) – KonyhaMax ===== */

/* Darabszám-badge a sidebar szív ikonján */
.floating-sidebar .fs-item #favoriteT {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}
.floating-sidebar .fs-item .fs-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #FF6501;
    color: #fff;
    border-radius: 9px;
    font-size: 10px;
    line-height: 16px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 0 0 2px #2b2b2b;
}

/* A kedvenc (sziv) gomb szabalyai: kedvencek.css — a layout beagyazva adja ki. (2026-10-08) */
