.agent-compare-bar {
    position: fixed;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90vw;
    background: rgba(14, 14, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 24px;
    padding: 12px 22px;
    z-index: 99999999 !important;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.2);
    pointer-events: none;
    opacity: 0;
}

.agent-compare-bar.active {
    bottom: 24px;
    pointer-events: auto;
    opacity: 1;
}

.compare-bar-close {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #181920;
    color: #9CA3AF;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.compare-bar-close:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: scale(1.15);
}

.compare-items {
    display: flex;
    gap: 10px;
    align-items: center;
}

.compare-item {
    position: relative;
    width: 52px;
    height: 52px;
}

.compare-item.compare-slot-empty {
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-item.compare-slot-empty:hover {
    transform: scale(1.1);
    opacity: 1 !important;
}

.compare-item.compare-slot-empty:hover > div {
    border-color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.15) !important;
    color: #FFD700 !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.compare-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #D4AF37;
    background: #000;
}

.compare-item .remove-item,
.compare-item .remove-item-biz {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1.5px solid #000;
    transition: transform 0.15s ease;
}

.compare-item .remove-item:hover,
.compare-item .remove-item-biz:hover {
    transform: scale(1.2);
    background: #dc2626;
}

.compare-btn-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-compare-now {
    background: linear-gradient(135deg, #F5C038 0%, #D4AF37 100%);
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-compare-now:hover:not(:disabled) {
    background: #FFFFFF;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-compare-now:disabled {
    background: #2A2A30;
    color: #71717A !important;
    -webkit-text-fill-color: #71717A !important;
    cursor: not-allowed;
    box-shadow: none;
}

.compare-count {
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Selected State on Cards (Strong specificity to override any .hp-lux-btn-view styles) */
.btn-compare-biz.is-selected,
.btn-compare-agent.is-selected,
button.btn-compare-biz.is-selected,
button.btn-compare-agent.is-selected {
    background: linear-gradient(135deg, #F5C038 0%, #D4AF37 100%) !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    border-color: #F5C038 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5) !important;
}
