.compare-tray {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
}
.compare-tray[hidden] { display: none !important; }
.compare-tray__items { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.compare-tray__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 240px;
    border: 0;
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
}
.compare-tray__chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.compare-tray__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.82rem; }
.compare-tray__actions { display: flex; gap: 8px; flex-shrink: 0; }
.compare-tray__go, .compare-tray__clear {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}
.compare-tray__go { background: #f97316; color: #fff; }
.compare-tray__clear { border: 0; background: transparent; color: #fff; cursor: pointer; }
.js-compare-toggle.is-compared { background: #eef4ff; border-color: #1557bf; color: #1557bf; }
@media (max-width: 767px) {
    .compare-tray { flex-direction: column; align-items: stretch; bottom: 84px; }
}
