/* SPC Compare Bar — floating sticky */
.spc-compare-bar {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
}
.spc-compare-bar[style*="display: none"] { pointer-events: none; }

/* Pill restrâns */
.spc-compare-pill {
  display: flex; align-items: center; gap: 8px;
  background: #190a64; color: #fff;
  padding: 12px 18px; border-radius: 30px;
  cursor: pointer; box-shadow: 0 4px 16px rgba(25,10,100,0.3);
  transition: all 0.2s; font-size: 14px; font-weight: 600; user-select: none;
}
.spc-compare-pill:hover { background: #2a1a6e; box-shadow: 0 6px 24px rgba(25,10,100,0.4); }
.spc-compare-pill i { font-size: 16px; }
.spc-compare-badge {
  background: #f15a23; color: #fff; font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; padding: 0 6px;
}

/* Panel expandat */
.spc-compare-panel {
  position: absolute; bottom: 100%; right: 0; margin-bottom: 10px;
  background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 16px; min-width: 320px; max-width: 380px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.2s ease;
}
.spc-compare-bar:hover .spc-compare-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.spc-compare-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0;
}
.spc-compare-panel-header h4 { font-size: 14px; font-weight: 600; color: #190a64; margin: 0; }
.spc-compare-panel-header h4 i { margin-right: 6px; }
.spc-compare-count-text { font-size: 11px; color: #999; }

/* Produse in panel */
.spc-compare-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #f8f8f8;
}
.spc-compare-item:last-child { border-bottom: none; }
.spc-compare-item img {
  width: 48px; height: 48px; object-fit: contain;
  border-radius: 6px; background: #fafafa; flex-shrink: 0;
}
.spc-compare-item-info { flex: 1; min-width: 0; }
.spc-compare-item-name {
  font-size: 12px; color: #333; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spc-compare-item-price { font-size: 12px; font-weight: 700; color: #e67e22; margin-top: 2px; }
.spc-compare-item-remove {
  width: 24px; height: 24px; border-radius: 50%; border: none;
  background: #f5f5f5; color: #999; font-size: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.15s;
}
.spc-compare-item-remove:hover { background: #fee; color: #e74c3c; }

/* Slots goale */
.spc-compare-empty-slot {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #f8f8f8; color: #ccc; font-size: 11px;
}
.spc-slot-box {
  width: 48px; height: 48px; border-radius: 6px;
  border: 2px dashed #e0e0e0; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #ddd;
}

/* Buton compara */
.spc-compare-panel-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 10px; margin-top: 12px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #f15a23, #d94a15);
  border: none; border-radius: 8px; cursor: pointer; transition: all 0.15s;
}
.spc-compare-panel-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(241,90,35,0.3); }

/* Responsive mobil */
@media (max-width: 480px) {
  .spc-compare-bar { bottom: 12px; right: 12px; }
  .spc-compare-pill { padding: 10px 14px; font-size: 13px; }
  .spc-compare-panel { min-width: 280px; max-width: calc(100vw - 24px); }
}
